Network system and network management device
The network system measures delays between a user terminal and server by using timestamped duplicate packets in the MEC infrastructure, addressing the inability of existing methods to detect end-to-end delays.
Patent Information
- Application Number
- JP2023052542
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-29
- Publication Date
- 2024-10-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing methods for measuring delay in Multi-access Edge Computing (MEC) infrastructure cannot accurately determine the delay between a user terminal and a server or the delay in the radio access network, preventing the detection of end-to-end delay.
A network system comprising a base station, relay system with switches that generate duplicate packets with timestamps, and a network management device to calculate propagation delay time by analyzing these timestamps, allowing for the measurement of delays between the user terminal and server, including the radio access network.
Enables accurate measurement of delays between the user terminal and server, including the radio access network, facilitating effective network management and optimization.
Smart Images

Figure 2024141087000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a network system and a network management device. [Background technology]
[0002] In the next generation mobile communication system, not only user terminals such as smartphones but also various devices such as automobiles, industrial machines, smart meters, etc. will be connected. There is a demand for high-speed mobile broadband (eMBB: enhanced Mobile Broadband), ultra-reliable and low latency communication (URLLC: Ultra-Reliable and Low Latency Communication), and massive machine type communication (mMTC: massive machine type communication).
[0003] Multi-access Edge Computing (MEC) has been proposed as one of the technologies to achieve low-latency communication. MEC can reduce the latency between users and servers by placing the MEC infrastructure, including the servers, in a location geographically close to the users.
[0004] Furthermore, in order to put low-latency communications into practical use, a technology for measuring delay time is required. For this reason, a technology for measuring packet propagation delay time has been proposed. For example, each switch in the MEC platform generates a duplicate packet with timestamp information added to the received packet. Then, an information collection server measures the delay time of each switch section in the MEC platform based on the timestamp information added to each duplicate packet (Patent Document 1). [Prior art documents] [Patent documents]
[0005] [Patent Document 1] Patent Publication No. 2022-090223 Summary of the Invention [Problem to be solved by the invention]
[0006] As mentioned above, there are known methods for measuring the delay in each section of the MEC infrastructure. However, these methods cannot measure the delay between the user terminal and the server (or the delay in the radio access network), and therefore cannot detect end-to-end delay.
[0007] It is possible to measure end-to-end delay by monitoring the response time of the server in the user terminal. In this case, however, it is necessary to install an application with a function for monitoring the response time in the user terminal. Furthermore, even with this method, it is not possible to measure the delay between the user terminal and the server (or the delay in the wireless access network).
[0008] An object of one aspect of the present invention is to provide a method for measuring delay between a user terminal and a server. [Means for solving the problem]
[0009] A network system according to one aspect of the present invention includes a base station accommodating a user terminal, a relay system connected to the base station, and a network management device connected to the relay system. The relay system includes a plurality of switches that forward received packets and a server that provides a service to the user terminal. Each switch generates a duplicate packet by adding a timestamp to a duplicate of the received packet, and transmits the generated duplicate packet to the network management device. The network management device receives a first duplicate packet generated by a first switch among the plurality of switches for a first packet traveling from the server to the user terminal, receives a second duplicate packet generated by the first switch for a second packet traveling from the user terminal to the server in response to the first packet, and calculates a propagation delay time of the packet between the user terminal and the relay system based on a difference between a timestamp added to the first duplicate packet and a timestamp added to the second duplicate packet. Effect of the Invention
[0010] According to the above aspect, it is possible to measure the delay between the user terminal and the server. [Brief description of the drawings]
[0011] [Figure 1] FIG. 1 is a diagram illustrating an example of a network system according to an embodiment of the present invention. [Diagram 2] FIG. 1 is a diagram illustrating an example of a section in which a propagation delay time is measured. [Diagram 3] FIG. 2 is a functional block diagram of a switch and an information collecting server. [Figure 4] FIG. 2 illustrates an example of a hardware configuration of a switch. [Diagram 5] FIG. 2 illustrates an example of a hardware configuration of an information collecting server. [Figure 6] 1 is a diagram illustrating a packet transferred in a network system according to an embodiment of the present invention. [Figure 7] FIG. 13 is a diagram illustrating an example of a method for associating a transmitted packet with a response packet. [Figure 8] FIG. 11 is a diagram illustrating an example of a method for calculating a delay time. [Figure 9] FIG. 13 is a diagram illustrating an example of a case in which an embodiment of the present invention is applied to another communication protocol. [Figure 10] FIG. 11 is a diagram illustrating an example of a method for measuring a delay time in a case where response data is divided into multiple segments and transmitted. [Figure 11] FIG. 11 is a diagram illustrating an example of a method for measuring a delay time in a case where one ACK packet is generated for a plurality of transmission packets. [Figure 12] 13 is a flowchart illustrating an example of a process of an information collecting server. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Fig. 1 shows an example of a network system according to an embodiment of the present invention. The network system 100 according to the embodiment of the present invention includes a base station 1, an MEC platform 2, an information collection server 3, and a service management orchestration (SMO) platform 4. The network system 100 may include other devices or functions not shown in Fig. 1. Moreover, the network system 100 may not include the SMO platform 4.
[0013] The base station 1 is, for example, a radio base station conforming to the O-RAN specifications, and can accommodate a user terminal 5. In this embodiment, the base station 1 includes a radio unit (RU) 11, a distributed unit (DU) 12, and a central unit (CU) 13. The RU 11 includes one or more antennas, and receives radio signals from the user terminal 5 and transmits radio signals to the user terminal 5. The DU 12 demodulates received signals, modulates transmitted signals, and controls communication in the media access control (MAC) layer. The CU 13 controls the subordinate RUs 11 / DUs 12, controls connections with the core network, performs packet data convergence protocol (PDCP) processing, and radio resource control (RRC) processing.
[0014] The MEC infrastructure 2 includes one or more switches 21 (21a, 21b) and one or more MEC servers 22 (22a, 22b), and provides services to a user terminal 5. The MEC infrastructure 2 is provided at a location geographically close to the user. In this embodiment, the MEC infrastructure 2 is connected to the base station 1. The MEC infrastructure 2 may include other functions not shown in FIG. 1.
[0015] Each switch 21 forwards the received packet to the destination. Therefore, the MEC board 2 is an example of a relay system that forwards packets.
[0016] The switch 21a guides packets received from the base station 1 to the MEC server 22a, and guides packets received from the MEC server 22a to the base station 1. In this example, the MEC server 22a operates as a virtual eNB (evolved Node B) or a virtual EPC (evolved packet core). The switch 21b guides packets received from the MEC server 22a to the MEC server 22b, and guides packets received from the MEC server 22b to the MEC server 22a. The MEC server 22b executes an application program to provide a service to the user terminal 5. In the following description, a communication path from the user terminal 5 to the MEC server 22b may be referred to as an "uplink". Also, a communication path from the MEC server 22b to the user terminal 5 may be referred to as a "downlink".
[0017] Each switch 21 generates a copy of a passing packet, assigns a timestamp to the generated copy packet, and transmits the copy packet to the information collecting server 3. However, each switch 21 may be configured to generate a copy packet of a packet transmitted by a predetermined protocol (e.g., TCP).
[0018] The information collecting server 3 uses the time stamps added to the duplicated packets received from each switch 21 to measure the delay time of each section in the MEC board 2 and the delay time between the user terminal 5 and the MEC board 2. Specifically, as shown in FIG. 2, the delay time of section D1 from the switch 21a to the switch 21b in the uplink, the delay time of section D2 from the switch 21b to the switch 21b via the MEC server 22b in the uplink, the delay time of section D3 from the switch 21b to the switch 21a in the downlink, and the delay time of section D4 from the switch 21a to the switch 21a via the base station 1, the user terminal 5, and the base station 1 are measured. The delay time of section D1 includes the processing time of the MEC server 22a in the uplink. The delay time of section D2 includes the processing time of the MEC server 22b. The delay time of section D3 includes the processing time of the MEC server 22a in the downlink. The delay time of section D4 includes the processing time of the user terminal 5 and represents the delay time of the wireless access network.
[0019] When a packet P1 is transmitted from the user terminal 5 to the MEC server 22b, the switch 21a generates a duplicate packet P1a to which a timestamp t1 is assigned, and the switch 21b generates a duplicate packet P1b to which a timestamp t2 is assigned. When a packet P2 is transmitted from the MEC server 22b to the user terminal 5, the switch 21b generates a duplicate packet P2b to which a timestamp t3 is assigned, and the switch 21a generates a duplicate packet P2a to which a timestamp t4 is assigned. The packet P2 is, for example, a response packet to the packet P1. When a packet P3 is transmitted from the user terminal 5 to the MEC server 22b, the switch 21a generates a duplicate packet P3a to which a timestamp t5 is assigned, and the switch 21b generates a duplicate packet P3b to which a timestamp t6 is assigned. The packet P3 is, for example, a response packet or an ACK packet to the packet P2.
[0020] The information collecting server 3 can measure the delay time of each of the sections D1 to D4 by using the timestamps attached to each duplicated packet. That is, the delay time of the section D1 from the switch 21a to the switch 21b in the uplink is calculated based on the difference between the timestamp t1 and the timestamp t2. The delay time of the section D2 from the switch 21b to the switch 21b via the MEC server 22b is calculated based on the difference between the timestamp t2 and the timestamp t3. The delay time of the section D3 from the switch 21b to the switch 21a in the downlink is calculated based on the difference between the timestamp t3 and the timestamp t4. The delay time of the section D4 from the switch 21a to the switch 21a via the base station 1, the user terminal 5, and the base station 1 is calculated based on the difference between the timestamp t4 and the timestamp t5.
[0021] In this way, the information collecting server 3 can measure the delay time of each section in the MEC board 2 and the access network (i.e., the delay time between the user terminal 5 and the MEC board 2) based on the time information notified from each switch 21 (in this embodiment, the timestamp added to the duplicated packet). In addition, the information collecting server 3 can also calculate the end-to-end delay time using these measured values. The information collecting server 3 is an example of a network management device that measures network delay.
[0022] In the above example, the information collecting server 3 measures the propagation delay time between two adjacent switches. However, the embodiment of the present invention is not limited to such measurements, and the information collecting server 3 can measure the propagation delay time of any section. For example, by acquiring the duplicated packet P1a and the duplicated packet P2b shown in FIG. 1, the information collecting server 3 can measure the sum of the delay time of the section D1 and the delay time of the section D2 shown in FIG. 2. Also, by acquiring the duplicated packet P1a and the duplicated packet P2a shown in FIG. 1, the information collecting server 3 can measure the sum of the delay time of the section D1, the delay time of the section D2, and the delay time of the section D3 shown in FIG. 2.
[0023] The SMO platform 4 controls the base station 1 based on the delay measured by the information collecting server 3. For example, when the delay time exceeds a predetermined threshold, the SMO platform 4 may increase the bandwidth allocated to the communication between the user terminal 5 and the MEC platform 2.
[0024] 3 is a functional block diagram of the switch 21 and the information collecting server 3. The switch 21 includes a communication interface (IF) 211, a switch control unit 212, a signal control unit 213, a table information processing unit 214, a management table 215, a hardware processing unit 216, a header analysis control unit 217, and a timestamp information control unit 218. The switch 21 is, for example, a programmable switch.
[0025] The communication IF 211 is realized by, for example, a Northbound API. The switch control unit 212 transmits and receives control messages to and from a Software-Defined Network (SDN) controller (not shown) via the communication IF 211.
[0026] The signal control unit 213 interprets the flow information of the notified control message and controls the data signal and the routing signal. The signal control unit 213 also stores various information in the management table 215 via the table information processing unit 214.
[0027] The hardware processing unit 216 transfers the received packet according to the flow information. The hardware processing unit 216 can also generate a duplicate packet of the received packet. At this time, the header analysis control unit 217 analyzes the header of the received packet. The timestamp information control unit 218 also generates a timestamp that indicates the reception time of the received packet. This timestamp is added to the duplicate packet by the timestamp information control unit 218 or the hardware processing unit 216.
[0028] The information collecting server 3 includes a packet analysis control unit 31, a time stamp table 32, a delay time calculation unit 33, a measurement result collection unit 34, an external IF 35, and a display unit 36. The packet analysis control unit 31 receives and analyzes duplicated packets transmitted from each switch 21. Then, the packet analysis control unit 31 writes the time stamps added to each duplicated packet in the time stamp table 32. In the example shown in FIG. 1, the packet analysis control unit 31 receives duplicated packets P1a, P2a, and P3a from the switch 21a, and receives duplicated packets P1b, P2b, and P3b from the switch 21b. Then, time stamps t1 to t6 are written in the time stamp table 32 in association with each duplicated packet.
[0029] The delay time calculation unit 33 refers to the timestamp table 32 and extracts a pair of timestamps corresponding to the section to be measured. Then, the delay time calculation unit 33 measures the propagation delay time of the packet by calculating the difference between the extracted timestamps. The measurement result compilation unit 34 collects the delay time for each section and the end-to-end delay time. The measurement result compilation unit 34 transmits the collected delay time to a specified information processing device via the external IF 35. In addition, the measurement result compilation unit 34 displays the collected delay time on the display unit 36 of the information collecting server 3.
[0030] 4 shows an example of a hardware configuration of the switch 21. The switch 21 includes a processor 61, a memory 62, communication IFs 63 (63a to 63c), a storage device 64, and a programmable ASIC (Application Specific Integrated Circuit) 65.
[0031] The processor 61 is, for example, a CPU, and executes a program stored in the storage device 64. The processor 61 also functions as a control unit that controls the operation of the switch 21. At this time, the memory 62 is used as a working area for the processor 61. The memory 62 is, for example, composed of a ROM and a RAM. The storage device 64 is composed of an HDD, an SSD, a flash memory, or the like. The communication IF 63a transmits and receives control information to and from an operator. The communication IFs 63b and 63c transmit and receive packets to and from other switches 21 or the MEC server 22. The programmable ASIC 65 executes packet forwarding.
[0032] The processor 61 executes a program stored in the storage device 64 to provide the functions of the switch control unit 212, the signal control unit 213, the table information processing unit 214, the header analysis control unit 217, and the time stamp information control unit 218 shown in Fig. 3. The programmable ASIC 65 corresponds to the hardware processing unit 216 shown in Fig. 3. The storage device 64 realizes the management table 215 shown in Fig. 3. The communication IFs 63a to 63c realize the functions related to the communication processing of the hardware processing unit 306 shown in Fig. 3.
[0033] 5 shows an example of a hardware configuration of the information collecting server 3. The information collecting server 3 includes a processor 71, a memory 72, a storage device 73, and a communication IF 74 (74a to 74b).
[0034] The processor 71 is, for example, a CPU, and executes a program stored in the storage device 73. The processor 71 also functions as a control unit that controls the operation of the information collecting server 3. At this time, the memory 72 is used as a working area for the processor 71. The memory 72 is, for example, composed of a ROM and a RAM. The storage device 73 is, for example, composed of a HDD, an SSD, a flash memory, or the like. The communication IF 74a transmits and receives control information to and from an operator. The communication IF 74b is connected to the switch 21, and receives a replicated packet to which a timestamp has been added. The communication IF 74b is, for example, realized by a smart NIC (Network Interface Card).
[0035] 3 by executing a program stored in the storage device 73. The storage device 73 realizes the time stamp table 32. The communication IF 74 realizes the function related to the communication processing of the packet analysis control device 31 and the function of the external IF 35. Although not shown, the user terminal 5 is composed of hardware such as a processor, memory, storage device, input / output device, etc.
[0036] Fig. 6 is a diagram for explaining packets transferred in the network system 100 according to the embodiment of the present invention. In this embodiment, the user terminal 5 transmits a packet including a wireless packet header and data. As shown in Fig. 6, the "data" includes application layer data (APL), TCP (Transmission Control Protocol) information, and IP (Internet Protocol) information. That is, communication is controlled by TCP.
[0037] The base station 1 converts the wireless packet header of a packet received from the user terminal 5 into a GTP packet header. The GTP packet header includes an L1 / L2 header, as shown in Fig. 6. The base station 1 then transmits this packet to the MEC board 2.
[0038] In the MEC base station 2, the switch 21a transfers a packet received from the base station 1 to the MEC server 22a and generates a duplicate packet. At this time, the switch 21a generates a timestamp and assigns it to the duplicate packet. That is, the duplicate packet with the timestamp assigned by the switch 21a is transmitted to the information collecting server 3.
[0039] The MEC server 22a operates as a virtual eNB or a virtual EPC and terminates the GTP tunnel. Therefore, the GTP packet header is deleted in the MEC server 22a. However, the L1 / L2 header in the GTP packet header is not deleted.
[0040] The switch 21b transfers the packet output from the MEC server 22a to the MEC server 22b and generates a duplicate packet. At this time, the switch 21b generates a timestamp and assigns it to the duplicate packet, similar to the switch 21a. That is, the duplicate packet to which the timestamp is assigned in the switch 21b is transmitted to the information collecting server 3.
[0041] Packet conversion in the downlink (i.e., the communication path from the MEC board 2 to the user terminal 5) is substantially the same as packet conversion in the uplink (i.e., the communication path from the user terminal 5 to the MEC board 2). However, the switch 21b forwards the packet output from the MEC server 22b to the MEC server 22a and also generates a duplicate packet. The switch 21a forwards the packet output from the MEC server 22a to the base station 1 and also generates a duplicate packet. The duplicate packets to which timestamps have been added in each of the switches 21b and 21a are then transmitted to the information collecting server 3.
[0042] The information collecting server 3 receives the duplicated packets from each switch 21 provided in the MEC board 2. Then, the information collecting server 3 uses the timestamp added to each duplicated packet to measure the propagation delay time of the packets for each section.
[0043] When measuring the delay time in section D1 shown in FIG. 2, the information collecting server 3 acquires a duplicate packet generated by the switch 21a and a duplicate packet generated by the switch 21b in the uplink. Here, the information collecting server 3 can identify whether the packet is a packet propagating in the uplink or a packet propagating in the downlink based on the source address and destination address of each packet. Also, the information collecting server 3 can identify the switch 21 (21a or 21b) that generated the duplicate packet. Then, the information collecting server 3 calculates the delay time in section D1 based on the timestamps respectively given to a pair of duplicate packets generated by the switches 21a and 21b from the same uplink packet.
[0044] 2, the information collecting server 3 acquires a duplicate packet generated by the switch 21b and a duplicate packet generated by the switch 21a in the downlink. Then, the information collecting server 3 calculates the delay time of the section D3 based on the timestamps given to a pair of duplicate packets generated by the switches 21b and 21a from the same downlink packet.
[0045] In this way, the information collecting server 3 receives two duplicate packets generated by two adjacent switches on the path between the user terminal 5 and the MEC server 22b. Then, the information collecting server 3 can calculate the propagation delay time of the packets between the two adjacent switches based on the difference between the timestamps assigned to the two duplicate packets.
[0046] In contrast, when measuring the delay time of section D2 or section D4 shown in FIG. 2, the information collection server 3 acquires a duplicate packet of the packet propagating on the uplink and a duplicate packet of the packet propagating on the downlink.
[0047] When measuring the delay time in section D2 shown in Fig. 2, the information collecting server 3 acquires, for example, from the switch 21b, a duplicate packet of a request packet propagating via the uplink and a duplicate packet of a response packet generated by the MEC server 22b in response to the request packet. Then, based on the timestamps (t2 and t3 in the example shown in Fig. 1) given to these duplicate packets, the delay time in section D2 is calculated. Note that the switch 21b is the switch provided closest to the MEC server 22b among the multiple switches 21 constituting the MEC board 2.
[0048] 2, the information collecting server 3 acquires, for example, from the switch 21a, a duplicate packet of the response packet propagating via the downlink and a duplicate packet of the ACK packet generated by the user terminal 5 in response to the request packet. Then, based on the timestamps (t4 and t5 in the example shown in FIG. 1) given to these duplicate packets, the delay time of the section D4 is calculated. The switch 21a is the switch provided closest to the base station 1 among the multiple switches 21 constituting the MEC board 2.
[0049] Therefore, the information collecting server 3 has a function of associating a packet propagating on an uplink or downlink with a response packet or an ACK packet for that packet. This function is realized by using, for example, a TCP sequence number SN, an acknowledgement number AN, and a segment length Len.
[0050] 7 shows an example of a method for associating a transmitted packet with a response packet. In this example, a packet is transmitted between the user terminal 5 and the MEC server 22b. Specifically, the following packet transmission is performed. (1) A packet P1 is transmitted from the user terminal 5 to the MEC server 22b. (2) The MEC server 22b transmits a packet P2 to the user terminal 5 in response to receiving the packet P1. (3) In response to receiving packet P2, the user terminal 5 transmits packet P3 to the MEC server 22b. Packet P2 is generated as a result of receiving packet P1, and is therefore a response packet to packet P1. Packet P3 is generated as a result of receiving packet P2, and is therefore a response packet to packet P2.
[0051] The header of each of packets P1 to P3 is set with a sequence number SN, an acknowledgment number AN, and a segment length Len. The sequence number SN indicates the first segment of data stored in the transmission packet. Therefore, the sequence number SN is calculated by adding the sequence number SN of the immediately preceding transmission packet to the segment length Len of that transmission packet. The acknowledgment number AN indicates up to which segment has been received from the other device. Therefore, the acknowledgment number AN is calculated by adding the segment length Len of the received packet to the current acknowledgment number AN. The segment length Len indicates the length of data transmitted by the packet. Note that the initial values of the sequence number SN and the acknowledgment number AN are each assumed to be "1".
[0052] In the packet P1 transmitted from the user terminal 5 to the MEC server 22b, the sequence number SN and the acknowledgement number AN are each set to "1". Also, the segment length of the packet P1 is assumed to be 100 bytes. In this case, the segment length Len is set to "100" in the header of the packet P1.
[0053] The MEC server 22b calculates the acknowledgement number AN when transmitting packet P2 to the user terminal 5 due to receiving packet P1. The acknowledgement number AN is calculated by adding the segment length of the received packet to the current acknowledgement number AN. Here, in the MEC server 22b, the current acknowledgement number AN is "1", and the segment length Len of the received packet P1 is 100 bytes. Therefore, "101 (=1+100)" is set as the acknowledgement number AN in the header of packet P2. It is assumed that the segment length of packet P2 is 1300 bytes. In this case, "1300" is set as the segment length Len in the header of packet P2. Also, the initial value "1" is set as the sequence number SN.
[0054] When transmitting packet P3 to the MEC server 22b due to receiving packet P2, the user terminal 5 calculates the sequence number SN and the acknowledgement number AN. The sequence number SN is calculated by adding the segment length Len (i.e., "100") of the previous transmission packet to the sequence number SN (i.e., "1") set in the previous transmission packet (i.e., packet P1). Therefore, "101 (=1+100)" is set as the sequence number SN in the header of packet P3. Also, as described above, the acknowledgement number AN is calculated by adding the segment length Len of the received packet to the current acknowledgement number AN. Here, in the user terminal 5, the current acknowledgement number AN is "1", and the segment length of the received packet P2 is 1300 bytes. Therefore, "1301 (=1+1300)" is set as the acknowledgement number AN in the header of packet P3. In this embodiment, the segment length of packet P3 is "0".
[0055] In the above-mentioned procedure, each switch 21 (21a, 21b) generates duplicate packets of packets P1 to P3 and transmits them to the information collecting server 3. Specifically, duplicate packets P1a and P1b are generated for packet P1, duplicate packets P2b and P2a are generated for packet P2, and duplicate packets P3a and P3b are generated for packet P3. As mentioned above, a timestamp is assigned to each duplicate packet.
[0056] In TCP, the sum of the sequence number SN and segment length Len set in the header of a transmitted packet matches the acknowledgment number AN set in the header of a response packet corresponding to that transmitted packet. In the example shown in Fig. 7, the sum of the sequence number SN and segment length Len of packet P1 is "101", and the acknowledgment number AN of packet P2 is also "101". In addition, the sum of the sequence number SN and segment length Len of packet P2 is "1301", and the acknowledgment number AN of packet P3 is also "1301".
[0057] In this way, when packet communication is performed bidirectionally between a pair of devices, if the sum of the sequence number SN and segment length Len set in the header of a packet propagating in a certain direction matches the acknowledgment number AN set in the header of a packet propagating in the opposite direction, it is known that one of the two packets is a response packet for the other packet. Therefore, when the information collection server 3 receives a duplicate packet from each switch 21 (21a, 21b), it can associate the transmitted packet with the response packet by referring to the sequence number SN, acknowledgment number AN, and segment length Len set in the header of each packet.
[0058] For example, when the information collecting server 3 measures the delay time of the section D2 shown in FIG. 2, it receives the duplicated packet P1b and the duplicated packet P2b from the switch 21b. Here, the sum of the sequence number SN and the segment length Len of the duplicated packet P1b is "101", and the acknowledgement number AN of the duplicated packet P2b is also "101". In this case, the information collecting server 3 determines that the packet P2, which is the source of the duplicated packet P2b, is a response packet of the packet P1, which is the source of the duplicated packet P1b. Then, the information collecting server 3 calculates the delay time of the section D2 from the switch 21b to the switch 21b via the MEC server 22b based on the difference between the timestamp t2 given to the duplicated packet P1b and the timestamp t3 given to the duplicated packet P2b.
[0059] In addition, when the information collecting server 3 measures the delay time of the section D4 shown in FIG. 2, it receives the duplicated packet P2a and the duplicated packet P3a from the switch 21a. Here, the sum of the sequence number SN and the segment length Len of the duplicated packet P2a is "1301", and the acknowledgement number AN of the duplicated packet P3a is also "1301". In this case, the information collecting server 3 determines that the packet P3, which is the source of the duplicated packet P3a, is a response packet of the packet P2, which is the source of the duplicated packet P2a. Then, the information collecting server 3 calculates the delay time of the section D4 from the switch 21a to the switch 21a via the base station 1, the user terminal 5, and the base station 1, based on the difference between the timestamp t4 given to the duplicated packet P2a and the timestamp t5 given to the duplicated packet P3a.
[0060] The acknowledgement number AN of the duplicated packet P2b also coincides with the sum of the sequence number SN and the segment length Len of the duplicated packet P1a. Therefore, the information collecting server 3 may measure the delay time based on the timestamp t3 given to the duplicated packet P2b and the timestamp t1 given to the duplicated packet P1a. However, this delay time represents the sum of the delay time in the section D2 and the delay time in the section D3. Similarly, the acknowledgement number AN of the duplicated packet P3a also coincides with the sum of the sequence number SN and the segment length Len of the duplicated packet P2b. Therefore, the information collecting server 3 may measure the delay time based on the timestamp t5 given to the duplicated packet P3a and the timestamp t3 given to the duplicated packet P2b. However, this delay time represents the sum of the delay time in the section D3 and the delay time in the section D4.
[0061] Fig. 8 shows an example of a method for calculating the delay time. In this embodiment, the information collecting server 3 calculates the delay time by using the time stamp table 32 shown in Fig. 3. The time stamp table 32 is not particularly limited, but for example, is provided for each section to be measured. The time stamp table 32 is updated by the packet analysis control unit 31, and is referred to by the delay time calculation unit 33. In the following description, the delay time of section D4 shown in Fig. 2 is measured as an example.
[0062] 8(a), the time stamp table 32 has areas for writing time stamp values to a number of storage addresses. The storage addresses are referenced by "sequence number SN+segment length Len" or "acknowledgement number AN." In the initial state, each area of the time stamp table 32 is reset to "0."
[0063] In FIG. 8(b), the information collecting server 3 receives a duplicated packet P2a from the switch 21a. The duplicated packet P2a is a duplicate of the packet P2 transmitted from the MEC server 22b to the user terminal 5 as shown in FIG. 1 or FIG. 7. The header of the duplicated packet P2a has "SN=1, Len=1300, AN=101" set. In this case, the packet analysis control unit 31 writes the timestamp added to the duplicated packet P2a to the address indicated by the sum of the sequence number SN and the segment length Len. That is, "t4" is written to address 1301 in the timestamp table 32.
[0064] Next, in Fig. 8(c), the information collecting server 3 receives a duplicated packet P3a from the switch 21a. The duplicated packet P3a is a duplicate of the packet P3 transmitted from the user terminal 5 to the MEC server 22b as shown in Fig. 1 or 7. In addition, "SN=101, Len=0, AN=1301" is set in the header of the duplicated packet P3a. In this case, although not shown, the packet analysis control unit 31 may write the timestamp added to the duplicated packet P3a to an address indicated by the sum of the sequence number SN and the segment length Len.
[0065] Next, the delay time calculation unit 33 refers to the timestamp table 32 with the value of the acknowledgement number AN set in the header of the duplicated packet P3a. That is, address 1301 in the timestamp table 32 is referenced. Here, a timestamp is written in this address. In this case, the delay time calculation unit 33 acquires the timestamp recorded in this address. Then, the delay time calculation unit 33 calculates the difference between the timestamp acquired from the timestamp table 32 and the timestamp added to the duplicated packet P3a. That is, the difference between "t4" and "t5" is calculated. As a result, the delay time of the section D4 is calculated.
[0066] After the calculation of the delay time is completed, the delay time calculation unit 33 resets the area from which the timestamp was obtained. If no timestamp is recorded in the address corresponding to the value of the acknowledgement number AN, the delay time calculation unit 33 does not calculate the delay time. In addition, taking into consideration that the sequence number SN is counted cyclically, it is preferable that the timestamp table 32 is reset periodically (for example, every few seconds to several tens of seconds) to avoid erroneous detection of a delay.
[0067] In this way, in a network system including the base station 1 and the MEC platform 2, the information collection server 3 can measure the propagation delay time not only in each section within the MEC platform 2 but also in the section between the MEC platform 2 and the user terminal 5 (i.e., the wireless access network). Therefore, by calculating the sum of the propagation delay times in each section, the end-to-end propagation delay time can also be calculated.
[0068] <Variation 1> The above-described embodiment is based on the assumption that a request packet is transmitted from the user terminal 5 to the MEC server 22b, a response packet corresponding to the user terminal 5 is transmitted from the MEC server 22b, and an ACK packet corresponding to the MEC server 22b is transmitted from the user terminal 5, but the embodiment of the present invention is not limited to this procedure. That is, as long as the user terminal 5 transmits a packet to the MEC server 22b in response to a packet transmitted from the MEC server 22b to the user terminal 5, the propagation delay time of the radio access network can be measured according to the embodiment of the present invention.
[0069] For example, in the embodiment shown in Fig. 9, data is transmitted from the MEC server 22b using the Websocket protocol. Websocket is a communication protocol for performing two-way communication between a browser and a Web server, and the Web server can start transmitting data at any timing.
[0070] In this case, the packet transmitted from the MEC server 22b is transferred by the switch 21 to the base station 1, and the base station 1 transmits a wireless packet to the user terminal 5. In addition, in response to receiving the packet transmitted from the MEC server 22b, the user terminal 5 transmits a response packet to the MEC server 22b. At this time, each switch 21 (21a, 21b) generates a copy of the received packet, assigns a timestamp to the copy, and transmits the copy to the information collecting server 3. Note that a timestamp is assigned to the duplicate packet, but it is not necessary to assign a timestamp to packets transmitted between the MEC server 22 and the user terminal 5.
[0071] The method in which the information collecting server 3 measures the propagation delay time by utilizing the timestamp added to the duplicated packet is substantially the same as the method described with reference to Figures 6 to 8. That is, the propagation delay time of the wireless access network is calculated based on the timestamp added to the duplicated packet generated by the switch 21a in the downlink and the timestamp added to the duplicated packet generated by the switch 21a in the uplink.
[0072] <Variation 2> 7, the MEC server 22b transmits one response packet in response to a request packet from the user terminal 5. However, the MEC server 22b may divide the response data into multiple segments and transmit them to the user terminal 5.
[0073] For example, in the case shown in Fig. 10, the user terminal 5 transmits a request packet P1 to the MEC server 22b. In response, the MEC server 22b transmits 1300 bytes of response data to the user terminal 5. At this time, 1000 bytes of data are stored in a response packet P2-1, and the remaining 300 bytes of data are stored in a response packet P2-2. Also, the MEC server 22b transmits the response packet P2-2 after receiving an ACK packet in response to the response packet P2-1. In this case, the following information is set in the header of the response packet P2-1: Sequence number SN:1 Segment length Len:1000 Acknowledgement number AN:101 In addition, the following information is set in the header of the response packet P2-2: Sequence number SN:1001 Segment length Len:300 Acknowledgement number AN:101 Then, the response packet P2-1 and the response packet P2-2 are transferred to the user terminal 5 via the switch 21.
[0074] The user terminal 5 transmits an ACK packet for each received packet. That is, the user terminal 5 returns an ACK packet P3-1 in response to the response packet P2-1, and returns an ACK packet P3-2 in response to the response packet P2-2. Here, the segment length of each ACK packet is assumed to be zero. In this case, the following information is set in the header of the ACK packet P3-1: Sequence number SN:101 Segment length Len:0 Acknowledgement number AN:1001 In addition, the following information is set in the header of the ACK packet P3-2. Sequence number SN:101 Segment length Len:0 Acknowledgement number AN:1301 Then, the ACK packet P3-1 and the ACK packet P3-2 are transferred via the switch 21 to the MEC server 22b.
[0075] When forwarding the request packet P1, the response packets P2-1, 2-2, and the ACK packets P3-1, P3-2, each switch 21 (21a, 21b) generates a duplicate packet and transmits it to the information collecting server 3. At this time, a timestamp indicating the time when the switch 21 received the packet is added to each duplicate packet. The information collecting server 3 then uses the timestamp added to each duplicate packet to measure the delay time of each section. Note that the duplicate packet generated by the switch 21b is omitted in FIG. 10.
[0076] For example, the sum of the sequence number SN and the segment length Len set in the duplicated packet P2a-1, which is a duplicate of the response packet P2-1, is "1001." The acknowledgement number AN set in the duplicated packet P3a-1, which is a duplicate of the ACK packet P3-1, is also "1001." That is, the information collecting server 3 determines that the ACK packet P3-1 is a packet generated due to the response packet P2-1. In this case, the information collecting server 3 calculates the propagation delay time of the wireless access network based on the difference between the timestamp t12 given to the duplicated packet P2a-1 and the timestamp t13 given to the duplicated packet P3a-1.
[0077] Similarly, the sum of the sequence number SN and the segment length Len set in the duplicated packet P2a-2, which is a duplicate of the response packet P2-2, is "1301." Also, the acknowledgement number AN set in the duplicated packet P3a-2, which is a duplicate of the ACK packet P3-2, is also "1301." That is, the information collecting server 3 determines that the ACK packet P3-2 is a packet generated due to the response packet P2-2. In this case, the information collecting server 3 calculates the propagation delay time of the wireless access network based on the difference between the timestamp t14 given to the duplicated packet P2a-2 and the timestamp t15 given to the duplicated packet P3a-2.
[0078] In this way, in the case where the MEC server 22b transmits multiple response packets to the user terminal 5, and the user terminal 5 returns an ACK packet for each response packet, it is possible to perform multiple delay time measurements for the same section. Therefore, for example, by calculating the average of these measurements, accurate delay measurement can be achieved.
[0079] <Variation 3> In the case shown in Fig. 10, the MEC server 22b transmits multiple response packets to the user terminal 5, and the user terminal 5 returns an ACK packet for each response packet. However, in TCP, the transmitting device can transmit subsequent packets in succession without waiting for an ACK from the receiving device. In this case, the receiving device transmits one ACK packet for multiple consecutive packets.
[0080] 11, the MEC server 22b successively transmits a response packet P2-1 and a response packet P2-2 to the user terminal 5. Then, the user terminal 5 transmits one ACK packet (i.e., an ACK packet P3) to the MEC server 22b in response to the response packet P2-1 and the response packet P2-2. In this case, the following information is set in the header of the ACK packet P3: Sequence number SN:101 Segment length Len:0 Acknowledgement number AN:1301 The sequence number SN, segment length Len, and acknowledgement number AN set in the headers of the response packet P2-1 and the response packet P2-2 are the same in FIGS.
[0081] In the case shown in FIG. 11, the sum of the sequence number SN and the segment length Len set in the duplicated packet P2a-2, which is a duplicate of the response packet P2-2, is "1001." In addition, the acknowledgement number AN set in the duplicated packet P3a, which is a duplicate of the ACK packet P3, is also "1001." In other words, the information collecting server 3 determines that the ACK packet P3 is a packet corresponding to the response packet P2-2. In this case, the information collecting server 3 calculates the propagation delay time of the wireless access network based on the difference between the timestamp t23 given to the duplicated packet P2a-2 and the timestamp t24 given to the duplicated packet P3a.
[0082] In this case, no ACK packet is generated for the response packet P2-1. Therefore, no duplicate packet is detected that has an acknowledgment number AN that is the same as the sum of the sequence number SN and the segment length Len set in the duplicate packet P2a-1, which is a duplicate of the response packet P2-1. In this case, the information collecting server 3 skips measuring the delay time.
[0083] <Flowchart> 12 is a flowchart showing an example of the processing of the information collecting server 3. The processing of this flowchart is executed for a specified measurement section. In this embodiment, the propagation delay time between the user terminal and the MEC board is measured. That is, for example, in the network system 100 shown in FIGS. 1 and 2, the propagation delay time of section D4 is measured.
[0084] In S1, the information collecting server 3 acquires a duplicated packet of a downlink packet from an edge switch. The edge switch represents a switch that is disposed closest to the base station among a plurality of switches disposed in the MEC base station, and corresponds to the switch 21a connected to the base station 1 in the MEC base station 2 shown in Figs. 1 and 2. The downlink packet represents a packet transmitted from an application server disposed in the MEC base station to a user terminal, and corresponds to a packet transmitted from the MEC server 22b to the user terminal 5 in the embodiment shown in Figs. 1 and 2. The duplicated packet is given a timestamp by the edge switch. This timestamp represents the time when the edge server received the above-mentioned downlink packet. In the following description, the duplicated packet received in S1 may be called a "downlink duplicated packet."
[0085] In S2, the information collecting server 3 acquires the sequence number SN and the segment length Len set in the header of the downlink duplicated packet. At this time, the information collecting server 3 may acquire the timestamp added to the downlink duplicated packet. In this case, as shown in FIG. 8, the timestamp acquired from the downlink duplicated packet is written to an address specified by the sum of the sequence number SN and the segment length Len in the timestamp table 32.
[0086] In S3, the information collecting server 3 obtains a duplicated packet of the uplink packet from the edge switch. The uplink packet represents a packet transmitted from the user terminal to the application server, and corresponds to a packet transmitted from the user terminal 5 to the MEC server 22b in the embodiment shown in Figs. 1 and 2. This duplicated packet is also given a timestamp by the edge switch. However, the timestamp given to this duplicated packet represents the time when the edge server received the above-mentioned uplink packet. In the following description, the duplicated packet received in S3 may be referred to as an "uplink duplicated packet."
[0087] In S4, the information collecting server 3 judges whether the pair of source address and destination address of the downlink duplicated packet corresponds to the pair of source address and destination address of the uplink duplicated packet. If these address pairs do not correspond to each other, the process of the information collecting server 3 returns to S3. On the other hand, if the pair of source address and destination address of the downlink duplicated packet corresponds to the pair of source address and destination address of the uplink duplicated packet, the information collecting server 3 acquires the acknowledgement number AN of the uplink duplicated packet in S5.
[0088] In S6, the information collecting server 3 compares the sum of the sequence number SN and segment length Len of the downlink duplicated packet with the acknowledgement number AN of the uplink duplicated packet. If the acknowledgement number AN does not match the sum, the information collecting server 3 returns to S3.
[0089] When the acknowledgement number AN of the uplink duplicated packet matches the sum of the sequence number SN and the segment length Len of the downlink duplicated packet, the information collecting server 3 determines that the source packet of the uplink duplicated packet was generated in the user terminal due to the source packet of the downlink duplicated packet. In this case, the information collecting server 3 calculates the propagation delay time of the packet in the specified measurement section based on the difference between the timestamp attached to the uplink duplicated packet and the timestamp attached to the downlink duplicated packet in S7. In this way, the propagation delay time of the radio access network between the user terminal and the MEC platform is measured.
[0090] If the propagation delay time cannot be calculated within a predetermined time from the time when the downlink duplicated packet is received at S1, the flow chart shown in FIG. 12 ends. The procedure shown in FIG. 12 can also be applied to the case where the processing time of an application server is measured in the MEC platform. In this case, however, the duplicated packet is obtained from the switch installed closest to the application server. As a result, the propagation delay time of section D2 shown in FIG. 2 is measured. [Explanation of symbols]
[0091] 1 base station 2. MEC Platform 3. Information collection server 4. SMO 5. User terminal 21(21a, 21b) Switch 22(22a, 22b) MEC Server 31 Packet analysis control section 33 Delay time calculation section
Claims
1. A base station accommodating a user terminal; A relay system connected to the base station; a network management device connected to the relay system, the relay system includes a plurality of switches for forwarding received packets and a server for providing services to the user terminals; Each switch is A duplicate packet is generated by adding a timestamp to the duplicate of the received packet, Transmitting the generated duplicate packet to the network management device; The network management device receiving a first duplicate packet generated by a first switch among the plurality of switches for a first packet traveling from the server to the user terminal; receiving a second duplicate packet generated by the first switch for a second packet transmitted from the user terminal to the server in response to the first packet; Calculating a propagation delay time of the packet between the user terminal and the relay system based on a difference between a timestamp assigned to the first duplicate packet and a timestamp assigned to the second duplicate packet. A network system comprising:
2. The first switch is a switch that is provided closest to the base station among the plurality of switches.
2. The network system according to claim 1.
3. a header of each packet transmitted between the user terminal and the server is set with information indicating a sequence number, an acknowledgment number, and a segment length; The network management device calculates a propagation delay time of the packet between the user terminal and the relay system based on the difference when an acknowledgment number set in a header of the second duplicate packet matches a sum of a sequence number and a segment length set in a header of the first duplicate packet.
2. The network system according to claim 1.
4. The relay system is based on a multi-access edge computing (MEC) system, The network management device calculates a propagation delay time of a packet in an access network between the user terminal and the MEC infrastructure.
2. The network system according to claim 1.
5. The second packet is a response packet generated due to the user terminal receiving the first packet or an acknowledgement (ACK) packet indicating that the user terminal has received the first packet.
2. The network system according to claim 1.
6. The network management device receiving a third duplicate packet generated by a second switch among the plurality of switches for a third packet traveling from the user terminal to the server; receiving a fourth duplicate packet generated by the second switch for a fourth packet transmitted from the server to the user terminal in response to the third packet; Calculating a propagation delay time of the packet between the second switch and the server based on a difference between a timestamp added to the third duplicate packet and a timestamp added to the fourth duplicate packet.
2. The network system according to claim 1.
7. The network management device receiving two duplicate packets generated by two switches on a path between the user terminal and the server; Calculate the propagation delay time of the packet between the two switches based on the difference between the timestamps assigned to the two duplicate packets.
7. The network system according to claim 6.
8. A network management device that measures a delay in a network including a base station that accommodates a user terminal and a relay system that is connected to the base station, the network management device comprising: the relay system includes a plurality of switches for forwarding received packets and a server for providing services to the user terminals; each switch is configured to generate a duplicate packet by adding a timestamp to a duplicate of a received packet and transmit the duplicate packet to the network management device; a communication interface for receiving a first duplicate packet generated by a first switch among the plurality of switches for a first packet traveling from the server to the user terminal, and a second duplicate packet generated by the first switch for a second packet transmitted from the user terminal to the server in response to the first packet; a delay time calculation unit that calculates a propagation delay time of a packet between the user terminal and the relay system based on a difference between a timestamp assigned to the first duplicate packet and a timestamp assigned to the second duplicate packet; A network management device comprising:
Citation Information
Patent Citations
Network management system, switch and information collection server
JP2022090223A
