[go: up one dir, main page]

CN114301818B - Service flow detection method, device, system, terminal and storage medium - Google Patents

Service flow detection method, device, system, terminal and storage medium

Info

Publication number
CN114301818B
CN114301818B CN202011004521.6A CN202011004521A CN114301818B CN 114301818 B CN114301818 B CN 114301818B CN 202011004521 A CN202011004521 A CN 202011004521A CN 114301818 B CN114301818 B CN 114301818B
Authority
CN
China
Prior art keywords
flow
information
service
service flow
band detection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011004521.6A
Other languages
Chinese (zh)
Other versions
CN114301818A (en
Inventor
涂继强
郎宝平
刘星
肖红运
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN202011004521.6A priority Critical patent/CN114301818B/en
Publication of CN114301818A publication Critical patent/CN114301818A/en
Application granted granted Critical
Publication of CN114301818B publication Critical patent/CN114301818B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明实施例涉及通信技术领域,公开了一种业务流检测方法、装置、系统、终端及存储介质。本实施例中的业务流检测方法包括:根据业务流的相关信息确定目标网络中待检测的业务流;在预先生成的关联模型中查找待检测的业务流的IP流信息,根据IP流信息配置针对待检测的业务流的带内检测任务;其中,关联模型用于描述目标网络中业务流的相关信息与IP流信息之间的对应关系;执行带内检测任务,并获取根据带内检测任务采集的性能数据。通过上述技术手段,简化了网络中针对业务流的带内检测任务的配置过程,实现了带内检测任务的自动化配置,使得业务流的性能及质量检测的效率得到了提高。

The embodiments of the present invention relate to the field of communication technology, and disclose a service flow detection method, device, system, terminal and storage medium. The service flow detection method in this embodiment includes: determining the service flow to be detected in the target network according to the relevant information of the service flow; searching the IP flow information of the service flow to be detected in the pre-generated association model, and configuring the in-band detection task for the service flow to be detected according to the IP flow information; wherein the association model is used to describe the corresponding relationship between the relevant information of the service flow in the target network and the IP flow information; executing the in-band detection task, and obtaining the performance data collected according to the in-band detection task. Through the above-mentioned technical means, the configuration process of the in-band detection task for the service flow in the network is simplified, the automatic configuration of the in-band detection task is realized, and the efficiency of the performance and quality detection of the service flow is improved.

Description

Service flow detection method, device, system, terminal and storage medium
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a service flow detection method, a device, a system, a terminal and a storage medium.
Background
With the development of communication technology, wireless mobile communication has advanced into the 5G (5 th Generation mobile networks, fifth generation mobile communication) era. New communication technologies bring about higher bandwidths, lower delays and more flexible connection modes. In the 5G network, an in-band OAM (Operations, administration, management and maintenance) detection technique is adopted to provide a more accurate and reliable network maintenance approach. When the network quality index changes, the network quality index can be perceived timely, so that the response speed of network fault positioning is improved and the fault processing time is reduced. In-band OAM is a flow-following measurement technology based on real traffic flow. Based on the flow-following detection principle, in-band OAM provides the capabilities of detecting the service packet loss and the service delay point by point from end to end of the real service flow, can quickly sense the related faults of the network performance, and performs accurate delimitation and obstacle removal, thereby being an important means for the operation and maintenance of the 5G mobile bearing network in the future.
However, the current detection object of the in-band OAM detection task is a service flow, and when the in-band OAM detection task is established, the configuration mode is complicated. When in-band OAM inspection sessions of a service flow are required to be deployed in bulk, a lot of labor is required to complete the configuration of the inspection session.
Disclosure of Invention
The embodiment of the application mainly aims to provide a service flow detection method, a system, a terminal and a storage medium, which can automatically configure in-band detection tasks aiming at service flows, improve task deployment efficiency and reduce labor cost.
In order to achieve the above purpose, the embodiment of the application provides a service flow detection method, which comprises the steps of determining a service flow to be detected according to related information of the service flow, searching IP flow information of the service flow to be detected in a pre-generated association model, configuring an in-band detection task for the service flow to be detected according to the IP flow information, wherein the association model is used for describing a corresponding relation between the related information of the service flow in a target network and the IP flow information, executing the in-band detection task, and acquiring performance data acquired according to the in-band detection task.
In order to achieve the above purpose, the embodiment of the application further provides a service flow detection device, which comprises a determination module, a query module, a configuration module and an execution module, wherein the determination module is used for determining a service flow to be detected according to related information of the service flow, the query module is used for searching IP flow information of the service flow to be detected in a pre-generated association model, the association model is used for describing a corresponding relation between the related information of the service flow in a target network and the IP flow information, the configuration module is used for configuring an in-band detection task for the service flow to be detected according to the IP flow information, and the execution module is used for executing the in-band detection task and acquiring performance data acquired according to the in-band detection task.
To achieve the above object, an embodiment of the present application further provides a terminal, which includes at least one processor, and a memory communicatively connected to the at least one processor, where the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform a traffic flow detection method as described above.
To achieve the above object, an embodiment of the present application further provides a computer readable storage medium storing a computer program, where the computer program implements the above-mentioned traffic flow detection method when executed by a processor.
According to the service flow detection method, the service flow to be detected is determined in all service flows of the target network according to the related information of the service flow, then the IP flow information of the service flow to be detected is searched in the correlation model which is generated in advance and used for describing the corresponding relation between the related information of the service flow in the target network and the IP flow information, and the configuration of the in-band detection task of the service flow to be detected is completed according to the IP flow information, so that the automatic configuration of the in-band detection task is realized, the configuration of batch tasks can be automatically completed, and the deployment efficiency of the in-band detection task is improved.
Drawings
Fig. 1 is a flowchart of a traffic flow detection method according to a first embodiment of the present invention;
FIG. 2 is a flowchart of a correlation model generation method in accordance with a first embodiment of the present invention;
Fig. 3 is a flowchart of a traffic flow detection method according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a traffic flow detection system according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of a traffic flow detection device according to a fourth embodiment of the present invention;
fig. 6 is a schematic view of a structure of a terminal according to a fifth embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the embodiments of the present application will be described in detail below with reference to the accompanying drawings. However, it will be understood by those of ordinary skill in the art that in various embodiments of the present application, numerous specific details are set forth in order to provide a thorough understanding of the present application. The claimed application may be practiced without these specific details and with various changes and modifications based on the following embodiments. The following embodiments are divided for convenience of description, and should not be construed as limiting the specific implementation of the present application, and the embodiments can be mutually combined and referred to without contradiction.
The first embodiment of the invention relates to a service flow detection method, which comprises the steps of determining a service flow to be detected according to related information of the service flow, searching IP flow information of the service flow to be detected in a pre-generated association model, configuring an in-band detection task for the service flow to be detected according to the IP flow information, wherein the association model is used for describing a corresponding relation between the related information of the service flow in a target network and the IP flow information, executing the in-band detection task, and acquiring performance data acquired by the in-band detection task. The execution body of the embodiment is a terminal for performing in-band detection task deployment.
The following describes the present embodiment further with reference to the accompanying drawings, and the service flow detection method in this embodiment is shown in fig. 1, and includes:
and step 101, determining the service flow to be detected in the target network according to the related information of the service flow.
Specifically, the present embodiment is applied to a network that needs to perform quality of service monitoring, that is, the target network mentioned in the present embodiment. In the target network, the related information of the service flow comprises the information of the service name of the service flow, the identification of the access equipment on the bearing side of the service flow, the identification of the access interface, the related network element node and network element interface of the service flow, and the like. The relevant information of the service flows can be obtained by inquiring a network management system in the target network.
In one example, when the terminal deploying the in-band detection task receives the related information of the input service flow, the corresponding service flow is queried in the network management system according to the related information of the service flow and is used as the service flow to be detected. In addition, the terminal for deploying the in-band detection task can also automatically select from the service flows obtained by inquiry based on preset rules.
Further, when the terminal deployed by the in-band detection task receives the related information of the input service flow, the service flow corresponding to the related information of the service flow is searched in the association model according to the related information of the service flow, and then the selected service flow is determined in the corresponding service flow to be used as the service flow to be detected according to the received selection instruction aiming at the service flow. That is, after the terminal queries the corresponding service flows, the terminal may display all the service flows obtained by the query to the user, and the user specifically selects the service flow to be detected.
In practical application, when a user designates related service, or network element sub-interface on a terminal deploying in-band detection tasks, the terminal queries and generates all service flows under the service, or all corresponding service and service flows under the network element sub-interface through a pre-generated association model. The pre-generated association model is used for describing the corresponding relation between the related information of the service flow in the target network and the IP flow information. After the user determines the service flow to be detected through the terminal, the IP flow information corresponding to the service flow to be detected is searched through the association model.
And 102, searching IP flow information of the service flow to be detected in a pre-generated association model.
Specifically, in the related art, when configuring an in-band detection task for a service flow, parameters such as a network element node, a source interface, a source IP address, a destination interface, a destination IP address, and a priority corresponding to the service flow need to be specified. The information is required to be queried through a network management system and then related parameters are manually filled in to complete the configuration of the task.
In one example, the correlation model is generated by a data acquisition end and a terminal for data analysis in the target network according to an IP flow information acquisition task and task related parameters, which are issued by the terminal for deploying the in-band detection task. The generation mode of the association model is as shown in fig. 2, and includes:
Step 201, the data acquisition end acquires an IP flow information acquisition task.
Specifically, the generation of the association model is completed by the data acquisition end and the terminal for data analysis in the target network. When a user needs to establish a correlation model, an IP flow information acquisition task and parameters related to the task are issued to a data acquisition end through a terminal for task deployment. The task issuing, starting and stopping are controlled by the terminal for task deployment. The collection of the IP flow information can be carried out through a NetFlow function, the collected data mainly is the IP flow information related to the service flow, and the parameters related to the task determine the collection object, the collection protocol, the sampling rate, the collection period and the like of the IP flow information.
When the IP flow information is acquired through the NetFlow function, the set parameters comprise an acquisition period, a starting time, an acquisition duration, a flow sampling rate, a flow convergence duration, a monitoring port, a task type and the like. In practical applications, the acquisition period is generally calculated in units of days or weeks, and the attribute of the instant or timed task can be added to the task according to the starting time of the task.
Step 202, the data acquisition end acquires the IP flow information of all the service flows in the target network from the bearing device of the target network.
Specifically, the bearer device of the target network includes an access side device and a core side device in the target network. After receiving the service flow acquisition task and the instruction for starting the task execution, the data acquisition end starts to acquire the IP flow information of all the service flows in the target network according to the parameters carried in the acquisition task. Because the collected relevant data of the IP flow information is the original data, the data also need to be analyzed and pre-counted to obtain the IP flow information related to the service flow, and the unique corresponding service flow is identified through the five-tuple, wherein the five-tuple comprises a source IP address, a source port number, a destination IP address, a destination port number, a protocol number and a priority (DIFFERENTIATED SERVICES Code Point). The pre-statistics refers to that the collected service flow is analyzed to obtain preliminary service characteristics.
Step 203, the data analysis end queries the relevant information of all service flows in the network management system of the target network according to the IP flow information.
Specifically, after the data acquisition end completes the task of acquiring the IP stream information and performs analysis and pre-statistics on the original data, the IP stream information after the pre-statistics is sent to a terminal for data analysis. The related information of the service flow comprises a first access device at the bearing side, a first access interface, a second access device at the bearing side, a second access interface, an L3VPN service identifier, creation time, update time and the like.
In practical application, a terminal for data analysis can acquire source IP addresses corresponding to each service flow through a network management system, inquire an L3VPN service routing table, match a target network segment of a virtual routing interface, acquire bearing side first access equipment and a first node access interface corresponding to the service flow source IP addresses, and acquire L3VPN service information to which the service flow belongs. Similarly, the network management system can also obtain the destination IP address corresponding to each service flow, query the L3VPN service routing table, match the target network segment of the virtual routing interface, and obtain the second access device and the second access interface on the bearing side corresponding to the destination IP address of the service flow.
And 204, the data analysis end generates a correlation model according to the related information of all the service flows.
Specifically, the related information of the information related to the service flow and the IP flow information, namely the related information of the bearing side access equipment, the access interface and the service, is established for each service flow and comprises a source IP address, a bearing side first access equipment, a first access interface, a source port number, a destination IP address, a bearing side second access equipment, a second access interface, a destination port number, a protocol number, a priority (DSCP), an L3VPN service identifier, creation time, update time and the like. And then generating a final association model according to the association information and the IP flow information.
Further, the data analysis terminal can also obtain the data related to the performance of each service flow through the network management system of the target network. Parameters such as jitter, time delay, packet loss rate, flow speed and the like of the service flow are used as indexes, and the performance and quality characteristics of the service flow are extracted according to historical data related to performance in different time periods such as busy hours, idle hours, holidays and the like from the index types such as second, minute, moment, hour, day, week and month and the like, the average value or peak value, so that the current service characteristics of the service flow can be used as the current service characteristics of the service flow, and the future change trend of the service characteristics can be predicted. Therefore, through collecting and analyzing all the service IP flow information and service characteristics in the target network, the IP information and the service characteristics of the service are associated with the service flow, and the binding of the detection object and the service characteristics is realized.
In one example, based on the established association model, the service characteristics of the network element nodes, the network element subinterfaces, the service and other objects in the target network, including performance and quality indexes, are known to the user, and the system can automatically display the matched service flows according to the related information of the service flows input by the user. Therefore, when a user deploys an in-band detection task, the user can purposefully input features in a specific area range, namely, a certain range of service, and the terminal automatically screens corresponding service flows in the specific area for the user to deploy the in-band detection task, so that the deployment of the in-band detection task on a target area of interest, such as a high-activity area, a tidal effect obvious area, an area with a possibility of occurrence of flow bottlenecks and the like, can be realized, and the monitoring of service flow performance and quality data can be more intelligently carried out.
And step 103, configuring an in-band detection task for the service flow to be detected according to the IP flow information.
Specifically, in the related art, parameters such as a network element node, a source interface, a source IP address, a destination interface, a destination IP address, and a priority level corresponding to a service flow need to be specified when an in-band detection task for the service flow is configured under an actual networking structure. The IP address of the core side device is allocated by the IP address pool, and it is not known or difficult to learn the specific IP address of the core side device at first, because the IP information is necessary information, and it is not possible to configure the parameters of the downstream in-band detection task at this time. By adopting the technical means in the embodiment, no attention is paid to specific IP addresses of the configuration, and detectable IP flow information can be automatically identified after the network element node is selected. The parameter configuration of the in-band detection task is automatically completed without manual operation. When the configuration of the batch in-band detection tasks is carried out, the terminal for the deployment of the in-band detection tasks can automatically fill out all parameters of the in-band detection tasks aiming at all the service flows to be detected, so that the automatic configuration of the in-band detection tasks is realized.
Based on the service flow detection method in this embodiment, in practical application, when a user inputs relevant information of a service flow through a terminal for deploying an in-band detection task, for example, a network element name or a network element name and a specific network element interface, if 15 matched service flows are queried in a correlation model through the network element name or the specific network element interface, the 15 service flows are displayed in an interactive interface through the terminal for deploying the in-band detection task for reference by the user, and meanwhile, an IP flow information quintuple corresponding to the network element name or the specific network element interface is synchronously acquired in the background. At this time, if the rule of in-band detection task deployment has been preset by the user, the service flow to be detected is automatically selected, the in-band detection task for the service flow to be detected is configured according to the IP flow information quintuple, and parameters required by configuration are filled in. If the user does not preset the rule of the in-band detection task deployment, waiting for the user to input an instruction for selecting the in-band detection task, configuring the in-band detection task for the service flow to be detected according to the IP flow information, and filling parameters required by configuration.
And 104, executing the in-band detection task and acquiring performance data acquired by the in-band detection task.
Specifically, the terminal for in-band detection task deployment executes the configured in-band detection task, monitors and records performance data of corresponding service flows, and when the performance data of the service flows are found to be abnormal, identifies faults related to network performance and performs positioning and obstacle removal.
Compared with the related art in the field, the service flow detection method in the embodiment establishes a correlation model for describing the corresponding relation between the related information of the service flow in the target network and the IP flow information in advance, and realizes the correlation between the detection object and the service characteristics and the IP flow information. When the in-band detection task for the service flow is established, the IP information corresponding to the service flow is inquired according to the association model, and the configuration of the in-band detection task is automatically completed. Under the scene of batch in-band detection task deployment, the configuration of the in-band detection task can be completed rapidly without manual intervention. The in-band detection technology has the advantages that the application scene is richer, the deployment efficiency is higher, and meanwhile, the task deployment and maintenance cost can be reduced.
It should be noted that, the foregoing examples in the present embodiment are all examples for understanding and are not limited to the technical solution of the present invention.
The second embodiment of the present invention is about the same as the first embodiment in that after the association model is stored in the database, when the IP flow information is changed, that is, when the newly acquired IP flow information is different from the IP flow information existing in the current association model, the IP flow information is modified and the association model is updated according to the modified IP flow information. In addition, after the in-band detection task is executed, if the in-band detection task established for the pre-modification IP flow information is queried, the in-band detection task established for the modified IP flow information is modified or deleted.
The following describes the present embodiment further with reference to the accompanying drawings, and the service flow detection method in this embodiment is shown in fig. 3, and includes:
In step 301, the service flow to be detected is determined according to the related information of the service flow.
And 302, searching IP flow information of the service flow to be detected in a pre-generated association model.
And step 303, configuring an in-band detection task for the service flow to be detected according to the IP flow information.
Step 304, an in-band detection task is executed, and performance data acquired by the in-band detection task is acquired.
Steps 301 to 304 are the same as steps 101 to 104 in the first embodiment of the present invention, and the details of the implementation are specifically described in the first embodiment of the present invention and are not repeated here.
In step 305, if it is queried that there is an in-band detection task established for the pre-modification IP flow information, the in-band detection task established for the modified IP flow information is modified or deleted.
Specifically, in this embodiment, after the association model is generated, if a new task of collecting the IP flow information is received, when the new collected IP flow information is found to be inconsistent with the existing IP flow information in the collection process, the IP flow information is modified to be the new collected IP flow information, and then the data in the association model is modified according to the new IP flow information, so as to generate a new association model. And (5) finishing maintenance of the association model.
In addition, the terminal deploying the in-band detection task can also acquire the related information of the service flow through the network management system, so that the related information of the service flow in the target network is monitored in real time. When the load side access equipment, the access interface and the service information are modified and deleted, the system synchronously modifies or deletes the corresponding service flow and the related information in the load side access equipment, the access interface and the service association model, and simultaneously checks whether an in-band OAM detection session constructed for the information exists in the system, and if the in-band OAM detection session exists, the corresponding in-band detection task is modified or deleted. Meanwhile, after the service flow is aged, when the service flow, the bearing side access equipment, the access interface and the associated information of the service are deleted, whether the in-band detection task constructed for the service flow exists in the system is checked, and if the in-band detection task exists, the in-band detection task is deleted together, so that intelligent updating maintenance of the in-band detection task is realized.
In the related art, for the maintenance of the in-band detection task, when the service changes, the detected service flow also changes at the same time, and if the detected service flow does not exist, the user can only analyze whether the detected service flow does not exist, and then determine whether to update the original in-band detection task. When the number of in-band detection tasks reaches a certain scale, the related technology obviously cannot meet the basic operation and maintenance requirements. Therefore, the technical means of in-band detection task maintenance mentioned in the embodiment can more intelligently identify the dead traffic flow and update in time.
Further, after the IP flow information or the related information of the service flow in the association model is changed, the in-band detection task which is currently running is queried in real time, and whether the in-band detection task which is established for the service flow corresponding to the pre-modification IP flow information or the related information of the service flow exists or not is searched. If the in-band detection task established for the service flow corresponding to the pre-modification IP flow information or the related information of the service flow exists currently, deleting the corresponding in-band detection task or redeploying the modified in-band detection task after modifying the configuration parameters of the corresponding in-band detection task. The method further realizes the real-time monitoring of the in-band detection task, so that when the in-band detection task is dead, the in-band detection task can be timely found and reported to a maintenance user, the manual participation degree is reduced, and the intelligent updating maintenance of the in-band detection task to a certain degree is realized.
In a specific implementation, when the bearer side access device, the access interface and the service information are modified and deleted, the terminal deploying the in-band detection task synchronously modifies or deletes the corresponding in-band detection task and the related information of the service flow in the bearer side access device, the access interface and other service association models.
In addition, when the load-bearing side access equipment, the access interface and the service information are increased, a maintenance personnel can manually trigger a service flow real-time acquisition task of a designated monitoring port, and according to the acquired service flow, the related information of the service flow, the load-bearing side access equipment, the access interface and the service flow is generated, and when the service flow is waiting to be acquired at regular time, the related information of the newly increased service flow, the load-bearing side access equipment, the access interface and the service is regenerated.
After the data acquisition end acquires IP flow information according to the newly received IP flow information acquisition task, a service flow is uniquely identified according to five-tuple (source IP address, source port number, destination IP address, destination port number and protocol number), a correlation model of the service flow, the bearing side access equipment, the access interface and the service is built for the newly added service flow, and the update time in the correlation information of the service flow, the bearing side access equipment, the access interface and the service is modified into the time when the relationship is maintained for the existing service flow. And deleting the service flow, the bearing side access equipment, the access interface and the associated information of the service after the time difference between the update time and the current time in the associated information exceeds the set relation aging time.
Compared with the related art in the field, the method and the device for detecting the in-band detection task in the embodiment continuously monitor the state of the in-band detection task after the in-band detection task is deployed, actively inquire whether the in-band detection task is dead when the IP flow information is updated, and simultaneously, when new IP flow information is acquired, the association of the new service flow, the service flow related information and the IP flow information is increased. The method further realizes the real-time monitoring of the in-band detection task, so that when the in-band detection task is a zombie, the zombie can be timely found and reported to a maintenance user, the manual participation degree is reduced, and the intelligent updating maintenance of the in-band detection task is realized to a certain extent.
It should be noted that, the foregoing examples in the present embodiment are all examples for understanding and are not limited to the technical solution of the present invention.
The above steps of the methods are divided into only for clarity of description, and may be combined into one step or split into multiple steps when implemented, so long as the steps include the same logic relationship, and all the steps are within the protection scope of the patent, and adding insignificant modification or introducing insignificant design to the algorithm or the process, but not changing the core design of the algorithm and the process, and all the steps are within the protection scope of the patent.
A third embodiment of the present invention relates to a traffic flow detection apparatus, as shown in fig. 3, including:
a determining module 401, configured to determine a service flow to be detected according to the related information of the service flow;
The query module 402 is configured to search IP flow information of a service flow to be detected in a pre-generated association model, where the association model is used to describe a correspondence between relevant information of the service flow in the target network and the IP flow information;
a configuration module 403, configured to configure an in-band detection task for the detected traffic flow according to the root IP flow information;
And the execution module 404 is configured to execute the in-band detection task and acquire performance data acquired according to the in-band detection task.
It should be noted that each module involved in the present embodiment is a logic module, and in practical application, one logic unit may be one physical unit, or may be a part of one physical unit, or may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, units less closely related to solving the technical problem presented by the present invention are not introduced in the present embodiment, but it does not indicate that other units are not present in the present embodiment.
A fourth embodiment of the present invention relates to a traffic flow detection system, as shown in fig. 5, which includes a data acquisition end 502 and a data analysis end 503, where the data acquisition end 502 and the data analysis end 503 are both communicatively connected to the traffic flow detection device 501, and the data acquisition end 502 is also communicatively connected to a carrier device of a target network.
The traffic flow detection device 501 further includes an indication module, configured to instruct the data acquisition end to obtain IP flow information of all traffic flows in the target network from the bearer device of the target network.
The data collection end 502 is configured to obtain IP flow information of all service flows in the target network from the bearer device of the target network, and send the obtained IP flow information to the data analysis end.
The data analysis end 503 is configured to query relevant information of all service flows in a network management system of the target network according to the IP flow information, generate a correlation model according to the relevant information of all service flows, and store the correlation model in a local database for retrieval by a query module of the service flow detection device.
In one example, the traffic flow detection device 501 is further configured to modify or delete the in-band detection task established for the modified IP flow information when it is queried that there is an in-band detection task established for the pre-modified IP flow information.
In another example, the service flow detection device 501 is further configured to receive related information of an input service flow, search a service flow corresponding to the related information of the service flow in the association model according to the related information of the service flow, and determine, according to the received selection instruction, the selected service flow as a service flow to be detected in the corresponding service flow.
In another example, the service flow detection device 501 is further configured to search the association model for a service flow corresponding to the network element information according to the network element information.
In one example, the data analysis end 503 is further configured to modify the IP flow information and update the association model according to the modified IP flow information when the newly acquired IP flow information differs from the existing IP flow information.
It should be noted that each module involved in the present embodiment is a logic module, and in practical application, one logic unit may be one physical unit, or may be a part of one physical unit, or may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, units less closely related to solving the technical problem presented by the present invention are not introduced in the present embodiment, but it does not indicate that other units are not present in the present embodiment.
A fifth embodiment of the invention relates to a terminal, as shown in fig. 6, comprising at least one processor 601 and a memory 602 communicatively connected to the at least one processor 601, wherein the memory 602 stores instructions executable by the at least one processor 601, the instructions being executable by the at least one processor 601 to enable the at least one processor 601 to perform the traffic detection method of the first, or second, embodiment.
Where the memory 602 and the processor 601 are connected by a bus, the bus may comprise any number of interconnected buses and bridges, the buses connecting the various circuits of the one or more processors 601 and the memory 602. The bus may also connect various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or may be a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 601 is transmitted over a wireless medium via an antenna, which further receives the data and transmits the data to the processor 601. The processor 601 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 602 may be used to store data used by processor 601 in performing operations.
A sixth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program implements the above-described method embodiments when executed by a processor.
That is, it will be understood by those skilled in the art that all or part of the steps in implementing the methods of the embodiments described above may be implemented by a program stored in a storage medium, where the program includes several instructions for causing a device (which may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps in the methods of the embodiments of the application. The storage medium includes a U disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, an optical disk, or other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples of carrying out the invention and that various changes in form and details may be made therein without departing from the spirit and scope of the invention.

Claims (9)

1.一种业务流检测方法,其特征在于,包括:1. A service flow detection method, comprising: 向数据采集端下发IP流信息采集任务,指示所述数据采集端向目标网络的承载设备获取所述目标网络中所有业务流的IP流信息;所述IP流信息采集任务包括采集周期;Sending an IP flow information collection task to a data collection terminal, instructing the data collection terminal to obtain IP flow information of all service flows in the target network from a bearer device of the target network; the IP flow information collection task includes a collection period; 当部署带内检测任务的终端接收到输入的业务流的相关信息时,根据所述业务流的相关信息在网管系统中查询对应的业务流,作为待检测的业务流,其中,所述业务流的相关信息包括业务流归属的业务名称、业务流的标识、业务流的承载侧接入设备标识、接入接口标识、业务流相关的网元节点及网元接口中的至少一种;When the terminal deploying the in-band detection task receives the input relevant information of the service flow, the corresponding service flow is queried in the network management system according to the relevant information of the service flow as the service flow to be detected, wherein the relevant information of the service flow includes at least one of the service name to which the service flow belongs, the identifier of the service flow, the bearer-side access device identifier of the service flow, the access interface identifier, and the network element node and network element interface related to the service flow; 在预先生成的关联模型中查找所述待检测的业务流的IP流信息;其中,所述关联模型用于描述所述目标网络中业务流的相关信息与所述IP流信息之间的对应关系;Searching for the IP flow information of the service flow to be detected in a pre-generated association model; wherein the association model is used to describe the corresponding relationship between the relevant information of the service flow in the target network and the IP flow information; 自动根据所述IP流信息配置针对所述待检测的业务流的带内检测任务;Automatically configuring an in-band detection task for the service flow to be detected according to the IP flow information; 执行所述带内检测任务,并获取根据所述带内检测任务采集的性能数据;Execute the in-band detection task and obtain performance data collected according to the in-band detection task; 若周期性采集到的所有业务流的IP流信息中存在发生变化的IP流信息,则修改所述发生变化的IP流信息并根据修改后的IP流信息更新所述关联模型。If there is changed IP flow information in the IP flow information of all service flows collected periodically, the changed IP flow information is modified and the association model is updated according to the modified IP flow information. 2.根据权利要求1所述的业务流检测方法,其特征在于,所述关联模型通过以下方式生成:2. The service flow detection method according to claim 1, characterized in that the association model is generated by: 向所述目标网络的承载设备获取所述目标网络中所有业务流的IP流信息;Obtaining IP flow information of all service flows in the target network from a bearer device of the target network; 根据所述IP流信息在所述目标网络的网管系统中查询所述所有业务流的相关信息;Query the relevant information of all the service flows in the network management system of the target network according to the IP flow information; 根据所述所有业务流的相关信息生成所述关联模型,并将所述关联模型保存在数据库中。The association model is generated according to the relevant information of all the business flows, and the association model is stored in a database. 3.根据权利要求2所述的业务流检测方法,其特征在于,在所述将所述关联模型保存在数据库中之后,还包括:3. The service flow detection method according to claim 2, characterized in that after the association model is saved in the database, it also includes: 若查询到当前存在针对修改前的所述IP流信息建立的带内检测任务,修改或删除所述针对修改前的所述IP流信息建立的带内检测任务。If it is found that there is currently an in-band detection task established for the IP flow information before modification, modify or delete the in-band detection task established for the IP flow information before modification. 4.根据权利要求1所述的业务流检测方法,其特征在于,在所述根据业务流的相关信息确定待检测的业务流之前,还包括:4. The service flow detection method according to claim 1, characterized in that before determining the service flow to be detected according to the relevant information of the service flow, it also includes: 接收输入的业务流的相关信息;Receiving input business flow related information; 所述根据业务流的相关信息确定目标网络中待检测的业务流,包括:The determining of the service flow to be detected in the target network according to the relevant information of the service flow includes: 在所述关联模型中查找目标网络中与所述输入的业务流的相关信息匹配的业务流;Searching the association model for a service flow in the target network that matches the input service flow related information; 根据接收的选取指令在所述匹配的业务流中确定被选取的业务流作为所述待检测的业务流。According to the received selection instruction, a selected service flow is determined in the matching service flows as the service flow to be detected. 5.根据权利要求4所述的业务流检测方法,其特征在于,所述业务流的相关信息包括网元信息和/或业务特征;5. The service flow detection method according to claim 4, characterized in that the relevant information of the service flow includes network element information and/or service characteristics; 所述根据所述业务流的相关信息在所述关联模型中查找与所述业务流的相关信息对应的业务流,包括:The searching, in the association model according to the relevant information of the business flow, for a business flow corresponding to the relevant information of the business flow comprises: 在所述关联模型中查找与所述输入的网元信息和/或业务特征匹配的业务流。Search the association model for a service flow that matches the input network element information and/or service characteristics. 6.根据权利要求1至5中任一项所述的业务流检测方法,其特征在于,所述IP流信息以五元组的形式表示,包括:源IP地址、源端口号、目的IP地址、目的端口号、协议号。6. The service flow detection method according to any one of claims 1 to 5 is characterized in that the IP flow information is represented in the form of a quintuple, including: source IP address, source port number, destination IP address, destination port number, and protocol number. 7.一种业务流检测装置,其特征在于,包括:7. A service flow detection device, characterized in that it comprises: 确定模块,用于当部署带内检测任务的终端接收到输入的业务流的相关信息时,根据所述业务流的相关信息在网管系统中查询对应的业务流,作为待检测的业务流,其中,所述业务流的相关信息包括业务流归属的业务名称、业务流的标识、业务流的承载侧接入设备标识、接入接口标识、业务流相关的网元节点及网元接口中的至少一种;A determination module, configured to query a corresponding business flow in a network management system according to the relevant information of the business flow as the business flow to be detected when the terminal deploying the in-band detection task receives the input business flow related information, wherein the relevant information of the business flow includes at least one of a business name to which the business flow belongs, an identifier of the business flow, an access device identifier on the bearer side of the business flow, an access interface identifier, and a network element node and a network element interface related to the business flow; 查询模块,用于在预先生成的关联模型中查找所述待检测的业务流的IP流信息;其中,所述关联模型用于描述目标网络中业务流的相关信息与所述IP流信息之间的对应关系;A query module, used to search the IP flow information of the service flow to be detected in a pre-generated association model; wherein the association model is used to describe the corresponding relationship between the relevant information of the service flow in the target network and the IP flow information; 配置模块,用于自动根据所述IP流信息配置针对所述待检测的业务流的带内检测任务;A configuration module, used for automatically configuring an in-band detection task for the service flow to be detected according to the IP flow information; 执行模块,用于执行所述带内检测任务,并获取根据所述带内检测任务采集的性能数据;若周期性采集到的所有业务流的IP流信息中存在发生变化的IP流信息,则修改所述发生变化的IP流信息并根据修改后的IP流信息更新所述关联模型;An execution module, used to execute the in-band detection task and obtain performance data collected according to the in-band detection task; if there is changed IP flow information in the IP flow information of all service flows collected periodically, modify the changed IP flow information and update the association model according to the modified IP flow information; 所述装置还包括:向数据采集端下发IP流信息采集任务,指示所述数据采集端向目标网络的承载设备获取所述目标网络中所有业务流的IP流信息;所述IP流信息采集任务包括采集周期。The device also includes: sending an IP flow information collection task to the data collection end, instructing the data collection end to obtain IP flow information of all business flows in the target network from the carrier device of the target network; the IP flow information collection task includes a collection cycle. 8.一种终端,其特征在于,包括:至少一个处理器;以及,8. A terminal, comprising: at least one processor; and 与所述至少一个处理器通信连接的存储器;其中,a memory communicatively connected to the at least one processor; wherein, 所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如权利要求1至6中任一项所述的业务流检测方法。The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the service flow detection method according to any one of claims 1 to 6. 9.一种计算机可读存储介质,存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求 1 至 6中任一项所述的业务流检测方法。9. A computer-readable storage medium storing a computer program, characterized in that when the computer program is executed by a processor, it implements the service flow detection method described in any one of claims 1 to 6.
CN202011004521.6A 2020-09-22 2020-09-22 Service flow detection method, device, system, terminal and storage medium Active CN114301818B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011004521.6A CN114301818B (en) 2020-09-22 2020-09-22 Service flow detection method, device, system, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011004521.6A CN114301818B (en) 2020-09-22 2020-09-22 Service flow detection method, device, system, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN114301818A CN114301818A (en) 2022-04-08
CN114301818B true CN114301818B (en) 2025-07-18

Family

ID=80964181

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011004521.6A Active CN114301818B (en) 2020-09-22 2020-09-22 Service flow detection method, device, system, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN114301818B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115022200A (en) * 2022-05-23 2022-09-06 中国电信股份有限公司 Detection method, system, node and computer readable storage medium
CN115174449B (en) * 2022-05-30 2024-03-26 杭州初灵信息技术股份有限公司 Method, system, device and storage medium for transmitting stream-following detection information
CN117997793A (en) * 2022-10-28 2024-05-07 中兴通讯股份有限公司 In-band operation, maintenance and management (OAM) measurement method and system
CN120358180A (en) * 2024-01-22 2025-07-22 中兴通讯股份有限公司 Management method of flow detection task, electronic equipment and medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109525451A (en) * 2018-09-13 2019-03-26 中兴通讯股份有限公司 A kind of implementation method, device, the network equipment and the controller of MPLS network detection

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6888798B2 (en) * 2003-04-23 2005-05-03 Covaro Networks, Inc. Embedded management channel for SONET path terminating equipment connectivity
US8605603B2 (en) * 2009-03-31 2013-12-10 Cisco Technology, Inc. Route convergence based on ethernet operations, administration, and maintenance protocol
US20180131624A1 (en) * 2016-11-10 2018-05-10 Qualcomm Incorporated Managing Network Traffic
GB201621072D0 (en) * 2016-12-12 2017-01-25 Samsung Electronics Co Ltd NR QOS handling
US10298465B2 (en) * 2017-08-01 2019-05-21 Juniper Networks, Inc. Using machine learning to monitor link quality and predict link faults
CN109561300B (en) * 2018-12-27 2021-03-12 中国联合网络通信集团有限公司 Service quality detection method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109525451A (en) * 2018-09-13 2019-03-26 中兴通讯股份有限公司 A kind of implementation method, device, the network equipment and the controller of MPLS network detection

Also Published As

Publication number Publication date
CN114301818A (en) 2022-04-08

Similar Documents

Publication Publication Date Title
CN114301818B (en) Service flow detection method, device, system, terminal and storage medium
JP3542726B2 (en) Generate reports using distributed workstations
CN112187512B (en) Port automatic expansion method, device and equipment based on flow monitoring
EP4576719A1 (en) Route planning method and apparatus for real time audio/video network
CN109831535B (en) Intelligent big data collection method based on edge calculation
CN116980284B (en) Optical cable fiber distribution box operation and maintenance information transmission method and system based on Internet of things
CN104683164A (en) Method of generating monitoring topological graph by using simplified configuration item correlation model
CN112491719A (en) Network node selection method, equipment and storage medium
CN115277574A (en) A method of data center network load balancing under SDN architecture
CN117478582A (en) Oil field production equipment state monitoring and optimizing method based on intelligent link management system
CN117750408B (en) Communication fault sniffing method based on Internet of things
CN115037625A (en) Network slice processing method and device, electronic equipment and readable storage medium
CN102355373B (en) Method and device for automatically troubleshooting large convergent point hidden troubles of transmission network
CN113839796B (en) Slice service processing method, device, network device and readable storage medium
CN100512162C (en) Method and system and device for collecting flow data
CN113810229A (en) IOAM quality performance data analysis method and device based on time sequence scheduling
CN114448868A (en) Path scheduling method, device and equipment based on segmented routing strategy
CN102289452B (en) A kind of method and device of telecommunicatioin network management performance data output
CN114385197A (en) A method and system for creating intelligent services
CN118827480B (en) Network systems, service processing methods, devices, equipment and storage media
WO2022253164A1 (en) Method and system for analyzing base station performance, electronic device, and storage medium
CN114039863B (en) A remote-controlled multi-router VPN automatic networking method and system
JP2004248177A (en) Detour route management method and system
CN112486656B (en) Method for realizing wireless ionization wire task scheduling and data downloading
WO2024055599A1 (en) Telecommunication network management method and apparatus based on intent

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant