Traffic analysis method and device, equipment and storage medium

By obtaining and analyzing dedicated line information and configuring equipment for traffic sampling and group aggregation, the problem of existing technology being unable to obtain detailed traffic information within dedicated lines is solved, efficient traffic analysis and statistics are achieved, and automation and user experience are improved.

CN118555220APending Publication Date: 2024-08-27GUANGZHOU CLOUDSINO INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410660136.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

Existing dedicated line monitoring technology cannot obtain detailed information about the internal traffic of the dedicated line, such as the specific source IP and destination IP of the traffic, making it difficult for users to understand the service quality and busyness of the dedicated line.

Method used

By obtaining the private line information input by the user, configuring the physical equipment of the dedicated line network, performing traffic sampling and analysis, obtaining the dedicated line traffic data, grouping and aggregating it to obtain application traffic information, and storing it in the database to achieve detailed statistics and analysis of the data.

Benefits of technology

It improves the automation and detail of dedicated line traffic analysis, provides real-time traffic analysis data and application usage, reduces manual operations and query workload, and provides users with better analysis reports and decision-making basis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118555220A
    Figure CN118555220A
Patent Text Reader

Abstract

The invention also discloses a traffic analysis method, device and equipment and a storage medium. The method comprises the following steps: acquiring the special line index information of the special line based on the special line information input by the user; based on the private line information, performing equipment configuration on private line network physical equipment where the private line is located, and performing traffic sampling on the private line to obtain private line traffic data; sending the special line flow data to a flow collector, so that the flow collector analyzes the special line flow data to obtain flow analysis data; based on application information input by a user, grouping and aggregating the private line traffic data to obtain application traffic information corresponding to the target application; storing the special line index information, the application traffic information and the traffic analysis data in a target database, and when a data statistical request is received, performing data statistical processing on the target database to obtain a special line statistical result; compared with the prior art, the technical scheme of the invention can improve the automation degree and the detail degree of special line flow analysis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of dedicated line traffic analysis, and in particular to a traffic analysis method, device, equipment and storage medium. Background Art

[0002] In the current dedicated line service field, although operators provide a variety of dedicated line services, as users use dedicated line applications in depth, they need more information to understand the service quality, busyness and other data of the dedicated line; however, the technology or system for dedicated line monitoring on the market still has some limitations. For example, the current monitoring technology mainly relies on the SNMP protocol, which can only provide basic indicator information such as the delay, packet loss rate, jitter, etc. of the dedicated line, but cannot obtain more detailed information on the internal traffic of the dedicated line, such as the specific source IP and destination IP of the traffic. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a flow analysis method, device, equipment and storage medium to improve the automation and detail level of dedicated line flow analysis.

[0004] In order to solve the above technical problems, the present invention provides a flow analysis method, comprising: Acquire dedicated line information input by the user, and acquire dedicated line indicator information of the dedicated line according to the dedicated line information; Based on the dedicated line information, perform device configuration on the dedicated line network physical device where the dedicated line is located, and perform traffic sampling on the dedicated line based on the configured dedicated line network physical device to obtain dedicated line traffic data; Sending the dedicated line flow data to a flow collector, so that the flow collector parses and processes the dedicated line flow data to obtain flow parsing data; Acquire application information input by the user, and based on the application information, group and aggregate the dedicated line traffic data to obtain application traffic information corresponding to the target application; The dedicated line indicator information, the application flow information and the flow analysis data are stored in a target database. When a data statistics request is received, data statistics processing is performed on the target database to obtain dedicated line statistics results.

[0005] In a possible implementation, acquiring dedicated line information input by a user, and acquiring dedicated line indicator information of the dedicated line according to the dedicated line information, specifically includes: Acquire dedicated line information input by the user, wherein the dedicated line information includes a simple network management protocol group name, a dedicated line network physical device address, a dedicated line network physical device user name, and a dedicated line network physical device password corresponding to the dedicated line network physical device where the dedicated line is located; Enable the Simple Network Management Protocol service, connect to the dedicated network physical device address based on the Simple Network Management Protocol client tool, authenticate the Simple Network Management Protocol client tool based on the Simple Network Management Protocol group name, the dedicated network physical device user name and the dedicated network physical device password, and generate a Simple Network Management Protocol acquisition instruction after the identity authentication is passed; Based on the simple network management protocol acquisition instruction, a simple network management protocol object identifier value is acquired, and based on the simple network management protocol object identifier value, dedicated line indicator information of the dedicated line is calculated.

[0006] In a possible implementation, the application information input by the user is obtained, and based on the application information, the dedicated line traffic data is grouped and aggregated to obtain the application traffic information corresponding to the target application, specifically including: Acquire application information input by the user, wherein the application information includes application address, application port and application protocol; Collecting dedicated line traffic data flowing through the dedicated line, wherein the dedicated line traffic data includes a dedicated line traffic address, a dedicated line traffic port, and a dedicated line traffic protocol; The application information is matched with the dedicated line traffic data. When it is detected that the application address is the same as the dedicated line traffic address, the application port is the same as the dedicated line traffic port, and the application protocol is the same as the dedicated line traffic protocol, the dedicated line traffic data is identified based on the target application, and the dedicated line traffic data is used as the application traffic information corresponding to the target application.

[0007] In a possible implementation, based on the dedicated line information, device configuration is performed on a dedicated line network physical device where the dedicated line is located, specifically including: The dedicated line information includes a dedicated line network physical device protocol corresponding to the dedicated line network physical device where the dedicated line is located; When it is detected that the dedicated network physical device protocol is the first target protocol, the dedicated network physical device is configured with first sampling configuration data, wherein the first sampling configuration data includes a flow sampling operation address, a flow sampling receiver port, a flow sampling receiver address, a flow sampling function start network port, a first receiver and a first sampling interval; When it is detected that the dedicated network physical device protocol is the second target protocol, the dedicated network physical device is configured with second sampling configuration data, wherein the second sampling configuration data includes a network traffic analysis output strategy, a network traffic analysis sampling strategy, a monitoring strategy, an output interface and a binding strategy.

