[go: up one dir, main page]

CN112615647A - Broadband power line carrier communication cross-layer resource allocation method for power internet of things concurrent mixed service - Google Patents

Broadband power line carrier communication cross-layer resource allocation method for power internet of things concurrent mixed service Download PDF

Info

Publication number
CN112615647A
CN112615647A CN202011331561.1A CN202011331561A CN112615647A CN 112615647 A CN112615647 A CN 112615647A CN 202011331561 A CN202011331561 A CN 202011331561A CN 112615647 A CN112615647 A CN 112615647A
Authority
CN
China
Prior art keywords
user
users
buffer
rate
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011331561.1A
Other languages
Chinese (zh)
Inventor
尹喜阳
刘乙召
杨挺
何子阳
王强
吕国远
卢志鑫
李伶研
闫龙
殷博
武云海
卢超
冯春盛
刘思佳
陆凌辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin University
State Grid Tianjin Electric Power Co Ltd
State Grid Corp of China SGCC
Original Assignee
Tianjin University
State Grid Tianjin Electric Power Co Ltd
State Grid Corp of China SGCC
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 Tianjin University, State Grid Tianjin Electric Power Co Ltd, State Grid Corp of China SGCC filed Critical Tianjin University
Priority to CN202011331561.1A priority Critical patent/CN112615647A/en
Publication of CN112615647A publication Critical patent/CN112615647A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • H04B3/542Systems for transmission via power distribution lines the information being in digital form
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2425Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
    • H04L47/2433Allocation of priorities to traffic types
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/805QOS or priority aware

Landscapes

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

Abstract

The invention discloses a broadband power line carrier communication cross-layer resource allocation method for a power internet of things concurrent mixed service, which comprises the following steps of: s1, initializing data; s2, selecting the ith moment, reading the queue length of the user k in the buffer area, and acquiring the instantaneous rate of the user k; s3, judging the category of the user k, and calculating a utility function value of the user: s4, sequencing the utility function values of the users in a descending order to obtain a scheduling sequence based on the utility function values and transmitting the scheduling sequence to a physical layer, and distributing physical layer resources by the users; and S5, after the resource allocation is finished, updating the length and the rate of the queue of the buffer area, and finishing the resource scheduling of the user. And the service is dynamically prioritized according to the service QoS requirement and the current network state, so that the data packet waiting time delay and the packet loss can be effectively reduced, and the QoS requirements of more users can be met.

Description

一种用于电力物联网并发混合业务的宽带电力线载波通信跨 层资源调配方法A cross-layer resource allocation method for broadband power line carrier communication for concurrent hybrid services of power Internet of things

技术领域technical field

本发明属于通信技术领域,尤其是涉及一种用于电力物联网并发混合业务的宽带电力线载波通信跨层资源调配方法。The invention belongs to the field of communication technologies, and in particular relates to a cross-layer resource allocation method for broadband power line carrier communication for concurrent mixed services of the Internet of Things.

背景技术Background technique

电力线载波通信(Power Line Communication,PLC),是利用高频调制信号,将电力线作为媒介进行数据传输的一种特殊通信方式。根据电压等级可将电力线载波通信划分为高压载波(超过35Kv)、中压载波(10Kv)和低压载波(380V/220V)三种。电力线载波通信天然具有电气设备连接,实现各类终端设备的灵活接入,建设成本低的特点,是解决“最后一公里”信息交互问题的有效通信方式之一。电力线载波通信技术由传统窄带通信逐渐发展成宽带电力线载波通信,OFDM即正交频分复用技术,是多载波调制的一种,通过频分复用实现高速串行数据的并行传输,具有较好的抗多径衰弱的能力,能够支持用户接入。利用OFDM技术将通信速率由原来的几千bps提高到几兆至数十兆bps,大幅度提成通信性能。Power Line Communication (PLC) is a special communication method that uses high-frequency modulated signals and uses power lines as a medium for data transmission. According to the voltage level, power line carrier communication can be divided into three types: high voltage carrier (over 35Kv), medium voltage carrier (10Kv) and low voltage carrier (380V/220V). Power line carrier communication naturally has the characteristics of electrical equipment connection, flexible access of various terminal equipment, and low construction cost. It is one of the effective communication methods to solve the "last mile" information exchange problem. Power line carrier communication technology has gradually developed from traditional narrowband communication to broadband power line carrier communication. OFDM is Orthogonal Frequency Division Multiplexing technology, which is a kind of multi-carrier modulation. The parallel transmission of high-speed serial data is realized through frequency division multiplexing, which has a relatively high performance. Good anti-multipath weakening ability can support user access. Using OFDM technology, the communication rate is increased from several thousand bps to several megabits to tens of megabits per second, which greatly improves the communication performance.

