Distributed network flow monitoring method

Through the distributed network traffic monitoring method, the multi-level traffic ladder and queue sorting mechanism are used to dynamically adjust the node traffic, solving the resource waste and efficiency problems caused by changes in traffic demand in the enterprise network, and achieving reasonable utilization of traffic and improvement of efficiency.

CN118714080AInactive Publication Date: 2024-09-27ZHEJIANG HIPI NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410934192.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-09-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Different node areas in the enterprise network have different demands for network traffic at different times, resulting in resource waste and efficiency impact when specifying current limit allocation, making it impossible to dynamically monitor and rationally utilize traffic.

Method used

Using a distributed network traffic monitoring method, a multi-level traffic ladder is constructed through the total traffic monitoring node and branch traffic control nodes. The branch node monitors the increase or decrease in traffic and applies for adjustment of the ladder, and divides or returns the traffic from the idle traffic pool through the total traffic monitoring node. , utilizing queue sorting and dual-threading to handle boost and drop requests.

Benefits of technology

It realizes dynamic monitoring of node traffic, rationally utilizes idle traffic, saves traffic resources, improves work efficiency, and avoids resource waste and efficiency impact.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118714080A
    Figure CN118714080A
Patent Text Reader

Abstract

The invention relates to the technical field of network flow monitoring, in particular to a distributed network flow monitoring method. The distributed network flow monitoring method comprises the following steps that each branch flow monitoring node monitors the flow of the branch flow monitoring node; if the branch flow monitoring node monitors that the flow of the branch flow monitoring node rises to reach the flow detection threshold value of the current flow step, reporting to the total flow monitoring node to apply for improving the flow step; and if the branch flow monitoring node monitors that the flow of the branch flow monitoring node is reduced to be lower than the flow detection threshold value of the next-level flow step of the current flow step, reporting to the total flow monitoring node to apply for reducing the flow step. The distributed network flow monitoring method provided by the invention has the beneficial effects that the dynamic monitoring of the node flow can be realized, the spare flow is reasonably utilized, the flow resource is saved, and the working efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of network flow monitoring, and in particular to a distributed network flow monitoring method. Background Art

[0002] With the development of the network, the demand for network traffic in the process of enterprise operation is getting higher and higher. The external network traffic of the enterprise is limited to a specified total traffic, and the total traffic needs to be distributed to different areas or different nodes.

[0003] A common practice is to specify flow limits for different nodes. Since different node areas use different amounts of network traffic at different times, their demands for network traffic are also different. When the node is relatively idle, there may be a large amount of idle traffic allocated by the specified flow limit, which causes a waste of resources. When the node is relatively busy, there is a large demand for network traffic for a period of time. Due to the restrictions of the specified flow limit, its work efficiency is affected. Therefore, it is necessary to provide a distributed network traffic monitoring method to realize dynamic monitoring of node traffic, reasonably utilize idle traffic, save traffic resources, and improve work efficiency. Summary of the invention

[0004] The purpose of the present invention is to provide a distributed network traffic monitoring method to solve the problems mentioned in the background technology.

[0005] To achieve the above object, the present invention provides the following technical solutions: A distributed network traffic monitoring method, wherein the distributed network comprises: a total traffic monitoring node and a plurality of branch traffic control nodes; the branch traffic monitoring node is connected to the total traffic monitoring node; the total traffic monitoring node builds an idle traffic pool and defines a multi-level traffic ladder for the branch traffic control node; each level of the traffic ladder corresponds to a flow limit upper limit of the level and a flow detection threshold of the level; wherein the flow detection threshold of each level is lower than the flow upper limit of the level; The distributed network traffic monitoring method comprises the following steps: Each branch traffic monitoring node monitors its own traffic respectively; If the branch traffic monitoring node detects that its own traffic has risen to the traffic detection threshold of the current traffic level, it will report to the main traffic monitoring node and apply for a higher traffic level. After the main traffic monitoring node receives the request from the branch traffic monitoring node to apply for increasing the traffic level, the main traffic monitoring node increases the traffic level by one level, and allocates traffic from the idle traffic pool to the branch traffic monitoring node that issued the request to apply for increasing the traffic level; If the branch traffic monitoring node detects that its own traffic has dropped below the traffic detection threshold of the next traffic level below the current traffic level, it reports to the main traffic monitoring node and requests to reduce the traffic level. After the total traffic monitoring node receives the request from the branch traffic monitoring node to lower the traffic level, the total traffic monitoring node lowers its traffic level by one level and returns the traffic released from the lowered traffic level to the idle traffic pool.