[0008] In a possible implementation manner, before sending the dedicated line flow data to the flow collector, the method further includes: Generate a trusted timestamp corresponding to the dedicated line traffic data, and verify the dedicated line traffic data sent to the traffic collector based on the trusted timestamp; When the verification result is successful, it is determined that the dedicated line traffic data is valid; otherwise, it is determined that the dedicated line traffic data is tampered with.

[0009] In a possible implementation, generating a trusted timestamp corresponding to the dedicated line traffic data specifically includes: Performing hash calculation on the dedicated line traffic data to obtain a first hash value, and generating a timestamp request based on the first hash value; Sending the timestamp request to a timestamp generator, so that the timestamp generator obtains the first hash value from the timestamp request and obtains the current time, performs combination processing based on the current time and the first hash value to obtain a combined hash value, performs signature processing on the combined hash based on a first private key to obtain a timestamp data signature, and connects the timestamp data signature and the combined hash to generate a timestamp token; Receive the timestamp token returned by the timestamp generator, and use the timestamp token as a trusted timestamp corresponding to the dedicated line traffic data.

[0010] In a possible implementation, based on the trusted timestamp, verification processing is performed on the dedicated line flow data sent to the flow collector, specifically including: Performing hash calculation on the dedicated line traffic data sent to the traffic collector to obtain a second hash value; Obtaining the first hash value in the trusted timestamp, and matching the first hash value with the second hash value; When it is detected that the first hash value is the same as the second hash value, the first certificate of the timestamp generator and the timestamp data signature in the trusted timestamp are obtained, and the timestamp data signature is verified based on the first certificate. When it is detected that the timestamp data signature is issued by the timestamp generator and the first certificate is valid, it is determined that the verification result of the dedicated line traffic data is successful.

[0011] The present invention also provides a flow analysis device, including: a dedicated line index information acquisition module, a dedicated line flow sampling module, a dedicated line flow analysis module, an application flow information acquisition module and a dedicated line statistics module; The dedicated line indicator information acquisition module is used to acquire the dedicated line information input by the user, and acquire the dedicated line indicator information of the dedicated line according to the dedicated line information; The dedicated line traffic sampling module is used to perform device configuration on the dedicated line network physical device where the dedicated line is located based on the dedicated line information, and perform traffic sampling on the dedicated line based on the configured dedicated line network physical device to obtain dedicated line traffic data; The dedicated line traffic analysis module is used to send the dedicated line traffic data to the traffic collector, so that the traffic collector analyzes the dedicated line traffic data to obtain traffic analysis data; The application flow information acquisition module is used to acquire the application information input by the user, and based on the application information, group and aggregate the dedicated line flow data to obtain the application flow information corresponding to the target application; The dedicated line statistics module is used to store the dedicated line indicator information, the application flow information and the flow analysis data in a target database, and when a data statistics request is received, perform data statistics processing on the target database to obtain dedicated line statistics results.

[0012] In a possible implementation, the dedicated line indicator information acquisition module is used to acquire dedicated line information input by a user, and acquire dedicated line indicator information of the dedicated line according to the dedicated line information, specifically including: Acquire dedicated line information input by the user, wherein the dedicated line information includes a simple network management protocol group name, a dedicated line network physical device address, a dedicated line network physical device user name, and a dedicated line network physical device password corresponding to the dedicated line network physical device where the dedicated line is located; Enable the Simple Network Management Protocol service, connect to the dedicated network physical device address based on the Simple Network Management Protocol client tool, authenticate the Simple Network Management Protocol client tool based on the Simple Network Management Protocol group name, the dedicated network physical device user name and the dedicated network physical device password, and generate a Simple Network Management Protocol acquisition instruction after the identity authentication is passed; Based on the simple network management protocol acquisition instruction, a simple network management protocol object identifier value is acquired, and based on the simple network management protocol object identifier value, dedicated line indicator information of the dedicated line is calculated.

[0013] In a possible implementation, the application traffic information acquisition module is used to acquire application information input by a user, and based on the application information, group and aggregate the dedicated line traffic data to obtain application traffic information corresponding to the target application, specifically including: Acquire application information input by the user, wherein the application information includes application address, application port and application protocol; Collecting dedicated line traffic data flowing through the dedicated line, wherein the dedicated line traffic data includes a dedicated line traffic address, a dedicated line traffic port, and a dedicated line traffic protocol; The application information is matched with the dedicated line traffic data. When it is detected that the application address is the same as the dedicated line traffic address, the application port is the same as the dedicated line traffic port, and the application protocol is the same as the dedicated line traffic protocol, the dedicated line traffic data is identified based on the target application, and the dedicated line traffic data is used as the application traffic information corresponding to the target application.

[0014] In a possible implementation, the dedicated line traffic sampling module is used to perform device configuration on a dedicated line network physical device where the dedicated line is located based on the dedicated line information, specifically including: The dedicated line information includes a dedicated line network physical device protocol corresponding to the dedicated line network physical device where the dedicated line is located; When it is detected that the dedicated network physical device protocol is the first target protocol, the dedicated network physical device is configured with first sampling configuration data, wherein the first sampling configuration data includes a flow sampling operation address, a flow sampling receiver port, a flow sampling receiver address, a flow sampling function start network port, a first receiver and a first sampling interval; When it is detected that the dedicated network physical device protocol is the second target protocol, the dedicated network physical device is configured with second sampling configuration data, wherein the second sampling configuration data includes a network traffic analysis output strategy, a network traffic analysis sampling strategy, a monitoring strategy, an output interface and a binding strategy.

[0015] In a possible implementation, the dedicated line traffic sampling module, before sending the dedicated line traffic data to the traffic collector, further includes: Generate a trusted timestamp corresponding to the dedicated line traffic data, and verify the dedicated line traffic data sent to the traffic collector based on the trusted timestamp; When the verification result is successful, it is determined that the dedicated line traffic data is valid; otherwise, it is determined that the dedicated line traffic data is tampered with.

