Communication load estimation device and communication load estimation method
The communication load estimating device addresses the challenge of estimating load in IoT systems with unknown devices by sending test packets and measuring delay times, enabling accurate load quantification and reducing malfunctions.
Patent Information
- Application Number
- JP2023072968
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-27
- Publication Date
- 2024-11-08
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In IoT systems with devices from multiple manufacturers, accurately estimating the communication load of devices with unknown specifications is challenging, leading to potential malfunctions during system tests.
A communication load estimating device that sends test communication and delay confirmation packets to a device under test, measuring delay times to determine maximum load based on changing communication amounts, and using device-specific estimation to quantify load across various devices.
Effectively estimates the maximum communication load of devices, distinguishing between normal and abnormal states, and quantitatively measures load per device, even when specifications are unknown, reducing the risk of malfunctions.
Smart Images

Figure 2024158097000001_ABST
Abstract
Description
[Technical field]
[0001] The technology disclosed in this specification relates to a technology for estimating a communication load. [Background technology]
[0002] In general, IoT (internet of things) devices build a simple network system within the home using a home router, etc. It is quite conceivable that a network system built in this way will include devices made by multiple manufacturers.
[0003] In such a system, in order for in-house developed equipment to perform without any problems, it is necessary to carry out system tests in advance (see, for example, Patent Documents 1, 2, and 3). If the communication load of the in-house developed equipment is not properly estimated in the system tests, malfunctions (such as operation stoppages or repeated abnormal restarts) may occur in the equipment.
[0004] In addition, there is a good chance that devices that are not developed by the company (and therefore whose specifications are not fully understood) will be connected to the above systems, and the impact that such devices will have on equipment developed by the company must also be taken into consideration. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] Patent No. 4180638 [Patent Document 2] Patent No. 6497782 [Patent Document 3] JP 2020-129736 A Summary of the Invention [Problem to be solved by the invention]
[0006] There are IoT system environments in which various devices are connected, including devices not developed in-house or devices with unpublished specifications. When conducting the above system tests in such an environment, it is difficult to quantitatively measure the load that devices with unpublished specifications place on the test target device.
[0007] Furthermore, in testing to determine whether the device under test is designed to withstand a sufficient load, a huge number of system configurations must be considered in order to measure the load, which increases the cost of building a test environment.
[0008] The technology disclosed in this specification has been made in consideration of the problems described above, and is a technology for effectively estimating a communication load. [Means for solving the problem]
[0009] A communication load estimation device which is a first aspect of the technology disclosed in the present specification is a communication load estimation device which estimates a communication load of a test target device which can be connected to a network, and includes a test communication packet generation unit for generating a test communication packet based on a preset communication volume and a preset test pattern, a delay confirmation packet generation unit for generating a delay confirmation packet for confirming a delay in the test target device, a communication sending unit for transmitting the test communication packet and the delay confirmation packet to the test target device, a delay acquisition unit for acquiring a delay time from when the delay confirmation packet is transmitted from the communication sending unit to when a response packet is received from the test target device which has received the delay confirmation packet, and a maximum load estimation unit for estimating a maximum communication load of the test target device based on the communication volume of the test communication packet at a change point of a transition amount of the delay time corresponding to the test communication packet transmitted a plurality of times from the communication sending unit while changing the communication volume. Effect of the Invention
[0010] According to at least the first aspect of the technique disclosed in the present specification, it is possible to estimate the maximum communication load of a test target device based on the communication volume of test communication packets.
[0011] Furthermore, objects, features, aspects and advantages associated with the technology disclosed herein will become more apparent from the detailed description set forth below and the accompanying drawings. [Brief description of the drawings]
[0012] [Figure 1] 1 is a diagram conceptually illustrating an example of a configuration of a communication load estimation device according to an embodiment. [Diagram 2] 1 is a diagram conceptually illustrating an example of a configuration of a communication load estimation device according to an embodiment. [Diagram 3] 1 is a diagram conceptually illustrating an example of a configuration of a communication load estimation device according to an embodiment. [Figure 4] 1 is a diagram conceptually illustrating an example of a configuration of a communication load estimation device according to an embodiment. [Diagram 5] 1 is a diagram conceptually illustrating an example of a configuration of a communication load estimation device according to an embodiment. [Figure 6] 2 is a diagram illustrating a schematic example of a hardware configuration when the communication load estimation device illustrated in FIG. 1 is actually operated. FIG. [Figure 7] 2 is a diagram illustrating a schematic example of a hardware configuration when the communication load estimation device illustrated in FIG. 1 is actually operated. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] Hereinafter, the embodiments will be described with reference to the accompanying drawings. In the following embodiments, detailed features are shown for the purpose of explaining the technology, but they are merely examples and are not necessarily essential features for enabling the embodiments to be implemented.
[0014] The drawings are schematic, and for the sake of convenience, configurations may be omitted or simplified as appropriate. The size and positional relationship of the configurations shown in different drawings are not necessarily described accurately, and may be changed as appropriate. Hatching may be used in drawings such as plan views that are not cross-sectional views to facilitate understanding of the contents of the embodiments.
[0015] In the following description, the same components are denoted by the same reference numerals, and their names and functions are also the same. Therefore, detailed descriptions thereof may be omitted to avoid duplication.
[0016] Furthermore, in the description in this specification, when a certain component is described as "comprising," "including," or "having," unless otherwise specified, this is not an exclusive expression that excludes the presence of other components.
[0017] Furthermore, even if ordinal numbers such as "first" or "second" are used in the description of this specification, these terms are used for convenience to facilitate understanding of the contents of the embodiments, and the contents of the embodiments are not limited to the orders that may result from these ordinal numbers.
[0018] <First embodiment> A communication load estimation device and a communication load estimation method according to the present embodiment will be described below.
[0019] <Configuration of the communication load estimation device> Fig. 1 is a diagram conceptually illustrating an example of the configuration of a communication load estimation device according to this embodiment. As illustrated in Fig. 1, the communication load estimation device includes a pseudo DoS generator 100 that sends packets to a test target device 200 connected to a network, and the test target device 200, which is a device to be tested. The pseudo DoS generator 100 includes a communication traffic setting unit 101, a communication sending unit 102, a test pattern unit 103, a delay acquisition unit 104, a maximum load estimating unit 105, and an individual device estimating unit 106.
[0020] In FIG. 1, a method in which the pseudo DoS generating device 100 sends a test communication packet to the test target device 200 and a method in which the pseudo DoS generating device 100 sends a packet for checking a delay (a delay check packet) will be described.
[0021] The pseudo DoS generator 100 sends test communication packets to the test target device 200 by using the communication sending unit 102 to send test communication packets of a communication amount set by the communication amount setting unit 101 of the pseudo DoS generator 100 and a test pattern determined by the test pattern unit 103 to the test target device 200. Here, the communication amount setting unit 101 and the test pattern unit 103 function as a test communication packet generating unit that generates test communication packets.
[0022] As a method of sending a delay confirmation packet, in parallel with sending the above-mentioned test communication packet, the pseudo DoS generating device 100 sends a delay confirmation packet to the test target device 200 using the communication sending unit 102. The delay confirmation packet is generated, for example, by the communication amount setting unit 101 or the test pattern unit 103. That is, the communication amount setting unit 101 and the test pattern unit 103 function as a delay confirmation packet generating unit that generates a delay confirmation packet.
[0023] Next, the concept of the load that the above-mentioned two packets (the test communication packet and the delay confirmation packet) impose on the test target device 200 will be described.
[0024] The test target device 200 performs some kind of action on the received test communication packet, including discarding or processing it. The processing here means that, if the test target device 200 determines that the packet is valid, it returns (responds to) some kind of information to the pseudo DoS generator 100.
[0025] On the other hand, the delay check packet sent to the test target device 200 is a packet for measuring delay using the time difference between a request and a response thereto. Therefore, unlike the above test measurement packet, the delay check packet is often a short and simple packet.
[0026] To respond to the request, the test target device 200 sends a response packet to the pseudo DoS generation device 100. A delay may occur during this response if the test target device 200 is under a heavy load while processing the received test communication packet, and it takes time to send the response packet to the pseudo DoS generation device 100.
[0027] Next, a method will be described in which the pseudo DoS generator 100 sends both packets (a test communication packet and a delay confirmation packet) to the test target device 200 and estimates the load caused by the pseudo DoS generator 100 based on the packets.
[0028] In the above example, the pseudo DoS generating device 100 sends a delay confirmation packet. At that time, the delay acquiring unit 104 is used to acquire the current time (sending time). Then, the delay acquiring unit 104 is used to acquire the response packet from the test target device 200 together with the receiving time, so that the delay acquiring unit 104 can acquire the time difference between sending and receiving as the delay time. In this way, the effect of delay on the test communication packet sent to the test target device 200 can be estimated from the sending and receiving time information.
[0029] Next, a method for estimating the maximum communication load of the test target device 200 by applying the above method will be described. The pseudo DoS generator 100 sets a certain test pattern of test measurement packets in the test pattern section 103. This test pattern is generally a pattern that the test target device 200 can easily reply (respond to), and is not a complicated format or a malicious format that makes it difficult for the test target device 200 to reply (respond). However, the size of the test communication packet itself may be changeable.
[0030] In this embodiment, the purpose is to measure the degree of the amount of normal test patterns by sending a large amount of simple normal test patterns and increasing the load on the test target device 200. Therefore, the test patterns are set to be "patterns that the test target device 200 can generally easily respond to."
[0031] This makes it possible to estimate the communication load without taking into account the delay in response caused by the test target device 200 taking a long time to interpret the test pattern. Therefore, when estimating the communication load in a load test pattern based on the amount of DoS or the like, it is desirable to set a simple normal test pattern.
[0032] However, the test patterns are not limited to "patterns that the test target device can generally easily respond to," and by setting them to include malicious test patterns, it becomes possible to estimate the communication load of the test target device 200 in security testing (fuzz testing), including the case where a malicious test pattern is sent to the test target device 200.
[0033] Next, the communication amount to be set by the communication amount setting unit 101 is set as A1. This A1 is a numerical value expressed as a decimal number or the like indicating the communication amount, and its unit is a value such as bps (bits per second). The initial value A, which is the communication amount when starting the test, is set to the smallest possible value.
[0034] Then, the pseudo DoS generation device 100 sends a test communication packet defined by the set test pattern and communication volume to the test target device 200. In addition, the pseudo DoS generation device 100 sends a delay confirmation packet to the test target device 200 in parallel with sending the test communication packet.
[0035] The test target device 200 that receives these packets processes the test communication packets and replies (responses) to the delay confirmation packets. The pseudo DoS generation device 100 that receives the reply (response) from the test target device 200 uses the delay acquisition unit 104 to acquire the delay time T1.
[0036] Next, the pseudo DoS generation device 100 sets A2 as the communication amount obtained by increasing A1 by a few values in the communication amount setting unit 101, and transmits the test communication packet and the delay check packet to the test target device 200 in the same manner as above. Then, the pseudo DoS generation device 100 acquires the delay time T2 based on the reply (response) from the test target device 200. Then, the pseudo DoS generation device 100 repeats such a test N times.
[0037] When the above test is repeated N times, the communication volume A N and A N-1 The difference between this and traffic volume A N-1 and A N-2 This sets the delay time to the delay time T N Up to N pieces can be acquired.
[0038] Next, in order to estimate the maximum communication load of the test target device 200, the above N delay times are input to the maximum load estimating unit 105 of the pseudo DoS generating device 100. Then, the difference between each of the input N delay times is calculated. Specifically, the maximum load estimating unit 105 calculates T2-T1, T3-T2, . . . , T N -T N-1 Calculate.
[0039] If each of the above difference values is a constant value and can be expressed by an arithmetic progression, the maximum load estimating unit 105 expresses the internal state of the test target device 200 as a normal state without determining that the internal state is at the maximum communication load. Then, the pseudo DoS generation device 100 further repeats the above test M times.
[0040] When repeating the above test M times, the communication volume A M and A M-1 The difference between this and traffic volume A M-1 and A M-2 This sets the delay time to the delay time T M Up to MN pieces can be acquired.
[0041] Next, in order to estimate the maximum communication load of the test target device 200, the above MN delay times are input to the maximum load estimating unit 105. Then, the difference between each of the input MN delay times is calculated. Specifically, the maximum load estimating unit 105 calculates T M -T M-1 Calculate the following:
[0042] In this case, the above-mentioned respective difference values do not become constant values, and there arise cases where they cannot be expressed by an arithmetic progression, etc. In such cases, the maximum load estimating unit 105 expresses the internal state of the test target device 200 as an abnormal state.
[0043] A between 1 and M when the above abnormal condition first occurred X The value is expressed as the lowest abnormal state. And, A X Multiplying by a certain threshold, for example 95%, gives 0.95×A X Set the value of to the maximum load estimate.
[0044] The threshold value for multiplication may be a small value such as 90% or 85% in order to move the threshold value far away from the abnormal state. Also, the threshold value for multiplication may be a large value such as 97% in order to reduce the threshold value away from the abnormal state.
[0045] <Second embodiment> A communication load estimation device and a communication load estimation method according to the present embodiment will be described. In the following description, components similar to those described in the above embodiment will be denoted by the same reference numerals, and detailed description thereof will be omitted as appropriate.
[0046] <Configuration of the communication load estimation device> In this embodiment, a method of estimating load for one type of device will be described while applying the method of the first embodiment. FIG. 2 is a diagram conceptually showing an example of the configuration of a communication load estimation device according to this embodiment. As shown in FIG. 2, the communication load estimation device includes a pseudo DoS generation device 100, a test target device 200, a first device 301, and a first device 302 having a load equivalent to that of the first device 301. The first device 301 and the first device 302 are assumed to be the same product or equivalent in terms of communication function. In addition, the first device 301 and the first device 302 are assumed to be devices whose specifications cannot be grasped by the communication load estimation device. The pseudo DoS generation device 100 includes a communication traffic setting unit 101, a communication sending unit 102, a test pattern unit 103, a delay acquisition unit 104, a maximum load estimation unit 105, and an estimation unit for each device 106.
[0047] Fig. 2 is different from Fig. 1 in that a first device 301 and a first device 302 are added. In Fig. 2, devices other than the test target device 200 (the first device 301 and the first device 302) can be added to the communication load estimation device, and the number of devices that can be connected can be estimated.
[0048] In Fig. 2, a first device 301 and a first device 302 are added, but in this embodiment, the initial state is the same as that in Fig. 1. That is, after the initial state, there is a phase in which the first device is added, and the state in which this phase has been performed twice is shown in Fig. 2.
[0049] As described in the first embodiment, the pseudo DoS generator 100 sets a test pattern in the test pattern unit 103. Next, the pseudo DoS generator 100 sets the traffic volume as A1 in the traffic volume setting unit 101. Note that the initial value A when starting the test is set to the smallest possible value.
[0050] Next, the pseudo DoS generation device 100 sends a test communication packet defined by the set test pattern and communication volume to the test target device 200. In addition, the pseudo DoS generation device 100 sends a delay confirmation packet to the test target device 200 in parallel with sending the test communication packet.
[0051] The test target device 200 that receives these packets processes the test communication packets and returns a delay confirmation packet. a1 Get the.
[0052] Next, the process moves to a phase in which the first device 301 is added. In this phase, the pseudo DoS generation device 100 transmits a test communication packet and a delay confirmation packet to the test target device 200 in the same manner as in the previous phases.
[0053] The test target device 200 that receives these packets processes the test communication packets and returns a delay confirmation packet. a2 Get the.
[0054] Furthermore, the process moves to a phase in which the first device 302 (having the same load as the first device 301) is added, and the test communication packet and the delay confirmation packet are sent from the pseudo DoS generation device 100 to the test target device 200 in the same manner as before.
[0055] The test target device 200 that receives these packets processes the test communication packets and returns a delay confirmation packet. a3 Get the.
[0056] Next, the delay time T a1 , delay time T a2 , delay time T a3 The pseudo DoS generating device 100 inputs the three delay times. The device-specific estimation unit 106 of the pseudo DoS generating device 100 then calculates the difference between each of the three input delay times. a2 -T a1 , T a3 -T a2 Calculate.
[0057] When the above-mentioned respective difference values are constant and can be expressed by an arithmetic progression or the like, the device-specific estimate unit 106 regards the delay load as the load per one first device.
[0058] On the other hand, if the above respective difference values are not constant and cannot be expressed by an arithmetic progression or the like, a phase in which a first device is added is executed, and the load per device is estimated based on the change in delay time. Here, α is the load per device. The number of addition phases is changed with a threshold value of 5 to 10. If the addition of the first device alone does not affect the load on the test target device 200, the environment is set so that a load is generated similar to the operation of the actual service or production environment of the communication load estimation device.
[0059] In the first embodiment, the estimated maximum load of the test target device 200 is 0.95×A. X However, α×n<0.95×A X The value n is the number of first devices that can be connected to the communication load estimation apparatus. This value is output from the device-specific estimation unit 106.
[0060] <Third embodiment> A communication load estimation device and a communication load estimation method according to the present embodiment will be described. In the following description, components similar to those described in the above embodiment will be denoted by the same reference numerals, and detailed description thereof will be omitted as appropriate.
[0061] <Configuration of the communication load estimation device> In this embodiment, a method of estimating loads for a plurality of devices will be described while applying the method of the second embodiment. FIG. 3 is a conceptual diagram showing an example of the configuration of a communication load estimation device according to this embodiment. As shown in FIG. 3, the communication load estimation device includes at least a pseudo DoS generating device 100, a test target device 200, a first device 301, a first device 302 having a load equivalent to that of the first device 301, a second device 401, a second device 402 having a load equivalent to that of the second device 401, a third device 501, and a third device 502 having a load equivalent to that of the third device 501. The second device 401 and the second device 402 are assumed to be the same product or have the same equivalent communication function. In addition, the second device 401 and the second device 402 are assumed to be devices whose specifications cannot be grasped from the communication load estimation device. The third device 501 and the third device 502 are assumed to be the same product or have the same equivalent communication function. The third device 501 and the third device 502 are assumed to be devices whose specifications cannot be grasped by the communication load estimation device. The first device, the second device, and the third device are assumed to have different loads. The pseudo DoS generation device 100 includes a communication volume setting unit 101, a communication sending unit 102, a test pattern unit 103, a delay acquisition unit 104, a maximum load estimation unit 105, and an individual device estimation unit 106.
[0062] 3 is different from FIG. 2 in that a second device 401, a second device 402, a third device 501, and a third device 502 are added. In FIG. 3, a plurality of devices (the second device 401, the second device 402, the third device 501, and the third device 502) other than the test target device 200 are added to the communication load estimation device, and the loads of these devices can also be estimated.
[0063] In Fig. 3, second device 401, second device 402, third device 501, and third device 502 are added from Fig. 2, but in this embodiment, the initial state is the same as Fig. 2. That is, after the initial state, there is a phase in which various devices are added, and the state shown in Fig. 3 is the state after this phase has been carried out four times.
[0064] As described in the first embodiment, the pseudo DoS generator 100 sets a test pattern in the test pattern unit 103. Next, the pseudo DoS generator 100 sets the traffic volume as A1 in the traffic volume setting unit 101. Note that the initial value A when starting the test is set to the smallest possible value.
[0065] Next, the pseudo DoS generation device 100 sends a test communication packet defined by the set test pattern and communication volume to the test target device 200. In addition, the pseudo DoS generation device 100 sends a delay confirmation packet to the test target device 200 in parallel with sending the test communication packet.
[0066] The test target device 200 that receives these packets processes the test communication packets and returns a delay confirmation packet. b1 Get the.
[0067] Next, the process moves to a phase of adding the second device 401. In this phase, the pseudo DoS generation device 100 transmits a test communication packet and a delay confirmation packet to the test target device 200 in the same manner as in the previous phases.
[0068] The test target device 200 that receives these packets processes the test communication packets and returns a delay confirmation packet. b2 Get the.
[0069] Furthermore, the process moves to a phase in which a second device 402 (having the same load as the second device 401) is added, and test communication packets and delay confirmation packets are sent from the pseudo DoS generation device 100 to the test target device 200 in the same manner as before.
[0070] The test target device 200 that receives these packets processes the test communication packets and returns a delay confirmation packet. b3 Get the.
[0071] Next, the delay time T b1 , delay time T b2 , delay time T b3 The pseudo DoS generating device 100 inputs the three delay times. The device-specific estimation unit 106 of the pseudo DoS generating device 100 then calculates the difference between each of the three input delay times. b2 -T b1 , T b3 -T b2 Calculate.
[0072] When the above-mentioned respective difference values are constant and can be expressed by an arithmetic progression or the like, the device-specific estimation unit 106 regards the delay load as the load per second device.
[0073] On the other hand, if the above respective difference values are not constant and cannot be expressed by an arithmetic progression or the like, a phase in which a second device is added is executed, and the load per device is estimated based on the change in delay time. Here, β is the load per device. The number of phases to be added is changed with a threshold value of 5 to 10. If the addition of the second device alone does not affect the load on the test target device 200, the environment is set so that a load is generated similar to the operation of the actual service or production environment of the communication load estimation device.
[0074] In the first embodiment, the estimated maximum load of the test target device 200 is 0.95×A. X However, α×n1+β×n2<0.95×A X The n1 that satisfies the above is the number of first devices that can be connected to the communication load estimation device, and the n2 that satisfies the above is the number of second devices that can be connected to the communication load estimation device. The value is output from the device-specific estimation unit 106.
[0075] Furthermore, the process moves to a phase in which the third device 501 is added. In this phase, the pseudo DoS generation device 100 transmits a test communication packet and a delay confirmation packet to the test target device 200 in the same manner as in the previous phases.
[0076] The test target device 200 that receives these packets processes the test communication packets and returns a delay confirmation packet. c2 Get the.
[0077] Furthermore, the process moves to a phase in which a third device 502 (having the same load as the third device 501) is added, and test communication packets and delay confirmation packets are sent from the pseudo DoS generation device 100 to the test target device 200 in the same manner as before.
[0078] The test target device 200 that receives these packets processes the test communication packets and returns a delay confirmation packet. c3 Get the.
[0079] Next, the delay time T b3 , delay time T c2 , delay time T c3 The pseudo DoS generating device 100 inputs the three delay times. The device-specific estimation unit 106 of the pseudo DoS generating device 100 then calculates the difference between each of the three input delay times. c2 -T b3 , T c3 -T c2 Calculate.
[0080] When the above-mentioned respective difference values are constant and can be expressed by an arithmetic progression or the like, the device-specific estimation unit 106 regards the delay load as the load per unit of the third device.
[0081] On the other hand, if the above respective difference values are not constant and cannot be expressed by an arithmetic progression or the like, a phase in which a third device is added is executed, and the load per device is estimated based on the change in delay time. Here, γ is the load per device. The number of addition phases is changed with a threshold value of 5 to 10. If the addition of the third device alone does not affect the load on the test target device 200, the environment is set so that a load is generated similar to the operation of the actual service or production environment of the communication load estimation device.
[0082] In the first embodiment, the estimated maximum load of the test target device 200 is 0.95×A. X However, α×n1+β×n2+γ×n3<0.95×A Xn1, which satisfies the above, is the number of first devices that can be connected to the communication load estimation device, n2, which satisfies the above, is the number of second devices that can be connected to the communication load estimation device, and n3, which satisfies the above, is the number of third devices that can be connected to the communication load estimation device. The relevant values are output from the device-specific estimation unit 106.
[0083] In addition, even if a fourth or fifth device with a different load is added, the following equation is obtained: α×n1+β×n2+γ×n3+…ω×n n <0.95×A X Similarly, the number of devices that can be connected to the communication load estimation device can be estimated using the above-mentioned methods.
[0084] <Fourth embodiment> A communication load estimation device and a communication load estimation method according to the present embodiment will be described. In the following description, components similar to those described in the above embodiment will be denoted by the same reference numerals, and detailed description thereof will be omitted as appropriate.
[0085] <Configuration of the communication load estimation device> In this embodiment, a method for efficiently estimating the maximum communication load of the test target device 200 while applying the method of the first embodiment will be described.
[0086] In the first embodiment, the communication amount setting unit 101 sets the communication amount to A1, and further sets A2, which is increased by several values from A1. On the other hand, in the present embodiment, in addition to A2, A3 is set, which is increased significantly to the extent that the test target device 200 shown in the first embodiment goes into an abnormal state. That is, the communication amount is increased significantly from A1, which is sufficiently smaller than the maximum communication load of the test target device 200, to A2, which is sufficiently larger than the maximum communication load of the test target device 200.
[0087] Next, the communication amount setting unit 101 obtains the difference between A2 and A1, and sets the communication amount to A4, which is 50% of the difference. Then, the communication amount setting unit 101 sets the communication amount to A4, and judges whether the test target device 200 is in a normal state or an abnormal state based on the communication amount. The normality or abnormality is judged by the maximum load estimating unit 105, and if (A4-A2) / (A2-A1)<<(T4-T2) / (T2-T1) is satisfied, it is judged to be in an abnormal state, and if not, it is judged to be in a normal state.
[0088] If the test target device 200 is in an abnormal state, the maximum communication load of the test target device 200 exists between A4 and A2. The communication amount setting unit 101 obtains the difference between A4 and A2, sets the communication amount that is 50% of the difference as A5, and repeats the judgment of whether the test target device 200 is in a normal state or an abnormal state at the communication amount. When the test target device 200 becomes in a normal state, the communication amount A5 is set as A5. N Let be the maximum load estimate.
[0089] On the other hand, if the state is normal, the maximum communication load exists between A3 and A4. The communication amount setting unit 101 obtains the difference between A3 and A4, sets the communication amount to A5 which is 50% of the difference, and repeats the judgment of whether the test target device 200 is in the normal state or the abnormal state at the communication amount. N-1 Let be the maximum load estimate.
[0090] By repeating this method, the maximum communication load of the test target device 200 can be estimated more efficiently than by repeatedly setting A2 as the communication volume obtained by increasing A1 by a certain value as shown in the first embodiment.
[0091] <Fifth embodiment> A communication load estimation device and a communication load estimation method according to the present embodiment will be described. In the following description, components similar to those described in the above embodiment will be denoted by the same reference numerals, and detailed description thereof will be omitted as appropriate.
[0092] <Configuration of the communication load estimation device> In this embodiment, a different method for distinguishing between a normal state and an abnormal state while applying the method of the first embodiment will be described.
[0093] In the first embodiment, in order to estimate the maximum communication load, N delay times are input to the maximum load estimating unit 105, and the difference between each is calculated. If the values of these differences can be expressed as an arithmetic progression, which is a constant value, this is expressed as a normal state.
[0094] Here, the difference may be expressed by any number sequence, and various methods may be applied. Specifically, an approximation curve such as a linear approximation is created from the calculated delay time, and a state that significantly deviates from the approximation curve is determined as an abnormal state, and a state that does not deviate from the approximation curve is determined as a normal state, so that the maximum communication load can be obtained from the communication volume of the test communication packets at the change point between the abnormal state and the normal state.
[0095] The method of the second or third embodiment can also be used to distinguish between normal and abnormal states of different devices.
[0096] Sixth embodiment A communication load estimation device and a communication load estimation method according to the present embodiment will be described. In the following description, components similar to those described in the above embodiment will be denoted by the same reference numerals, and detailed description thereof will be omitted as appropriate.
[0097] <Configuration of the communication load estimation device> Fig. 4 is a diagram conceptually illustrating an example of the configuration of a communication load estimation device according to this embodiment. As illustrated in Fig. 4, the communication load estimation device includes at least a pseudo DoS generation device 100A, a test target device 200, and a communication load estimation device 600. The pseudo DoS generation device 100A includes a communication traffic setting unit 101, a communication sending unit 102, a test pattern unit 103, and a delay acquisition unit 104. The communication load estimation device 600 includes a maximum load estimation unit 605 and an individual device estimation unit 606. As illustrated in Fig. 4, the maximum load estimation unit and the individual device estimation unit are separated from the pseudo DoS generation device 100A, thereby increasing the degree of freedom in the device configuration.
[0098] 4, a method in which the pseudo DoS generating device 100A sends a test communication packet to the test target device 200 and a method in which the pseudo DoS generating device 100A sends a delay confirmation packet will be described.
[0099] The method by which the pseudo DoS generating device 100A sends test communication packets to the test target device 200 is as follows: the pseudo DoS generating device 100A sends test communication packets of a communication volume set by the communication volume setting unit 101 of the pseudo DoS generating device 100A and a test pattern determined by the test pattern unit 103 to the test target device 200 using the communication sending unit 102.
[0100] As a method of sending the delay confirmation packet, the pseudo DoS generating device 100A sends the delay confirmation packet to the test target device 200 using the communication sending unit 102 in parallel with the sending of the above-mentioned test communication packet.
[0101] Next, the concept of the load that the above-mentioned two packets (the test communication packet and the delay confirmation packet) impose on the test target device 200 will be described.
[0102] The test target device 200 performs some kind of processing on the received test communication packet, including discarding or processing it. The processing here means that if the test target device 200 determines that the packet is valid, it returns (responds to) some kind of information to the pseudo DoS generator 100A.
[0103] On the other hand, the delay check packet sent to the test target device 200 is a packet for measuring delay using the time difference between a request and a response thereto. Therefore, unlike the above test measurement packet, the delay check packet is often a short and simple packet.
[0104] To respond to the request, the test target device 200 sends a response packet to the pseudo DoS generation device 100A. A delay may occur in this response if a large load is placed on the test target device 200 in processing the received test communication packet, and it takes time to send the response packet to the pseudo DoS generation device 100A.
[0105] Next, a method will be described in which the pseudo DoS generation device 100A sends both packets (a test communication packet and a delay confirmation packet) to the test target device 200 and estimates the load caused by the pseudo DoS generation device 100A based on the packets.
[0106] In the above example, the pseudo DoS generating device 100A sends a delay confirmation packet. At that time, the delay acquiring unit 104 is used to acquire the current time (sending time). Then, the delay acquiring unit 104 is used to acquire the response packet from the test target device 200 together with the receiving time, thereby making it possible to acquire the time difference between sending and receiving. In this way, the effect of delay on the test communication packet sent to the test target device 200 can be estimated from the sending and receiving time information.
[0107] Next, a method for estimating the maximum communication load of the test target device 200 by applying the above method will be described. The pseudo DoS generator 100A sets a certain test pattern of test measurement packets in the test pattern section 103. This test pattern is generally a pattern that the test target device 200 can easily reply (respond to), and is not a complicated format or a malicious format that makes it difficult for the test target device 200 to reply (respond). However, the size of the test communication packet itself may be changeable.
[0108] Next, the communication amount to be set by the communication amount setting unit 101 is set as A1. This A1 is a numerical value expressed as a decimal number or the like indicating the communication amount, and its unit is a value such as bps (bits per second). The initial value A, which is the communication amount when starting the test, is set to the smallest possible value.
[0109] Then, the pseudo DoS generation device 100A sends a test communication packet defined by the set test pattern and communication volume to the test target device 200. In addition, the pseudo DoS generation device 100 sends a delay confirmation packet to the test target device 200 in parallel with sending the test communication packet.
[0110] The test target device 200 that receives these packets processes the test communication packets and returns a delay confirmation packet. The pseudo DoS generation device 100A that receives the reply from the test target device 200 uses the delay acquisition unit 104 to acquire the delay time T1.
[0111] Next, the pseudo DoS generation device 100A sets A2 as the communication amount obtained by increasing A1 by a few values in the communication amount setting unit 101, and transmits the test communication packet and the delay check packet to the test target device 200 in the same manner as above. Then, the pseudo DoS generation device 100A obtains the delay time T2 based on the reply (response) from the test target device 200. Then, the pseudo DoS generation device 100A repeats such a test N times.
[0112] When the above test is repeated N times, the communication volume A N and A N-1 The difference between this and traffic volume A N-1 and A N-2 This sets the delay time to the delay time T N Up to N pieces can be acquired.
[0113] Next, in order to estimate the maximum communication load of the test target device 200, the above N delay times are input to the maximum load estimating unit 605 of the communication load estimating device 600. Then, the difference between each of the input N delay times is calculated. Specifically, the maximum load estimating unit 105 calculates T2-T1, T3-T2, . . . , T N -T N-1 Calculate.
[0114] If the above-mentioned respective difference values are constant and can be expressed by an arithmetic progression or the like, the maximum load estimating unit 605 expresses the internal state of the test target device 200 as a normal state without determining that the internal state is at the maximum communication load. Then, the pseudo DoS generating device 100A further repeats the above-mentioned test M times.
[0115] When repeating the above test M times, the communication volume A M and A M-1 The difference between this and traffic volume A M-1 and A M-2 This sets the delay time to the delay time T M Up to MN pieces can be acquired.
[0116] Next, in order to estimate the maximum communication load of the test target device 200, the above MN delay times are input to the maximum load estimating unit 605. Then, the difference between each of the input MN delay times is calculated. Specifically, the maximum load estimating unit 105 calculates T M -T M-1 Calculate the following:
[0117] In this case, the above-mentioned respective difference values do not become constant values, and there arise cases where they cannot be expressed by an arithmetic progression, etc. In such a case, the maximum load estimating unit 605 expresses the internal state of the test target device 200 as an abnormal state.
[0118] A between 1 and M when the above abnormal condition first occurred X The value is expressed as the lowest abnormal state. And, A X Multiplying by a certain threshold, for example 95%, gives 0.95×A XSet the value of to the maximum load estimate.
[0119] The threshold value for multiplication may be a small value such as 90% or 85% in order to move the threshold value far away from the abnormal state. Also, the threshold value for multiplication may be a large value such as 97% in order to reduce the threshold value away from the abnormal state.
[0120] <Seventh embodiment> A communication load estimation device and a communication load estimation method according to the present embodiment will be described. In the following description, components similar to those described in the above embodiment will be denoted by the same reference numerals, and detailed description thereof will be omitted as appropriate.
[0121] <Configuration of the communication load estimation device> In this embodiment, a method of estimating load for one type of device will be described while applying the method of the sixth embodiment. FIG. 5 is a diagram conceptually showing an example of the configuration of a communication load estimation device according to this embodiment. As shown in FIG. 5, the communication load estimation device includes a pseudo DoS generation device 100A, a test target device 200, a communication load estimation device 600, a first device 301, and a first device 302 having a load equivalent to that of the first device 301. The first device 301 and the first device 302 are assumed to be the same product or have the same equivalent communication function. The pseudo DoS generation device 100A includes a communication traffic setting unit 101, a communication sending unit 102, a test pattern unit 103, and a delay acquisition unit 104. The communication load estimation device 600 includes a maximum load estimation unit 605 and an individual device estimation unit 606.
[0122] Fig. 5 is different from Fig. 4 in that a first device 301 and a first device 302 are added. In Fig. 5, devices other than the test target device 200 (the first device 301 and the first device 302) are added to the communication load estimation device, and the number of devices that can be connected can be estimated.
[0123] In Fig. 5, first device 301 and first device 302 are added, but in this embodiment, the initial state is the same as that in Fig. 4. That is, after the initial state, there is a phase in which the first device is added, and the state in which this phase has been performed twice is shown in Fig. 5.
[0124] As described in the sixth embodiment, the pseudo DoS generator 100A sets a test pattern in the test pattern unit 103. Next, the pseudo DoS generator 100A sets the traffic volume as A1 in the traffic volume setting unit 101. Note that the initial value A when starting the test is set to the smallest possible value.
[0125] Next, the pseudo DoS generation device 100A sends a test communication packet defined by the set test pattern and communication volume to the test target device 200. In addition, the pseudo DoS generation device 100A sends a delay confirmation packet to the test target device 200 in parallel with sending the test communication packet.
[0126] The test target device 200 that receives these packets processes the test communication packets and returns a delay confirmation packet. a1 Get the.
[0127] Next, the process moves to a phase of adding the first device 301. In this phase, a test communication packet and a delay confirmation packet are sent from the pseudo DoS generation device 100A to the test target device 200 in the same manner as in the previous phases.
[0128] The test target device 200 that receives these packets processes the test communication packets and returns a delay confirmation packet. a2 Get the.
[0129] Furthermore, the process moves to a phase in which the first device 302 (having the same load as the first device 301) is added, and the test communication packet and the delay confirmation packet are sent from the pseudo DoS generation device 100A to the test target device 200 in the same manner as before.
[0130] The test target device 200 that receives these packets processes the test communication packets and returns a delay confirmation packet. a3 Get the.
[0131] Next, in order to estimate the load on each device, the delay time T a1 , delay time T a2 , delay time T a3 The communication load estimator 600 inputs the three delay times. The device-specific estimator 606 of the communication load estimator 600 calculates the difference between the three delay times. a2 -T a1 , T a3 -T a2 Calculate.
[0132] When the above-mentioned respective difference values are constant and can be expressed by an arithmetic progression or the like, the device-specific estimation unit 606 regards the delay load as the load per one first device.
[0133] On the other hand, if the above respective difference values are not constant and cannot be expressed by an arithmetic progression or the like, a phase in which a first device is added is executed, and the load per device is estimated based on the change in delay time. Here, α is the load per device. The number of addition phases is changed with a threshold value of 5 to 10. If the addition of the first device alone does not affect the load on the test target device 200, the environment is set so that a load is generated similar to the operation of the actual service or production environment of the communication load estimation device.
[0134] In the sixth embodiment, the estimated maximum load of the test target device 200 is 0.95×A. X However, α×n<0.95×A X The value n is the number of first devices that can be connected to the communication load estimation apparatus. This value is output from the device-specific estimation unit 606.
[0135] <Eighth embodiment> A communication load estimation device and a communication load estimation method according to the present embodiment will be described. In the following description, components similar to those described in the above embodiment will be denoted by the same reference numerals, and detailed description thereof will be omitted as appropriate.
[0136] <Configuration of the communication load estimation device> The third, fourth and fifth embodiments can be applied to the sixth and seventh embodiments as appropriate.
[0137] <Hardware configuration of the communication load estimation device> 6 and 7 are diagrams each illustrating a schematic hardware configuration when the communication load estimation device shown in FIGS. 1 to 5 is actually operated.
[0138] Note that the hardware configurations illustrated in Figures 6 and 7 may not match the numbers, etc., of the configuration illustrated in Figure 1, but this is because the configuration illustrated in Figure 1 shows conceptual units.
[0139] Therefore, at least the following cases can be envisaged: a configuration illustrated in FIG. 1 is composed of multiple hardware configurations illustrated in FIG. 6 and FIG. 7; a configuration illustrated in FIG. 1 corresponds to a part of a hardware configuration illustrated in FIG. 6 and FIG. 7; and further, multiple configurations illustrated in FIG. 1 are provided in a single hardware configuration illustrated in FIG. 6 and FIG. 7.
[0140] In Fig. 6, a processing circuit 1102A that performs calculations and a storage device 1103 that can store information are shown as a hardware configuration for realizing the communication traffic setting unit 101, the communication sending unit 102, the test pattern unit 103, the delay acquisition unit 104, the maximum load estimating unit 105, and the device-specific estimating unit 106 in Fig. 1. This configuration is the same in any of the above embodiments.
[0141] In Fig. 7, a processing circuit 1102B that performs calculations is shown as a hardware configuration for realizing the communication traffic setting unit 101, the communication sending unit 102, the test pattern unit 103, the delay acquisition unit 104, the maximum load estimating unit 105, and the device-specific estimating unit 106 in Fig. 1. This configuration is the same in any of the above embodiments.
[0142] The storage device 1103 may be, for example, a memory (recording medium) including a hard disk drive (i.e., HDD), random access memory (i.e., RAM), read only memory (i.e., ROM), flash memory, volatile or non-volatile semiconductor memory such as erasable programmable read only memory (EPROM) and electrically erasable programmable read-only memory (EEPROM), a magnetic disk, a flexible disk, an optical disk, a compact disk, a mini disk, or a DVD, or any recording medium to be used in the future.
[0143] The processing circuit 1102A may execute a program stored in the storage device 1103, an external CD-ROM, an external DVD-ROM, or an external flash memory, etc. That is, it may be, for example, a central processing unit (CPU), a microprocessor, a microcomputer, or a digital signal processor (DSP).
[0144] When the processing circuit 1102A executes a program stored in the storage device 1103, an external CD-ROM, an external DVD-ROM, or an external flash memory, the communication traffic setting unit 101, the communication sending unit 102, the test pattern unit 103, the delay acquisition unit 104, the maximum load estimating unit 105, and the device-specific estimating unit 106 are realized by software, firmware, or a combination of software and firmware, in which the program stored in the storage device 1103 is executed by the processing circuit 1102A. Note that the functions of the communication traffic setting unit 101, the communication sending unit 102, the test pattern unit 103, the delay acquisition unit 104, the maximum load estimating unit 105, and the device-specific estimating unit 106 may be realized, for example, by a plurality of processing circuits working together.
[0145] The software and firmware may be written as a program and stored in the storage device 1103. In this case, the processing circuit 1102A realizes the above-mentioned functions by reading and executing the program stored in the storage device 1103. In other words, the storage device 1103 may store a program that, when executed by the processing circuit 1102A, results in the above-mentioned functions being realized.
[0146] The processing circuitry 1102B may also be dedicated hardware, i.e., a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or a combination thereof, for example.
[0147] When the processing circuit 1102B is a dedicated hardware, the communication traffic setting unit 101, the communication sending unit 102, the test pattern unit 103, the delay acquisition unit 104, the maximum load estimating unit 105, and the device-specific estimating unit 106 are realized by the operation of the processing circuit 1102B. Note that the functions of the communication traffic setting unit 101, the communication sending unit 102, the test pattern unit 103, the delay acquisition unit 104, the maximum load estimating unit 105, and the device-specific estimating unit 106 may be realized by separate circuits or by a single circuit.
[0148] In addition, the functions of the communication volume setting unit 101, the communication sending unit 102, the test pattern unit 103, the delay acquisition unit 104, the maximum load estimation unit 105 and the device-specific estimation unit 106 may be realized in part in a processing circuit 1102A that executes a program stored in a memory device 1103, and in part in a processing circuit 1102B that is dedicated hardware.
[0149] <Effects of the above-described embodiments> Next, examples of effects produced by the above-described embodiments are shown. In the following description, the effects are described based on the specific configurations shown as examples in the above-described embodiments, but may be replaced with other specific configurations shown as examples in this specification as long as the same effects are produced. In other words, for convenience, only one of the corresponding specific configurations may be described as a representative below, but the representatively described specific configuration may be replaced with another corresponding specific configuration.
[0150] Furthermore, the replacement may be made across a number of embodiments, that is, configurations shown as examples in different embodiments may be combined to produce the same effect.
[0151] According to the embodiment described above, the communication load estimation device includes a test communication packet generation unit, a delay confirmation packet generation unit, a communication sending unit 102, a delay acquisition unit 104, and a maximum load estimation unit 105 (or a maximum load estimation unit 605). Here, the test communication packet generation unit is a functional unit realized by, for example, the communication amount setting unit 101 and the test pattern unit 103. Also, the delay confirmation packet generation unit is a functional unit realized by, for example, the communication amount setting unit 101 and the test pattern unit 103. The test communication packet generation unit generates a test communication packet based on a communication amount set in advance and a test pattern set in advance. The delay confirmation packet generation unit generates a delay confirmation packet for confirming a delay of the test target device 200. The communication sending unit 102 transmits the test communication packet and the delay confirmation packet to the test target device 200. The delay acquisition unit 104 acquires a delay time from when the delay confirmation packet is transmitted from the communication sending unit 102 to when a response packet is received from the test target device 200 that has received the delay confirmation packet. The maximum load estimating unit 105 acquires a delay time corresponding to the test communication packets transmitted multiple times while changing the communication volume from the communication sending unit 102. Then, the maximum load estimating unit 105 obtains the communication volume of the test communication packets at the change point of the transition volume of the delay time, and estimates (estimates) the maximum communication load of the test target device 200 based on the communication volume.
[0152] According to the embodiment described above, the communication load estimation device includes a processing circuit 1102A that executes a program, and a storage device 1103 that stores the program to be executed. The processing circuit 1102A executes the program to realize the following operations.
[0153] That is, a test communication packet is generated based on a preset communication amount and a preset test pattern. Then, a delay check packet for checking the delay of the test target device 200 is generated. Then, the test communication packet and the delay check packet are transmitted to the test target device 200. Then, a delay time from when the delay check packet is transmitted to when a response packet is received from the test target device 200 that has received the delay check packet is acquired. Then, the maximum communication load of the test target device 200 is estimated based on the communication amount of the test communication packet at a change point of the transition amount of the delay time corresponding to the test communication packet transmitted multiple times while changing the communication amount.
[0154] Furthermore, according to the embodiment described above, the communication load estimating device includes the processing circuit 1102B, which is dedicated hardware. The processing circuit 1102B, which is dedicated hardware, performs the following operations.
[0155] That is, the processing circuit 1102B, which is dedicated hardware, generates a test communication packet based on a preset communication amount and a preset test pattern. Then, it generates a delay check packet for checking the delay of the test target device 200. Then, it transmits the test communication packet and the delay check packet to the test target device 200. Then, it obtains the delay time from when the delay check packet is transmitted to when a response packet is received from the test target device 200 that received the delay check packet. Then, it estimates (estimates) the maximum communication load of the test target device 200 based on the communication amount of the test communication packet at the change point of the transition amount of the delay time corresponding to the test communication packet transmitted multiple times while changing the communication amount.
[0156] With this configuration, the communication load of the test target device 200 can be defined as an abnormal state in which the device exceeds that load, and a normal state in which the device withstands that load, and the communication volume of the test communication packet that is closest to an abnormal state among the normal states (the test communication packet in the least abnormal state) can be estimated as the maximum communication load.
[0157] Furthermore, the same effect can be achieved even if other configurations, examples of which are shown in this specification, are appropriately added to the above configuration, i.e., even if other configurations in this specification that were not mentioned as the above configuration are appropriately added.
[0158] Furthermore, according to the embodiment described above, the maximum load estimating unit 105 estimates the maximum communication load of the test target device 200 based on the communication volume of the test communication packets at the change point of the transition amount of the delay time corresponding to the test communication packets transmitted multiple times while changing the communication volume by the same amount from the communication sending unit 102. According to such a configuration, the communication volume at the timing when the regularity of the transition amount of the delay time corresponding to the test communication packets whose communication volume is changed by the same amount changes can be set as the maximum communication load of the test target device 200.
[0159] Furthermore, according to the embodiment described above, the communication load estimation device includes a plurality of first devices 301 (or first devices 302) having the same load, and an individual device estimation unit 106 (or individual device estimation unit 606). The individual device estimation unit 106 calculates the load per first device 301 based on the transition amount between the delay time in a state where no first device 301 is connected, the delay time in a state where one first device 301 is connected, and the delay time in a state where two first devices 301 are connected. With this configuration, when a device not developed in-house or a device whose specifications are not disclosed is included, the load per device can be quantitatively calculated in a simple manner.
[0160] Furthermore, according to the embodiment described above, the device-specific estimation unit 106 (or the device-specific estimation unit 606) outputs the number of connectable first devices 301 so that the total load of the first devices 301 is smaller than the maximum communication load of the test target device 200. With such a configuration, it is possible to specify the number of devices of one type connectable to the communication load estimation device.
[0161] Furthermore, according to the embodiment described above, the communication load estimation device includes a plurality of second devices 401 (or second devices 402) with the same load. Here, the load of the second devices 401 is different from the load of the first device 301. Then, the device-specific estimation unit 106 outputs the number of connectable first devices 301 and second devices 401 such that the sum of the loads of the first device 301 and the second device 401 is smaller than the maximum communication load of the test target device 200. With such a configuration, the number of multiple types of devices connectable to the communication load estimation device can be individually identified.
[0162] Furthermore, according to the embodiment described above, the maximum load estimating unit 105 estimates the maximum communication load of the test target device 200 based on the communication volume of the test communication packets at the change point of the transition volume of the delay time corresponding to the test communication packets transmitted from the communication sending unit 102 with a first communication volume sufficiently smaller than the maximum communication load of the test target device 200 and a second communication volume sufficiently larger than the maximum communication load of the test target device 200. According to such a configuration, the maximum communication load of the test target device 200 can be estimated more efficiently than when A2 is set as the communication volume increased by some values from A1.
[0163] Furthermore, according to the embodiment described above, the maximum load estimating unit 105 generates an approximation curve based on delay times corresponding to test communication packets transmitted multiple times from the communication sending unit 102 while changing the communication volume, and estimates the maximum communication load of the test target device 200 based on the communication volume of the test communication packets at points deviating from the approximation curve. With this configuration, it is possible to estimate the maximum communication load of the test target device 200 based on deviations from various approximation curves, not limited to the case expressed by an arithmetic progression.
[0164] Furthermore, according to the embodiment described above, the communication load estimation device includes the pseudo DoS generation device 100A and a communication load estimation device 600. The pseudo DoS generation device 100A includes a test communication packet generation unit, a delay check packet generation unit, a communication sending unit 102, and a delay acquisition unit 104. The communication load estimation device 600 includes at least a maximum load estimation unit 605. According to this configuration, the maximum load estimation unit and the device-specific estimation unit are separated from the pseudo DoS generation device 100A, thereby increasing the degree of freedom in device configuration.
[0165] According to the embodiment described above, in the communication load estimation method, a test communication packet is generated based on a preset communication volume and a preset test pattern. Then, a delay check packet for checking the delay of the test target device 200 is generated. Then, the test communication packet and the delay check packet are transmitted to the test target device 200. Then, a delay time from when the delay check packet is transmitted to when a response packet is received from the test target device 200 that has received the delay check packet is obtained. Then, the maximum communication load of the test target device 200 is estimated (estimated) based on the communication volume of the test communication packet at a change point of the transition amount of the delay time corresponding to the test communication packet transmitted multiple times while changing the communication volume.
[0166] With this configuration, the communication load of the test target device 200 can be defined as an abnormal state in which the device exceeds that load, and a normal state in which the device withstands that load, and the communication volume of the test communication packet that is closest to an abnormal state among the normal states (the test communication packet in the least abnormal state) can be estimated as the maximum communication load.
[0167] Unless otherwise specified, the order in which the processes are performed may be changed.
[0168] Furthermore, even if other configurations, examples of which are shown in this specification, are appropriately added to the above configuration, i.e., other configurations in this specification that were not mentioned as the above configuration are appropriately added, the same effect can be produced.
[0169] <Modifications of the above-described embodiments> In the embodiments described above, the dimensions, shapes, relative positional relationships, and implementation conditions of each component may be described, but these are merely examples in all aspects and are not limiting.
[0170] Therefore, countless modifications and equivalents not shown as examples are assumed within the scope of the technology disclosed in the present specification, including, for example, modifying, adding, or omitting at least one component, and further, extracting at least one component in at least one embodiment and combining it with a component in another embodiment.
[0171] Furthermore, unless a contradiction arises, when it is stated in the above-described embodiments that "one" component is provided, "one or more" of that component may be provided.
[0172] Furthermore, each component in the embodiments described above is a conceptual unit, and the scope of the technology disclosed in this specification includes cases where one component is made up of multiple structures, where one component corresponds to a part of a structure, and even where multiple components are provided in one structure.
[0173] Furthermore, each of the components in the embodiments described above includes structures having other structures or shapes as long as they perform the same function.
[0174] Furthermore, the descriptions in this specification are incorporated by reference for all purposes related to the present technology, and none of them are admitted to be prior art.
[0175] Furthermore, each of the components described in the above embodiments is envisioned as either software or firmware, or as corresponding hardware, and as software, is referred to as, for example, a "unit," and as hardware, is referred to as, for example, a "processing circuit" (circuitry).
[0176] Furthermore, the technology disclosed in this specification may also be implemented in a form in which each component is distributed across multiple devices, that is, in a form such as a system that is a combination of multiple devices.
[0177] Various aspects of the present disclosure are summarized below as appendices.
[0178] (Appendix 1) A communication load estimation device that estimates a communication load of a test target device that can be connected to a network, a test communication packet generating unit for generating test communication packets based on a preset communication amount and a preset test pattern; a delay confirmation packet generating unit for generating a delay confirmation packet for confirming a delay in the test target device; a communication sending unit for sending the test communication packet and the delay confirmation packet to the test target device; a delay acquisition unit for acquiring a delay time from when the delay confirmation packet is transmitted from the communication sending unit until when a response packet is received from the test target device that has received the delay confirmation packet; a maximum load estimating unit for estimating a maximum communication load of the test target device based on the communication volume of the test communication packet at a change point of the transition amount of the delay time corresponding to the test communication packet transmitted a plurality of times while changing the communication volume from the communication sending unit, Communication load estimation device.
[0179] (Appendix 2) A communication load estimation device according to claim 1, the maximum load estimating unit estimates the maximum communication load of the test target device based on the communication volume of the test communication packet at a change point of the transition amount of the delay time corresponding to the test communication packet transmitted a plurality of times while changing the communication volume by the same amount each time from the communication sending unit; Communication load estimation device.
[0180] (Appendix 3) A communication load estimation device according to claim 1 or 2, A plurality of first devices that are equivalent loads; and an individual device estimating unit for calculating a load per one of the first devices based on a transition amount between the delay time in a state where the first device is not connected, the delay time in a state where one of the first devices is connected, and the delay time in a state where two of the first devices are connected. Communication load estimation device.
[0181] (Appendix 4) A communication load estimation device according to claim 3, the device-specific estimation unit outputs the number of the first devices that can be connected so that a total load of the first devices is smaller than the maximum communication load of the test target device. Communication load estimation device.
[0182] (Appendix 5) A communication load estimation device according to claim 3 or 4, Further comprising a plurality of second devices each of which is an equivalent load; a load of the second device is different from a load of the first device; the device-specific estimation unit outputs the number of the first device and the second device that can be connected so that a total load of the first device and the second device is smaller than the maximum communication load of the test target device. Communication load estimation device.
[0183] (Appendix 6) A communication load estimation device according to any one of appendixes 1 to 5, the maximum load estimating unit estimates the maximum communication load of the test target device based on the communication volume of the test communication packet at a change point of the transition amount of the delay time corresponding to the test communication packet transmitted from the communication sending unit with a first communication volume sufficiently smaller than the maximum communication load of the test target device and a second communication volume sufficiently larger than the maximum communication load of the test target device; Communication load estimation device.
[0184] (Appendix 7) A communication load estimation device according to any one of appendixes 1 to 6, the maximum load estimating unit generates an approximation curve based on the delay time corresponding to the test communication packet transmitted a plurality of times from the communication transmitting unit while changing the communication volume, and estimates the maximum communication load of the test target device based on the communication volume of the test communication packet at a point deviating from the approximation curve. Communication load estimation device.
[0185] (Appendix 8) A communication load estimation device according to any one of appendixes 1 to 7, The communication load estimation device, a pseudo DoS generating device including the test communication packet generating unit, the delay confirmation packet generating unit, the communication sending unit, and the delay acquiring unit; a communication load estimating device including at least the maximum load estimating unit; Communication load estimation device.
[0186] (Appendix 9) A communication load estimation method for estimating a communication load of a test target device connectable to a network, generating test communication packets based on a preset communication amount and a preset test pattern; generating a delay confirmation packet for confirming a delay of the device under test; Transmitting the test communication packet and the delay confirmation packet to the test target device; acquiring a delay time from when the delay confirmation packet is transmitted until when a response packet is received from the test target device that has received the delay confirmation packet; estimating a maximum communication load of the test target device based on the communication volume of the test communication packet at a change point of the transition amount of the delay time corresponding to the test communication packet transmitted a plurality of times while changing the communication volume; Communication load estimation method. [Explanation of symbols]
[0187] 100 pseudo DoS generating device, 100A pseudo DoS generating device, 101 communication volume setting unit, 102 communication sending unit, 103 test pattern unit, 104 delay acquisition unit, 105 maximum load estimating unit, 106 device-specific estimating unit, 200 test target device, 301 first device, 302 first device, 401 second device, 402 second device, 501 third device, 502 third device, 600 communication load estimating device, 605 maximum load estimating unit, 606 device-specific estimating unit, 1102A processing circuit, 1102B processing circuit, 1103 storage device.
Claims
1. A communication load estimation device that estimates a communication load of a test target device that can be connected to a network, a test communication packet generating unit for generating test communication packets based on a preset communication amount and a preset test pattern; a delay confirmation packet generating unit for generating a delay confirmation packet for confirming a delay in the test target device; a communication sending unit for sending the test communication packet and the delay confirmation packet to the test target device; a delay acquisition unit for acquiring a delay time from when the delay confirmation packet is transmitted from the communication sending unit until when a response packet is received from the test target device that has received the delay confirmation packet; a maximum load estimating unit for estimating a maximum communication load of the test target device based on the communication volume of the test communication packet at a change point of the transition amount of the delay time corresponding to the test communication packet transmitted a plurality of times while changing the communication volume from the communication sending unit, Communication load estimation device.
2. A communication load estimation device according to claim 1, the maximum load estimating unit estimates the maximum communication load of the test target device based on the communication volume of the test communication packet at a change point of the transition amount of the delay time corresponding to the test communication packet transmitted a plurality of times while changing the communication volume by the same amount each time from the communication sending unit; Communication load estimation device.
3. A communication load estimation device according to claim 1 or 2, a plurality of first devices each of which is an equivalent load; and an individual device estimating unit for calculating a load per one of the first devices based on a transition amount between the delay time in a state where the first device is not connected, the delay time in a state where one of the first devices is connected, and the delay time in a state where two of the first devices are connected. Communication load estimation device.
4. A communication load estimation device according to claim 3, the device-specific estimation unit outputs the number of the first devices that can be connected so that a total load of the first devices is smaller than the maximum communication load of the test target device. Communication load estimation device.
5. A communication load estimation device according to claim 3, a plurality of second devices each of which is an equivalent load; a load of the second device is different from a load of the first device; the device-specific estimation unit outputs the number of the first devices and the second devices that can be connected so that a total load of the first device and the second device is smaller than the maximum communication load of the test target device. Communication load estimation device.
6. A communication load estimation device according to claim 1 or 2, the maximum load estimating unit estimates the maximum communication load of the test target device based on the communication volume of the test communication packet at a change point of the transition amount of the delay time corresponding to the test communication packet transmitted from the communication sending unit with a first communication volume sufficiently smaller than the maximum communication load of the test target device and a second communication volume sufficiently larger than the maximum communication load of the test target device; Communication load estimation device.
7. A communication load estimation device according to claim 1 or 2, the maximum load estimating unit generates an approximation curve based on the delay time corresponding to the test communication packet transmitted a plurality of times from the communication transmitting unit while changing the communication volume, and estimates the maximum communication load of the test target device based on the communication volume of the test communication packet at a point deviating from the approximation curve. Communication load estimation device.
8. A communication load estimation device according to claim 1 or 2, The communication load estimation device, a pseudo DoS generating device including the test communication packet generating unit, the delay confirmation packet generating unit, the communication sending unit, and the delay acquiring unit; a communication load estimating device including at least the maximum load estimating unit; Communication load estimation device.
9. A communication load estimation method for estimating a communication load of a test target device connectable to a network, generating test communication packets based on a preset communication amount and a preset test pattern; generating a delay confirmation packet for confirming a delay of the device under test; Transmitting the test communication packet and the delay confirmation packet to the test target device; acquiring a delay time from when the delay confirmation packet is transmitted until when a response packet is received from the test target device that has received the delay confirmation packet; estimating a maximum communication load of the test target device based on the communication volume of the test communication packet at a change point of the transition amount of the delay time corresponding to the test communication packet transmitted a plurality of times while changing the communication volume; Communication load estimation method.
Citation Information
Patent Citations
Sash hanger system for moving wall
JP1989097782A
Test device
JP2020129736A
Analysis method and apparatus
JP4180638B2
