[go: up one dir, main page]

CN111343669A - A message scheduling method and device - Google Patents

A message scheduling method and device Download PDF

Info

Publication number
CN111343669A
CN111343669A CN202010163475.8A CN202010163475A CN111343669A CN 111343669 A CN111343669 A CN 111343669A CN 202010163475 A CN202010163475 A CN 202010163475A CN 111343669 A CN111343669 A CN 111343669A
Authority
CN
China
Prior art keywords
user equipment
message
flow
base station
preset
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
CN202010163475.8A
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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202010163475.8A priority Critical patent/CN111343669A/en
Publication of CN111343669A publication Critical patent/CN111343669A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0289Congestion control
    • 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/26Flow control; Congestion control using explicit feedback to the source, e.g. choke packets
    • H04L47/263Rate modification at the source after receiving feedback
    • 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/27Evaluation or update of window size, e.g. using information derived from acknowledged [ACK] packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种报文调度方法及装置,该方法包括:若本基站的速度反压发送模块检测到报文队列中报文的数量满足预设第一条件,则确定报文队列中满足预设第二条件的报文所在的数据流为拥塞流,其中,每个与本基站连接的用户设备均配置有报文队列,确定发送拥塞流的用户设备和接收拥塞流的用户设备,接收拥塞流的用户设备为与本基站连接的用户设备,确定接收拥塞流的用户设备发送给发送拥塞流的用户设备的反向流,修改反向流中的确认字符窗口值,以使发送拥塞流的用户设备根据确认字符窗口值减小报文发送速度。本发明实施例提供的方法能够指示发送拥塞流的用户设备减小报文发送速度,从而缓减基站的流量拥塞,提高了报文调度的效率。

Figure 202010163475

The invention discloses a message scheduling method and device. The method includes: if the speed back pressure sending module of the local base station detects that the number of messages in the message queue satisfies a preset first condition, determining that the number of messages in the message queue satisfies the The data flow in which the message of the preset second condition is located is a congested flow, wherein, each user equipment connected to the base station is configured with a message queue, and the user equipment for sending the congested flow and the user equipment for receiving the congested flow are determined, and the user equipment receiving the congested flow is determined. The user equipment of the congested flow is the user equipment connected to the local base station, determine the reverse flow sent by the user equipment receiving the congested flow to the user equipment sending the congested flow, and modify the window value of the acknowledgement character in the reverse flow so as to send the congested flow. The user equipment reduces the packet sending speed according to the acknowledgment character window value. The method provided by the embodiment of the present invention can instruct the user equipment sending the congested flow to reduce the message sending speed, thereby reducing the traffic congestion of the base station and improving the efficiency of message scheduling.

Figure 202010163475

Description

一种报文调度方法及装置A message scheduling method and device

技术领域technical field

本发明涉及通信技术领域,具体涉及一种报文调度方法及装置。The present invention relates to the field of communication technologies, in particular to a message scheduling method and device.

背景技术Background technique

在5G(5th-Generation,第五代移动通信技术)网络环境中,网速最高可以达到数几G,他们的速度已经和数据中心服务器的网络速度接近。任何一个5G的终端将不仅仅作为客户端获取信息,还可以对外提供服务,或者既可以作为客户端也可以作为服务端。在5G接入网络中,流量模型将会越来越复杂,可能会存在多个5G UE(User Equipment,用户设备例如移动终端)访问一个UE的模型。这样被访问的UE连接的5G基站可能成为流量的拥塞点,而目前的5G数据通信同样采用IP转发模式,IP转发的基本特点是当一点发生拥塞超过其处理能力时,基本的处理机制是采用报文丢弃的策略依赖TCP(Transmission ControlProtocol,传输控制协议)重传,但是重传又会影响业务效率。如何通过5G的调度避免网络拥塞报文丢失是一个问题。In the 5G (5th-Generation, fifth-generation mobile communication technology) network environment, the maximum network speed can reach several gigabytes, and their speed is already close to the network speed of the data center server. Any 5G terminal will not only obtain information as a client, but also provide external services, or serve as both a client and a server. In a 5G access network, the traffic model will become more and more complex, and there may be a model in which multiple 5G UEs (User Equipment, user equipment such as mobile terminals) access one UE. In this way, the 5G base station connected to the accessed UE may become a traffic congestion point, and the current 5G data communication also adopts IP forwarding mode. The basic feature of IP forwarding is that when the congestion at one point exceeds its processing capacity, the basic processing mechanism is to use The policy of packet discarding relies on TCP (Transmission Control Protocol, Transmission Control Protocol) retransmission, but retransmission will affect service efficiency. How to avoid network congestion and packet loss through 5G scheduling is a problem.

发明内容SUMMARY OF THE INVENTION

为此,本发明提供一种报文调度方法及装置,以解决现有技术中由于报文发送端发送报文的周期小于报文接收端接收报文的周期而导致的基站流量拥塞的问题。To this end, the present invention provides a message scheduling method and device to solve the problem of traffic congestion at the base station caused by the fact that the period in which the message sender sends a message is smaller than the period in which the message receiver receives the message in the prior art.

为了实现上述目的,本发明第一方面提供一种报文调度方法,该方法包括:In order to achieve the above object, a first aspect of the present invention provides a packet scheduling method, which includes:

若本基站的速度反压发送模块检测到报文队列中报文的数量满足预设第一条件,则确定所述报文队列中满足预设第二条件的报文所在的数据流为拥塞流;其中,每个与本基站连接的用户设备均配置有报文队列;If the speed back pressure sending module of the local base station detects that the number of packets in the packet queue satisfies the preset first condition, it determines that the data flow in the packet that meets the preset second condition in the packet queue is a congested stream ; wherein, each user equipment connected to the base station is configured with a message queue;

确定发送所述拥塞流的用户设备和接收所述拥塞流的用户设备;所述接收拥塞流的用户设备为所述与本基站连接的用户设备;Determine the user equipment that sends the congested flow and the user equipment that receives the congested flow; the user equipment that receives the congested flow is the user equipment connected to the base station;

确定所述接收所述拥塞流的用户设备发送给所述发送所述拥塞流的用户设备的反向流;determining the reverse flow sent by the user equipment receiving the congested flow to the user equipment sending the congested flow;

修改所述反向流中的确认字符窗口值,以使发送所述拥塞流的用户设备根据所述确认字符窗口值减小报文发送速度。Modifying the confirmation character window value in the reverse flow, so that the user equipment sending the congested flow reduces the packet sending speed according to the confirmation character window value.

优选的,所述报文队列中报文的数量满足预设第一条件,包括:报文队列中报文的数量大于预设阈值。Preferably, the number of messages in the message queue satisfies a preset first condition, including: the number of messages in the message queue is greater than a preset threshold.

优选的,所述报文队列中满足预设第二条件的报文包括:根据报文接收时间确定出的报文对列中超过所述预设阈值的报文。Preferably, the messages in the message queue meeting the preset second condition include: messages exceeding the preset threshold in the message pair column determined according to the message reception time.

优选的,根据预设周期检测报文队列中报文的数量是否满足预设第一条件;Preferably, detecting whether the number of messages in the message queue meets a preset first condition according to a preset period;

所述确定发送所述报文队列中满足预设第二条件的报文的用户设备,包括:若所述报文队列中超过所述预设阈值的报文为多个,则分别确定发送所述超过所述预设阈值的各个报文的用户设备。The determining of the user equipment for sending the packets that meet the preset second condition in the packet queue includes: if there are multiple packets exceeding the preset threshold in the packet queue, respectively determining to send the packets that meet the preset second condition. the user equipment of each packet exceeding the preset threshold.

本发明第二方面提供一种报文调度方法,该方法包括:A second aspect of the present invention provides a message scheduling method, the method comprising:

接收基站发送的反向流;Receive the reverse stream sent by the base station;

根据所述反向流中的确认字符窗口值减小报文发送速度。The packet sending speed is reduced according to the window value of the confirmation character in the reverse flow.

本发明第三方面提供一种基站,该基站包括速度反压发送模块、确定模块和修改模块;A third aspect of the present invention provides a base station, the base station includes a velocity back pressure sending module, a determining module and a modifying module;

所述速度反压发送模块用于,检测报文队列中报文的数量是否满足预设第一条件;The speed back pressure sending module is used to detect whether the number of messages in the message queue satisfies the preset first condition;

所述确定模块用于,若检测到报文队列中报文的数量满足预设第一条件,则确定所述报文队列中满足预设第二条件的报文所在的数据流为拥塞流,其中,每个与本基站连接的用户设备均配置有报文队列,以及确定发送所述拥塞流的用户设备和接收所述拥塞流的用户设备,所述接收拥塞流的用户设备为所述与本基站连接的用户设备,以及确定所述接收所述拥塞流的用户设备发送给所述发送所述拥塞流的用户设备的反向流;The determining module is configured to, if it is detected that the number of messages in the message queue satisfies the preset first condition, determine that the data flow in which the messages that satisfy the preset second condition in the message queue are located is a congested flow, Wherein, each user equipment connected to the base station is configured with a message queue, and determines the user equipment that sends the congested flow and the user equipment that receives the congested flow, and the user equipment that receives the congested flow is the The user equipment connected to this base station, and determining the reverse flow sent by the user equipment receiving the congested flow to the user equipment sending the congested flow;

所述修改模块用于,修改所述反向流中的确认字符窗口值,以使发送所述拥塞流的用户设备根据所述确认字符窗口值减小报文发送速度。The modifying module is configured to modify the acknowledgment character window value in the reverse flow, so that the user equipment sending the congested flow reduces the packet sending speed according to the acknowledgment character window value.

优选的,所述报文队列中报文的数量满足预设第一条件,包括:报文队列中报文的数量大于预设阈值。Preferably, the number of messages in the message queue satisfies a preset first condition, including: the number of messages in the message queue is greater than a preset threshold.

优选的,所述报文队列中满足预设第二条件的报文包括:根据报文接收时间确定出的报文对列中超过所述预设阈值的报文。Preferably, the messages in the message queue meeting the preset second condition include: messages exceeding the preset threshold in the message pair column determined according to the message reception time.

优选的,根据预设周期检测报文队列中报文的数量是否满足预设第一条件;Preferably, detecting whether the number of messages in the message queue meets a preset first condition according to a preset period;

所述确定模块用于,若所述报文队列中超过所述预设阈值的报文为多个,则分别确定发送所述超过所述预设阈值的各个报文的用户设备。The determining module is configured to, if there are multiple packets exceeding the preset threshold in the packet queue, respectively determine the user equipment that sends each of the packets exceeding the preset threshold.

本发明第四方面提供一种用户设备,该用户设备包括接收模块和处理模块;A fourth aspect of the present invention provides a user equipment, the user equipment includes a receiving module and a processing module;