[0016] In a possible implementation, the dedicated line traffic sampling module is used to generate a trusted timestamp corresponding to the dedicated line traffic data, specifically including: Performing hash calculation on the dedicated line traffic data to obtain a first hash value, and generating a timestamp request based on the first hash value; Sending the timestamp request to a timestamp generator, so that the timestamp generator obtains the first hash value from the timestamp request and obtains the current time, performs combination processing based on the current time and the first hash value to obtain a combined hash value, performs signature processing on the combined hash based on a first private key to obtain a timestamp data signature, and connects the timestamp data signature and the combined hash to generate a timestamp token; Receive the timestamp token returned by the timestamp generator, and use the timestamp token as a trusted timestamp corresponding to the dedicated line traffic data.

[0017] In a possible implementation, the dedicated line traffic sampling module is used to verify the dedicated line traffic data sent to the traffic collector based on the trusted timestamp, specifically including: Performing hash calculation on the dedicated line traffic data sent to the traffic collector to obtain a second hash value; Obtaining the first hash value in the trusted timestamp, and matching the first hash value with the second hash value; When it is detected that the first hash value is the same as the second hash value, the first certificate of the timestamp generator and the timestamp data signature in the trusted timestamp are obtained, and the timestamp data signature is verified based on the first certificate. When it is detected that the timestamp data signature is issued by the timestamp generator and the first certificate is valid, it is determined that the verification result of the dedicated line traffic data is successful.

[0018] The present invention also provides a terminal device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements any of the traffic analysis methods described above when executing the computer program.

[0019] The present invention also provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any of the traffic analysis methods described above.

[0020] The flow analysis method, device, equipment and storage medium of the embodiment of the present invention have the following beneficial effects compared with the prior art: By obtaining the dedicated line information input by the user, the system can obtain the dedicated line indicator information of the dedicated line without manual input or query, which improves the convenience and accuracy of the operation; it also samples the dedicated line flow based on the configured dedicated line network physical equipment to obtain real-time dedicated line flow data, and sends the flow data to the flow collector for analysis and processing, so that the dedicated line flow analysis data can be obtained in real time, providing basic data for subsequent analysis and statistics; according to the application information input by the user, the system groups and aggregates the dedicated line flow data to obtain the application flow information corresponding to the target application. In this way, the flow size and usage time of each application can be conveniently counted, and detailed application usage can be provided to the user; the dedicated line indicator information, application flow information and flow analysis data are stored in the target database, which can conveniently store and manage data. When a data statistics request is received, the system can perform data statistics processing on the target database to obtain the statistical results of the dedicated line, and provide users with a comprehensive dedicated line analysis report. Compared with the prior art, the technical solution of the present invention can improve the automation and real-time performance of flow analysis, reduce the workload of manual operation and query, and provide detailed dedicated line and application analysis results, providing users with a better user experience and decision-making basis. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 It is a flow chart of an embodiment of a flow analysis method provided by the present invention; Figure 2 It is a structural schematic diagram of an embodiment of a flow analysis device provided by the present invention; Figure 3 It is a structural schematic diagram of a terminal device provided by the present invention. DETAILED DESCRIPTION

[0022] The following will be combined with the accompanying drawings in the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0023] Example 1, see Figure 1 , Figure 1 FIG. 1 is a flow chart of an embodiment of a flow analysis method provided by the present invention. Figure 1 As shown, the method includes steps 101 to 105, which are specifically as follows: Step 101: Acquire dedicated line information input by a user, and acquire dedicated line indicator information of the dedicated line according to the dedicated line information.

[0024] In one embodiment, for the banking and financial industries, data flows from each outlet to the branch head office in the form of dedicated lines. Each outlet is a dedicated line. These users have high requirements for the quality of dedicated lines and require real-time information on the latency, jitter, and packet loss rate of the dedicated lines. They also need to know whether the load of each dedicated line is too high. However, since the data information of these users needs to be kept confidential, the operator cannot analyze the data in the dedicated lines. Therefore, it is necessary to build an analysis system for the intranet environment.

[0025] In one embodiment, before obtaining the dedicated line information input by the user, a dedicated line analysis system is deployed first, and the dedicated line analysis system provides the user with visualized operations on the dedicated line, including inputting the dedicated line information.

[0026] In one embodiment, dedicated line information input by a user is obtained, wherein the dedicated line information includes a simple network management protocol group name, a dedicated line network physical device address, a dedicated line network physical device user name, and a dedicated line network physical device password corresponding to the dedicated line network physical device where the dedicated line is located.

[0027] Specifically, the dedicated line network physical devices where the dedicated line is located include but are not limited to switches and routers.

[0028] Specifically, the dedicated line information may also include dedicated line network physical device port, simple network management protocol name, dedicated line address, dedicated line peer address and dedicated line broadband information.

[0029] Preferably, when there are many dedicated lines, that is, when a lot of dedicated line information is input by users, a batch import method can be used to obtain the dedicated line information input by users; similarly, part of the dedicated line information can be automatically obtained according to the ARP protocol or the LLDP protocol, and the dedicated line information can be supplemented and improved based on the obtained partial dedicated line information.

[0030] Specifically, the correspondence between the IP and MAC address of the switch network to which the switch belongs is obtained from the arp table.

[0031] Specifically, obtain the peer port MAC, peer port name, and peer system name from lldp neighbor; Specifically, the acquired information is combined into dedicated line information such as a dedicated line address, a dedicated line port, and a dedicated line peer address corresponding to the dedicated line.

[0032] In one embodiment, a simple network management protocol service is enabled, a connection is established between a simple network management protocol client tool and the dedicated network physical device address, and the simple network management protocol client tool is authenticated based on the simple network management protocol group name, the dedicated network physical device user name and the dedicated network physical device password, and after the identity authentication is passed, a simple network management protocol acquisition instruction is generated.

[0033] Specifically, by configuring the dedicated line network physical device, ensure that the dedicated line network physical device supports the Simple Network Management Protocol and enables the Simple Network Management Protocol service.

[0034] Specifically, use a simple network management protocol client tool, such as SNMPwalk, SNMPget, etc., to connect to the IP address of the dedicated network physical device where the dedicated line is located, and realize connection with the dedicated network physical device address based on the simple network management protocol client tool, and authenticate identity by providing the correct dedicated network physical device user name, dedicated network physical device password and simple network management protocol group name.