[0006] As a further solution of the present invention: a control method for the total flow monitoring node to increase the flow level of the branch flow monitoring node by one level includes the following steps: The total traffic monitoring node has a pre-built increase request list library; the increase traffic ladder request received by the total traffic monitoring node is placed in the increase request list library; The traffic step-up requests in the request list library are queued according to the traffic step of the corresponding branch traffic monitoring node, where the branch traffic monitoring node with a lower traffic step is at the top of the queue, and the branch traffic monitoring node with a higher traffic step is at the bottom of the queue; when the branch traffic monitoring nodes are at the same step, they are sorted according to the time sequence of the requests, with the earlier request time at the top and the later request time at the bottom; The total traffic monitoring node executes and processes the traffic step requests of different branch traffic monitoring nodes from top to bottom according to the traffic step request list library. After completing a traffic step request, the traffic step request is removed from the traffic step request list library.

[0007] As a further solution of the present invention: a control method for the total flow monitoring node to reduce the flow level of the branch flow monitoring node by one level includes the following steps: The total traffic monitoring node has a pre-built reduction request list library; the traffic increase step request received by the total traffic monitoring node is placed in the increase request list library, and the traffic decrease step request received is placed in the reduction request list library; The traffic step reduction requests in the request list library are queued according to the traffic step of the corresponding branch traffic monitoring node, where the branch traffic monitoring node with a lower traffic step is at the top of the queue, and the branch traffic monitoring node with a higher traffic step is at the bottom of the queue; when the branch traffic monitoring nodes are at the same step, they are sorted according to the time sequence of the requests, with the earlier request time at the top and the later request time at the bottom; The total traffic monitoring node executes and processes the traffic reduction step requests of different branch traffic monitoring nodes from top to bottom according to the traffic reduction request list library. After completing a traffic reduction step request, the traffic reduction step request is removed from the traffic reduction request list library.

[0008] As a further solution of the present invention: in a dual-threaded manner, the total flow monitoring node performs an operation of increasing the flow level of the branch flow monitoring node by one level, and the total flow monitoring node performs an operation of decreasing the flow level of the branch flow monitoring node by one level.

[0009] As a further solution of the present invention: each time the total traffic monitoring node executes a traffic increase step request in the traffic increase request list library, it first determines whether the idle traffic pool has idle traffic. If there is idle traffic, it continues to execute the traffic increase step request; if there is no idle traffic, it determines whether there is a traffic decrease step request to be executed in the traffic decrease request list library. If there is a traffic decrease step request to be executed, the execution of the traffic increase step request is suspended until the traffic decrease step request is executed so that there is idle traffic in the idle traffic pool and then continues to execute.

[0010] As a further solution of the present invention: if there is no request to lower the traffic step to be executed, determine whether the traffic step of the branch traffic monitoring node corresponding to the current request to increase the traffic step is not lower than the traffic steps of all other branch traffic monitoring nodes. If so, do not respond to and remove the request to increase the traffic step.

[0011] As a further solution of the present invention: if the result of judging whether the traffic step of the branch traffic monitoring node corresponding to the current request to increase the traffic step is not lower than the traffic steps of all other branch traffic monitoring nodes is no, then the branch traffic monitoring node with the highest traffic step is selected from all other branch traffic monitoring nodes and the request to reduce the traffic step is enforced on it.

[0012] As a further solution of the present invention: in the process of forcibly executing the request to reduce the traffic step, if the branch traffic monitoring node with the highest traffic step is unique, the request to reduce the traffic step is enforced on it; if the branch traffic monitoring node with the highest traffic step is not unique, then from among several branch traffic monitoring nodes with the highest traffic step, the branch traffic monitoring node with the longest time to enter the traffic step is selected to enforce the request to reduce the traffic step.

[0013] Compared with the prior art, the beneficial effects of the present invention are: a distributed network traffic monitoring method provided can realize dynamic monitoring of node traffic, rationally utilize spare traffic, save traffic resources, and improve work efficiency.

[0014] Other features and advantages of the present invention will be disclosed in detail in the following specific embodiments and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 It is a flow chart of the distributed network traffic monitoring method in an embodiment of the present application. DETAILED DESCRIPTION

[0016] The following will be combined with the drawings in the embodiments of 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.

[0017] like Figure 1 As shown, a distributed network traffic monitoring method, wherein the distributed network includes: a total traffic monitoring node and multiple branch traffic control nodes. The branch traffic monitoring node is connected to the total traffic monitoring node. The total traffic monitoring node builds an idle traffic pool and defines multiple traffic ladders for the branch traffic control nodes. Each level of the traffic ladder corresponds to a flow limit upper limit of the level and a flow detection threshold of the level. The flow detection threshold of each level is lower than the flow upper limit of the level.

[0018] For ease of understanding, an example is given below. The traffic ladder is defined as n levels. The upper limit of each level is T. Then nT represents the upper limit of the traffic at level n. nC represents the traffic detection threshold at level n. Taking level 4 as an example, 1T represents the upper limit of the traffic at the first level, and 1C represents the traffic detection threshold at the first level. 2T represents the upper limit of the traffic at the second level, and 2C represents the traffic detection threshold at the second level. Similarly, 4T represents the upper limit of the traffic at the first level, and 4C represents the traffic detection threshold at the first level.

[0019] The distributed network traffic monitoring method comprises the following steps: Each branch traffic monitoring node monitors its own traffic respectively; If the branch traffic monitoring node detects that its own traffic has risen to the traffic detection threshold of the current traffic level, it will report to the main traffic monitoring node and apply for a higher traffic level. After the main traffic monitoring node receives the request from the branch traffic monitoring node to apply for increasing the traffic level, the main traffic monitoring node increases the traffic level by one level, and allocates traffic from the idle traffic pool to the branch traffic monitoring node that issued the request to apply for increasing the traffic level; If the branch traffic monitoring node detects that its own traffic has dropped below the traffic detection threshold of the next traffic level below the current traffic level, it reports to the main traffic monitoring node and requests to reduce the traffic level. After the total traffic monitoring node receives the request from the branch traffic monitoring node to lower the traffic level, the total traffic monitoring node lowers its traffic level by one level and returns the traffic released from the lowered traffic level to the idle traffic pool.

[0020] If the current traffic level of a branch traffic monitoring node is level 2, when the branch traffic monitoring node detects that its own traffic has reached 2C, it applies to upgrade the traffic level. The main traffic monitoring node upgrades the traffic level of the branch traffic monitoring node to level 3. Then the traffic upper limit of the branch traffic monitoring node is upgraded from 2T to 3T. The traffic detection threshold of the current traffic monitoring node is increased from 2C to 3C.

[0021] If the current traffic level of a branch traffic monitoring node is level 2, when the branch traffic monitoring node detects that its own traffic is lower than the traffic detection threshold of level 1, 1C, it will apply to reduce the traffic level. The total traffic monitoring node will reduce the traffic level of the branch traffic monitoring node from level 2 to level 1. Then the traffic upper limit of the branch traffic monitoring node will be reduced from 2T to 1T. The traffic detection threshold of the current traffic monitoring node will be reduced from 2C to 1C.

[0022] As a preferred implementation, the method for controlling the total flow monitoring node to increase the flow level of the branch flow monitoring node by one level includes the following steps: The total traffic monitoring node has a pre-built increase request list library; the increase traffic ladder request received by the total traffic monitoring node is placed in the increase request list library; The traffic step-up requests in the request list library are queued according to the traffic step of the corresponding branch traffic monitoring node, where the branch traffic monitoring node with a lower traffic step is at the top of the queue, and the branch traffic monitoring node with a higher traffic step is at the bottom of the queue; when the branch traffic monitoring nodes are at the same step, they are sorted according to the time sequence of the requests, with the earlier request time at the top and the later request time at the bottom; The total traffic monitoring node executes and processes the traffic step requests of different branch traffic monitoring nodes from top to bottom according to the traffic step request list library. After completing a traffic step request, the traffic step request is removed from the traffic step request list library.

[0023] Take four branch nodes as an example. Node 1 is currently at level 1 traffic ladder; Node 2 is currently at level 2 traffic ladder; Node 3 is currently at level 2 traffic ladder; Node 4 is currently at level 4 traffic ladder. The request time of Node 3 is earlier than the request time of Node 2. Therefore, the four branch nodes are arranged in the following order: Node 1, Node 3, Node 2, Node 4, and the traffic ladder upgrade request is executed in this order.

