WO2015081502A1 - Network service flow-based dynamic control transmission method and apparatus - Google Patents

Network service flow-based dynamic control transmission method and apparatus Download PDF

Info

Publication number
WO2015081502A1
WO2015081502A1 PCT/CN2013/088454 CN2013088454W WO2015081502A1 WO 2015081502 A1 WO2015081502 A1 WO 2015081502A1 CN 2013088454 W CN2013088454 W CN 2013088454W WO 2015081502 A1 WO2015081502 A1 WO 2015081502A1
Authority
WO
WIPO (PCT)
Prior art keywords
traffic
port
service flow
transmission
service
Prior art date
Application number
PCT/CN2013/088454
Other languages
French (fr)
Chinese (zh)
Inventor
王立文
马化一
薛百华
Original Assignee
北京东土科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京东土科技股份有限公司 filed Critical 北京东土科技股份有限公司
Priority to PCT/CN2013/088454 priority Critical patent/WO2015081502A1/en
Publication of WO2015081502A1 publication Critical patent/WO2015081502A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • H04L12/6418Hybrid transport

Definitions

  • the present invention relates to network communication technologies, and in particular, to a dynamic control transmission method and apparatus based on network traffic flow.
  • BACKGROUND At present, with the development of network technologies, users have higher and higher requirements for the service data information they receive, similar to video calls or online games, and different services have different requirements for network transmission, that is, services. Shield
  • the requirements for (QoS) are also different.
  • the general technical solution is to divide the service flow into thousands of different priorities according to the similarity of QoS requirements, and identify and classify the border routers and intermediate routers respectively.
  • Operations such as tagging and traffic management to manage and allocate network resources for integrated traffic flows in the network at a statistical level, but this model cannot effectively manage and accurately control a single traffic flow, resulting in bandwidth between multiple traffic flows. Unbalanced distribution and instability of traffic flow bandwidth control.
  • the overall minimum allocation scheme based on each service flow is proposed from the three dimensions of setting the priority, the preemption degree and the minimum maintenance bandwidth of the traffic flow value control.
  • most of the traffic flows (about 80 ⁇ 90%) are small from the network traffic monitoring analysis, and only a small part of the traffic (about 10 ⁇ 20%) is large, but this part
  • the traffic flow occupies most of the network traffic (about 80% or more).
  • This part of the traffic that accounts for more network traffic is a key business flow, which is very important for the transmission of key business flows. Then there is a prominent problem in the lowest allocation scheme.
  • the data transmission priority of the network traffic flow is generally determined, but the traffic of one of the service flows also suddenly increases due to the user's request.
  • the traffic of the service flow is not guaranteed due to the transmission of the same priority, because the transmission of the minimum bandwidth of the overall transmission is guaranteed.
  • the invention provides a dynamic control transmission method based on network service flow, which comprises:
  • identifying a data type transmitted on a network device port where the data type includes a service flow based service flow and a non-service transmission based non-service flow, wherein the service flow is divided into a single service flow and a multi-service flow; (2) setting a traffic transmission threshold of the network device port according to the data type, and setting a transmission priority and a preemption degree of each service flow, where the port of the multi-service flow or the single service traffic within the determined time period is higher than the default.
  • the port at the traffic threshold is set to the cascading port by default.
  • the cascading port and the non-cascading port are connected according to the topology relationship between the private protocol and the network device between the control cascade ports.
  • the traffic value of each service flow received in the multi-service flow in the predetermined time period is counted, and is preset with the corresponding respective service flows.
  • the output priority level is used as the ratio operation, and the service flow with the highest ratio value is transmitted with the highest priority;
  • the The traffic flow is suspended for a preset period of time.
  • the traffic value of the service received by the port in the predetermined time period is counted.
  • the port When the traffic value of the port receiving service in the predetermined time period is greater than the traffic threshold of the port, the port is used as a cascade port, and is connected to other non-cascading ports of the corresponding type according to the single service flow type.
  • the dynamic control transmission of the service flow of the original cascading port and the non-cascading port further includes: adjusting the transmission traffic of the network port, where the traffic transmission threshold of the cascading port is smaller than the traffic transmission threshold of the non-cascading port The traffic transmission threshold of the cascading port is adjusted, where the traffic transmission threshold of the cascading port is greater than that of all the cascading ports when the data type of the non-cascading port is multi-service flow The maximum actual transmission traffic of the service flow with the highest ratio value.
  • the invention provides a dynamic control transmission device based on network traffic flow, comprising:
  • a service flow setting module configured to identify a data type transmitted at a network device port, where the data type includes a service flow based service flow and a non-service transmission based non-service flow, wherein the service flow is according to the
  • the types of data types included are classified into single service flows and multi-service flows;
  • a service flow threshold setting module configured to set a traffic transmission threshold of the relevant network device port according to the data type, and set a transmission priority and a preemption degree of each service flow, where the port of the multiple service flow is determined or determined.
  • the default setting is the cascading port, according to the private association between the cascading ports.
  • the topology relationship between the conference and the network device connects the cascade port and the non-cascading port;
  • a service flow static setting module configured to detect traffic of a service flow of the non-cascading port within a predetermined time period, when detecting that the actual transmission traffic of the service flow is lower than the setting of the non-cascading port
  • each service flow is transmitted according to the setting of the transmission priority and the preemption; when it is detected that the actual transmission traffic of the service flow exceeds the traffic flow threshold set by the non-cascade port Changing the preemptive degree of the service flow originally set, and resetting the preemption degree according to the ratio of the priority of the service flow to the actual transmission traffic;
  • a service flow dynamic setting module configured to perform service flow of the original cascade port and the non-cascading port according to a change of a ratio of a service flow of the service flow to a service flow priority of the non-cascading port Dynamic control of transmission.
  • the invention firstly identifies the type of each service flow in the network transmission, sets a traffic threshold for the transmission of each service flow, ensures that each service flow can transmit basic normal traffic in the network transmission, and simultaneously controls the various service flows.
  • the transmission is based on the comparison of the transmission priority of each service flow with the change of the actual transmission traffic to determine the occurrence of large traffic changes in one or some service flows, which is a dynamic control transmission method, and the method can ensure the service flow.
  • Normal transmission can ensure the traffic flow of some large traffic in the actual application, thus ensuring the service shield of the specific service flow demand.
  • FIG. 1 is a flowchart of a dynamic control method based on a network service flow according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a dynamic control method for multiple services based on a network service flow according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a method for dynamically controlling a single service based on a network service flow according to an embodiment of the present invention
  • FIG. 4 is a flowchart of a process for adjusting a cascade port based on a network service flow according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of a dynamic control device based on a network service flow according to an embodiment of the present invention.
  • the present invention sets traffic for transmission of each service flow by first identifying the type of each service flow in the network transmission.
  • the threshold value ensures that each service flow can transmit substantially normal traffic in the network transmission; and at the same time, for each change of the service flow, the transmission priority based on each service flow is compared with the change of the actual transmission traffic to determine that some Or a large traffic change in some service flows is a method of dynamically controlling transmission. This method can ensure the normal transmission of service flows, and can ensure the transmission of some large-traffic traffic in actual applications, thereby ensuring specific service flow requirements.
  • the amount of service shield can ensure the normal transmission of service flows, and can ensure the transmission of some large-traffic traffic in actual applications, thereby ensuring specific service flow requirements.
  • Step 101 Identify a data type transmitted at a network device port, where the data type includes a service flow based service flow and a non-service transmission based non-service flow, where the service flow is classified according to the type of data type included therein.
  • the data type includes a service flow based service flow and a non-service transmission based non-service flow, where the service flow is classified according to the type of data type included therein.
  • the method of identification collects detailed data information of a stream including source, destination address, port number, protocol, service type, start and end time, packet and number of bytes, etc., and through service flow determination, service flow classification and identification, Traffic flow sampling, traffic flow monitoring, and traffic flow feature analysis and traffic modeling techniques are identified.
  • the protocol feature words in the data packets are mainly identified, and the non-service flows mainly refer to A private protocol and a public protocol for controlling data stream transmission, such as IGMP, etc., which controls Internet group management, and a private protocol controls a control protocol for data redundancy transmission of a network node, such as a PRP parallel redundancy protocol.
  • the main purpose is to further analyze the data received by the network device port, which involves the determination of service flow and service flow classification.
  • the decision of the service flow is generally identified by a series of bursts of packet rows of the same source and destination (determining the interval between two packets as the same packet), and all packets of the same TCP connection.
  • For the same service flow setting method that is, according to the TCP protocol itself, such as SYN and FIN for service flow division).
  • service flow classification it is generally based on service flow attributes, such as: directionality of data transmission and end judgment method as the basis of service flow classification, but it is necessary to further understand the overall service flow characteristics of network traffic, and must also analyze other statistical characteristics of service flow. For example: size of the traffic (byte size and packet size), growth rate, traffic duration, and so on.
  • the ports of the network device mainly perform multiple types of service flows for transmission.
  • the type of service flow here mainly refers to the type of service such as mail or multimedia.
  • Step 102 Set a corresponding traffic transmission threshold of the relevant network device port according to the data type, and set a priority and a preemption degree of each service flow, where the port of the multiple service flow or the single service traffic within the determined time period is higher than the default.
  • the port is configured as a cascading port.
  • the cascading port and the non-cascading port are connected according to the topology relationship between the private protocol and the network device between the control cascading ports.
  • the network device is not a separate device for data transmission, and the network device is connected into a chain or ring network for data transmission. Regardless of the chain network or the ring network, there is a redundancy problem involving the transmission of data by the network device, that is, the reliability problem.
  • the reliability here is generally solved by the network equipment manufacturer's own proprietary protocol, such as PRP redundancy protocol (parallel redundancy protocol) and HSR protocol (high reliability redundant ring network).
  • the network device port responsible for the network port logic switch in the chain network or ring network formed by the connection of multiple network devices is the main port connecting other network devices, and is also the main port for multi-service stream transmission, which is called a cascade port.
  • connection between the cascaded ports forms the transmission of the bones, but the single-service flow with a large amount of data can also be a cascade port, and the cascade port is connected to the non-cascading port instead of the cascade port and the terminal device.
  • the connection gets the business flow (including single business flow and / or multi-service flow).
  • each service when detecting that the actual traffic flow of the service flow is lower than a traffic flow threshold set by the non-cascading port, each service The flow is transmitted according to the setting of the transmission priority and the preemption; when it is detected that the actual transmission traffic of the service flow exceeds the traffic flow threshold set by the non-cascading port, the preemption of the original fixed setting of the service flow is changed. Degree, and reset the ratio of the priority of the service flow to the actual transmission traffic;
  • the predetermined time period here can be set according to the actual situation, for example: 30 seconds or 10 minutes, but this set time should be 'j, more than the actually detected time exceeding the flow threshold.
  • the method of traffic monitoring may be based on the port number of the Internet number assignment management authority, or may be based on the keyword characteristics of the service flow.
  • each service flow is transmitted according to a fixed setting of the transmission priority and the preemption degree;
  • the preemption should be reset according to the ratio of the priority of the traffic flow to the actual traffic flow.
  • the preemption here indicates the ratio of the actual bandwidth that all traffic of this type can obtain to the input bandwidth of all traffic flows in the type in the allocation process, with the remaining bandwidth of the network allowed.
  • the value of the preemption is 0 ⁇ and ⁇ 1 .
  • the transmission of the service flow is based on the advance Set the priority to set the traffic size used by the service flow, and ensure the minimum maintenance bandwidth of each service flow, that is, the traffic of the service flow in the transmission process is basically determined, and the traffic demand of the entire service flow is large. At this time, the traffic of the key service flow cannot be guaranteed.
  • the ratio of the actual traffic flow of the service flow to the service flow priority of the non-cascading port is used to reset the preemption, and the preemption here is dynamic. Data, because The actual transmission traffic for the traffic flow is dynamically transmitted, and the optimal transmission of the high priority traffic with high priority is also ensured.
  • FIG. 2 is a flowchart of a dynamic control method based on multiple services in a network service flow according to an embodiment of the present invention.
  • the traffic value of each service flow received in the multi-service flow in the predetermined time period is counted, and is preset with the corresponding respective service flows.
  • the output priority level is used as the ratio operation, and the service flow with the highest ratio value is transmitted with the highest priority;
  • the The traffic flow is suspended for a preset period of time.
  • the multi-service flow transmitted in the non-cascading end for example, three kinds of service streams of video, mail, and sample are transmitted, and the transmission priorities are 1, 2, and 3 respectively, and the preemption degree is also 0.4, respectively.
  • the mail and service traffic value exceeds the set threshold, and the video is lower than the threshold.
  • the actual detected traffic is 2M, 20M, 15M, then the actual transmission according to the service flow
  • the ratio of traffic to priority is 2, 10, and 5 respectively.
  • the mail service flow is a large service flow, that is, a key service flow, and priority transmission should be ensured.
  • the actual detection traffic is 2M, 20M, 3M respectively.
  • the traffic value of the service received by the port in the predetermined time period is counted, and when the traffic value of the port receiving service in the predetermined time period is greater than the traffic threshold of the port
  • the port is used as a cascade port, and is connected to other non-cascading ports of the corresponding type according to the single service flow type.
  • this step is as follows: 301: Counting the traffic value of the service received by the port in the predetermined time period;
  • the port When the traffic value of the port receiving service in the predetermined time period is greater than the traffic threshold of the port, the port is used as a cascading port;
  • the service flow transmitted by the non-cascading port may be a single service flow. In this case, different and multiple service flows are used. This solution will be converted to a cascade port to continue to transmit this type of service flow, which can reduce the network. Difficult to set the port
  • the working flow chart of the cascading port adjustment based on the network service flow is provided in the embodiment of the present invention, and the data flow of the original cascading port and the non-cascading port is further included in the transmission control.
  • the traffic transmission threshold of the cascade port should be greater than the maximum actual transmission traffic of all service flows that have the highest ratio value in the cascade port.
  • This step is as follows:
  • the traffic transmission threshold of the cascade port is greater than the maximum actual traffic of all service flows that have the highest ratio value in the cascade port.
  • the traffic transmission threshold of the cascade port is larger than the non-cascading port traffic threshold, but if the private protocol (such as the redundancy protocol) is based on the redundancy requirement of the link, the non-cascading port is set to cascade. Port, at this time, the threshold of the non-cascading port is smaller than the threshold of the cascade port, which is not allowed in actual network transmission. For this reason, the threshold setting of the new cascade port should be greater than the actual transmission traffic and priority.
  • the sum of the thresholds of the service flow with the highest ratio the hardware device of the network device port cannot transmit traffic without restriction. Therefore, the traffic transmitted by the network port needs to be restricted to ensure the secure transmission of the data stream.
  • the traffic of large traffic in the network is sporadic.
  • the smoothness of data transmission should be determined in the network transmission.
  • ensure that the threshold setting of the cascade port should be greater than the actual transmission traffic and priority.
  • the sum of the thresholds of the service flow with the highest ratio that is, to ensure that the cascade port can transmit the large amount of data that occurs in a service flow.
  • FIG. 5 is a structural block diagram of a dynamic control transmission apparatus based on a network service flow according to an embodiment of the present invention.
  • the apparatus shown in FIG. 5 corresponds to the steps shown in FIG. 1, and the related description is not described again.
  • the apparatus includes:
  • a service flow setting module 501 configured to identify a data type transmitted at a network device port, where the data type includes a service flow based service flow and a non-service flow based non-service flow, wherein the service flow is classified into a single service flow and a multi-service flow according to the type of the data type included therein;
  • the service flow threshold setting module 502 is configured to set a traffic transmission threshold of the relevant network device port according to the data type, and set a transmission priority and a preemption degree of each service flow, where the port of the multiple service flow or the determined time period When the single-service traffic is higher than the default traffic threshold, the default setting is the cascading port.
  • the cascading port and the non-cascading port are connected according to the topology relationship between the private protocol and the network device between the cascading ports.
  • the service flow static setting module 503 is configured to detect traffic of the service flow of the non-cascading port within a predetermined time period, and when detecting that the actual traffic flow of the service flow is lower than the service set by the non-cascading port
  • each service flow is transmitted according to the setting of the transmission priority and the preemption degree; when it is detected that the actual transmission traffic of the service flow exceeds the traffic flow threshold set by the non-cascading port, the service flow is changed.
  • the traffic flow is originally fixedly set to the preemption degree, and the preemption degree is reset according to the ratio of the priority of the service flow to the actual transmission traffic;
  • the service flow dynamic setting module 504 is configured to dynamically control the service flow of the original cascade port and the non-cascading port according to the change of the ratio of the actual traffic flow of the service flow to the service flow priority of the non-cascading port. .
  • FIG. 6 is a schematic structural diagram of a network traffic flow-based dynamic control apparatus according to an embodiment of the present invention, and the apparatus shown in FIG. 6 corresponds to the steps shown in FIG. 2, and the related description is not repeated herein.
  • the service flow dynamic setting module provided by the embodiment of the invention further includes: a service flow ratio value highest module, configured to: when the data type transmitted by the non-cascading port is a multi-service flow, receive the multi-service flow in the predetermined time period for receiving The traffic value of each service flow to be compared with the output priority level of each corresponding service flow preset, and the service flow with the highest ratio value is transmitted with the highest priority; the service flow ratio value is the lowest module, When the traffic value received by the service flow with the lowest output priority level in the multi-service flow is greater than its preset threshold, and the ratio of the ratio of the output priority level to the preset output priority level is the lowest, the service is The stream is paused for transmission within a preset time period.
  • the service flow dynamic setting module further includes: when the data type transmitted by the non-cascading port is a single service flow, counting the traffic value of the service received by the port in the predetermined time period, when the predetermined time period is When the traffic value of the port receiving service is greater than the traffic threshold of the port, the port is used as a cascade port, and is connected to other non-cascading ports of the corresponding type according to the single service flow type.
  • the service flow transmitted by the non-cascading port may be a single service flow. In this case, different and multiple service flows are used. This solution will be converted to a cascade port to continue to transmit this type of service flow, which can reduce the network. The difficulty of setting the port.
  • the service flow dynamic setting module further includes: adjusting the transmission traffic of the network port, and adjusting the cascading when the traffic transmission threshold of the cascading port is smaller than the traffic transmission threshold of the non-cascading port
  • the traffic transmission threshold of the port wherein when the data type of the non-cascading port is a multi-service flow, the traffic transmission threshold of the cascade port is greater than the service flow with the highest ratio value among the cascade ports. Maximum actual transmission traffic.
  • the traffic transmission threshold of the cascade port is larger than the non-cascading port traffic threshold, but if it is private A protocol (such as a redundancy protocol) sets a non-cascading port as a cascading port according to the redundancy requirement of the link.
  • the threshold of the non-cascading port is smaller than the threshold of the cascading port, in actual network transmission. It is not allowed. For this reason, the threshold setting of the new cascade port should be greater than the sum of the thresholds of the service flow with the highest ratio of the actual transmission traffic and the priority.
  • the hardware device of the network device port cannot be used for unlimited traffic transmission. Therefore, it is necessary to limit the traffic transmitted by the network port to ensure the secure transmission of the data stream.
  • the traffic of large traffic in the network is sporadic.
  • the smoothness of data transmission should be determined in the network transmission.
  • ensure that the threshold setting of the cascade port should be greater than the actual transmission traffic and priority.
  • the sum of the thresholds of the service flow with the highest ratio that is, to ensure that the cascade port can transmit the large amount of data that occurs in a service flow.
  • each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the present invention is in the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) in which computer usable program code is embodied.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Abstract