[0035] Specifically, after the identity authentication is passed, the generated simple network management protocol acquisition instruction includes but is not limited to an SNMP walk instruction or an SNMP get instruction.

[0036] In one embodiment, based on the simple network management protocol acquisition instruction, a simple network management protocol object identifier value is acquired, and based on the simple network management protocol object identifier value, dedicated line indicator information of the dedicated line is calculated.

[0037] Specifically, the SNMP object identifier value includes, but is not limited to, an interface input flow value, an interface output flow value, an interface input error value, an interface output error value, and a current timestamp.

[0038] Specifically, the dedicated line indicator information of the dedicated line includes but is not limited to latency, traffic, throughput and packet loss rate.

[0039] Specifically, for delay: the transmission delay is calculated based on the current timestamp and the previous timestamp.

[0040] Specifically, for traffic: the traffic is calculated based on the change in the interface input traffic value and the interface output traffic value and the time interval.

[0041] Specifically, for jitter: based on the continuously acquired delays, the standard deviation of the delay difference of the continuous data is calculated, and the jitter is calculated based on the standard deviation.

[0042] Specifically, for the packet loss rate: the packet loss rate is calculated based on the change in the interface input error value and the interface output error value divided by the change in the traffic.

[0043] Step 102: Based on the dedicated line information, configure the dedicated line network physical device where the dedicated line is located, and sample the flow of the dedicated line based on the configured dedicated line network physical device to obtain dedicated line flow data.

[0044] In one embodiment, the dedicated line information includes a dedicated line network physical device protocol corresponding to the dedicated line network physical device where the dedicated line is located.

[0045] In one embodiment, when it is detected that the dedicated network physical device protocol is the first target protocol, the dedicated network physical device is configured with first sampling configuration data, wherein the first sampling configuration data includes a traffic sampling running address, a traffic sampling receiver port, a traffic sampling receiver address, a traffic sampling function start network port, a first receiver and a first sampling interval.

[0046] Specifically, the first target protocol may be a flow v5 protocol, or the first target protocol may be a netflow v5 protocol.

[0047] Specifically, when it is detected that the protocol of the dedicated network physical device is the flow v5 protocol or the netflowv5 protocol, the dedicated network physical device is configured with a flow sampling running address, a flow sampling receiver port and a flow sampling receiver address, a flow sampling function start network port that needs to start the flow sampling function, and a first receiver that receives the flow sampling function start network port, a first sampling interval, and after completing the configuration of the first sampling configuration data for the dedicated network physical device, it is detected whether the first sampling configuration data is successfully configured.

[0048] In one embodiment, when it is detected that the dedicated line network physical device protocol is the first target protocol, the dedicated line traffic is sampled at a first sampling interval based on the configured dedicated line network physical device to obtain dedicated line traffic data.

[0049] In one embodiment, when it is detected that the dedicated network physical device protocol is the second target protocol, the dedicated network physical device is configured with second sampling configuration data, wherein the second sampling configuration data includes a network traffic analysis output strategy, a network traffic analysis sampling strategy, a monitoring strategy, an output interface, and a binding strategy.

[0050] Specifically, the second target protocol is the netflow v9 protocol.

[0051] Specifically, when it is detected that the protocol of the dedicated network physical device is the netflow v9 protocol, the process of configuring the second sampling configuration data for the dedicated network physical device includes entering the configuration command mode, entering the configuration flexible configuration template, including the input direction and the output direction, configuring the network traffic analysis output strategy, configuring the network traffic analysis sampling strategy, configuring the monitoring strategy, including the input direction and the output direction, configuring the output interface and the binding strategy.

[0052] In one embodiment, when it is detected that the dedicated line network physical device protocol is the second target protocol, a network traffic analysis sampling strategy is adopted based on the configured dedicated line network physical device to perform traffic sampling on the dedicated line to obtain dedicated line traffic data.

[0053] In one embodiment, the dedicated line traffic data obtained by sampling includes but is not limited to TOS, protocol type, inflow device port number, destination port, destination address, source port, source address and outflow device port number.

[0054] Step 103: Send the dedicated line flow data to a flow collector, so that the flow collector parses and processes the dedicated line flow data to obtain flow parsing data.

[0055] In one embodiment, in addition to deploying a dedicated line analysis system, a traffic collector is also deployed; the traffic collector is built based on the Netty framework, wherein the Netty framework is a high-performance, asynchronous event-driven network application framework written in Java; it provides a set of simple but powerful abstractions that allow developers to easily develop client and server applications based on network protocols; the core of the Netty framework is its asynchronous I / O mechanism based on an event-driven model, which allows applications to maintain high throughput and low latency when handling a large number of concurrent connections.

[0056] In one embodiment, when the dedicated line traffic data is sent to the traffic collector, in order to prevent the data from being tampered with during transmission, a cryptographic encryption machine can be added between the dedicated line network physical device where the dedicated line is located and the traffic collector, or the specified interface of the cryptographic encryption machine can be called, and the SM9 encryption algorithm can be used to add a trusted timestamp to the data sent from the dedicated line network physical device to verify that the data has not been tampered with.

[0057] In one embodiment, before sending the dedicated line traffic data to the traffic collector, it also includes: generating a trusted timestamp corresponding to the dedicated line traffic data, and based on the trusted timestamp, verifying the dedicated line traffic data sent to the traffic collector; when the verification result is successful, it is determined that the dedicated line traffic data is valid, otherwise, it is determined that the dedicated line traffic data has been tampered with.

[0058] In one embodiment, when generating a trusted timestamp corresponding to the dedicated line traffic data, a hash calculation is performed on the dedicated line traffic data to obtain a first hash value, and a timestamp request is generated based on the first hash value; the timestamp request is sent to a timestamp generator, so that the timestamp generator obtains the first hash value from the timestamp request and obtains the current time, performs combination processing based on the current time and the first hash value to obtain a combined hash value, signs the combined hash based on a first private key to obtain a timestamp data signature, and connects the timestamp data signature and the combined hash to generate a timestamp token; receives the timestamp token returned by the timestamp generator, and uses the timestamp token as the trusted timestamp corresponding to the dedicated line traffic data.

