WO2024067382A1 - Operations, administration and maintenance task processing method, and electronic device and computer-readable medium - Google Patents

Operations, administration and maintenance task processing method, and electronic device and computer-readable medium Download PDF

Info

Publication number
WO2024067382A1
WO2024067382A1 PCT/CN2023/120582 CN2023120582W WO2024067382A1 WO 2024067382 A1 WO2024067382 A1 WO 2024067382A1 CN 2023120582 W CN2023120582 W CN 2023120582W WO 2024067382 A1 WO2024067382 A1 WO 2024067382A1
Authority
WO
WIPO (PCT)
Prior art keywords
task
aggregation
band detection
information
flow
Prior art date
Application number
PCT/CN2023/120582
Other languages
French (fr)
Chinese (zh)
Inventor
卢漾豪
周昌伟
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2024067382A1 publication Critical patent/WO2024067382A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Definitions

  • the present disclosure relates to the field of communication technology, and in particular to a detection task processing method, an electronic device, and a computer-readable medium.
  • 5G Fifth Generation Mobile Communication Technology
  • IOAM In-band Operations, Administration and Maintenance
  • IOAM tasks can provide end-to-end performance detection of network nodes involved in the traffic flow, so that users can perform traffic detection and observe traffic information.
  • IOAM tasks it is necessary to improve the processing efficiency of IOAM tasks.
  • the present disclosure provides a detection task processing method, an electronic device, and a computer-readable medium.
  • an embodiment of the present disclosure provides a detection task processing method, the method comprising: obtaining an in-band detection task configured for a received service flow; determining a task aggregation type according to a direction of the service flow; and, if it is determined that the configured in-band detection task satisfies an aggregation condition corresponding to the task aggregation type according to the acquired flow information of the service flow, The in-band detection tasks that meet the aggregation conditions are aggregated to obtain the aggregated in-band detection tasks.
  • the direction of the service flow includes an uplink direction and a downlink direction.
  • the uplink direction is the direction from the user-side operator edge device to the network-side operator edge device
  • the downlink direction is the direction from the network-side operator edge device to the user-side operator edge device.
  • the task aggregation type is determined, including: when the direction of the service flow is an uplink direction, the task aggregation type is determined to be an uplink aggregation; when the direction of the service flow is a downlink direction, the task aggregation type is determined to be a downlink aggregation.
  • the task aggregation type is uplink aggregation, and when it is determined based on the acquired flow information of the business flow that the configured in-band detection task meets the aggregation condition corresponding to the task aggregation type, the configured in-band detection task is aggregated with the in-band detection task that meets the aggregation condition to obtain the aggregated in-band detection task, including: receiving a target network segment; when the target network segment is a pre-created and planned network segment, obtaining a pre-created uplink aggregation task corresponding to the target network segment; and adding the configured in-band detection task to the uplink aggregation task to obtain the aggregated in-band detection task.
  • the task aggregation type is uplink aggregation, and when it is determined based on the acquired flow information of the service flow that the configured in-band detection task meets the aggregation condition corresponding to the task aggregation type, the configured in-band detection task is aggregated with the in-band detection task that meets the aggregation condition to obtain the aggregated in-band detection task, including: obtaining the source network address and the destination network address from the flow information of the service flow; when the network segment where the destination network address is located is within the pre-created planned network segment, and the network segment where the source network address is located is not within the planned network segment, creating a new uplink aggregation task based on the flow information of the service flow; and adding the configured in-band detection task to the new uplink aggregation task to obtain the aggregated in-band detection task.
  • a new uplink aggregation task is created based on the flow information of the business flow, including: setting basic parameters of the new uplink aggregation task according to the flow information of the business flow, wherein the basic parameters include at least one of the five-tuple information of the business flow, the task name, the task identifier and the flow identifier; taking the network segment where the host network address is located as the first planned network segment, obtaining the user side port in the first planned network segment, and obtaining the egress port with the first planned network segment as the target network segment from the private network routing; obtaining the host port corresponding to the new uplink aggregation task according to the union of the user side port and the egress port; taking the network address contained in the first planned network segment as the new uplink aggregation task; obtaining the user side port corresponding to ...
  • the sink network address corresponding to the aggregation task and creating a new uplink aggregation task according to the basic parameters, the port information of the sink port corresponding to the new uplink aggregation task, and the sink network address corresponding to the new uplink aggregation task.
  • the method further includes: when the network segment where the destination network address is located and the network segment where the source network address is located are both within the planned network segment, or when neither is within the planned network segment, obtaining the source port information and the destination port information from the flow information of the service flow, and creating an in-band detection task for the service flow from the source port to the destination port.
  • the task aggregation type is downlink aggregation, and when it is determined based on the acquired flow information of the service flow that the configured in-band detection task meets the aggregation condition corresponding to the task aggregation type, the configured in-band detection task is aggregated with the in-band detection task that meets the aggregation condition to obtain the aggregated in-band detection task, including: obtaining parameter information of the in-band detection task corresponding to the service flow as parameter query information; wherein the parameter query information at least includes: virtual routing forwarding information and a host network address corresponding to the service flow; when the parameter query information is queried from the parameter information of the created downlink aggregation task, the source port information of the service flow is obtained; and when the source port information of the service flow is queried from the port information of the access controller of the created downlink aggregation task, the in-band detection task contained in the created downlink aggregation task is used as the aggregated in-band detection task.
  • the method After obtaining the source port information of the service flow, the method also includes: if the source port information of the service flow is not queried from the port information of the access controller of the created downlink aggregation task, after adding the source port information of the service flow to the port information of the access controller, the in-band detection task included in the created downlink aggregation task is used as the aggregated in-band detection task.
  • the parameter query information also includes at least one of the following information items of the service flow: host node information, network address family, protocol number, source port number; wherein the source port to which the source port number belongs is a port of a communication protocol that supports in-band detection task aggregation.
  • the present disclosure provides a detection task processing device, comprising: a receiving module, which is configured to receive a business flow; at least one processor, which is configured to: obtain an in-band detection task configured for the received business flow; determine a task aggregation type according to the direction of the business flow; and determine the configured in-band detection task according to the flow information of the acquired business flow.
  • the configured in-band detection task is aggregated with the in-band detection task that meets the aggregation condition to obtain an aggregated in-band detection task.
  • an embodiment of the present disclosure provides an electronic device comprising one or more memories and one or more processors; the memories store a computer program that can be executed by the processors, and the computer program implements the following steps when executed by the processors: obtaining an in-band detection task configured for a received business flow; determining a task aggregation type according to the direction of the business flow; and when it is determined, based on the acquired flow information of the business flow, that the configured in-band detection task meets an aggregation condition corresponding to the task aggregation type, aggregating the configured in-band detection task with the in-band detection task that meets the aggregation condition to obtain an aggregated in-band detection task.
  • an embodiment of the present disclosure provides a computer-readable medium having a computer program stored thereon, which implements the following steps when the computer program is executed by a processor: obtaining an in-band detection task configured for a received business flow; determining a task aggregation type according to a direction of the business flow; and when it is determined, based on the acquired flow information of the business flow, that the configured in-band detection task satisfies an aggregation condition corresponding to the task aggregation type, aggregating the configured in-band detection task with the in-band detection task that satisfies the aggregation condition to obtain an aggregated in-band detection task.
  • FIG1 is a flow chart of a detection task processing method according to an embodiment of the present disclosure
  • FIG2a is a schematic diagram of an IOAM detailed task according to an embodiment of the present disclosure.
  • FIG2 b is a schematic diagram of an aggregated IOAM task according to an embodiment of the present disclosure.
  • FIG3 is a block diagram of a detection task processing device according to an embodiment of the present disclosure.
  • FIG. 4 is a block diagram of an electronic device according to an embodiment of the present disclosure.
  • the present disclosure may be described with reference to plan views and/or cross-sectional views by means of ideal schematic views of the present disclosure. Therefore, the exemplary illustrations may be modified according to manufacturing techniques and/or tolerances.
  • the present disclosure is not limited to the embodiments shown in the drawings, but includes modifications of the configurations formed based on the manufacturing process. Therefore, the regions illustrated in the drawings have schematic properties, and the shapes of the regions shown in the drawings illustrate the specific shapes of the regions of the elements, but are not intended to be limiting.
  • IOAM is a network measurement and flow detection technology in the field of data communication, for example, it can provide on-line detection (also called IOAM on-line detection) of service flows in the network for Slicing Packet Network (SPN).
  • SPN Slicing Packet Network
  • the flow detection technology detects each network node through which the service flow passes by adding a flow ID as a label in the service, and can measure and obtain two original data: the number of packets and the timestamp. After the controller summarizes and calculates, the following performance indicators can be obtained: packet loss rate, one-way/two-way delay, and at least one of delay jitter.
  • the IOAM task is a detailed task (abbreviated as IOAM detailed task).
  • An IOAM detailed task means that each IOAM task is an end-to-end IOAM measurement task created for a service flow (for example, interface A1 of node device A to interface B1 of node device B).
  • the node device analyzes the service flow and obtains the five-tuple information of the service flow, which includes: source network address, sink network address, communication protocol number, source port number, and sink port number.
  • the communication protocol number is used to identify the type of transport layer protocol
  • the sink network address is also called the destination network address
  • the sink port number is also called the destination port number.
  • Node device A sends the data collection instruction from interface A1 to interface B1 of node device B hop by hop.
  • the node device at each hop collects measurement data according to the data collection instruction.
  • the control node in the network can analyze the measurement data collected by each node to detect and observe the traffic information between node device A and node device B, so as to quickly perceive network performance-related faults and accurately demarcate and locate the faults.
  • IOAM tasks are created only based on the network addresses of the head and tail nodes, a large number of IOAM tasks will appear in the engineering scenario, which will be cumbersome to handle and increase internal operation and maintenance costs.
  • the present disclosure provides a detection task processing method for solving the problem that a large number of IOAM tasks are complicated to process and increase internal operation and maintenance costs.
  • FIG. 1 is a flow chart of the detection task processing method according to an embodiment of the present disclosure. As shown in Fig. 1, the detection task processing method in the embodiment of the present disclosure may include steps S110 to S130.
  • step S110 an in-band detection task configured for the received service flow is obtained.
  • step S120 the task aggregation type is determined according to the direction of the business flow.
  • step S130 when it is determined that the configured in-band detection task meets the aggregation condition corresponding to the task aggregation type according to the acquired flow information of the service flow, the configured in-band detection task is aggregated with the in-band detection task that meets the aggregation condition to obtain an aggregated task.
  • the in-band detection task when it is determined that the configured in-band detection task meets the aggregation condition corresponding to the task aggregation type according to the acquired flow information of the service flow, the configured in-band detection task is aggregated with the in-band detection task that meets the aggregation condition to obtain an aggregated task.
  • the in-band detection task is aggregated with the in-band detection task that meets the aggregation condition to obtain an aggregated task.
  • the aggregation type of the in-band detection task can be determined according to the direction of the received business flow. If it is determined according to the flow information of the business flow that the in-band detection task of the business flow meets the corresponding aggregation condition, the in-band detection tasks that meet the aggregation condition will be aggregated to obtain the aggregated in-band detection tasks.
  • the aggregation of in-band detection tasks can reduce the number of a large number of IOAM tasks in the project, so that server resources can be reasonably allocated, and the network performance is optimized. At the same time, it also reduces the burden on network administrators by manually issuing IOAM task information, reduces the difficulty of operation, is easy to expand and has high reliability, and greatly improves the user experience.
  • the direction of the service flow includes an uplink direction and a downlink direction; the uplink direction includes the direction from the user-side operator edge device to the network-side operator edge device, and the downlink direction includes the direction from the network-side operator edge device to the user-side operator edge device.
  • the User-end Provider Edge (UPE) device on the user side is a network device that is directly connected to the user device and is used to implement the user access function.
  • the Network Provider Edge (NPE) device on the network side is a Service Provider-end Provider Edge (SPE) device that is connected to the aggregation side endpoint and faces the network side.
  • the SPE device is used to implement the management and release of Virtual Private Network (VPN) routes.
  • VPN Virtual Private Network
  • L3VPN Layer 3 Virtual Private Network
  • the NPE device is the endpoint device on the core network side
  • the SPE device is the endpoint device on the aggregation side
  • the UPE device is the endpoint device on the access side.
  • step S120 may specifically include: when the direction of the business flow is an uplink direction, determining the task aggregation type to be an uplink aggregation; when the direction of the business flow is a downlink direction, determining the task aggregation type to be a downlink aggregation.
  • the IOAM tasks can be divided into two categories according to the direction of the service flow: the uplink IOAM tasks from the UPE device to the NPE device and the downlink IOAM tasks from the NPE device to the UPE device.
  • the aggregation IOAM tasks are also divided into two corresponding categories: the uplink aggregation IOAM tasks and the downlink IOAM tasks.
  • the uplink aggregation IOAM tasks correspond to the uplink IOAM tasks, referred to as the uplink aggregation tasks
  • the downlink IOAM tasks correspond to the downlink aggregation IOAM tasks, referred to as the downlink aggregation tasks.
  • the uplink aggregation processing includes: obtaining the destination network address corresponding to the IOAM task, determining the network segment where the destination network address is located, accessing the source node (i.e., the ingress node) of the service flow, and coloring the message (or the data packet corresponding to the message) in a certain network segment interval with the network address of the destination node, so as to aggregate the IOAM corresponding to the message in the network segment interval.
  • the on-path detection technology can use the on-path detection information carried in the message to feature the service flow in the network.
  • the feature marking can also be called coloring (AltMarking), and coloring can be understood as a marking action in the IOAM task processing flow.
  • the message can be colored according to the characteristics of the message. For example, the message with specified five-tuple information can be colored.
  • the colored message (or the data packet corresponding to the message) of the source node needs to be stripped and bound at the destination node to avoid service interruption.
  • the service flow from the UPE device to the NPE device is analyzed through uplink aggregation, the destination network address of the flow information of the service flow to which the IOAM task belongs is obtained, and the network segment corresponding to the destination network address is obtained. If the network segment is included in the pre-created planned network segment, the message of the network segment accessed by the ingress node and corresponding to the destination network address in a certain planned network segment interval can be colored to form an IOAM aggregation task, which is used to aggregate the IOAM tasks of the message of the network segment to which the destination network address belongs in a certain planned network segment interval.
  • the aggregation task is of great significance to the business flows with the same route. For example, if the network segment input by the user is 1.1.1.1/0, it means that all business flows can be tracked based on this network segment. This situation is not allowed in actual application scenarios. Therefore, for end-to-end business flows, it is necessary to determine whether the destination network segment input by the user is legal based on the destination network element associated with the network segment corresponding to the destination network of the business flow. However, if the static routes of all destination network elements are queried end-to-end and then analyzed, the efficiency is extremely low.
  • the embodiments of the present disclosure implement network segment planning by pre-creating a planned network segment.
  • IOAM task for the IOAM task of a certain business flow, you can select the created network segment (that is, the pre-created planned network segment) and add the IOAM task of the business flow to the created network segment.
  • the IOAM aggregation task of the network segment the uplink aggregation of the in-band detection task is realized.
  • a network element is a device in a network.
  • a network element can generally be regarded as the smallest unit that can be monitored and managed in network management. For example, when an end-to-end IOAM measurement task (e.g., interface A1 of node device A to interface B1 of node device B) is created for a service flow, node device B is the destination network element.
  • an end-to-end IOAM measurement task e.g., interface A1 of node device A to interface B1 of node device B
  • node device B is the destination network element.
  • the task aggregation type is uplink aggregation; step S130 may specifically include steps S11 to S13.
  • step S11 a target network segment is received.
  • the received target network segment is: the network segment corresponding to the target network address of the received service flow.
  • the network segment directly input by the user through an input device can be received to obtain the target network segment; at least one created network segment can be displayed through a page, and the page provides a corresponding selection control (such as a radio button or a radio button) for each created network segment.
  • the created network segment corresponding to the selected selection control is used as the target network segment; or the user can input the target network segment in advance and store it in a designated device, and this device receives the target network segment sent by the designated device.
  • the designated device can be, for example, a pre-set storage device, which can be set according to actual conditions.
  • step S12 when the target network segment is within the pre-created planned network segment, a pre-created uplink aggregation task corresponding to the input target network segment is obtained.
  • the pre-created planned network segment may include at least one created network segment; the target network segment being within the pre-created planned network segment indicates that the target network segment is a created network segment.
  • obtaining the uplink aggregation IOAM task pre-created for the network segment can obtain the IOAM task for the uplink direction of the service flow that has been aggregated under the network segment.
  • step S13 the configured in-band detection task is added to the uplink aggregation task to obtain the aggregated in-band detection task.
  • step S13 that is, adding the configured in-band detection task to the uplink aggregation task
  • step S13 that is, adding the configured in-band detection task to the uplink aggregation task
  • an IOAM task configured for a received business flow is obtained, and when it is determined that the direction of the business flow is an upward direction and the task aggregation type is an upward aggregation, a target network segment is received.
  • the target network segment is a pre-created and planned network segment
  • the IOAM task configured for the business flow is added to a pre-created upward aggregation task corresponding to the target network segment, and data packets of business flows whose ingress access destination is within a certain network segment interval are uniformly colored, thereby realizing the upward aggregation of the IOAM task configured for the business flow.
  • uplink aggregation is to aggregate the in-band detection tasks of the service flow in the uplink direction from the user-side operator edge device to the network-side operator edge device. Therefore, for the network-side operator edge device, uplink aggregation is the task aggregation performed by analyzing the service flow from the user-side operator edge device to the network-side operator edge device at the sink end of the service flow.
  • the task aggregation type is uplink aggregation; step S130 may specifically include steps S21 to S23.
  • step S21 a source network address and a destination network address are obtained from flow information of the service flow.
  • step S22 when the network segment where the sink network address is located is within the pre-created planned network segment, and the network segment where the source network address is located is not within the planned network segment, a new uplink aggregation task is created based on the flow information of the service flow.
  • step S23 is executed to create an uplink aggregation IOAM task.
  • step S23 the configured in-band detection task is added to the new uplink aggregation task to obtain the aggregated in-band detection task.
  • the source network address and the destination network address are obtained from the flow information of the service flow, and it is determined whether the network segment to which the obtained source network address belongs and the network segment to which the destination network address belongs are in the pre-created planned network segment. If it is determined that the network segment to which the source network address belongs is not in the planned network segment, and the network segment to which the destination network address belongs is in the planned network segment, then an uplink aggregation IOAM task is automatically created according to the flow information of the service flow.
  • the service flow of the base station is differentiated according to the destination network segment, and the in-band detection task corresponding to the service flow whose destination network address belongs to the planned network segment is aggregated. It improves task processing efficiency and saves server resources.
  • aggregation technology can be applied to IOAM tasks, and multiple uplink IOAM tasks can be aggregated according to network segments.
  • the method is simple to operate, easy to expand, and highly reliable.
  • the step of creating a new uplink aggregation task based on the flow information of the service flow may specifically include steps S31 to S35.
  • step S31 basic parameters of a new uplink aggregation task are set according to the flow information of the service flow, wherein the basic parameters include at least one of quintuple information of the service flow, a task name, a task identifier, and a flow identifier.
  • the five-tuple information of the service flow includes the source network address, destination network address, communication protocol number, source port number, and destination port number of the service flow.
  • the task name is used to indicate the name of the IOAM task used to indicate the uplink aggregation task
  • the task identifier is used to uniquely identify the uplink aggregation task
  • the flow identifier is used to uniquely identify the service flow.
  • step S32 the network segment where the destination network address is located is taken as the first planned network segment, the user side port in the first planned network segment is obtained, and the egress port with the first planned network segment as the target network segment is obtained from the private network routing.
  • step S33 a sink port corresponding to a new uplink aggregation task is obtained according to the union of the user-side port and the egress port.
  • step S34 the network address included in the first planned network segment is used as the sink network address corresponding to the new uplink aggregation task.
  • steps S32 and S34 in the process of creating the uplink aggregation IOAM task, in addition to setting the basic parameters of the uplink aggregation task, for the working network elements (main network elements) and protection network elements (backup network elements) in the planned network segment, the union of the user-side ports (also called user-side interfaces) in the planned network segment and the egress ports (also called egress interfaces) in the private network routing whose target network segment is the planned network segment is obtained, and the egress port of the target network segment of the created uplink aggregation task is obtained, and the network address in the planned network is used as the host network address of the created uplink aggregation task.
  • the working network elements main network elements
  • protection network elements backup network elements
  • step S35 a new uplink aggregation task is created according to the basic parameters, the port information of the sink port corresponding to the new uplink aggregation task, and the sink network address corresponding to the new uplink aggregation task.
  • the flow information of the service flow is The source network address and the sink network address are obtained. If it is determined that the network segment to which the source network address belongs is not within the planned network segment, and the network segment to which the sink network address belongs is within the planned network segment, the basic parameters of the new uplink aggregation task, the port information of the corresponding sink port, and the corresponding sink network address can be automatically set according to the flow information of the service flow, thereby realizing the automatic creation of the uplink aggregation IOAM task.
  • the detection task processing method after obtaining the source network address and the destination network address from the flow information of the service flow, the detection task processing method also includes: S41, when the network segment where the destination network address is located and the network segment where the source network address is located are both within the pre-created planned network segment, or when neither is within the pre-created planned network segment, obtaining the source port information and the destination port information from the flow information of the service flow, and creating an in-band detection task for the service flow from the source port to the destination port.
  • both the source network address and the destination network address are not within the planned network segment, it means that the IOAM task of the business flow is not within the planned scope of the aggregation task to be created. Therefore, a new IOAM task can be created for the business flow in a detailed manner, that is, based on the flow information of the business flow, an IOAM task is created for the business flow separately, and no aggregation processing is performed on the IOAM task of the business flow.
  • the source network address and the destination network address are both within the planned network segment, it indicates that the service flow does not belong to an uplink direction from the UPE device to the NPE device.
  • the service flow may be some service flow within the network and is not suitable for aggregation tasks.
  • the source port information and the destination port information can be obtained from the flow information of the business flow, and an in-band detection task for the business flow from the source port to the destination port is created, thereby creating an IOAM task for the business flow based on the flow information of the business flow, and obtaining a detailed task for the business flow.
  • the downlink aggregation is to aggregate the in-band detection tasks of the downlink service flow in the direction from the NPE device to the UPE device. Therefore, for the NPE device, the downlink aggregation is the task aggregation performed by analyzing the service flow from the NPE to the UPE device at the source end of the service flow. In addition, since the downlink aggregation is performed at the source end of the service flow, as the entrance of the service flow, there is no need to worry about the service flow being sent to the wrong device. Even if the worst result of sending to the wrong device is that the service flow is useless, it will not cause service interruption.
  • the task aggregation type is downlink aggregation; step S130 may specifically include steps S51 to S53.
  • step S51 parameter information of the in-band detection task corresponding to the service flow is obtained as parameter query information, wherein the parameter query information at least includes: virtual routing forwarding information and a sink network address corresponding to the service flow.
  • VRF virtual routing and forwarding
  • the parameter query information may also include: at least one of the following information items of the service flow: host node information, network address family, protocol number, source port number, wherein the source port to which the source port number belongs is a port of a communication protocol that supports in-band detection task aggregation.
  • the parameter query information may include at least one of the following: the destination node information, the network address family, the protocol number, and the source port number, in addition to the virtual routing forwarding information and the destination network address.
  • the source port number is used to identify the source port, and the port identified by the source port number should support the relevant communication protocols for in-band detection task aggregation. For example, the source port number of the service flow with the protocol number of 132 does not support the relevant protocols for in-band detection task aggregation, and the IOAM task cannot be aggregated.
  • the method further includes: filtering service flows of related protocols that do not support in-band detection task aggregation, thereby filtering out service flows that do not support aggregation.
  • step S52 when parameter query information is queried from the parameter information of the created downstream aggregation task, source port information of the service flow is acquired.
  • the source port information of the service flow is obtained, such as the port number of the source port, the port type and other port information.
  • step S53 when the source port information of the service flow is queried from the port information of the access controller of the created downlink aggregation task, the in-band detection task included in the created downlink aggregation task is used as the aggregated in-band detection task.
  • step S53 it can be determined whether the port information of the current source port already exists in the port information of the multi-access controller (AC) of the downstream aggregation IOAM task.
  • the multi-access controller indicates that the current network is a networking of multiple access controllers. If so, there is no need to create a new downstream aggregation task, and the in-band detection task contained in the created downstream aggregation IOAM task can be directly used as the in-band IOAM task after aggregation.
  • the IOAM tasks of the service flows starting from the same source device (the same NPE device) to the same destination device (the same base station) are aggregated.
  • the aggregation process can be achieved by manual creation or automatic creation.
  • the in-band detection tasks corresponding to the service flows from the same network side operator edge device and with the same routing forwarding information and host network address (for example, going to the same base station) are aggregated to improve task processing efficiency and save server resources.
  • NetFlow is a traffic data statistics standard. In actual application scenarios, it can be implemented as: a toolkit for analyzing network data packet information, and is widely used in routers and switches. Netfow technology can be used to detect IP traffic information on the network. The collected Netflow traffic information can monitor and record all traffic in and out of the port, which is beneficial to network planning, network management, traffic billing and virus detection; automatic flow creation is to use Netflow to automatically detect the flow existing in the network and automatically create end-to-end IOAM measurement tasks for the corresponding flow.
  • the creation process of synchronized traffic data statistics (NetFlow) and automatic flow creation can also be added to the creation mode of the aggregation IOAM, so that aggregation tasks can be issued in 5G services without manual intervention by users, reducing a large number of user manual operations and improving the processing efficiency of IOAM tasks.
  • NetworkFlow synchronized traffic data statistics
  • NetFlow can be used to synchronously measure and count the high-speed forwarding service flows.
  • the collected service flow data can be synchronously analyzed to provide visibility on the flow and traffic, and track where the traffic comes from, where it flows to, and the traffic generated at any time.
  • the recorded information can be used for usage monitoring, anomaly detection, and other purposes. and various other network management tasks.
  • aggregation tasks can be issued in 5G services without manual intervention by users, which reduces a large number of manual operations of users, is easy to expand and has high reliability.
  • the detection task processing method after obtaining the source port information of the service flow in step S52, the detection task processing method also includes: S54, when the source port information of the service flow is not queried from the port information of the access controller of the created downlink aggregation task, after adding the source port information of the service flow to the port information of the access controller, the in-band detection task contained in the created downlink aggregation task is used as the aggregated in-band detection task.
  • the data table contains information of multiple access controllers, and an access controller information is added to the data table.
  • the IOAM tasks of the service flow corresponding to the source port information are aggregated through the added access controller, and the IOAM tasks are aggregated into the downlink aggregation tasks created above.
  • the IOAM data table can be modified by sending a modification command from a single point.
  • the aggregation IOAM tasks can be divided into two categories according to the direction of the business flow: uplink IOAM tasks (corresponding to the business flow from the UPE device to the NPE device) and downlink IOAM tasks (corresponding to the business flow from the NPE device to the UPE device); the aggregation IOAM tasks are therefore divided into two categories: uplink aggregation IOAM tasks and downlink aggregation IOAM tasks.
  • the network segment of the host network address of the business flow corresponding to the uplink IOAM task is obtained, and the network address of the destination node accessed from the source node (i.e., the entry node) of the business flow is colored in a certain network segment interval (or the data packet corresponding to the message) to aggregate the IOAM corresponding to the message in the network segment interval;
  • the business flow IOAM tasks starting from the same source device (such as the same NPE device) to the same destination device (such as the same base station) can be aggregated.
  • the detection task processing method of the embodiment of the present disclosure can be compatible with devices with low performance.
  • in-band detection of service flows is a traffic detection technology that can be applied to Ethernet services and L3VPN services.
  • the purpose is to detect the actual packet loss of end-to-end path services, the actual packet loss of end-to-end path services, the delay introduced by each node device on the path (each node device on each link), and the packet loss of each node on the path when the delay is introduced. It is also an important basis for on-site fault diagnosis, such as diagnosing the network status of the node device, including but not limited to delay, packet loss, etc.
  • Figure 2a is a schematic diagram of an IOAM detailed task according to an embodiment of the present disclosure
  • Figure 2b is a schematic diagram of an IOAM task after aggregation according to an embodiment of the present disclosure.
  • NPE node devices in a local network of L3VPN services such as NPE1 and NPE2
  • UPE node devices in L3VPN such as UPE1 and UPE2
  • user plane function (UPF) node devices such as UPF1, UPF2, UPF3 and UPF4
  • user base station devices such as base station 1 and base station 2
  • UPF1 is connected to NPE1 via interface 1
  • UPF2 is connected to NPE1 via interface 2
  • UPF3 is connected to NPE2 via interface 3
  • UPF4 is connected to NPE2 via interface 4.
  • FIG. 2a and FIG. 2b also show interfaces of UPE1 such as interface 5 and interfaces of UPE2 such as interface 6.
  • Interface 5 is used to receive service flows from NPE1 and NPE2 to UPE1
  • interface 6 is used to receive service flows from NPE1 and NPE2 to UPE2.
  • Base station 1 is connected to the user side interface library of UPE1
  • base station 2 is connected to the user side interface library of UPE2.
  • the number of devices in Figures 2a and 2b is only for illustration. It can be flexibly adjusted according to actual application needs.
  • the NPE node device, the UPE node device, the UPF node device and the user base station device can all be one node device. It can also be a larger number of node devices.
  • this architecture can also include some auxiliary devices, such as routers, switches, etc. It can be flexibly configured according to needs, and there is no restriction on this aspect.
  • the line segments represent business flows, and the arrows represent the directions of the business flows.
  • the detail numbers on the line segments represent the detailed IOAM tasks configured for the business flows represented by the line segments, such as Detail 1 to Detail 10 in Figure 2a, which represent Detail Tasks 1 to Detail Tasks 10.
  • the following downlink aggregation processing is performed on each IOAM detailed task shown in FIG. 2 a .
  • the IOAM detail tasks (Detail 1, Detail 2) of the two service flows sent by UPF1 to base station 1 of UPE1 through NPE1 are aggregated with the IOAM detail task (Detail 4) of the one service flow sent by UPE2 to base station 1 of UPE1 through NPE1.
  • the IOAM detail task (detail 7) of a service flow sent by UPF3 to base station 1 of UPE1 through NPE2 is aggregated with the IOAM detail task (detail 9) of a service flow sent by UPF4 to base station 1 of UPE1 through NPE2.
  • the IOAM detail tasks (Detail 3) of a service flow sent by UPF1 to base station 2 of UPE2 through NPE1 are aggregated with the IOAM detail tasks (Detail 5 and Detail 6) of two service flows sent by UPE2 to base station 2 of UPE2 through NPE1.
  • the IOAM detail task (detail 8) of a service flow sent by UPF3 to base station 2 of UPE2 through NPE2 is aggregated with the IOAM detail task (detail 10) of a service flow sent by UPF4 to base station 2 of UPE2 through NPE2.
  • the same source device (the same NPE device) can be sent to the same destination device. (The same base station) business flow IOAM tasks are aggregated.
  • the number of IOAM tasks in the project can be reduced, so that server resources can be reasonably allocated, network performance is optimized, and user operation difficulty is reduced, greatly improving user experience.
  • a new category of IOAM task namely, aggregated IOAM task
  • aggregated IOAM task is provided.
  • the number of detailed IOAM tasks at the engineering site will only be more than the number of detailed IOAM tasks shown in Figures 2a and 2b, so the aggregation of detailed IOAM tasks is very necessary.
  • the IOAM tasks of the service flow starting from the same source device (such as the same NPE device) to the same destination device (such as the same base station) can be aggregated, thereby reducing the number of a large number of IOAM tasks in the project, thereby saving server resources, allocating server resources reasonably, optimizing network performance, reducing user operation difficulty, and greatly improving user experience.
  • the detailed IOAM tasks of the service flows with the destination network segment (the network segment to which the host network address of the service flow belongs) in the predetermined network segment interval are aggregated.
  • Creating aggregated IOAM tasks based on network segments has the advantages of simple creation process, convenient management and high task processing efficiency. Furthermore, the reduction in the number of IOAM tasks can save server resources, so that server resources can be reasonably allocated.
  • the cost of processing one aggregated task is much lower than processing one hundred detailed tasks. While saving resources, it improves efficiency, optimizes network performance, reduces user operation difficulty, and thus improves user experience.
  • the detection task processing method of the embodiment of the present disclosure after using the aggregation technology for IOAM tasks, on the one hand, it is possible to operate IOAM tasks, detect traffic and manage networks more simply and conveniently; on the other hand, it is possible to be compatible with various devices. Low-end devices with relatively poor performance can support a relatively small maximum number of IOAMs. After using the aggregation technology, even if these devices are encountered, a large number of IOAM tasks can be configured through aggregation. When the aggregation technology is integrated into the IOAM task processing, it can enable large-scale deployment of IOAM tasks on the engineering site. Improve business detection mechanism.
  • FIG3 is a schematic diagram of the structure of a detection task processing device provided according to an embodiment of the present disclosure.
  • the detection task processing device may include a receiving module 310 and at least one processor 320 .
  • the receiving module 310 is configured to receive a service flow.
  • the processor 320 is configured to: obtain an in-band detection task configured for the received service flow; determine a task aggregation type according to a direction of the service flow; and, when it is determined according to the acquired flow information of the service flow that the configured in-band detection task satisfies an aggregation condition corresponding to the task aggregation type, aggregate the configured in-band detection task with the in-band detection task that satisfies the aggregation condition to obtain an aggregated in-band detection task.
  • the aggregation type of in-band detection tasks can be determined according to the direction of the received business flow. If it is determined according to the flow information of the business flow that the in-band detection task of the business flow meets the corresponding aggregation condition, the in-band detection tasks that meet the aggregation condition will be aggregated to obtain the aggregated in-band detection tasks.
  • the aggregation of in-band detection tasks can reduce the number of a large number of IOAM tasks in the project, so that server resources can be reasonably allocated, and the network performance is optimized. At the same time, it also reduces the burden of network administrators who manually issue IOAM task information, reduces the difficulty of operation, is easy to expand and has high reliability, and greatly improves the user experience.
  • the direction of the service flow includes an uplink direction and a downlink direction.
  • the uplink direction includes the direction from the UPE device to the NPE device
  • the downlink direction includes the direction from the NPE device to the UPE device.
  • the processor 320 performs the step of determining the task aggregation type according to the direction of the service flow, it is configured to: when the direction of the service flow is the uplink direction, determine the task aggregation type as uplink aggregation; when the direction of the service flow is the downlink direction, determine the task aggregation type as downlink aggregation.
  • the task aggregation type is uplink aggregation
  • the processor 320 is configured to: receive a target network segment; when the target network segment is a pre-created in-band detection task, the processor 320 performs aggregation processing on the configured in-band detection task and the in-band detection task that meets the aggregation condition corresponding to the task aggregation type according to the acquired flow information of the service flow, and obtains the aggregated in-band detection task; In the case of a planned network segment, obtain the pre-created uplink aggregation task corresponding to the target network segment; add the configured in-band detection task to the uplink aggregation task to obtain the aggregated in-band detection task.
  • the task aggregation type is uplink aggregation; the processor 320 is configured to: obtain the source network address and the host network address from the flow information of the business flow; when the network segment where the host network address is located is within the pre-created planned network segment, and the network segment where the source network address is located is not within the pre-created planned network segment, create a new uplink aggregation task based on the flow information of the business flow; add the configured in-band detection task to the created uplink aggregation task to obtain the aggregated in-band detection task, when it is determined based on the acquired flow information of the business flow that the configured in-band detection task meets the aggregation condition corresponding to the task aggregation type.
  • the processor 320 when executing the step of creating a new uplink aggregation task based on the flow information of the business flow, is configured to: set basic parameters of the new uplink aggregation task according to the flow information of the business flow; wherein the basic parameters include at least one of the five-tuple information of the business flow, the task name, the task identifier and the flow identifier; take the network segment where the host network address is located as the first planned network segment, obtain the user-side port within the first planned network segment, and obtain the egress port with the first planned network segment as the target network segment from the private network routing; obtain the host port corresponding to the new uplink aggregation task according to the union of the user-side port and the egress port; take the network address contained in the first planned network segment as the host network address corresponding to the new uplink aggregation task; create a new uplink aggregation task according to the basic parameters, the port information of the host port corresponding to the new uplink aggregation task
  • the processor 320 is further configured to obtain the source port information and the destination port information from the flow information of the service flow, and create an in-band detection task for the service flow from the source port to the destination port, when the network segment where the destination network address is located and the network segment where the source network address is located are both within the pre-created planned network segment, or when neither is within the pre-created planned network segment.
  • the task aggregation type is downlink aggregation
  • the processor 320 performs The method comprises the following steps: when it is determined that the configured in-band detection task meets the aggregation condition corresponding to the task aggregation type according to the acquired flow information of the service flow, the configured in-band detection task is aggregated with the in-band detection task that meets the aggregation condition to obtain the aggregated in-band detection task, and the in-band detection task is configured to: obtain the parameter information of the in-band detection task corresponding to the service flow as the parameter query information; wherein the parameter query information includes at least the virtual routing forwarding information and the host network address corresponding to the service flow; when the parameter query information is queried from the parameter information of the created downlink aggregation task, the source port information of the service flow is obtained; when the source port information of the service flow is queried from the port information of the access controller of the created downlink aggregation task, the in-band detection task contained in the created downlink aggregation task is used
  • the processor 320 is further configured to execute the following steps: if the source port information of the service flow is not queried from the port information of the access controller of the created downlink aggregation task, after adding the source port information of the service flow to the port information of the access controller, the in-band detection task included in the created downlink aggregation task is used as the aggregated in-band detection task.
  • the parameter query information also includes at least one of the following information items of the business flow: host node information, network address family, protocol number, source port number, wherein the source port to which the source port number belongs is a port of a communication protocol that supports in-band detection task aggregation.
  • the IOAM tasks of the service flow starting from the same source device (for example, the same NPE) to the same destination device (for example, the same base station) can be aggregated, thereby reducing the number of a large number of IOAM tasks in the project, thereby saving server resources, allocating server resources reasonably, optimizing network performance, reducing user operation difficulty, and greatly improving user experience.
  • the detection task processing module of the embodiment of the present application for the uplink service flow (service flow from UPE device to NPE device), for the IOAM tasks of service flows from different base stations, the detailed IOAM tasks of the service flows with the destination network segment (the network segment to which the host network address of the service flow belongs) in the predetermined network segment interval are aggregated.
  • Creating aggregated IOAM tasks based on network segments has the advantages of simple creation process, convenient management and efficient task processing.
  • the reduction in the number of IOAM tasks can save server resources and allow server resources to be reasonably allocated.
  • the cost of processing an aggregate task is much lower than processing a hundred detailed tasks. While saving resources, it improves efficiency, optimizes network performance, reduces user operation difficulty, and thus improves user experience.
  • a processor is a device with data processing capabilities, including but not limited to a central processing unit (CPU); a memory is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), and flash memory (FLASH); an I/O interface (read-write interface) is connected between the processor and the memory, and can realize information exchange between the memory and the processor, including but not limited to a data bus (Bus), etc.
  • CPU central processing unit
  • a memory is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), and flash memory (FLASH); an I/O interface (read-write interface) is connected between the processor and the memory, and can realize information exchange between the memory and the processor, including but not limited to a data bus (Bus
  • FIG. 4 is a structural diagram of an exemplary hardware architecture of an electronic device capable of implementing the detection task processing method and apparatus according to an embodiment of the present invention.
  • the electronic device 400 includes an input device 401, an input interface 402, a central processing unit 403, a memory 404, an output interface 405, and an output device 406.
  • the input interface 402, the central processing unit 403, the memory 404, and the output interface 405 are connected to each other via a bus 410, and the input device 401 and the output device 406 are connected to the bus 410 via the input interface 402 and the output interface 405, respectively, and then connected to other components of the electronic device 400.
  • the input device 401 receives input information from the outside, and transmits the input information to the central processing unit 403 through the input interface 402.
  • the central processing unit 403 processes the input information based on the computer executable instructions stored in the memory 404 to generate output information, stores the output information temporarily or permanently in the memory 404, and then transmits the output information to the output device 406 through the output interface 405.
  • the output device 406 outputs the output information to the outside of the electronic device 400 for the user to use.
  • the electronic device shown in FIG4 may include: one or more A memory and one or more processors; the memory stores a computer program that can be executed by the processor, and when the computer program is executed by the processor, the following steps are implemented: obtaining an in-band detection task configured for a received business flow; determining a task aggregation type according to a direction of the business flow; and when it is determined, based on the acquired flow information of the business flow, that the configured in-band detection task satisfies an aggregation condition corresponding to the task aggregation type, aggregating the configured in-band detection task with the in-band detection task that satisfies the aggregation condition to obtain an aggregated in-band detection task.
  • the electronic device may also execute any of the detection task processing methods described in the above embodiments.
  • Embodiments of the present application may be implemented by executing computer program instructions by a data processor of a mobile device, for example in a processor entity, or by hardware, or by a combination of software and hardware.
  • the computer program instructions may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages.
  • ISA instruction set architecture
  • the block diagram of any logic flow in the accompanying drawings of the present application can represent program steps, or can represent interconnected logic circuits, modules and functions, or can represent a combination of program steps and logic circuits, modules and functions.
  • the computer program can be stored on a memory.
  • the memory can have any type suitable for the local technical environment and can be implemented using any suitable data storage technology, such as but not limited to read-only memory (ROM), random access memory (RAM), optical memory device and system (digital versatile disc DVD or CD disc), etc.
  • Computer-readable media may include non-transient storage media.
  • the data processor can be any type suitable for the local technical environment, such as but not limited to a general-purpose computer, a special-purpose computer, a microprocessor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a programmable logic device (FGPA) and a processor based on a multi-core processor architecture.
  • DSP digital signal processor
  • ASIC application-specific integrated circuit
  • FGPA programmable logic device

Abstract

Provided in the present disclosure is an operations, administration and maintenance task processing method. The method comprises: acquiring an in-band operations, administration and maintenance task, which is configured for a received service flow; determining a task aggregation type according to the direction of the service flow; and when it is determined according to flow information of the acquired service flow that the configured in-band operations, administration and maintenance task meets an aggregation condition corresponding to the task aggregation type, performing aggregation processing on the configured in-band operations, administration and maintenance task and an in-band operations, administration and maintenance task which meets the aggregation condition, so as to obtain an aggregated in-band operations, administration and maintenance task. Further provided in the present disclosure are an operations, administration and maintenance task processing apparatus, and a device and a computer-readable medium.

Description

检测任务处理方法、电子设备和计算机可读介质Detection task processing method, electronic device and computer readable medium
相关申请的交叉引用过CROSS-REFERENCE TO RELATED APPLICATIONS
该专利申请要求于2022年9月26日在中国国家知识产权局提交的中国专利申请202211173338.8的优先权,该中国专利申请的公开以引用方式全文并入本文中。This patent application claims priority to Chinese patent application 202211173338.8 filed with the State Intellectual Property Office of China on September 26, 2022, and the disclosure of this Chinese patent application is incorporated herein by reference in its entirety.
技术领域Technical Field
本公开涉及通信技术领域,具体涉及一种检测任务处理方法、电子设备和计算机可读介质。The present disclosure relates to the field of communication technology, and in particular to a detection task processing method, an electronic device, and a computer-readable medium.
背景技术Background technique
随着通信技术的发展,各运营商在部署无线第五代移动通信技术(5th Generation Mobile Communication Technology,5G)网络时,With the development of communication technology, operators are deploying the fifth generation mobile communication technology (5th Generation Mobile Communication Technology, 5G) network.
对高效、高可用的流量检测技术有着更高的要求。There are higher requirements for efficient and highly available traffic detection technology.
业务流的带内检测(In-band Operations、Administration and Maintenance,IOAM)是一种流量测量和监控技术。对于从通信网络中获取的业务流,IOAM任务可以提供业务流所涉及网络节点的端到端的性能检测,以供用户进行流量检测和观察流量信息。在处理大量IOAM任务时,需要提高IOAM任务的处理效率。In-band Operations, Administration and Maintenance (IOAM) is a traffic measurement and monitoring technology. For traffic flows obtained from the communication network, IOAM tasks can provide end-to-end performance detection of network nodes involved in the traffic flow, so that users can perform traffic detection and observe traffic information. When processing a large number of IOAM tasks, it is necessary to improve the processing efficiency of IOAM tasks.
发明内容Summary of the invention
本公开提供一种检测任务处理方法、电子设备和计算机可读介质。The present disclosure provides a detection task processing method, an electronic device, and a computer-readable medium.
第一方面,本公开实施例提供一种检测任务处理方法,该方法包括:获取为接收的业务流配置的带内检测任务;根据业务流的方向,确定任务聚合类型;以及在根据获取的业务流的流信息,确定配置的带内检测任务满足与任务聚合类型对应的聚合条件的情况下,将配置 的带内检测任务与满足聚合条件的带内检测任务进行聚合处理,得到聚合后的带内检测任务。In a first aspect, an embodiment of the present disclosure provides a detection task processing method, the method comprising: obtaining an in-band detection task configured for a received service flow; determining a task aggregation type according to a direction of the service flow; and, if it is determined that the configured in-band detection task satisfies an aggregation condition corresponding to the task aggregation type according to the acquired flow information of the service flow, The in-band detection tasks that meet the aggregation conditions are aggregated to obtain the aggregated in-band detection tasks.
业务流的方向包括上行方向和下行方向,上行方向为用户侧运营商边缘设备到网络侧运营商边缘设备的方向,下行方向为网络侧运营商边缘设备到用户侧运营商边缘设备的方向,并且根据业务流的方向,确定任务聚合类型,包括:在业务流的方向为上行方向的情况下,确定任务聚合类型为上行聚合;在业务流的方向为下行方向的情况下,确定任务聚合类型为下行聚合。The direction of the service flow includes an uplink direction and a downlink direction. The uplink direction is the direction from the user-side operator edge device to the network-side operator edge device, and the downlink direction is the direction from the network-side operator edge device to the user-side operator edge device. According to the direction of the service flow, the task aggregation type is determined, including: when the direction of the service flow is an uplink direction, the task aggregation type is determined to be an uplink aggregation; when the direction of the service flow is a downlink direction, the task aggregation type is determined to be a downlink aggregation.
任务聚合类型为上行聚合,并且,在根据获取的业务流的流信息,确定配置的带内检测任务满足与任务聚合类型对应的聚合条件的情况下,将配置的带内检测任务与满足聚合条件的带内检测任务进行聚合处理,得到聚合后的带内检测任务,包括:接收目标网段;在目标网段为预先创建的已规划网段的情况下,获取预先创建的与目标网段对应的上行聚合任务;以及将配置的带内检测任务添加到上行聚合任务中,得到聚合后的带内检测任务。The task aggregation type is uplink aggregation, and when it is determined based on the acquired flow information of the business flow that the configured in-band detection task meets the aggregation condition corresponding to the task aggregation type, the configured in-band detection task is aggregated with the in-band detection task that meets the aggregation condition to obtain the aggregated in-band detection task, including: receiving a target network segment; when the target network segment is a pre-created and planned network segment, obtaining a pre-created uplink aggregation task corresponding to the target network segment; and adding the configured in-band detection task to the uplink aggregation task to obtain the aggregated in-band detection task.
任务聚合类型为上行聚合,并且在根据获取的业务流的流信息,确定配置的带内检测任务满足与任务聚合类型对应的聚合条件的情况下,将配置的带内检测任务与满足聚合条件的带内检测任务进行聚合处理,得到聚合后的带内检测任务,包括:从业务流的流信息中获取源网络地址和宿网络地址;在宿网络地址所在的网段在预先创建的已规划网段内,而源网络地址所在的网段不在已规划网段内的情况下,基于业务流的流信息创建新的上行聚合任务;以及将配置的带内检测任务添加到新的上行聚合任务中,得到聚合后的带内检测任务。The task aggregation type is uplink aggregation, and when it is determined based on the acquired flow information of the service flow that the configured in-band detection task meets the aggregation condition corresponding to the task aggregation type, the configured in-band detection task is aggregated with the in-band detection task that meets the aggregation condition to obtain the aggregated in-band detection task, including: obtaining the source network address and the destination network address from the flow information of the service flow; when the network segment where the destination network address is located is within the pre-created planned network segment, and the network segment where the source network address is located is not within the planned network segment, creating a new uplink aggregation task based on the flow information of the service flow; and adding the configured in-band detection task to the new uplink aggregation task to obtain the aggregated in-band detection task.
基于业务流的流信息创建新的上行聚合任务,包括:根据业务流的流信息设置新的上行聚合任务的基本参数,其中,基本参数包括业务流的五元组信息、任务名称、任务标识和流标识中的至少一种;将宿网络地址所在的网段作为第一规划网段,获取在第一规划网段内的用户侧端口,以及从私网路由中获取以第一规划网段作为目标网段的出端口;根据用户侧端口和出端口的并集,得到新的上行聚合任务所对应的宿端口;将第一规划网段中包含的网络地址,作为新的上行 聚合任务所对应的宿网络地址;以及根据基本参数、新的上行聚合任务所对应的宿端口的端口信息、以及新的上行聚合任务所对应的宿网络地址,创建新的上行聚合任务。A new uplink aggregation task is created based on the flow information of the business flow, including: setting basic parameters of the new uplink aggregation task according to the flow information of the business flow, wherein the basic parameters include at least one of the five-tuple information of the business flow, the task name, the task identifier and the flow identifier; taking the network segment where the host network address is located as the first planned network segment, obtaining the user side port in the first planned network segment, and obtaining the egress port with the first planned network segment as the target network segment from the private network routing; obtaining the host port corresponding to the new uplink aggregation task according to the union of the user side port and the egress port; taking the network address contained in the first planned network segment as the new uplink aggregation task; obtaining the user side port corresponding to ... The sink network address corresponding to the aggregation task; and creating a new uplink aggregation task according to the basic parameters, the port information of the sink port corresponding to the new uplink aggregation task, and the sink network address corresponding to the new uplink aggregation task.
在从业务流的流信息中获取源网络地址和宿网络地址之后,该方法还包括:在宿网络地址所在的网段和源网络地址所在的网段,均在已规划网段内的情况下,或均不在已规划网段内的情况下,从业务流的流信息中获取源端口信息和宿端口信息,创建从源端口到宿端口的业务流的带内检测任务。After obtaining the source network address and the destination network address from the flow information of the service flow, the method further includes: when the network segment where the destination network address is located and the network segment where the source network address is located are both within the planned network segment, or when neither is within the planned network segment, obtaining the source port information and the destination port information from the flow information of the service flow, and creating an in-band detection task for the service flow from the source port to the destination port.
任务聚合类型为下行聚合,并且在根据获取的业务流的流信息,确定配置的带内检测任务满足与任务聚合类型对应的聚合条件的情况下,将配置的带内检测任务与满足聚合条件的带内检测任务进行聚合处理,得到聚合后的带内检测任务,包括:获取业务流对应的带内检测任务的参数信息,作为参数查询信息;其中,参数查询信息中至少包括:业务流对应的虚拟路由转发信息和宿网络地址;在从已创建的下行聚合任务的参数信息中查询到参数查询信息的情况下,获取业务流的源端口信息;以及在从已创建的下行聚合任务的接入控制器的端口信息中,查询到业务流的源端口信息的情况下,将已创建的下行聚合任务中包含的带内检测任务,作为聚合后的带内检测任务。The task aggregation type is downlink aggregation, and when it is determined based on the acquired flow information of the service flow that the configured in-band detection task meets the aggregation condition corresponding to the task aggregation type, the configured in-band detection task is aggregated with the in-band detection task that meets the aggregation condition to obtain the aggregated in-band detection task, including: obtaining parameter information of the in-band detection task corresponding to the service flow as parameter query information; wherein the parameter query information at least includes: virtual routing forwarding information and a host network address corresponding to the service flow; when the parameter query information is queried from the parameter information of the created downlink aggregation task, the source port information of the service flow is obtained; and when the source port information of the service flow is queried from the port information of the access controller of the created downlink aggregation task, the in-band detection task contained in the created downlink aggregation task is used as the aggregated in-band detection task.
在获取业务流的源端口信息之后,该方法还包括:在从已创建的下行聚合任务的接入控制器的端口信息中,未查询到业务流的源端口信息的情况下,在将业务流的源端口信息添加到接入控制器的端口信息之后,将已创建的下行聚合任务中包含的带内检测任务,作为聚合后的带内检测任务。After obtaining the source port information of the service flow, the method also includes: if the source port information of the service flow is not queried from the port information of the access controller of the created downlink aggregation task, after adding the source port information of the service flow to the port information of the access controller, the in-band detection task included in the created downlink aggregation task is used as the aggregated in-band detection task.
参数查询信息中还包括业务流的如下信息项中的至少一项:宿节点信息、网络地址族、协议号、源端口号;其中,源端口号所属的源端口是支持带内检测任务聚合的通信协议的端口。The parameter query information also includes at least one of the following information items of the service flow: host node information, network address family, protocol number, source port number; wherein the source port to which the source port number belongs is a port of a communication protocol that supports in-band detection task aggregation.
第二方面,本公开实施例提供一种检测任务处理装置,其包括:接收模块,其被配置为接收业务流;至少一个处理器,其被配置为:获取为接收的业务流配置的带内检测任务;根据业务流的方向,确定任务聚合类型;在根据获取的业务流的流信息,确定配置的带内检测 任务满足与任务聚合类型对应的聚合条件的情况下,将配置的带内检测任务与满足聚合条件的带内检测任务进行聚合处理,得到聚合后的带内检测任务。In a second aspect, the present disclosure provides a detection task processing device, comprising: a receiving module, which is configured to receive a business flow; at least one processor, which is configured to: obtain an in-band detection task configured for the received business flow; determine a task aggregation type according to the direction of the business flow; and determine the configured in-band detection task according to the flow information of the acquired business flow. When the task meets the aggregation condition corresponding to the task aggregation type, the configured in-band detection task is aggregated with the in-band detection task that meets the aggregation condition to obtain an aggregated in-band detection task.
第三方面,本公开实施例提供一种电子设备,其包括一个或多个存储器、一个或多个处理器;存储器存储有能被处理器执行的计算机程序,计算机程序被处理器执行时实现以下步骤:获取为接收的业务流配置的带内检测任务;根据业务流的方向,确定任务聚合类型;在根据获取的业务流的流信息,确定配置的带内检测任务满足与任务聚合类型对应的聚合条件的情况下,将配置的带内检测任务与满足聚合条件的带内检测任务进行聚合处理,得到聚合后的带内检测任务。In a third aspect, an embodiment of the present disclosure provides an electronic device comprising one or more memories and one or more processors; the memories store a computer program that can be executed by the processors, and the computer program implements the following steps when executed by the processors: obtaining an in-band detection task configured for a received business flow; determining a task aggregation type according to the direction of the business flow; and when it is determined, based on the acquired flow information of the business flow, that the configured in-band detection task meets an aggregation condition corresponding to the task aggregation type, aggregating the configured in-band detection task with the in-band detection task that meets the aggregation condition to obtain an aggregated in-band detection task.
第四方面,本公开实施例提供一种计算机可读介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:获取为接收的业务流配置的带内检测任务;根据业务流的方向,确定任务聚合类型;在根据获取的业务流的流信息,确定配置的带内检测任务满足与任务聚合类型对应的聚合条件的情况下,将配置的带内检测任务与满足聚合条件的带内检测任务进行聚合处理,得到聚合后的带内检测任务。In a fourth aspect, an embodiment of the present disclosure provides a computer-readable medium having a computer program stored thereon, which implements the following steps when the computer program is executed by a processor: obtaining an in-band detection task configured for a received business flow; determining a task aggregation type according to a direction of the business flow; and when it is determined, based on the acquired flow information of the business flow, that the configured in-band detection task satisfies an aggregation condition corresponding to the task aggregation type, aggregating the configured in-band detection task with the in-band detection task that satisfies the aggregation condition to obtain an aggregated in-band detection task.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
在本公开实施例的附图中:In the accompanying drawings of the embodiments of the present disclosure:
图1为根据本公开实施例的检测任务处理方法的流程图;FIG1 is a flow chart of a detection task processing method according to an embodiment of the present disclosure;
图2a为根据本公开实施例的IOAM明细任务的示意图;FIG2a is a schematic diagram of an IOAM detailed task according to an embodiment of the present disclosure;
图2b为根据本公开实施例的聚合后的IOAM任务的示意图;FIG2 b is a schematic diagram of an aggregated IOAM task according to an embodiment of the present disclosure;
图3为根据本公开实施例的检测任务处理装置的组成框图;FIG3 is a block diagram of a detection task processing device according to an embodiment of the present disclosure;
图4为根据本公开实施例的电子设备的组成框图。FIG. 4 is a block diagram of an electronic device according to an embodiment of the present disclosure.
具体实施方式Detailed ways
为使本领域的技术人员更好地理解本公开的技术方案,下面结合附图对本公开实施例提供的检测任务处理方法、装置、设备和计算机可读介质进行详细描述。 In order to enable those skilled in the art to better understand the technical solution of the present disclosure, the detection task processing method, device, equipment and computer-readable medium provided by the embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
在下文中将参考附图更充分地描述本公开,但是所示的实施例可以以不同形式来体现,且本公开不应当被解释为限于以下阐述的实施例。反之,提供这些实施例的目的在于使本公开透彻和完整,并将使本领域技术人员充分理解本公开的范围。The present disclosure will be described more fully below with reference to the accompanying drawings, but the embodiments shown may be embodied in different forms, and the present disclosure should not be construed as being limited to the embodiments set forth below. On the contrary, the purpose of providing these embodiments is to make the present disclosure thorough and complete, and will enable those skilled in the art to fully understand the scope of the present disclosure.
本公开实施例的附图用来提供对本公开实施例的进一步理解,并且构成说明书的一部分,与详细实施例一起用于解释本公开,并不构成对本公开的限制。通过参考附图对详细实施例进行描述,以上和其它特征和优点对本领域技术人员将变得更加显而易见。The accompanying drawings of the embodiments of the present disclosure are used to provide a further understanding of the embodiments of the present disclosure, and constitute a part of the specification, and are used together with the detailed embodiments to explain the present disclosure, and do not constitute a limitation of the present disclosure. By describing the detailed embodiments with reference to the accompanying drawings, the above and other features and advantages will become more apparent to those skilled in the art.
本公开可借助本公开的理想示意图而参考平面图和/或截面图进行描述。因此,可根据制造技术和/或容限来修改示例图示。The present disclosure may be described with reference to plan views and/or cross-sectional views by means of ideal schematic views of the present disclosure. Therefore, the exemplary illustrations may be modified according to manufacturing techniques and/or tolerances.
在不冲突的情况下,本公开各实施例及实施例中的各特征可相互组合。In the absence of conflict, the various embodiments of the present disclosure and the various features therein may be combined with each other.
本公开所使用的术语仅用于描述特定实施例,且不意欲限制本公开。如本公开所使用的术语“和/或”包括一个或多个相关列举条目的任何和所有组合。如本公开所使用的单数形式“一个”和“该”也意欲包括复数形式,除非上下文另外清楚指出。如本公开所使用的术语“包括”、“由……制成”,指定存在所述特征、整体、步骤、操作、元件和/或组件,但不排除存在或添加一个或多个其它特征、整体、步骤、操作、元件、组件和/或其群组。The terms used in the present disclosure are only used to describe specific embodiments and are not intended to limit the present disclosure. The term "and/or" as used in the present disclosure includes any and all combinations of one or more related enumerated items. The singular forms "one" and "the" as used in the present disclosure are also intended to include plural forms, unless the context clearly indicates otherwise. The terms "including", "made of..." as used in the present disclosure specify the presence of the features, wholes, steps, operations, elements and/or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and/or groups thereof.
除非另外限定,否则本公开所用的所有术语(包括技术和科学术语)的含义与本领域普通技术人员通常理解的含义相同。还将理解,诸如那些在常用字典中限定的那些术语应当被解释为具有与其在相关技术以及本公开的背景下的含义一致的含义,且将不解释为具有理想化或过度形式上的含义,除非本公开明确如此限定。Unless otherwise defined, all terms (including technical and scientific terms) used in this disclosure have the same meaning as those commonly understood by those of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and this disclosure, and will not be interpreted as having an idealized or overly formal meaning unless explicitly defined in this disclosure.
本公开不限于附图中所示的实施例,而是包括基于制造工艺而形成的配置的修改。因此,附图中例示的区具有示意性属性,并且图中所示区的形状例示了元件的区的具体形状,但并不是旨在限制性的。The present disclosure is not limited to the embodiments shown in the drawings, but includes modifications of the configurations formed based on the manufacturing process. Therefore, the regions illustrated in the drawings have schematic properties, and the shapes of the regions shown in the drawings illustrate the specific shapes of the regions of the elements, but are not intended to be limiting.
在本公开实施例中,IOAM是数据通讯领域中的一种网络测量和流量检测技术,例如可以为切片分组网(Slicing Packet Network,SPN)提供网络中业务流的随路检测(也称IOAM随流检测)。IOAM 随流检测技术通过在业务中加入流标识(Flow ID)作为标签的方式,对业务流经过的网络节点进行逐条检测,可测量获得包数、时戳两个原始数据,经过控制器汇总计算,可获得如下性能指标:丢包率、单向/双向时延、时延抖动中的至少一种。相关技术中IOAM任务为明细任务(简称IOAM明细任务)。IOAM明细任务是指每个IOAM任务是为一条业务流创建的端到端(例如节点设备A的接口A1到节点设备B的接口B1)的IOAM测量任务。In the embodiments of the present disclosure, IOAM is a network measurement and flow detection technology in the field of data communication, for example, it can provide on-line detection (also called IOAM on-line detection) of service flows in the network for Slicing Packet Network (SPN). The flow detection technology detects each network node through which the service flow passes by adding a flow ID as a label in the service, and can measure and obtain two original data: the number of packets and the timestamp. After the controller summarizes and calculates, the following performance indicators can be obtained: packet loss rate, one-way/two-way delay, and at least one of delay jitter. In the related technology, the IOAM task is a detailed task (abbreviated as IOAM detailed task). An IOAM detailed task means that each IOAM task is an end-to-end IOAM measurement task created for a service flow (for example, interface A1 of node device A to interface B1 of node device B).
作为示例,节点设备分析业务流,获取业务流的五元组信息,五元组信息包括:源网络地址、宿网络地址、通信协议号、源端口号、宿端口号。通信协议号用于标识传输层协议的类型,宿网络地址也称目的网络地址,宿端口号也称目的端口号。As an example, the node device analyzes the service flow and obtains the five-tuple information of the service flow, which includes: source network address, sink network address, communication protocol number, source port number, and sink port number. The communication protocol number is used to identify the type of transport layer protocol, the sink network address is also called the destination network address, and the sink port number is also called the destination port number.
节点设备A将数据收集指令从接口A1逐跳发送至节点设备B的接口B1,每一跳的节点设备均根据该数据收集指令收集测量数据,网络中的控制节点可以对各个节点收集的测量数据进行分析,以实现对节点设备A与节点设备B之间的流量信息进行检测和观察,从而可以快速感知网络性能相关故障,并进行精确的故障定界定位。Node device A sends the data collection instruction from interface A1 to interface B1 of node device B hop by hop. The node device at each hop collects measurement data according to the data collection instruction. The control node in the network can analyze the measurement data collected by each node to detect and observe the traffic information between node device A and node device B, so as to quickly perceive network performance-related faults and accurately demarcate and locate the faults.
在一些场景中,对于同路由下发的多条业务流,若仅仅根据首尾节点的网络地址去创建IOAM任务的话,在工程场景上会出现非常多的IOAM任务,处理起来会很繁琐,内部运营维护成本也会增加。In some scenarios, for multiple business flows issued by the same route, if IOAM tasks are created only based on the network addresses of the head and tail nodes, a large number of IOAM tasks will appear in the engineering scenario, which will be cumbersome to handle and increase internal operation and maintenance costs.
本公开提供一种检测任务处理方法,用于解决大量IOAM任务处理起来较为繁琐,增加内部运营维护成本的问题。The present disclosure provides a detection task processing method for solving the problem that a large number of IOAM tasks are complicated to process and increase internal operation and maintenance costs.
参照图1,本公开实施例提供一种检测任务处理方法。图1为根据本公开实施例的检测任务处理方法的流程示意图。如图1所示,本公开实施例中的检测任务处理方法可以包括步骤S110至S130。Referring to Fig. 1, an embodiment of the present disclosure provides a detection task processing method. Fig. 1 is a flow chart of the detection task processing method according to an embodiment of the present disclosure. As shown in Fig. 1, the detection task processing method in the embodiment of the present disclosure may include steps S110 to S130.
在步骤S110,获取为接收的业务流配置的带内检测任务。In step S110, an in-band detection task configured for the received service flow is obtained.
在步骤S120,根据业务流的方向,确定任务聚合类型。In step S120, the task aggregation type is determined according to the direction of the business flow.
在步骤S130,在根据获取的业务流的流信息,确定配置的带内检测任务满足与任务聚合类型对应的聚合条件的情况下,将配置的带内检测任务与满足聚合条件的带内检测任务进行聚合处理,得到聚合 后的带内检测任务。In step S130, when it is determined that the configured in-band detection task meets the aggregation condition corresponding to the task aggregation type according to the acquired flow information of the service flow, the configured in-band detection task is aggregated with the in-band detection task that meets the aggregation condition to obtain an aggregated task. The in-band detection task.
根据本公开实施例的检测任务处理方法,根据所接收业务流的方向可以确定带内检测任务的聚合类型,若根据业务流的流信息,确定该业务流的带内检测任务满足相应聚合条件的情况下,将满足该聚合条件的带内检测任务进行聚合处理,得到聚合后的带内检测任务;对带内检测任务的聚合可以使工程上大量IOAM任务的数量得到减少,从而使得服务器资源可以合理分配,优化了网络性能,同时也减轻了网络管理员通过人工下发IOAM任务信息带来的负担,降低了操作难度,容易扩展且可靠性高,大大提高了用户体验。According to the detection task processing method of the embodiment of the present invention, the aggregation type of the in-band detection task can be determined according to the direction of the received business flow. If it is determined according to the flow information of the business flow that the in-band detection task of the business flow meets the corresponding aggregation condition, the in-band detection tasks that meet the aggregation condition will be aggregated to obtain the aggregated in-band detection tasks. The aggregation of in-band detection tasks can reduce the number of a large number of IOAM tasks in the project, so that server resources can be reasonably allocated, and the network performance is optimized. At the same time, it also reduces the burden on network administrators by manually issuing IOAM task information, reduces the difficulty of operation, is easy to expand and has high reliability, and greatly improves the user experience.
在一些实施例中,步骤S120中,业务流的方向包括上行方向和下行方向;上行方向包括用户侧运营商边缘设备到网络侧运营商边缘设备的方向,下行方向包括网络侧运营商边缘设备到用户侧运营商边缘设备的方向。In some embodiments, in step S120, the direction of the service flow includes an uplink direction and a downlink direction; the uplink direction includes the direction from the user-side operator edge device to the network-side operator edge device, and the downlink direction includes the direction from the network-side operator edge device to the user-side operator edge device.
用户侧运营商边缘(User-end Provider Edge,UPE)设备是直接连接用户设备的网络设备,用于实现用户接入功能。网络侧运营商边缘(Network Provider Edge,NPE)设备是连接汇聚侧端点并面向网络侧的运营商边缘(Service Provider-end Provider Edge,SPE)设备。SPE设备用于实现虚拟专用网络(Virtual Private Network,VPN)路由的管理和发布。示例性地,在三层虚拟专用网(Layer 3Virtual Private Network,L3VPN)中,NPE设备为核心网侧端点设备,SPE设备为汇聚侧端点设备,UPE设备为接入侧端点设备。The User-end Provider Edge (UPE) device on the user side is a network device that is directly connected to the user device and is used to implement the user access function. The Network Provider Edge (NPE) device on the network side is a Service Provider-end Provider Edge (SPE) device that is connected to the aggregation side endpoint and faces the network side. The SPE device is used to implement the management and release of Virtual Private Network (VPN) routes. For example, in a Layer 3 Virtual Private Network (L3VPN), the NPE device is the endpoint device on the core network side, the SPE device is the endpoint device on the aggregation side, and the UPE device is the endpoint device on the access side.
在一些实施例中,步骤S120具体可以包括:在业务流的方向为上行方向的情况下,确定任务聚合类型为上行聚合;在业务流的方向为下行方向的情况下,确定任务聚合类型为下行聚合。In some embodiments, step S120 may specifically include: when the direction of the business flow is an uplink direction, determining the task aggregation type to be an uplink aggregation; when the direction of the business flow is a downlink direction, determining the task aggregation type to be a downlink aggregation.
在本公开实施例中,根据业务流的方向可以把IOAM任务分成两大类:从UPE设备到NPE设备的上行IOAM任务和从NPE设备到UPE设备的下行IOAM任务。相应的,聚合IOAM任务也被分为相对应的两大类:上行聚合IOAM任务和下行IOAM任务。上行聚合IOAM任务与上行IOAM任务相对应,简称上行聚合任务,)下行IOAM任务与下行聚合IOAM任务相对应,简称下行聚合任务。 In the disclosed embodiment, the IOAM tasks can be divided into two categories according to the direction of the service flow: the uplink IOAM tasks from the UPE device to the NPE device and the downlink IOAM tasks from the NPE device to the UPE device. Correspondingly, the aggregation IOAM tasks are also divided into two corresponding categories: the uplink aggregation IOAM tasks and the downlink IOAM tasks. The uplink aggregation IOAM tasks correspond to the uplink IOAM tasks, referred to as the uplink aggregation tasks, and the downlink IOAM tasks correspond to the downlink aggregation IOAM tasks, referred to as the downlink aggregation tasks.
在本公开实施例中,上行聚合处理包括:获取IOAM任务对应的宿网络地址,确定该宿网络地址所在的网段,将从业务流的源节点(即入口节点)接入,目的节点的网络地址在某个网段区间的报文(或报文对应的数据包)进行染色,以对该网段区间的报文所对应的IOAM进行聚合。In the disclosed embodiment, the uplink aggregation processing includes: obtaining the destination network address corresponding to the IOAM task, determining the network segment where the destination network address is located, accessing the source node (i.e., the ingress node) of the service flow, and coloring the message (or the data packet corresponding to the message) in a certain network segment interval with the network address of the destination node, so as to aggregate the IOAM corresponding to the message in the network segment interval.
随路检测技术可以利用报文中携带的随路检测信息对网络中的业务流进行特征标记,该特征标记也可称之为染色(AltMarking),染色可以理解为IOAM任务处理流程中的标记动作。示例性地,在一个随路检测周期内,可以根据报文的特征对报文进行染色,例如,可以对指定五元组信息的报文进行染色。在一些实施例中,源节点被染色的报文(或报文对应的数据包)需要在宿节点配置剥离绑定,以避免业务中断。The on-path detection technology can use the on-path detection information carried in the message to feature the service flow in the network. The feature marking can also be called coloring (AltMarking), and coloring can be understood as a marking action in the IOAM task processing flow. Exemplarily, within a on-path detection cycle, the message can be colored according to the characteristics of the message. For example, the message with specified five-tuple information can be colored. In some embodiments, the colored message (or the data packet corresponding to the message) of the source node needs to be stripped and bound at the destination node to avoid service interruption.
在本公开实施例中,对于上行聚合来说,如果将IOAM任务发错宿端,可能会导致业务中断。因此,通过上行聚合对从UPE设备到NPE设备的业务流进行分析,获取IOAM任务所属业务流的流信息的宿网络地址,并获取该宿网络地址对应的网段,若该网段包含在预先创建的已规划网段内,则可以将入口节点接入的且与宿网络地址对应的网段在某个已规划网段区间的报文进行染色,形成一个IOAM聚合任务,该IOAM聚合任务用于将宿网络地址所属网段在某个已规划网段区间的报文的IOAM任务进行聚合。In the disclosed embodiment, for uplink aggregation, if the IOAM task is sent to the wrong destination, it may cause service interruption. Therefore, the service flow from the UPE device to the NPE device is analyzed through uplink aggregation, the destination network address of the flow information of the service flow to which the IOAM task belongs is obtained, and the network segment corresponding to the destination network address is obtained. If the network segment is included in the pre-created planned network segment, the message of the network segment accessed by the ingress node and corresponding to the destination network address in a certain planned network segment interval can be colored to form an IOAM aggregation task, which is used to aggregate the IOAM tasks of the message of the network segment to which the destination network address belongs in a certain planned network segment interval.
在本公开实施例中,由于同路由下的业务流的数量大概率存在多条,因此聚合任务对同路由的业务流具有重要意义。示例性地,如果用户输入的网段为1.1.1.1/0,则意味着根据该网段可以跟踪所有的业务流,在实际应用场景中这种情况是不被容许的,因此,对于端到端的业务流,需要根据业务流的目的网络对应的网段关联的目的网元来判断用户输入的目的网段是否合法。但是如果先端到端查询所有目的网元的静态路由再分析,效率极其低下。因此,本公开实施例通过预先创建已规划网段来实现网段规划,在创建上行聚合IOAM任务时,对于某个业务流的IOAM任务,可以选择已创建的网段(即预先创建的已规划网段),将该业务流的IOAM任务添加到该已创建 的网段的IOAM聚合任务中,以实现带内检测任务的上行聚合。In the embodiments of the present disclosure, since there are likely to be multiple business flows under the same route, the aggregation task is of great significance to the business flows with the same route. For example, if the network segment input by the user is 1.1.1.1/0, it means that all business flows can be tracked based on this network segment. This situation is not allowed in actual application scenarios. Therefore, for end-to-end business flows, it is necessary to determine whether the destination network segment input by the user is legal based on the destination network element associated with the network segment corresponding to the destination network of the business flow. However, if the static routes of all destination network elements are queried end-to-end and then analyzed, the efficiency is extremely low. Therefore, the embodiments of the present disclosure implement network segment planning by pre-creating a planned network segment. When creating an uplink aggregation IOAM task, for the IOAM task of a certain business flow, you can select the created network segment (that is, the pre-created planned network segment) and add the IOAM task of the business flow to the created network segment. In the IOAM aggregation task of the network segment, the uplink aggregation of the in-band detection task is realized.
在本公开实施例中,网元即网络中的设备。通常可以将网元视为网络管理中可以监视和管理的最小单位。示例性地,在为业务流创建端到端(例如节点设备A的接口A1到节点设备B的接口B1)的IOAM测量任务时,节点设备B即为目的网元。In the embodiments of the present disclosure, a network element is a device in a network. A network element can generally be regarded as the smallest unit that can be monitored and managed in network management. For example, when an end-to-end IOAM measurement task (e.g., interface A1 of node device A to interface B1 of node device B) is created for a service flow, node device B is the destination network element.
在一些实施例中,任务聚合类型为上行聚合;步骤S130具体可以包括步骤S11至S13。In some embodiments, the task aggregation type is uplink aggregation; step S130 may specifically include steps S11 to S13.
在步骤S11,接收目标网段。In step S11, a target network segment is received.
接收的目标网段是:接收的业务流的目标网络地址所对应的网段。The received target network segment is: the network segment corresponding to the target network address of the received service flow.
应理解,在通过手动创建上行聚合的IOAM聚合任务时,接收目标网段具有多种实现方式。例如,可以接收由用户通过输入设备直接输入的网段,得到目标网段;可以是通过页面显示至少一个已创建的网段,该页面为每个已创建的网段提供相应的选择控件(例如单选框或单选按钮),响应于选择控件被选中的操作,将被选中的选择控件对应的已创建的网段,作为目标网段;还可以是用户预先将目标网段输入并存储到指定设备,本设备接收由该指定设备发送的目标网段。其中,指定设备例如可以是预先设定的存储设备,具体可根据实际情况进行设置。It should be understood that when manually creating an IOAM aggregation task for uplink aggregation, there are multiple ways to implement receiving the target network segment. For example, the network segment directly input by the user through an input device can be received to obtain the target network segment; at least one created network segment can be displayed through a page, and the page provides a corresponding selection control (such as a radio button or a radio button) for each created network segment. In response to the operation of selecting the selection control, the created network segment corresponding to the selected selection control is used as the target network segment; or the user can input the target network segment in advance and store it in a designated device, and this device receives the target network segment sent by the designated device. Among them, the designated device can be, for example, a pre-set storage device, which can be set according to actual conditions.
示例性地,若接收到由用户通过输入设备直接输入的网段,则对于端到端的业务流,无需再输入该业务流的宿端口。Exemplarily, if a network segment is received that is directly input by a user through an input device, then for an end-to-end service flow, it is not necessary to input a sink port of the service flow.
在步骤S12,在目标网段在预先创建的已规划网段内的情况下,获取预先创建的与输入的目标网段对应的上行聚合任务。In step S12, when the target network segment is within the pre-created planned network segment, a pre-created uplink aggregation task corresponding to the input target network segment is obtained.
预先创建的已规划网段可以包括至少一个已创建的网段;目标网段在预先创建的已规划网段内表示该目标网段是一个已创建的网段。在该情况下,获取预先为该网段创建的上行聚合IOAM任务,即可获取该网段下已经聚合的业务流上行方向的IOAM任务。The pre-created planned network segment may include at least one created network segment; the target network segment being within the pre-created planned network segment indicates that the target network segment is a created network segment. In this case, obtaining the uplink aggregation IOAM task pre-created for the network segment can obtain the IOAM task for the uplink direction of the service flow that has been aggregated under the network segment.
在步骤S13,将配置的带内检测任务添加到上行聚合任务中,得到聚合后的带内检测任务。In step S13, the configured in-band detection task is added to the uplink aggregation task to obtain the aggregated in-band detection task.
在步骤S13后,即,将配置的带内检测任务添加到上行聚合任 务中之后,完成对配置的带内检测任务的上行聚合。After step S13, that is, adding the configured in-band detection task to the uplink aggregation task After the service is completed, the uplink aggregation of the configured in-band detection task is completed.
在本公开实施例中,获取为接收的业务流配置的IOAM任务,在确定业务流的方向为上行方向,任务聚合类型为上行聚合的情况下,接收目标网段,在目标网段为预先创建的已规划网段的情况下,将为该业务流配置的IOAM任务添加到预先创建的与目标网段对应的上行聚合任务,将入口接入的目的在某个网段区间的业务流的数据包一律染色,实现为该业务流配置的IOAM任务的上行聚合。In an embodiment of the present disclosure, an IOAM task configured for a received business flow is obtained, and when it is determined that the direction of the business flow is an upward direction and the task aggregation type is an upward aggregation, a target network segment is received. When the target network segment is a pre-created and planned network segment, the IOAM task configured for the business flow is added to a pre-created upward aggregation task corresponding to the target network segment, and data packets of business flows whose ingress access destination is within a certain network segment interval are uniformly colored, thereby realizing the upward aggregation of the IOAM task configured for the business flow.
在本公开实施例中,上行聚合是在用户侧运营商边缘设备到网络侧运营商边缘设备的方向,对上行方向的业务流的带内检测任务进行聚合。因此,对于网络侧运营商边缘设备而言,上行聚合是在业务流的宿端,对用户侧运营商边缘设备到网络侧运营商边缘设备的业务流进行分析而进行的任务聚合。In the embodiment of the present disclosure, uplink aggregation is to aggregate the in-band detection tasks of the service flow in the uplink direction from the user-side operator edge device to the network-side operator edge device. Therefore, for the network-side operator edge device, uplink aggregation is the task aggregation performed by analyzing the service flow from the user-side operator edge device to the network-side operator edge device at the sink end of the service flow.
在一些实施例中,任务聚合类型为上行聚合;步骤S130具体可以包括步骤S21至S23。In some embodiments, the task aggregation type is uplink aggregation; step S130 may specifically include steps S21 to S23.
在步骤S21,从业务流的流信息中获取源网络地址和宿网络地址。In step S21, a source network address and a destination network address are obtained from flow information of the service flow.
在步骤S22,在宿网络地址所在的网段在预先创建的已规划网段内,而源网络地址所在的网段不在已规划网段内的情况下,基于业务流的流信息创建新的上行聚合任务。In step S22, when the network segment where the sink network address is located is within the pre-created planned network segment, and the network segment where the source network address is located is not within the planned network segment, a new uplink aggregation task is created based on the flow information of the service flow.
在该步骤中,若宿网络地址所属网段在某个已规划网段区间,且源网络地址所属网段不在任一已规划网段区间,则执行步骤S23以创建上行聚合IOAM任务。In this step, if the network segment to which the destination network address belongs is within a planned network segment interval, and the network segment to which the source network address belongs is not within any planned network segment interval, step S23 is executed to create an uplink aggregation IOAM task.
在步骤S23,将配置的带内检测任务添加到新的上行聚合任务中,得到聚合后的带内检测任务。In step S23, the configured in-band detection task is added to the new uplink aggregation task to obtain the aggregated in-band detection task.
通过上述步骤S21至S23,在接收到业务流之后,从业务流的流信息中获取源网络地址和宿网络地址,判断所获取的源网络地址所属网段和宿网络地址所属网段是否在预先创建的已规划网段内,若判定源网络地址所属网段不在已规划网段内,且宿网络地址所属网段在已规划网段内,则自动根据该业务流的流信息创建上行聚合IOAM任务。通过该方法,实现按照目的网段将基站的业务流进行区分,对宿网络地址属于已规划网段的业务流所对应的带内检测任务进行聚 合,提高任务处理效率,节约服务器资源。Through the above steps S21 to S23, after receiving the service flow, the source network address and the destination network address are obtained from the flow information of the service flow, and it is determined whether the network segment to which the obtained source network address belongs and the network segment to which the destination network address belongs are in the pre-created planned network segment. If it is determined that the network segment to which the source network address belongs is not in the planned network segment, and the network segment to which the destination network address belongs is in the planned network segment, then an uplink aggregation IOAM task is automatically created according to the flow information of the service flow. Through this method, the service flow of the base station is differentiated according to the destination network segment, and the in-band detection task corresponding to the service flow whose destination network address belongs to the planned network segment is aggregated. It improves task processing efficiency and saves server resources.
根据本公开实施例的检测任务处理方法,可以将聚合技术应用于IOAM任务,根据网段来聚合多条上行IOAM任务,该方法操作简单、容易扩展、可靠性高。According to the detection task processing method of the embodiment of the present disclosure, aggregation technology can be applied to IOAM tasks, and multiple uplink IOAM tasks can be aggregated according to network segments. The method is simple to operate, easy to expand, and highly reliable.
在一些实施例中,在上述步骤S22,基于业务流的流信息创建新的上行聚合任务的步骤,具体可以包括步骤S31至S35。In some embodiments, in the above step S22, the step of creating a new uplink aggregation task based on the flow information of the service flow may specifically include steps S31 to S35.
在步骤S31,根据业务流的流信息设置新的上行聚合任务的基本参数,其中,基本参数包括业务流的五元组信息、任务名称、任务标识和流标识中的至少一种。In step S31, basic parameters of a new uplink aggregation task are set according to the flow information of the service flow, wherein the basic parameters include at least one of quintuple information of the service flow, a task name, a task identifier, and a flow identifier.
在该步骤中,业务流的五元组信息包括业务流的源网络地址、宿网络地址、通信协议号、源端口号、宿端口号。任务名称用于指示IOAM任务用于指示该上行聚合任务的名称,任务标识用于唯一标识该上行聚合任务,流标识用于对该业务流进行唯一标识。In this step, the five-tuple information of the service flow includes the source network address, destination network address, communication protocol number, source port number, and destination port number of the service flow. The task name is used to indicate the name of the IOAM task used to indicate the uplink aggregation task, the task identifier is used to uniquely identify the uplink aggregation task, and the flow identifier is used to uniquely identify the service flow.
在步骤S32,将宿网络地址所在的网段作为第一规划网段,获取在第一规划网段内的用户侧端口,以及从私网路由中获取以第一规划网段作为目标网段的出端口。In step S32, the network segment where the destination network address is located is taken as the first planned network segment, the user side port in the first planned network segment is obtained, and the egress port with the first planned network segment as the target network segment is obtained from the private network routing.
在步骤S33,根据用户侧端口和出端口的并集,得到新的上行聚合任务所对应的宿端口。In step S33, a sink port corresponding to a new uplink aggregation task is obtained according to the union of the user-side port and the egress port.
在步骤S34,将第一规划网段中包含的网络地址,作为新的上行聚合任务所对应的宿网络地址。In step S34, the network address included in the first planned network segment is used as the sink network address corresponding to the new uplink aggregation task.
在步骤S32和S34,在创建上行聚合IOAM任务过程中,除了设置上行聚合任务的基本参数,对于在规划网段内的工作网元(主用网元)、保护网元(备用网元)等,获取在规划网段内的用户侧端口(也称用户侧接口)和私网路由中目标网段为规划网段的出端口(也称出接口)的并集,得到创建的该上行聚合任务的目标网段的出端口,将规划网络内的网络地址作为创建的该上行聚合任务的宿网络地址。In steps S32 and S34, in the process of creating the uplink aggregation IOAM task, in addition to setting the basic parameters of the uplink aggregation task, for the working network elements (main network elements) and protection network elements (backup network elements) in the planned network segment, the union of the user-side ports (also called user-side interfaces) in the planned network segment and the egress ports (also called egress interfaces) in the private network routing whose target network segment is the planned network segment is obtained, and the egress port of the target network segment of the created uplink aggregation task is obtained, and the network address in the planned network is used as the host network address of the created uplink aggregation task.
在步骤S35,根据基本参数、新的上行聚合任务所对应的宿端口的端口信息、以及新的上行聚合任务所对应的宿网络地址,创建新的上行聚合任务。In step S35, a new uplink aggregation task is created according to the basic parameters, the port information of the sink port corresponding to the new uplink aggregation task, and the sink network address corresponding to the new uplink aggregation task.
在本公开实施例中,在接收到业务流之后,从业务流的流信息 中获取源网络地址和宿网络地址,若判定该源网络地址所属网段不在已规划网段内,且宿网络地址所属网段在已规划网段内,则可以根据该业务流的流信息,自动设置新的上行聚合任务的基本参数、对应的宿端口的端口信息和对应的宿网络地址,从而实现上行聚合IOAM任务的自动创建。In the embodiment of the present disclosure, after receiving the service flow, the flow information of the service flow is The source network address and the sink network address are obtained. If it is determined that the network segment to which the source network address belongs is not within the planned network segment, and the network segment to which the sink network address belongs is within the planned network segment, the basic parameters of the new uplink aggregation task, the port information of the corresponding sink port, and the corresponding sink network address can be automatically set according to the flow information of the service flow, thereby realizing the automatic creation of the uplink aggregation IOAM task.
在一些实施例中,在步骤S21,从业务流的流信息中获取源网络地址和宿网络地址之后,检测任务处理方法还包括:S41,在宿网络地址所在的网段和源网络地址所在的网段,均在预先创建的已规划网段内的情况下,或均不在预先创建的已规划网段内的情况下,从业务流的流信息中获取源端口信息和宿端口信息,创建从源端口到宿端口的业务流的带内检测任务。In some embodiments, in step S21, after obtaining the source network address and the destination network address from the flow information of the service flow, the detection task processing method also includes: S41, when the network segment where the destination network address is located and the network segment where the source network address is located are both within the pre-created planned network segment, or when neither is within the pre-created planned network segment, obtaining the source port information and the destination port information from the flow information of the service flow, and creating an in-band detection task for the service flow from the source port to the destination port.
在该实施例中,若源网络地址和宿网络地址均不在已规划网段内,表示该业务流的IOAM任务不在要创建的聚合任务的计划范围内,因此,可以按照明细的方式为该业务流新建IOAM任务,即根据该业务流的流信息,单独为该业务流创建IOAM任务,且对于该业务流的IOAM任务,不进行聚合处理。In this embodiment, if both the source network address and the destination network address are not within the planned network segment, it means that the IOAM task of the business flow is not within the planned scope of the aggregation task to be created. Therefore, a new IOAM task can be created for the business flow in a detailed manner, that is, based on the flow information of the business flow, an IOAM task is created for the business flow separately, and no aggregation processing is performed on the IOAM task of the business flow.
在该实施例中,若源网络地址和宿网络地址均在已规划网段内,表示该业务流不属于UPE设备到NPE设备这样的一个上行方向,例如该业务流可能是网络内部的一些业务流,不适合聚合任务。In this embodiment, if the source network address and the destination network address are both within the planned network segment, it indicates that the service flow does not belong to an uplink direction from the UPE device to the NPE device. For example, the service flow may be some service flow within the network and is not suitable for aggregation tasks.
在该实施例中,对于源网络地址和宿网络地址均不在已规划网段内,或均在已规划网段内的情况,可以从业务流的流信息中获取源端口信息和宿端口信息,创建从源端口到宿端口的业务流的带内检测任务,从而根据该业务流的流信息单独为该业务流创建IOAM任务,得到该业务流的明细任务。In this embodiment, for the case where both the source network address and the destination network address are not within the planned network segment, or are both within the planned network segment, the source port information and the destination port information can be obtained from the flow information of the business flow, and an in-band detection task for the business flow from the source port to the destination port is created, thereby creating an IOAM task for the business flow based on the flow information of the business flow, and obtaining a detailed task for the business flow.
在本公开实施例中,下行聚合是在NPE设备到UPE设备的方向,对下行方向的业务流的带内检测任务进行聚合。因此,对于NPE设备而言,下行聚合是在业务流的源端,对NPE到UPE设备的业务流进行分析而进行的任务聚合。并且,由于在业务流的源端进行下行聚合,作为业务流的入口不需要担心业务流发错设备,即使发错设备最严重的结果例如为这条业务流毫无作用,不会导致业务中断。 In the disclosed embodiment, the downlink aggregation is to aggregate the in-band detection tasks of the downlink service flow in the direction from the NPE device to the UPE device. Therefore, for the NPE device, the downlink aggregation is the task aggregation performed by analyzing the service flow from the NPE to the UPE device at the source end of the service flow. In addition, since the downlink aggregation is performed at the source end of the service flow, as the entrance of the service flow, there is no need to worry about the service flow being sent to the wrong device. Even if the worst result of sending to the wrong device is that the service flow is useless, it will not cause service interruption.
在一些实施例中,任务聚合类型为下行聚合;步骤S130具体可以包括步骤S51至S53。In some embodiments, the task aggregation type is downlink aggregation; step S130 may specifically include steps S51 to S53.
在步骤S51,获取业务流对应的带内检测任务的参数信息,作为参数查询信息,其中,参数查询信息中至少包括:业务流对应的虚拟路由转发信息和宿网络地址。In step S51, parameter information of the in-band detection task corresponding to the service flow is obtained as parameter query information, wherein the parameter query information at least includes: virtual routing forwarding information and a sink network address corresponding to the service flow.
在该步骤中,至少使用业务流的虚拟路由转发(Virtual Routing And Forwarding,VRF)信息和宿网络地址作为参数查询信息,从预设的IOAM数据表中查询是否包含该已经有相同的信息。In this step, at least the virtual routing and forwarding (VRF) information and the destination network address of the service flow are used as parameter query information to query whether the preset IOAM data table contains the same information.
在一些实施例中,参数查询信息中还可以包括:业务流的如下信息项中的至少一项:宿节点信息、网络地址族、协议号、源端口号,其中,源端口号所属的源端口是支持带内检测任务聚合的通信协议的端口。In some embodiments, the parameter query information may also include: at least one of the following information items of the service flow: host node information, network address family, protocol number, source port number, wherein the source port to which the source port number belongs is a port of a communication protocol that supports in-band detection task aggregation.
在该实施例中,参数查询信息在包含虚拟路由转发信息和宿网络地址的基础上,还可包括宿节点信息、网络地址族、协议号、源端口号中至少一种。源端口号用于标识源端口,源端口号所标识的端口应支持带内检测任务聚合的相关通信协议。示例性地,协议号为132的业务流的源端口号不支持带内检测任务聚合的相关协议,不能进行IOAM任务的聚合。In this embodiment, the parameter query information may include at least one of the following: the destination node information, the network address family, the protocol number, and the source port number, in addition to the virtual routing forwarding information and the destination network address. The source port number is used to identify the source port, and the port identified by the source port number should support the relevant communication protocols for in-band detection task aggregation. For example, the source port number of the service flow with the protocol number of 132 does not support the relevant protocols for in-band detection task aggregation, and the IOAM task cannot be aggregated.
在一些实施例中,在获取为接收的业务流配置的带内检测任务之后,该方法还包括:对不支持带内检测任务聚合的相关协议的业务流进行过滤处理,从而过滤掉不支持聚合的业务流。In some embodiments, after acquiring the in-band detection task configured for the received service flow, the method further includes: filtering service flows of related protocols that do not support in-band detection task aggregation, thereby filtering out service flows that do not support aggregation.
应理解,实际应用场景中可以存在多种带内检测任务聚合的相关协议的端口,也可以存在其他不支持带内检测任务聚合的相关协议的端口,具体根据实际情况来获取参数查询信息中的协议号和源端口号,本公开实施例不做具体限定。It should be understood that in actual application scenarios, there may be ports of multiple related protocols for in-band detection task aggregation, and there may also be ports of other related protocols that do not support in-band detection task aggregation. The protocol number and source port number in the parameter query information are obtained based on actual conditions, and the present disclosed embodiment does not make specific limitations.
在步骤S52,在从已创建的下行聚合任务的参数信息中查询到参数查询信息的情况下,获取业务流的源端口信息。In step S52, when parameter query information is queried from the parameter information of the created downstream aggregation task, source port information of the service flow is acquired.
在该步骤中,如果从IOAM数据表中查询到存在于参数查询信息相同的信息,则获取业务流的源端口信息,例如源端口的端口号,端口类型等端口信息。 In this step, if the same information as the parameter query information is found in the IOAM data table, the source port information of the service flow is obtained, such as the port number of the source port, the port type and other port information.
在步骤S53,在从已创建的下行聚合任务的接入控制器的端口信息中,查询到业务流的源端口信息的情况下,将已创建的下行聚合任务中包含的带内检测任务,作为聚合后的带内检测任务。In step S53, when the source port information of the service flow is queried from the port information of the access controller of the created downlink aggregation task, the in-band detection task included in the created downlink aggregation task is used as the aggregated in-band detection task.
在步骤S53,可以判断目前的源端口的端口信息是否已经存在于下行聚合IOAM任务的多接入控制器(Access Controller,AC)的端口信息中,多接入控制器表示当前网络为多接入控制器的组网;若存在,则无需新建下行聚合任务,直接将已创建的下行聚合IOAM任务中包含的带内检测任务,作为聚合后的带内IOAM任务。In step S53, it can be determined whether the port information of the current source port already exists in the port information of the multi-access controller (AC) of the downstream aggregation IOAM task. The multi-access controller indicates that the current network is a networking of multiple access controllers. If so, there is no need to create a new downstream aggregation task, and the in-band detection task contained in the created downstream aggregation IOAM task can be directly used as the in-band IOAM task after aggregation.
通过步骤S51至S53,将从同一源端设备(同一个NPE设备)出发到同一目的设备(同一个基站)的业务流的IOAM任务进行聚合,该聚合过程可以通过手动创建或自动创建的方式来实现,对来自同一网络侧运营商边缘设备且具有相同的路由转发信息和宿网络地址(例如去往同一基站)的业务流所对应的带内检测任务进行聚合,提高任务处理效率,节约服务器资源。Through steps S51 to S53, the IOAM tasks of the service flows starting from the same source device (the same NPE device) to the same destination device (the same base station) are aggregated. The aggregation process can be achieved by manual creation or automatic creation. The in-band detection tasks corresponding to the service flows from the same network side operator edge device and with the same routing forwarding information and host network address (for example, going to the same base station) are aggregated to improve task processing efficiency and save server resources.
在一些实施例中,NetFlow是一种流量数据统计标准,在实际应用场景中,可以实现为:用于分析网络数据包信息的工具包,并广泛应用于路由器和交换机中。利用Netfow技术可以检测网络上的IP流量信息。采集到的Netflow流量信息可以监控和记录进出端口的所有流量,从而有利于网络规划,网络管理,流量计费和病毒检测等;自动流创建是利用Netflow自动探测网络中存在的流并自动给相应的流创建端到端的IOAM测量任务。In some embodiments, NetFlow is a traffic data statistics standard. In actual application scenarios, it can be implemented as: a toolkit for analyzing network data packet information, and is widely used in routers and switches. Netfow technology can be used to detect IP traffic information on the network. The collected Netflow traffic information can monitor and record all traffic in and out of the port, which is beneficial to network planning, network management, traffic billing and virus detection; automatic flow creation is to use Netflow to automatically detect the flow existing in the network and automatically create end-to-end IOAM measurement tasks for the corresponding flow.
在一些实施例中,可以在自动创建下行聚合IOAM任务的过程中,可以将同步流量数据统计(NetFlow)的创建过程和自动流创建等创建过程也加入了聚合IOAM的创建模式,从而无需用户手工介入也可以在5G业务中下发聚合任务,减少了大量用户的手工操作,提高IOAM任务的处理效率。In some embodiments, in the process of automatically creating a downlink aggregation IOAM task, the creation process of synchronized traffic data statistics (NetFlow) and automatic flow creation can also be added to the creation mode of the aggregation IOAM, so that aggregation tasks can be issued in 5G services without manual intervention by users, reducing a large number of user manual operations and improving the processing efficiency of IOAM tasks.
在该实施例中,通过NetFlow可以同步实现对高速转发的业务流进行测量和统计。具体地,可以同步分析收集到的各业务流量数据,提供关于流量和流量的可见性,并跟踪流量从何处来、流向何处以及在任何时候生成的流量,记录的信息可用于使用情况监视、异常检测 和其他各种网络管理任务。In this embodiment, NetFlow can be used to synchronously measure and count the high-speed forwarding service flows. Specifically, the collected service flow data can be synchronously analyzed to provide visibility on the flow and traffic, and track where the traffic comes from, where it flows to, and the traffic generated at any time. The recorded information can be used for usage monitoring, anomaly detection, and other purposes. and various other network management tasks.
根据本公开实施例的检测任务处理方法,无需用户手动介入也可以在5G业务中下发聚合任务,减少了大量用户的手动操作,容易扩展且可靠性高。According to the detection task processing method of the embodiment of the present disclosure, aggregation tasks can be issued in 5G services without manual intervention by users, which reduces a large number of manual operations of users, is easy to expand and has high reliability.
在一些实施例中,在步骤S52中的获取业务流的源端口信息之后,检测任务处理方法还包括:S54,在从已创建的下行聚合任务的接入控制器的端口信息中,未查询到业务流的源端口信息的情况下,在将业务流的源端口信息添加到接入控制器的端口信息之后,将已创建的下行聚合任务中包含的带内检测任务,作为聚合后的带内检测任务。In some embodiments, after obtaining the source port information of the service flow in step S52, the detection task processing method also includes: S54, when the source port information of the service flow is not queried from the port information of the access controller of the created downlink aggregation task, after adding the source port information of the service flow to the port information of the access controller, the in-band detection task contained in the created downlink aggregation task is used as the aggregated in-band detection task.
在该实施例中,若未查询到业务流的源端口信息,则需要修改IOAM数据表,在IOAM数据表中添加该源端口信息;该数据表中包含多接入控制器的信息,在该数据表中添加一条接入控制器的信息,通过添加的接入控制器对该源端口信息所对应的业务流的IOAM任务进行汇聚,将该IOAM任务汇聚到上述已创建的下行聚合任务中。In this embodiment, if the source port information of the service flow is not queried, it is necessary to modify the IOAM data table and add the source port information to the IOAM data table; the data table contains information of multiple access controllers, and an access controller information is added to the data table. The IOAM tasks of the service flow corresponding to the source port information are aggregated through the added access controller, and the IOAM tasks are aggregated into the downlink aggregation tasks created above.
在一些实施例中,在数据表中添加一条接入控制器的信息,需要修改端到端数据表中的接入控制器信息列表(ACList)。示例性地,可以通过单点下发修改命令的方式对IOAM数据表进行修改。In some embodiments, to add an access controller information in a data table, it is necessary to modify the access controller information list (ACList) in the end-to-end data table. Exemplarily, the IOAM data table can be modified by sending a modification command from a single point.
根据本公开实施例的检测任务处理方法,根据业务流的方向可以将聚合IOAM任务分成两大类:上行IOAM任务(对应业务流从UPE设备到NPE设备)和下行IOAM任务(对应业务流从NPE设备到UPE设备);聚合IOAM任务也因此分为两类:上行聚合IOAM任务和下行聚合IOAM任务。对于上行聚合IOAM任务,获取上行IOAM任务对应的业务流的宿网络地址的网段,将从业务流的源节点(即入口节点)接入的目的节点的网络地址在某个网段区间的报文(或报文对应的数据包)进行染色,以对该网段区间的报文所对应的IOAM进行聚合;对于下行聚合IOAM任务,可以将从同一源端设备(例如同一个NPE设备)出发,到同一目的设备(例如同一个基站)的业务流IOAM任务进行聚合。通过聚合IOAM任务可以让工程上大量IOAM任务的数量得到减少,使得服务器资源可以合理分配, 优化了网络性能,同时也降低了用户操作难度,大大提高了用户体验。According to the detection task processing method of the embodiment of the present disclosure, the aggregation IOAM tasks can be divided into two categories according to the direction of the business flow: uplink IOAM tasks (corresponding to the business flow from the UPE device to the NPE device) and downlink IOAM tasks (corresponding to the business flow from the NPE device to the UPE device); the aggregation IOAM tasks are therefore divided into two categories: uplink aggregation IOAM tasks and downlink aggregation IOAM tasks. For the uplink aggregation IOAM tasks, the network segment of the host network address of the business flow corresponding to the uplink IOAM task is obtained, and the network address of the destination node accessed from the source node (i.e., the entry node) of the business flow is colored in a certain network segment interval (or the data packet corresponding to the message) to aggregate the IOAM corresponding to the message in the network segment interval; for the downlink aggregation IOAM tasks, the business flow IOAM tasks starting from the same source device (such as the same NPE device) to the same destination device (such as the same base station) can be aggregated. By aggregating IOAM tasks, the number of a large number of IOAM tasks in the project can be reduced, so that server resources can be reasonably allocated. It optimizes network performance, reduces user operation difficulty, and greatly improves user experience.
在实际应用场景中,工程现场可能存在设备老旧的情况,老旧的网络设备性能较低,可支持的最大可配IOAM数量较少。在引入聚合IOAM任务的情况下,可以使得这些设备支持多条IP业务流的流量监控,因此,本公开实施例的认检测任务处理方法可以兼容性能较低的设备。In actual application scenarios, there may be old equipment on the project site, and the old network equipment has low performance and can support a small number of configurable IOAMs. When the aggregated IOAM task is introduced, these devices can support traffic monitoring of multiple IP service flows. Therefore, the detection task processing method of the embodiment of the present disclosure can be compatible with devices with low performance.
在本公开实施例中,业务流的带内检测作为一种流量检测技术,可以应用于以太网业务和L3VPN业务当中,目的在于检测端到端路径业务真实丢包情况、端到端路径业务真实丢包情况、途径路径上每个节点设备(每条链路上的各节点设备)时延引入、途经路径上每节点在时延引入情况下的丢包情况,同时也是现场故障诊断的重要依据,例如诊断节点设备的网络状况,包括但不限于时延、丢包等。In the disclosed embodiments, in-band detection of service flows is a traffic detection technology that can be applied to Ethernet services and L3VPN services. The purpose is to detect the actual packet loss of end-to-end path services, the actual packet loss of end-to-end path services, the delay introduced by each node device on the path (each node device on each link), and the packet loss of each node on the path when the delay is introduced. It is also an important basis for on-site fault diagnosis, such as diagnosing the network status of the node device, including but not limited to delay, packet loss, etc.
为了更好地理解本公开的检测任务处理方法,下面结合图2a和2b,以下行聚合为例,描述本公开示例性示例的检测任务处理方法。图2a为根据本公开实施例的IOAM明细任务的示意图,图2b为根据本公开实施例的聚合后的IOAM任务的示意图。In order to better understand the detection task processing method of the present disclosure, the detection task processing method of the present disclosure is described below in conjunction with Figures 2a and 2b, taking row aggregation as an example. Figure 2a is a schematic diagram of an IOAM detailed task according to an embodiment of the present disclosure, and Figure 2b is a schematic diagram of an IOAM task after aggregation according to an embodiment of the present disclosure.
在图2a和2b中,示例性地示出L3VPN业务的局部网络中的NPE节点设备,例如NPE1和NPE2,L3VPN中的UPE节点设备,例如UPE1和UPE2,用户面功能(User Plane Function,UPF)节点设备,例如UPF1、UPF2、UPF3和UPF4,用户基站设备,例如基站1和基站2。In Figures 2a and 2b, NPE node devices in a local network of L3VPN services, such as NPE1 and NPE2, UPE node devices in L3VPN, such as UPE1 and UPE2, user plane function (UPF) node devices, such as UPF1, UPF2, UPF3 and UPF4, and user base station devices, such as base station 1 and base station 2 are exemplarily shown.
UPF1通过接口1连接于NPE1,UPF2通过接口2连接于NPE1,UPF3通过接口3连接于NPE2、UPF4通过接口4连接于NPE2。图2a和图2b中还示出的UPE1的接口例如接口5和UPE2的接口例如接口6。接口5用于接收NPE1和NPE2到UPE1的业务流,接口6用于接收NPE1和NPE2到UPE2的业务流。基站1与UPE1的用户侧接口库连接,基站2与UPE2的用户侧接口库连接。UPF1 is connected to NPE1 via interface 1, UPF2 is connected to NPE1 via interface 2, UPF3 is connected to NPE2 via interface 3, and UPF4 is connected to NPE2 via interface 4. FIG. 2a and FIG. 2b also show interfaces of UPE1 such as interface 5 and interfaces of UPE2 such as interface 6. Interface 5 is used to receive service flows from NPE1 and NPE2 to UPE1, and interface 6 is used to receive service flows from NPE1 and NPE2 to UPE2. Base station 1 is connected to the user side interface library of UPE1, and base station 2 is connected to the user side interface library of UPE2.
应理解,图2a和2b中的设备的数目仅仅是示意性的。根据实际应用需要,可以进行灵活调整。例如,NPE节点设备、UPE节点设备、UPF节点设备以及用户基站设备,均可以是一台节点设备, 也可以是更多数量的节点设备。另外,本架构也可以包括一些辅助设备,如路由器、交换机等。具体可以根据需求灵活配置,此方面内容不做限制。It should be understood that the number of devices in Figures 2a and 2b is only for illustration. It can be flexibly adjusted according to actual application needs. For example, the NPE node device, the UPE node device, the UPF node device and the user base station device can all be one node device. It can also be a larger number of node devices. In addition, this architecture can also include some auxiliary devices, such as routers, switches, etc. It can be flexibly configured according to needs, and there is no restriction on this aspect.
在图2a和2b中,线段代表业务流,箭头表示业务流的方向。线段上明细标号代表为该线段所代表的业务流配置的明细IOAM任务,如图2a中的明细1至明细10,代表明细任务1至明细任务10。In Figures 2a and 2b, the line segments represent business flows, and the arrows represent the directions of the business flows. The detail numbers on the line segments represent the detailed IOAM tasks configured for the business flows represented by the line segments, such as Detail 1 to Detail 10 in Figure 2a, which represent Detail Tasks 1 to Detail Tasks 10.
参考图2a,在该局部L3VPN网络中,由于业务流的方向是从NPE设备到UPE设备的方向,例如图2a示出的NPE1到UPE1和UPE2的业务流,以及NPE2到UPE1和UPE2的业务流;因此需要对每条业务流的明细IOAM任务进行下行聚合。Referring to Figure 2a, in this local L3VPN network, since the direction of the service flow is from the NPE device to the UPE device, such as the service flow from NPE1 to UPE1 and UPE2, and the service flow from NPE2 to UPE1 and UPE2 shown in Figure 2a; therefore, it is necessary to perform downstream aggregation on the detailed IOAM tasks of each service flow.
参考图2b,根据本公开实施例的检测任务处理方法,对图2a中示出的各IOAM明细任务进行如下下行聚合处理。Referring to FIG. 2 b , according to the detection task processing method of the embodiment of the present disclosure, the following downlink aggregation processing is performed on each IOAM detailed task shown in FIG. 2 a .
如图2b中的“聚合1”所示,将UPF1通过NPE1发送到UPE1的基站1的两条业务流的IOAM明细任务(明细1、明细2),与UPE2通过NPE1发送到UPE1的基站1的一条业务流的IOAM明细任务(明细4)聚合在一起。As shown in "Aggregation 1" in Figure 2b, the IOAM detail tasks (Detail 1, Detail 2) of the two service flows sent by UPF1 to base station 1 of UPE1 through NPE1 are aggregated with the IOAM detail task (Detail 4) of the one service flow sent by UPE2 to base station 1 of UPE1 through NPE1.
如图2b中的“聚合2”所示,将UPF3通过NPE2发送到UPE1的基站1的一条业务流的IOAM明细任务(明细7)与UPF4通过NPE2发送到UPE1的基站1的一条业务流的IOAM明细任务(明细9)聚合在一起。As shown in "Aggregation 2" in Figure 2b, the IOAM detail task (detail 7) of a service flow sent by UPF3 to base station 1 of UPE1 through NPE2 is aggregated with the IOAM detail task (detail 9) of a service flow sent by UPF4 to base station 1 of UPE1 through NPE2.
如图2b中的“聚合3”所示,将UPF1通过NPE1发送到UPE2的基站2的一条业务流的IOAM明细任务(明细3),与UPE2通过NPE1发送到UPE2的基站2的两条业务流的IOAM明细任务(明细5和明细6)聚合在一起。As shown in "Aggregation 3" in Figure 2b, the IOAM detail tasks (Detail 3) of a service flow sent by UPF1 to base station 2 of UPE2 through NPE1 are aggregated with the IOAM detail tasks (Detail 5 and Detail 6) of two service flows sent by UPE2 to base station 2 of UPE2 through NPE1.
如图2b中的“聚合4”所示,将UPF3通过NPE2发送到UPE2的基站2的一条业务流的IOAM明细任务(明细8)与UPF4通过NPE2发送到UPE2的基站2的一条业务流的IOAM明细任务(明细10)聚合在一起。As shown in "Aggregation 4" in Figure 2b, the IOAM detail task (detail 8) of a service flow sent by UPF3 to base station 2 of UPE2 through NPE2 is aggregated with the IOAM detail task (detail 10) of a service flow sent by UPF4 to base station 2 of UPE2 through NPE2.
通过图2a和图2b可以看出,通过对IOAM明细任务的下行聚合,可以将从同一源端设备(同一NPE设备)出发到同一目的设备 (同一个基站)的业务流IOAM任务进行聚合。通过聚合IOAM任务可以让工程上大量IOAM任务的数量得到减少,使得服务器资源可以合理分配,优化了网络性能,同时也降低了用户操作难度,大大提高了用户体验。As shown in Figure 2a and Figure 2b, by aggregating the downlink of IOAM detailed tasks, the same source device (the same NPE device) can be sent to the same destination device. (The same base station) business flow IOAM tasks are aggregated. By aggregating IOAM tasks, the number of IOAM tasks in the project can be reduced, so that server resources can be reasonably allocated, network performance is optimized, and user operation difficulty is reduced, greatly improving user experience.
在本公开实施例的检测任务处理方法中,提供一种新类别的IOAM任务即聚合IOAM任务,如上述结合图2a和图2b描述的明细IOAM任务的聚合过程可知,原本多个明细IOAM任务被聚合,在工程现场的明细IOAM任务只会多于图2a和图2b示出的明细IOAM任务数量,所以对明细IOAM任务的聚合非常必要。In the detection task processing method of the disclosed embodiment, a new category of IOAM task, namely, aggregated IOAM task, is provided. As can be seen from the aggregation process of the detailed IOAM tasks described in combination with Figures 2a and 2b, originally multiple detailed IOAM tasks are aggregated, and the number of detailed IOAM tasks at the engineering site will only be more than the number of detailed IOAM tasks shown in Figures 2a and 2b, so the aggregation of detailed IOAM tasks is very necessary.
对于下行方向的业务流(从NPE设备到UPE设备的业务流),可以将从同一源端设备(例如同一个NPE设备)出发,到同一目的设备(例如同一个基站)的业务流IOAM任务进行聚合,从而使得工程上大量IOAM任务的数量得到减少,从而可以节约服务器资源,使服务器资源得到合理分配,并可以优化网络性能,降低了用户操作难度,大大提高了用户体验。For the service flow in the downstream direction (the service flow from the NPE device to the UPE device), the IOAM tasks of the service flow starting from the same source device (such as the same NPE device) to the same destination device (such as the same base station) can be aggregated, thereby reducing the number of a large number of IOAM tasks in the project, thereby saving server resources, allocating server resources reasonably, optimizing network performance, reducing user operation difficulty, and greatly improving user experience.
对于上行方向的业务流(从UPE设备到NPE设备的业务流),对于来自不同基站的业务流的IOAM任务,将目的网段(业务流的宿网络地址所属网段)在预定网段区间的业务流的明细IOAM任务进行聚合。根据网段来创建聚合IOAM任务,具有创建过程简单、管理方便且任务处理效率高的优点。进一步地,IOAM任务条数的减少可以节约服务器资源,使得服务器资源可以合理分配,同时处理IOAM任务的时候,处理一条聚合任务的花费远低于处理一百条明细任务,在节约资源的同时提升了效率,优化了网络性能,降低了用户操作难度,进而提高了用户体验。For the service flow in the uplink direction (the service flow from the UPE device to the NPE device), for the IOAM tasks of the service flows from different base stations, the detailed IOAM tasks of the service flows with the destination network segment (the network segment to which the host network address of the service flow belongs) in the predetermined network segment interval are aggregated. Creating aggregated IOAM tasks based on network segments has the advantages of simple creation process, convenient management and high task processing efficiency. Furthermore, the reduction in the number of IOAM tasks can save server resources, so that server resources can be reasonably allocated. At the same time, when processing IOAM tasks, the cost of processing one aggregated task is much lower than processing one hundred detailed tasks. While saving resources, it improves efficiency, optimizes network performance, reduces user operation difficulty, and thus improves user experience.
根据本公开实施例的检测任务处理方法,在对IOAM任务使用聚合技术后,一方面可以更加简洁方便的操作IOAM任务、检测流量和管理网络;另一方面可以兼容各种设备,性能比较差的低端设备可支持的最大IOAM数量比较少,使用聚合技术之后,即使遇到了这些设备也可以通过聚合配置大量的IOAM任务。当聚合技术融入进IOAM任务处理之后,可以使得工程现场大规模部署IOAM任务, 提升业务检测机制。According to the detection task processing method of the embodiment of the present disclosure, after using the aggregation technology for IOAM tasks, on the one hand, it is possible to operate IOAM tasks, detect traffic and manage networks more simply and conveniently; on the other hand, it is possible to be compatible with various devices. Low-end devices with relatively poor performance can support a relatively small maximum number of IOAMs. After using the aggregation technology, even if these devices are encountered, a large number of IOAM tasks can be configured through aggregation. When the aggregation technology is integrated into the IOAM task processing, it can enable large-scale deployment of IOAM tasks on the engineering site. Improve business detection mechanism.
参照图3,本公开实施例提供一种检测任务处理装置。图3为根据本发明一实施例提供的检测任务处理装置的结构示意图。如图3所示,检测任务处理装置可以包括接收模块310和至少一个处理器320。3 , an embodiment of the present disclosure provides a detection task processing device. FIG3 is a schematic diagram of the structure of a detection task processing device provided according to an embodiment of the present disclosure. As shown in FIG3 , the detection task processing device may include a receiving module 310 and at least one processor 320 .
接收模块310被配置为接收业务流。处理器320被配置为:获取为接收的业务流配置的带内检测任务;根据业务流的方向,确定任务聚合类型;在根据获取的业务流的流信息,确定配置的带内检测任务满足与任务聚合类型对应的聚合条件的情况下,将配置的带内检测任务与满足聚合条件的带内检测任务进行聚合处理,得到聚合后的带内检测任务。The receiving module 310 is configured to receive a service flow. The processor 320 is configured to: obtain an in-band detection task configured for the received service flow; determine a task aggregation type according to a direction of the service flow; and, when it is determined according to the acquired flow information of the service flow that the configured in-band detection task satisfies an aggregation condition corresponding to the task aggregation type, aggregate the configured in-band detection task with the in-band detection task that satisfies the aggregation condition to obtain an aggregated in-band detection task.
根据本申请实施例的检测任务处理装置可以根据所接收业务流的方向确定带内检测任务的聚合类型,若根据业务流的流信息,确定该业务流的带内检测任务满足相应聚合条件的情况下,将满足该聚合条件的带内检测任务进行聚合处理,得到聚合后的带内检测任务;对带内检测任务的聚合可以使工程上大量IOAM任务的数量得到减少,从而使得服务器资源可以合理分配,优化了网络性能,同时也减轻了网络管理员通过人工下发IOAM任务信息带来的负担,降低了操作难度,容易扩展且可靠性高,大大提高了用户体验。According to the detection task processing device of the embodiment of the present application, the aggregation type of in-band detection tasks can be determined according to the direction of the received business flow. If it is determined according to the flow information of the business flow that the in-band detection task of the business flow meets the corresponding aggregation condition, the in-band detection tasks that meet the aggregation condition will be aggregated to obtain the aggregated in-band detection tasks. The aggregation of in-band detection tasks can reduce the number of a large number of IOAM tasks in the project, so that server resources can be reasonably allocated, and the network performance is optimized. At the same time, it also reduces the burden of network administrators who manually issue IOAM task information, reduces the difficulty of operation, is easy to expand and has high reliability, and greatly improves the user experience.
在一些实施例中,业务流的方向包括上行方向和下行方向。上行方向包括UPE设备到NPE设备的方向,下行方向包括NPE设备到UPE设备的方向。处理器320在执行步骤:根据业务流的方向,确定任务聚合类型的情况下,被配置为:在业务流的方向为上行方向的情况下,确定任务聚合类型为上行聚合;在业务流的方向为下行方向的情况下,确定任务聚合类型为下行聚合。In some embodiments, the direction of the service flow includes an uplink direction and a downlink direction. The uplink direction includes the direction from the UPE device to the NPE device, and the downlink direction includes the direction from the NPE device to the UPE device. When the processor 320 performs the step of determining the task aggregation type according to the direction of the service flow, it is configured to: when the direction of the service flow is the uplink direction, determine the task aggregation type as uplink aggregation; when the direction of the service flow is the downlink direction, determine the task aggregation type as downlink aggregation.
在一些实施例中,任务聚合类型为上行聚合,处理器320在执行步骤:在根据获取的业务流的流信息,确定配置的带内检测任务满足与任务聚合类型对应的聚合条件的情况下,将配置的带内检测任务与满足聚合条件的带内检测任务进行聚合处理,得到聚合后的带内检测任务的情况下,被配置为:接收目标网段;在目标网段为预先创建 的已规划网段的情况下,获取预先创建的与目标网段对应的上行聚合任务;将配置的带内检测任务添加到上行聚合任务中,得到聚合后的带内检测任务。In some embodiments, the task aggregation type is uplink aggregation, and the processor 320 is configured to: receive a target network segment; when the target network segment is a pre-created in-band detection task, the processor 320 performs aggregation processing on the configured in-band detection task and the in-band detection task that meets the aggregation condition corresponding to the task aggregation type according to the acquired flow information of the service flow, and obtains the aggregated in-band detection task; In the case of a planned network segment, obtain the pre-created uplink aggregation task corresponding to the target network segment; add the configured in-band detection task to the uplink aggregation task to obtain the aggregated in-band detection task.
在一些实施例中,任务聚合类型为上行聚合;处理器320在执行步骤:在根据获取的业务流的流信息,确定配置的带内检测任务满足与任务聚合类型对应的聚合条件的情况下,将配置的带内检测任务与满足聚合条件的带内检测任务进行聚合处理,得到聚合后的带内检测任务的情况下,被配置为:从业务流的流信息中获取源网络地址和宿网络地址;在宿网络地址所在的网段在预先创建的已规划网段内,而源网络地址所在的网段不在已规划网段内的情况下,基于业务流的流信息创建新的上行聚合任务;将配置的带内检测任务添加到创建的上行聚合任务中,得到聚合后的带内检测任务。In some embodiments, the task aggregation type is uplink aggregation; the processor 320 is configured to: obtain the source network address and the host network address from the flow information of the business flow; when the network segment where the host network address is located is within the pre-created planned network segment, and the network segment where the source network address is located is not within the pre-created planned network segment, create a new uplink aggregation task based on the flow information of the business flow; add the configured in-band detection task to the created uplink aggregation task to obtain the aggregated in-band detection task, when it is determined based on the acquired flow information of the business flow that the configured in-band detection task meets the aggregation condition corresponding to the task aggregation type.
在一些实施例中,处理器320在执行步骤:基于业务流的流信息创建新的上行聚合任务的情况下,被配置为:根据业务流的流信息设置新的上行聚合任务的基本参数;其中,基本参数包括业务流的五元组信息、任务名称、任务标识和流标识中的至少一种;将宿网络地址所在的网段作为第一规划网段,获取在第一规划网段内的用户侧端口,以及从私网路由中获取以第一规划网段作为目标网段的出端口;根据用户侧端口和出端口的并集,得到新的上行聚合任务所对应的宿端口;将第一规划网段中包含的网络地址,作为新的上行聚合任务所对应的宿网络地址;根据基本参数、新的上行聚合任务所对应的宿端口的端口信息、以及新的上行聚合任务所对应的宿网络地址,创建新的上行聚合任务。In some embodiments, when executing the step of creating a new uplink aggregation task based on the flow information of the business flow, the processor 320 is configured to: set basic parameters of the new uplink aggregation task according to the flow information of the business flow; wherein the basic parameters include at least one of the five-tuple information of the business flow, the task name, the task identifier and the flow identifier; take the network segment where the host network address is located as the first planned network segment, obtain the user-side port within the first planned network segment, and obtain the egress port with the first planned network segment as the target network segment from the private network routing; obtain the host port corresponding to the new uplink aggregation task according to the union of the user-side port and the egress port; take the network address contained in the first planned network segment as the host network address corresponding to the new uplink aggregation task; create a new uplink aggregation task according to the basic parameters, the port information of the host port corresponding to the new uplink aggregation task, and the host network address corresponding to the new uplink aggregation task.
在一些实施例中,处理器320在执行步骤:从业务流的流信息中获取源网络地址和宿网络地址之后,还被配置为:在宿网络地址所在的网段和源网络地址所在的网段,均在预先创建的已规划网段内的情况下,或均不在预先创建的已规划网段内的情况下,从业务流的流信息中获取源端口信息和宿端口信息,创建从源端口到宿端口的业务流的带内检测任务。In some embodiments, after executing the step of obtaining the source network address and the destination network address from the flow information of the service flow, the processor 320 is further configured to obtain the source port information and the destination port information from the flow information of the service flow, and create an in-band detection task for the service flow from the source port to the destination port, when the network segment where the destination network address is located and the network segment where the source network address is located are both within the pre-created planned network segment, or when neither is within the pre-created planned network segment.
在一些实施例中,任务聚合类型为下行聚合,处理器320在执 行步骤:在根据获取的业务流的流信息,确定配置的带内检测任务满足与任务聚合类型对应的聚合条件的情况下,将配置的带内检测任务与满足聚合条件的带内检测任务进行聚合处理,得到聚合后的带内检测任务的情况下,被配置为:获取业务流对应的带内检测任务的参数信息,作为参数查询信息;其中,参数查询信息中至少包括:业务流对应的虚拟路由转发信息和宿网络地址;在从已创建的下行聚合任务的参数信息中查询到参数查询信息的情况下,获取业务流的源端口信息;在从已创建的下行聚合任务的接入控制器的端口信息中,查询到业务流的源端口信息的情况下,将已创建的下行聚合任务中包含的带内检测任务,作为聚合后的带内检测任务。In some embodiments, the task aggregation type is downlink aggregation, and the processor 320 performs The method comprises the following steps: when it is determined that the configured in-band detection task meets the aggregation condition corresponding to the task aggregation type according to the acquired flow information of the service flow, the configured in-band detection task is aggregated with the in-band detection task that meets the aggregation condition to obtain the aggregated in-band detection task, and the in-band detection task is configured to: obtain the parameter information of the in-band detection task corresponding to the service flow as the parameter query information; wherein the parameter query information includes at least the virtual routing forwarding information and the host network address corresponding to the service flow; when the parameter query information is queried from the parameter information of the created downlink aggregation task, the source port information of the service flow is obtained; when the source port information of the service flow is queried from the port information of the access controller of the created downlink aggregation task, the in-band detection task contained in the created downlink aggregation task is used as the aggregated in-band detection task.
在一些实施例中,处理器320在执行步骤:获取业务流的源端口信息之后,还被配置为执行以下步骤:在从已创建的下行聚合任务的接入控制器的端口信息中,未查询到业务流的源端口信息的情况下,在将业务流的源端口信息添加到接入控制器的端口信息之后,将已创建的下行聚合任务中包含的带内检测任务,作为聚合后的带内检测任务。In some embodiments, after executing the step of obtaining the source port information of the service flow, the processor 320 is further configured to execute the following steps: if the source port information of the service flow is not queried from the port information of the access controller of the created downlink aggregation task, after adding the source port information of the service flow to the port information of the access controller, the in-band detection task included in the created downlink aggregation task is used as the aggregated in-band detection task.
在一些实施例中,参数查询信息中还包括业务流的如下信息项中的至少一项:宿节点信息、网络地址族、协议号、源端口号,其中,源端口号所属的源端口是支持带内检测任务聚合的通信协议的端口。In some embodiments, the parameter query information also includes at least one of the following information items of the business flow: host node information, network address family, protocol number, source port number, wherein the source port to which the source port number belongs is a port of a communication protocol that supports in-band detection task aggregation.
根据本申请实施例的检测任务处理模块,对于下行方向的业务流(从NPE设备到UPE设备的业务流),可以将从同一源端设备(例如同一个NPE)出发,到同一目的设备(例如同一个基站)的业务流IOAM任务进行聚合,从而使得工程上大量IOAM任务的数量得到减少,从而可以节约服务器资源,使服务器资源得到合理分配,并可以优化网络性能,降低了用户操作难度,大大提高了用户体验。According to the detection task processing module of the embodiment of the present application, for the service flow in the downlink direction (the service flow from the NPE device to the UPE device), the IOAM tasks of the service flow starting from the same source device (for example, the same NPE) to the same destination device (for example, the same base station) can be aggregated, thereby reducing the number of a large number of IOAM tasks in the project, thereby saving server resources, allocating server resources reasonably, optimizing network performance, reducing user operation difficulty, and greatly improving user experience.
根据本申请实施例的检测任务处理模块,对于上行方向的业务流(从UPE设备到NPE设备的业务流),对于来自不同基站的业务流的IOAM任务,将目的网段(业务流的宿网络地址所属网段)在预定网段区间的业务流的明细IOAM任务进行聚合。根据网段来创建聚合IOAM任务,具有创建过程简单、管理方便且任务处理效率 高的优点。进一步地,IOAM任务条数的减少可以节约服务器资源,使得服务器资源可以合理分配,同时处理IOAM任务的时候,处理一条聚合任务的花费远低于处理一百条明细任务,在节约资源的同时提升了效率,优化了网络性能,降低了用户操作难度,进而提高了用户体验。According to the detection task processing module of the embodiment of the present application, for the uplink service flow (service flow from UPE device to NPE device), for the IOAM tasks of service flows from different base stations, the detailed IOAM tasks of the service flows with the destination network segment (the network segment to which the host network address of the service flow belongs) in the predetermined network segment interval are aggregated. Creating aggregated IOAM tasks based on network segments has the advantages of simple creation process, convenient management and efficient task processing. Furthermore, the reduction in the number of IOAM tasks can save server resources and allow server resources to be reasonably allocated. At the same time, when processing IOAM tasks, the cost of processing an aggregate task is much lower than processing a hundred detailed tasks. While saving resources, it improves efficiency, optimizes network performance, reduces user operation difficulty, and thus improves user experience.
处理器为具有数据处理能力的器件,其包括但不限于中央处理器(CPU)等;存储器为具有数据存储能力的器件,其包括但不限于随机存取存储器(RAM,更具体如SDRAM、DDR等)、只读存储器(ROM)、带电可擦可编程只读存储器(EEPROM)、闪存(FLASH);I/O接口(读写接口)连接在处理器与存储器间,能实现存储器与处理器的信息交互,其包括但不限于数据总线(Bus)等。A processor is a device with data processing capabilities, including but not limited to a central processing unit (CPU); a memory is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), and flash memory (FLASH); an I/O interface (read-write interface) is connected between the processor and the memory, and can realize information exchange between the memory and the processor, including but not limited to a data bus (Bus), etc.
需要明确的是,本发明并不局限于上文实施例中所描述并在图中示出的特定配置和处理。为了描述的方便和简洁,这里省略了对已知方法的详细描述,并且上述描述的系统、模块和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。It should be clear that the present invention is not limited to the specific configurations and processes described in the above embodiments and shown in the figures. For the convenience and brevity of description, a detailed description of the known methods is omitted here, and the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, which will not be repeated here.
图4为能够实现根据本发明实施例的检测任务处理方法和装置的电子设备的示例性硬件架构的结构图。FIG. 4 is a structural diagram of an exemplary hardware architecture of an electronic device capable of implementing the detection task processing method and apparatus according to an embodiment of the present invention.
如图4所示,电子设备400包括输入设备401、输入接口402、中央处理器403、存储器404、输出接口405、以及输出设备406。输入接口402、中央处理器403、存储器404、以及输出接口405通过总线410相互连接,输入设备401和输出设备406分别通过输入接口402和输出接口405与总线410连接,进而与电子设备400的其他组件连接。As shown in Fig. 4, the electronic device 400 includes an input device 401, an input interface 402, a central processing unit 403, a memory 404, an output interface 405, and an output device 406. The input interface 402, the central processing unit 403, the memory 404, and the output interface 405 are connected to each other via a bus 410, and the input device 401 and the output device 406 are connected to the bus 410 via the input interface 402 and the output interface 405, respectively, and then connected to other components of the electronic device 400.
具体地,输入设备401接收来自外部的输入信息,并通过输入接口402将输入信息传送到中央处理器403。中央处理器403基于存储器404中存储的计算机可执行指令对输入信息进行处理以生成输出信息,将输出信息临时或者永久地存储在存储器404中,然后通过输出接口405将输出信息传送到输出设备406。输出设备406将输出信息输出到电子设备400的外部供用户使用。Specifically, the input device 401 receives input information from the outside, and transmits the input information to the central processing unit 403 through the input interface 402. The central processing unit 403 processes the input information based on the computer executable instructions stored in the memory 404 to generate output information, stores the output information temporarily or permanently in the memory 404, and then transmits the output information to the output device 406 through the output interface 405. The output device 406 outputs the output information to the outside of the electronic device 400 for the user to use.
在一个实施例中,图4所示的电子设备可以包括:一个或多个 存储器、一个或多个处理器;存储器存储有能被处理器执行的计算机程序,计算机程序被处理器执行时实现以下步骤:获取为接收的业务流配置的带内检测任务;根据业务流的方向,确定任务聚合类型;在根据获取的业务流的流信息,确定配置的带内检测任务满足与任务聚合类型对应的聚合条件的情况下,将配置的带内检测任务与满足聚合条件的带内检测任务进行聚合处理,得到聚合后的带内检测任务。In one embodiment, the electronic device shown in FIG4 may include: one or more A memory and one or more processors; the memory stores a computer program that can be executed by the processor, and when the computer program is executed by the processor, the following steps are implemented: obtaining an in-band detection task configured for a received business flow; determining a task aggregation type according to a direction of the business flow; and when it is determined, based on the acquired flow information of the business flow, that the configured in-band detection task satisfies an aggregation condition corresponding to the task aggregation type, aggregating the configured in-band detection task with the in-band detection task that satisfies the aggregation condition to obtain an aggregated in-band detection task.
在一些实施例中,该电子设备还可以执行上述实施例描述的任一种检测任务处理方法。In some embodiments, the electronic device may also execute any of the detection task processing methods described in the above embodiments.
以上仅为本申请的示例性实施例而已,并非用于限定本申请的保护范围。一般来说,本申请的多种实施例可以在硬件或专用电路、软件、逻辑或其任何组合中实现。例如,一些方面可以被实现在硬件中,而其它方面可以被实现在可以被控制器、微处理器或其它计算装置执行的固件或软件中,尽管本申请不限于此。The above are only exemplary embodiments of the present application and are not intended to limit the scope of protection of the present application. In general, various embodiments of the present application can be implemented in hardware or special circuits, software, logic or any combination thereof. For example, some aspects can be implemented in hardware, while other aspects can be implemented in firmware or software that can be executed by a controller, microprocessor or other computing device, although the present application is not limited thereto.
本申请的实施例可以通过移动装置的数据处理器执行计算机程序指令来实现,例如在处理器实体中,或者通过硬件,或者通过软件和硬件的组合。计算机程序指令可以是汇编指令、指令集架构(ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码。Embodiments of the present application may be implemented by executing computer program instructions by a data processor of a mobile device, for example in a processor entity, or by hardware, or by a combination of software and hardware. The computer program instructions may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages.
本申请附图中的任何逻辑流程的框图可以表示程序步骤,或者可以表示相互连接的逻辑电路、模块和功能,或者可以表示程序步骤与逻辑电路、模块和功能的组合。计算机程序可以存储在存储器上。存储器可以具有任何适合于本地技术环境的类型并且可以使用任何适合的数据存储技术实现,例如但不限于只读存储器(ROM)、随机访问存储器(RAM)、光存储器装置和系统(数码多功能光碟DVD或CD光盘)等。计算机可读介质可以包括非瞬时性存储介质。数据处理器可以是任何适合于本地技术环境的类型,例如但不限于通用计算机、专用计算机、微处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、可编程逻辑器件(FGPA)以及基于多核处理器架构的处理器。The block diagram of any logic flow in the accompanying drawings of the present application can represent program steps, or can represent interconnected logic circuits, modules and functions, or can represent a combination of program steps and logic circuits, modules and functions. The computer program can be stored on a memory. The memory can have any type suitable for the local technical environment and can be implemented using any suitable data storage technology, such as but not limited to read-only memory (ROM), random access memory (RAM), optical memory device and system (digital versatile disc DVD or CD disc), etc. Computer-readable media may include non-transient storage media. The data processor can be any type suitable for the local technical environment, such as but not limited to a general-purpose computer, a special-purpose computer, a microprocessor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a programmable logic device (FGPA) and a processor based on a multi-core processor architecture.
通过示范性和非限制性的示例,上文已提供了对本申请的示范 实施例的详细描述。但结合附图和权利要求来考虑,对以上实施例的多种修改和调整对本领域技术人员来说是显而易见的,但不偏离本发明的范围。因此,本发明的恰当范围将根据权利要求确定。 By way of exemplary and non-limiting examples, the foregoing description has provided an exemplary embodiment of the present application. Detailed description of the embodiments. However, various modifications and adjustments to the above embodiments will be apparent to those skilled in the art when considered in conjunction with the drawings and claims, but will not depart from the scope of the invention. Therefore, the proper scope of the invention will be determined according to the claims.

Claims (11)

  1. 一种检测任务处理方法,包括:A detection task processing method, comprising:
    获取为接收的业务流配置的带内检测任务;Obtaining the in-band detection task configured for the received service flow;
    根据所述业务流的方向,确定任务聚合类型;以及Determining a task aggregation type according to the direction of the business flow; and
    在根据获取的所述业务流的流信息,确定配置的所述带内检测任务满足与所述任务聚合类型对应的聚合条件的情况下,将配置的所述带内检测任务与满足所述聚合条件的带内检测任务进行聚合处理,得到聚合后的带内检测任务。When it is determined, based on the acquired flow information of the business flow, that the configured in-band detection task meets the aggregation condition corresponding to the task aggregation type, the configured in-band detection task is aggregated with the in-band detection task that meets the aggregation condition to obtain the aggregated in-band detection task.
  2. 根据权利要求1所述的方法,其中,所述业务流的方向包括上行方向和下行方向,所述上行方向为用户侧运营商边缘设备到网络侧运营商边缘设备的方向,所述下行方向为网络侧运营商边缘设备到用户侧运营商边缘设备的方向,并且The method according to claim 1, wherein the direction of the service flow includes an uplink direction and a downlink direction, the uplink direction is the direction from the user-side operator edge device to the network-side operator edge device, the downlink direction is the direction from the network-side operator edge device to the user-side operator edge device, and
    其中,根据所述业务流的方向,确定任务聚合类型,包括:Wherein, determining the task aggregation type according to the direction of the business flow includes:
    在所述业务流的方向为所述上行方向的情况下,确定所述任务聚合类型为上行聚合;以及In a case where the direction of the service flow is the uplink direction, determining that the task aggregation type is uplink aggregation; and
    在所述业务流的方向为所述下行方向的情况下,确定所述任务聚合类型为下行聚合。When the direction of the service flow is the downlink direction, the task aggregation type is determined to be downlink aggregation.
  3. 根据权利要求1所述的方法,其中,所述任务聚合类型为上行聚合,并且The method according to claim 1, wherein the task aggregation type is uplink aggregation, and
    其中,在根据获取的所述业务流的流信息,确定配置的所述带内检测任务满足与所述任务聚合类型对应的聚合条件的情况下,将配置的所述带内检测任务与满足所述聚合条件的带内检测任务进行聚合处理,得到聚合后的带内检测任务,包括:Wherein, when it is determined according to the acquired flow information of the service flow that the configured in-band detection task meets the aggregation condition corresponding to the task aggregation type, the configured in-band detection task is aggregated with the in-band detection task that meets the aggregation condition to obtain the aggregated in-band detection task, including:
    接收目标网段;Receive the target network segment;
    在所述目标网段为预先创建的已规划网段的情况下,获取预先创建的与所述目标网段对应的上行聚合任务;以及In the case where the target network segment is a pre-created and planned network segment, obtaining a pre-created uplink aggregation task corresponding to the target network segment; and
    将配置的所述带内检测任务添加到所述上行聚合任务中,得到 聚合后的带内检测任务。Add the configured in-band detection task to the uplink aggregation task, and obtain Aggregated in-band detection tasks.
  4. 根据权利要求1所述的方法,其中,所述任务聚合类型为上行聚合,并且The method according to claim 1, wherein the task aggregation type is uplink aggregation, and
    其中,在根据获取的所述业务流的流信息,确定配置的所述带内检测任务满足与所述任务聚合类型对应的聚合条件的情况下,将配置的所述带内检测任务与满足所述聚合条件的带内检测任务进行聚合处理,得到聚合后的带内检测任务,包括:Wherein, when it is determined according to the acquired flow information of the service flow that the configured in-band detection task meets the aggregation condition corresponding to the task aggregation type, the configured in-band detection task is aggregated with the in-band detection task that meets the aggregation condition to obtain the aggregated in-band detection task, including:
    从所述业务流的所述流信息中获取源网络地址和宿网络地址;Acquire a source network address and a destination network address from the flow information of the service flow;
    在所述宿网络地址所在的网段在预先创建的已规划网段内,而所述源网络地址所在的网段不在所述已规划网段内的情况下,基于所述业务流的所述流信息创建新的上行聚合任务;以及When the network segment where the destination network address is located is within the pre-created planned network segment, and the network segment where the source network address is located is not within the planned network segment, creating a new uplink aggregation task based on the flow information of the service flow; and
    将配置的所述带内检测任务添加到所述新的所述上行聚合任务中,得到聚合后的带内检测任务。The configured in-band detection task is added to the new uplink aggregation task to obtain the aggregated in-band detection task.
  5. 根据权利要求4所述的方法,其中,基于所述业务流的流信息创建新的上行聚合任务,包括:The method according to claim 4, wherein creating a new uplink aggregation task based on the flow information of the service flow comprises:
    根据所述业务流的所述流信息设置所述新的上行聚合任务的基本参数,其中,所述基本参数包括所述业务流的五元组信息、任务名称、任务标识和流标识中的至少一种;Setting basic parameters of the new uplink aggregation task according to the flow information of the service flow, wherein the basic parameters include at least one of quintuple information of the service flow, a task name, a task identifier, and a flow identifier;
    将所述宿网络地址所在的网段作为第一规划网段,获取在所述第一规划网段内的用户侧端口,以及从私网路由中获取以所述第一规划网段作为目标网段的出端口;Taking the network segment where the destination network address is located as a first planned network segment, obtaining a user-side port in the first planned network segment, and obtaining an egress port with the first planned network segment as a target network segment from a private network route;
    根据所述用户侧端口和所述出端口的并集,得到所述新的上行聚合任务所对应的宿端口;Obtaining a sink port corresponding to the new uplink aggregation task according to a union of the user-side port and the egress port;
    将所述第一规划网段中包含的网络地址,作为所述新的上行聚合任务所对应的宿网络地址;以及Using the network address included in the first planned network segment as the sink network address corresponding to the new uplink aggregation task; and
    根据所述基本参数、所述新的上行聚合任务所对应的宿端口的端口信息、以及所述新的上行聚合任务所对应的宿网络地址,创建所述新的上行聚合任务。 The new uplink aggregation task is created according to the basic parameters, the port information of the sink port corresponding to the new uplink aggregation task, and the sink network address corresponding to the new uplink aggregation task.
  6. 根据权利要求4所述的方法,其中,在从所述业务流的所述流信息中获取源网络地址和宿网络地址之后,所述方法还包括:The method according to claim 4, wherein after obtaining the source network address and the destination network address from the flow information of the service flow, the method further comprises:
    在所述宿网络地址所在的网段和所述源网络地址所在的网段,均在所述已规划网段内的情况下,或均不在所述已规划网段内的情况下,从所述业务流的所述流信息中获取源端口信息和宿端口信息,创建从所述源端口到所述宿端口的业务流的带内检测任务。When the network segment where the destination network address is located and the network segment where the source network address is located are both within the planned network segment, or when neither is within the planned network segment, the source port information and the destination port information are obtained from the flow information of the service flow, and an in-band detection task for the service flow from the source port to the destination port is created.
  7. 根据权利要求1所述的方法,其中,所述任务聚合类型为下行聚合,并且The method according to claim 1, wherein the task aggregation type is downlink aggregation, and
    其中,在根据获取的所述业务流的流信息,确定配置的所述带内检测任务满足与所述任务聚合类型对应的聚合条件的情况下,将配置的所述带内检测任务与满足所述聚合条件的带内检测任务进行聚合处理,得到聚合后的带内检测任务,包括:Wherein, when it is determined according to the acquired flow information of the service flow that the configured in-band detection task meets the aggregation condition corresponding to the task aggregation type, the configured in-band detection task is aggregated with the in-band detection task that meets the aggregation condition to obtain the aggregated in-band detection task, including:
    获取所述业务流对应的带内检测任务的参数信息,作为参数查询信息,其中,所述参数查询信息中至少包括:所述业务流对应的虚拟路由转发信息和宿网络地址;Acquire parameter information of the in-band detection task corresponding to the service flow as parameter query information, wherein the parameter query information at least includes: virtual routing forwarding information and a sink network address corresponding to the service flow;
    在从已创建的下行聚合任务的参数信息中查询到所述参数查询信息的情况下,获取所述业务流的源端口信息;以及When the parameter query information is queried from the parameter information of the created downlink aggregation task, the source port information of the service flow is acquired; and
    在从已创建的所述下行聚合任务的接入控制器的端口信息中,查询到所述业务流的源端口信息的情况下,将所述已创建的所述下行聚合任务中包含的带内检测任务,作为所述聚合后的带内检测任务。When the source port information of the service flow is queried from the port information of the access controller of the created downlink aggregation task, the in-band detection task included in the created downlink aggregation task is used as the aggregated in-band detection task.
  8. 根据权利要求7所述的方法,其中,在获取所述业务流的源端口信息之后,所述方法还包括:The method according to claim 7, wherein, after obtaining the source port information of the service flow, the method further comprises:
    在从已创建的所述下行聚合任务的接入控制器的端口信息中,未查询到所述业务流的源端口信息的情况下,In the case that the source port information of the service flow is not found from the port information of the access controller of the created downlink aggregation task,
    在将所述业务流的源端口信息添加到所述接入控制器的端口信息之后,将所述已创建的所述下行聚合任务中包含的带内检测任务,作为所述聚合后的带内检测任务。 After the source port information of the service flow is added to the port information of the access controller, the in-band detection task included in the created downlink aggregation task is used as the aggregated in-band detection task.
  9. 根据权利要求7所述的方法,其中,所述参数查询信息中还包括所述业务流的如下信息项中的至少一项:宿节点信息、网络地址族、协议号、源端口号;其中,源端口号所属的源端口是支持带内检测任务聚合的通信协议的端口。According to the method of claim 7, the parameter query information also includes at least one of the following information items of the business flow: host node information, network address family, protocol number, source port number; wherein the source port to which the source port number belongs is a port of a communication protocol that supports in-band detection task aggregation.
  10. 一种电子设备,其包括一个或多个存储器、一个或多个处理器,其中,所述存储器存储有能被处理器执行的计算机程序,所述计算机程序被处理器执行时实现以下步骤:An electronic device comprises one or more memories and one or more processors, wherein the memories store a computer program executable by the processors, and when the computer program is executed by the processors, the following steps are implemented:
    获取为接收的业务流配置的带内检测任务;Obtaining the in-band detection task configured for the received service flow;
    根据所述业务流的方向,确定任务聚合类型;Determine the task aggregation type according to the direction of the business flow;
    在根据获取的所述业务流的流信息,确定配置的所述带内检测任务满足与所述任务聚合类型对应的聚合条件的情况下,将配置的所述带内检测任务与满足所述聚合条件的带内检测任务进行聚合处理,得到聚合后的带内检测任务。When it is determined, based on the acquired flow information of the business flow, that the configured in-band detection task meets the aggregation condition corresponding to the task aggregation type, the configured in-band detection task is aggregated with the in-band detection task that meets the aggregation condition to obtain the aggregated in-band detection task.
  11. 一种计算机可读介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:A computer readable medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
    获取为接收的业务流配置的带内检测任务;Obtaining the in-band detection task configured for the received service flow;
    根据所述业务流的方向,确定任务聚合类型;Determine the task aggregation type according to the direction of the business flow;
    在根据获取的所述业务流的流信息,确定配置的所述带内检测任务满足与所述任务聚合类型对应的聚合条件的情况下,将配置的所述带内检测任务与满足所述聚合条件的带内检测任务进行聚合处理,得到聚合后的带内检测任务。 When it is determined, based on the acquired flow information of the business flow, that the configured in-band detection task meets the aggregation condition corresponding to the task aggregation type, the configured in-band detection task is aggregated with the in-band detection task that meets the aggregation condition to obtain the aggregated in-band detection task.
PCT/CN2023/120582 2022-09-26 2023-09-22 Operations, administration and maintenance task processing method, and electronic device and computer-readable medium WO2024067382A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211173338.8A CN117812625A (en) 2022-09-26 2022-09-26 Detection task processing method, device, equipment and computer readable medium
CN202211173338.8 2022-09-26

Publications (1)

Publication Number Publication Date
WO2024067382A1 true WO2024067382A1 (en) 2024-04-04

Family

ID=90422280

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/120582 WO2024067382A1 (en) 2022-09-26 2023-09-22 Operations, administration and maintenance task processing method, and electronic device and computer-readable medium

Country Status (2)

Country Link
CN (1) CN117812625A (en)
WO (1) WO2024067382A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110235524A1 (en) * 2010-03-26 2011-09-29 Cisco Technology, Inc. Aggregating data traffic from access domains
CN111049698A (en) * 2018-10-15 2020-04-21 华为技术有限公司 Telemetering data acquisition method and device
CN112368952A (en) * 2018-06-25 2021-02-12 上海诺基亚贝尔股份有限公司 Method, apparatus and computer readable medium for communication measurement
CN112866042A (en) * 2019-11-12 2021-05-28 中兴通讯股份有限公司 Network quality detection method and device, computer equipment and computer readable medium
CN114915564A (en) * 2021-02-10 2022-08-16 华为技术有限公司 Network state measuring method, device and system
CN114938704A (en) * 2022-04-22 2022-08-23 北京小米移动软件有限公司 Method and device for transmitting user equipment capability and readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110235524A1 (en) * 2010-03-26 2011-09-29 Cisco Technology, Inc. Aggregating data traffic from access domains
CN112368952A (en) * 2018-06-25 2021-02-12 上海诺基亚贝尔股份有限公司 Method, apparatus and computer readable medium for communication measurement
CN111049698A (en) * 2018-10-15 2020-04-21 华为技术有限公司 Telemetering data acquisition method and device
CN112866042A (en) * 2019-11-12 2021-05-28 中兴通讯股份有限公司 Network quality detection method and device, computer equipment and computer readable medium
CN114915564A (en) * 2021-02-10 2022-08-16 华为技术有限公司 Network state measuring method, device and system
CN114938704A (en) * 2022-04-22 2022-08-23 北京小米移动软件有限公司 Method and device for transmitting user equipment capability and readable storage medium

Also Published As

Publication number Publication date
CN117812625A (en) 2024-04-02

Similar Documents

Publication Publication Date Title
US7487240B2 (en) Centralized internet protocol/multi-protocol label switching connectivity verification in a communications network management context
US9577905B2 (en) Packet tracing through control and data plane operations
US10243827B2 (en) Techniques to use a network service header to monitor quality of service
EP4099631A1 (en) Method for configuring performance test indication information, and related device
US9014013B2 (en) Packet tracing through control and data plane operations using SNMP trap commands
EP4024780A1 (en) Path detection method and apparatus, and computer storage medium
US11272396B2 (en) Frame aggregation method, network setting frame sending method, and device
US11159384B2 (en) Runtime monitoring in intent-based networking
US20220407791A1 (en) Network performance detection method and apparatus, and network device
WO2017036180A1 (en) Packet processing method and device
WO2018010555A1 (en) Northbound interface lte service automatic configuration method, northbound interface apparatus, and storage medium
CN112262554B (en) Packet programmable stream telemetry parsing and analysis
CN106302021B (en) Network flow forwarding abnormity detection method
US20220247655A1 (en) Method for Confirming In-Situ Flow Information Telemetry Capability and Device
CN110071843B (en) Fault positioning method and device based on flow path analysis
WO2024067382A1 (en) Operations, administration and maintenance task processing method, and electronic device and computer-readable medium
CN105790984B (en) Configuration and implementation method of operation maintenance management function and forwarding equipment
CN116248479A (en) Network path detection method, device, equipment and storage medium
WO2019001101A1 (en) Routing path analysis method and device
CN115801674A (en) Dual-stack SDN control method, device, medium and system
US10904123B2 (en) Trace routing in virtual networks
US20170366391A1 (en) Network Event Locus Descriptor
Sgier Visualizing bgp rib changes into forwarding plane by leveraging bmp and ipfix
US11671354B2 (en) Collection of segment routing IPV6 (SRV6) network telemetry information
WO2022253164A1 (en) Method and system for analyzing base station performance, electronic device, and storage medium