所述接收模块用于,接收基站发送的反向流;The receiving module is used to receive the reverse flow sent by the base station;

所述处理模块用于,根据所述反向流中的确认字符窗口值减小报文发送速度。The processing module is configured to reduce the message sending speed according to the confirmation character window value in the reverse flow.

本发明实施例提供的报文调度方法,若本基站的速度反压发送模块检测到报文队列中报文的数量满足预设第一条件,则确定报文队列中满足预设第二条件的报文所在的数据流为拥塞流,其中,每个与本基站连接的用户设备均配置有报文队列,确定发送拥塞流的用户设备和接收拥塞流的用户设备,接收拥塞流的用户设备为与本基站连接的用户设备,确定接收拥塞流的用户设备发送给发送拥塞流的用户设备的反向流,修改反向流中的确认字符窗口值,以使发送拥塞流的用户设备根据确认字符窗口值减小报文发送速度。本发明实施例提供的方法能够根据报文队列中报文的数量以及满足预设第二条件的报文确定拥塞流,进而根据拥塞流确定反向流,通过修改反向流中的确认字符窗口值指示发送拥塞流的用户设备减小报文发送速度,从而缓减基站的流量拥塞,提高了报文调度的效率。In the message scheduling method provided by the embodiment of the present invention, if the speed back pressure sending module of the local base station detects that the number of messages in the message queue satisfies the preset first condition, it determines that the number of messages in the message queue that satisfies the preset second condition The data flow where the message is located is a congested flow. Each user equipment connected to the base station is configured with a message queue, and the user equipment that sends the congested flow and the user equipment that receives the congested flow are determined. The user equipment that receives the congested flow is: The user equipment connected to this base station determines the reverse flow sent by the user equipment receiving the congested flow to the user equipment sending the congested flow, and modifies the window value of the confirmation character in the reverse flow, so that the user equipment sending the congested flow The window value reduces the packet sending speed. The method provided by the embodiment of the present invention can determine the congested flow according to the number of messages in the message queue and the messages that meet the preset second condition, and then determine the reverse flow according to the congested flow, and modify the confirmation character window in the reverse flow by modifying the confirmation character window. The value instructs the user equipment sending the congested flow to reduce the packet sending speed, thereby reducing the traffic congestion of the base station and improving the efficiency of packet scheduling.

附图说明Description of drawings

附图是用来提供对本发明的进一步理解,并且构成说明书的一部分,与下面的具体实施方式一起用于解释本发明,但并不构成对本发明的限制。The accompanying drawings are used to provide a further understanding of the present invention, and constitute a part of the specification, and together with the following specific embodiments, are used to explain the present invention, but do not constitute a limitation to the present invention.

图1为本发明实施例提供的报文调度方法的流程示意图一;FIG. 1 is a schematic flowchart 1 of a packet scheduling method provided by an embodiment of the present invention;

图2为本发明实施例提供的报文调度方法的流程示意图二;FIG. 2 is a second schematic flowchart of a packet scheduling method provided by an embodiment of the present invention;

图3为本发明实施例提供的5G基站的结构示意图;FIG. 3 is a schematic structural diagram of a 5G base station provided by an embodiment of the present invention;

图4为本发明实施例提供的用户设备的结构示意图。FIG. 4 is a schematic structural diagram of a user equipment according to an embodiment of the present invention.

具体实施方式Detailed ways

以下结合附图对本发明的具体实施方式进行详细说明。应当理解的是,此处所描述的具体实施方式仅用于说明和解释本发明,并不用于限制本发明。The specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only used to illustrate and explain the present invention, but not to limit the present invention.

第五代移动通信技术(5th generation mobile networks,5G)是最新一代蜂窝移动通信技术,也是即4G(The 4th Generation mobile communication technology,第四代移动通信技术例如LTE-A(Long Term Evolution-Advanced,长期演进技术升级版)和WiMax(World Interoperability for Microwave Access,全球微波接入互操作性))、3G(Thethird Generation Mobile Telecommunication,第三代移动通信技术例如UMTS(Universal Mobile Telecommunications System,通用移动电信系统)、LTE(Long TermEvolution,长期演进技术))和2G(Second Generation,第二代移动通信技术例如GSM(Global System for Mobile Communications,全球移动通信系统))系统之后的延伸。5G的性能目标是高数据速率、减少延迟、节省能源、降低成本、提高系统容量和大规模设备连接。Release-15中的5G规范的第一阶段是为了适应早期的商业部署。Release-16的第二阶段将于2020年4月完成,作为IMT-2020(5G)技术的候选提交给国际电信联盟(International Telecommunication Union,ITU)。ITU IMT-2020规范要求速度高达20Gbit/s,可以实现宽信道带宽和大容量MIMO(multiple-in multiple-out,多进多出)。The fifth generation mobile communication technology (5th generation mobile networks, 5G) is the latest generation of cellular mobile communication technology, which is also the 4G (The 4th Generation mobile communication technology, the fourth generation mobile communication technology such as LTE-A (Long Term Evolution-Advanced, Long Term Evolution Technology Upgrade) and WiMax (World Interoperability for Microwave Access)), 3G (The third Generation Mobile Telecommunication, third generation mobile communication technologies such as UMTS (Universal Mobile Telecommunications System, Universal Mobile Telecommunications System) ), LTE (Long Term Evolution, long term evolution technology) and 2G (Second Generation, second generation mobile communication technology such as GSM (Global System for Mobile Communications, global system for mobile communications)) system extension. The performance goals of 5G are high data rates, reduced latency, energy savings, lower costs, increased system capacity, and massive device connectivity. The first phase of the 5G specification in Release-15 is to accommodate early commercial deployments. The second phase of Release-16 will be completed in April 2020 and submitted to the International Telecommunication Union (ITU) as a candidate for IMT-2020 (5G) technology. The ITU IMT-2020 specification requires a speed of up to 20Gbit/s, enabling wide channel bandwidth and large-capacity MIMO (multiple-in multiple-out).