[0059] Specifically, the sampled dedicated line traffic data is sent to the cryptographic server through the dedicated line network physical device, so that the cryptographic server performs hash calculation on the dedicated line traffic data to obtain a first hash value.

[0060] Specifically, when generating a timestamp request based on the first hash value, a hash algorithm identifier, a random number and a timestamp request version are obtained, and a timestamp request is generated based on the hash algorithm identifier, the random number, the timestamp request version and the first hash value.

[0061] Specifically, the timestamp generator is the software TSA that runs the timestamp.

[0062] Specifically, based on the running timestamp software TSA, the current time is added to the first hash value, a new combined hash is created to obtain the combined hash value, the combined hash value is signed with the first private key of the timestamp generator, the timestamp data signature and the combined hash are connected to generate a timestamp token, and the timestamp token is returned to the cryptographic encryption machine.

[0063] In one embodiment, when verifying the dedicated line traffic data sent to the traffic collector based on the trusted timestamp, a hash calculation is performed on the dedicated line traffic data sent to the traffic collector to obtain a second hash value; the first hash value in the trusted timestamp is obtained, and the first hash value is matched with the second hash value; when it is detected that the first hash value is the same as the second hash value, the first certificate of the timestamp generator and the timestamp data signature in the trusted timestamp are obtained, and the timestamp data signature is verified based on the first certificate; when it is detected that the timestamp data signature is issued by the timestamp generator and the first certificate is valid, it is determined that the verification result of the dedicated line traffic data is successful.

[0064] Specifically, by matching the second hash value of the dedicated line traffic data received by the cryptographic encryption machine with the first hash value in the trusted timestamp, if the two are the same, it is confirmed that the dedicated line traffic data remains unchanged since the trusted timestamp.

[0065] Specifically, after confirming that the dedicated line traffic data remains unchanged since the trusted timestamp, the timestamp data signature is also verified based on the first certificate of the timestamp generator TSA to determine that the trusted timestamp is indeed issued by the timestamp generator TSA.

[0066] Specifically, since the certificate chain corresponding to the first certificate can be traced back to a trusted root and the first certificate of the timestamp generator TSA has not been revoked, it is ensured that the first certificate of the timestamp generator TSA must be valid during the verification process to maintain the credibility of the timestamp.

[0067] In one embodiment, after determining that the dedicated line traffic data is valid, the dedicated line traffic data is converted into a dedicated line traffic data packet in a preset format according to a preset target protocol, and the dedicated line traffic data packet is sent to a traffic collector, wherein the preset target protocol includes a netflow protocol, an sflow protocol or a netstream protocol.

[0068] Specifically, the dedicated line network physical device selects and samples multiple dedicated line traffic data packets to obtain dedicated line traffic data, and encapsulates the data packets into dedicated line traffic data packets in the format specified by the target protocol.

[0069] In one embodiment, the target protocol is obtained, and the traffic collector parses and processes the dedicated line traffic data based on the target protocol to obtain traffic parsing data.

[0070] Specifically, the traffic collector converts the format of the sent data into a preset format according to the protocol rules corresponding to the target protocol, and parses the traffic parsing data in the dedicated line, wherein the traffic parsing data includes but is not limited to the source address, destination address, source port, destination port, and transmission protocol of each session, wherein the sflow protocol can also obtain the source MAC address and the destination MAC address.

[0071] Step 104: Acquire application information input by the user, and based on the application information, group and aggregate the dedicated line traffic data to obtain application traffic information corresponding to the target application.

[0072] In one embodiment, since the dedicated line traffic data is obtained based on periodic sampling of the dedicated line by the dedicated line network physical device, after the dedicated line network physical device accesses the network, the upper-layer network directly allocates a subnet IPv4 address to the dedicated line network physical device through the DHCP server. When the dedicated line network physical device receives the subnet IPv4 address, it redirects to the authentication address based on the subnet IPv4 address, thereby realizing user identity authentication.

[0073] In one embodiment, application information input by a user is obtained, wherein the application information includes an application address, an application port, and an application protocol.

[0074] Specifically, the application information is the application address, application port and application protocol corresponding to the target application. The target application is identified based on the application address, application port and application protocol, so that based on these application information, it can be obtained which applications the traffic flowing through the dedicated line belongs to.

[0075] In one embodiment, dedicated line traffic data flowing through the dedicated line is collected, wherein the dedicated line traffic data includes a dedicated line traffic address, a dedicated line traffic port, and a dedicated line traffic protocol.

[0076] In one embodiment, the application information and the dedicated line traffic data are matched with each other. When it is detected that the application address is the same as the dedicated line traffic address, the application port is the same as the dedicated line traffic port, and the application protocol is the same as the dedicated line traffic protocol, the dedicated line traffic data is identified based on the target application, and the dedicated line traffic data is used as the application traffic information corresponding to the target application.

[0077] In one embodiment, when collecting dedicated line traffic data flowing through the dedicated line, receiving time information corresponding to the dedicated line traffic data is also extracted, and the usage time of the target application is calculated based on the receiving time information.

[0078] Specifically, when calculating the usage duration of the target application based on the receiving time information, it can be obtained by calculating the difference between the receiving time corresponding to the first set of dedicated line traffic data collected for the target application and the receiving time corresponding to the last set of dedicated line traffic data.

[0079] In one embodiment, when collecting dedicated line traffic data flowing through the dedicated line, all dedicated line traffic data corresponding to the target application is also obtained, and all dedicated line traffic data are integrated to determine the application traffic size corresponding to the target application.

[0080] In one embodiment, the dedicated line traffic data also includes the application traffic size and usage duration corresponding to the target application.

[0081] Step 105: The dedicated line indicator information, the application flow information and the flow analysis data are stored in a target database. When a data statistics request is received, data statistics processing is performed on the target database to obtain dedicated line statistics results.

[0082] In one embodiment, the target database includes but is not limited to a MySQL database and a ClickHouse database.

[0083] Specifically, small and micro enterprises can choose the MySQL database, and customers with a large number of dedicated lines or large dedicated line traffic can sample the ClickHouse database. The ClickHouse database is a column-based database management system (DBMS) for online analysis (0LAP). For most queries, the processing speed is at least 100 times faster.