[0024] As a preferred implementation, the method for controlling the total flow monitoring node to reduce the flow level of the branch flow monitoring node by one level includes the following steps: The total traffic monitoring node has a pre-built reduction request list library; the traffic increase step request received by the total traffic monitoring node is placed in the increase request list library, and the traffic decrease step request received is placed in the reduction request list library; The traffic step reduction requests in the request list library are queued according to the traffic step of the corresponding branch traffic monitoring node, where the branch traffic monitoring node with a lower traffic step is at the top of the queue, and the branch traffic monitoring node with a higher traffic step is at the bottom of the queue; when the branch traffic monitoring nodes are at the same step, they are sorted according to the time sequence of the requests, with the earlier request time at the top and the later request time at the bottom; The total traffic monitoring node executes and processes the traffic reduction step requests of different branch traffic monitoring nodes from top to bottom according to the traffic reduction request list library. After completing a traffic reduction step request, the traffic reduction step request is removed from the traffic reduction request list library.

[0025] Take four branch nodes as an example. Node 1 is currently at level 1 traffic ladder; Node 2 is currently at level 2 traffic ladder; Node 3 is currently at level 2 traffic ladder; Node 4 is currently at level 4 traffic ladder. The request time of Node 3 is earlier than the request time of Node 2. Therefore, the four branch nodes are arranged in the following order: Node 1, Node 3, Node 2, Node 4, and the request to reduce the traffic ladder is executed in this order.

[0026] As a preferred implementation, a dual-threaded approach is adopted, whereby the total flow monitoring node performs an operation of increasing the flow level of the branch flow monitoring node by one level, and the total flow monitoring node performs an operation of decreasing the flow level of the branch flow monitoring node by one level, respectively, which has a high processing efficiency.

[0027] As a preferred implementation, each time the total traffic monitoring node executes a traffic increase step request in the traffic increase request list library, it first determines whether the idle traffic pool has idle traffic. If there is idle traffic, it continues to execute the traffic increase step request. If there is no idle traffic, it determines whether there is a traffic decrease step request to be executed in the traffic decrease request list library. If there is a traffic decrease step request to be executed, the execution of the traffic increase step request is suspended until a traffic decrease step request is executed so that there is idle traffic in the idle traffic pool and then continues to execute.

[0028] If there is no request to lower the traffic step to be executed, determine whether the traffic step of the branch traffic monitoring node corresponding to the current request to increase the traffic step is not lower than the traffic steps of all other branch traffic monitoring nodes. If so, do not respond to and remove the request to increase the traffic step.

[0029] If the result of judging whether the traffic step of the branch traffic monitoring node corresponding to the current traffic step increase request is not lower than the traffic steps of all other branch traffic monitoring nodes is no, then the branch traffic monitoring node with the highest traffic step is selected from all other branch traffic monitoring nodes to forcibly execute the traffic step reduction request.

[0030] In the process of forcibly executing the request to reduce the traffic step, if the branch traffic monitoring node with the highest traffic step is unique, the request to reduce the traffic step is enforced on it; if the branch traffic monitoring node with the highest traffic step is not unique, then from several branch traffic monitoring nodes with the highest traffic step, the branch traffic monitoring node with the longest time to enter the traffic step is selected to enforce the request to reduce the traffic step.

[0031] If there is no idle traffic in the idle traffic pool, and the node currently requesting to increase the traffic level is already at a higher or equal traffic level than all other branch traffic monitoring nodes, it means that the entire network traffic is already fully loaded, and the current branch traffic monitoring node has reached the maximum value, and no traffic will be allocated. If there is a branch traffic monitoring node with a higher traffic level than the node currently requesting to increase the traffic level, traffic will be forcibly released from the branch traffic monitoring node with the highest traffic level and evenly distributed to the node currently requesting to increase the traffic level for use.

[0032] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.

[0033] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.

Claims

1. A distributed network traffic monitoring method, characterized in that: The distributed network comprises: a total flow monitoring node and a plurality of branch flow control nodes; the branch flow monitoring nodes are connected to the total flow monitoring node; the total flow monitoring node constructs an idle flow pool and defines a multi-level flow ladder for the branch flow control nodes; each level of the flow ladder corresponds to a flow limit upper limit of the level and a flow detection threshold of the level; wherein the flow detection threshold of each level is lower than the flow upper limit of the level; The distributed network traffic monitoring method comprises the following steps: Each of the branch traffic monitoring nodes monitors its own traffic respectively; If the branch traffic monitoring node detects that its own traffic has risen to the traffic detection threshold of the current traffic level, it reports to the main traffic monitoring node and applies to increase the traffic level; After the total traffic monitoring node receives the request from the branch traffic monitoring node to apply for increasing the traffic level, the total traffic monitoring node increases the traffic level by one level, and divides the traffic from the idle traffic pool to the branch traffic monitoring node that issued the request to apply for increasing the traffic level; If the branch traffic monitoring node detects that its own traffic has dropped below the traffic detection threshold of the next level of the current traffic level, it reports to the main traffic monitoring node and applies to reduce the traffic level; After the total traffic monitoring node receives the request from the branch traffic monitoring node to lower the traffic level, the total traffic monitoring node lowers its traffic level by one level and returns the traffic released from the lowered traffic level by one level to the idle traffic pool.