Disclosed are a network service flow-based dynamic control transmission method and apparatus. By identifying the type of each service flow in network transmission, a traffic threshold is set for transmission of each service flow, and basic normal traffic transmission for which each service flow can be transmitted in a network is ensured; for transmission of a constantly-changing service flow, a method, for determining that one or some service flows with large traffic changes are in dynamic control transmission on the basis of comparison between a transmission priority of each service flow and a change of an actual transmission traffic of the service flow, is used. The method can ensure normal transmission of the service flows, and can also ensure transmission of some high-traffic service flows in a practical application, thereby ensuring the service quality of a specific service flow demand.

Description

一种基于网络业务流的动态控制传输方法和装置 技术领域 本发明涉及网络通信技术, 特别涉及一种基于网络业务流的动态控制传输方法和装 置。 背景技术 目前, 随着网络技术的发展, 用户对于其接收的业务数据信息的要求越来越高, 类似 于视频通话或网络游戏, 不同的业务对于网络传输的要求都是不同的, 也就是服务盾量的 TECHNICAL FIELD The present invention relates to network communication technologies, and in particular, to a dynamic control transmission method and apparatus based on network traffic flow. BACKGROUND At present, with the development of network technologies, users have higher and higher requirements for the service data information they receive, similar to video calls or online games, and different services have different requirements for network transmission, that is, services. Shield
( QoS ) 的要求也是不同的。 为了解决不同的用户对于业务流不同的要求, 一般的技术方 案是按照 QoS 需求的相似性, 将业务流划分为具有不同优先级的若千类型, 分别在边界路 由器和中间路由器进行识别、 分类、 标记和流量管理等操作, 从而在统计层面上对网络中 的整合业务流进行网络资源管理和分配, 但是这种模型不能对于单条业务流进行有效管理 和精确控制, 从而造成了多业务流间带宽分配的不平衡和业务流带宽控制的不稳定。 The requirements for (QoS) are also different. In order to solve the different requirements of different users for service flows, the general technical solution is to divide the service flow into thousands of different priorities according to the similarity of QoS requirements, and identify and classify the border routers and intermediate routers respectively. Operations such as tagging and traffic management to manage and allocate network resources for integrated traffic flows in the network at a statistical level, but this model cannot effectively manage and accurately control a single traffic flow, resulting in bandwidth between multiple traffic flows. Unbalanced distribution and instability of traffic flow bandwidth control.
基于上述原因, 从对从网络数据流量值控制的设置优先级、 抢占度和业务流最低维持 带宽的三个维度方向提出了基于各个业务流的整体最低分配方案。 而实际的业务流传输 中, 从网络流量监测分析中发现大部分的业务流(约 80 ~ 90% )很小, 而只有很少一部分 业务流(约 10 ~ 20% )较大, 但这部分业务流却占据了大部分的网络流量(约 80%以上), 这部分占据网络打款较多的流量是关键业务流, 对于关键业务流的传输就显得很重要。 那 么在最低分配方案中就有个突出的问题, 网络业务流的数据传输优先级一般是确定的, 但 是其中某个业务流的流量也会由于用户的请求而突然增大, 这种大数据量的业务流在同等 优先级传输的情况下由于按照保证整体传输的最低带宽传输, 造成了该业务流的传输的盾 量得不到保证  For the above reasons, the overall minimum allocation scheme based on each service flow is proposed from the three dimensions of setting the priority, the preemption degree and the minimum maintenance bandwidth of the traffic flow value control. In actual traffic transmission, most of the traffic flows (about 80 ~ 90%) are small from the network traffic monitoring analysis, and only a small part of the traffic (about 10 ~ 20%) is large, but this part The traffic flow occupies most of the network traffic (about 80% or more). This part of the traffic that accounts for more network traffic is a key business flow, which is very important for the transmission of key business flows. Then there is a prominent problem in the lowest allocation scheme. The data transmission priority of the network traffic flow is generally determined, but the traffic of one of the service flows also suddenly increases due to the user's request. The traffic of the service flow is not guaranteed due to the transmission of the same priority, because the transmission of the minimum bandwidth of the overall transmission is guaranteed.
为此, 基于最低带宽传输下, 需要一种保证某些业务流的传输的流量增大的情况时自 动控制传输的方法。 发明内容 有鉴于此, 本发明实施例技术方案如下:  For this reason, based on the minimum bandwidth transmission, there is a need for a method of automatically controlling the transmission when the traffic of the transmission of certain traffic flows is increased. SUMMARY OF THE INVENTION In view of this, the technical solutions of the embodiments of the present invention are as follows:
本发明提供一种基于网络业务流的动态控制传输方法, 包括:  The invention provides a dynamic control transmission method based on network service flow, which comprises:
( 1 )、 识别在网络设备端口传输的数据类型, 所述数据类型包括基于业务传输的业务 流和基于非业务传输的非业务流, 其中所述业务流分为单业务流和多业务流; ( 2 )、 根据所述数据类型设置网络设备端口的流量传输阈值, 设定各个业务流的传输 优先级和抢占度, 其中将多业务流的端口或确定时间段内的单业务流量高于默认流量阈值 时的端口默认设置为级联端口, 根据控制级联端口之间私有协议和网络设备之间的拓朴关 系将级联端口和非级联端口进行连接; (1) identifying a data type transmitted on a network device port, where the data type includes a service flow based service flow and a non-service transmission based non-service flow, wherein the service flow is divided into a single service flow and a multi-service flow; (2) setting a traffic transmission threshold of the network device port according to the data type, and setting a transmission priority and a preemption degree of each service flow, where the port of the multi-service flow or the single service traffic within the determined time period is higher than the default. The port at the traffic threshold is set to the cascading port by default. The cascading port and the non-cascading port are connected according to the topology relationship between the private protocol and the network device between the control cascade ports.
( 3 )、 检测在预定时间段内非级联端口的业务流传输的流量, 当检测到该业务流的实 际传输流量低于其在该非级联端口设定的该业务流流量阈值时, 各个业务流根据传输优先 级和抢占度的设定传输; 当检测到该业务流的实际传输流量超过其在该非级联端口设定的 该业务流流量阈值时, 改变该业务流原先固定设置的抢占度, 并根据该业务流的优先级和 实际传输流量的比值重新设定抢占度;  (3) detecting traffic of the service flow of the non-cascading port in the predetermined time period, when detecting that the actual transmission traffic of the service flow is lower than the traffic flow threshold set by the non-cascading port, Each service flow is transmitted according to the setting of the transmission priority and the preemption degree; when it is detected that the actual transmission traffic of the service flow exceeds the traffic flow threshold set by the non-cascading port, the original fixed setting of the service flow is changed. Preemption degree, and resetting the preemption degree according to the ratio of the priority of the service flow to the actual transmission traffic;
( 4 )、 根据业务流实际传输流量与非级联端口的业务流传输优先顺序的比值的变化, 对所述原级联端口和非级联端口的业务流进行动态控制传输。  (4) dynamically controlling the traffic of the original cascade port and the non-cascading port according to the change of the ratio of the actual traffic flow of the service flow to the service flow priority of the non-cascading port.
当非级联端口传输的数据类型为多业务流时, 统计预定时间段内的所述多业务流中接 收到的各个业务流的流量值, 并与预先设定的所述各个相应业务流的输出优先级级别做比 值运算, 将比值数值最高的业务流做最优先传输;  When the data type of the non-cascading port transmission is a multi-service flow, the traffic value of each service flow received in the multi-service flow in the predetermined time period is counted, and is preset with the corresponding respective service flows. The output priority level is used as the ratio operation, and the service flow with the highest ratio value is transmitted with the highest priority;
并且, 当多业务流中的输出优先级级别最低的业务流接收到的流量值大于其预先设定 的阈值, 且与其预先设定的输出优先级级别数值做比值运算的比值最低时, 将该业务流做 预设时间段内的暂停传输。  And, when the traffic value received by the service flow with the lowest output priority level in the multi-service flow is greater than its preset threshold, and the ratio of the ratio of the output priority level value to the preset output priority level is the lowest, the The traffic flow is suspended for a preset period of time.
当非级联端口传输的数据类型为单业务流时, 统计预定时间段内的该端口接收业务的 流量值,  When the data type transmitted by the non-cascading port is a single service flow, the traffic value of the service received by the port in the predetermined time period is counted.
当该在预定时间段内的端口接收业务的流量值大于该端口的流量阈值时, 将该端口作 为级联端口, 同时根据该单业务流类型与相应类型的其它非级联端口连接。  When the traffic value of the port receiving service in the predetermined time period is greater than the traffic threshold of the port, the port is used as a cascade port, and is connected to other non-cascading ports of the corresponding type according to the single service flow type.
所述原级联端口和非级联端口的业务流进行动态控制传输时还包括: 对所述网络端口 的传输流量进行调整, 当级联端口的流量传输阈值小于非级联端口的流量传输阈值时, 调 整所述级联端口的流量传输阈值, 其中当所述非级联端口传输的数据类型为多业务流时, 所述级联端口的流量传输阈值应大于所有经过该级联端口中的比值数值最高的业务流的 最大实际传输流量。  The dynamic control transmission of the service flow of the original cascading port and the non-cascading port further includes: adjusting the transmission traffic of the network port, where the traffic transmission threshold of the cascading port is smaller than the traffic transmission threshold of the non-cascading port The traffic transmission threshold of the cascading port is adjusted, where the traffic transmission threshold of the cascading port is greater than that of all the cascading ports when the data type of the non-cascading port is multi-service flow The maximum actual transmission traffic of the service flow with the highest ratio value.
本发明提供一种基于网络业务流的动态控制传输装置, 包括:  The invention provides a dynamic control transmission device based on network traffic flow, comprising:
( 1 )、 业务流设别模块, 用于识别在网络设备端口传输的数据类型, 所述数据类型包 括基于业务传输的业务流和基于非业务传输的非业务流, 其中所述业务流根据其包括的数 据类型的种类分为单业务流和多业务流;  (1) a service flow setting module, configured to identify a data type transmitted at a network device port, where the data type includes a service flow based service flow and a non-service transmission based non-service flow, wherein the service flow is according to the The types of data types included are classified into single service flows and multi-service flows;
( 2 )、 业务流阈值设定模块, 用于根据所述数据类型设置相关网络设备端口的流量传 输阈值, 设定各个业务流的传输优先级和抢占度, 其中将多业务流的端口或确定时间段内 的单业务流量高于默认流量阈值时的端口默认设置为级联端口, 根据级联端口之间私有协 议和网络设备之间的拓朴关系将级联端口和非级联端口进行连接; (2) a service flow threshold setting module, configured to set a traffic transmission threshold of the relevant network device port according to the data type, and set a transmission priority and a preemption degree of each service flow, where the port of the multiple service flow is determined or determined. When the single-service traffic in the time period is higher than the default traffic threshold, the default setting is the cascading port, according to the private association between the cascading ports. The topology relationship between the conference and the network device connects the cascade port and the non-cascading port;
( 3 )、 业务流静态设置模块, 用于检测在预定时间段内非级联端口的业务流传输的流 量, 当检测到该业务流的实际传输流量低于其在该非级联端口设定的该业务流流量阈值 时, 各个业务流根据传输优先级和抢占度的设定传输; 当检测到该业务流的实际传输流量 超过其在该非级联端口设定的该业务流流量阈值时, 改变该业务流原先固定设置的抢占 度, 并根据该业务流的优先级和实际传输流量的比值重新设定抢占度;  (3) a service flow static setting module, configured to detect traffic of a service flow of the non-cascading port within a predetermined time period, when detecting that the actual transmission traffic of the service flow is lower than the setting of the non-cascading port When the service flow threshold is used, each service flow is transmitted according to the setting of the transmission priority and the preemption; when it is detected that the actual transmission traffic of the service flow exceeds the traffic flow threshold set by the non-cascade port Changing the preemptive degree of the service flow originally set, and resetting the preemption degree according to the ratio of the priority of the service flow to the actual transmission traffic;
( 4 )、 业务流动态设置模块, 用于根据业务流实际传输流量与非级联端口的业务流传 输优先顺序的比值的变化, 对所述原级联端口和非级联端口的业务流进行动态控制传输。  (4) a service flow dynamic setting module, configured to perform service flow of the original cascade port and the non-cascading port according to a change of a ratio of a service flow of the service flow to a service flow priority of the non-cascading port Dynamic control of transmission.
本发明通过首先识别网路传输中的各个业务流的类型, 为各个业务流的传输设定流量 阈值, 保证各个业务流能够在网络传输中的基本正常流量传输; 同时对于不断变化的各个 业务流传输釆用基于各个业务流的传输优先级与其实际传输流量的变化的对比来确定来 出现某个或某些业务流出现大流量变化的是动态控制传输的方法, 本方法既能确保业务流 的正常传输, 又能保证实际应用中的一些大流量的业务流传输, 从而保证了特定业务流需 求的服务盾量。  The invention firstly identifies the type of each service flow in the network transmission, sets a traffic threshold for the transmission of each service flow, ensures that each service flow can transmit basic normal traffic in the network transmission, and simultaneously controls the various service flows. The transmission is based on the comparison of the transmission priority of each service flow with the change of the actual transmission traffic to determine the occurrence of large traffic changes in one or some service flows, which is a dynamic control transmission method, and the method can ensure the service flow. Normal transmission can ensure the traffic flow of some large traffic in the actual application, thus ensuring the service shield of the specific service flow demand.
本发明的其它特征和优点将在随后的说明书中阐述, 并且, 部分地从说明书中变得显 而易见, 或者通过实施本发明而了解。 本发明的目的和其他优点可通过在所写的说明书、 权利要求书、 以及附图中所特别指出的结构来实现和获得。 附图说明 图 1为本发明实施例提供的基于网络业务流的动态控制方法的工作流程图; 图 2为本发明实施例提供的基于网络业务流中多业务的动态控制方法的工作流程图; 图 3为本发明实施例提供的基于网络业务流中单业务的动态控制方法的工作流程图; 图 4为本发明实施例提供的基于网络业务流的级联端口调整的工作流程图; 图 5为本发明实施例提供的基于网络业务流的动态控制传输装置的结构框图; 图 6为本发明实施例提供的基于网络业务流的动态控制装置的结构示意图。 具体实施方式 以下结合附图对本发明的实施例进行说明, 应当理解, 此处所描述的实施例仅用于说 明和解释本发明, 并不用于限定本发明。  Other features and advantages of the invention will be set forth in the description which follows, and The objectives and other advantages of the invention will be realized and attained by the <RTI BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a flowchart of a dynamic control method based on a network service flow according to an embodiment of the present invention; FIG. 2 is a flowchart of a dynamic control method for multiple services based on a network service flow according to an embodiment of the present invention; FIG. 3 is a flowchart of a method for dynamically controlling a single service based on a network service flow according to an embodiment of the present invention; FIG. 4 is a flowchart of a process for adjusting a cascade port based on a network service flow according to an embodiment of the present invention; A block diagram of a dynamic control transmission device based on a network service flow according to an embodiment of the present invention; FIG. 6 is a schematic structural diagram of a dynamic control device based on a network service flow according to an embodiment of the present invention. The embodiments of the present invention are described in the following with reference to the accompanying drawings, and the embodiments described herein are intended to illustrate and explain the invention.
以下结合附图对本发明的实施例进行说明, 应当理解, 此处所描述的实施例仅用于说 明和解释本发明, 并不用于限定本发明。  The embodiments of the present invention are described in the following with reference to the accompanying drawings, and the embodiments of the invention are intended to illustrate and explain the invention.
本发明通过首先识别网路传输中的各个业务流的类型, 为各个业务流的传输设定流量 阈值, 保证各个业务流能够在网络传输中的基本正常流量传输; 同时对于不断变化的各个 业务流传输釆用基于各个业务流的传输优先级与其实际传输流量的变化的对比来确定来 出现某个或某些业务流出现大流量变化的是动态控制传输的方法, 本方法既能确保业务流 的正常传输, 又能保证实际应用中的一些大流量的业务流传输, 从而保证了特定业务流需 求的服务盾量。 The present invention sets traffic for transmission of each service flow by first identifying the type of each service flow in the network transmission. The threshold value ensures that each service flow can transmit substantially normal traffic in the network transmission; and at the same time, for each change of the service flow, the transmission priority based on each service flow is compared with the change of the actual transmission traffic to determine that some Or a large traffic change in some service flows is a method of dynamically controlling transmission. This method can ensure the normal transmission of service flows, and can ensure the transmission of some large-traffic traffic in actual applications, thereby ensuring specific service flow requirements. The amount of service shield.
本发明的基本实施例如图 1所示, 具体步骤如下:  The basic implementation of the present invention is shown in Figure 1, and the specific steps are as follows:
本发明的实施例提供的一种基于网络业务流的动态控制方法, 包括:  A dynamic control method based on network service flow provided by an embodiment of the present invention includes:
步骤 101、 识别在网络设备端口传输的数据类型, 所述数据类型包括基于业务传输的 业务流和基于非业务传输的非业务流, 其中所述业务流根据其包括的数据类型的种类分为 单业务流和多业务流;  Step 101: Identify a data type transmitted at a network device port, where the data type includes a service flow based service flow and a non-service transmission based non-service flow, where the service flow is classified according to the type of data type included therein. Business flow and multi-service flow;
这里的识别的方式通过釆集一个流的详细数据信息包括源、 目的地址、端口号、协议、 业务类型、 起止时间、 包和字节数等, 并且通过业务流判定、 业务流分类和识别、 业务流 抽样、 业务流监控以及业务流特征分析和流量建模技术进行识别, 其中对于业务流和非业 务流, 主要通过数据包中的协议特征字设别出来, 其中的非业务流主要是指控制数据流传 输的私有协议和公用协议, 公用协议例如控制互联网组管理的 IGMP等, 而私有协议的作 用控制网络节点数据冗余传输的控制协议, 例如 PRP并联冗余协议。  The method of identification here collects detailed data information of a stream including source, destination address, port number, protocol, service type, start and end time, packet and number of bytes, etc., and through service flow determination, service flow classification and identification, Traffic flow sampling, traffic flow monitoring, and traffic flow feature analysis and traffic modeling techniques are identified. For service flows and non-service flows, the protocol feature words in the data packets are mainly identified, and the non-service flows mainly refer to A private protocol and a public protocol for controlling data stream transmission, such as IGMP, etc., which controls Internet group management, and a private protocol controls a control protocol for data redundancy transmission of a network node, such as a PRP parallel redundancy protocol.
对于单业务和多业务而言, 主要针对的是网络设备端口接收到的数据进行进一步的解 析, 这里涉及到业务流的判定和业务流分类。 其中业务流的判定一般釆用相同源和目的地 的一系列突发的数据包列识别 (将两个的包间隔时间确定为是否同一个包的标准) , 以 及同一个 TCP连接的所有数据包为同一个业务流的设别方法 (即根据 TCP协议自身的标 志,, 如 SYN和 FIN进行业务流划分)。 对于业务流区分一般根据业务流属性, 例如: 数据 传输的方向性和结束判断方法作为业务流分类的基础 , 但是需要进一步了解网络流量整体 业务流特征, 另外还必须分析业务流的其它统计特征, 例如: 业务流的大小 (字节大小和 数据包大小), 增长速率、 业务流持续时间等。  For single-service and multi-service, the main purpose is to further analyze the data received by the network device port, which involves the determination of service flow and service flow classification. The decision of the service flow is generally identified by a series of bursts of packet rows of the same source and destination (determining the interval between two packets as the same packet), and all packets of the same TCP connection. For the same service flow setting method (that is, according to the TCP protocol itself, such as SYN and FIN for service flow division). For service flow classification, it is generally based on service flow attributes, such as: directionality of data transmission and end judgment method as the basis of service flow classification, but it is necessary to further understand the overall service flow characteristics of network traffic, and must also analyze other statistical characteristics of service flow. For example: size of the traffic (byte size and packet size), growth rate, traffic duration, and so on.
例如通过对网络数据的分析,。 在业务流大小方面, 很多实际网络流量监测分析都发 现大部分的业务流(约 80 ~ 90% )很小, 而只有很少一部分业务流(约 10 ~ 20% )较大, 但这部分业务流却占据了大部分的网络流量(约 80%以上), 这部分占据网络打款较多的流 量是关键业务流, 对于关键业务流是需要优先传输。 对于关键业务流一般釆用流量值计算 法, 或业务流速率和业务流持续时间两个参数进行判断。 而对于多业务流而言主要指网络 设备的端口进行多个类型业务流进行传输。 这里的业务流类型主要指邮件或多媒体等业务 类型。  For example, through the analysis of network data. In terms of traffic flow size, many actual network traffic monitoring and analysis found that most of the traffic (about 80 ~ 90%) is small, and only a small part of the traffic (about 10 ~ 20%) is large, but this part of the business The flow occupies most of the network traffic (about 80% or more). This part of the traffic that accounts for more network traffic is a key service flow, and priority traffic is required for key service flows. For key business flows, the traffic value calculation method is used, or the service flow rate and the service flow duration are judged. For multi-service flows, the ports of the network device mainly perform multiple types of service flows for transmission. The type of service flow here mainly refers to the type of service such as mail or multimedia.
步骤 102、 根据所述数据类型设置相关网络设备端口的对应流量传输阈值, 设定各个 业务流传输优先级和抢占度, 其中将多业务流的端口或确定时间段内的单业务流量高于默 认流量阈值时的端口默认设置为级联端口, 根据控制级联端口之间私有协议和网络设备之 间的拓朴关系将级联端口和非级联端口进行连接; Step 102: Set a corresponding traffic transmission threshold of the relevant network device port according to the data type, and set a priority and a preemption degree of each service flow, where the port of the multiple service flow or the single service traffic within the determined time period is higher than the default. By default, the port is configured as a cascading port. The cascading port and the non-cascading port are connected according to the topology relationship between the private protocol and the network device between the control cascading ports.
网络设备不是单独的设备进行数据传输, 网络设备连接成链状或环网网络进行数据传 输, 无论链状网络还是环网网络这里有涉及到网络设备传输数据的冗余问题, 也就是可靠 性问题, 这里的可靠性一般都通过网络设备厂家自身的私有协议来解决, 例如 PRP冗余协 议(并联冗余协议)和 HSR协议 (高可靠性冗余环网)等。 多个网络设备连接形成的链状 网络或环网网络中负责网络端口逻辑开关的网络设备端口为连接其它网络设备的主要端 口, 一般也是多业务流传输的主要端口, 称之为级联端口, 也就是说级联端口之间连接形 成传输的骨千同, 但是大数据量的单业务流也可以是级联端口, 级联端口与非级联端口连 接, 而非级联端口通过与终端设备的连接获取业务流(包括单业务流和 /或多业务流)。  The network device is not a separate device for data transmission, and the network device is connected into a chain or ring network for data transmission. Regardless of the chain network or the ring network, there is a redundancy problem involving the transmission of data by the network device, that is, the reliability problem. The reliability here is generally solved by the network equipment manufacturer's own proprietary protocol, such as PRP redundancy protocol (parallel redundancy protocol) and HSR protocol (high reliability redundant ring network). The network device port responsible for the network port logic switch in the chain network or ring network formed by the connection of multiple network devices is the main port connecting other network devices, and is also the main port for multi-service stream transmission, which is called a cascade port. That is to say, the connection between the cascaded ports forms the transmission of the bones, but the single-service flow with a large amount of data can also be a cascade port, and the cascade port is connected to the non-cascading port instead of the cascade port and the terminal device. The connection gets the business flow (including single business flow and / or multi-service flow).
103、 检测在预定时间段内非级联端口的业务流传输的流量, 当检测到该业务流的实 际传输流量低于其在该非级联端口设定的该业务流流量阈值时, 各个业务流根据传输优先 级和抢占度的设定传输; 当检测到该业务流的实际传输流量超过其在该非级联端口设定的 该业务流流量阈值时, 改变该业务流原先固定设置的抢占度, 并将该业务流的优先级和实 际传输流量的比值重新设定抢占度;  103. Detecting traffic of a service flow of a non-cascading port in a predetermined time period, when detecting that the actual traffic flow of the service flow is lower than a traffic flow threshold set by the non-cascading port, each service The flow is transmitted according to the setting of the transmission priority and the preemption; when it is detected that the actual transmission traffic of the service flow exceeds the traffic flow threshold set by the non-cascading port, the preemption of the original fixed setting of the service flow is changed. Degree, and reset the ratio of the priority of the service flow to the actual transmission traffic;
这里的预定时间段可以使根据实际情况的认为设定, 例如: 30秒或 10分钟, 但是这个 设定时间应该比实际检测的超过流量阈值的时间要' j、。 这里流量监测的方法可以是根据因 特网编号分配管理机构的端口号进行基于端口号的流量设别; 也可以根据业务流的关键字 特征设别。  The predetermined time period here can be set according to the actual situation, for example: 30 seconds or 10 minutes, but this set time should be 'j, more than the actually detected time exceeding the flow threshold. Here, the method of traffic monitoring may be based on the port number of the Internet number assignment management authority, or may be based on the keyword characteristics of the service flow.
在非级联端口检测预设时间内的某业务流时的实际传输流量, 当实际传输流量小于该 业务流流量阈值时, 各个业务流根据传输优先级和抢占度的固定设定进行传输; 而当实际 传输流量不小于该该业务流流量阈值时, 应该根据该业务流的优先级和实际传输流量的比 值重新设定抢占度。  When the non-cascading port detects the actual transmission traffic of a certain service flow within a preset time, when the actual transmission traffic is smaller than the traffic flow threshold, each service flow is transmitted according to a fixed setting of the transmission priority and the preemption degree; When the actual traffic flow is not less than the traffic flow threshold, the preemption should be reset according to the ratio of the priority of the traffic flow to the actual traffic flow.
这里的抢占度表明在分配过程中, 在网络剩余带宽允许的情况下, 该类型所有业务流 能够获得的实际带宽占类型中所有业务流的输入带宽的比例, 抢占度的值 0 <并且 < 1.  The preemption here indicates the ratio of the actual bandwidth that all traffic of this type can obtain to the input bandwidth of all traffic flows in the type in the allocation process, with the remaining bandwidth of the network allowed. The value of the preemption is 0 < and < 1 .
104、 根据业务流实际传输流量与非级联端口的业务流传输优先顺序的比值的变化, 对所述原级联端口和非级联端口的业务流进行动态控制传输。  104. Perform dynamic control transmission on the service flows of the original cascade port and the non-cascading port according to the change of the ratio of the actual traffic flow of the service flow to the service flow priority of the non-cascading port.
由于现有的技术方案是从网络数据流量值控制的设置优先级、 抢占度和业务流最低维 持带宽的三个维度方向提出了基于各个业务流的整体最低分配方案, 业务流的传输时根据 预先设定的优先级来设置该业务流使用的流量大小, 同时保证各个业务流的最低维持带 宽, 也就是说业务流在传输过程的流量基本上是确定的, 在整个业务流流量需求很大的时 候就无法保证关键业务流的流量, 本方案中釆用了根据业务流实际传输流量与非级联端口 的业务流传输优先顺序的比值进行重新设定抢占度, 而这里的抢占度是个动态的数据, 因 为业务流实际传输流量是动态传输的, 也确保了优先级高的大数据流的最优传输。 Since the existing technical solution proposes an overall minimum allocation scheme based on each service flow from three dimension directions of setting priority of the network data traffic value, preemption degree, and minimum maintenance bandwidth of the service flow, the transmission of the service flow is based on the advance Set the priority to set the traffic size used by the service flow, and ensure the minimum maintenance bandwidth of each service flow, that is, the traffic of the service flow in the transmission process is basically determined, and the traffic demand of the entire service flow is large. At this time, the traffic of the key service flow cannot be guaranteed. In this solution, the ratio of the actual traffic flow of the service flow to the service flow priority of the non-cascading port is used to reset the preemption, and the preemption here is dynamic. Data, because The actual transmission traffic for the traffic flow is dynamically transmitted, and the optimal transmission of the high priority traffic with high priority is also ensured.
基于基本实施例, 进一步, 如图 2所示为本发明实施例提供的基于网络业务流中多业 务的动态控制方法的工作流程图。  Based on the basic embodiment, further, FIG. 2 is a flowchart of a dynamic control method based on multiple services in a network service flow according to an embodiment of the present invention.
当非级联端口传输的数据类型为多业务流时, 统计预定时间段内的所述多业务流中接 收到的各个业务流的流量值, 并与预先设定的所述各个相应业务流的输出优先级级别做比 值运算, 将比值数值最高的业务流做最优先传输;  When the data type of the non-cascading port transmission is a multi-service flow, the traffic value of each service flow received in the multi-service flow in the predetermined time period is counted, and is preset with the corresponding respective service flows. The output priority level is used as the ratio operation, and the service flow with the highest ratio value is transmitted with the highest priority;
并且, 当多业务流中的输出优先级级别最低的业务流接收到的流量值大于其预先设定 的阈值, 且与其预先设定的输出优先级级别数值做比值运算的比值最低时, 将该业务流做 预设时间段内的暂停传输。  And, when the traffic value received by the service flow with the lowest output priority level in the multi-service flow is greater than its preset threshold, and the ratio of the ratio of the output priority level value to the preset output priority level is the lowest, the The traffic flow is suspended for a preset period of time.
如图 2所示, 具体步骤是:  As shown in Figure 2, the specific steps are:
201 : 统计预定时间段内的所述多业务流中接收到的各个业务流的流量值, 并与预先 设定的所述各个相应业务流的输出优先级级别做比值运算;  201: Calculate a traffic value of each service flow received in the multiple service flow in a predetermined time period, and perform a ratio operation with a preset output priority level of each of the corresponding service flows;
202: 将比值数值最高的业务流做最优先传输;  202: The service flow with the highest ratio value is transmitted with the highest priority;
203: 并且, 当多业务流中的输出优先级级别最低的业务流接收到的流量值大于其预 先设定的阈值, 且与其预先设定的输出优先级级别数值做比值运算的比值最低时, 将该业 务流做预设时间段内的暂停传输  203: When, when the traffic value received by the service flow with the lowest output priority level in the multi-service flow is greater than its preset threshold, and the ratio of the ratio of the output priority level to the preset output priority level is the lowest, Pausing the service flow as a pause transmission within a preset time period
本步骤中, 对于非级联端中传输的多业务流, 例如传输的是视频、 邮件和釆样三种业 务流, 分别的传输优先级为 1、 2和 3 , 抢占度分别也是 0.4, , 0.4, 0.3 , 经过预定时间的检 测, 邮件和釆用业务流量值超过设定阈值, 而视频低于其阈值, 此时实际检测流量分别为 2M, 20M, 15M,那么根据该业务流的实际传输流量和优先级的比值分别是 2, 10和 5 ,此时, 邮件业务流是大业务流, 也就是关键业务流, 应该确保优先传输; 另外如果此时实际检测 流量分别是 2M, 20M, 3M, 那么根据该业务流的实际传输流量和优先级的比值分别是 2, 10 和 1 , 此时, 釆用业务流作为原传输优先级最低, 并且业务流的实际传输流量和优先级的 比值最低, 那么将该业务流暂停, 实际这个时间很多, 因为正常关键业务流也是在短暂的 时间段内突发性传输的, 如果在实际中的业务流经过出现暂停传输的情况的话, 说明设定 的优先级的不合理。 这里需要 #>据实际情况重新设定。 基于基本实施例, 进一步地, 如图 3所示为本发明实施例提供的基于网络业务流中单 业务的动态控制方法的工作流程图。  In this step, for the multi-service flow transmitted in the non-cascading end, for example, three kinds of service streams of video, mail, and sample are transmitted, and the transmission priorities are 1, 2, and 3 respectively, and the preemption degree is also 0.4, respectively. 0.4, 0.3, after the predetermined time detection, the mail and service traffic value exceeds the set threshold, and the video is lower than the threshold. At this time, the actual detected traffic is 2M, 20M, 15M, then the actual transmission according to the service flow The ratio of traffic to priority is 2, 10, and 5 respectively. At this time, the mail service flow is a large service flow, that is, a key service flow, and priority transmission should be ensured. In addition, if the actual detection traffic is 2M, 20M, 3M respectively. Then, according to the actual transmission traffic and the priority ratio of the service flow are 2, 10 and 1, respectively, at this time, the service flow is used as the original transmission priority is the lowest, and the actual transmission traffic and the priority ratio of the service flow are the lowest. , then suspend the traffic flow, the actual time is a lot, because the normal critical service flow is also bursty transmission in a short period of time, if the actual traffic In the case of a pause in transmission, the priority of the setting is unreasonable. Here you need to #> reset according to the actual situation. Based on the basic embodiment, further, as shown in FIG. 3, it is a working flowchart of a dynamic control method based on a single service in a network service flow according to an embodiment of the present invention.
当非级联端口传输的数据类型为单业务流时, 统计预定时间段内的该端口接收业务的 流量值, 当该在预定时间段内的端口接收业务的流量值大于该端口的流量阈值时, 将该端 口作为级联端口, 同时根据该单业务流类型与相应类型的其它非级联端口连接。  When the data type of the non-cascading port is a single service flow, the traffic value of the service received by the port in the predetermined time period is counted, and when the traffic value of the port receiving service in the predetermined time period is greater than the traffic threshold of the port The port is used as a cascade port, and is connected to other non-cascading ports of the corresponding type according to the single service flow type.
如图 3所示, 本步骤如下: 301 : 统计预定时间段内的该端口接收业务的流量值; As shown in Figure 3, this step is as follows: 301: Counting the traffic value of the service received by the port in the predetermined time period;
302: 当该在预定时间段内的端口接收业务的流量值大于该端口的流量阈值时, 将该 端口作为级联端口;  302: When the traffic value of the port receiving service in the predetermined time period is greater than the traffic threshold of the port, the port is used as a cascading port;
303 : 同时根据该单业务流类型与相应类型的其它非级联端口连接。  303: Simultaneously connect with other non-cascading ports of the corresponding type according to the single service flow type.
由于非级联端口传输的业务流可能是单业务流, 此时, 釆用不同与多业务流的处理方 式, 本方案釆用将转为级联端口继续传输本类型的业务流, 可以减少网络端口的设别的难  The service flow transmitted by the non-cascading port may be a single service flow. In this case, different and multiple service flows are used. This solution will be converted to a cascade port to continue to transmit this type of service flow, which can reduce the network. Difficult to set the port
进一步地, 如图 4所示为本发明实施例提供的基于网络业务流的级联端口调整的工作 流程图, 所述原级联端口和非级联端口的数据流流量进行传输控制时还包括: 对所述网络 端口的传输流量进行调整, 当级联端口的流量传输阈值小于非级联端口的流量传输阈值 时, 调整所述级联端口的流量传输阈值, 其中当所述非级联端口传输的数据类型为多业务 流时, 所述级联端口的流量传输阈值应大于所有经过该级联端口中的比值数值最高的业务 流的最大实际传输流量。 Further, as shown in FIG. 4, the working flow chart of the cascading port adjustment based on the network service flow is provided in the embodiment of the present invention, and the data flow of the original cascading port and the non-cascading port is further included in the transmission control. Adjusting the transmission traffic of the network port, and adjusting the traffic transmission threshold of the cascade port when the traffic transmission threshold of the expansion port is smaller than the traffic transmission threshold of the non-cascading port, where the non-cascading port is When the data type of the transmission is multi-service flow, the traffic transmission threshold of the cascade port should be greater than the maximum actual transmission traffic of all service flows that have the highest ratio value in the cascade port.
本步骤如下:  This step is as follows:
401 : 对所述网络端口的传输流量进行调整;  401: Adjust transmission traffic of the network port;
402: 当级联端口的流量传输阈值小于非级联端口的流量传输阈值时,调整所述级联端 口的流量传输阈值;  402: Adjust a traffic transmission threshold of the cascading port when a traffic transmission threshold of the cascading port is smaller than a traffic transmission threshold of the cascading port;
403 : 其中当所述非级联端口传输的数据类型为多业务流时,所述级联端口的流量传输 阈值应大于所有经过该级联端口中的比值数值最高的业务流的最大实际传输流量.  403: wherein, when the data type of the non-cascading port is a multi-service flow, the traffic transmission threshold of the cascade port is greater than the maximum actual traffic of all service flows that have the highest ratio value in the cascade port. .
一般情况下, 级联端口的流量传输阈值要比非级联端口流量阈值大, 但是如果由于私 有协议(例如冗余协议)根据链路的冗余要求, 将非级联端口设定为级联端口, 此时, 非 级联端口的阈值要小于级联端口的阈值, 在实际网络传输中是不允许的, 为此, 新的级联 端口的阈值设定应该大于经过实际传输流量和优先级的比值最高的业务流的阈值之和, 网络设备端口的硬件设备不可能是无限制地进行流量传输, 因此, 需要对网路端口传 输的流量进行限制, 确保数据流安全传输。 一般情况而言, 网络中大流量的业务流是偶发 性的, 网络传输中应该确定数据流传输的平滑性, 为此, 应确保级联端口的阈值设定应该 大于经过实际传输流量和优先级的比值最高的业务流的阈值之和, 也就是说确保级联端口 可以传输某业务流出现的大数据量。 当然, 如果同时另外的大数据流时, 需要在级联端口 进行业务流的优先级传输比较, 确保网络端口不会因为数据拥塞而瘫痪。  In general, the traffic transmission threshold of the cascade port is larger than the non-cascading port traffic threshold, but if the private protocol (such as the redundancy protocol) is based on the redundancy requirement of the link, the non-cascading port is set to cascade. Port, at this time, the threshold of the non-cascading port is smaller than the threshold of the cascade port, which is not allowed in actual network transmission. For this reason, the threshold setting of the new cascade port should be greater than the actual transmission traffic and priority. The sum of the thresholds of the service flow with the highest ratio, the hardware device of the network device port cannot transmit traffic without restriction. Therefore, the traffic transmitted by the network port needs to be restricted to ensure the secure transmission of the data stream. In general, the traffic of large traffic in the network is sporadic. The smoothness of data transmission should be determined in the network transmission. To this end, ensure that the threshold setting of the cascade port should be greater than the actual transmission traffic and priority. The sum of the thresholds of the service flow with the highest ratio, that is, to ensure that the cascade port can transmit the large amount of data that occurs in a service flow. Of course, if there is another big data stream at the same time, you need to compare the priority transmission of the service flow on the cascade port to ensure that the network port will not be paralyzed due to data congestion.
图 5示出了本发明实施例提供的基于网络业务流的动态控制传输装置的结构框图, 图 5 所示装置与图 1所示步骤相对应, 相关说明不再赘述, 该装置包括:  FIG. 5 is a structural block diagram of a dynamic control transmission apparatus based on a network service flow according to an embodiment of the present invention. The apparatus shown in FIG. 5 corresponds to the steps shown in FIG. 1, and the related description is not described again. The apparatus includes:
业务流设别模块 501 , 用于识别在网络设备端口传输的数据类型, 所述数据类型包括 基于业务传输的业务流和基于非业务传输的非业务流, 其中所述业务流根据其包括的数据 类型的种类分为单业务流和多业务流; a service flow setting module 501, configured to identify a data type transmitted at a network device port, where the data type includes a service flow based service flow and a non-service flow based non-service flow, wherein the service flow is classified into a single service flow and a multi-service flow according to the type of the data type included therein;
业务流阈值设定模块 502 , 用于根据所述数据类型设置相关网络设备端口的流量传输 阈值, 设定各个业务流的传输优先级和抢占度, 其中将多业务流的端口或确定时间段内的 单业务流量高于默认流量阈值时的端口默认设置为级联端口, 根据级联端口之间私有协议 和网络设备之间的拓朴关系将级联端口和非级联端口进行连接;  The service flow threshold setting module 502 is configured to set a traffic transmission threshold of the relevant network device port according to the data type, and set a transmission priority and a preemption degree of each service flow, where the port of the multiple service flow or the determined time period When the single-service traffic is higher than the default traffic threshold, the default setting is the cascading port. The cascading port and the non-cascading port are connected according to the topology relationship between the private protocol and the network device between the cascading ports.
业务流静态设置模块 503 , 用于检测在预定时间段内非级联端口的业务流传输的流量, 当检测到该业务流的实际传输流量低于其在该非级联端口设定的该业务流流量阈值时, 各 个业务流根据传输优先级和抢占度的设定传输; 当检测到该业务流的实际传输流量超过其 在该非级联端口设定的该业务流流量阈值时, 改变该业务流原先固定设置的抢占度, 并根 据该业务流的优先级和实际传输流量的比值重新设定抢占度;  The service flow static setting module 503 is configured to detect traffic of the service flow of the non-cascading port within a predetermined time period, and when detecting that the actual traffic flow of the service flow is lower than the service set by the non-cascading port When the traffic flow threshold is used, each service flow is transmitted according to the setting of the transmission priority and the preemption degree; when it is detected that the actual transmission traffic of the service flow exceeds the traffic flow threshold set by the non-cascading port, the service flow is changed. The traffic flow is originally fixedly set to the preemption degree, and the preemption degree is reset according to the ratio of the priority of the service flow to the actual transmission traffic;
业务流动态设置模块 504 , 用于根据业务流实际传输流量与非级联端口的业务流传输 优先顺序的比值的变化, 对所述原级联端口和非级联端口的业务流进行动态控制传输。  The service flow dynamic setting module 504 is configured to dynamically control the service flow of the original cascade port and the non-cascading port according to the change of the ratio of the actual traffic flow of the service flow to the service flow priority of the non-cascading port. .
则, 进一步地, 如图 6所示为本发明实施例提供的基于网络业务流的动态控制装置的 结构示意图, 图 6所示装置与图 2所示步骤相对应, 相关说明不再赘述, 本发明实施例提供 的业务流动态设置模块还包括, 业务流比值数值最高模块, 用于当非级联端口传输的数据 类型为多业务流时, 统计预定时间段内的所述多业务流中接收到的各个业务流的流量值, 并与预先设定的所述各个相应业务流的输出优先级级别做比值运算, 将比值数值最高的业 务流做最优先传输; 业务流比值数值最低模块, 用于当多业务流中的输出优先级级别最低 的业务流接收到的流量值大于其预先设定的阈值, 且与其预先设定的输出优先级级别数值 做比值运算的比值最低时, 将该业务流做预设时间段内的暂停传输。  Further, FIG. 6 is a schematic structural diagram of a network traffic flow-based dynamic control apparatus according to an embodiment of the present invention, and the apparatus shown in FIG. 6 corresponds to the steps shown in FIG. 2, and the related description is not repeated herein. The service flow dynamic setting module provided by the embodiment of the invention further includes: a service flow ratio value highest module, configured to: when the data type transmitted by the non-cascading port is a multi-service flow, receive the multi-service flow in the predetermined time period for receiving The traffic value of each service flow to be compared with the output priority level of each corresponding service flow preset, and the service flow with the highest ratio value is transmitted with the highest priority; the service flow ratio value is the lowest module, When the traffic value received by the service flow with the lowest output priority level in the multi-service flow is greater than its preset threshold, and the ratio of the ratio of the output priority level to the preset output priority level is the lowest, the service is The stream is paused for transmission within a preset time period.
则进一步地, 所述业务流动态设置模块还包括, 当非级联端口传输的数据类型为单业 务流时, 统计预定时间段内的该端口接收业务的流量值, 当该在预定时间段内的端口接收 业务的流量值大于该端口的流量阈值时, 将该端口作为级联端口, 同时根据该单业务流类 型与相应类型的其它非级联端口连接。  Further, the service flow dynamic setting module further includes: when the data type transmitted by the non-cascading port is a single service flow, counting the traffic value of the service received by the port in the predetermined time period, when the predetermined time period is When the traffic value of the port receiving service is greater than the traffic threshold of the port, the port is used as a cascade port, and is connected to other non-cascading ports of the corresponding type according to the single service flow type.
由于非级联端口传输的业务流可能是单业务流, 此时, 釆用不同与多业务流的处理方 式, 本方案釆用将转为级联端口继续传输本类型的业务流, 可以减少网络端口的设别的难 度。  The service flow transmitted by the non-cascading port may be a single service flow. In this case, different and multiple service flows are used. This solution will be converted to a cascade port to continue to transmit this type of service flow, which can reduce the network. The difficulty of setting the port.
则, 进一步地, 所述业务流动态设置模块还包括, 对所述网络端口的传输流量进行调 整, 当级联端口的流量传输阈值小于非级联端口的流量传输阈值时, 调整所述级联端口的 流量传输阈值, 其中当所述非级联端口传输的数据类型为多业务流时, 所述级联端口的流 量传输阈值应大于所有经过该级联端口中的比值数值最高的业务流的最大实际传输流量。  Then, the service flow dynamic setting module further includes: adjusting the transmission traffic of the network port, and adjusting the cascading when the traffic transmission threshold of the cascading port is smaller than the traffic transmission threshold of the non-cascading port The traffic transmission threshold of the port, wherein when the data type of the non-cascading port is a multi-service flow, the traffic transmission threshold of the cascade port is greater than the service flow with the highest ratio value among the cascade ports. Maximum actual transmission traffic.
一般情况下, 级联端口的流量传输阈值要比非级联端口流量阈值大, 但是如果由于私 有协议(例如冗余协议)根据链路的冗余要求, 将非级联端口设定为级联端口, 此时, 非 级联端口的阈值要小于级联端口的阈值, 在实际网络传输中是不允许的, 为此, 新的级联 端口的阈值设定应该大于经过实际传输流量和优先级的比值最高的业务流的阈值之和。 In general, the traffic transmission threshold of the cascade port is larger than the non-cascading port traffic threshold, but if it is private A protocol (such as a redundancy protocol) sets a non-cascading port as a cascading port according to the redundancy requirement of the link. In this case, the threshold of the non-cascading port is smaller than the threshold of the cascading port, in actual network transmission. It is not allowed. For this reason, the threshold setting of the new cascade port should be greater than the sum of the thresholds of the service flow with the highest ratio of the actual transmission traffic and the priority.
网络设备端口的硬件设备不可能是无限制地进行流量传输, 因此, 需要对网路端口传 输的流量进行限制, 确保数据流安全传输。 一般情况而言, 网络中大流量的业务流是偶发 性的, 网络传输中应该确定数据流传输的平滑性, 为此, 应确保级联端口的阈值设定应该 大于经过实际传输流量和优先级的比值最高的业务流的阈值之和, 也就是说确保级联端口 可以传输某业务流出现的大数据量。 当然, 如果同时另外的大数据流时, 需要在级联端口 进行业务流的优先级传输比较, 确保网络端口不会因为数据拥塞而瘫痪。  The hardware device of the network device port cannot be used for unlimited traffic transmission. Therefore, it is necessary to limit the traffic transmitted by the network port to ensure the secure transmission of the data stream. In general, the traffic of large traffic in the network is sporadic. The smoothness of data transmission should be determined in the network transmission. To this end, ensure that the threshold setting of the cascade port should be greater than the actual transmission traffic and priority. The sum of the thresholds of the service flow with the highest ratio, that is, to ensure that the cascade port can transmit the large amount of data that occurs in a service flow. Of course, if there is another big data stream at the same time, you need to compare the priority transmission of the service flow on the cascade port to ensure that the network port will not be paralyzed due to data congestion.
本领域普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通 过程序来指令相关的硬件完成, 所述的程序可以存储于一种计算机可读存储介盾中, 该程 序在执行时, 包括方法实施例的步骤之一或其组合。  A person skilled in the art can understand that all or part of the steps carried by the method of the foregoing embodiment can be completed by a program to instruct related hardware, and the program can be stored in a computer readable storage medium, and the program is executed. Including one or a combination of the steps of the method embodiments.
另外, 在本发明各个实施例中的各功能单元可以集成在一个处理模块中, 也可以是各 个单元单独物理存在, 也可以两个或两个以上单元集成在一个模块中。 上述集成的模块既 可以釆用硬件的形式实现, 也可以釆用软件功能模块的形式实现。 所述集成的模块如果以 软件功能模块的形式实现并作为独立的产品销售或使用时, 也可以存储在一个计算机可读 取存储介盾中。  In addition, each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. The integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或计算机程序产 品。 因此, 本发明可釆用完全硬件实施例、 完全软件实施例、 或结合软件和硬件方面的实 施例的形式。 而且, 本发明可釆用在一个或多个其中包含有计算机可用程序代码的计算机 可用存储介盾 (包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形 式。  Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the present invention is in the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) in which computer usable program code is embodied.
本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序产品的流程图 和 /或方框图来描述的。 应理解可由计算机程序指令实现流程图和 /或方框图中的每一流 程和 /或方框、 以及流程图和 /或方框图中的流程和 /或方框的结合。 可提供这些计算机 程序指令到通用计算机、 专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器 以产生一个机器, 使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用 于实现在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的 装置。  The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each process and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方 式工作的计算机可读存储器中, 使得存储在该计算机可读存储器中的指令产生包括指令装 置的制造品, 该指令装置实现在流程图一个流程或多个流程和 /或方框图一个方框或多个 方框中指定的功能。 这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上, 使得在计算机 或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理, 从而在计算机或其他 可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和 /或方框图一个 方框或多个方框中指定的功能的步骤。 The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart. These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
显然, 本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和 范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。  It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention

Claims

权 利 要 求 Rights request
1、 一种基于网络业务流的动态控制传输方法, 其特征在于, 包括: 1. A dynamic control transmission method based on network business flow, which is characterized by including:
( 1 )、 识别在网络设备端口传输的数据类型, 所述数据类型包括基于业务传输的业务 流和基于非业务传输的非业务流, 其中所述业务流分为单业务流和多业务流; (1) Identify the data type transmitted at the network device port. The data type includes a service flow based on service transmission and a non-service flow based on non-service transmission, wherein the service flow is divided into a single service flow and a multi-service flow;
( 2 )、 根据所述数据类型设置网络设备端口的流量传输阈值, 设定各个业务流的传输 优先级和抢占度, 其中将多业务流的端口或确定时间段内的单业务流量高于默认流量阈值 时的端口默认设置为级联端口, 根据控制级联端口之间私有协议和网络设备之间的拓朴关 系将级联端口和非级联端口进行连接; (2). Set the traffic transmission threshold of the network device port according to the data type, and set the transmission priority and preemption degree of each service flow, in which the port of multiple service flows or the single service flow within a certain time period is set to be higher than the default The port at the traffic threshold is set to the cascade port by default, and the cascade port and the non-cascade port are connected according to the topological relationship between the private protocol between the control cascade ports and the network devices;
( 3 )、 检测在预定时间段内非级联端口的业务流传输的流量, 当检测到该业务流的实 际传输流量低于其在该非级联端口设定的该业务流流量阈值时, 各个业务流根据传输优先 级和抢占度的设定传输; 当检测到该业务流的实际传输流量超过其在该非级联端口设定的 该业务流流量阈值时, 改变该业务流原先固定设置的抢占度, 并根据该业务流的优先级和 实际传输流量的比值重新设定抢占度; (3) Detect the traffic transmitted by the service flow of the non-cascade port within a predetermined time period. When it is detected that the actual transmission traffic of the service flow is lower than the traffic threshold of the service flow set on the non-cascade port, Each service flow is transmitted according to the settings of transmission priority and preemption degree; when it is detected that the actual transmission traffic of the service flow exceeds the traffic threshold of the service flow set on the non-cascade port, the original fixed settings of the service flow are changed. preemption degree, and reset the preemption degree based on the ratio of the priority of the service flow and the actual transmission traffic;
( 4 )、 根据业务流实际传输流量与非级联端口的业务流传输优先顺序的比值的变化, 对所述原级联端口和非级联端口的业务流进行动态控制传输。 (4). Dynamically control and transmit the service flows of the original cascade port and the non-cascade port according to changes in the ratio of the actual transmission traffic of the service flow to the service flow transmission priority of the non-cascade port.
2、 根据权利要求 1所述的方法, 其特征在于: 当非级联端口传输的数据类型为多业 务流时, 统计预定时间段内的所述多业务流中接收到的各个业务流的流量值, 并与预先设 定的所述各个相应业务流的输出优先级级别做比值运算, 将比值数值最高的业务流做最优 先传输; 2. The method according to claim 1, characterized in that: when the data type transmitted by the non-cascade port is multiple service flows, counting the traffic of each service flow received in the multiple service flows within a predetermined time period value, and perform a ratio calculation with the preset output priority level of each corresponding service flow, and the service flow with the highest ratio value is transmitted with the highest priority;
并且, 当多业务流中的输出优先级级别最低的业务流接收到的流量值大于其预先设定 的阈值, 且与其预先设定的输出优先级级别数值做比值运算的比值最低时, 将该业务流做 预设时间段内的暂停传输。 Moreover, when the traffic value received by the service flow with the lowest output priority level among the multiple service flows is greater than its preset threshold, and the ratio of its preset output priority level value is the lowest, the traffic flow value will be the lowest. The business flow pauses transmission within a preset time period.
3、 根据权利要求 1所述的方法, 其特征在于: 当非级联端口传输的数据类型为单业务 流时, 统计预定时间段内的该端口接收业务的流量值, 3. The method according to claim 1, characterized in that: when the data type transmitted by the non-cascade port is a single service flow, counting the traffic value of the service received by the port within a predetermined time period,
当该在预定时间段内的端口接收业务的流量值大于该端口的流量阈值时, 将该端口作 为级联端口, 同时根据该单业务流类型与相应类型的其它非级联端口连接。 When the traffic value of the port receiving services within the predetermined time period is greater than the traffic threshold of the port, the port is used as a cascade port and is connected to other non-cascade ports of the corresponding type according to the single service flow type.
4、 根据权利要求 1 , 2或 3所述的方法, 其特征在于: 所述原级联端口和非级联端口的 业务流进行动态控制传输时还包括: 对所述网络端口的传输流量进行调整, 当级联端口的 流量传输阈值小于非级联端口的流量传输阈值时, 调整所述级联端口的流量传输阈值, 其 中当所述非级联端口传输的数据类型为多业务流时, 所述级联端口的流量传输阈值应大于 所有经过该级联端口中的比值数值最高的业务流的最大实际传输流量。 4. The method according to claim 1, 2 or 3, characterized in that: dynamically controlling the transmission of the service flows of the original cascade port and the non-cascade port further includes: performing transmission traffic on the network port. Adjust, when the traffic transmission threshold of the cascade port is smaller than the traffic transmission threshold of the non-cascade port, adjust the traffic transmission threshold of the cascade port, wherein when the data type transmitted by the non-cascade port is multiple service flows, The traffic transmission threshold of the cascade port should be greater than the maximum actual transmission traffic of all service flows with the highest ratio value passing through the cascade port.
5、 一种基于网络业务流的动态控制传输装置, 其特征在于, 包括: 5. A dynamic control transmission device based on network business flow, characterized by including:
( 1 )、 业务流设别模块, 用于识别在网络设备端口传输的数据类型, 所述数据类型包 括基于业务传输的业务流和基于非业务传输的非业务流, 其中所述业务流根据其包括的数 据类型的种类分为单业务流和多业务流; (1), business flow identification module, used to identify the data type transmitted at the network device port, the data type package Including service flows based on service transmission and non-service flows based on non-service transmission, wherein the service flows are divided into single service flows and multiple service flows according to the types of data types they include;
( 2 )、 业务流阈值设定模块, 用于根据所述数据类型设置相关网络设备端口的流量传 输阈值, 设定各个业务流的传输优先级和抢占度, 其中将多业务流的端口或确定时间段内 的单业务流量高于默认流量阈值时的端口默认设置为级联端口, 根据级联端口之间私有协 议和网络设备之间的拓朴关系将级联端口和非级联端口进行连接; (2), a business flow threshold setting module, used to set the traffic transmission threshold of the relevant network device port according to the data type, and set the transmission priority and preemption degree of each business flow, in which the ports of multiple business flows are determined. When the single service traffic within a time period is higher than the default traffic threshold, the port is set as a cascade port by default. The cascade port and the non-cascade port are connected according to the private protocol between the cascade ports and the topological relationship between the network devices. ;
( 3 )、 业务流静态设置模块, 用于检测在预定时间段内非级联端口的业务流传输的流 量, 当检测到该业务流的实际传输流量低于其在该非级联端口设定的该业务流流量阈值 时, 各个业务流根据传输优先级和抢占度的设定传输; 当检测到该业务流的实际传输流量 超过其在该非级联端口设定的该业务流流量阈值时, 改变该业务流原先固定设置的抢占 度, 并根据该业务流的优先级和实际传输流量的比值重新设定抢占度; (3). The business flow static setting module is used to detect the traffic transmitted by the business flow of the non-cascading port within a predetermined time period. When it is detected that the actual transmission traffic of the business flow is lower than its setting on the non-cascading port When the traffic threshold of the service flow is exceeded, each service flow is transmitted according to the settings of the transmission priority and preemption degree; when it is detected that the actual transmission traffic of the service flow exceeds the traffic threshold of the service flow set on the non-cascade port , change the originally fixed preemption degree of the business flow, and reset the preemption degree according to the ratio of the priority of the business flow and the actual transmission traffic;
( 4 )、 业务流动态设置模块, 用于根据业务流实际传输流量与非级联端口的业务流传 输优先顺序的比值的变化, 对所述原级联端口和非级联端口的业务流进行动态控制传输。 (4). The business flow dynamic setting module is used to set the business flow of the original cascading port and the non-cascading port according to the change in the ratio of the actual transmission traffic of the business flow and the business flow transmission priority of the non-cascading port. Dynamic control transfer.
6、 根据权利要求 5所述的装置, 其特征在于: 所述业务流动态设置模块还包括, 务流 比值数值最高模块, 用于当非级联端口传输的数据类型为多业务流时, 统计预定时间段内 的所述多业务流中接收到的各个业务流的流量值, 并与预先设定的所述各个相应业务流的 输出优先级级别做比值运算, 将比值数值最高的业务流做最优先传输; 6. The device according to claim 5, characterized in that: the service flow dynamic setting module further includes a module with the highest service flow ratio value, used for statistics when the data type transmitted by the non-cascade port is multiple service flows. The traffic value of each service flow received in the multi-service flow within the predetermined time period is compared with the preset output priority level of each corresponding service flow, and the service flow with the highest ratio value is highest priority transmission;
务流比值数值最低模块, 用于当多业务流中的输出优先级级别最低的业务流接收到的 流量值大于其预先设定的阈值, 且与其预先设定的输出优先级级别数值做比值运算的比值 最低时, 将该业务流做预设时间段内的暂停传输。 The module with the lowest service flow ratio value is used when the service flow with the lowest output priority level in multiple service flows receives a traffic value greater than its preset threshold, and performs a ratio operation with its preset output priority level value. When the ratio of is the lowest, the service flow will be suspended for transmission within the preset time period.
7、 根据权利要求 5所述的装置, 其特征在于: 所述业务流动态设置模块还包括, 当非 级联端口传输的数据类型为单业务流时, 统计预定时间段内的该端口接收业务的流量值, 当该在预定时间段内的端口接收业务的流量值大于该端口的流量阈值时, 将该端口作 为级联端口, 同时根据该单业务流类型与相应类型的其它非级联端口连接。 7. The device according to claim 5, characterized in that: the service flow dynamic setting module further includes: when the data type transmitted by the non-cascade port is a single service flow, counting the services received by the port within a predetermined time period When the traffic value of the port receiving services within the predetermined time period is greater than the traffic threshold of the port, the port will be used as a cascade port. At the same time, the single service flow type will be compared with other non-cascade ports of the corresponding type. connect.
8、根据权利要求 5 , 6或 7所述的装置, 其特征在于: 所述业务流动态设置模块还包括, 对所述网络端口的传输流量进行调整, 当级联端口的流量传输阈值小于非级联端口的流量 传输阈值时, 调整所述级联端口的流量传输阈值, 其中当所述非级联端口传输的数据类型 为多业务流时, 所述级联端口的流量传输阈值应大于所有经过该级联端口中的比值数值最 高的业务流的最大实际传输流量。 8. The device according to claim 5, 6 or 7, characterized in that: the business flow dynamic setting module further includes: adjusting the transmission traffic of the network port, when the traffic transmission threshold of the cascade port is less than the non-transmission threshold. When the traffic transmission threshold of the cascade port is adjusted, the traffic transmission threshold of the cascade port is adjusted. When the data type transmitted by the non-cascade port is multiple service flows, the traffic transmission threshold of the cascade port should be greater than all The maximum actual transmission traffic of the service flow with the highest ratio in the cascade port.
PCT/CN2013/088454 2013-12-03 2013-12-03 Network service flow-based dynamic control transmission method and apparatus WO2015081502A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/088454 WO2015081502A1 (en) 2013-12-03 2013-12-03 Network service flow-based dynamic control transmission method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/088454 WO2015081502A1 (en) 2013-12-03 2013-12-03 Network service flow-based dynamic control transmission method and apparatus