2019年10月31日,三大运营商公布5G商用套餐,并于11月1日正式上线5G商用套餐。5G移动网络与早期的2G、3G和4G移动网络一样,5G网络是数字蜂窝网络,在这种网络中,供应商覆盖的服务区域被划分为许多被称为蜂窝的小地理区域。表示声音和图像的模拟信号在手机中被数字化,由模数转换器转换并作为比特流传输。蜂窝中的所有5G无线设备通过无线电波与蜂窝中的本地天线阵和低功率自动收发器(发射机和接收机)进行通信。收发器从公共频率池分配频道,这些频道在地理上分离的蜂窝中可以重复使用。本地天线通过高带宽光纤或无线回程连接与电话网络和互联网连接。与现有的手机一样,当用户从一个蜂窝穿越到另一个蜂窝时,他们的移动设备将自动“切换”到新蜂窝中的天线。On October 31, 2019, the three major operators announced 5G commercial packages, and on November 1, the 5G commercial packages were officially launched. 5G mobile networks Like earlier 2G, 3G and 4G mobile networks, 5G networks are digital cellular networks in which the service area covered by a provider is divided into many small geographic areas called cells. Analog signals representing sound and images are digitized in mobile phones, converted by analog-to-digital converters and transmitted as a bit stream. All 5G wireless devices in the cell communicate via radio waves with the local antenna array and low-power automatic transceivers (transmitters and receivers) in the cell. Transceivers allocate channels from a common pool of frequencies that can be reused in geographically separated cells. Local antennas are connected to the telephone network and the Internet via a high bandwidth fiber optic or wireless backhaul connection. As with existing cell phones, when users traverse from one cell to another, their mobile device will automatically "switch" to the antenna in the new cell.

5G网络的主要优势在于,数据传输速率远远高于以前的蜂窝网络,最高可达10Gbit/s,比当前的有线互联网要快,比先前的4G LTE蜂窝网络快100倍。另一个优点是较低的网络延迟(更快的响应时间),低于1毫秒,而4G为30-70毫秒。由于数据传输更快,5G网络将不仅仅为手机提供服务,而且还将成为一般性的家庭和办公网络提供商,与有线网络提供商竞争。以前的蜂窝网络提供了适用于手机的低数据率互联网接入,但是一个手机发射塔不能经济地提供足够的带宽作为家用计算机的一般互联网供应商。The main advantage of 5G networks is that data transfer rates are much higher than previous cellular networks, up to 10Gbit/s, which is faster than current wired internet and 100 times faster than previous 4G LTE cellular networks. Another plus is lower network latency (faster response time), below 1ms compared to 30-70ms for 4G. Thanks to faster data transfer, 5G networks will not only serve mobile phones, but will also become general home and office network providers, competing with cable network providers. Previous cellular networks provided low-data-rate Internet access for cell phones, but a cell tower could not affordably provide enough bandwidth to serve as a general Internet provider for home computers.

在5G中,面向大规模用户的音频、视频、图像等业务急剧增长,网络流量的爆炸式增长会极大地影响用户访问互联网的服务质量。如何有效地分发大流量的业务内容,降低用户获取信息的时延,成为网络运营商和内容提供商面临的一大难题。仅仅依靠增加带宽并不能解决问题,它还受到传输中路由阻塞和延迟、网站服务器的处理能力等因素的影响,这些问题的出现与用户服务器之间的距离有密切关系。In 5G, services such as audio, video, and images for large-scale users have grown rapidly, and the explosive growth of network traffic will greatly affect the quality of services for users to access the Internet. How to effectively distribute large-traffic service content and reduce the delay for users to obtain information has become a major problem faced by network operators and content providers. Just relying on increasing the bandwidth cannot solve the problem, it is also affected by factors such as routing congestion and delay in transmission, the processing capacity of the website server, etc. The occurrence of these problems is closely related to the distance between the user servers.

如图1所示,本发明实施例提供的报文调度方法,可以包括以下步骤:As shown in FIG. 1 , the packet scheduling method provided by the embodiment of the present invention may include the following steps:

步骤11.若本基站的速度反压发送模块检测到报文队列中报文的数量满足预设第一条件,则确定报文队列中满足预设第二条件的报文所在的数据流为拥塞流;其中,每个与本基站连接的用户设备均配置有报文队列。Step 11. If the speed back pressure sending module of the base station detects that the number of messages in the message queue satisfies the preset first condition, it determines that the data flow in which the message that meets the preset second condition in the message queue is located is congested flow; wherein, each user equipment connected to the base station is configured with a message queue.