电力线信道是一个开放共享的信道,各相有独立的PLC网关,各PLC设备需要在共享的电力信道上竞争本相资源,多用户动态资源分配问题的实质就是根据电力线信道的状态信息,在每个OFDM符号内实时动态地为实时(RT)用户和非实时(NRT)用户分配不同的子载波,并在相应的子载波上根据信道增益的大小自适应选择不同的调制方式,根据香农公式加载相应比特。The power line channel is an open and shared channel, and each phase has an independent PLC gateway. Each PLC device needs to compete for the resources of its own phase on the shared power channel. The essence of the multi-user dynamic resource allocation problem is that according to the state information of the power line channel, the Different sub-carriers are dynamically allocated for real-time (RT) users and non-real-time (NRT) users within each OFDM symbol in real time, and different modulation methods are adaptively selected on the corresponding sub-carriers according to the size of the channel gain, and loaded according to the Shannon formula. corresponding bits.

电力物联网是指对接入电网的终端提供联网服务,实现电力系统各个环节万物互联、人机交互的智慧服务系统。在电力物联网建设中,作为电力系统中现成的、覆盖范围最广的通信信道,采用电力线载波通信技术能最大程度降低智能通信网络的组件成本。随着大量智能传感设备的接入,传统宽带电力线载波通信资源分配方法并未考虑混合业务的用户QoS需求及MAC层缓存区队列情况,无法按照混合业务流量对用户进行合理调度,造成不同用户分配均衡度差。The power Internet of Things refers to a smart service system that provides networking services to terminals connected to the power grid and realizes the interconnection of all things and human-computer interaction in all aspects of the power system. In the construction of the power Internet of things, as the ready-made communication channel with the widest coverage in the power system, the use of the power line carrier communication technology can minimize the component cost of the intelligent communication network. With the access of a large number of intelligent sensing devices, the traditional broadband power line carrier communication resource allocation method does not consider the user QoS requirements of mixed services and the queue situation of the MAC layer buffer area, and cannot reasonably schedule users according to the mixed service traffic, resulting in different users. Poor distribution balance.

因此,为了解决上述技术问题,需要设计一种能够快速准确可靠的传输,实时调控资源、避免网络出现拥塞的宽带电力线载波通信跨层资源调配方法。Therefore, in order to solve the above technical problems, it is necessary to design a cross-layer resource allocation method for broadband power line carrier communication capable of fast, accurate and reliable transmission, real-time control of resources, and avoidance of network congestion.

发明内容SUMMARY OF THE INVENTION

本发明的目的是提供一种考虑混合业务的用户QoS需求、合理调度资源、用户的分配均衡度高的用于电力物联网并发混合业务的宽带电力线载波通信跨层资源调配方法。The purpose of the present invention is to provide a cross-layer resource allocation method for broadband power line carrier communication for concurrent mixed services in the power Internet of Things, which considers user QoS requirements of mixed services, reasonably schedules resources, and has high user allocation balance.

本发明的技术方案如下:The technical scheme of the present invention is as follows:

一种用于电力物联网并发混合业务的宽带电力线载波通信跨层资源调配方法,包括以下步骤:A cross-layer resource allocation method for broadband power line carrier communication for concurrent hybrid services of the power Internet of Things, comprising the following steps:

S1.对数据初始化,设定时刻i,用户k,用户瞬时速率υk(0)=0,缓存区内用户k的队列长度Qk(0)=0,RT用户集合SRT={1,2,.....,h},NRT用户集合SNRT={1,2,.....,l},缓存区数据分组等待时延Dk(i);S1. Initialize data, set time i, user k, user instantaneous rate υ k (0)=0, queue length Q k (0)=0 of user k in the buffer, RT user set SRT={1,2 ,.....,h}, NRT user set SNRT={1,2,.....,l}, buffer data packet waiting delay D k (i);

S2.选择第i时刻,读取缓存区内用户k的队列长度Qk(i),获取用户k的瞬时速率νk(i);S2. Select the ith moment, read the queue length Q k (i) of user k in the cache, and obtain the instantaneous rate ν k (i) of user k;

S3.判断用户k类别:S3. Determine the category of user k:

S301.如果用户k为RT用户,则获取最大允许时延Tk,根据当前第i时刻的用户k的队列长度Qk(i),计算缓冲区数据分组等待时延Dk(i)和该用户下一时刻i+1的效用函数值

Figure BDA0002795976830000029
通过如下公式计算:S301. If user k is an RT user, obtain the maximum allowable delay T k , calculate the buffer data packet waiting delay D k ( i ) and the The utility function value of the user's next moment i+1
Figure BDA0002795976830000029
Calculated by the following formula:

Figure BDA0002795976830000021
Figure BDA0002795976830000021

Figure BDA0002795976830000022
Figure BDA0002795976830000022