2. The distributed network traffic monitoring method according to claim 1, characterized in that: The control method of the total flow monitoring node to increase the flow level of the branch flow monitoring node by one level includes the following steps: The total traffic monitoring node is pre-built with an increase request list library; the increase traffic ladder request received by the total traffic monitoring node is placed in the increase request list library; The traffic step-up requests in the request list library are queued according to the traffic step of the corresponding branch traffic monitoring node, wherein the branch traffic monitoring node with a lower traffic step is arranged at the top, and the branch traffic monitoring node with a higher traffic step is arranged at the bottom; when the branch traffic monitoring node is at the same step, the requests are sorted according to the time sequence of the requests, with the earlier request time at the top and the later request time at the bottom; The total traffic monitoring node executes and processes the traffic step requests of different branch traffic monitoring nodes from top to bottom according to the traffic step request list library, and after completing one traffic step request, removes the traffic step request from the traffic step request list library.

3. The distributed network traffic monitoring method according to claim 2, characterized in that: The method for controlling the total flow monitoring node to reduce the flow level of the branch flow monitoring node by one level includes the following steps: The total traffic monitoring node is pre-built with a reduction request list library; the traffic step increase request received by the total traffic monitoring node is placed in the increase request list library, and the traffic step decrease request received is placed in the reduction request list library; The traffic step reduction requests in the traffic step reduction request list library are queued according to the traffic step of the corresponding branch traffic monitoring node, wherein the branch traffic monitoring node with a lower traffic step is arranged at the top of the arrangement, and the branch traffic monitoring node with a higher traffic step is arranged at the bottom of the arrangement; when the traffic step of the branch traffic monitoring node is at the same step, the requests are sorted according to the time sequence of the requests, with the earlier request time at the top and the later request time at the bottom; The total traffic monitoring node executes and processes the traffic reduction step requests of different branch traffic monitoring nodes from top to bottom according to the traffic reduction request list library, and after completing one traffic reduction step request, removes the traffic reduction step request from the traffic reduction request list library.

4. The distributed network traffic monitoring method according to claim 3 is characterized in that: In a dual-threaded manner, the total flow monitoring node performs an operation of increasing the flow level of the branch flow monitoring node by one level, and the total flow monitoring node performs an operation of decreasing the flow level of the branch flow monitoring node by one level.

5. The distributed network traffic monitoring method according to claim 4, characterized in that: Each time the total traffic monitoring node executes the traffic step request in the traffic increase request list library, it first determines whether the idle traffic pool has idle traffic, and if there is idle traffic, continues to execute the traffic step request; If there is no idle traffic, determine whether there is a pending request to reduce traffic in the request list library; if there is a pending request to reduce traffic, suspend the execution of the request to increase traffic until there is idle traffic in the idle traffic pool after the request to reduce traffic is executed, and then continue execution.

6. The distributed network traffic monitoring method according to claim 5, characterized in that: If there is no request to lower the traffic step to be executed, determine whether the traffic step of the branch traffic monitoring node corresponding to the current request to increase the traffic step is not lower than the traffic steps of all other branch traffic monitoring nodes. If so, do not respond to and remove the request to increase the traffic step.

7. The distributed network traffic monitoring method according to claim 6, characterized in that: If the result of judging whether the traffic step of the branch traffic monitoring node corresponding to the current request to increase the traffic step is not lower than the traffic steps of all other branch traffic monitoring nodes is no, then the branch traffic monitoring node with the highest traffic step is selected from all other branch traffic monitoring nodes and the request to reduce the traffic step is enforced on it.

8. The distributed network traffic monitoring method according to claim 7, characterized in that: In the process of forcibly executing the request to reduce the traffic step, if the branch traffic monitoring node with the highest traffic step is unique, forcibly executing the request to reduce the traffic step on it; If the branch traffic monitoring node with the highest traffic step is not unique, then the branch traffic monitoring node with the longest time of entering the traffic step is selected from the several branch traffic monitoring nodes with the highest traffic steps to forcibly execute the request to reduce the traffic step.