在本发明实施例中,多个用户设备(User Equipment,UE)连接到本基站,则基站可以根据每个UE的终端标识在本地为各UE的接收报文分别配置一个或多个报文队列。发送端发送给某一UE的报文将进入该UE的报文队列中,遵循先进先出的原则,由基站将报文转发给该UE。需要说明的是,基站可以为5G基站,也可以为4G等其他基站。In the embodiment of the present invention, if multiple user equipments (User Equipment, UE) are connected to the base station, the base station may locally configure one or more message queues for the received messages of each UE according to the terminal identifier of each UE. . The message sent by the sender to a certain UE will enter the message queue of the UE, and the base station will forward the message to the UE according to the principle of first-in, first-out. It should be noted that the base station may be a 5G base station, or may be other base stations such as 4G.

基站可以在本地设置一个向发送端发送速度反压的功能模块,即速度反压发送模块,该模块可以检测各报文队列中报文的数量是否满足预设第一条件,基站的速度反压发送模块启动后,当检测到报文队列中报文的数量满足预设第一条件时,说明此时该报文队列对应的UE接收报文的速度小于了发送端发送报文的速度,则该模块可以进一步确定报文对列中满足预设第二条件的报文,并进一步确定出报文队列中满足预设第二条件的报文所在的流,将该数据流定义为拥塞流。The base station can set up a local function module that sends speed back pressure to the sender, that is, the speed back pressure sending module. This module can detect whether the number of messages in each message queue meets the preset first condition, the speed back pressure of the base station. After the sending module is started, when it is detected that the number of messages in the message queue meets the preset first condition, it means that the speed at which the UE corresponding to the message queue receives messages is lower than the speed at which the sender sends messages, then The module can further determine the packets that satisfy the preset second condition in the packet pair column, and further determine the flow of the packets that satisfy the preset second condition in the packet queue, and define the data flow as a congested flow.

步骤12.确定发送拥塞流的用户设备和接收拥塞流的用户设备;接收拥塞流的用户设备为与本基站连接的用户设备。Step 12. Determine the user equipment that sends the congested flow and the user equipment that receives the congested flow; the user equipment that receives the congested flow is the user equipment connected to the base station.

在本步骤中,当发送端发送报文的速度大于了UE接收报文的速度时,基站可以直接根据拥塞流来确定发送拥塞流的发送端和接收拥塞流的UE,接收拥塞流的UE即为连接到本基站的UE。In this step, when the speed at which the sender sends packets is greater than the speed at which the UE receives packets, the base station can directly determine the sender that sends the congestion flow and the UE that receives the congestion flow according to the congestion flow, and the UE that receives the congestion flow is the For the UE connected to the base station.

步骤13.确定接收拥塞流的用户设备发送给发送拥塞流的用户设备的反向流。Step 13. Determine the reverse flow sent by the user equipment receiving the congested flow to the user equipment sending the congested flow.

在本步骤中,5G基站可以找到经过本基站的与拥塞流相匹配的反向流,该反向流是接收拥塞流的UE返回给发送拥塞流的发送端用户设备的。In this step, the 5G base station can find a reverse flow that passes through the base station and matches the congested flow, and the reverse flow is returned by the UE receiving the congested flow to the sender user equipment sending the congested flow.

步骤14.修改反向流中的确认字符窗口值,以使发送拥塞流的用户设备根据确认字符窗口值减小报文发送速度。Step 14. Modify the acknowledgment character window value in the reverse flow, so that the user equipment sending the congested flow reduces the packet sending speed according to the acknowledgment character window value.

在本步骤中,基站可以缩小反向流中的确认字符(Acknowledge character,ACK)窗口值。发送拥塞流的用户设备接收到该反向流后,将会按照UE的缩小的窗口值自动降低自己的发送速度。这样在接下来的通信中,由于报文发送端的报文发送速度减小,基站将接收到更少的报文,拥塞将得到缓减。In this step, the base station can reduce the window value of the acknowledge character (Acknowledge character, ACK) in the reverse flow. After receiving the reverse flow, the user equipment sending the congested flow will automatically reduce its own sending speed according to the reduced window value of the UE. In this way, in the next communication, since the message sending speed of the message sender is reduced, the base station will receive fewer messages, and the congestion will be alleviated.

通过上述步骤11-14可以看出,本发明实施例提供的报文调度方法,若本基站的速度反压发送模块检测到报文队列中报文的数量满足预设第一条件,则确定报文队列中满足预设第二条件的报文所在的数据流为拥塞流,其中,每个与本基站连接的用户设备均配置有报文队列,确定发送拥塞流的用户设备和接收拥塞流的用户设备,接收拥塞流的用户设备为与本基站连接的用户设备,确定接收拥塞流的用户设备发送给发送拥塞流的用户设备的反向流,修改反向流中的确认字符窗口值,以使发送拥塞流的用户设备根据确认字符窗口值减小报文发送速度。本发明实施例提供的方法能够根据报文队列中报文的数量以及满足预设第二条件的报文确定拥塞流,进而根据拥塞流确定反向流,通过修改反向流中的确认字符窗口值指示发送拥塞流的用户设备减小报文发送速度,从而缓减基站的流量拥塞,提高了报文调度的效率。It can be seen from the above steps 11-14 that, in the packet scheduling method provided by the embodiment of the present invention, if the speed backpressure sending module of the local base station detects that the number of packets in the packet queue meets the preset first condition, it determines to report the In the message queue, the data flow of the message that meets the preset second condition is a congested flow, wherein, each user equipment connected to the base station is configured with a message queue to determine the user equipment that sends the congested flow and the user equipment that receives the congested flow. User equipment, the user equipment receiving the congested flow is the user equipment connected to the local base station, determining the reverse flow sent by the user equipment receiving the congested flow to the user equipment sending the congested flow, and modifying the acknowledgment character window value in the reverse flow to Make the user equipment sending the congested flow reduce the packet sending speed according to the acknowledgment character window value. The method provided by the embodiment of the present invention can determine the congested flow according to the number of messages in the message queue and the messages that meet the preset second condition, and then determine the reverse flow according to the congested flow, and modify the confirmation character window in the reverse flow by modifying the confirmation character window. The value instructs the user equipment sending the congested flow to reduce the packet sending speed, thereby reducing the traffic congestion of the base station and improving the efficiency of packet scheduling.