Figure BDA0002795976830000023
Figure BDA0002795976830000023

其中,Qk(i)为用户k在第i个时刻缓存区内的队列长度,υk(i)为用户k的瞬时速率,L为每个数据分组包含的比特数,

Figure BDA0002795976830000024
为RT用户k在第i个时刻为避免缓冲区内数据分组等待超时的最低速率,Ak(i)为第i个时刻到达缓存区的数据分组数;Among them, Q k (i) is the queue length of user k in the buffer area at the ith moment, υ k (i) is the instantaneous rate of user k, L is the number of bits contained in each data packet,
Figure BDA0002795976830000024
is the lowest rate of RT user k at the ith moment in order to avoid data packets in the buffer to wait for timeout, A k (i) is the number of data packets arriving in the buffer zone at the ith moment;

S302.如果用户k为NRT用户,则获取最大允许分组损耗

Figure BDA0002795976830000025
计算出当前时刻i的分组损耗
Figure BDA0002795976830000026
和该用户下一时刻i+1的效用函数值
Figure BDA0002795976830000027
通过如下公式计算:S302. If user k is an NRT user, obtain the maximum allowable packet loss
Figure BDA0002795976830000025
Calculate the packet loss at the current time i
Figure BDA0002795976830000026
and the utility function value of the user at the next moment i+1
Figure BDA0002795976830000027
Calculated by the following formula:

Figure BDA0002795976830000028
Figure BDA0002795976830000028

Figure BDA0002795976830000031
Figure BDA0002795976830000031

Figure BDA0002795976830000032
Figure BDA0002795976830000032

其中,

Figure BDA0002795976830000033
为NRT用户k在第i个时刻为避免缓冲区内数据分组等待超时的最低速率,r为用户k的数据分组在满足分组损耗要求下的最小保障速率,L为每个数据分组包含的比特数,B为缓存区内最大允许长度,
Figure BDA0002795976830000034
为用户k的最大允许分组损耗,
Figure BDA0002795976830000035
为分组丢失率,
Figure BDA0002795976830000036
为差错率;in,
Figure BDA0002795976830000033
is the minimum rate for NRT user k at the i-th moment to avoid the data packet waiting time-out in the buffer, r is the minimum guaranteed rate of the data packet of user k under the requirement of packet loss, and L is the number of bits contained in each data packet , B is the maximum allowable length in the buffer,
Figure BDA0002795976830000034
is the maximum allowable packet loss for user k,
Figure BDA0002795976830000035
is the packet loss rate,
Figure BDA0002795976830000036
is the error rate;

S4.将h个RT用户的效用函数值

Figure BDA0002795976830000037
l个NRT用户的效用函数值
Figure BDA0002795976830000038
设定RT用户调度序列高于NRT用户,根据效用函数值的大小对用户降序排序,得到基于效用函数值的调度序列,并将第i时刻的调度序列传递给物理层,物理层根据该调度序列为用户分配物理层资源;S4. Calculate the utility function value of h RT users
Figure BDA0002795976830000037
Utility function value for l NRT users
Figure BDA0002795976830000038
Set the scheduling sequence of RT users to be higher than that of NRT users, sort the users in descending order according to the value of the utility function, obtain the scheduling sequence based on the value of the utility function, and pass the scheduling sequence at the i-th time to the physical layer. Allocate physical layer resources to users;

S5.待所述步骤S4的物理层资源分配完成后,更新用户k*实际获得的速率υk*(i)和缓冲区内的队列长度Qk*(i),结束本次用户的资源调度。S5. After the physical layer resource allocation in step S4 is completed, update the rate υ k* (i) actually obtained by user k * and the queue length Q k* (i) in the buffer, and end the resource scheduling of this user. .

在上述技术方案中,在所述步骤S5的资源调度后,令i=i+1时刻,返回至所述步骤S2,继续为用户进行资源调配。In the above technical solution, after the resource scheduling in the step S5, let i=i+1 time, return to the step S2, and continue to perform resource allocation for the user.

在上述技术方案中,在所述步骤S2中采集的智能终端数据包括用电量数据、负荷曲线类数据、低压集抄数据。In the above technical solution, the smart terminal data collected in the step S2 includes power consumption data, load curve data, and low-voltage collection data.

在上述技术方案中,在所述步骤S301中,设定数据分组到达过程服从泊松分布,并按照先进先出的原则,定义缓冲区数据分组等待时延,由于缓冲区内最大队列长度的限制,超出最大队列长度B的数据分组会被丢弃,造成数据分组丢失,并且由于在电力线载波通信过程中,每个码元信号会受到干扰,导致出现误码现象,其分组损耗的大小取决于分组丢失率

