CN118740749A - Flow control method and device - Google Patents
Flow control method and device Download PDFInfo
- Publication number
- CN118740749A CN118740749A CN202310316571.5A CN202310316571A CN118740749A CN 118740749 A CN118740749 A CN 118740749A CN 202310316571 A CN202310316571 A CN 202310316571A CN 118740749 A CN118740749 A CN 118740749A
- Authority
- CN
- China
- Prior art keywords
- data
- data frame
- service
- flow control
- frame
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 71
- 238000004590 computer program Methods 0.000 claims description 12
- 230000005540 biological transmission Effects 0.000 abstract description 6
- 238000000265 homogenisation Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 10
- 238000011217 control strategy Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 4
- 238000005538 encapsulation Methods 0.000 description 4
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000007493 shaping process Methods 0.000 description 3
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 2
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 2
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 101000606504 Drosophila melanogaster Tyrosine-protein kinase-like otk Proteins 0.000 description 1
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/24—Traffic characterised by specific attributes, e.g. priority or QoS
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/215—Flow control; Congestion control using token-bucket
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域Technical Field
本公开涉及卫星通信技术领域,尤其涉及一种流量控制方法及装置。The present disclosure relates to the field of satellite communication technology, and in particular to a flow control method and device.
背景技术Background Art
目前,在低轨卫星互联网分布式星载交换设备中,需要星载交换设备进行数据转发,由于星载交换设备的交换能力有限,在转发数据时,需要对数据流量进行控制。但是,当星载交换设备各端口同时突发大量数据时,可能超过星载交换设备的交换能力,造成星载交换设备拥塞,影响正常的报文转发,因此,为了避免星载交换设备的拥塞,如何对数据进行流量控制是非常重要的。At present, in the distributed onboard switching equipment of low-orbit satellite Internet, onboard switching equipment is required to forward data. Due to the limited switching capacity of onboard switching equipment, data flow needs to be controlled when forwarding data. However, when a large amount of data bursts out at each port of the onboard switching equipment at the same time, it may exceed the switching capacity of the onboard switching equipment, causing congestion of the onboard switching equipment and affecting normal message forwarding. Therefore, in order to avoid congestion of the onboard switching equipment, it is very important to control the data flow.
发明内容Summary of the invention
本公开旨在至少在一定程度上解决相关技术中的技术问题之一。The present disclosure aims to solve one of the technical problems in the related art at least to some extent.
为此,本公开的第一个目的在于提出一种流量控制方法及装置,以实现对接收到的数据包按照设定的帧结构进行解封装,以得到第一数据帧,对第一数据帧进行判别,确定第一数据帧所属的业务类型,采用与第一数据帧的业务类型匹配的第一令牌桶对第一数据帧进行第一流量控制,以确定第一数据帧是否通过第一流量控制;在第一数据帧通过第一流量控制时,采用与第一数据帧中的各业务数据匹配的第二令牌桶,对第一数据帧中的各业务数据进行第二流量控制,由此,在转发数据时,可采用设定的帧结构对转发数据进行解封装,生成第一数据帧,并对第一数据帧进行判别以确定转发数据的业务类型,采用与转发数据的业务类型匹配的流量控制策略,针对性且精细化地对转发数据进行流量控制,满足了不同业务的需求,并且可避免由于突发业务量过多而导致的网络拥塞,同时还可避免数据流量控制的均匀化,提高了数据传输质量,以更好地满足用户需求。To this end, the first purpose of the present disclosure is to propose a flow control method and device, so as to realize decapsulation of a received data packet according to a set frame structure to obtain a first data frame, to identify the first data frame, to determine the service type to which the first data frame belongs, and to perform a first flow control on the first data frame using a first token bucket matching the service type of the first data frame to determine whether the first data frame passes the first flow control; when the first data frame passes the first flow control, a second token bucket matching each service data in the first data frame is used to perform a second flow control on each service data in the first data frame, thereby, when forwarding data, the set frame structure can be used to decapsulate the forwarded data to generate a first data frame, and the first data frame is identified to determine the service type of the forwarded data, and a flow control strategy matching the service type of the forwarded data is used to perform flow control on the forwarded data in a targeted and refined manner, thereby meeting the needs of different services, and avoiding network congestion caused by excessive burst business volume, while also avoiding the uniformity of data flow control, thereby improving the quality of data transmission, so as to better meet user needs.
本公开的第二个目的在于提出一种流量控制装置。The second objective of the present disclosure is to provide a flow control device.
本公开的第三个目的在于提出一种电子设备。A third objective of the present disclosure is to provide an electronic device.
本公开的第四个目的在于提出一种计算机可读存储介质。A fourth objective of the present disclosure is to provide a computer-readable storage medium.
本公开的第五个目的在于提出一种计算机程序产品。A fifth object of the present disclosure is to provide a computer program product.
为达上述目的,本公开第一方面实施例提出了一种流量控制方法,包括:对接收到的数据包按照设定的帧结构进行解封装,以得到第一数据帧;对所述第一数据帧进行判别,以确定所述第一数据帧所属的业务类型;采用与所述第一数据帧的业务类型匹配的第一令牌桶对所述第一数据帧进行第一流量控制,以确定所述第一数据帧是否通过第一流量控制;在所述第一数据帧通过第一流量控制时,采用与所述第一数据帧中的各业务数据匹配的第二令牌桶,对所述第一数据帧中的各业务数据进行第二流量控制。To achieve the above-mentioned purpose, the first aspect of the present disclosure proposes a flow control method, including: decapsulating the received data packet according to the set frame structure to obtain a first data frame; distinguishing the first data frame to determine the service type to which the first data frame belongs; using a first token bucket matching the service type of the first data frame to perform a first flow control on the first data frame to determine whether the first data frame passes the first flow control; when the first data frame passes the first flow control, using a second token bucket matching each service data in the first data frame to perform a second flow control on each service data in the first data frame.
本公开实施例的流量控制方法,通过对接收到的数据包按照设定的帧结构进行解封装,以得到第一数据帧;对所述第一数据帧进行判别,以确定所述第一数据帧所属的业务类型;采用与第一数据帧的业务类型匹配的第一令牌桶对第一数据帧进行第一流量控制,以确定第一数据帧是否通过第一流量控制;在第一数据帧通过第一流量控制时,采用与第一数据帧中的各业务数据匹配的第二令牌桶,对第一数据帧中的各业务数据进行第二流量控制。由此,在转发数据时,可采用设定的帧结构对转发数据进行解封装,生成第一数据帧,并对第一数据帧进行判别确定转发数据的业务类型,采用与转发数据的业务类型匹配的流量控制策略,针对性且精细化地对转发数据进行流量控制,满足了不同业务的需求,并且可避免由于突发业务量过多而导致的网络拥塞,同时还可避免数据流量控制的均匀化,提高了数据传输质量,以更好地满足用户需求。The flow control method of the disclosed embodiment decapsulates the received data packet according to the set frame structure to obtain the first data frame; discriminates the first data frame to determine the service type to which the first data frame belongs; uses the first token bucket matching the service type of the first data frame to perform the first flow control on the first data frame to determine whether the first data frame passes the first flow control; when the first data frame passes the first flow control, uses the second token bucket matching the service data in the first data frame to perform the second flow control on the service data in the first data frame. Thus, when forwarding data, the set frame structure can be used to decapsulate the forwarded data to generate the first data frame, and the first data frame can be discriminated to determine the service type of the forwarded data, and the flow control strategy matching the service type of the forwarded data is used to control the forwarded data in a targeted and refined manner, so as to meet the needs of different services, and avoid network congestion caused by excessive burst business volume, and at the same time, it can also avoid the uniformity of data flow control, improve the data transmission quality, and better meet the needs of users.
为达上述目的,本公开第二方面实施例提出了一种流量控制装置,包括:解封装模块,用于对接收到的数据包按照设定的帧结构进行解封装,以得到第一数据帧;判别模块,用于对所述第一数据帧进行判别,以确定所述第一数据帧所属的业务类型;第一流量控制模块,用于采用与所述第一数据帧的业务类型匹配的第一令牌桶对所述第一数据帧进行第一流量控制,以确定所述第一数据帧是否通过第一流量控制;第二流量控制模块,用于在所述第一数据帧通过第一流量控制时,采用与所述第一数据帧中的各业务数据匹配的第二令牌桶,对所述第一数据帧中的各业务数据进行第二流量控制。To achieve the above-mentioned purpose, the second aspect embodiment of the present disclosure proposes a flow control device, including: a decapsulation module, used to decapsulate the received data packet according to the set frame structure to obtain a first data frame; a discrimination module, used to discriminate the first data frame to determine the service type to which the first data frame belongs; a first flow control module, used to perform a first flow control on the first data frame using a first token bucket matching the service type of the first data frame to determine whether the first data frame passes the first flow control; a second flow control module, used to perform a second flow control on each service data in the first data frame using a second token bucket matching the each service data in the first data frame when the first data frame passes the first flow control.
为达上述目的,本公开第三方面实施例提出了一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时,实现如本公开第一方面实施例所述的流量控制方法。To achieve the above-mentioned purpose, the third aspect embodiment of the present disclosure proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the program, the flow control method as described in the first aspect embodiment of the present disclosure is implemented.
为了实现上述目的,本公开第四方面实施例提出了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现如本公开第一方面实施例所述的流量控制方法。In order to achieve the above-mentioned objectives, the fourth aspect embodiment of the present disclosure proposes a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the flow control method as described in the first aspect embodiment of the present disclosure is implemented.
为了实现上述目的,本公开第五方面实施例提出了一种计算机程序产品,当所述计算机程序产品中的指令处理器执行时,实现如本公开第一方面实施例所述的流量控制方法。In order to achieve the above-mentioned purpose, the fifth embodiment of the present disclosure proposes a computer program product. When the instruction processor in the computer program product executes, it implements the flow control method as described in the first embodiment of the present disclosure.
本公开附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本公开的实践了解到。Additional aspects and advantages of the present disclosure will be given in part in the following description and in part will be obvious from the following description or learned through practice of the present disclosure.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
本公开上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present disclosure will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
图1为相关技术中令牌桶产生令牌和转发数据的示意图;FIG1 is a schematic diagram of a token bucket generating tokens and forwarding data in the related art;
图2为本公开实施例所提供的一种流量控制方法的流程示意图;FIG2 is a flow chart of a flow control method provided by an embodiment of the present disclosure;
图3为本公开实施例所提供的帧结构的结构示意图;FIG3 is a schematic diagram of a frame structure provided by an embodiment of the present disclosure;
图4为本公开实施例所提供的数据单元的结构示意图;FIG4 is a schematic diagram of the structure of a data unit provided in an embodiment of the present disclosure;
图5为本公开实施例所提供的另一种流量控制方法的流程示意图;FIG5 is a flow chart of another flow control method provided by an embodiment of the present disclosure;
图6为本公开实施例所提供的第二子令牌桶内优先级示意图;FIG6 is a schematic diagram of priorities in a second sub-token bucket provided by an embodiment of the present disclosure;
图7为本公开实施例所提供的另一种流量控制方法的流程示意图;FIG7 is a flow chart of another flow control method provided by an embodiment of the present disclosure;
图8为本公开实施例所提供的另一种流量控制方法的流程示意图;FIG8 is a flow chart of another flow control method provided by an embodiment of the present disclosure;
图9为本公开实施例所提供的另一种流量控制方法的流程示意图;FIG9 is a flow chart of another flow control method provided by an embodiment of the present disclosure;
图10为本公开实施例所提供的另一种流量控制方法的流程示意图;FIG10 is a flow chart of another flow control method provided by an embodiment of the present disclosure;
图11为本公开实施例所提供的流量控制系统的结构示意图;FIG11 is a schematic diagram of the structure of a flow control system provided by an embodiment of the present disclosure;
图12为本公开实施例所提供的一种流量控制装置的结构示意图;FIG12 is a schematic structural diagram of a flow control device provided in an embodiment of the present disclosure;
图13是根据一示例性实施例示出的一种用于流量控制的电子设备的框图。Fig. 13 is a block diagram of an electronic device for flow control according to an exemplary embodiment.
具体实施方式DETAILED DESCRIPTION
下面详细描述本公开的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本公开,而不能理解为对本公开的限制。Embodiments of the present disclosure are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be construed as limiting the present disclosure.
为了避免由于突发业务量过多而导致的网络拥塞,相关技术中,采用令牌桶算法对转发数据进行流量控制。下面结合图1对令牌桶算法的基本过程进行描述。图1为相关技术中令牌桶产生令牌和转发数据的示意图。In order to avoid network congestion caused by excessive burst traffic, a token bucket algorithm is used in the related art to control the flow of forwarded data. The basic process of the token bucket algorithm is described below in conjunction with Figure 1. Figure 1 is a schematic diagram of a token bucket generating tokens and forwarding data in the related art.
如图1所示,令牌桶算法的基本过程如下:用户配置发送平均速率为r,每间隔1/r秒向桶中加入一个令牌;桶中最多存放b个令牌,如果令牌桶已满,则新到达的令牌会被丢弃;当一个n字节的数据报到达时,从令牌桶中删除n个令牌,并将该数据包发送至网络;若令牌数少于n,则不删除令牌,并认为该数据包处在流量限制之外。该算法允许最长b字节的数据突发,并将端口的平均输出速率限制为r。超出流量限制的数据包被存储在片内缓存中,若缓存容量不足则丢弃。As shown in Figure 1, the basic process of the token bucket algorithm is as follows: the user configures the average sending rate to be r, and adds a token to the bucket every 1/r seconds; the bucket can store a maximum of b tokens, and if the token bucket is full, the newly arrived token will be discarded; when an n-byte datagram arrives, n tokens are deleted from the token bucket and the data packet is sent to the network; if the number of tokens is less than n, the token is not deleted and the data packet is considered to be outside the flow limit. The algorithm allows data bursts of up to b bytes and limits the average output rate of the port to r. Data packets that exceed the flow limit are stored in the on-chip cache and discarded if the cache capacity is insufficient.
相关技术中,令牌桶算法的流量控制技术将超出流量限制的数据包暂存,从而将突发业务均匀化。通过增加缓存量或使用片外缓存,可以增加令牌桶可容忍的突发数据量。但是,传统令牌桶算法无法保障高优先级业务的通信质量,无法实现流量拥塞时高优先级对带宽资源的绝对占用。如果缓存区被低优先级业务占满,后到达的高优先级业务则会被丢弃。同时,不能支持各种速率业务。In the related art, the flow control technology of the token bucket algorithm temporarily stores data packets that exceed the flow limit, thereby evenly distributing the burst services. By increasing the cache size or using an off-chip cache, the burst data volume that the token bucket can tolerate can be increased. However, the traditional token bucket algorithm cannot guarantee the communication quality of high-priority services, and cannot achieve absolute occupation of bandwidth resources by high priority during traffic congestion. If the cache area is filled with low-priority services, the high-priority services that arrive later will be discarded. At the same time, it cannot support various rate services.
针对上述问题,本公开提出一种流量控制方法及装置。需要说明的是,本公开实施例的流量控制方法可应用于本公开实施例的流量控制装置,该装置可被配置于电子设备中,该电子设备可为星载交换设备。In view of the above problems, the present disclosure proposes a flow control method and device. It should be noted that the flow control method of the embodiment of the present disclosure can be applied to the flow control device of the embodiment of the present disclosure, and the device can be configured in an electronic device, and the electronic device can be a satellite-borne switching device.
下面参考附图描述本公开实施例的流量控制方法及装置。The flow control method and device according to the embodiments of the present disclosure are described below with reference to the accompanying drawings.
图2为本公开实施例所提供的一种流量控制方法的流程示意图。FIG2 is a flow chart of a flow control method provided in an embodiment of the present disclosure.
如图2所示,该流量控制方法可包括如下步骤:As shown in FIG2 , the flow control method may include the following steps:
步骤201,对接收到的数据包按照设定的帧结构进行解封装,以得到第一数据帧。Step 201, decapsulate the received data packet according to the set frame structure to obtain a first data frame.
在本公开实施例中,接收到的数据包中可包括至少一种数据类型的业务数据,比如,业务数据可为语音、图片、短报文、导航数据或视频等。进而,将接收到的数据包按照设定的帧结构进行解封装,作为一种示例,如图3所示,设定的帧结构中可包括同步信息、帧头信息和数据部分。In the embodiment of the present disclosure, the received data packet may include service data of at least one data type, for example, the service data may be voice, picture, short message, navigation data or video, etc. Then, the received data packet is decapsulated according to the set frame structure. As an example, as shown in FIG3 , the set frame structure may include synchronization information, frame header information and data part.
其中,数据部分可按照业务数据的数据类型和数据量进行分类。作为一种示例,数据部分可划分为4个低速业务,1个中速业务和1个高速业务,其中,高速业务对应的数据量大于中速业务对应的数据量,中速业务对应的数据量大于低速业务对应的数据量。比如,低速业务为图片,中速业务为语音、高速业务为视频。帧结构中的帧头信息可包括的帧计数位(32bits)、优先级(3bits)、业务类型(1bits,指定业务或非指定业务)、低速业务指示信息(2bits),中速业务指示信息(1bits),高速业务指示信息(1bits);另外,业务类型可包括0和1,其中,1可表示指定业务(特殊业务)、0可表示非指定业务(普通业务),指定业务可为对延时要求较高的业务,非指定业务可为除指定业务之外的业务,指定业务的优先级高于非指定业务,低速业务指示信息可用于指示帧结构中的低速业务的个数,如,低速业务指示信息为00,指示帧结构中包含一个低速业务,低速业务指示信息为01,指示帧结构中包含两个低速业务,低速业务指示信息为10,可指示帧结构中包含三个低速业务,低速业务指示信息为11,可用于指示帧结构中包含四个低速业务。同理,中速业务指示信息用于指示帧结构中的中速业务的个数,高速业务信息用于指示帧结构中的高速业务的个数。The data part can be classified according to the data type and data volume of the service data. As an example, the data part can be divided into 4 low-speed services, 1 medium-speed service and 1 high-speed service, wherein the data volume corresponding to the high-speed service is greater than the data volume corresponding to the medium-speed service, and the data volume corresponding to the medium-speed service is greater than the data volume corresponding to the low-speed service. For example, the low-speed service is pictures, the medium-speed service is voice, and the high-speed service is video. The frame header information in the frame structure may include a frame count bit (32 bits), a priority (3 bits), a service type (1 bit, designated service or non-designated service), low-speed service indication information (2 bits), medium-speed service indication information (1 bit), and high-speed service indication information (1 bit); in addition, the service type may include 0 and 1, wherein 1 may represent a designated service (special service), and 0 may represent a non-designated service (ordinary service). The designated service may be a service with a high delay requirement, and the non-designated service may be a service other than the designated service. The priority of the designated service is higher than that of the non-designated service. The low-speed service indication information may be used to indicate the number of low-speed services in the frame structure, such as the low-speed service indication information is 00, indicating that the frame structure contains one low-speed service, the low-speed service indication information is 01, indicating that the frame structure contains two low-speed services, the low-speed service indication information is 10, indicating that the frame structure contains three low-speed services, and the low-speed service indication information is 11, which can be used to indicate that the frame structure contains four low-speed services. Similarly, the medium-speed service indication information is used to indicate the number of medium-speed services in the frame structure, and the high-speed service information is used to indicate the number of high-speed services in the frame structure.
作为一种示例,如图4所示,数据部分中的数据可由数据单元组成,比如低速业务可由1个数据单元组成,中速业务可由10至100个数据单元组成,高速业务可由1000至10000个数据单元组成,其中,每个数据单元可包括信息帧头、数据和无效信息(100bits);对于指定业务,每个数据单元中的信息帧头为8bits,其中,1bits指示有数据或者无数据,对于剩余7bits可不进行定义;对于非指定业务,每个数据单元中的信息帧头为8bits,其中,1bit指示有数据或者无数据、4bits指示对应的数据类型(如,0000表示语音、0001表示物联网数据、0010表示短报文等)、3bits指示优先级;其中,需要说明的是,每个数据单元中的无效信息可用于防护星间抖动。As an example, as shown in FIG4 , the data in the data part may be composed of data units, for example, a low-speed service may be composed of 1 data unit, a medium-speed service may be composed of 10 to 100 data units, and a high-speed service may be composed of 1000 to 10000 data units, wherein each data unit may include an information frame header, data, and invalid information (100 bits); for designated services, the information frame header in each data unit is 8 bits, wherein 1 bit indicates whether there is data or no data, and the remaining 7 bits may not be defined; for non-designated services, the information frame header in each data unit is 8 bits, wherein 1 bit indicates whether there is data or no data, 4 bits indicate the corresponding data type (such as 0000 for voice, 0001 for IoT data, 0010 for short message, etc.), and 3 bits indicate the priority; wherein it should be noted that the invalid information in each data unit can be used to protect against inter-satellite jitter.
步骤202,对第一数据帧进行判别,以确定第一数据帧所属的业务类型。Step 202: Identify the first data frame to determine the service type to which the first data frame belongs.
在本公开实施例中,可根据第一数据帧的帧头信息中用于指示业务类型的信息对第一数据帧进行业务类型判别,以得到第一数据帧所属的业务类型。其中,业务类型可包括指定业务和非指定业务。In the embodiment of the present disclosure, the service type of the first data frame can be determined according to the information indicating the service type in the frame header information of the first data frame to obtain the service type to which the first data frame belongs. The service type may include designated services and non-designated services.
比如,第一数据帧的帧头信息中用于指示业务类型的信息为0,第一数据帧所属的业务类型为非指定业务;第一数据帧的帧头信息中用于指示业务类型的信息为1,第一数据帧所属的业务类型为指定业务。For example, the information used to indicate the service type in the frame header information of the first data frame is 0, and the service type of the first data frame is non-specified service; the information used to indicate the service type in the frame header information of the first data frame is 1, and the service type of the first data frame is specified service.
步骤203,采用与第一数据帧的业务类型匹配的第一令牌桶对第一数据帧进行第一流量控制,以确定第一数据帧是否通过第一流量控制。Step 203: Perform a first flow control on the first data frame using a first token bucket that matches the service type of the first data frame to determine whether the first data frame passes the first flow control.
为了满足不同业务的需求,同时避免由于突发业务量过多而导致的网络拥塞,在本公开实施例中,可采用与转发数据的业务类型匹配的第一令牌桶对第一数据帧进行第一流量控制,以确定第一数据帧是否通过第一流量控制,其中,第一令牌桶可用于限制物理端口的数据输出流量。In order to meet the needs of different services and avoid network congestion caused by excessive burst business volume, in an embodiment of the present disclosure, a first token bucket matching the business type of the forwarded data can be used to perform a first flow control on the first data frame to determine whether the first data frame passes the first flow control, wherein the first token bucket can be used to limit the data output flow of the physical port.
步骤204,在第一数据帧通过第一流量控制时,采用与第一数据帧中的各业务数据匹配的第二令牌桶,对第一数据帧中的各业务数据进行第二流量控制。Step 204, when the first data frame passes through the first flow control, a second token bucket matching each service data in the first data frame is used to perform a second flow control on each service data in the first data frame.
为了实现精细化流量控制,可对第一数据帧中的各业务数据分别进行流量控制,在本公开实施例中,在第一数据帧通过第一流量控制时,采用与第一数据帧中的各业务数据匹配的第二令牌桶,对第一数据帧中的各业务数据进行第二流量控制。In order to achieve refined flow control, flow control can be performed separately for each business data in the first data frame. In the embodiment of the present disclosure, when the first data frame passes through the first flow control, a second token bucket matching the business data in the first data frame is used to perform second flow control on each business data in the first data frame.
需要说明的是,第二令牌桶可用于限制逻辑端口的输出流量,超出流量限制的业务数据可被丢弃。It should be noted that the second token bucket may be used to limit the output flow of the logical port, and service data exceeding the flow limit may be discarded.
综上,通过对接收到的数据包按照设定的帧结构进行解封装,以得到第一数据帧;对所述第一数据帧进行判别,以确定第一数据帧所属的业务类型;采用与第一数据帧的业务类型匹配的第一令牌桶对第一数据帧进行第一流量控制,以确定第一数据帧是否通过第一流量控制;在第一数据帧通过第一流量控制时,采用与第一数据帧中的各业务数据匹配的第二令牌桶,对第一数据帧中的各业务数据进行第二流量控制。由此,在转发数据时,可采用设定的帧结构对转发数据进行解封装,生成第一数据帧,并对第一数据帧进行判别确定转发数据的业务类型,采用与转发数据的业务类型匹配的流量控制策略,针对性且精细化地对转发数据进行流量控制,满足了不同业务的需求,并且可避免由于突发业务量过多而导致的网络拥塞,同时还可避免数据流量控制的均匀化,提高了数据传输质量,以更好地满足用户需求。In summary, the received data packet is decapsulated according to the set frame structure to obtain the first data frame; the first data frame is identified to determine the service type to which the first data frame belongs; the first token bucket matching the service type of the first data frame is used to perform the first flow control on the first data frame to determine whether the first data frame passes the first flow control; when the first data frame passes the first flow control, the second token bucket matching the service data in the first data frame is used to perform the second flow control on the service data in the first data frame. Therefore, when forwarding data, the forwarding data can be decapsulated using the set frame structure to generate the first data frame, and the first data frame can be identified to determine the service type of the forwarding data, and the flow control strategy matching the service type of the forwarding data is used to control the forwarding data in a targeted and refined manner, so as to meet the needs of different services, and avoid network congestion caused by excessive burst business volume, and at the same time, it can also avoid the uniformity of data flow control, improve the quality of data transmission, and better meet user needs.
为了清楚地说明上述实施例是如何采用与第一数据帧的业务类型匹配的第一令牌桶对第一数据帧进行第一流量控制,以确定第一数据帧是否通过第一流量控制的,本公开提出另一种流量控制方法。In order to clearly illustrate how the above embodiment uses a first token bucket matching the service type of the first data frame to perform a first flow control on the first data frame to determine whether the first data frame passes the first flow control, the present disclosure proposes another flow control method.
图5为本公开实施例所提供的另一种流量控制方法的流程示意图。FIG5 is a flow chart of another flow control method provided in an embodiment of the present disclosure.
如图5所示,该流量控制方法可包括如下步骤:As shown in FIG5 , the flow control method may include the following steps:
步骤501,对接收到的数据包按照设定的帧结构进行解封装,以得到第一数据帧。Step 501: decapsulate the received data packet according to the set frame structure to obtain a first data frame.
步骤502,对第一数据帧进行判别,以确定第一数据帧所属的业务类型。Step 502: Identify the first data frame to determine the service type to which the first data frame belongs.
步骤503,在第一数据帧所属的业务类型为指定业务时,根据第一子令牌桶内的第一实时令牌数,对第一数据帧进行第一流量控制,以确定第一数据帧是否通过第一流量控制。Step 503, when the service type to which the first data frame belongs is a designated service, first flow control is performed on the first data frame according to the number of first real-time tokens in the first sub-token bucket to determine whether the first data frame passes the first flow control.
其中,指定业务类型的优先级大于或等于设定的等级阈值。The priority of the specified service type is greater than or equal to a set level threshold.
在本公开实施例中,第一令牌桶可包括第一子令牌桶和第二子令牌桶,第一子令牌桶可用于指定业务的第一流量控制,第二子令牌桶可用于非指定业务的第一流量控制。In an embodiment of the present disclosure, the first token bucket may include a first sub-token bucket and a second sub-token bucket. The first sub-token bucket may be used for first flow control of designated services, and the second sub-token bucket may be used for first flow control of non-designated services.
作为一种示例,在第一数据帧所属的业务类型为指定业务时,将第一子令牌桶内的第一实时令牌数与第一数据帧所需的令牌数进行比对,在第一实时令牌数大于或等于第一数据帧所需的令牌数时,第一数据帧通过第一流量控制;在第一实时令牌数小于第一数据帧所需的令牌数时,第一数据帧未通过第一流量控制,即超出物理端口流量限制的第一数据帧被积压在队列管理的共享缓存中。As an example, when the service type to which the first data frame belongs is a designated service, the first real-time token number in the first sub-token bucket is compared with the number of tokens required for the first data frame. When the first real-time token number is greater than or equal to the number of tokens required for the first data frame, the first data frame passes the first flow control; when the first real-time token number is less than the number of tokens required for the first data frame, the first data frame fails to pass the first flow control, that is, the first data frame that exceeds the flow limit of the physical port is accumulated in the shared cache of the queue management.
步骤504,在第一数据帧所属的业务类型为非指定业务时,根据第二子令牌桶内的第二实时令牌数以第一数据帧的优先级,对第一数据帧进行第一流量控制,以确定第一数据帧是否通过第一流量控制。Step 504, when the service type to which the first data frame belongs is a non-designated service, perform first flow control on the first data frame according to the second real-time token number in the second sub-token bucket and the priority of the first data frame to determine whether the first data frame passes the first flow control.
其中,非指定业务的优先级小于等级阈值。Among them, the priority of the non-designated service is less than the level threshold.
为了避免流量控制时突发业务的均匀化,实现流量拥塞时高优先级对带宽资源的绝对占用,作为一种示例,在第一数据帧所属的业务类型为非指定业务时,可根据第二子令牌桶内的第二实时令牌数结合第一数据帧的优先级,对第一数据帧进行第一流量控制,以确定第一数据帧是否通过第一流量控制。In order to avoid the uniformity of burst services during flow control and realize the absolute occupation of bandwidth resources by high priority during traffic congestion, as an example, when the service type to which the first data frame belongs is a non-specified service, the first flow control can be performed on the first data frame according to the second real-time token number in the second sub-token bucket combined with the priority of the first data frame to determine whether the first data frame passes the first flow control.
作为一种示例,确定第二子令牌桶内的第二实时令牌与第二子令牌桶内的设定总牌数的第一占比;在第一占比大于或等于(n-i)/n的情况下,确定第一数据帧的优先级是否大于i;在第一数据帧的优先级大于的情况下,确定第一数据帧通过第一流量控制;在第一数据帧的优先级小于或等于i的情况下,确定第一数据帧未通过第一流量控制;其中,n为设定的优先级个数,i=0,1,2,…,(n-1)。As an example, determine a first ratio of the second real-time token in the second sub-token bucket to the set total number of cards in the second sub-token bucket; when the first ratio is greater than or equal to (n-i)/n, determine whether the priority of the first data frame is greater than i; when the priority of the first data frame is greater than, determine that the first data frame passes the first flow control; when the priority of the first data frame is less than or equal to i, determine that the first data frame does not pass the first flow control; wherein n is the set number of priorities, i=0,1,2,…,(n-1).
比如,如图6所示,第一数据帧设定8个优先级,在第二实时令牌数大于第二子令牌桶内的设定总令牌数的7/8时,允许所有优先级的第一数据帧消耗令牌并发送;当在第二实时令牌数小于第二子令牌桶内的设定总令牌数的7/8,且第二实时令牌数大于第二子令牌桶内的设定总令牌数的6/8时,最低优先级的第一数据帧禁止发送;以此类推,当第二实时令牌数大于第二子令牌桶内的设定总令牌数的1/8时,只允许最高优先级的第一数据帧消耗令牌并发送。禁止发送的数据包被存储在片内缓存中,若缓存容量不足则丢弃。For example, as shown in Figure 6, the first data frame sets 8 priorities. When the second real-time token number is greater than 7/8 of the total token number set in the second sub-token bucket, the first data frames of all priorities are allowed to consume tokens and send; when the second real-time token number is less than 7/8 of the total token number set in the second sub-token bucket, and the second real-time token number is greater than 6/8 of the total token number set in the second sub-token bucket, the first data frame with the lowest priority is prohibited from sending; and so on, when the second real-time token number is greater than 1/8 of the total token number set in the second sub-token bucket, only the first data frame with the highest priority is allowed to consume tokens and send. The data packets that are prohibited from sending are stored in the on-chip cache and discarded if the cache capacity is insufficient.
步骤505,在第一数据帧通过第一流量控制时,采用与第一数据帧中的各业务数据匹配的第二令牌桶,对第一数据帧中的各业务数据进行第二流量控制。Step 505 , when the first data frame passes through the first flow control, a second token bucket matching each service data in the first data frame is used to perform a second flow control on each service data in the first data frame.
需要说明的是,步骤501至502,步骤505的执行过程可以分别采用本公开的各实施例中的任一种方式实现,本公开实施例并不对此作出限定,也不再赘述。It should be noted that the execution process of steps 501 to 502 and step 505 can be implemented in any manner in the embodiments of the present disclosure, and the embodiments of the present disclosure do not limit this and will not be described in detail.
综上,通过在第一数据帧所属的业务类型为指定业务时,根据第一子令牌桶内的第一实时令牌数,对第一数据帧进行第一流量控制,以确定第一数据帧是否通过第一流量控制;在第一数据帧所属的业务类型为非指定业务时,根据第二子令牌桶内的第二实时令牌数以第一数据帧的优先级,对第一数据帧进行第一流量控制,以确定第一数据帧是否通过第一流量控制,由此,采用与第一数据帧所属的业务类型匹配的流量控制策略对第一数据帧进行第一流量控制,可满足不同的业务需求,并且还可避免由于突发业务量过多而导致的网络拥塞。In summary, when the service type to which the first data frame belongs is a designated service, the first flow control is performed on the first data frame according to the first real-time token number in the first sub-token bucket to determine whether the first data frame passes the first flow control; when the service type to which the first data frame belongs is a non-designated service, the first flow control is performed on the first data frame according to the second real-time token number in the second sub-token bucket and the priority of the first data frame to determine whether the first data frame passes the first flow control. Therefore, the first flow control is performed on the first data frame using a flow control strategy that matches the service type to which the first data frame belongs, which can meet different business needs and also avoid network congestion caused by excessive burst business volume.
为了清楚地说明上述实施例是如何在第一数据帧通过第一流量控制时,采用与第一数据帧中的各业务数据匹配的第二令牌桶,对第一数据帧中的各业务数据进行第二流量控制的,本公开提出另一种流量控制方法。In order to clearly illustrate how the above embodiment uses a second token bucket matching each business data in the first data frame to perform second flow control on each business data in the first data frame when the first data frame passes the first flow control, the present disclosure proposes another flow control method.
图7为本公开实施例所提供的另一种流量控制方法的流程示意图。FIG. 7 is a flow chart of another flow control method provided in an embodiment of the present disclosure.
如图7所示,该流量控制方法可包括如下步骤:As shown in FIG. 7 , the flow control method may include the following steps:
步骤701,对接收到的数据包按照设定的帧结构进行解封装,以得到第一数据帧。Step 701, decapsulate the received data packet according to the set frame structure to obtain a first data frame.
步骤702,对第一数据帧进行判别,以确定第一数据帧所属的业务类型。Step 702: Identify the first data frame to determine the service type to which the first data frame belongs.
步骤703,采用与第一数据帧的业务类型匹配的第一令牌桶对第一数据帧进行第一流量控制,以确定第一数据帧是否通过第一流量控制。Step 703: Perform a first flow control on the first data frame using a first token bucket that matches the service type of the first data frame to determine whether the first data frame passes the first flow control.
步骤704,在第一数据帧所属的业务类型为指定业务,且第一数据帧通过第一流量控制的情况下,根据与第一数据帧中的各业务数据匹配的第三子令牌桶内的第三实时令牌数,对第一数据帧中的各业务数据进行第二流量控制。Step 704, when the service type to which the first data frame belongs is a designated service and the first data frame passes the first flow control, a second flow control is performed on each service data in the first data frame according to the number of third real-time tokens in a third sub-token bucket that matches each service data in the first data frame.
在本公开实施例中,第二令牌桶可包括第三子令牌桶和第四子令牌桶,第三子令牌桶可用于指定业务的第二流量控制,第四子令牌桶可用于非指定业务的第二流量控制。In an embodiment of the present disclosure, the second token bucket may include a third sub-token bucket and a fourth sub-token bucket, the third sub-token bucket may be used for second flow control of designated services, and the fourth sub-token bucket may be used for second flow control of non-designated services.
为了实现精细化流量控制,可对第一数据帧中的各业务数据分别进行第二流量控制。In order to achieve refined flow control, the second flow control may be performed on each service data in the first data frame.
作为一种示例,在第一数据帧通过第一流量控制的情况下,可根据设定的帧结构,从第一数据帧中,读取各业务数据,针对任一业务数据,获取任一业务数据的标识信息;在任一业务数据的标识信息指示任一业务数据有效时,根据任一业务数据的数据量,确定与数据量匹配的第三子令牌桶。As an example, when the first data frame passes the first flow control, each business data can be read from the first data frame according to the set frame structure, and for any business data, identification information of any business data can be obtained; when the identification information of any business data indicates that any business data is valid, a third sub-token bucket matching the data volume is determined according to the data volume of any business data.
也就是说,在第一数据帧通过第一流量控制的情况下,基于设定的帧结构,从第一数据帧中,读取各个业务数据,由于各个业务数据可为无效数据,在读取各个业务数据后,可根据每个业务数据中的标识信息(如,信息帧头)确定业务数据是否有效,在根据标识信息确定业务数据有效时,可根据业务数据的数据量,确定业务数据对应的类型(如,低速、中速或高速),并根据业务数据对应的类型选择与该类型匹配的第三子令牌桶,比如,业务数据的数据量对应的类型为低速业务,则选择低速率的第三子令牌桶;又比如,业务数据的数据量对应的类型为中速业务,则选择中速率的第三子令牌桶;再比如,业务数据的数据量对应的类型为高速业务,则选择高速率的第三子令牌桶,其中,需要说明的是,低速率的第三子令牌桶内的令牌总数小于中速率的第三子令牌桶内的令牌总数,中速率的第三子令牌桶内的令牌总数小于高速率的第三子令牌桶内的令牌总数。That is to say, when the first data frame passes through the first flow control, based on the set frame structure, each business data is read from the first data frame. Since each business data may be invalid data, after reading each business data, it is possible to determine whether the business data is valid based on the identification information (e.g., the information frame header) in each business data. When the business data is determined to be valid based on the identification information, the type corresponding to the business data (e.g., low speed, medium speed, or high speed) can be determined based on the data volume of the business data, and a third sub-token bucket matching the type is selected based on the type corresponding to the business data. For example, if the type corresponding to the data volume of the business data is low-speed business, a low-speed third sub-token bucket is selected; for another example, if the type corresponding to the data volume of the business data is medium-speed business, a medium-speed third sub-token bucket is selected; for another example, if the type corresponding to the data volume of the business data is high-speed business, a high-speed third sub-token bucket is selected. It should be noted that the total number of tokens in the low-speed third sub-token bucket is less than the total number of tokens in the medium-speed third sub-token bucket, and the total number of tokens in the medium-speed third sub-token bucket is less than the total number of tokens in the high-speed third sub-token bucket.
进而,将第三子令牌桶内的第三实时令牌数与对应业务数据所需的令牌数进行比对,在第三子令牌桶内的第三实时令牌数大于对应业务数据所需的令牌数时,对应的业务数据通过第二流量控制。Furthermore, the number of third real-time tokens in the third sub-token bucket is compared with the number of tokens required for the corresponding business data. When the number of third real-time tokens in the third sub-token bucket is greater than the number of tokens required for the corresponding business data, the corresponding business data passes through the second flow control.
需要说明的是,第三子令牌桶可用于限制逻辑端口的输出流量,超出流量限制的业务数据可被丢弃。It should be noted that the third sub-token bucket can be used to limit the output flow of the logical port, and the service data exceeding the flow limit can be discarded.
步骤705,在第一数据帧所属的业务类型为非指定业务,且第一数据帧通过第一流量控制的情况下,根据与第一数据帧中的各业务数据匹配的第四子令牌桶内的第四实时令牌数以及各业务数据的优先级,对第一数据帧中的各业务数据进行第二流量控制。Step 705, when the service type to which the first data frame belongs is non-designated service and the first data frame passes the first flow control, the second flow control is performed on each service data in the first data frame according to the number of fourth real-time tokens in the fourth sub-token bucket that matches each service data in the first data frame and the priority of each service data.
为了实现精细化流量控制,以提高非指定业务的服务质量,在本公开实施例中,在数据包通过第一流量控制的情况下,可对第一数据帧中的各业务数据分别进行第二流量控制。In order to achieve refined flow control and improve the service quality of non-designated services, in the embodiment of the present disclosure, when the data packet passes the first flow control, the second flow control can be performed on each service data in the first data frame.
作为一种示例,在第一数据帧通过第一流量控制的情况下,可根据设定的帧结构,从第一数据帧中,读取各业务数据,针对任一业务数据,获取任一所述业务数据的标识信息;在任一业务数据的标识信息指示任一业务数据有效时,根据任一业务数据的数据量,确定与数据量匹配的第四子令牌桶。As an example, when the first data frame passes the first flow control, each business data can be read from the first data frame according to the set frame structure, and for any business data, the identification information of any business data can be obtained; when the identification information of any business data indicates that any business data is valid, the fourth sub-token bucket matching the data volume is determined according to the data volume of any business data.
也就是说,在第一数据帧通过第一流量控制的情况下,基于设定的帧结构,从第一数据帧中,读取各个业务数据,由于各个业务数据可为无效数据,在读取各个业务数据后,可根据每个业务数据中的标识信息(如,信息帧头)确定业务数据是否有效,在根据标识信息确定业务数据有效时,可根据业务数据的数据量,确定业务数据对应的类型(如,低速、中速或高速),并根据业务数据对应的类型选择与该类型匹配的第四子令牌桶,比如,业务数据的数据量对应的类型为低速业务,则选择低速率的第四子令牌桶;又比如,业务数据的数据量对应的类型为中速业务,则选择中速率的第四令牌桶;再比如,业务数据的数据量对应的类型为高速业务,则选择高速率的第四子令牌桶,其中,需要说明的是,低速率的第四子令牌桶内的令牌总数小于中速率的第四子令牌桶内的令牌总数,中速率的第四子令牌桶内的令牌总数小于高速率的第四子令牌桶内的令牌总数。That is to say, when the first data frame passes through the first flow control, based on the set frame structure, each business data is read from the first data frame. Since each business data may be invalid data, after reading each business data, it is possible to determine whether the business data is valid based on the identification information (e.g., the information frame header) in each business data. When the business data is determined to be valid based on the identification information, the type corresponding to the business data (e.g., low speed, medium speed, or high speed) can be determined based on the data volume of the business data, and a fourth sub-token bucket matching the type is selected based on the type corresponding to the business data. For example, if the type corresponding to the data volume of the business data is low-speed business, the fourth sub-token bucket with a low rate is selected; for another example, if the type corresponding to the data volume of the business data is medium-speed business, the fourth token bucket with a medium rate is selected; for another example, if the type corresponding to the data volume of the business data is high-speed business, the fourth sub-token bucket with a high rate is selected. It should be noted that the total number of tokens in the fourth sub-token bucket with a low rate is less than the total number of tokens in the fourth sub-token bucket with a medium rate, and the total number of tokens in the fourth sub-token bucket with a medium rate is less than the total number of tokens in the fourth sub-token bucket with a high rate.
为了避免流量控制时突发业务的均匀化,实现流量拥塞时高优先级对带宽资源的绝对占用,作为一种示例,在第一数据帧通过第一流量控制的情况下,可根据与第一数据帧中的各业务数据匹配的第四子令牌桶内的第四实时令牌数以及各业务数据的优先级,对第一数据帧中的各业务数据进行第二流量控制。In order to avoid the uniformity of burst services during flow control and achieve absolute occupation of bandwidth resources by high priority during traffic congestion, as an example, when the first data frame passes the first flow control, the second flow control can be performed on each business data in the first data frame based on the number of fourth real-time tokens in the fourth sub-token bucket matching each business data in the first data frame and the priority of each business data.
作为一种示例,针对第一数据帧中的任一业务数据,确定与任一业务数据匹配的第四子令牌桶内的第四实时令牌数与第四子令牌桶内的设定总令牌数的第二占比;在第二占比大于或等于(n-i)/n的情况下,确定任一业务数据的优先级是否大于i;在任一业务数据的优先级大于i的情况下,确定任一业务数据通过对应的第二流量控制;在任一业务数据的优先级小于或等于i的情况下,确定任一业务数据未通过对应的第二流量控制;其中,n为设定的优先级个数,i=0,1,2,…,(n-1)。As an example, for any business data in the first data frame, determine the second ratio of the fourth real-time token number in the fourth sub-token bucket matching any business data to the set total token number in the fourth sub-token bucket; when the second ratio is greater than or equal to (n-i)/n, determine whether the priority of any business data is greater than i; when the priority of any business data is greater than i, determine that any business data passes the corresponding second flow control; when the priority of any business data is less than or equal to i, determine that any business data does not pass the corresponding second flow control; wherein n is the set number of priorities, i=0,1,2,…,(n-1).
比如,第一数据帧中的任一业务数据设定8个优先级,在第四实时令牌数大于第四子令牌桶内的设定总令牌数的7/8时,允许与第四实时令牌数对应的所有优先级的业务数据消耗令牌并发送;当在第四实时令牌数小于第四子令牌桶内的设定总令牌数的7/8,且第四实时令牌数大于第四子令牌桶内的设定总令牌数的6/8时,与第四实时令牌数对应的最低优先级的业务数据禁止发送;以此类推,当第四实时令牌数大于第四子令牌桶内的设定总令牌数的1/8时,只允许与第四实时令牌数对应的最高优先级的业务数据消耗令牌并发送。禁止发送的业务数据被存储在片内缓存中,若缓存容量不足则丢弃。For example, if any service data in the first data frame is set with 8 priorities, when the fourth real-time token number is greater than 7/8 of the total token number set in the fourth sub-token bucket, service data of all priorities corresponding to the fourth real-time token number are allowed to consume tokens and be sent; when the fourth real-time token number is less than 7/8 of the total token number set in the fourth sub-token bucket, and the fourth real-time token number is greater than 6/8 of the total token number set in the fourth sub-token bucket, the service data with the lowest priority corresponding to the fourth real-time token number is prohibited from being sent; and so on, when the fourth real-time token number is greater than 1/8 of the total token number set in the fourth sub-token bucket, only the service data with the highest priority corresponding to the fourth real-time token number is allowed to consume tokens and be sent. The service data prohibited from being sent is stored in the on-chip cache and discarded if the cache capacity is insufficient.
需要说明的是,步骤701至703的执行过程可以分别采用本公开的各实施例中的任一种方式实现,本公开实施例并不对此作出限定,也不再赘述。It should be noted that the execution process of steps 701 to 703 can be implemented in any way in the embodiments of the present disclosure, and the embodiments of the present disclosure do not limit this and will not be described in detail.
综上,通过在第一数据帧所属的业务类型为指定业务,且第一数据帧通过第一流量控制的情况下,根据与第一数据帧中的各业务数据匹配的第三子令牌桶内的第三实时令牌数,对第一数据帧中的各业务数据进行第二流量控制;在第一数据帧所属的业务类型为非指定业务,且第一数据帧通过第一流量控制的情况下,根据与第一数据帧中的各业务数据匹配的第四子令牌桶内的第四实时令牌数以及各业务数据的优先级,对第一数据帧中的各业务数据进行第二流量控制,由此,对第一数据帧进行第二流量控制时,采用与各业务数据匹配的第三子令牌桶或第四子令牌桶对各业务数据进行第二流量控制,实现了第一数据帧的精细化流量控制,同时,在第一数据帧所属的业务类型为非指定业务时,根据与第一数据帧中的各业务数据匹配的第四子令牌桶内的第四实时令牌数以及各业务数据的优先级,对第一数据帧中的各业务数据进行第二流量控制,可避免流量控制时突发业务的均匀化,实现流量拥塞时高优先级对带宽资源的绝对占用。In summary, when the service type to which the first data frame belongs is a designated service and the first data frame passes the first flow control, the second flow control is performed on each service data in the first data frame according to the third real-time token number in the third sub-token bucket that matches each service data in the first data frame; when the service type to which the first data frame belongs is a non-designated service and the first data frame passes the first flow control, the second flow control is performed on each service data in the first data frame according to the fourth real-time token number in the fourth sub-token bucket that matches each service data in the first data frame and the priority of each service data. Therefore, when the second flow control is performed on the first data frame, the third sub-token bucket or the fourth sub-token bucket that matches each service data is used to perform the second flow control on each service data, thereby realizing the refined flow control of the first data frame. At the same time, when the service type to which the first data frame belongs is a non-designated service, the second flow control is performed on each service data in the first data frame according to the fourth real-time token number in the fourth sub-token bucket that matches each service data in the first data frame and the priority of each service data, thereby avoiding the uniformity of burst services during flow control and realizing the absolute occupation of bandwidth resources by high priority during traffic congestion.
为了实现指定业务的时延的精准控制,在第一数据帧通过第一流量控制的情况下,根据与第一数据帧中的各业务数据匹配的第三子令牌桶内的第三实时令牌数,对第一数据帧中的各业务数据进行第二流量控制之后,可基于设定的帧结构,对通过第二流量控制的第一目标业务数据进行封装,并对封装之后的数据帧进行调度。下面结合图8对上述过程进行详细说明。In order to achieve accurate control of the delay of the designated service, when the first data frame passes the first flow control, according to the third real-time token number in the third sub-token bucket matching the service data in the first data frame, after the second flow control is performed on each service data in the first data frame, the first target service data passing the second flow control can be encapsulated based on the set frame structure, and the encapsulated data frame can be scheduled. The above process is described in detail below in conjunction with FIG8.
图8为本公开实施例所提供的另一种流量控制方法的流程示意图。FIG8 is a flow chart of another flow control method provided in an embodiment of the present disclosure.
如图8所示,该流量控制方法可包括如下步骤:As shown in FIG8 , the flow control method may include the following steps:
步骤801,对接收到的数据包按照设定的帧结构进行解封装,以得到第一数据帧。Step 801, decapsulate the received data packet according to the set frame structure to obtain a first data frame.
步骤802,对第一数据帧进行判别,以确定第一数据帧所属的业务类型。Step 802: Identify the first data frame to determine the service type to which the first data frame belongs.
步骤803,在第一数据帧所属的业务类型为指定业务时,根据第一子令牌桶内的第一实时令牌数,对第一数据帧进行第一流量控制,以确定第一数据帧是否通过第一流量控制。Step 803, when the service type to which the first data frame belongs is a designated service, first flow control is performed on the first data frame according to the number of first real-time tokens in the first sub-token bucket to determine whether the first data frame passes the first flow control.
其中,指定业务类型的优先级大于或等于设定的等级阈值。The priority of the specified service type is greater than or equal to a set level threshold.
步骤804,在第一数据帧通过第一流量控制的情况下,根据与第一数据帧中的各业务数据匹配的第三子令牌桶内的第三实时令牌数,对第一数据帧中的各业务数据进行第二流量控制。Step 804, when the first data frame passes the first flow control, second flow control is performed on each service data in the first data frame according to the number of third real-time tokens in the third sub-token bucket matching each service data in the first data frame.
步骤805,从第一数据帧的各业务数据中,确定通过第二流量控制的第一目标业务数据。Step 805: Determine first target service data that passes the second flow control from each service data of the first data frame.
由于在第一数据帧所属的业务类型为指定业务类型,且在第一数据帧通过第一流量控制的情况下,是根据与第一数据帧中的各业务数据匹配的第三子令牌桶内的第三实时令牌数,对第一数据帧中的各业务数据进行第二流量控制的。因此,为了实现指定业务的时延的精准控制,在本公开实施例中,可将通过第二流量的业务数据封装为第二数据帧,并对第二数据帧进行调度。作为一种示例,从第一数据帧的各业务数据中,获取通过第二流量控制的业务数据,并将通过第二流量控制的业务数据作为第一目标业务数据。其中,第一目标业务数据可包括:低速业务、中速业务以及高速业务中的至少一种。Since the service type to which the first data frame belongs is a designated service type, and when the first data frame passes the first flow control, the second flow control is performed on each service data in the first data frame according to the number of third real-time tokens in the third sub-token bucket that matches each service data in the first data frame. Therefore, in order to achieve precise control of the delay of the designated service, in the embodiment of the present disclosure, the service data passing the second flow can be encapsulated into a second data frame, and the second data frame can be scheduled. As an example, the service data passing the second flow control is obtained from each service data of the first data frame, and the service data passing the second flow control is used as the first target service data. Among them, the first target service data may include: at least one of low-speed service, medium-speed service and high-speed service.
步骤806,基于帧结构,对第一目标业务数据进行封装,以得到第二数据帧。Step 806: encapsulate the first target service data based on the frame structure to obtain a second data frame.
进一步地,按照设定的帧结构,对第一目标业务数据进行封装,得到第二数据帧,其中,需要说明的是,由于第一目标业务数据可包括:低速业务、中速业务以及高速业务中的至少一种,帧结构中的业务数据可包括4低速业务、1个中速业务和1个高速业务,对于第一目标业务数据中未包含的帧结构中的业务数据,可采用无效信息进行填充。比如,第一目标业务数据中仅包含中速业务和高速业务,对第一目标业务进行封装时,帧结构中的4个低速业务可采用无效信息进行填充。Further, according to the set frame structure, the first target service data is encapsulated to obtain a second data frame, wherein it should be noted that since the first target service data may include at least one of low-speed service, medium-speed service and high-speed service, the service data in the frame structure may include 4 low-speed services, 1 medium-speed service and 1 high-speed service, and the service data in the frame structure that is not included in the first target service data may be filled with invalid information. For example, the first target service data only includes medium-speed service and high-speed service, and when the first target service is encapsulated, the 4 low-speed services in the frame structure may be filled with invalid information.
步骤807,采用设定的第一门控策略,周期性地对第二数据帧进行调度。Step 807: Use the set first gating strategy to periodically schedule the second data frame.
为了实现时延的精准控制,对于指定业务,可将第一门控周期性地打开,以对第二数据帧进行调度。In order to achieve accurate control of the delay, for a designated service, the first gating may be periodically opened to schedule the second data frame.
需要说明的是,步骤801至804的执行过程可以分别采用本公开的各实施例中的任一种方式实现,本公开实施例并不对此作出限定,也不再赘述。It should be noted that the execution process of steps 801 to 804 can be implemented in any way in the embodiments of the present disclosure, and the embodiments of the present disclosure do not limit this and will not be described in detail.
综上,通过从第一数据帧的各业务数据中,确定通过第二流量控制的第一目标业务数据;基于帧结构,对第一目标业务数据进行封装,以得到第二数据帧;采用设定的第一门控策略,周期性地对第二数据帧进行调度,由此,可实现指定业务的时延的精准控制,提高了指定业务的服务质量。In summary, by determining the first target business data through the second flow control from the business data of the first data frame; encapsulating the first target business data based on the frame structure to obtain the second data frame; and adopting the set first gating strategy to periodically schedule the second data frame, the delay of the specified business can be accurately controlled, thereby improving the service quality of the specified business.
为了提高非指定业务的服务质量,在本公开实施例中,在第一数据帧通过第一流量控制的情况下,根据与第一数据帧中的各业务数据匹配的第四子令牌桶内的第四实时令牌数以及各业务数据的优先级,对第一数据帧中的各业务数据进行第二流量控制之后,可采用第二门控策略,对通过第二流量控制的业务数据进行调度。下面结合图9对上述过程进行详细说明。In order to improve the service quality of non-designated services, in the embodiment of the present disclosure, when the first data frame passes the first flow control, according to the fourth real-time token number in the fourth sub-token bucket matching the service data in the first data frame and the priority of each service data, after the second flow control is performed on each service data in the first data frame, the second gating strategy can be adopted to schedule the service data passing the second flow control. The above process is described in detail below in conjunction with FIG. 9.
图9为本公开实施例所提供的另一种流量控制方法的流程示意图。FIG9 is a flow chart of another flow control method provided in an embodiment of the present disclosure.
如图9所示,该流量控制方法可包括如下步骤:As shown in FIG9 , the flow control method may include the following steps:
步骤901,对接收到的数据包按照设定的帧结构进行解封装,以得到第一数据帧。Step 901: decapsulate the received data packet according to the set frame structure to obtain a first data frame.
步骤902,对第一数据帧进行判别,以确定第一数据帧所属的业务类型。Step 902: Identify the first data frame to determine the service type to which the first data frame belongs.
步骤903,在第一数据帧所属的业务类型为非指定业务时,根据第二子令牌桶内的第二实时令牌数以及第一数据帧的优先级,对第一数据帧进行第一流量控制,以确定第一数据帧是否通过第一流量控制。Step 903, when the service type to which the first data frame belongs is a non-designated service, the first data frame is subjected to a first flow control according to the number of second real-time tokens in the second sub-token bucket and the priority of the first data frame to determine whether the first data frame passes the first flow control.
其中,非指定业务的优先级小于等级阈值。Among them, the priority of the non-designated service is less than the level threshold.
步骤904,在第一数据帧通过第一流量控制的情况下,根据与第一数据帧中的各业务数据匹配的第四子令牌桶内的第四实时令牌数以及各业务数据的优先级,对第一数据帧中的各业务数据进行第二流量控制。Step 904, when the first data frame passes the first flow control, the second flow control is performed on each business data in the first data frame according to the number of fourth real-time tokens in the fourth sub-token bucket matching each business data in the first data frame and the priority of each business data.
步骤905,从第一数据帧的各业务数据中,确定通过第二流量控制的第二目标业务数据。Step 905: Determine second target service data that passes the second flow control from each service data of the first data frame.
由于在第一数据帧所属的业务类型为非指定业务类型,且在第一数据帧通过第一流量控制的情况下,是根据与第一数据帧中的各业务数据匹配的第四子令牌桶内的第四实时令牌数以及各业务数据的优先级,对第一数据帧中的各业务数据进行第二流量控制的。因此,为了实现指定各业务数据的精确同步,可将通过第二流量控制的业务数据封装为数据帧,并对封装的数据帧进行调度。在本公开实施例中,可从第一数据帧的各业务数据中,获取通过第二流量控制的第二目标业务数据,并经通过第二流量控制的业务数据作为第二目标业务数据。Since the service type to which the first data frame belongs is a non-specified service type, and when the first data frame passes the first flow control, the second flow control is performed on each service data in the first data frame according to the fourth real-time token number in the fourth sub-token bucket that matches each service data in the first data frame and the priority of each service data. Therefore, in order to achieve accurate synchronization of each designated service data, the service data that passes the second flow control can be encapsulated into a data frame, and the encapsulated data frame can be scheduled. In the embodiment of the present disclosure, the second target service data that passes the second flow control can be obtained from each service data of the first data frame, and the service data that passes the second flow control can be used as the second target service data.
步骤906,基于设定的帧结构,对第二目标业务数据进行封装,以得到第三数据帧。Step 906: encapsulate the second target service data based on the set frame structure to obtain a third data frame.
进一步地,按照设定的帧结构,对第二目标业务数据进行封装,可得到第二数据帧。Furthermore, the second target service data is encapsulated according to the set frame structure to obtain a second data frame.
步骤907,采用设定的第二门控策略,对第三数据帧进行调度。Step 907: use the set second gating strategy to schedule the third data frame.
为了提高非指定业务的服务质量,在本公开实施例中,可将第一门控周期性地打开,以对第三数据帧进行调度。In order to improve the service quality of non-designated services, in the embodiment of the present disclosure, the first gating may be periodically opened to schedule the third data frame.
需要说明的是,步骤901至904的执行过程可以分别采用本公开的各实施例中的任一种方式实现,本公开实施例并不对此作出限定,也不再赘述。It should be noted that the execution process of steps 901 to 904 can be implemented in any way in the embodiments of the present disclosure, and the embodiments of the present disclosure do not limit this and will not be described in detail.
综上,通过从第一数据帧的各业务数据中,确定通过第二流量控制的第二目标业务数据;基于设定的帧结构,对第二目标业务数据进行封装,以得到第三数据帧;采用设定的第二门控策略,对第三数据帧进行调度,由此,可实现非指定业务中各业务数据的精确同步,提高了非指定业务的服务质量。In summary, by determining the second target business data through the second flow control from the business data of the first data frame; encapsulating the second target business data based on the set frame structure to obtain the third data frame; and adopting the set second gating strategy to schedule the third data frame, thereby achieving accurate synchronization of each business data in the non-designated business, and improving the service quality of the non-designated business.
为了清楚地说明上述实施例中是如何对接收到的数据包按照设定的帧结构进行解封装,以得到第一数据帧的,本公开提出另一种流量控制方法的流程示意图。In order to clearly illustrate how to decapsulate the received data packet according to the set frame structure in the above embodiment to obtain the first data frame, the present disclosure proposes a flow chart of another flow control method.
图10为本公开实施例所提供的另一种流量控制方法的流程示意图。FIG. 10 is a flow chart of another flow control method provided in an embodiment of the present disclosure.
如图10所示,该流量控制方法可包括如下步骤:As shown in FIG10 , the flow control method may include the following steps:
步骤1001,确定数据包中各业务数据的数据类型。Step 1001, determining the data type of each service data in the data packet.
在本公开实施例中,可对数据中的业务数据进行识别,以确定数据包中各业务数据的数据类型。其中,需要说明的是,数据包中可包括至少一种数据类型的业务数据,比如,业务数据可为语音、短报文、导航数据或视频等。In the embodiment of the present disclosure, the business data in the data can be identified to determine the data type of each business data in the data packet. It should be noted that the data packet may include business data of at least one data type, for example, the business data may be voice, short message, navigation data or video.
步骤1002,根据各业务数据对应的数据类型以及数据量,确定各业务数据在帧结构中的位置信息。Step 1002: Determine the location information of each service data in the frame structure according to the data type and data volume corresponding to each service data.
作为一种示例,设定的帧结构中可包括同步信息、帧头信息和数据部分,其中,数据部分可按照业务数据的数据类型和数据量进行分类。作为一种示例,数据部分可划分为4个低速业务,1个中速业务和1个高速业务,其中,高速业务对应的数据量大于中速业务对应的数据量,中速业务对应的数据量大于低速业务对应的数据量。比如,低速业务为图片,中速业务为语音、高速业务为视频。进而,根据各业务数据对应的数据类型以及数据量,可确定各业务数据在帧结构中的位置信息。比如,图片对应帧结构中的低速业务、语音对应帧结构中的中速业务、视频对应帧结构中的高速业务。As an example, the set frame structure may include synchronization information, frame header information and data part, wherein the data part may be classified according to the data type and data volume of the service data. As an example, the data part may be divided into 4 low-speed services, 1 medium-speed service and 1 high-speed service, wherein the data volume corresponding to the high-speed service is greater than the data volume corresponding to the medium-speed service, and the data volume corresponding to the medium-speed service is greater than the data volume corresponding to the low-speed service. For example, the low-speed service is pictures, the medium-speed service is voice, and the high-speed service is video. Furthermore, according to the data type and data volume corresponding to each service data, the position information of each service data in the frame structure may be determined. For example, pictures correspond to low-speed services in the frame structure, voice corresponds to medium-speed services in the frame structure, and video corresponds to high-speed services in the frame structure.
步骤1003,根据各业务数据在帧结构中的位置信息,对各业务数据进行解封装,以得到第一数据帧。Step 1003: decapsulate each service data according to the position information of each service data in the frame structure to obtain a first data frame.
进而,可将各业务数据按照在帧结构中的位置信息进行解封装,从而可得到第一数据帧。需要说明的是,在数据包的各业务数据中未存在帧结构中数据部分的业务数据时,可采用无效信息进行填充,以避免星间抖动。比如,数据包中包括中速业务和高速业务,对各业务数据进行解封装时,帧结构中数据部分的4个低速业务可采用无效信息进行填充。Then, each service data can be decapsulated according to the position information in the frame structure, so as to obtain the first data frame. It should be noted that when the service data in the data part of the frame structure does not exist in the service data of the data packet, invalid information can be used to fill it to avoid inter-satellite jitter. For example, the data packet includes medium-speed services and high-speed services. When decapsulating each service data, the four low-speed services in the data part of the frame structure can be filled with invalid information.
步骤1004,对第一数据帧进行判别,以确定第一数据帧所属的业务类型。Step 1004: Identify the first data frame to determine the service type to which the first data frame belongs.
步骤1005,采用与第一数据帧的业务类型匹配的第一令牌桶对第一数据帧进行第一流量控制,以确定第一数据帧是否通过第一流量控制。Step 1005: Perform a first flow control on the first data frame using a first token bucket that matches the service type of the first data frame to determine whether the first data frame passes the first flow control.
步骤1006,在第一数据帧通过第一流量控制时,采用与第一数据帧中的各业务数据匹配的第二令牌桶,对第一数据帧中的各业务数据进行第二流量控制。Step 1006: When the first data frame passes through the first flow control, a second token bucket matching each service data in the first data frame is used to perform a second flow control on each service data in the first data frame.
需要说明的是,步骤1004至1006的执行过程可以分别采用本公开的各实施例中的任一种方式实现,本公开实施例并不对此作出限定,也不再赘述。It should be noted that the execution process of steps 1004 to 1006 can be implemented in any way in the embodiments of the present disclosure, and the embodiments of the present disclosure do not limit this and will not be described in detail.
综上,通过确定数据包中各业务数据的数据类型;根据各业务数据对应的数据类型以及数据量,确定各业务数据在帧结构中的位置信息;根据各业务数据在帧结构中的位置信息,对各业务数据进行解封装,以得到第一数据帧,由此,可有效地实现按照设定的帧结构,对数据包中各业务数据进行解封装,得到第一数据帧。In summary, by determining the data type of each business data in the data packet; determining the position information of each business data in the frame structure according to the data type and data volume corresponding to each business data; and decapsulating each business data according to the position information of each business data in the frame structure to obtain the first data frame, it is possible to effectively decapsulate each business data in the data packet according to the set frame structure to obtain the first data frame.
作为本公开实施例的一种可能的实现方式,可基于流量控制系统实现本公开实施例所提供的流量控制方法,例如,流量控制系统的结构可如图11所示,流量控制系统实现本公开实施例所提供的流量控制方法的步骤可如下:As a possible implementation of the embodiment of the present disclosure, the flow control method provided by the embodiment of the present disclosure may be implemented based on a flow control system. For example, the structure of the flow control system may be as shown in FIG. 11 , and the flow control system may implement the flow control method provided by the embodiment of the present disclosure in the following steps:
1、为了便于与其他通信设备交互,可启动时隙计数器,对载荷接收的同轨、异轨、馈电数据按时隙计数,同时,通过业务判别器,对接收到的数据进行判别,若为指定业务则送入精细化整形模块1-4;若为非指定业务,则送入精细化整形模块5-8;以此同时,对时隙计数器判别,若超过一个帧长规定时隙(如,1024),则进行清零,从新计数;1. In order to facilitate interaction with other communication devices, the time slot counter can be started to count the co-track, off-track, and feeding data received by the payload by time slot. At the same time, the received data is judged by the service discriminator. If it is a designated service, it is sent to the refined shaping module 1-4; if it is a non-designated service, it is sent to the refined shaping module 5-8; at the same time, the time slot counter is judged. If it exceeds a frame length specified time slot (such as 1024), it is cleared and counted again;
2、对送入精细化整形模块的数据,采用一级令牌桶组合变速率令牌桶的方法实现精细流量控制。第一级令牌桶用于限制物理端口的输出流量,超出流量限制的数据包被积压在队列管理的共享缓存中,未超出流量限制的数据包则送往对应变速率令牌桶(指定业务中各业务数据对应的第三子令牌桶,非指定业务中各业务数据对应的第四子令牌桶)。变速率令牌桶用于限制逻辑端口的输出流量,超出流量限制的数据包被丢弃,未超出流量限制的数据包送至门控调度模块;2. For the data sent to the refined shaping module, a method of combining a first-level token bucket with a variable-rate token bucket is used to implement refined flow control. The first-level token bucket is used to limit the output flow of the physical port. Data packets that exceed the flow limit are accumulated in the shared cache of the queue management, and data packets that do not exceed the flow limit are sent to the corresponding variable-rate token bucket (the third sub-token bucket corresponding to each service data in the designated service, and the fourth sub-token bucket corresponding to each service data in the non-designated service). The variable-rate token bucket is used to limit the output flow of the logical port. Data packets that exceed the flow limit are discarded, and data packets that do not exceed the flow limit are sent to the gating scheduling module;
3、最后,对送入门控调度的数据,根据计数器和星历调度门控表,通过门控表对数据输出进行控制;其中,指定业务(特殊业务)门控周期性打开;非指定业务(普通业务)一直打开,非指定业务传输根据非指定业务的服务质量等级进行传输。其中,门控调度模块分为指定业务的门控1-4和非指定业务的门控5-8,主要通过星历和计数器读取门控表值控制门控是否打开,从而控制各队列中数据帧是否进行传输。其中,指定业务的门控通过对四个门控周期性打开;非指定业务的门控处于一直打开状态。门控表如表1所示,门控表中Y代表门控打开,N代表门控关闭。3. Finally, for the data sent to the gating scheduling, the gating table is scheduled according to the counter and ephemeris, and the data output is controlled through the gating table; among them, the gating of designated services (special services) is periodically opened; the non-designated services (ordinary services) are always open, and the non-designated services are transmitted according to the service quality level of the non-designated services. Among them, the gating scheduling module is divided into gating 1-4 for designated services and gating 5-8 for non-designated services. It mainly controls whether the gating is opened by reading the gating table value through the ephemeris and counter, thereby controlling whether the data frames in each queue are transmitted. Among them, the gating of designated services is periodically opened by four gatings; the gating of non-designated services is always open. The gating table is shown in Table 1. In the gating table, Y represents gating opening and N represents gating closing.
表1门控表Table 1 Gating table
本公开实施例的流量控制方法,通过对接收到的数据包按照设定的帧结构进行解封装,以得到第一数据帧;对第一数据帧进行判别,以确定第一数据帧所属的业务类型;采用与第一数据帧的业务类型匹配的第一令牌桶对第一数据帧进行第一流量控制,以确定第一数据帧是否通过第一流量控制;在第一数据帧通过第一流量控制时,采用与第一数据帧中的各业务数据匹配的第二令牌桶,对第一数据帧中的各业务数据进行第二流量控制,由此,在转发数据时,可采用设定的帧结构对转发数据进行解封装,生成第一数据帧,并对第一数据帧进行判别以确定转发数据的业务类型,采用与转发数据的业务类型匹配的流量控制策略,针对性且精细化地对转发数据进行流量控制,满足了不同业务的需求,并且可避免由于突发业务量过多而导致的网络拥塞,同时还可避免数据流量控制的均匀化,提高了数据传输质量,以更好地满足用户需求。The flow control method of the embodiment of the present disclosure decapsulates the received data packet according to the set frame structure to obtain the first data frame; distinguishes the first data frame to determine the service type to which the first data frame belongs; uses a first token bucket matching the service type of the first data frame to perform a first flow control on the first data frame to determine whether the first data frame passes the first flow control; when the first data frame passes the first flow control, uses a second token bucket matching each service data in the first data frame to perform a second flow control on each service data in the first data frame. Therefore, when forwarding data, the set frame structure can be used to decapsulate the forwarded data to generate the first data frame, and the first data frame is distinguished to determine the service type of the forwarded data. A flow control strategy matching the service type of the forwarded data is used to perform flow control on the forwarded data in a targeted and refined manner, thereby meeting the needs of different services, and avoiding network congestion caused by excessive burst business volume. At the same time, it can also avoid the uniformity of data flow control, improve the data transmission quality, and better meet user needs.
为了实现上述实施例,本公开还提出一种流量控制装置。In order to implement the above embodiments, the present disclosure also proposes a flow control device.
图12为本公开实施例所提供的一种流量控制装置的结构示意图。FIG. 12 is a schematic structural diagram of a flow control device provided in an embodiment of the present disclosure.
如图12所示,该流量控制装置1200包括:解封装模块1210、判别模块1220、第一流量控制模块1230和第二流量控制模块1240。As shown in FIG. 12 , the flow control device 1200 includes: a decapsulation module 1210 , a determination module 1220 , a first flow control module 1230 , and a second flow control module 1240 .
其中,解封装模块1210,用于对接收到的数据包按照设定的帧结构进行解封装,以得到第一数据帧;判别模块1220,用于对第一数据帧进行判别,以确定第一数据帧所属的业务类型;第一流量控制模块1230,用于采用与第一数据帧的业务类型匹配的第一令牌桶对第一数据帧进行第一流量控制,以确定第一数据帧是否通过第一流量控制;第二流量控制模块1240,用于在第一数据帧通过第一流量控制时,采用与第一数据帧中的各业务数据匹配的第二令牌桶,对第一数据帧中的各业务数据进行第二流量控制。Among them, the decapsulation module 1210 is used to decapsulate the received data packet according to the set frame structure to obtain the first data frame; the identification module 1220 is used to identify the first data frame to determine the service type to which the first data frame belongs; the first flow control module 1230 is used to perform a first flow control on the first data frame using a first token bucket matching the service type of the first data frame to determine whether the first data frame passes the first flow control; the second flow control module 1240 is used to perform a second flow control on each service data in the first data frame using a second token bucket matching each service data in the first data frame when the first data frame passes the first flow control.
作为本公开实施例的一种可能的实现方式,第一令牌桶包括第一子令牌桶和第二子令牌桶,第一流量控制模块1230,具体用于:在所述第一数据帧所属的业务类型为指定业务时,根据所述第一子令牌桶内的第一实时令牌数,对所述第一数据帧进行第一流量控制,以确定第一数据帧是否通过第一流量控制;其中,指定业务类型的优先级大于或等于设定的等级阈值;在第一数据帧所属的业务类型为非指定业务时,根据第二子令牌桶内的第二实时令牌数以及所述第一数据帧的优先级,对第一数据帧进行第一流量控制,以确定第一数据帧是否通过第一流量控制;其中,非指定业务的优先级小于等级阈值。As a possible implementation method of the embodiment of the present disclosure, the first token bucket includes a first sub-token bucket and a second sub-token bucket, and the first flow control module 1230 is specifically used to: when the service type to which the first data frame belongs is a designated service, according to the first real-time token number in the first sub-token bucket, perform a first flow control on the first data frame to determine whether the first data frame passes the first flow control; wherein the priority of the designated service type is greater than or equal to the set level threshold; when the service type to which the first data frame belongs is a non-designated service, according to the second real-time token number in the second sub-token bucket and the priority of the first data frame, perform a first flow control on the first data frame to determine whether the first data frame passes the first flow control; wherein the priority of the non-designated service is less than the level threshold.
作为本公开实施例的一种可能的实现方式,第二令牌桶包括第三子令牌桶和第四子令牌桶,第二流量控制模块1240,具体用于:在第一数据帧所属的业务类型为指定业务,且第一数据帧通过第一流量控制的情况下,根据与第一数据帧中的各业务数据匹配的第三子令牌桶内的第三实时令牌数,对第一数据帧中的各业务数据进行第二流量控制;在第一数据帧所属的业务类型为非指定业务,且第一数据帧通过第一流量控制的情况下,根据与第一数据帧中的各业务数据匹配的第四子令牌桶内的第四实时令牌数以及各业务数据的优先级,对第一数据帧中的各业务数据进行第二流量控制。As a possible implementation method of the embodiment of the present disclosure, the second token bucket includes a third sub-token bucket and a fourth sub-token bucket, and the second flow control module 1240 is specifically used to: when the business type to which the first data frame belongs is a designated business and the first data frame passes the first flow control, perform second flow control on each business data in the first data frame according to the third real-time token number in the third sub-token bucket that matches each business data in the first data frame; when the business type to which the first data frame belongs is a non-designated business and the first data frame passes the first flow control, perform second flow control on each business data in the first data frame according to the fourth real-time token number in the fourth sub-token bucket that matches each business data in the first data frame and the priority of each business data.
作为本公开实施例的一种可能的实现方式,第一流量控制模块1230,还用于:确定第二子令牌桶内的第二实时令牌与第二子令牌桶内的设定总牌数的第一占比;在第一占比大于或等于(n-i)/n的情况下,确定第一数据帧的优先级是否大于i;在第一数据帧的优先级大于的情况下,确定第一数据帧通过第一流量控制;在第一数据帧的优先级小于或等于i的情况下,确定第一数据帧未通过第一流量控制;其中,n为设定的优先级个数,i=0,1,2,…,(n-1)。As a possible implementation method of the embodiment of the present disclosure, the first flow control module 1230 is also used to: determine a first ratio of the second real-time token in the second sub-token bucket to the set total number of cards in the second sub-token bucket; when the first ratio is greater than or equal to (n-i)/n, determine whether the priority of the first data frame is greater than i; when the priority of the first data frame is greater than, determine that the first data frame passes the first flow control; when the priority of the first data frame is less than or equal to i, determine that the first data frame does not pass the first flow control; wherein n is the set number of priorities, i=0,1,2,…,(n-1).
作为本公开实施例的一种可能的实现方式,第二流量控制模块1240,还用于:针对第一数据帧中的任一业务数据,确定与任一业务数据匹配的第四子令牌桶内的第四实时令牌与第四子令牌桶内的设定总牌数的第二占比;在第二占比大于或等于(n-i)/n的情况下,确定任一业务数据的优先级是否大于i;在任一业务数据的数优先级大于i的情况下,确定任一业务数据通过对应的第二流量控制;在任一业务数据的优先级小于或等于i的情况下,确定任一业务数据未通过对应的第二流量控制;其中,n为设定的优先级个数,i=0,1,2,…,(n-1)。As a possible implementation method of the embodiment of the present disclosure, the second flow control module 1240 is also used to: for any business data in the first data frame, determine the second ratio of the fourth real-time token in the fourth sub-token bucket matching any business data to the set total number of cards in the fourth sub-token bucket; when the second ratio is greater than or equal to (n-i)/n, determine whether the priority of any business data is greater than i; when the priority of any business data is greater than i, determine that any business data passes the corresponding second flow control; when the priority of any business data is less than or equal to i, determine that any business data does not pass the corresponding second flow control; wherein n is the set number of priorities, i=0,1,2,…,(n-1).
作为本公开实施例的一种可能的实现方式,流量控制装置1200还包括:第一确定模块、第一封装模块和第一调度模块。As a possible implementation of the embodiment of the present disclosure, the flow control device 1200 further includes: a first determination module, a first encapsulation module and a first scheduling module.
其中,第一确定模块,用于从第一数据帧的各业务数据中,确定通过第二流量控制的第一目标业务数据;第一封装模块,用于基于帧结构,对第一目标业务数据进行封装,以得到第二数据帧;第一调度模块,用于采用设定的第一门控策略,周期性地对第二数据帧进行调度。Among them, the first determination module is used to determine the first target business data through the second flow control from the various business data of the first data frame; the first encapsulation module is used to encapsulate the first target business data based on the frame structure to obtain the second data frame; the first scheduling module is used to adopt the set first gating strategy to periodically schedule the second data frame.
作为本公开实施例的一种可能的实现方式,流量控制装置1200还包括:第二确定模块、第二封装模块和第二调度模块。As a possible implementation manner of the embodiment of the present disclosure, the flow control device 1200 further includes: a second determination module, a second encapsulation module and a second scheduling module.
其中,第二确定模块,用于从第一数据帧的各业务数据中,确定通过第二流量控制的第二目标业务数据;第二封装模块,用于基于设定的帧结构,对第二目标业务数据进行封装,以得到第三数据帧;第二调度模块,用于采用设定的第二门控策略,对第三数据帧进行调度。Among them, the second determination module is used to determine the second target business data through the second flow control from the various business data of the first data frame; the second encapsulation module is used to encapsulate the second target business data based on the set frame structure to obtain the third data frame; the second scheduling module is used to schedule the third data frame using the set second gating strategy.
作为本公开实施例的一种可能的实现方式,判别模块1220,用于:获取第一数据帧的帧头信息;根据帧头信息,从多个参考业务类型中,确定目标业务类型,其中,目标业务类型与帧头信息匹配;将目标业务类型,作为第一数据帧所属的业务类型。As a possible implementation method of the embodiment of the present disclosure, the determination module 1220 is used to: obtain frame header information of the first data frame; determine the target business type from multiple reference business types based on the frame header information, wherein the target business type matches the frame header information; and use the target business type as the business type to which the first data frame belongs.
作为本公开实施例的一种可能的实现方式,解封装模块1210,用于:确定数据包中各业务数据的数据类型;根据各业务数据对应的数据类型以及数据量,确定各业务数据在帧结构中的位置信息;根据各业务数据在帧结构中的位置信息,对各业务数据进行解封装,以得到第一数据帧。As a possible implementation method of the embodiment of the present disclosure, the decapsulation module 1210 is used to: determine the data type of each business data in the data packet; determine the position information of each business data in the frame structure according to the data type and data volume corresponding to each business data; decapsulate each business data according to the position information of each business data in the frame structure to obtain a first data frame.
本公开实施例的流量控制装置,通过对接收到的数据包按照设定的帧结构进行解封装,以得到第一数据帧;对第一数据帧进行判别,以确定第一数据帧所属的业务类型;采用与第一数据帧的业务类型匹配的第一令牌桶对第一数据帧进行第一流量控制,以确定第一数据帧是否通过第一流量控制;在第一数据帧通过第一流量控制时,采用与第一数据帧中的各业务数据匹配的第二令牌桶,对第一数据帧中的各业务数据进行第二流量控制。由此,在转发数据时,可采用设定的帧结构对转发数据进行解封装,生成第一数据帧,并对第一数据帧进行判别确定转发数据的业务类型,采用与转发数据的业务类型匹配的流量控制策略,针对性且精细化地对转发数据进行流量控制,满足了不同业务的需求,并且可避免由于突发业务量过多而导致的网络拥塞,同时还可避免数据流量控制的均匀化,提高了数据传输质量,以更好地满足用户需求。The flow control device of the disclosed embodiment decapsulates the received data packet according to the set frame structure to obtain the first data frame; discriminates the first data frame to determine the service type to which the first data frame belongs; uses the first token bucket matching the service type of the first data frame to perform the first flow control on the first data frame to determine whether the first data frame passes the first flow control; when the first data frame passes the first flow control, uses the second token bucket matching the service data in the first data frame to perform the second flow control on the service data in the first data frame. Thus, when forwarding data, the set frame structure can be used to decapsulate the forwarded data to generate the first data frame, and the first data frame can be discriminated to determine the service type of the forwarded data, and the flow control strategy matching the service type of the forwarded data is used to control the forwarded data in a targeted and refined manner, so as to meet the needs of different services, and avoid network congestion caused by excessive burst business volume, and at the same time, it can also avoid the uniformity of data flow control, improve the data transmission quality, and better meet the needs of users.
需要说明的是,前述对流量控制方法实施例的解释说明也适用于该实施例的流量控制装置,此处不再赘述。It should be noted that the above explanation of the flow control method embodiment is also applicable to the flow control device of this embodiment, and will not be repeated here.
为了实现上述实施例,本申请还提出一种电子设备,如图13所示,图13是根据一示例性实施例示出的一种用于流量控制的电子设备的框图。In order to implement the above embodiments, the present application further proposes an electronic device, as shown in FIG13 . FIG13 is a block diagram of an electronic device for flow control according to an exemplary embodiment.
如图13所示,上述电子设备1300包括:As shown in FIG. 13 , the electronic device 1300 includes:
存储器1310及处理器1320,连接不同组件(包括存储器1310和处理器1320)的总线1330,存储器1310存储有计算机程序,当处理器1320执行所述程序时实现本公开实施例所述的流量控制方法。The memory 1310 and the processor 1320, a bus 1330 connecting different components (including the memory 1310 and the processor 1320), the memory 1310 stores a computer program, and when the processor 1320 executes the program, the flow control method described in the embodiment of the present disclosure is implemented.
总线1330表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。Bus 1330 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnect (PCI) bus.
电子设备1300典型地包括多种电子设备可读介质。这些介质可以是任何能够被电子设备1300访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。The electronic device 1300 typically includes a variety of electronic device readable media. These media can be any available media that can be accessed by the electronic device 1300, including volatile and non-volatile media, removable and non-removable media.
存储器1310还可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)1340和/或高速缓存存储器1350。电子设备1300可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统1360可以用于读写不可移动的、非易失性磁介质(图13未显示,通常称为“硬盘驱动器”)。尽管图13中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线1330相连。存储器1310可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本公开各实施例的功能。The memory 1310 may also include computer system readable media in the form of volatile memory, such as random access memory (RAM) 1340 and/or cache memory 1350. The electronic device 1300 may further include other removable/non-removable, volatile/non-volatile computer system storage media. By way of example only, the storage system 1360 may be used to read and write non-removable, non-volatile magnetic media (not shown in FIG. 13 , commonly referred to as a “hard drive”). Although not shown in FIG. 13 , a disk drive for reading and writing a removable non-volatile disk (such as a “floppy disk”) and an optical disk drive for reading and writing a removable non-volatile optical disk (such as a CD-ROM, DVD-ROM or other optical media) may be provided. In these cases, each drive may be connected to the bus 1330 via one or more data medium interfaces. The memory 1310 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present disclosure.
具有一组(至少一个)程序模块1370的程序/实用工具1380,可以存储在例如存储器1310中,这样的程序模块1370包括但不限于操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块1370通常执行本公开所描述的实施例中的功能和/或方法。A program/utility 1380 having a set (at least one) of program modules 1370 may be stored, for example, in the memory 1310, such program modules 1370 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 1370 generally perform the functions and/or methods of the embodiments described in the present disclosure.
电子设备1300也可以与一个或多个外部设备1390(例如键盘、指向设备、显示器等)通信,还可与一个或者多个使得用户能与该电子设备1300交互的设备通信,和/或与使得该电子设备1300能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口1392进行。并且,电子设备1300还可以通过网络适配器1393与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图13所示,网络适配器1393通过总线1330与电子设备1300的其它模块通信。应当明白,尽管图13中未示出,可以结合电子设备1300使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The electronic device 1300 may also communicate with one or more external devices 1390 (e.g., keyboards, pointing devices, displays, etc.), may communicate with one or more devices that enable a user to interact with the electronic device 1300, and/or may communicate with any device that enables the electronic device 1300 to communicate with one or more other computing devices (e.g., network cards, modems, etc.). Such communication may be performed via an input/output (I/O) interface 1392. Furthermore, the electronic device 1300 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and/or public networks, such as the Internet) via a network adapter 1393. As shown in FIG. 13 , the network adapter 1393 communicates with other modules of the electronic device 1300 via a bus 1330. It should be understood that, although not shown in FIG. 13 , other hardware and/or software modules may be used in conjunction with the electronic device 1300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
处理器1320通过运行存储在存储器1310中的程序,从而执行各种功能应用以及数据处理。The processor 1320 executes various functional applications and data processing by running the programs stored in the memory 1310 .
需要说明的是,本实施例的电子设备的实施过程和技术原理参见前述对本公开实施例的流量控制的解释说明,此处不再赘述。It should be noted that the implementation process and technical principles of the electronic device of this embodiment refer to the aforementioned explanation of the flow control of the embodiment of the present disclosure, and will not be repeated here.
为了实现上述实施例,本申请还提出一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现上述实施例所述的流量控制方法。In order to implement the above embodiments, the present application also proposes a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the flow control method described in the above embodiments is implemented.
为了实现上述实施例,本公开还提供一种计算机程序产品,当所述计算机程序产品中的指令处理器执行时,执行上述实施例所述的流量控制方法。In order to implement the above embodiments, the present disclosure further provides a computer program product. When an instruction processor in the computer program product is executed, the flow control method described in the above embodiments is executed.
在本说明书的描述中,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In the description of this specification, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in the field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310316571.5A CN118740749A (en) | 2023-03-28 | 2023-03-28 | Flow control method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310316571.5A CN118740749A (en) | 2023-03-28 | 2023-03-28 | Flow control method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN118740749A true CN118740749A (en) | 2024-10-01 |
Family
ID=92864591
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310316571.5A Pending CN118740749A (en) | 2023-03-28 | 2023-03-28 | Flow control method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN118740749A (en) |
-
2023
- 2023-03-28 CN CN202310316571.5A patent/CN118740749A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6256315B1 (en) | Network to network priority frame dequeuing | |
| EP2466824B1 (en) | Service scheduling method and device | |
| US9178830B2 (en) | Network processor unit and a method for a network processor unit | |
| US8311049B2 (en) | Method and device for scheduling packets for routing in a network with implicit determination of packets to be treated as priority | |
| US8671219B2 (en) | Method and apparatus for efficiently processing data packets in a computer network | |
| US9077466B2 (en) | Methods and apparatus for transmission of groups of cells via a switch fabric | |
| US9313115B2 (en) | Traffic generator with priority flow control | |
| US7843816B1 (en) | Systems and methods for limiting low priority traffic from blocking high priority traffic | |
| US7715419B2 (en) | Pipelined packet switching and queuing architecture | |
| US7830884B2 (en) | Flexible method for processing data packets in a network routing system for enhanced efficiency and monitoring capability | |
| US7649885B1 (en) | Network routing system for enhanced efficiency and monitoring capability | |
| US10868768B1 (en) | Multi-destination traffic handling optimizations in a network device | |
| CN100514931C (en) | Line card port protection rate limiter circuitry | |
| US8306045B2 (en) | Packet forwarding apparatus and method for discarding packets | |
| US7123614B2 (en) | Method and device for communicating between a first and a second network | |
| US7522620B2 (en) | Method and apparatus for scheduling packets | |
| US7426215B2 (en) | Method and apparatus for scheduling packets | |
| JP2007288491A (en) | Frame dividing circuit, and transmission system and method using the dividing circuit | |
| US8660001B2 (en) | Method and apparatus for providing per-subscriber-aware-flow QoS | |
| WO2004023745A1 (en) | Method and system for controlling bandwidth allocation | |
| US7379420B2 (en) | Method and apparatus for multiple qualities of service to different network connections of a single network path | |
| US20030081623A1 (en) | Virtual queues in a single queue in the bandwidth management traffic-shaping cell | |
| US20030099200A1 (en) | Parallel limit checking in a hierarchical network for bandwidth management traffic-shaping cell | |
| US6490629B1 (en) | System and method for scheduling the transmission of packet objects having quality of service requirements | |
| CN118740749A (en) | Flow control method and device |
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 |