[0084] Preferably, the traffic collector is connected to SAN storage or NAS storage to geometrically expand the storage space of the server, and the dedicated line indicator information, the application traffic information and the traffic analysis data are written into the historical database through the CIFS / NFS protocol.

[0085] In one embodiment, since the dedicated line analysis system provides the user with visualized operations on the dedicated line, the user can trigger data statistics operations and generate data statistics requests based on the visualized interactive interface of the dedicated line analysis system.

[0086] In one embodiment, after the data statistics request is generated, the data statistics request is sent to the dedicated line analysis system backend, so that the dedicated line analysis system backend performs corresponding data statistics according to the received data statistics request.

[0087] In one embodiment, based on the analysis results, the obtained dedicated line statistics results are returned to the front end for display; specifically, the dedicated line statistics results can be returned to the front end in a target format, and the front end then displays and visualizes the returned dedicated line statistics results.

[0088] In one embodiment, the dedicated line statistical results include but are not limited to dedicated line resource statistics, upstream bandwidth occupancy ranking, maximum delay ranking, downstream bandwidth occupancy ranking, interruption duration ranking, upstream and downstream traffic ranking, port status statistics, operator fault statistics, dedicated line equipment statistics, etc.

[0089] Preferably, when the dedicated line statistical results are visualized, the dedicated line statistical results, such as the top 5 dedicated line delays, the top 5 dedicated line bandwidths, etc., are displayed on the interface. A topology map can be generated based on the dedicated line information, and the dedicated line status can also be dynamically displayed on a map based on the location of the dedicated line.

[0090] Preferably, based on the visual interactive interface of the dedicated line analysis system, users can also view detailed traffic information in a dedicated line, trace back detailed information of a certain period of time in the past including source address, destination address, transmission protocol, etc., and obtain the Top 5 source address traffic and Top 5 destination traffic of a certain period of time or in real time.

[0091] In one embodiment, after determining the dedicated line statistical result, a target threshold may be set for the dedicated line statistical result, and when the dedicated line statistical result is greater than the target threshold, an alarm is sent to the user.

[0092] Specifically, a corresponding target uplink bandwidth occupancy rate threshold and a target uplink bandwidth occupancy rate threshold are set for the uplink bandwidth occupancy rate and the downlink bandwidth occupancy rate in the dedicated line statistical results; when the uplink bandwidth occupancy rate is greater than the target uplink bandwidth occupancy rate threshold, and / or when the downlink bandwidth occupancy rate is greater than the target downlink bandwidth occupancy rate threshold, a bandwidth occupancy rate alarm is sent to the user.

[0093] Specifically, a corresponding target maximum delay threshold is set for the maximum delay in the dedicated line statistical result, and when the maximum delay is greater than the maximum delay threshold, a delay alarm is sent to the user.

[0094] Example 2, see Figure 2 , Figure 2 Schematic diagram of a flow analysis device according to an embodiment of the present invention. Figure 2 As shown, the device includes a dedicated line indicator information acquisition module 201, a dedicated line flow sampling module 202, a dedicated line flow analysis module 203, an application flow information acquisition module 204 and a dedicated line statistics module 205, which are specifically as follows: The dedicated line indicator information acquisition module 201 is used to acquire dedicated line information input by a user, and acquire dedicated line indicator information of the dedicated line according to the dedicated line information.

[0095] The dedicated line traffic sampling module 202 is used to configure the dedicated line network physical device where the dedicated line is located based on the dedicated line information, and perform traffic sampling on the dedicated line based on the configured dedicated line network physical device to obtain dedicated line traffic data.

[0096] The dedicated line traffic analysis module 203 is used to send the dedicated line traffic data to the traffic collector, so that the traffic collector analyzes the dedicated line traffic data to obtain traffic analysis data.

[0097] The application flow information acquisition module 204 is used to acquire the application information input by the user, and based on the application information, group and aggregate the dedicated line flow data to obtain the application flow information corresponding to the target application.

[0098] The dedicated line statistics module 205 is used to store the dedicated line indicator information, the application flow information and the flow analysis data in a target database, and when receiving a data statistics request, perform data statistics processing on the target database to obtain a dedicated line statistics result.

[0099] In one embodiment, the dedicated line indicator information acquisition module 201 is used to obtain the dedicated line information input by the user, and obtain the dedicated line indicator information of the dedicated line based on the dedicated line information, specifically including: obtaining the dedicated line information input by the user, wherein the dedicated line information includes the Simple Network Management Protocol group name, the dedicated line network physical device address, the dedicated line network physical device user name and the dedicated line network physical device password corresponding to the dedicated line network physical device where the dedicated line is located; enabling the Simple Network Management Protocol service, connecting to the dedicated line network physical device address based on the Simple Network Management Protocol client tool, and authenticating the Simple Network Management Protocol client tool based on the Simple Network Management Protocol group name, the dedicated line network physical device user name and the dedicated line network physical device password, and generating a Simple Network Management Protocol acquisition instruction after the identity authentication is passed; based on the Simple Network Management Protocol acquisition instruction, obtaining a Simple Network Management Protocol object identifier value, and calculating the dedicated line indicator information of the dedicated line based on the Simple Network Management Protocol object identifier value.

[0100] In one embodiment, the application traffic information acquisition module 204 is used to obtain application information input by a user, and based on the application information, group and aggregate the dedicated line traffic data to obtain application traffic information corresponding to the target application, specifically including: obtaining application information input by a user, wherein the application information includes an application address, an application port and an application protocol; collecting dedicated line traffic data flowing through the dedicated line, wherein the dedicated line traffic data includes a dedicated line traffic address, a dedicated line traffic port and a dedicated line traffic protocol; performing data matching processing on the application information and the dedicated line traffic data, and when it is detected that the application address is the same as the dedicated line traffic address, the application port is the same as the dedicated line traffic port, and the application protocol is the same as the dedicated line traffic protocol, the dedicated line traffic data is identified based on the target application, and the dedicated line traffic data is used as the application traffic information corresponding to the target application.