Figure BDA0002795976830000039
和差错率
Figure BDA00027959768300000310
In the above technical solution, in the step S301, the arrival process of the data packet is set to obey the Poisson distribution, and the buffer data packet waiting delay is defined according to the principle of first-in, first-out. Due to the limitation of the maximum queue length in the buffer , the data packets exceeding the maximum queue length B will be discarded, resulting in the loss of data packets, and due to the interference of each symbol signal during the power line carrier communication process, resulting in bit errors, the size of the packet loss depends on the packet loss rate
Figure BDA0002795976830000039
and error rate
Figure BDA00027959768300000310

本发明具有的优点和积极效果是:The advantages and positive effects that the present invention has are:

1.本发明的调配方法根据业务QoS需求和当前的网络状态对业务进行动态优先级划分,既可以有效降低数据分组等待时延及分组损耗,并且能够满足更多用户的QoS需求。1. The provisioning method of the present invention dynamically prioritizes services according to service QoS requirements and current network status, which can effectively reduce data packet latency and packet loss, and meet the QoS requirements of more users.

2.与传统的轮询或静态预先设定方式相比,本发明的调配方法可以按照业务QoS需求及缓存区已等待的分组情况进行自适应调整,以更好地适用于电力物联网并发混合业务场景。2. Compared with the traditional polling or static preset methods, the deployment method of the present invention can be adaptively adjusted according to the service QoS requirements and the waiting grouping situation of the buffer area, so as to be better suitable for the concurrent mixing of the power Internet of things. Business scene.

附图说明Description of drawings

图1是本发明的资源调配方法的流程图;Fig. 1 is the flow chart of the resource allocation method of the present invention;

图2是实施例1中RT1用户的分组等待时延-时间示意图;Fig. 2 is the schematic diagram of packet waiting delay-time of RT 1 user in Embodiment 1;

图3是实施例1中RT2用户的分组等待时延-时间示意图;Fig. 3 is the grouping waiting delay-time schematic diagram of RT 2 users in embodiment 1;

图4是实施例1中NRT1用户的分组损耗-时间示意图;Fig. 4 is the packet loss-time schematic diagram of NRT 1 user in embodiment 1;

图5是实施例1中NRT2用户的分组损耗-时间示意图。FIG. 5 is a schematic diagram of packet loss-time for NRT 2 users in Embodiment 1. FIG.

具体实施方式Detailed ways

以下结合具体实施例对本发明作进一步详细说明。应当理解,此处所描述的具体实施例仅仅用于解释本发明,并不用于限定本发明,决不限制本发明的保护范围。The present invention will be further described in detail below in conjunction with specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, not to limit the present invention, and in no way limit the protection scope of the present invention.

实施例1Example 1

如图所示,本发明的一种用于电力物联网并发混合业务的宽带电力线载波通信跨层资源调配方法,包括以下步骤:As shown in the figure, a broadband power line carrier communication cross-layer resource allocation method for concurrent hybrid services of the Internet of Things of the present invention includes the following steps:

S1.对数据初始化,设定时刻i,用户k,用户瞬时速率υk(0)=0,缓存区内用户k的队列长度Qk(0)=0,RT用户集合SRT={1,2,.....,h},NRT用户集合SNRT={1,2,.....,l},缓存区数据分组等待时延Dk(i);S1. Initialize data, set time i, user k, user instantaneous rate υ k (0)=0, queue length Q k (0)=0 of user k in the buffer zone, RT user set S RT ={1, 2,.....,h}, NRT user set S NRT ={1,2,.....,l}, buffer data packet waiting delay D k (i);

S2.选择第i时刻,读取缓存区内用户k的队列长度Qk(i),获取用户k的瞬时速率νk(i);S2. Select the ith moment, read the queue length Q k (i) of user k in the cache, and obtain the instantaneous rate ν k (i) of user k;

S3.判断用户k类别:S3. Determine the category of user k:

S301.如果用户k为RT用户,则获取最大允许时延Tk,根据当前第i时刻的用户k的队列长度Qk(i),计算缓冲区数据分组等待时延Dk(i)和该用户下一时刻i+1的效用函数值

Figure BDA0002795976830000041
通过如下公式计算:S301. If user k is an RT user, obtain the maximum allowable delay T k , calculate the buffer data packet waiting delay D k ( i ) and the The utility function value of the user's next moment i+1
Figure BDA0002795976830000041
Calculated by the following formula:

Figure BDA0002795976830000042
Figure BDA0002795976830000042

Figure BDA0002795976830000043
Figure BDA0002795976830000043

Figure BDA0002795976830000044
Figure BDA0002795976830000044

其中,Qk(i)为用户k在第i个时刻缓存区内的队列长度,υk(i)为用户k的瞬时速率,L为每个数据分组包含的比特数,

