Monitoring device, monitoring method, and monitoring program
The monitoring device quantitatively evaluates candidate routes by copying packets, setting INT, and collecting information to enhance route selection in network communication.
Patent Information
- Application Number
- JP2023539577
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-08-06
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2041-08-06
AI Technical Summary
Existing In-Band Network Telemetry (INT) technologies cannot quantitatively evaluate the communication quality of switching destination candidate routes, making it difficult to select an appropriate route when delays or failures occur.
A monitoring device that copies user communication packets to a sending node, sets INT for candidate routes, collects INT information from a receiving node, and discards copied packets, allowing quantitative evaluation of candidate route quality.
Enables quantitative evaluation of communication quality for candidate routes, facilitating informed route selection to improve network performance.
Smart Images

Figure 0007544281000006 
Figure 0007544281000005 
Figure 0007544281000007
Abstract
Description
[Technical field]
[0001] The present invention relates to a monitoring device, a monitoring method, and a monitoring program. [Background technology]
[0002] In-band Network Telemetry (INT) is a technology for monitoring the communication quality of a network. In INT, a device that sends packets adds timestamp information, loss information, etc. as metadata to the packets before transmitting them, and a device that receives the packets acquires the metadata added to the packets, thereby monitoring the network status in real time and in detail. [Prior art documents] [Non-patent literature]
[0003] [Non-Patent Document 1] “In-band Network Telemetry (INT) Dataplane Specification Version 2.1” P4.org. [Retrieved July 14, 2021], Internet<https: / / github.com / p4lang / p4-applications / blob / master / docs / INT_v2_1.pdf> Summary of the Invention [Problem to be solved by the invention]
[0004] However, since INT is a technology for acquiring communication quality information of a route that a monitored packet actually passed through, it is not possible to acquire communication quality information of a plurality of different routes under the same conditions (e.g., the same time, the same number of sessions, the same bandwidth, etc.). Therefore, when a delay or communication failure occurs on a certain route, it is not possible to quantitatively evaluate the communication quality of a candidate route for switching to, and therefore it is not always possible to select an appropriate route. Therefore, an object of the present invention is to solve the above-mentioned problem and quantitatively evaluate the communication quality of a candidate route for switching to. [Means for solving the problem]
[0005] In order to solve the above-mentioned problems, the present invention is characterized by comprising a first setting unit that configures a first node, which is a transmitting node that switches the route of a user communication packet, to copy the user communication packet, enable INT setting, and transmit the copied packet to each of the switching destination candidate routes, a second setting unit that configures a second node, which is a receiving node that accommodates the switching destination candidate routes, to collect INT information of the copied packet and discard the copied packet, and an INT information acquisition unit that acquires the INT information of the copied packet from the second node. Effect of the Invention
[0006] According to the present invention, it is possible to quantitatively evaluate the communication quality of a route that is a switching destination candidate. [Brief description of the drawings]
[0007] [Figure 1] FIG. 1 is a diagram for explaining an outline of the operation of the monitoring device. [Diagram 2] FIG. 2 is a diagram for explaining an outline of the operation of the monitoring device. [Diagram 3] FIG. 3 is a diagram illustrating an example of a processing procedure when the monitoring device stops the INT processing. [Figure 4] FIG. 4 is a diagram illustrating an example of the configuration of a monitoring device. [Diagram 5] FIG. 5 is a diagram illustrating an example of a processing procedure when the monitoring device performs an evaluation after switching of a route. [Figure 6] FIG. 6 is a diagram for explaining the user identification information. [Figure 7] FIG. 7 is a diagram for explaining a monitoring device according to another embodiment. [Figure 8] FIG. 8 is a diagram illustrating an example of the configuration of a computer that executes a monitoring program. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] Hereinafter, a mode (embodiment) for carrying out the present invention will be described with reference to the drawings. The present invention is not limited to the embodiment described below.
[0009] [overview] First, an overview of the monitoring device 10 of this embodiment will be described with reference to Figures 1 and 2. Here, the monitoring device 10 will be described taking as an example a case where the monitoring device 10 monitors path 2 and path 3 after monitoring path 1 using INT.
[0010] The nodes 20 (nodes 20A to 20E) are nodes that transfer packets of user communication. An example will be described in which the node 20A is a node on the sending side of the user communication to be monitored, and the node 20B is a node on the receiving side of the user communication.
[0011] First, a maintenance person inputs monitoring settings for path 1 into the monitoring device 10. For example, the maintenance person inputs identification information (user identification information) of the user communication to be monitored and path information for path 1 into the monitoring device 10 (S1 in FIG. 1). Then, the setting file creation unit 11 of the monitoring device 10 creates setting files for each node 20 (e.g., nodes 20A and 20B) on path 1 based on the input information (S2) and enables INT (S3).
[0012] As a result, for example, when node 20A, which is the sender of a user communication packet to be monitored, transfers the packet via route 1, it adds INT metadata (INT information) to the packet and transfers it. Note that, every time a packet with the INT information added is transferred, the INT information records the node ID of the node 20 through which the packet passed, timestamp information, packet loss information, etc. In addition, when node 20B, which is the receiver of the user communication packet to be monitored, receives the user communication packet from route 1, it transmits the INT information added to the packet to the monitoring device 10.
[0013] Thereafter, when the monitoring device 10 detects, for example, a state in which the delay in the route 1 is large (eg, congestion) based on the INT information received from the node 20B, it considers switching to the route 2 or route 3.
[0014] Next, a procedure in which the monitoring device 10 acquires INT information on the routes 2 and 3, which are candidate routes for switching, will be described with reference to FIG.
[0015] First, the maintenance person inputs monitoring settings for the routes 2 and 3 to the monitoring device 10. For example, the maintenance person inputs user identification information and route information for the routes 2 and 3 to the monitoring device 10 (S11).
[0016] Then, the setting file creation unit 11 of the monitoring device 10 creates a setting file for each node 20 based on the input information (S12).
[0017] For example, as indicated by the reference numeral 201, the setting file creation unit 11 creates a setting file in which identification information (user identification information) of a user communication to be monitored is associated with route information of the user communication.
[0018] Then, the device setting unit 12 performs a packet discard setting on the node 20B based on the above setting file (S13). For example, the device setting unit 12 performs a setting on the node 20B to discard packets of the user A received from the route 2 and the route 3.
[0019] Furthermore, the device setting unit 12 performs settings for copying / INT of packets in the node 20A based on the above setting file (S14). For example, the device setting unit 12 performs settings for the node 20A to copy the packet of the user A, execute INT, and transmit it to the route 2 and the route 3.
[0020] Based on the above settings, the node 20A copies the packet of the user A and executes INT (S15: copy / INT execution). For example, the node 20A copies the packet of the user A, adds INT information, and transmits it to the route 2 and the route 3.
[0021] Thereafter, the node 20B executes discarding of the packets (copy packets) of the user A received from the routes 2 and 3 (S16). For example, the node 20B extracts the INT information of the routes 2 and 3 added to the header of the copy packet, and then discards the packet. Then, the node 20B transmits the INT information extracted from the copy packet to the monitoring device 10.
[0022] The INT information acquisition unit 13 of the monitoring device 10 stores the INT information (see reference numeral 202) transmitted from the node 20B in the INT information DB 14 (S17). After that, the visualization unit 15 creates communication quality information (see reference numeral 203) for each of the paths 1, 2, and 3 based on the INT information stored in the INT information DB 14 (S18).
[0023] This allows the maintenance personnel to quantitatively compare the communication quality of each of the candidate routes (route 2, route 3) that are candidates for switching to route 1. As a result, the maintenance personnel can consider whether it is better to switch the route to route 2 or route 3, and if switching the route, which of route 2 and route 3 is better.
[0024] [Example of monitoring device configuration] Next, a configuration example of the monitoring device 10 will be described with reference to Fig. 4. The monitoring device 10 includes a setting file creation unit 11, a device setting unit (first setting unit and second setting unit) 12, an INT information acquisition unit 13, an INT information DB 14, and a visualization unit 15.
[0025] The setting file creation unit 11 creates a setting file for each node 20 based on information input by a user of the monitoring device 10 (for example, a maintenance person).
[0026] For example, based on information input by an administrator, the configuration file creation unit 11 creates a configuration file (see symbol 201 in FIG. 2) that shows, in association with each other, identification information (e.g., user identification information) of the user communication to be monitored and route information of the user communication.
[0027] The route information included in the configuration file may, for example, indicate the order of nodes 20 passed through for each route using node IDs or the like, or may indicate policy information used for traffic engineering.
[0028] Furthermore, when the configuration file creator 11 receives a monitoring stop instruction from a user (eg, a maintenance person) of the monitoring device 10, it creates a monitoring stop file for each node 20 based on the instruction.
[0029] 3, when the setting file creation unit 11 receives input of identification information (user identification information) and route information of a user communication to be stopped from being monitored (1), it creates a monitoring stop file (2). For example, as indicated by reference numeral 301, the setting file creation unit 11 creates a monitoring stop file that associates the user identification information of the user communication to be stopped from being monitored with the route information of the user communication.
[0030] Returning to the explanation of Fig. 4, the device setting unit 12 performs settings for each node 20 on the route to be monitored based on the setting file created by the setting file creation unit 11.
[0031] For example, based on the configuration file, the device setting unit 12 configures node 20A, which is the sender of the packet on the route of the user communication to be monitored, to copy the user communication packet, enable the INT setting, and transmit the copied packet to each of the routes to be monitored (routes that are candidates for switching destination).
[0032] In addition, based on the setting file, the device setting unit 12 sets the node 20B that receives packets on the path of the user communication to be monitored to collect INT information of copied packets (copy packets) and discard the copy packets.
[0033] Furthermore, the device setting unit 12 performs settings for stopping monitoring on each node 20 on the route to be monitored, based on the monitoring stop file created by the setting file creation unit 11 .
[0034] For example, based on the monitoring stop file indicated by reference numeral 301 in Fig. 3, the device setting unit 12 sets node 20A, which is a packet sender on the path of the user communication to be monitored, to stop copying packets of user A and to stop INT on paths 1 to 3 ((3) in Fig. 3). Also, based on the monitoring stop file indicated by reference numeral 301 in Fig. 3, the device setting unit 12 sets node 20B, which is a packet receiver on the path of the user communication to be monitored, to stop discarding copy packets of user A ((4) in Fig. 3).
[0035] Returning to the description of Fig. 4, the INT information acquisition unit 13 acquires INT information of packets of user communication to be monitored from the node 20. For example, the INT information acquisition unit 13 acquires INT information from the node 20B on the receiving side of packets of user communication to be monitored.
[0036] The INT information DB 14 stores the INT information acquired by the INT information acquisition unit 13. The INT information stored in the INT information DB 14 may be the INT information itself that was added to the packet, or may be processed INT information. When the INT information stored in the INT information DB 14 is processed INT information, the INT information stored in the INT information DB 14 includes, for example, the time of the user communication, identification information (user identification information) of the user communication, route information of the user communication, the amount of delay in the route of the route information, the bandwidth, the number of packet losses, and the like, which are obtained from the INT information, as shown by reference numeral 202 in FIG. 2.
[0037] Returning to the description of Fig. 4, the visualization unit 15 visualizes the communication quality of each path based on the INT information stored in the INT information DB 14. For example, the visualization unit 15 creates information (communication quality information) displaying the communication quality of each of the paths 1 to 3 based on the INT information of the paths 1 to 3 stored in the INT information DB 14 (see reference numeral 203 in Fig. 2). Then, the visualization unit 15 displays the created information, for example, on a display device (not shown).
[0038] In this way, the user of the monitoring device 10 (for example, a network maintenance person) can quantitatively evaluate the communication quality of the switching destination candidate route.
[0039] [node] The node 20 is realized by, for example, a general router. The node 20 has, for example, a packet copy function, an INT processing function, a packet discard function, and the like in addition to a packet forwarding function.
[0040] For example, the node 20A, which is the sender of the user communication packet, copies the user communication packet to be monitored using a packet copy function based on the setting from the monitoring device 10. The node 20A also assigns INT information to each of the user communication packets to be monitored using an INT processing function. After that, the node 20A transmits the copy packet to the next node 20 on the monitoring route (the route to be switched) set by the monitoring device 10.
[0041] Also, for example, when node 20C, which relays user communication packets, receives a packet with INT information attached, it uses the above-mentioned INT processing function to add the identification information, timestamp information, etc. of its own node 20 to the INT information and forwards it to the next node 20.
[0042] Also, for example, the node 20B on the receiving side of the user communication packet collects INT information attached to the received packet by using the INT processing function based on the setting from the monitoring device 10. After that, the node 20B discards copy packets among the received packets by using the packet discard function. Note that the node 20B determines whether the received packet is a copy packet or not based on, for example, the IF at which the packet was received. For example, the node 20B determines that a packet received from an IF of a monitoring route (a route to be switched to) set by the monitoring device 10 is a copy packet.
[0043] The method of determining whether a packet is a copy packet may be as follows. For example, the node 20A, which transmits a packet of a user communication, edits the header information when copying the packet. Then, when the node 20B receives the packet, it may refer to the header information of the packet and determine whether the packet is a copy packet or not.
[0044] In addition, the node 20 identifies which user the packet belongs to based on the user identification information included in the received packet. For example, this user identification information may use (1) 5-tuple information of the packet as shown in Fig. 6, or (2) Probemaker. When (2) Probemaker is used, for example, the node sets Probemaker as a unique value for each user communication.
[0045] [Evaluation after switching] After switching the route, the monitoring device 10 may transmit the copy packet again to evaluate the degree to which the communication quality has improved. The processing procedure in this case will be described with reference to Fig. 5. Here, the case where the monitoring device 10 evaluates the communication quality of route 1 before switching and route 3 after switching will be described as an example.
[0046] First, the maintenance person inputs user communication identification information (user identification information) and route information of route 1 and route 3 to the monitoring device 10 (S31).
[0047] Then, the setting file creation unit 11 of the monitoring device 10 creates a setting file for each node 20 based on the input information (S32). For example, the setting file creation unit 11 creates a setting file indicated by reference numeral 501.
[0048] Then, the device setting unit 12 performs a packet discard setting on the node 20B based on the created setting file (S33). For example, the device setting unit 12 performs a setting on the node 20B to discard packets of the user A received from the route 1.
[0049] In addition, the device setting unit 12 performs packet copy / INT setting on the node 20A based on the created setting file (S34). For example, the device setting unit 12 performs setting on the node 20A to copy the packet of user A, add INT information to it, and transmit it on route 1.
[0050] Based on the above settings, the node 20A copies the packet of the user A and adds INT information to it (S35: execute copy / INT). For example, the node 20A copies the packet of the user A, adds INT information to it, and transmits it to the route 1. The node 20A also adds INT information to the packet of the user A and transmits it to the route 3.
[0051] Thereafter, the node 20B executes discarding of the packet (copy packet) of the user A received from the path 1 (S36). For example, the node 20B extracts the INT information added to the header of the copy packet received from the path 1, and then discards the packet. The node 20B also extracts the INT information added to the header of the packet of the user A received from the path 3.
[0052] Thereafter, the node 20B transmits the extracted INT information of the routes 1 and 3 to the monitoring device 10. The INT information acquisition unit 13 of the monitoring device 10 stores the INT information (see reference numeral 502) transmitted from the node 20B (S37). Thereafter, the visualization unit 15 creates communication quality information (see reference numeral 503) of each of the routes 1 and 3, for example, as indicated by reference numeral 503.
[0053] According to such a monitoring device 10, the user can check to what extent the communication quality has been improved by switching the route from route 1 to route 3.
[0054] [Other embodiments] If the monitoring device 10 suddenly transmits a copy packet to a route that is a candidate for switching, there is a possibility that other communications on the route that is a candidate for switching may be affected. Therefore, the monitoring device 10 may make the node 20 transmit a test packet to the route that is a candidate for switching, and may determine whether or not to transmit a copy packet to the route based on the communication quality of the route obtained by the test packet. The monitoring device 10 in this case will be described as monitoring device 10a. The monitoring device 10a will be described with reference to FIG. 7.
[0055] The monitoring device 10a further includes an implementation determining unit 16. The implementation determining unit 16 determines whether or not to transmit a copy packet to a route that is a candidate for switching, based on INT information of the route that is obtained by the test packet.
[0056] An example of a processing procedure of the monitoring device 10a will be described below, taking as an example a case where the monitoring device 10a transmits test packets to the routes 2 and 3 that are candidates for switching.
[0057] First, the device setting unit 12 of the monitoring device 10 sets the nodes 20A and 20B to generate test packets / execute INT (S41). For example, the node 20A generates test packets with INT information added thereto through the above settings (S42) and transmits the test packets from the routes 2 and 3.
[0058] The test packet may be, for example, a packet using header information of a user communication packet or a packet using a part of the packet.
[0059] After S42, when node 20B receives test packets from paths 2 and 3, it acquires INT information from the test packets and discards the test packets (S43: Execute discard).
[0060] Thereafter, the node 20B transmits the INT information extracted from the packets on the routes 2 and 3 to the monitoring device 10. The INT information acquisition unit 13 of the monitoring device 10 stores in the INT information DB 14 the INT information (see reference numeral 701) transmitted from the node 20B.
[0061] Thereafter, the implementation determining unit 16 refers to the information in the INT information DB 14 and determines whether or not to transmit the copy packet to the route 2 and the route 3 (S44).
[0062] For example, when the communication qualities of the paths 2 and 3 obtained from the INT information DB 14 satisfy a predetermined communication quality, the implementation determination unit 16 determines to transmit copy packets to the paths 2 and 3. On the other hand, when the communication qualities of the paths 2 and 3 do not satisfy the predetermined communication quality, the implementation determination unit 16 determines not to transmit copy packets to the paths 2 and 3.
[0063] Here, if the implementation determination unit 16 determines that the copied packet is to be transmitted to the route 2 and the route 3, the device setting unit 12 sets the copy / INT of the packet to the node 20A (S45). For example, the device setting unit 12 sets the node 20A to copy the packet of the user A and transmit it to the route 2 and the route 3.
[0064] Based on the above settings, the node 20A copies the packet of the user A and adds INT information to it (S46: Copy / INT execution). For example, the node 20A copies the packet of the user A, adds the INT information to it, and transmits the copied packet to the route 2 and the route 3.
[0065] Thereafter, the node 20B executes discarding of the packets (copy packets) of the user A received from the routes 2 and 3 (S47). For example, the node 20B extracts the INT information added to the header of the copy packet, and then discards the packet.
[0066] In this manner, the monitoring device 10a can check the communication quality of the switching candidate route by using the test packet, and then determine whether or not to transmit a copy packet.
[0067] [System configuration, etc.] In addition, each component of each unit shown in the figure is a functional concept, and does not necessarily have to be physically configured as shown in the figure. In other words, the specific form of distribution and integration of each device is not limited to that shown in the figure, and all or a part of it can be functionally or physically distributed and integrated in any unit according to various loads, usage conditions, etc. Furthermore, each processing function performed by each device can be realized in whole or in part by a CPU and a program executed by the CPU, or can be realized as hardware using wired logic.
[0068] Furthermore, among the processes described in the above embodiments, all or part of the processes described as being performed automatically can be performed manually, or all or part of the processes described as being performed manually can be performed automatically by a known method. In addition, the information including the processing procedures, control procedures, specific names, various data and parameters shown in the above documents and drawings can be changed arbitrarily unless otherwise specified.
[0069] [program] The monitoring device 10 can be implemented by installing a program (monitoring program) as package software or online software on a desired computer. For example, the above program can be executed by an information processing device, causing the information processing device to function as the monitoring device 10. The information processing device referred to here includes mobile communication terminals such as smartphones, mobile phones, and PHS (Personal Handyphone System), as well as terminals such as PDAs (Personal Digital Assistants).
[0070] 8 is a diagram showing an example of a computer that executes a monitoring program. The computer 1000 has, for example, a memory 1010 and a CPU 1020. The computer 1000 also has a hard disk drive interface 1030, a disk drive interface 1040, a serial port interface 1050, a video adapter 1060, and a network interface 1070. These components are connected by a bus 1080.
[0071] The memory 1010 includes a read only memory (ROM) 1011 and a random access memory (RAM) 1012. The ROM 1011 stores a boot program such as a basic input output system (BIOS). The hard disk drive interface 1030 is connected to a hard disk drive 1090. The disk drive interface 1040 is connected to a disk drive 1100. A removable storage medium such as a magnetic disk or an optical disk is inserted into the disk drive 1100. The serial port interface 1050 is connected to a mouse 1110 and a keyboard 1120, for example. The video adapter 1060 is connected to a display 1130, for example.
[0072] The hard disk drive 1090 stores, for example, an OS 1091, an application program 1092, a program module 1093, and program data 1094. That is, the programs that define the processes executed by the monitoring device 10 are implemented as program modules 1093 in which computer-executable codes are written. The program modules 1093 are stored, for example, in the hard disk drive 1090. For example, the program modules 1093 for executing processes similar to those of the functional configuration of the monitoring device 10 are stored in the hard disk drive 1090. The hard disk drive 1090 may be replaced by an SSD (Solid State Drive).
[0073] Data used in the processing of the above-described embodiment is stored as program data 1094 in, for example, the memory 1010 or the hard disk drive 1090. Then, the CPU 1020 reads out the program module 1093 or the program data 1094 stored in the memory 1010 or the hard disk drive 1090 into the RAM 1012 as necessary and executes them.
[0074] Note that the program module 1093 and the program data 1094 are not limited to being stored in the hard disk drive 1090, but may be stored in, for example, a removable storage medium and read by the CPU 1020 via the disk drive 1100 or the like. Alternatively, the program module 1093 and the program data 1094 may be stored in another computer connected via a network (such as a local area network (LAN) or wide area network (WAN)). The program module 1093 and the program data 1094 may then be read by the CPU 1020 from the other computer via the network interface 1070. [Explanation of symbols]
[0075] 10,10a Monitoring equipment 11 Configuration File Creation Section 12 Device setting unit (first setting unit, second setting unit) 13 INT information acquisition section 14 INT information DB 15 Visualization part 16 Implementation Judgment Section 20(20A,20B,20C,20D,20E) nodes
Claims
1. a first setting unit that sets a first node, which is a transmitting node that switches a route of a packet of a user communication, to copy the packet of the user communication, enable an INT setting, and transmit the copied packet to each of candidate routes to be switched to; a second setting unit that sets a second node, which is a receiving node and which accommodates the switching destination candidate route, to collect INT information of the copied packet and discard the copied packet; an INT information acquisition unit that acquires INT information of the copied packet from the second node; A monitoring device comprising:
2. A visualization unit that visualizes communication quality of each of candidate routes for switching destination of the user communication based on the acquired INT information. The monitoring device according to claim 1 , further comprising:
3. A monitoring method performed by a monitoring device, comprising: a first setting step of setting a first node, which is a transmitting node that switches a route of a packet of a user communication, to copy the packet of the user communication, enable an INT setting, and transmit the copied packet to each of candidate routes to be switched to; a second setting step of setting a second node, which is a receiving node and which accommodates the switching destination candidate route, to collect INT information of the copied packet and discard the copied packet; an INT information acquisition step of acquiring INT information of the copied packet from the second node; A monitoring method comprising:
4. a first setting step of setting a first node, which is a transmitting node that switches a route of a packet of a user communication, to copy the packet of the user communication, enable an INT setting, and transmit the copied packet to each of candidate routes to be switched to; a second setting step of setting a second node, which is a receiving node and which accommodates the switching destination candidate route, to collect INT information of the copied packet and discard the copied packet; an INT information acquisition step of acquiring INT information of the copied packet from the second node; A monitoring program that causes a computer to execute the following.
Citation Information
Patent Citations
Communication system
JP2014230114A
Packet transmission program, information processing device and failure detection method
JP2017118438A
Information gathering system and information gathering method
JP2019145880A
Communication system and communication method
JP2020107968A
Network node and mobile terminal
WO2008102564A1