[0101] In one embodiment, the dedicated line traffic sampling module 202 is used to perform device configuration on the dedicated line network physical device where the dedicated line is located based on the dedicated line information, specifically including: the dedicated line information includes the dedicated line network physical device protocol corresponding to the dedicated line network physical device where the dedicated line is located; when it is detected that the dedicated line network physical device protocol is the first target protocol, the dedicated line network physical device is configured with first sampling configuration data, wherein the first sampling configuration data includes a traffic sampling operation address, a traffic sampling receiver port, a traffic sampling receiver address, a traffic sampling function startup network port, a first receiver and a first sampling interval; when it is detected that the dedicated line network physical device protocol is the second target protocol, the dedicated line network physical device is configured with second sampling configuration data, wherein the second sampling configuration data includes a network traffic analysis output strategy, a network traffic analysis sampling strategy, a monitoring strategy, an output interface and a binding strategy.

[0102] In one embodiment, the dedicated line traffic sampling module 202 is used to send the dedicated line traffic data to the traffic collector before further including: generating a trusted timestamp corresponding to the dedicated line traffic data, and based on the trusted timestamp, verifying the dedicated line traffic data sent to the traffic collector; when the verification result is successful, it is determined that the dedicated line traffic data is valid, otherwise, it is determined that the dedicated line traffic data has been tampered with.

[0103] In one embodiment, the dedicated line traffic sampling module 202 is used to generate a trusted timestamp corresponding to the dedicated line traffic data, specifically including: performing hash calculation on the dedicated line traffic data to obtain a first hash value, and generating a timestamp request based on the first hash value; sending the timestamp request to a timestamp generator so that the timestamp generator obtains the first hash value from the timestamp request and obtains the current time, performs combination processing based on the current time and the first hash value to obtain a combined hash value, performs signing processing on the combined hash based on a first private key to obtain a timestamp data signature, and connects the timestamp data signature and the combined hash to generate a timestamp token; receiving the timestamp token returned by the timestamp generator, and using the timestamp token as the trusted timestamp corresponding to the dedicated line traffic data.

[0104] In one embodiment, the dedicated line traffic sampling module 202 is used to verify the dedicated line traffic data sent to the traffic collector based on the trusted timestamp, specifically including: performing hash calculation on the dedicated line traffic data sent to the traffic collector to obtain a second hash value; obtaining the first hash value in the trusted timestamp, and matching the first hash value with the second hash value; when it is detected that the first hash value is the same as the second hash value, obtaining the first certificate of the timestamp generator and the timestamp data signature in the trusted timestamp, verifying the timestamp data signature based on the first certificate, and when it is detected that the timestamp data signature is issued by the timestamp generator and the first certificate is valid, determining that the verification result of the dedicated line traffic data is successful.

[0105] The above-mentioned flow analysis device can implement the flow analysis method of the above-mentioned method embodiment. The optional items in the above-mentioned method embodiment are also applicable to this embodiment and will not be described in detail here.

[0106] Figure 3 A schematic diagram of the structure of a terminal device. Figure 3 As shown, the terminal device 3 of this embodiment includes: at least one processor 301 ( Figure 3 Only one is shown in the figure) a processor, a memory 302, and a computer program 303 stored in the memory 302 and executable on at least one processor 301, and when the processor 301 executes the computer program 303, the steps in any of the above method embodiments are implemented.

[0107] The terminal device 3 may be a computing device such as a smart phone, a laptop, a tablet computer, and a desktop computer. The terminal device may include but is not limited to a processor 301 and a memory 302. Those skilled in the art will appreciate that Figure 3 It is only an example of the terminal device 3 and does not constitute a limitation on the terminal device 3. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, etc.

[0108] The processor 301 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0109] In some embodiments, the memory 302 may be an internal storage unit of the terminal device 3, such as a hard disk or memory of the terminal device 3. In other embodiments, the memory 302 may also be an external storage device of the terminal device 3, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device 3. Further, the memory 302 may also include both an internal storage unit and an external storage device of the terminal device 3. The memory 302 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as program codes of a computer program, etc. The memory 302 may also be used to temporarily store data that has been output or is to be output.

[0110] In addition, an embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.

[0111] An embodiment of the present application provides a computer program product. When the computer program product is run on a terminal device, the terminal device implements the steps in the above-mentioned method embodiments when executing the computer program product.

[0112] In several embodiments provided in the present application, it is understood that each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and a module, a program segment or a part of a code includes one or more executable instructions for realizing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes also be executed in the opposite order, depending on the functions involved.

[0113] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions for a terminal device to execute all or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.

[0114] Based on the above-mentioned embodiment of the traffic analysis generation method, another embodiment of the present invention provides a computer program product. When the computer program product is run on a computer device, the computer device executes the traffic analysis method of any embodiment of the present invention.

[0115] In summary, the present invention provides a flow analysis method, device, equipment and storage medium, which obtain dedicated line indicator information of a dedicated line based on dedicated line information input by a user; based on the dedicated line information, configure the dedicated line network physical device where the dedicated line is located, and sample the flow of the dedicated line to obtain dedicated line flow data; send the dedicated line flow data to a flow collector, so that the flow collector parses and processes the dedicated line flow data to obtain flow parsing data; based on the application information input by the user, group and aggregate the dedicated line flow data to obtain application flow information corresponding to the target application; store the dedicated line indicator information, application flow information and flow parsing data in a target database, and when a data statistics request is received, perform data statistics processing on the target database to obtain dedicated line statistics results; compared with the prior art, the technical solution of the present invention can improve the degree of automation and detail of dedicated line flow analysis.

[0116] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and substitutions can be made without departing from the technical principles of the present invention. These improvements and substitutions should also be regarded as the scope of protection of the present invention.

Claims