Figure BDA0002795976830000045
为RT用户k在第i个时刻为避免缓冲区内数据分组等待超时的最低速率,Ak(i)为第i个时刻到达缓存区的数据分组数;Among them, Q k (i) is the queue length of user k in the buffer area at the ith moment, υ k (i) is the instantaneous rate of user k, L is the number of bits contained in each data packet,
Figure BDA0002795976830000045
is the lowest rate of RT user k at the ith moment in order to avoid data packets in the buffer to wait for timeout, A k (i) is the number of data packets arriving in the buffer zone at the ith moment;

S302.如果用户k为NRT用户,则获取最大允许分组损耗

Figure BDA0002795976830000051
计算出当前时刻i的分组损耗
Figure BDA0002795976830000052
和该用户下一时刻i+1的效用函数值
Figure BDA0002795976830000053
通过如下公式计算:S302. If user k is an NRT user, obtain the maximum allowable packet loss
Figure BDA0002795976830000051
Calculate the packet loss at the current time i
Figure BDA0002795976830000052
and the utility function value of the user at the next moment i+1
Figure BDA0002795976830000053
Calculated by the following formula:

Figure BDA0002795976830000054
Figure BDA0002795976830000054

Figure BDA0002795976830000055
Figure BDA0002795976830000055

Figure BDA0002795976830000056
Figure BDA0002795976830000056

其中,

Figure BDA0002795976830000057
为NRT用户k在第i个时刻为避免缓冲区内数据分组等待超时的最低速率,r为用户k的数据分组在满足分组损耗要求下的最小保障速率,L为每个数据分组包含的比特数,B为缓存区内最大允许长度,
Figure BDA0002795976830000058
为用户k的最大允许分组损耗,
Figure BDA0002795976830000059
为分组丢失率,
Figure BDA00027959768300000510
为差错率;in,
Figure BDA0002795976830000057
is the minimum rate for NRT user k at the i-th moment to avoid the data packet waiting time-out in the buffer, r is the minimum guaranteed rate of the data packet of user k under the requirement of packet loss, and L is the number of bits contained in each data packet , B is the maximum allowable length in the buffer,
Figure BDA0002795976830000058
is the maximum allowable packet loss for user k,
Figure BDA0002795976830000059
is the packet loss rate,
Figure BDA00027959768300000510
is the error rate;

S4.将h个RT用户的效用函数值

Figure BDA00027959768300000511
l个NRT用户的效用函数值
Figure BDA00027959768300000512
设定RT用户调度序列高于NRT用户,根据效用函数值的大小对用户降序排序,得到基于效用函数值的调度序列,并将第i时刻的调度序列传递给物理层,物理层根据该调度序列为用户分配物理层资源;S4. Calculate the utility function value of h RT users
Figure BDA00027959768300000511
Utility function value for l NRT users
Figure BDA00027959768300000512
Set the scheduling sequence of RT users to be higher than that of NRT users, sort the users in descending order according to the value of the utility function, obtain the scheduling sequence based on the value of the utility function, and pass the scheduling sequence at the i-th time to the physical layer. Allocate physical layer resources to users;

S5.待所述步骤S4的物理层资源分配完成后,更新用户k*实际获得的速率υk*(i)和缓冲区内的队列长度Qk*(i),结束本次用户的资源调度。S5. After the physical layer resource allocation in step S4 is completed, update the rate υ k* (i) actually obtained by user k * and the queue length Q k* (i) in the buffer, and end the resource scheduling of this user. .

进一步地说,在所述步骤S5的资源调度后,令i=i+1时刻,返回至所述步骤S2,继续为用户进行资源调配。More specifically, after the resource scheduling in the step S5, let i=i+1 time, return to the step S2, and continue to perform resource allocation for the user.

进一步地说,在所述步骤S2中采集的智能终端数据包括用电量数据、负荷曲线类数据、低压集抄数据。Further, the smart terminal data collected in the step S2 includes power consumption data, load curve data, and low-voltage collection data.

进一步地说,在所述步骤S301中,设定数据分组到达过程服从泊松分布,并按照先进先出的原则,定义缓冲区数据分组等待时延,由于缓冲区内最大队列长度的限制,超出最大队列长度B的数据分组会被丢弃,造成数据分组丢失,并且由于在电力线载波通信过程中,每个码元信号会受到干扰,导致出现误码现象,其分组损耗的大小取决于分组丢失率

Figure BDA00027959768300000513
和差错率
Figure BDA00027959768300000514
Further, in the step S301, the arrival process of the data packets is set to obey the Poisson distribution, and the buffer data packet waiting delay is defined according to the principle of first-in, first-out. Due to the limitation of the maximum queue length in the buffer, exceeding the Data packets with the maximum queue length B will be discarded, resulting in data packet loss, and due to the interference of each symbol signal during the power line carrier communication process, resulting in bit errors, the size of the packet loss depends on the packet loss rate.
Figure BDA00027959768300000513
and error rate
Figure BDA00027959768300000514