Publications (1)

Publication Number Publication Date
WO2015081502A1 true WO2015081502A1 (en) 2015-06-11

Family

ID=53272733

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/088454 WO2015081502A1 (en) 2013-12-03 2013-12-03 Network service flow-based dynamic control transmission method and apparatus

Country Status (1)

Country Link
WO (1) WO2015081502A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112118597A (en) * 2019-06-19 2020-12-22 上海新岸线电子技术有限公司 Multi-stream service transmission method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360063A (en) * 2008-09-10 2009-02-04 中国科学院计算技术研究所 Service stream transmission control method and system in IP network
EP2153590B1 (en) * 2007-05-29 2010-08-25 Telefonaktiebolaget L M Ericsson (publ) Priority flow handling in stateless domains
CN102541642A (en) * 2011-12-30 2012-07-04 中国科学院软件研究所 Task management method for enhancing real-time performance
CN103634223A (en) * 2013-12-03 2014-03-12 北京东土科技股份有限公司 Network service flow based dynamic control transmission method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2153590B1 (en) * 2007-05-29 2010-08-25 Telefonaktiebolaget L M Ericsson (publ) Priority flow handling in stateless domains
CN101360063A (en) * 2008-09-10 2009-02-04 中国科学院计算技术研究所 Service stream transmission control method and system in IP network
CN102541642A (en) * 2011-12-30 2012-07-04 中国科学院软件研究所 Task management method for enhancing real-time performance
CN103634223A (en) * 2013-12-03 2014-03-12 北京东土科技股份有限公司 Network service flow based dynamic control transmission method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112118597A (en) * 2019-06-19 2020-12-22 上海新岸线电子技术有限公司 Multi-stream service transmission method and system
CN112118597B (en) * 2019-06-19 2023-11-24 上海新岸线电子技术有限公司 Multi-stream service transmission method and system

Similar Documents

Publication Publication Date Title
US11032205B2 (en) Flow control method and switching device
US9819590B2 (en) Method and apparatus for notifying network abnormality
WO2019223553A1 (en) Network traffic identification method and related device
WO2019033857A1 (en) Packet control method and network device
WO2009138000A1 (en) Method, device and system for controlling network flow
US11606448B2 (en) Efficient capture and streaming of data packets
WO2012065477A1 (en) Method and system for avoiding message congestion
WO2008095397A1 (en) Traffic scheduling method and apparatus thereof
CN101547159A (en) Method and device for preventing network congestion
WO2015044719A1 (en) Apparatus for optimising a configuration of a communications network device
TW201312969A (en) Dynamic bandwidth re-allocation
WO2017186070A1 (en) Traffic shaping method, controller, network device, and traffic shaping system
WO2015149460A1 (en) Fiber channel over ethernet flow control method, device and system
CN103634223B (en) A kind of dynamic control transmission method based on network service flow and device
WO2010124516A1 (en) Method and device for scheduling data communication input ports
WO2015172373A1 (en) Data processing method and apparatus for openflow network
US8867350B2 (en) Method and apparatus for packet buffering measurement
WO2024021495A1 (en) Method and apparatus for identifying flooding attack in cloud platform, and device and storage medium
WO2017000861A1 (en) Method and apparatus for learning mac address in virtual local area network of switch
CN103200112A (en) Computer network transmission control protocol (TCP) flow control method
TW490964B (en) Unifed algorithm for frame scheduling and buffer management in differentiated services networks
WO2015081502A1 (en) Network service flow-based dynamic control transmission method and apparatus
CN107404454A (en) Speech quality method of adjustment and device
CN108199975A (en) A kind of flow control methods and device
CN111385667A (en) Video data processing method, device and computer readable storage medium

Legal Events

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

Ref document number: 13898723

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13898723

Country of ref document: EP

Kind code of ref document: A1