在一些实施例中,所述报文队列中报文的数量满足预设第一条件,可以包括:报文队列中报文的数量大于预设阈值。In some embodiments, the number of packets in the packet queue satisfies a preset first condition, which may include: the number of packets in the packet queue is greater than a preset threshold.

在本发明实施例中,基站可以为UE的报文队列中报文的数量设置预设阈值,当报文队列中报文的数量大于预设阈值时,说明报文队列中的报文超过了报文队列的容纳上限。通常,若报文对列中的报文超过阈值,会将后接收到的报文丢弃,为避免报文丢失,基站可以检测报文队列中报文的数量是否满足预设第一条件,以便根据检测结果进行报文调度。In this embodiment of the present invention, the base station may set a preset threshold for the number of packets in the packet queue of the UE. When the number of packets in the packet queue is greater than the preset threshold, it means that the packets in the packet queue exceed the preset threshold. The maximum capacity of the packet queue. Usually, if the packets in the packet queue exceed the threshold, the packets received later will be discarded. In order to avoid packet loss, the base station can detect whether the number of packets in the packet queue meets the preset first condition, so as to avoid packet loss. Packets are scheduled according to the detection results.

在一些实施例中,所述报文队列中满足预设第二条件的报文可以包括:根据报文接收时间确定出的报文对列中超过预设阈值的报文。也就是说,满足第二条件的报文为报文对列中在数量大于阈值之后接收到的报文。In some embodiments, the messages in the message queue that satisfy the preset second condition may include: messages exceeding a preset threshold in the message pair list determined according to the message reception time. That is to say, the packets satisfying the second condition are the packets received after the number is greater than the threshold in the packet pair column.

在本发明实施例中,报文是否满足预设第二条件,与报文的接收时间以及报文是否超过预设阈值有关。In the embodiment of the present invention, whether the message satisfies the preset second condition is related to the receiving time of the message and whether the message exceeds the preset threshold.

在一些实施例中,基站可以根据预设周期检测报文队列中报文的数量是否满足预设第一条件,相应的,所述确定发送所述报文队列中满足预设第二条件的报文的用户设备,可以包括:若报文队列中超过预设阈值的报文为多个,则分别确定发送超过预设阈值的各个报文的用户设备。In some embodiments, the base station may detect, according to a preset period, whether the number of messages in the message queue satisfies a preset first condition, and accordingly, determine to send a message in the message queue that satisfies a preset second condition. The user equipment for sending the message may include: if there are multiple packets exceeding the preset threshold in the packet queue, respectively determining the user equipment that sends each packet exceeding the preset threshold.

在本发明实施例中,基站可以对报文队列中报文的数量进行周期性检测。需要说明的是,此时报文队列中满足预设第二条件的报文可以是接收时间在当前检测周期内且超过预设阈值的报文。而当报文队列中超过预设阈值的报文存在多个时,需要分别确定发送这些报文的发送端。In this embodiment of the present invention, the base station may periodically detect the number of messages in the message queue. It should be noted that, at this time, the packets that satisfy the preset second condition in the packet queue may be packets whose reception time is within the current detection period and exceeds the preset threshold. However, when there are multiple packets exceeding the preset threshold in the packet queue, it is necessary to separately determine the senders that send these packets.

如图2所示,本发明实施例提供的报文调度方法,可以包括以下步骤:As shown in FIG. 2 , the packet scheduling method provided by the embodiment of the present invention may include the following steps:

步骤21.接收基站发送的反向流。Step 21. Receive the reverse flow sent by the base station.

步骤22.根据反向流中的确认字符窗口值减小报文发送速度。Step 22. Decrease the packet sending speed according to the window value of the confirmation character in the reverse flow.

通过上述步骤21-22可以看出,本发明实施例提供的报文调度方法,接收基站发送的反向流,根据反向流中的确认字符窗口值减小报文发送速度。本发明实施例提供的报文调度方法能够使报文发送端根据基站发送的反向流中的确认字符窗口值减小报文发送速度,进而减少报文的发送数量,从而缓减基站的流量拥塞,提高了报文调度的效率。It can be seen from the above steps 21-22 that the packet scheduling method provided by the embodiment of the present invention receives the reverse flow sent by the base station, and reduces the packet sending speed according to the acknowledgment character window value in the reverse flow. The message scheduling method provided by the embodiment of the present invention enables the message sender to reduce the message sending speed according to the window value of the confirmation character in the reverse flow sent by the base station, thereby reducing the number of messages sent, thereby reducing the flow of the base station congestion, which improves the efficiency of packet scheduling.

需要说明的是,基站也可以指示报文发送端减小报文发送速度,由报文发送端自行减小报文发送速度,但相较于由基站根据自身拥塞情况缩小确认字符窗口值来指示发送端减小报文发送速度,报文调度的效率可能会较低。It should be noted that the base station can also instruct the message sender to reduce the message sending speed, and the message sender can reduce the message sending speed by itself. If the sender reduces the packet sending speed, the efficiency of packet scheduling may be lower.