为验证本发明的调配方法的有效性,以接入宽带电力线载波通信系统的用户为例在Matlab仿真平台上进行分析,系统设置参数如表1:In order to verify the effectiveness of the allocating method of the present invention, take the user who accesses the broadband power line carrier communication system as an example to analyze on the Matlab simulation platform, and the system setting parameters are as shown in Table 1:

表1Table 1

Figure BDA0002795976830000061
Figure BDA0002795976830000061

实验包含2个RT用户和2个NRT用户采用PLC级联方式与网关连接通信,其中,信道质量由高到低分别为RT1>RT2,NRT1>NRT2,以极端情况系统资源不足时,将本发明的方法与最大吞吐量算法及Gong算法分别对RT用户数据分组等待时延以及NRT用户数据分组损耗进行对比。The experiment includes 2 RT users and 2 NRT users using PLC cascade connection to communicate with the gateway. The channel quality from high to low is RT 1 >RT 2 , NRT 1 >NRT 2 , in extreme cases when the system resources are insufficient , and compare the RT user data packet latency and NRT user data packet loss with the method of the present invention, the maximum throughput algorithm and the Gong algorithm, respectively.

从图2-图5可以看出,最大吞吐量算法在连续多个时刻内对RT1、NRT1用户进行调度,造成RT2、NRT2用户数据分组未得到及时处理,RT2用户分组等待时延高达12.46ms超过最大允许时延10ms,而NRT2用户分组损耗高达3.29%超过阈值1.00%。It can be seen from Fig. 2-Fig. 5 that the maximum throughput algorithm schedules RT 1 and NRT 1 users in consecutive times, resulting in RT 2 and NRT 2 user data packets not being processed in time, and RT 2 user packets waiting when The delay is as high as 12.46ms exceeding the maximum allowable delay of 10ms, while the NRT 2 user packet loss is as high as 3.29% exceeding the threshold of 1.00%.

Gong算法虽然满足了RT用户的时延要求但是由于该算法对NRT用户采用的是累计公平偏离度最大的原则对用户进行调度,造成NRT用户均超过阈值,分别为2.89%、2.67%。Although Gong's algorithm satisfies the delay requirements of RT users, because the algorithm uses the principle of maximum cumulative fairness deviation to schedule users for NRT users, all NRT users exceed the threshold, which are 2.89% and 2.67%, respectively.

本发明的调配方法在极端情况系统资源不足时均能满足RT1、RT2用户的时延要求,而NRT用户只是在某些间断时刻超过分组损耗阈值,其中NRT1、NRT2的分组损耗分别为0.89%、0.92%,其平均分组损耗均未超过阈值1.00%,以NRT2用户为例所提算法比最大吞吐量算法以及Gong算法分组损耗分别降低72.04%、65.54%。The allocation method of the present invention can meet the delay requirements of RT 1 and RT 2 users when the system resources are insufficient in extreme cases, while NRT users only exceed the packet loss threshold at certain intermittent moments, wherein the packet losses of NRT 1 and NRT 2 are respectively The average packet loss does not exceed the threshold of 1.00%. Taking NRT 2 users as an example, the proposed algorithm is 72.04% and 65.54% lower than the maximum throughput algorithm and Gong algorithm, respectively.

以上对本发明做了示例性的描述,应该说明的是,在不脱离本发明的核心的情况下,任何简单的变形、修改或者其他本领域技术人员能够不花费创造性劳动的等同替换均落入本发明的保护范围。The present invention has been exemplarily described above. It should be noted that, without departing from the core of the present invention, any simple deformation, modification, or other equivalent replacements that can be performed by those skilled in the art without any creative effort fall into the scope of the present invention. the scope of protection of the invention.

Claims (4)