1. A flow analysis method, characterized in that: include: Acquire dedicated line information input by the user, and acquire dedicated line indicator information of the dedicated line according to the dedicated line information; Based on the dedicated line information, perform device configuration on the dedicated line network physical device where the dedicated line is located, and perform traffic sampling on the dedicated line based on the configured dedicated line network physical device to obtain dedicated line traffic data; Sending the dedicated line flow data to a flow collector, so that the flow collector parses and processes the dedicated line flow data to obtain flow parsing data; Acquire application information input by the user, and based on the application information, group and aggregate the dedicated line traffic data to obtain application traffic information corresponding to the target application; The dedicated line indicator information, the application flow information and the flow analysis data are stored in a target database. When a data statistics request is received, data statistics processing is performed on the target database to obtain dedicated line statistics results.

2. A flow analysis method as claimed in claim 1, characterized in that: Acquire the dedicated line information input by the user, and acquire the dedicated line indicator information of the dedicated line according to the dedicated line information, specifically including: Acquire dedicated line information input by the user, wherein the dedicated line information includes a simple network management protocol group name, a dedicated line network physical device address, a dedicated line network physical device user name, and a dedicated line network physical device password corresponding to the dedicated line network physical device where the dedicated line is located; Enable the Simple Network Management Protocol service, connect to the dedicated network physical device address based on the Simple Network Management Protocol client tool, authenticate the Simple Network Management Protocol client tool based on the Simple Network Management Protocol group name, the dedicated network physical device user name and the dedicated network physical device password, and generate a Simple Network Management Protocol acquisition instruction after the identity authentication is passed; Based on the simple network management protocol acquisition instruction, a simple network management protocol object identifier value is acquired, and based on the simple network management protocol object identifier value, dedicated line indicator information of the dedicated line is calculated.

3. A flow analysis method as claimed in claim 1, characterized in that: Acquire application information input by the user, and group and aggregate the dedicated line traffic data based on the application information to obtain application traffic information corresponding to the target application, specifically including: Acquire application information input by the user, wherein the application information includes application address, application port and application protocol; Collecting dedicated line traffic data flowing through the dedicated line, wherein the dedicated line traffic data includes a dedicated line traffic address, a dedicated line traffic port, and a dedicated line traffic protocol; The application information is matched with the dedicated line traffic data. When it is detected that the application address is the same as the dedicated line traffic address, the application port is the same as the dedicated line traffic port, and the application protocol is the same as the dedicated line traffic protocol, the dedicated line traffic data is identified based on the target application, and the dedicated line traffic data is used as the application traffic information corresponding to the target application.

4. A flow analysis method as claimed in claim 1, characterized in that: Based on the dedicated line information, configure the dedicated line network physical device where the dedicated line is located, specifically including: The dedicated line information includes a dedicated line network physical device protocol corresponding to the dedicated line network physical device where the dedicated line is located; When it is detected that the dedicated network physical device protocol is the first target protocol, the dedicated network physical device is configured with first sampling configuration data, wherein the first sampling configuration data includes a flow sampling operation address, a flow sampling receiver port, a flow sampling receiver address, a flow sampling function start network port, a first receiver and a first sampling interval; When it is detected that the dedicated network physical device protocol is the second target protocol, the dedicated network physical device is configured with second sampling configuration data, wherein the second sampling configuration data includes a network traffic analysis output strategy, a network traffic analysis sampling strategy, a monitoring strategy, an output interface and a binding strategy.

5. A flow analysis method as claimed in claim 1, characterized in that: Before sending the dedicated line flow data to the flow collector, the method further includes: Generate a trusted timestamp corresponding to the dedicated line traffic data, and verify the dedicated line traffic data sent to the traffic collector based on the trusted timestamp; When the verification result is successful, it is determined that the dedicated line traffic data is valid; otherwise, it is determined that the dedicated line traffic data is tampered with.

6. A flow analysis method as claimed in claim 5, characterized in that: Generate a trusted timestamp corresponding to the dedicated line traffic data, specifically including: Performing hash calculation on the dedicated line traffic data to obtain a first hash value, and generating a timestamp request based on the first hash value; Sending the timestamp request to a timestamp generator, so that the timestamp generator obtains the first hash value from the timestamp request and obtains the current time, performs combination processing based on the current time and the first hash value to obtain a combined hash value, performs signature processing on the combined hash based on a first private key to obtain a timestamp data signature, and connects the timestamp data signature and the combined hash to generate a timestamp token; Receive the timestamp token returned by the timestamp generator, and use the timestamp token as a trusted timestamp corresponding to the dedicated line traffic data.

7. A flow analysis method as claimed in claim 6, characterized in that: Based on the trusted timestamp, the dedicated line flow data sent to the flow collector is verified, specifically including: Performing hash calculation on the dedicated line traffic data sent to the traffic collector to obtain a second hash value; Obtaining the first hash value in the trusted timestamp, and matching the first hash value with the second hash value; When it is detected that the first hash value is the same as the second hash value, the first certificate of the timestamp generator and the timestamp data signature in the trusted timestamp are obtained, and the timestamp data signature is verified based on the first certificate. When it is detected that the timestamp data signature is issued by the timestamp generator and the first certificate is valid, it is determined that the verification result of the dedicated line traffic data is successful.

8. A flow analysis device, characterized in that: include: Dedicated line indicator information acquisition module, dedicated line traffic sampling module, dedicated line traffic analysis module, application traffic information acquisition module and dedicated line statistics module; The dedicated line indicator information acquisition module is used to acquire the dedicated line information input by the user, and acquire the dedicated line indicator information of the dedicated line according to the dedicated line information; The dedicated line traffic sampling module is used to perform device configuration on the dedicated line network physical device where the dedicated line is located based on the dedicated line information, and perform traffic sampling on the dedicated line based on the configured dedicated line network physical device to obtain dedicated line traffic data; The dedicated line traffic analysis module is used to send the dedicated line traffic data to the traffic collector, so that the traffic collector analyzes the dedicated line traffic data to obtain traffic analysis data; The application flow information acquisition module is used to acquire the application information input by the user, and based on the application information, group and aggregate the dedicated line flow data to obtain the application flow information corresponding to the target application; The dedicated line statistics module is used to store the dedicated line indicator information, the application flow information and the flow analysis data in a target database, and when a data statistics request is received, perform data statistics processing on the target database to obtain dedicated line statistics results.

9. A terminal device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the traffic analysis method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the traffic analysis method according to any one of claims 1 to 7.