基于相同的技术构思,本发明实施例还提供一种基站,如图3所示,该基站包括速度反压发送模块101、确定模块102、修改模块103。Based on the same technical concept, an embodiment of the present invention further provides a base station. As shown in FIG. 3 , the base station includes a velocity backpressure sending module 101 , a determination module 102 , and a modification module 103 .

速度反压发送模块101用于,检测报文队列中报文的数量是否满足预设第一条件。The speed back pressure sending module 101 is configured to detect whether the number of messages in the message queue satisfies the preset first condition.

确定模块102用于,若检测到报文队列中报文的数量满足预设第一条件,则确定报文队列中满足预设第二条件的报文所在的数据流为拥塞流,其中,每个与本基站连接的用户设备均配置有报文队列,以及确定发送拥塞流的用户设备和接收拥塞流的用户设备,接收拥塞流的用户设备为与本基站连接的用户设备,以及确定接收拥塞流的用户设备发送给发送拥塞流的用户设备的反向流。The determining module 102 is configured to, if it is detected that the number of messages in the message queue satisfies the preset first condition, determine that the data flow where the messages in the message queue that satisfy the preset second condition are located is a congested flow, wherein each Each user equipment connected to the base station is configured with a message queue, and determines the user equipment that sends the congested flow and the user equipment that receives the congested flow, the user equipment that receives the congested flow is the user equipment connected to the base station, and determines the user equipment that receives the congested flow. The user equipment of the flow sends the reverse flow to the user equipment sending the congested flow.

修改模块103用于,修改反向流中的确认字符窗口值,以使发送拥塞流的用户设备根据确认字符窗口值减小报文发送速度。The modifying module 103 is configured to modify the window value of the confirmation character in the reverse flow, so that the user equipment sending the congested flow reduces the packet sending speed according to the window value of the confirmation character.

在一些实施例中,报文队列中报文的数量满足预设第一条件,包括:报文队列中报文的数量大于预设阈值。In some embodiments, the number of packets in the packet queue satisfies a preset first condition, including: the number of packets in the packet queue is greater than a preset threshold.

在一些实施例中,报文队列中满足预设第二条件的报文包括:根据报文接收时间确定出的报文对列中超过预设阈值的报文。In some embodiments, the packets satisfying the preset second condition in the packet queue include: packets exceeding the preset threshold in the packet pair column determined according to the packet reception time.

在一些实施例中,根据预设周期检测报文队列中报文的数量是否满足预设第一条件。确定模块102用于,若报文队列中超过预设阈值的报文为多个,则分别确定发送超过所述预设阈值的各个报文的用户设备。In some embodiments, whether the number of packets in the packet queue satisfies a preset first condition is detected according to a preset period. The determining module 102 is configured to, if there are multiple packets exceeding the preset threshold in the packet queue, respectively determine the user equipment that sends each packet exceeding the preset threshold.

本发明实施例还提供一种用户设备,如图4所示,该用户设备包括接收模块201和处理模块202。An embodiment of the present invention further provides a user equipment. As shown in FIG. 4 , the user equipment includes a receiving module 201 and a processing module 202 .

接收模块201用于,接收基站发送的反向流。The receiving module 201 is used for receiving the reverse flow sent by the base station.

处理模块202用于,根据反向流中的确认字符窗口值减小报文发送速度。The processing module 202 is configured to reduce the packet sending speed according to the window value of the confirmation character in the reverse flow.

可以理解的是,以上实施方式仅仅是为了说明本发明的原理而采用的示例性实施方式,然而本发明并不局限于此。对于本领域内的普通技术人员而言,在不脱离本发明的精神和实质的情况下,可以做出各种变型和改进,这些变型和改进也视为本发明的保护范围。It can be understood that the above embodiments are only exemplary embodiments adopted to illustrate the principle of the present invention, but the present invention is not limited thereto. For those skilled in the art, without departing from the spirit and essence of the present invention, various modifications and improvements can be made, and these modifications and improvements are also regarded as the protection scope of the present invention.

Claims (10)