1.一种用于电力物联网并发混合业务的宽带电力线载波通信跨层资源调配方法,其特征在于,包括以下步骤:1. a broadband power line carrier communication cross-layer resource allocation method for the concurrent mixed business of the power Internet of things, is characterized in that, comprises the following steps: S1.对数据初始化,设定时刻i,用户k,用户瞬时速率υk(0)=0,缓存区内用户k的队列长度Qk(0)=0,RT用户集合SRT={1,2,.....,h},NRT用户集合SNRT={1,2,.....,l},缓存区数据分组等待时延Dk(i);S1. Initialize data, set time i, user k, user instantaneous rate υ k (0)=0, queue length Q k (0)=0 of user k in the buffer zone, RT user set S RT ={1, 2,.....,h}, NRT user set S NRT ={1,2,.....,l}, buffer data packet waiting delay D k (i); S2.选择第i时刻,读取缓存区内用户k的队列长度Qk(i),获取用户k的瞬时速率νk(i);S2. Select the ith moment, read the queue length Q k (i) of user k in the cache, and obtain the instantaneous rate ν k (i) of user k; S3.判断用户k类别:S3. Determine the category of user k: S301.如果用户k为RT用户,则获取最大允许时延Tk,根据当前第i时刻的用户k的队列长度Qk(i),计算缓冲区数据分组等待时延Dk(i)和该用户下一时刻i+1的效用函数值
Figure FDA00027959768200000111
通过如下公式计算:
S301. If user k is an RT user, obtain the maximum allowable delay T k , calculate the buffer data packet waiting delay D k ( i ) and the The utility function value of the user's next moment i+1
Figure FDA00027959768200000111
Calculated by the following formula:
Figure FDA0002795976820000011
Figure FDA0002795976820000011
Figure FDA0002795976820000012
Figure FDA0002795976820000012
Figure FDA0002795976820000013
Figure FDA0002795976820000013
其中,Qk(i)为用户k在第i个时刻缓存区内的队列长度,υk(i)为用户k的瞬时速率,L为每个数据分组包含的比特数,
Figure FDA0002795976820000014
为RT用户k在第i个时刻为避免缓冲区内数据分组等待超时的最低速率,Ak(i)为第i个时刻到达缓存区的数据分组数;
Among them, Q k (i) is the queue length of user k in the buffer area at the ith moment, υ k (i) is the instantaneous rate of user k, L is the number of bits contained in each data packet,
Figure FDA0002795976820000014
is the lowest rate of RT user k at the ith moment in order to avoid data packets in the buffer to wait for timeout, A k (i) is the number of data packets arriving in the buffer zone at the ith moment;
S302.如果用户k为NRT用户,则获取最大允许分组损耗
Figure FDA0002795976820000015
计算出当前时刻i的分组损耗
Figure FDA0002795976820000016
和该用户下一时刻i+1的效用函数值
Figure FDA0002795976820000017
通过如下公式计算:
S302. If user k is an NRT user, obtain the maximum allowable packet loss
Figure FDA0002795976820000015
Calculate the packet loss at the current time i
Figure FDA0002795976820000016
and the utility function value of the user at the next moment i+1
Figure FDA0002795976820000017
Calculated by the following formula:
Figure FDA0002795976820000018
Figure FDA0002795976820000018
Figure FDA0002795976820000019
Figure FDA0002795976820000019
Figure FDA00027959768200000110
Figure FDA00027959768200000110
其中,
Figure FDA0002795976820000021
为NRT用户k在第i个时刻为避免缓冲区内数据分组等待超时的最低速率,r为用户k的数据分组在满足分组损耗要求下的最小保障速率,L为每个数据分组包含的比特数,B为缓存区内最大允许长度,
Figure FDA0002795976820000022
为用户k的最大允许分组损耗,
Figure FDA0002795976820000023
为分组丢失率,
Figure FDA0002795976820000024
为差错率;
in,
Figure FDA0002795976820000021
is the minimum rate for NRT user k at the i-th moment to avoid the data packet waiting time-out in the buffer, r is the minimum guaranteed rate of the data packet of user k under the requirement of packet loss, and L is the number of bits contained in each data packet , B is the maximum allowable length in the buffer,
Figure FDA0002795976820000022
is the maximum allowable packet loss for user k,
Figure FDA0002795976820000023
is the packet loss rate,
Figure FDA0002795976820000024
is the error rate;
S4.将h个RT用户的效用函数值
Figure FDA0002795976820000025
l个NRT用户的效用函数值
Figure FDA0002795976820000026
设定RT用户调度序列高于NRT用户,根据效用函数值的大小对用户降序排序,得到基于效用函数值的调度序列,并将第i时刻的调度序列传递给物理层,物理层根据该调度序列为用户分配物理层资源;
S4. Calculate the utility function value of h RT users
Figure FDA0002795976820000025
Utility function value for l NRT users
Figure FDA0002795976820000026
Set the scheduling sequence of RT users to be higher than that of NRT users, sort the users in descending order according to the value of the utility function, obtain the scheduling sequence based on the value of the utility function, and pass the scheduling sequence at the i-th time to the physical layer. Allocate physical layer resources to users;
S5.待所述步骤S4的物理层资源分配完成后,更新用户k*实际获得的速率υk*(i)和缓冲区内的队列长度Qk*(i),结束本次用户的资源调度。S5. After the physical layer resource allocation in step S4 is completed, update the rate υ k* (i) actually obtained by user k * and the queue length Q k* (i) in the buffer, and end the resource scheduling of this user. .
2.根据权利要求1所述的宽带电力线载波通信跨层资源调配方法,其特征在于:在所述步骤S5的资源调度后,令i=i+1时刻,返回至所述步骤S2,继续为用户进行资源调配。2 . The method for allocating cross-layer resources for broadband power line carrier communication according to claim 1 , wherein: after the resource scheduling in step S5, set i=i+1 time, return to step S2, and continue as User allocates resources. 3.根据权利要求1所述的宽带电力线载波通信跨层资源调配方法,其特征在于:在所述步骤S2中采集的智能终端数据包括用电量数据、负荷曲线类数据、低压集抄数据。3 . The cross-layer resource allocation method for broadband power line carrier communication according to claim 1 , wherein the intelligent terminal data collected in the step S2 includes power consumption data, load curve data, and low-voltage collection data. 4 . 4.根据权利要求1所述的宽带电力线载波通信跨层资源调配方法,其特征在于:在所述步骤S301中,设定数据分组到达过程服从泊松分布,并按照先进先出的原则。4 . The method for allocating cross-layer resources for broadband power line carrier communication according to claim 1 , wherein in the step S301 , the arrival process of data packets is set to obey Poisson distribution and follow the principle of first-in, first-out. 5 .
CN202011331561.1A 2020-11-24 2020-11-24 Broadband power line carrier communication cross-layer resource allocation method for power internet of things concurrent mixed service Pending CN112615647A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011331561.1A CN112615647A (en) 2020-11-24 2020-11-24 Broadband power line carrier communication cross-layer resource allocation method for power internet of things concurrent mixed service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011331561.1A CN112615647A (en) 2020-11-24 2020-11-24 Broadband power line carrier communication cross-layer resource allocation method for power internet of things concurrent mixed service