1. A message scheduling method applied to a base station is characterized by comprising the following steps:
if the speed back pressure sending module of the base station detects that the number of the messages in the message queue meets a preset first condition, determining that the data flow of the message which meets a preset second condition in the message queue is a congestion flow; each user equipment connected with the base station is configured with a message queue;
determining user equipment sending the congestion flow and user equipment receiving the congestion flow; the user equipment receiving the congestion flow is the user equipment connected with the base station;
determining a reverse flow sent by the user equipment receiving the congestion flow to the user equipment sending the congestion flow;
and modifying the confirmation character window value in the reverse flow so that the user equipment sending the congestion flow reduces the message sending speed according to the confirmation character window value.
2. The method of claim 1, wherein the number of packets in the packet queue satisfies a preset first condition, comprising: the number of the messages in the message queue is larger than a preset threshold value.
3. The method according to claim 2, wherein the packets in the packet queue meeting the second condition include: and determining the messages exceeding the preset threshold value in the message alignment according to the message receiving time.
4. The method according to claim 3, wherein whether the number of messages in the message queue meets a preset first condition is detected according to a preset period;
the determining of the user equipment which sends the message meeting the preset second condition in the message queue includes: and if a plurality of messages exceeding the preset threshold value exist in the message queue, respectively determining the user equipment for sending each message exceeding the preset threshold value.
5. A message scheduling method applied to user equipment is characterized by comprising the following steps:
receiving a reverse flow sent by a base station;
and reducing the message sending speed according to the confirmed character window value in the reverse flow.
6. A base station is characterized by comprising a speed back pressure sending module, a determining module and a modifying module;
the speed back-pressure sending module is used for detecting whether the number of the messages in the message queue meets a preset first condition or not;
the determining module is configured to determine, if it is detected that the number of packets in a packet queue meets a preset first condition, that a data flow in which packets meeting a preset second condition in the packet queue are located is a congestion flow, where each user equipment connected to a base station is configured with a packet queue, determine a user equipment that sends the congestion flow and a user equipment that receives the congestion flow, where the user equipment that receives the congestion flow is the user equipment connected to the base station, and determine a reverse flow that the user equipment that receives the congestion flow sends to the user equipment that sends the congestion flow;
and the modification module is used for modifying the confirmation character window value in the reverse flow so as to enable the user equipment sending the congestion flow to reduce the message sending speed according to the confirmation character window value.
7. The base station of claim 6, wherein the number of messages in the message queue meeting a predetermined first condition comprises: the number of the messages in the message queue is larger than a preset threshold value.
8. The base station of claim 7, wherein the messages in the message queue meeting the second condition include: and determining the messages exceeding the preset threshold value in the message alignment according to the message receiving time.
9. The base station of claim 8, wherein the method comprises detecting whether the number of messages in the message queue meets a preset first condition according to a preset period;
the determining module is configured to determine, if there are multiple messages in the message queue that exceed the preset threshold, the user equipment that sends each message that exceeds the preset threshold, respectively.
10. A user equipment, characterized in that the user equipment comprises a receiving module and a processing module;
the receiving module is used for receiving the reverse flow sent by the base station;
and the processing module is used for reducing the message sending speed according to the confirmed character window value in the reverse flow.
CN202010163475.8A 2020-03-10 2020-03-10 A message scheduling method and device Pending CN111343669A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010163475.8A CN111343669A (en) 2020-03-10 2020-03-10 A message scheduling method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010163475.8A CN111343669A (en) 2020-03-10 2020-03-10 A message scheduling method and device

Publications (1)

Publication Number Publication Date
CN111343669A true CN111343669A (en) 2020-06-26

Family

ID=71187924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010163475.8A Pending CN111343669A (en) 2020-03-10 2020-03-10 A message scheduling method and device

Country Status (1)

Country Link
CN (1) CN111343669A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113938258A (en) * 2020-06-29 2022-01-14 中兴通讯股份有限公司 Data transmission method, device and computer storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120140621A1 (en) * 2010-12-07 2012-06-07 Microsoft Corporation Incast Congestion Control in a Network
CN108667739A (en) * 2017-03-27 2018-10-16 华为技术有限公司 Congestion control method, device and system
CN108881056A (en) * 2017-05-15 2018-11-23 华为技术有限公司 A kind of jamming control method, the network equipment and its network interface controller
CN109218222A (en) * 2017-06-30 2019-01-15 华为技术有限公司 A kind of methods, devices and systems for realizing transmitting terminal speed regulation
US20190297536A1 (en) * 2016-07-14 2019-09-26 Samsung Electronics Co., Ltd. Method and apparatus for controlling data transmission speed in wireless communication system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120140621A1 (en) * 2010-12-07 2012-06-07 Microsoft Corporation Incast Congestion Control in a Network
US20190297536A1 (en) * 2016-07-14 2019-09-26 Samsung Electronics Co., Ltd. Method and apparatus for controlling data transmission speed in wireless communication system
CN108667739A (en) * 2017-03-27 2018-10-16 华为技术有限公司 Congestion control method, device and system
CN108881056A (en) * 2017-05-15 2018-11-23 华为技术有限公司 A kind of jamming control method, the network equipment and its network interface controller
CN109218222A (en) * 2017-06-30 2019-01-15 华为技术有限公司 A kind of methods, devices and systems for realizing transmitting terminal speed regulation

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113938258A (en) * 2020-06-29 2022-01-14 中兴通讯股份有限公司 Data transmission method, device and computer storage medium

Similar Documents

Publication Publication Date Title
KR102667781B1 (en) Data transmission methods and devices, traffic conversion methods and devices
CN110856222B (en) Flow control method and device
KR102567917B1 (en) A Multi-Technology Integrated Architecture for Long Term Evolution Communication Systems
US11652751B2 (en) Maintenance of downlink throughput
US10069602B2 (en) Transmission control protocol proxy in long term evolution radio access network
US11509597B2 (en) Data transmission method and device
WO2023287211A1 (en) Method and apparatus for establishing pdu sessions using a network slice
US12207080B2 (en) Method and device for multicast transmission
EP4262263A1 (en) Rerouting method and apparatus, and communication device
US20100074178A1 (en) Method for Indication of Consecutive Data Units in a RAN
US9462509B2 (en) Communication system, mobile station, and control device
CN111343669A (en) A message scheduling method and device
KR101735317B1 (en) Method and apparatus for allocating resource of base station in mobile communication system
WO2024207313A1 (en) Method and apparatus for wireless communication
CN107682893A (en) Congestion control method and device for UDP service
WO2014000611A1 (en) Method and device for transmitting data
KR102634629B1 (en) Method and apparatus for flow control
RU2782866C2 (en) Architecture with aggregation of technologies for communication systems of long-term development standard
WO2025138888A1 (en) Data transmission method and apparatus

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: 20200626