Publications (1)

Publication Number Publication Date
CN112615647A true CN112615647A (en) 2021-04-06

Family

ID=75225073

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011331561.1A Pending CN112615647A (en) 2020-11-24 2020-11-24 Broadband power line carrier communication cross-layer resource allocation method for power internet of things concurrent mixed service

Country Status (1)

Country Link
CN (1) CN112615647A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130135996A1 (en) * 2011-11-29 2013-05-30 Hughes Networks Systems, Llc Method and system for traffic management and resource allocation on a shared access network
CN103619069A (en) * 2013-12-09 2014-03-05 华北电力大学 Broadband power line communication cross-layer resource allocation method with prior hybrid service emergency degree

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130135996A1 (en) * 2011-11-29 2013-05-30 Hughes Networks Systems, Llc Method and system for traffic management and resource allocation on a shared access network
CN103619069A (en) * 2013-12-09 2014-03-05 华北电力大学 Broadband power line communication cross-layer resource allocation method with prior hybrid service emergency degree

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨挺等: "面向并发多业务的宽带电力线载波通信跨层资源分配算法研究", 《电网技术》 *

Similar Documents

Publication Publication Date Title
CN106028463B (en) A kind of spaceborne dynamic spectrum resource regulating method based on service speed control
CN102014500B (en) Method for efficiently allocating bandwidths in wireless access network
CN106961741A (en) A kind of uplink resource allocating method and device
CN103067985B (en) The binding of ultrahigh speed wireless lan channel and distribution method based on channel quality
CN103931262B (en) A data scheduling method and device
JPH1070554A (en) Data communication system
CN103179617B (en) Aviation mobile communications system wireless scheduling of resource distribution method, equipment and system
CN106954232B (en) Time delay optimized resource allocation method
CN109618375B (en) UAV Ad Hoc Network Time Slot Scheduling Method Based on Service Priority and Channel Outage Probability
CN101184321A (en) A method, system and device for adjusting user service quality
CN103079278A (en) Method for allocating downlink resources of OFDMA (Orthogonal Frequency Division Multiple Access)-WLAN (Wireless Local Area Network) system based on user satisfaction degrees
CN103619069B (en) The broadband power line communication cross-layer resource allocation that mixed service urgency is preferential
CN110602747A (en) Method for scheduling wide-band and narrow-band mixed service channel resources of power wireless communication system
CN101741713B (en) Dynamic distribution method for radio local area network uplink bandwidth
CN112291791A (en) Power communication mesh bandwidth resource allocation method based on 5G slice
CN113490276B (en) Method and device for sending and receiving information
CN101114872B (en) Method and system for scheduling transmission resources
CN100581167C (en) Resource access method and device thereof
CN105120482B (en) A kind of time delay priority scheduling method based on resource utilization
CN115915148A (en) Service type-based 5G network slice access control method
CN103023819B (en) A kind of coarseness distribution method of dynamic bandwidth
CN118843135A (en) Method for monitoring Bat topology anti-interference wireless local area network interference
CN112615647A (en) Broadband power line carrier communication cross-layer resource allocation method for power internet of things concurrent mixed service
Libório et al. Network Slicing in IEEE 802.11 ah
CN103220797A (en) Method and system of dispatching transmission resources

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210406