Network scanning device, a program for causing a computer to execute the program, and a computer-readable recording medium having the program recorded thereon

The network scanning device and program optimize scan scheduling based on communication response rates and successful scan counts to enhance learning speed and efficiency in network scanning of IoT devices.

JP7565082B2Active Publication Date: 2024-10-10ATR ADVANCED TELECOMM RES INST INT
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2021052474
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-03-25
Publication Date
2024-10-10
Estimated Expiration
2041-03-25

AI Technical Summary

Technical Problem

Existing network scanning technologies, such as those described in Non-Patent Document 1, do not optimize scheduling and can lead to prolonged data collection during low response periods, thereby decreasing learning speed in network scanning of IoT devices.

Method used

A network scanning device and program that utilize a scanning means, storage means, updating means, and detection means to create a scan schedule that optimizes network scanning by considering communication response rates and successful scan counts, allowing for improved learning speed by strategically selecting time slots and clustering terminal devices.

Benefits of technology

The solution enhances the learning speed in network scanning by optimizing scan scheduling based on communication response rates and successful scan counts, reducing the time required for data collection and improving the efficiency of network scans.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000049_0000
    Figure 00000049_0000
  • Figure 00000049_0001
    Figure 00000049_0001
  • Figure 00000049_0002
    Figure 00000049_0002
Patent Text Reader

Abstract

To provide a network scanning device capable of performing scheduling which can increase the rate of learning in network scanning.SOLUTION: A scanning scheduler 14 refers to a correspondence table TBL2-1 stored in a host information database 13, at the timing which creates a scanning schedule of N terminal devices, detects p terminal devices which have only a time zone in which the number of accumulated communication scan times mτ,i is equal to or more than a threshold value th1, and a communication response rate rτ,i is less than a threshold value th2 as the time zone for setting the scanning schedule, does not set the scanning schedule of the p detected terminal devices to the time zone selected by only the communication response rate rτ,i, and creates the scanning schedule for executing the network scanning with respect to the N terminal devices.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a network scanning device, a program to be executed by a computer, and a computer-readable recording medium on which the program is recorded. [Background technology]

[0002] With the practical application of the fifth generation mobile communication (5G) system, many devices such as mobile terminals, computers, sensors, and web cameras will be connected to the Internet. Such mobile terminals and computers connected to the Internet are called IoT (Internet of Things) devices.

[0003] In the IoT era, the number of IoT devices connected to communication networks is expected to increase rapidly. It is expected that IoT devices that communicate wirelessly will be used illegally without sufficient security measures in order to carry out cyber attacks such as DDoS (Distributed Denial of Service) attacks.

[0004] To avoid such situations, it is necessary to conduct network scans of IoT devices connected to communication networks and investigate whether security measures are being implemented for each IoT device.

[0005] Conventionally, there is known a network scan described in Non-Patent Document 1. The network scan described in Non-Patent Document 1 is a scan for applications in the IPv4 space, and is performed by the following method.

[0006] First, a port scan is performed on the IPv4 space to check for responses. Then, for hosts that respond, a handshake is performed using various protocols (such as HTTP (Hypertext Transfer Protocol), HTTPS (Hypertext Transfer Protocol Secure), and POP3 (Post Office Protocol version 3)) to obtain messages. Keywords that are useful for vulnerability assessment are then extracted from the obtained messages. Metadata and tag information are then assigned to the keywords. The keywords with the metadata and tag information assigned are then registered in the database as structured data. [Prior art documents] [Non-patent literature]

[0007] [Non-Patent Document 1] Z. Durumeric, et al., “A Search Engine Backed by Internet-Wide Scanning”, CCS15, October 12-16, 2015. [Non-Patent Document 2] https: / / github.com / robertdavidgraham / masscan Summary of the Invention [Problem to be solved by the invention]

[0008] However, the network scan described in Non-Patent Document 1 targets one port of each IoT device, and does not target all ports. As a result, in the network scan described in Non-Patent Document 1, when network scanning all ports of each IoT device, there is no concept of optimizing the schedule for performing a network scan of all ports of one IoT device while avoiding time periods with low response rates. Therefore, the network scan described in Non-Patent Document 1 has a problem that the learning speed decreases because there is a possibility that data collection continues for a long time during time periods with low response rates.

[0009] Therefore, according to an embodiment of the present invention, a network scanning device capable of performing scheduling that can improve the learning speed in a network scan is provided.

[0010] Furthermore, according to an embodiment of the present invention, there is provided a program for causing a computer to execute scheduling capable of improving the learning speed in a network scan.

[0011] Furthermore, according to an embodiment of the present invention, there is provided a computer-readable recording medium having recorded thereon a program for causing a computer to execute scheduling capable of improving the learning speed in a network scan. [Means for solving the problem]

[0012] (Configuration 1) According to an embodiment of the present invention, a network scanning device includes a scanning unit, a storage unit, an update unit, a detection unit, and a schedule creation unit. The scanning unit performs a network scan on N (where N is an integer of 2 or more) terminal devices. The storage unit stores, among a plurality of time slots for setting a scan schedule that is a network scan schedule when performing a network scan on N terminal devices, W (where W is an integer of 1 or more) time slots indicating the time slots in which the network scan was performed, W pieces of terminal identification information indicating the terminal devices on which the network scan was performed in the time slots corresponding to each of the W time slots, W pieces of communication cumulative scan counts indicating the cumulative number of network scans performed in the time slots corresponding to each of the W time slots, W pieces of communication response rates indicating the communication response rates of the network scans performed on the terminal devices in the time slots corresponding to each of the W time slots, and W pieces of communication scan success counts indicating the number of successful network scans performed in the time slots corresponding to each of the W time slots, and stores a correspondence table having a configuration in which they are mutually associated. The update unit updates the W pieces of communication cumulative scan counts, the W pieces of communication response rates, and the W pieces of communication scan success counts in the correspondence table every time the network scan is performed. The detection unit detects p (where p is an integer satisfying 1 ≦ p < N) terminal devices for which there are no time slots other than the first time slots in which the communication cumulative scan count is equal to or greater than a first threshold value and the communication response rate is less than a second threshold value as time slots for setting a scan schedule, based on the correspondence table updated by the time of creating the scan schedule for the N terminal devices. The schedule creation unit creates a scan schedule for the N terminal devices without setting a scan schedule for the p terminal devices in the time slots selected only by the communication response rate at a schedule creation timing that is the timing of creating the scan schedule for the N terminal devices. And the N IP addresses of the N terminal devices are distributed to an arbitrary number and included in the W pieces of terminal identification information.Each of the W cumulative communicative scan counts includes the same number of cumulative communicative scan counts as the number of corresponding terminal identification information. Each of the W communicative response rates includes the same number of communicative response rates as the number of corresponding terminal identification information. Each of the W successful communicative scan counts includes the same number of successful communicative scan counts as the number of corresponding terminal identification information. The cumulative communicative scan count is the cumulative number of network scans performed on ports from which a response to a network scan of one terminal device can be expected. The successful communicative scan count is the number of scan responses returned from ports from which a response to a network scan of one terminal device can be expected. The communicative response rate is the ratio of the successful communicative scan count to the cumulative communicative scan count.

[0013] (Configuration 2) In configuration 1, the schedule creation means creates a scan schedule for N terminal devices by executing a first process of not setting a scan schedule for p terminal devices at the schedule creation timing, or a second process of setting a scan schedule for the p terminal devices in a time period selected using a communication response rate and a number of successful communication scans.

[0014] (Configuration 3) In the configuration 2, the schedule creation means executes a first process for p terminal devices at a schedule creation timing to create a scan schedule for N terminal devices.

[0015] (Configuration 4) In configuration 1, the schedule creation means, at the timing of schedule creation, disables the selection of a time period based on a communication response rate and sets scan schedules for p terminal devices to a time period selected from a plurality of time periods, thereby creating scan schedules for N terminal devices.

[0016] (Configuration 5) In configuration 4, the schedule creation means creates scan schedules for N terminal devices by setting scan schedules for p terminal devices in a time period randomly selected from a plurality of time periods at the schedule creation timing.

[0017] (Configuration 6) In configuration 1, the schedule creation means, at the schedule creation timing, selects V (V is an integer equal to or greater than 2) time periods from the W time periods in descending order of communication response rate, and creates scan schedules for N terminal devices by setting scan schedules for p terminal devices in the time periods selected from the selected V time periods using the number of successful communication scans.

[0018] (Configuration 7) In any of configurations 1 to 6, the schedule creation means sets a scan schedule for terminal devices other than the p terminal devices in a time period in which the scan response delay is the smallest among time periods in which the number of successful communicative scans is equal to or greater than a third threshold value at the schedule creation timing. The scan response delay is the time from transmitting a packet for network scanning to receiving a scan response. (Configuration 8) In any of configurations 1 to 6, when, at the schedule creation timing, a second set consisting of a second time period in which the number of successful communication scans is less than a third threshold value exists in a first set consisting of time periods other than the first time period, the schedule creation means sets a scan schedule for terminal devices other than the p terminal devices in a second time period selected from the second set.

[0019] (Configuration 9) In any one of configurations 1 to 8, the network scanning device further comprises a classification means. The classification means classifies the N terminal devices into N c (N cis an integer equal to or greater than 1.) clusters. The schedule creation means sets the scan schedules of all terminal devices included in one cluster to the same time period at the schedule creation timing, which is called N c A scan schedule is created for N terminal devices by executing this for all of the clusters, and when a second terminal device representing a terminal device included in one cluster is included in the p terminal devices, a scan schedule is created for the N terminal devices without setting the scan schedules for all terminal devices in the cluster including the second terminal device to a time period selected based solely on the communication response rate.

[0020] (Configuration 10) Also, according to an embodiment of the present invention, the program is a program for causing a computer to create a scan schedule for executing a network scan in a network scanning device.

[0021] The network scanning device is The device is equipped with a storage device that stores a correspondence table configured to mutually correspond W (W is an integer equal to or greater than 1) time periods indicating time periods when a network scan was performed among a plurality of time periods for setting a scan schedule for a network scan when performing a network scan on N (N is an integer equal to or greater than 2) terminal devices, W terminal identification information indicating a terminal device for which a network scan was performed in a corresponding time period among the W time periods, W cumulative communication scan numbers indicating the cumulative number of network scans performed in a corresponding time period among the W time periods, W communication response rates indicating communication response rates of network scans performed on terminal devices in a corresponding time period among the W time periods, and W communication scan success numbers indicating the number of successful network scans performed in a corresponding time period among the W time periods.

[0022] And the program is, A first step in which the scanning means performs a network scan on N terminal devices, A second step in which the updating means updates the W communication cumulative scan counts, the W communication response rates, and the W communication scan success counts in the correspondence table every time the network scan is executed, A third step in which the detecting means detects p (p is an integer satisfying 1 ≦ p < N) terminal devices for which there is no time zone other than the first time zone in which the communication cumulative scan count is equal to or greater than a first threshold value and the communication response rate is less than a second threshold value as a time zone for setting the scan schedule based on the correspondence table updated by the time of creating the scan schedule for the N terminal devices, A fourth step in which the schedule creating means creates a scan schedule for the N terminal devices without setting a scan schedule for the p terminal devices in the time zone selected only by the communication response rate at the schedule creating timing which is the timing of creating the scan schedule for the N terminal devices. And the N IP addresses of the N terminal devices are distributed into an arbitrary number and included in the W terminal identification informations. Each of the W communication cumulative scan counts includes the same number of communication cumulative scan counts as the number of the corresponding terminal identification informations. Each of the W communication response rates includes the same number of communication response rates as the number of the corresponding terminal identification informations. Each of the W communication scan success counts includes the same number of communication scan success counts as the number of the corresponding terminal identification informations. The communication cumulative scan count is the cumulative value of the number of times of performing a network scan on a port for which a response to a network scan of one terminal device can be expected. The communication scan success count is the number of scan responses returned from a port for which a response to a network scan of one terminal device can be expected. The communication response rate is the ratio of the communication scan success count to the communication cumulative scan count.

[0023] (Configuration 11) In configuration 10, at the schedule creation timing of the fourth step, the schedule creation means creates a scan schedule for N terminal devices by executing a first process of not setting a scan schedule for p terminal devices, or a second process of setting a scan schedule for the p terminal devices in a time period selected using a communication response rate and a number of successful communication scans.

[0024] (Configuration 12) In configuration 11, the schedule creation means executes the first process for p terminal devices and creates a scan schedule for N terminal devices at the schedule creation timing of the fourth step.

[0025] (Configuration 13) In configuration 10, at the schedule creation timing of the fourth step, the schedule creation means disables the selection of time periods based on the communication response rate and sets scan schedules for p terminal devices to time periods selected from a plurality of time periods, thereby creating scan schedules for N terminal devices.

[0026] (Configuration 14) In configuration 13, the schedule creation means creates scan schedules for N terminal devices by setting scan schedules for p terminal devices in a time period randomly selected from a plurality of time periods at the schedule creation timing of the fourth step.

[0027] (Configuration 15) In configuration 10, the schedule creation means, at the schedule creation timing of the fourth step, selects V (V is an integer equal to or greater than 2) time periods from the W time periods in order of highest communication response rate, and creates scan schedules for N terminal devices by setting scan schedules for p terminal devices in the time periods selected from the selected V time periods using the number of successful communication scans.

[0028] (Configuration 16) In any of configurations 10 to 15, the schedule creation means sets a scan schedule for terminal devices other than the p terminal devices in a time period in which the number of successful communicative scans is equal to or greater than a third threshold value and in which the scan response delay is the smallest, at the schedule creation timing of the fourth step. The scan response delay is the time from transmitting a packet for network scanning to receiving a scan response.

[0029] (Configuration 17) In any of configurations 10 to 15, when a second set of second time periods exists in which the number of successful communication scans is less than a third threshold value in a first set of time periods other than the first time period at the schedule creation timing of the fourth step, the schedule creation means sets a scan schedule for terminal devices other than the p terminal devices in a second time period selected from the second set.

[0030] (Configuration 18) In any one of configurations 10 to 17, the classification means classifies N terminal devices into N c (N c (n) is an integer equal to or greater than 1; The schedule creation means sets the scan schedules of all the terminal devices included in one cluster to the same time period in the schedule creation timing of the fourth step. c A scan schedule is created for N terminal devices by executing this for all of the clusters, and when a second terminal device representing a terminal device included in one cluster is included in the p terminal devices, a scan schedule is created for the N terminal devices without setting the scan schedules for all terminal devices in the cluster including the second terminal device to a time period selected based solely on the communication response rate.

[0031] (Configuration 19) Furthermore, according to an embodiment of the present invention, a recording medium is a computer-readable recording medium having the program according to any one of the tenth to eighteenth configurations recorded thereon. Effect of the Invention

[0032] It is possible to perform scheduling that can improve the learning speed in network scanning. [Brief description of the drawings]

[0033] [Figure 1] 1 is a schematic diagram of a communication system according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a schematic diagram of the network scanning device shown in FIG. 1 according to the first embodiment. [Diagram 3] FIG. 1 is a first schematic diagram for explaining the concepts of a cumulative communicative scan count, a successful communicative scan count, and a communicative response rate in an embodiment of the present invention. [Figure 4] FIG. 2 is a second schematic diagram for explaining the concepts of the cumulative number of communicative scans, the number of successful communicative scans, and the communicative response rate in the embodiment of the present invention. [Diagram 5] FIG. 3 is a third schematic diagram for explaining the concepts of the cumulative number of communicative scans, the number of successful communicative scans, and the communicative response rate in the embodiment of the present invention. [Figure 6] FIG. 4 is a fourth schematic diagram for explaining the concepts of the cumulative number of communicative scans, the number of successful communicative scans, and the communicative response rate in the embodiment of the present invention. [Figure 7] FIG. 5 is a fifth schematic diagram for explaining the concepts of the cumulative number of communicative scans, the number of successful communicative scans, and the communicative response rate in the embodiment of the present invention. [Figure 8] 3 is a conceptual diagram of a correspondence table stored in the host information database shown in FIG. 2. [Figure 9] FIG. 11 is a diagram for explaining the timing of executing a network scan. [Figure 10]3 is a conceptual diagram of another correspondence table stored in the host information database shown in FIG. 2. [Figure 11] 3 is a timing chart showing the operation of the network scanning device shown in FIG. 2. [Figure 12] FIG. 11 is a diagram showing the correspondence between IP addresses and ports from which scan responses are returned. [Figure 13] 3 is a flowchart for explaining the operation of the network scanning device shown in FIG. 2. [Figure 14] 14 is a flowchart for explaining a detailed operation of step S4 in FIG. 13. [Figure 15] 14 is a flowchart for explaining a detailed operation of step S5 in FIG. 13. [Figure 16] 14 is a flowchart for explaining a detailed operation of step S6 in FIG. 13. [Figure 17] 14 is another flowchart for explaining the detailed operation of step S6 in FIG. 13. [Figure 18] 14 is yet another flowchart for explaining the detailed operation of step S6 in FIG. 13. [Figure 19] 1. FIG. 4 is a schematic diagram of a network scanning device shown in FIG. [Figure 20] FIG. 13 is a diagram showing a specific example of clustering. [Figure 21] FIG. 13 is a diagram showing another specific example of clustering. [Figure 22] FIG. 20 is a conceptual diagram of the clustering database shown in FIG. 19. [Diagram 23] 20 is a flowchart for explaining the operation of the network scanning device shown in FIG. 19. [Figure 24] 24 is a flowchart for explaining a detailed operation of step S6A in FIG. 23. [Diagram 25] 24 is another flowchart for explaining the detailed operation of step S6A in FIG. 23. [Figure 26] 24 is yet another flowchart for explaining the detailed operation of step S6A of FIG. 23. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0034] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail with reference to the drawings. In the drawings, the same or corresponding parts are designated by the same reference characters and their description will not be repeated.

[0035] Fig. 1 is a schematic diagram of a communication system according to an embodiment of the present invention. Referring to Fig. 1, a communication system 10 according to the embodiment of the present invention includes a network scanning device 1, base stations BS1 and BS2, an Internet provider ISP, and terminal devices TM1 to TM18.

[0036] A network scanning device 1, base stations BS1 and BS2, an Internet provider ISP (Internet Service Provider), and terminal devices TM1 to TM18 are located in a communication space.

[0037] The base station BS1 is a base station of the wireless communication network CNW1, the base station BS2 is a base station of the wireless communication network CNW2, and the Internet provider ISP is a carrier of the wired communication network CNW3.

[0038] The wireless communication networks CNW1 and CNW2 are communication networks that perform wireless communication in accordance with mutually different wireless communication standards.

[0039] In the embodiment of the present invention, each of the terminal devices TM1 to TM18 may be a wireless terminal, or some of the terminal devices TM1 to TM18 may be wireless terminals and the rest may be wired terminals.

[0040] The terminal devices TM1 to TM6 are located outside the wireless communication network CNW2 and inside the wireless communication network CNW1.

[0041] The terminal device TM7 is located within the overlapping area of ​​the wireless communication network CNW1 and the wireless communication network CNW2.

[0042] The terminal devices TM8 to TM13 are located outside the wireless communication network CNW1 and inside the wireless communication network CNW2.

[0043] The terminal devices TM14 to TM18 are arranged within the wired communication network CNW3 and are connected to the Internet provider ISP via wires.

[0044] Each of the terminal devices TM1 to TM13 includes two wireless communication modules capable of wireless communication with the base stations BS1 and BS2. Therefore, each of the terminal devices TM1 to TM13 is capable of wireless communication with the base station BS1 or the base station BS2.

[0045] The terminal devices TM1 to TM6 perform wireless communication with the base station BS1, the terminal device TM7 performs wireless communication with the base station BS1 or base station BS2, and the terminal devices TM8 to TM13 perform wireless communication with the base station BS2.

[0046] The terminal devices TM14 to TM18 perform wired communication via an Internet provider ISP.

[0047] The network scanning device 1 creates a scan schedule for performing a network scan on the terminal devices TM1 to TM18 by a method described later, and executes a network scan according to the created scan schedule.

[0048] [Embodiment 1] Fig. 2 is a schematic diagram of the first embodiment of the network scanning device 1 shown in Fig. 1. With reference to Fig. 2, the network scanning device 1 includes a network scanner 11, a scan analysis manager 12, a host information database 13, and a scan scheduler 14.

[0049] The network scanner 11 receives a scan schedule from the scan scheduler 14, and based on the received scan schedule, performs a network scan of the ports of terminal devices connected to the network 20 to be scanned, for example, using the well-known masscan (Non-Patent Document 2).

[0050] More specifically, the network scanner 11 performs a network scan by transmitting scan packets to the IP addresses of multiple terminal devices during multiple time periods included in a predetermined cycle. The network scanner 11 performs this network scan at a frequency that matches the predetermined cycle.

[0051] Then, the network scanner 11 receives a scan response of the network scan from a terminal device connected to the network 20, and outputs the received scan response to a user (comprised of network security, etc.) 30 and the scan analysis manager 12.

[0052] Scan analysis manager 12 receives scan responses from network scanner 11 and receives a communication log during the network scan. Then, based on the scan responses, scan analysis manager 12 generates scan results that associate the addresses of the terminal devices to be scanned with the scan responses, and stores the generated scan results in host information database 13, thereby creating or updating host information database 13.

[0053] In addition, the scan analysis manager 12 measures the scan response delay, which is the time from sending a scan packet for performing a network scan to receiving a scan response, and stores the measured scan response delay in the host information database 13 in association with the address of the terminal device to be scanned.

[0054] Furthermore, the scan analysis manager 12 measures the cumulative number of communication scans, the communication response rate, and the number of successful communication scans for each terminal device each time it performs a network scan on each terminal device, and stores the measured cumulative number of communication scans, the communication response rate, and the number of successful communication scans in the host information database 13 in association with each time period of the network scan performed on each terminal device.

[0055] Here, the cumulative number of communicative scans, the number of successful communicative scans, and the communicative response rate will be described.

[0056] In general, a terminal device may be configured to open only some of all ports for general communication in order to ensure security. As a result, when a network scan is performed on a terminal device, whether or not a scan response is returned from the terminal device depends on the settings of the terminal device and the quality of the communication path.

[0057] Therefore, from the viewpoint of considering only the quality of the communication path regardless of the settings of the terminal device, such as whether the terminal device opens all ports for network scanning or only some of the ports, the concepts of the cumulative number of communication scans, the number of successful communication scans, and the communication response rate in an embodiment of the present invention will be explained below.

[0058] 3 to 7 are first to fifth schematic diagrams for explaining the concepts of the cumulative number of communicative scans, the number of successful communicative scans, and the communicative response rate, respectively, in the embodiment of the present invention.

[0059] 3, the terminal device has port numbers 1, 2, 3, 4, 5, 6, . . . and sets, for example, port numbers 1 to 3 to "respond" and port numbers 4 to 6 to "do not respond."

[0060] For example, the scanning device scans the terminal device's ports with port numbers 1, 3, 5, and 6. As a result, the scanning device receives a scan response from the terminal device's port with port number 1, but does not receive a scan response from the terminal device's ports with port numbers 3, 5, and 6. It is assumed that the scanning device was unable to receive a scan response from the terminal device's port with port number 3 due to poor communication quality.

[0061] In this case, the typical number of scans is 4, the typical number of successful scans is 1, and the typical success rate of scans is 1 / 4.

[0062] On the other hand, in this embodiment of the invention, the number of communicative scans was 2, the number of successful communicative scans was 1, and the communicative scan success rate was 1 / 2. Here, the number of communicative scans was 2 because port numbers 1 and 3, which are set to "respond," were set as the ports to be scanned. In other words, this is because ports from which a response can be expected were set as the ports to be scanned.

[0063] 4, the scanning device cannot detect whether each port of the terminal device is set to "respond" or "don't respond." That is, the scanning device does not know the setting of the terminal device.

[0064] 5, the scanning device compares the response port list in which ports that have responded in the past are registered with the results of the network scan, and regards the number of times that network scans have been performed (=2 times) for the port number (port number 1, 3) registered in the response port list as the number of communicative scans, and the number of times that a scan response has been received from the port number (port number 1) registered in the response port list (=1 time) as the number of successful communicative scans, and calculates the communicative scan success rate (=1 / 2) by dividing the number of successful communicative scans by the number of communicative scans. That is, the scanning device counts the number of times that network scans have been performed and the number of scan responses from terminal devices for the port number (port number 1, 3) registered in the response port list, and calculates the number of communicative scans, the number of successful communicative scans, and the communicative scan success rate. Note that the port numbers registered in the response port list are port numbers registered regardless of the time period (time period τ described below).

[0065] 6, the scanning device performs a network scan on ports numbered 1 to 3 of the terminal device, but port number 2 is not on the registered port list, so the number of communication scans is "2 times" instead of "3 times." Therefore, in this embodiment of the invention, the number of times network scans are performed on ports with port numbers on the registered port list is tallied.

[0066] Referring to Figure 7, although port number 2 is not on the registered port list, the scanning device received a scan response, so the number of network scans performed on port number 2 is also tallied, resulting in the number of communicative scans being 3, and the number of scan responses from port number 2 is also tallied, resulting in the number of successful communicative scans being 2, thereby calculating the communicative scan success rate as 2 / 3.

[0067] From the above, in the embodiment of the present invention, from the viewpoint that only the quality of the communication path out of the settings of the terminal device and the quality of the communication path affects the scan response returned from the terminal device, the cumulative number of communication scans is the cumulative value of the number of times network scans are performed for ports from which a response to a network scan of one IP address Add can be expected, the number of successful communication scans is the number of times a scan response SR is returned from a port from which a response to a network scan of one IP address Add can be expected, and the communication response rate is the ratio of the number of successful communication scans to the cumulative number of communication scans (that is, the number of successful communication scans divided by the cumulative number of communication scans). Note that the cumulative number of communication scans is the cumulative number of communication scans described in Figs. 3 to 7, and the communication response rate is synonymous with the success rate of communication scans described in Figs. 3 to 7. The cumulative number of communication scans includes the number of times network scans are performed for ports with port numbers registered in the registered port list and the number of times network scans are performed for ports from which a scan response is returned among ports not registered in the registered port list in one network scan. In this manner, the communicative cumulative number of scans, the communicative successful number of scans, and the communicative response rate in this embodiment of the present invention are different from the general cumulative number of scans, the number of successful scans, and the response rate, which are determined by both the settings of the terminal device and the quality of the communication path, respectively.

[0068] The host information database 13 stores the scan results, the cumulative number of communication-based scans, the communication-based response rate, and the number of communication-based successful scans.

[0069] The scan scheduler 14 holds in advance the global IP addresses and domain names of all terminal devices present in an area (for example, within Japan) where a network scan is to be performed. The scan scheduler 14 creates a scan schedule that associates the scan timings of a network scan with the terminal devices that are the targets of the network scan at each scan timing, using a method to be described later. The scan scheduler 14 then outputs the scan schedule to the network scanner 11 and controls the network scanner 11 to execute a network scan according to the scan schedule.

[0070] 8 is a conceptual diagram of a correspondence table stored in the host information database 13 shown in FIG. 2. Referring to FIG. 8, the correspondence table TBL1 is a table showing the number of scans performed and the time t i and IP address Add i and port number q i and scan response SR i and scan response delay SRD i The number of scans, time t i , IP address Add i , port number q i , Scan response SR i , and Scan Response Delay SRD i are associated with each other, where i=1 to N, and N is the total number of terminal devices to be targeted for network scanning, and is an integer of 2 or more.

[0071] The number of scans performed is determined by the number of times for each IP address. i Indicates the number of times a network scan was performed for each terminal device at time t i indicates the normalized scan time based on the start time of one round, which will be described later. And time t i is expressed as YYYY / MM / DD / hh / mm / ss (year / month / day / hour / minute / second).

[0072] IP Address Add iconsists of the global IP address of the terminal device that is the target of the network scan.

[0073] Port number q i Add IP address i Represents the qth port of one IP address Add i For example, 10,000 ports are selected and a network scan is performed on the selected 10,000 ports. i represents the qth port among 10,000 ports.

[0074] Scan Response SR i is the port number q i The scan response SR i is "1" when a scan response is returned, and is "0" when no scan response is returned.

[0075] Scan Response Delay SRD i is the port number q i The scan response delay (SRD) is i is the time from the time the scan packet was sent to the time the scan response SR i It consists of the length of time until the time when the

[0076] The port number of the IP address Add1 is, for example, port number q 11 ,q 21 ,q 31 The port number of the IP address Add2 is, for example, port number q 12 ,q 22 The port number of the IP address Add3 is, for example, port number q 13 ,q 23 ,q 33 ,q 43 Similarly, the IP address Add N-1 For example, port number q 1N-1 ,q 2N-1 ,q 3N-1 IP address Add NFor example, port number q 1N ,q 2N It consists of:

[0077] In the correspondence table TBL1, the scan response SR i and Scan Response Delay SRD i is each port number q i are stored in the correspondence table TBL1 in correspondence with each other.

[0078] In addition, port number q 11 ,q 21 ,q 31 The "1" in corresponds to the IP address Add1, and the port number q 11 ,q 21 ,q 31 The "1", "2", and "3" in the "port number" column indicate the port order. 11 ,q 21 ,q 31 The same applies to other port numbers.

[0079] In FIG. 8, IP addresses Add1 to Add N However, in the embodiment of the present invention, the number of scans performed for the IP addresses Add1 to Add N The number of scans performed for each may be the same.

[0080] In addition, in the embodiment of the present invention, one IP address Add i When performing multiple network scans for one IP address Add i The multiple network scans for an IP address Add may be performed at the same time in multiple rounds (the term "round" will be described later), or may be performed at different times in multiple rounds. i When multiple network scans for the same IP address are performed at different times in multiple rounds, the corresponding IP addresses Add i Time t corresponding to i consists of multiple times.

[0081] Furthermore, at a certain time t i In the IP address Add i If a scan schedule for a network scan was not created for the IP address for which a scan schedule was not created, i The corresponding scan response SR i and scan response SR i Scan response delay SRD i The column is blank.

[0082] Fig. 9 is a diagram for explaining the timing of executing a network scan. With reference to Fig. 9, in the embodiment of the present invention, a section SEC having a time length of θ is set. θ is the periodic length of a predetermined period for executing a network scan. θ is set to 12 hours, for example.

[0083] One section SEC is made up of multiple time periods such as time period 0, time period 1, time period 2, etc. Each of the multiple time periods has a time length h. The time length h is set to, for example, 1 hour. Therefore, θ is a natural number multiple of h. As a result, one section SEC includes τ0 to τ θ / h-1 There are (θ / h) time periods τ.

[0084] The network scan is performed by scanning the IP address Add of the terminal device i during multiple time periods in one section SEC. i In this case, the number of terminal devices that are the subject of a network scan in each time period may be the same or different. In Fig. 9, the number of terminal devices that are the subject of a network scan in time period 0 is 5, the number of terminal devices that are the subject of a network scan in time period 1 is 7, the number of terminal devices that are the subject of a network scan in time period 2 is 3, and the number of terminal devices that are the subject of a network scan in time period 3 is 4. Each section SEC is called a "round."

[0085] The 0th network scan is performed in the first section SEC, the first network scan is performed in the second section SEC, the second network scan is performed in the third section SEC, and so on until the (m-1)th network scan is performed in the mth section SEC (m is an integer greater than or equal to 2).

[0086] In the embodiment of the present invention, the network scan is performed at a frequency of a predetermined period, with θ being the period length of the predetermined period. i and Scan Response Delay SRD i is stored in the correspondence table TBL1 of the host information database 13.

[0087] FIG. 10 is a conceptual diagram of another correspondence table stored in the host information database 13 shown in FIG.

[0088] Referring to FIG. 10, the correspondence table TBL2-1 shows the time period τ s and IP address Add i and the cumulative number of communication scans m τ,i and the number of successful communication scans d τ,i and the communication response rate r τ,i Includes time period τ s , IP address Add i , the cumulative number of communication scans m τ,i , the number of successful communication scans d τ,i , and the communication response rate r τ,i are associated with each other.

[0089] Time period τ s is (θ / h) time periods τ0~τ θ / h-1 Among them, W time periods τ during which network scans were performed on terminal devices s_1 ~τ s_W Here, W is an integer that satisfies 1≦W≦(θ / h). Therefore, there are W time periods τ s_1 ~τ s_Wis a time period τ0 to τ1 for setting a scan schedule, which is a schedule for executing a network scan for each terminal device. θ / h-1 or (θ / h) time periods τ0~τ θ / h-1 It may also consist of fewer pieces.

[0090] IP address Add1, Add2,...,Add N is the time period τ s_1 , τ s_2 , τ s_3 , τ s_4 , ,τ s_W-1 , τ s_W are associated with each of the above.

[0091] Cumulative number of communication scans m τ,i is the corresponding time period τ s "Response to network scan" is the cumulative number of times a network scan is performed on a port where a response to the network scan can be expected in ". Here, "a response to the network scan can be expected" means that there is a possibility that a response to the network scan will be returned, "a scan response will be returned" means that the scan response SR is "1", and the "scan response SR" indicates whether or not there is a response from the terminal device that is the target of the network scan.

[0092] Network scan is performed for one IP address Add i Although the network scan is performed on multiple ports in the Add i If executed for one IP address Add i Since the network scan is performed on all the ports in τ,i is the corresponding time period τ s The number of ports registered in the registered port list at the time of network scanning and the number of ports not registered in the registered port list that are not included in the scan response SR i The number of ports returned is increased by the sum of the number of ports returned.

[0093] Cumulative number of communication scans m τs_1,1 is the time period τ s_1 and IP address Add1, and time period τ s_1 The cumulative number of network scans performed on ports in the IP address Add1 where a scan response SR1 can be expected is m τs_1,2 is the time period τ s_1 and IP address Add2, and time period τ s_1 In the above, the cumulative number of network scans for ports in the IP address Add2 where a scan response SR2 can be expected is m τs_1,N is the time period τ s_1 and IP Address Add N is associated with the time period τ s_1 In the IP address Add N Among the ports in the scan response SR N This is the cumulative number of times that network scans are performed on ports where the expected

[0094] Time period τ s_2 , τ s_3 , τ s_4 , τ s_W-1 , τ s_W The cumulative number of communication scans m τs_2,1 ,m τs_2,2 ,···,m τs_2,N ;m τs_3,1 ,m τs_3,2 ,···,m τs_3,N ;m τs_4,1 ,m τs_4,2 ,···,m τs_4,N ;···;m τs_W―1,1 ,m τs_W―1,2 ,···,m τs_W―1,N ;m τs_W,1 ,m τs_W,2 ,···,m τs_W,N The same applies to.

[0095] Number of successful communication scans d τ,i is the corresponding time period τs The scan response SR returned in i Add IP address i Scan response counted every SR i It consists of the cumulative number of times.

[0096] Number of successful communication scans d τs_1,1 is the time period τ s_1 and IP address Add1, and time period τ s_1 is the number of scan responses SR1 returned from the port in IP address Add1. τs_1,2 is the time period τ s_1 and IP address Add2, and time period τ s_1 In the same manner, the number of successful communication scans d τs_1,N is the time period τ s_1 and IP Address Add N is associated with the time period τ s_1 In the IP address Add N Scan response SR returned from a port in N The number of times.

[0097] Time period τ s_2 , τ s_3 , τ s_4 , τ s_W-1 , τ s_W The number of successful communication scans d τs_2,1 ,d τs_2,2 , ,d τs_2,N ;d τs_3,1 ,d τs_3,2 , ,d τs_3,N ;d τs_4,1 ,d τs_4,2 , ,d τs_4,N ;···;d τs_W―1,1 ,d τs_W―1,2 , ,d τs_W―1,N ;d τs_W,1 ,d τs_W,2 , ,d τs_W,N The same applies to.

[0098] Communication response rate r τ,i is the cumulative number of communication scans m τ,i and the number of successful communication scans d τ,i Corresponding to this, the cumulative number of communication scans m τ,i The number of successful communication scans for τ,i In other words, the communication response rate r τ,i Add IP address i For each, the corresponding number of successful communication scans d τ,i The corresponding cumulative communication scan count m τ,i It consists of the result of dividing by .

[0099] Communication response rate r τs_1,1 is the corresponding number of successful communication scans d τs_1,1 The corresponding cumulative communication scan count m τs_1,1 The communication response rate r τs_1,2 is the corresponding number of successful communication scans d τs_1,2 The corresponding cumulative communication scan count m τs_1,2 Similarly, the communication response rate r τs_1,N is the corresponding number of successful communication scans d τs_1,N The corresponding cumulative communication scan count m τs_1,N It consists of the result of dividing by .

[0100] Time period τ s_2 , τ s_3 , τ s_4 , τ s_W-1 , τ s_W The corresponding communication response rate r τs_2,1 ,r τs_2,2 ,···,r τs_2,N ;r τs_3,1 ,r τs_3,2 ,···,r τs_3,N ;r τs_4,1 ,r τs_4,2 ,···,r τs_4,N ;···;r τs_W―1,1 ,r τs_W―1,2 ,···,r τs_W―1,N ;d τs_W,1 ,d τs_W,2 ,···,r τs_W,N The same applies to.

[0101] In addition, in the correspondence table TBL2-1, one IP address Add i There are multiple time periods τ s The same IP address Add is associated with the same i The time period during which network scans are performed on the same port is τ s may be different.

[0102] FIG. 11 is a timing chart showing the operation of the network scanning device 1 shown in FIG.

[0103] 11, the network scanner 11 executes a network scan on a plurality of terminal devices in each of the 0th round, the 1st round, the 2nd round, ...(m-1)th round, the mth round, .... Then, the scan analysis manager 12 generates a scan response SR i and Scan Response Delay SRD i is stored in the correspondence table TBL1 of the host information database 13 to create or update the correspondence table TBL1.

[0104] In addition, the scan analysis manager 12 sets the estimated variable μ τ,i ,η τ,i ,σ τ,i ,n τ,i The estimated variables μ τ,i ,η τ,i ,σ τ,i ,n τ,i and the cumulative number of communication scans m τ,i , the number of successful communication scans d τ,i and communication response rate r τ,i Set the value of to zero and the cumulative number of communication scans m τ,i , the number of successful communication scans d τ,i and communication response rate r τ,i Initialize.

[0105] Then, when the network scan in the first round is executed, the scan analysis manager 12 calculates the cumulative communication scan count m in the correspondence table TBL2-1. τ,i The value of SR is incremented by the number of times that network scans are performed for ports registered in the registered port list (see FIG. 12 below), and the value of SR is incremented by the number of times that network scans are performed for ports that are not registered in the registered port list but i In this case, the scan analysis manager 12 increments the counter by the number of ports for which the scan response SR is returned for ports registered in the registered port list (see FIG. 12, which will be described later). i Regardless of whether the message is returned or not, the cumulative number of communication scans m in the correspondence table TBL2-1 τ,i Increment the value of .

[0106] In addition, Scan Analysis Manager 12 generates a scan response SR i IP address Add i When the command is returned from a terminal device having the same number of successful communication scans as in the correspondence table TBL2-1, the τ,i The scan response SR that returned the value i , and the scan response SR i IP address Add i When no response is received from the terminal device having the same ID, the number of successful communication scans in the correspondence table TBL2-1 is d. τ,i Maintain the value of

[0107] Then, the scan analysis manager 12 updates the number of successful communication scans d τ,i The cumulative number of communication scans after updating m τ,i Divide by r to get the communication response rate τ,i Add IP address i The number of successful communication scans calculated or maintained per τ,i The cumulative number of scans is m τ,i Divide by r to get the communication response rate τ,i Add IP address iCalculated every 10 days.

[0108] Thereafter, the scan analysis manager 12 updates the communication cumulative scan count m in the correspondence table TBL2-1 every time a network scan is performed in one round. τ,i The value of SR is incremented by the number of times that network scans are performed for ports registered in the registered port list (see FIG. 12 below), and the value of SR is incremented by the number of times that network scans are performed for ports that are not registered in the registered port list but i The cumulative number of scans m is incremented by the number of ports that returned the τ,i Update.

[0109] In addition, the scan analysis manager 12 outputs a scan response SR i IP address Add i When the command is returned from a terminal device having the same number of successful communication scans as in the correspondence table TBL2-1, the τ,i The cumulative number of scans is returned in the scan response SR i Increment by the number of successful communication scans d τ,i Update the scan response SR i IP address Add i When no response is received from the terminal device having the same ID, the number of successful communication scans in the correspondence table TBL2-1 is d. τ,i The cumulative number of times is maintained.

[0110] Then, the scan analysis manager 12 updates the number of successful communication scans d τ,i The cumulative number of communication scans after updating m τ,i Divide by r to get the communication response rate τ,i Add IP address i The number of successful communication scans calculated or maintained per τ,i The cumulative number of scans is m τ,i Divide by r to get the communication response rate τ,i Add IP address i The calculated communication response rate r τ,iThe correspondence response rate r in the correspondence table TBL2-1 is τ,i Update.

[0111] The scan analysis manager 12 counts the number of communication-based scans m each time the network scan in each round is completed. τ,i , the number of successful communication scans d τ,i and communication response rate r τ,i Perform the update.

[0112] Each time a network scan in each round is completed, the scan scheduler 14 refers to the finally updated correspondence table TBL2-1, creates a scan schedule by a method described later, outputs the created scan schedule to the network scanner 11, and controls the network scanner 11 to execute a network scan based on the scan schedule.

[0113] Thereafter, network scanner 11, scan analysis manager 12, and scan scheduler 14 repeatedly execute the above-mentioned operations.

[0114] Fig. 12 is a diagram showing the correspondence relationship between IP addresses and ports from which scan responses are returned. Note that the correspondence table TBL3 shown in Fig. 12 is a response port list.

[0115] Referring to FIG. 12, the correspondence table TBL3 includes the IP address Add i and response port number q i Includes IP address Add i and response port number q i are associated with each other. Response port number q i In the correspondence table TBL1, each IP address Add i Multiple port numbers associated with q i Among them, the scan response SR consisting of "1" i The port number corresponds to the port number.

[0116] Response port number q 11 ~qx1 is associated with IP address Add1 and response port number q 12 ~q y2 is associated with IP address Add2, and similarly, response port number q 1N ~q zN Add IP address N can be associated with

[0117] Response port number q 11 ~q x1 1, 2, 3, . . . , x represent the port numbers from which the scan response SR1 was returned, and the response port number q 11 ~q x1 The "1" in represents the corresponding IP address Add1. Response port number q 12 ~q y2 and response port number q 1N ~q zN The same is true for x, y, and z. Each of x, y, and z is an integer greater than or equal to 1.

[0118] When a network scan is performed in each round, the scan analysis manager 12 receives a scan response SR from a port number that is not registered in the correspondence table TBL3. i When it returns, the scan response SR i The port number returned is newly registered in the correspondence table TBL3.

[0119] In this manner, the correspondence table TBL3 is updated while the network scan is being continuously performed.

[0120] The port number registered in the correspondence table TBL3 is determined by the cumulative communication scan count m as explained below. τ,i This is reflected in the count.

[0121] When a network scan is executed in one round, the scan analysis manager 12 detects, for example, a response port number q 21 Scan response from port SR i If no response is received, the response port number q 21Since is registered in the correspondence table TBL3, the cumulative number of communication scans m τ,i Increment by "1".

[0122] That is, the scan analysis manager 12 generates a scan response SR i Even if no response is received, the scan response SR i The port number of the port that did not receive a response i If registered in the correspondence table TBL3, the cumulative number of communication scans m τ,i Increment by "1".

[0123] This means that when the mth network scan is performed, the scan response SR i However, when the (m+1)th network scan is performed, the scan response SR i Since the number of scans may not be returned, the quality of the communication channel is calculated by the cumulative number of scans m τ,i In order to reflect the scan response SR i Even if no response is received, the scan response SR i The port number of the port that did not receive a response i If registered in the correspondence table TBL3, the cumulative number of communication scans m τ,i The decision was made to increase the

[0124] Therefore, the scan analysis manager 12 generates the scan response SR i The port number of the port that has been returned at least once is registered in the correspondence table TBL3, and if the port number is registered in the correspondence table TBL3, the scan response SR i Even if no response is returned, the cumulative communication scan count m is counted every time a network scan is performed. τ,i By incrementing by "1", the scan response SR i The communication response rate r of ports where no response was received τ,i Such a process reduces the cumulative number of communication scans m that only considers the quality of the communication path. τ,i, the number of successful communication scans d τ,i and communication response rate r τ,i This reflects the feature of the present invention that uses

[0125] When multiple network scans are completed, the number of times that network scans were performed on the ports registered in the registered port list is counted as CN REGS The number of times that a network scan was performed on a port that was not registered in the registered port list at the start of the last network scan but received a scan response is counted as CN. SR Then, the cumulative number of communication scans m τ,i CN REGS +CN SR It becomes.

[0126] And the number of successful communication scans d τ,i Add IP address i Scan response SR returned from each port in i Cumulative number of times CN SUC and the communication response rate r τ,i is the number of successful communication scans d τ,i The cumulative number of communication scans m τ,i Since the result is the division result of IP address Add i Communication response rate r τ,i CN SUC / (CN REGS +CN SR )

[0127] Variables and symbols in the embodiment of the present invention are shown in Table 1.

[0128] [Table 1]

[0129] In Table 1, μ τ,i , σ τ,i , η τ,i and n τ,i is the estimated variable. Also, the estimated variable μ τ,i,σ τ,i ,η τ,i ,n τ,i In the table, τ represents a time period within the round θ. The scan scheduler 14 calculates the normalized scan time t i The time period τ to which the belongs is calculated using the following formula.

[0130]

number

[0131] In formula (1), [t i modθ / h] is t i At values ​​below the calculated value of modθ / h, i Represents the integer closest to the calculated value of modθ / h.

[0132] Scan response SR in correspondence table TBL1 i and Scan Response Delay SRD i is the normalized scan time t i Therefore, the time period τ calculated by equation (1) corresponds to the scan response SR i and Scan Response Delay SRD i This is the time period to which

[0133] In Table 1, set D, set D', and set D'' are represented by equations (2), (3), and (4), respectively.

[0134]

number

[0135]

number

[0136]

number

[0137] In formula (2), Z is a set of all integers. As shown in formula (2), the set D is a set of (θ / h) time periods τ0 to τ θ / h-1 It consists of:

[0138] Also, as shown in equation (3), the set D' is a set of m τ,i is equal to or greater than the threshold th1, and the communication response rate r τ,i is a set of time periods obtained by excluding time periods in which th1 is less than threshold value th2 from set D. Threshold value th1 is set to, for example, 10, and threshold value th2 is set to, for example, 0.5.

[0139] Furthermore, as shown in formula (4), set D" is the set of set D' with n τ,i is the set of time periods where is less than β, where β is set to, for example, 3.

[0140] [Update Estimated Variables] The scan scheduler 14 determines the normalized scan time t N Once the time period τ to which belongs is calculated, all the estimated variables are updated by the following equation.

[0141]

number

[0142] In equations (5A) and (5B), C is the scan response delay SRD i It is.

[0143] [Update on communication response rate] Scan Analysis Manager 12 adds the IP address of the m-1th network scan. i The response of the qth port of the scan response SR i Then, the scan analysis manager 12 determines whether the IP address Add i The response of the qth port of the scan response SR i) is found, the IP address Add of the m-1th network scan is i The response of the qth port of the scan response SR i ) is obtained from the correspondence table TBL1, and the normalized scan time corresponding to t i Then, the normalized scan time t i The time period to which the event belongs is calculated using formula (1).

[0144] Then, the scan analysis manager 12 calculates the cumulative number of communication-based scans m by the following formula: τ,i , the number of successful communication scans d τ,i and communication response rate r τ,i Update.

[0145]

number

[0146] After that, Scan Analysis Manager 12 will i If the qth port is not registered in the response port list (i.e., correspondence table TBL3) of i The port number is registered in the response port list (i.e., correspondence table TBL3).

[0147] On the other hand, Scan Analysis Manager 12 uses the IP address Add i The response of the qth port of the scan response SR i ) is not found, the IP address Add i It is determined whether the q-th port is registered in the response port list (that is, the correspondence table TBL3).

[0148] And Scan Analysis Manager 12 will add the IP address i When it is determined that the q-th port of is registered in the response port list (i.e., correspondence table TBL3), the IP address Add i The response of the qth port of the scan response SR i) is obtained from the correspondence table TBL1, and the normalized scan time corresponding to t i Then, the normalized scan time t i The time period to which the event belongs is calculated using formula (1).

[0149] Then, the scan analysis manager 12 calculates the cumulative number of communication scans m by the following formula: τ,i and communication response rate r τ,i Update.

[0150]

number

[0151] The number of successful communication scans d τ,i The cumulative number of times maintained is substituted into the communication response rate r τ,i will be updated.

[0152] The scan analysis manager 12 performs the above operations on the IP address Add i Add all ports and all IP addresses of i Execute regarding.

[0153] [Create a scan schedule] The process of creating a scan schedule will now be described. In this embodiment of the invention, the process of creating a scan schedule is made up of three schedule creation processes 1 to 3.

[0154] (1) Schedule creation process 1 The scan scheduler 14 refers to the correspondence table TBL2-1 stored in the host information database 13 and calculates the cumulative number of communication scans m τ,i is equal to or greater than the threshold th1, and the communication response rate r τ,i The scan scheduler 14 obtains a set D' of time periods by excluding time periods in which t is less than the threshold value th2 from the set D. That is, the scan scheduler 14 obtains the set D' by the formula (3).

[0155] Here, the set D’ is the time period when the cumulative number of communication scans m τ,i is less than the threshold th1, and the communication response rate r τ,i is less than the threshold th2, and the time period when the cumulative number of communication scans m τ,i is less than the threshold th1, and the communication response rate r τ,i is greater than or equal to the threshold th2, and the time period when the cumulative number of communication scans m τ,i is greater than or equal to the threshold th1, and the communication response rate r τ,i is greater than or equal to the threshold th2. The set D’ consists of the time period when the cumulative number of communication scans m τ,i is less than the threshold th1, and the communication response rate r τ,i is less than the threshold th2, and the time period when the cumulative number of communication scans m τ,i is less than the threshold th1, and the communication response rate r τ,i is greater than or equal to the threshold th2. The reason that the set D’ includes the time period when the cumulative number of communication scans m τ,i is less than the threshold th1 (i.e., the time period when m τ,i < th1 ∧ r τ,i < th2 and the time period when m τ,i < th1 ∧ r τ,i ≥ th2) is scheduled, so that the cumulative number of communication scans m τ,i becomes greater than or equal to the threshold th1. When the cumulative number of communication scans m τ,i becomes greater than or equal to the threshold th1, it is to determine whether the time period to be scheduled is based on the communication response rate r τ,i .

[0156] After obtaining the set D’, the scan scheduler 14 determines whether the set D’ is an empty set Φ. Then, when the scan scheduler 14 determines that the set D’ is not an empty set Φ, among the time periods included in the set D’, it obtains a set D” of time periods when the number of successful communication scans d τ,i is less than β. That is, the scan scheduler 14 obtains the set D” according to formula (4).

[0157] Then, the scan scheduler 14 judges whether the set D″ is an empty set Φ. When the scan scheduler 14 judges that the set D″ is an empty set Φ, the number of successful scans n τ,i Add a constant γ to get the degree of freedom n τ,i +γ is calculated. The constant γ is set to, for example, −1. In addition, since the degree of freedom of the Student's T distribution must be greater than 0, γ satisfies −γ<β.

[0158] Then, the scan scheduler 14 has the degree of freedom n τ,i +γ, average μ τ,i and standard deviation σ τ,i Based on this, the scan response delay C during the time period τ is calculated by the following formula: τ That is, the scan scheduler 14 estimates the estimated variable μ τ,i ,σ τ,i ,n τ,i Based on the estimated scan response delay C τ )

[0159]

number

[0160] In this way, the scan scheduler 14 generates random numbers according to the Student T distribution and estimates the scan response delay C τ )

[0161] Subsequently, the scan scheduler 14 calculates the estimated scan response delay C τ ) is the smallest time period τ min Detect.

[0162]

number

[0163] Then, the scan scheduler 14 will iThe scan schedule for the q-th port of min Set to.

[0164] On the other hand, when the scan scheduler 14 determines that the set D″ is not an empty set Φ, it selects a time slot randomly from the set D″ as τ r Then, add the IP address i The scan schedule for the q-th port of r Set to.

[0165] In addition, when the scan scheduler 14 determines that the set D' is an empty set Φ, the IP address Add i Do not set a scan schedule for the qth port of the IP address Add i (skip setting the scan schedule for the qth port in the list).

[0166] The scan scheduler 14 executes the above process on the IP address Add i Add all ports and all IP addresses of i Execute regarding.

[0167] (2) Schedule creation process 2 When the set D' is an empty set Φ, the scan scheduler 14 creates a set D" (=D) consisting of the time periods included in the set D. That is, when the set D' is an empty set Φ, the scan scheduler 14 creates a set D" (=D) consisting of the time periods included in the set D. τ,i The selection of the time period by is disabled and set D is set to set D”.

[0168] Then, the scan scheduler 14 randomly selects a time slot from the set D” (=D) as τ r Then, add the IP address i The scan schedule for the q-th port of r Set to.

[0169] In addition, when the set D″ (=Equation (4)) shown in Equation (4) is not an empty set Φ, the scan scheduler 14 randomly selects a time slot from the set D″ (=Equation (4)) as τ r Then, add the IP address i The scan schedule for the q-th port of r Set to.

[0170] On the other hand, when the set D' is not an empty set Φ and the set D" (= formula (4)) is an empty set Φ, the scan scheduler 14 creates the IP address Add i The scan schedule for the q-th port of min Set to.

[0171] (3) Schedule creation process 3 When the set D' is an empty set Φ, the scan scheduler 14 determines the communication response rate r τ,i V time periods are selected in descending order of their variance, and the set of the selected V time periods is set as set D' (V time periods). Here, V is, for example, half of the time periods included in set D, or all of the time periods included in set D.

[0172] Then, the scan scheduler 14 calculates the number of successful communication scans d out of the V time periods included in the set D′ (V time periods). τ,i Let the set of time periods for which is less than β be the set D″ (derived from V time periods).

[0173] Then, the scan scheduler 14 judges whether the set D″ (derived from V time periods) is an empty set Φ. When the scan scheduler 14 judges that the set D″ (derived from V time periods) is an empty set Φ, the scan scheduler 14 calculates the IP address Add i The scan schedule for the q-th port of min Set to.

[0174] On the other hand, when the scan scheduler 14 determines that the set D″ (derived from V time slots) is not an empty set Φ, it selects a time slot randomly from the set D″ (derived from V time slots) as τ r Then, add the IP address i The scan schedule for the q-th port of r Set to.

[0175] In addition, when the scan scheduler 14 determines that the set D' shown in the formula (3) is not an empty set Φ and determines that the set D" shown in the formula (4) is an empty set Φ, the scan scheduler 14 performs the same method as the method in the schedule creation process 1 based on the set D' shown in the formula (3) to create the IP address Add i The scan schedule for the q-th port of min Set to.

[0176] Fig. 13 is a flowchart for explaining the operation of the network scanning device 1 shown in Fig. 2. Note that in Fig. 13, the operation of the network scanning device 1 will be explained on the assumption that the network scan is executed sequentially in multiple rounds.

[0177] 13, when the operation of the network scanning device 1 is started, the scan analysis manager 12 determines whether the round m is m=0 or not (step S1).

[0178] In step S1, when it is determined that the round m is m=0, the scan analysis manager 12 τ,i ,η τ,i ,σ τ,i ,n τ,i The estimated variables μ τ,i ,η τ,i ,σ τ,i ,n τ,i is initialized (step S2).

[0179] Then, the scan analysis manager 12 calculates the cumulative number of communication-based scans mτ,i , the number of successful communication scans d τ,i and communication response rate r τ,i By setting to zero, the communication response rate r τ,i is initialized (step S3).

[0180] On the other hand, when it is determined in step S1 that the round m is not m=0, the scan analysis manager 12 τ,i ,η τ,i ,σ τ,i ,n τ,i (Step S4), and the cumulative number of communication scans m τ,i , the number of successful communication scans d τ,i and communication response rate r τ,i is updated (step S5).

[0181] After step S3 or step S5, the scan scheduler 14 executes the scheduling of the network scan (step S6), thereby completing the operation of the network scanning device 1.

[0182] In the flowchart shown in FIG. 13, when round m is the 0th round (m=0), the estimation variables and the communicative response rate are initialized (see steps S2 and S3).

[0183] And when round m is not the 0th round (m=0), the estimated variable, the cumulative number of communication scans m τ,i , the number of successful communication scans d τ,i and communication response rate r τ,i is updated (see steps S4 and S5). That is, the scan analysis manager 12 updates the estimation variable, the communication cumulative scan count m τ,i , the number of successful communication scans d τ,i and communication response rate r τ,i By updating the estimated variable, the cumulative number of communication scans m τ,i , the number of successful communication scans d τ,i and communication response rate r τ,i Learn.

[0184] Then, the scan scheduler 14 calculates the learned estimation variables, the cumulative number of communication scans m τ,i , the number of successful communication scans d τ,i and communication response rate r τ,i Based on this, a scan schedule for a network scan is created (see step S6).

[0185] Fig. 14 is a flowchart for explaining the detailed operation of step S4 in Fig. 13. Referring to Fig. 14, when it is determined in step S1 in Fig. 13 that round m is not m=0, scan analysis manager 12 sets i=1 (step S41) and sets q=1 (step S42).

[0186] Then, the scan analysis manager 12 refers to the correspondence table TBL1 stored in the host information database 13 and obtains the IP address Add i The scan response SR for the qth port of i_q In this case, the scan analysis manager 12 refers to the correspondence table TBL1 and determines whether or not there is an IP address Add i The scan response SR corresponding to the qth port of i_q When consists of "1", the scan response SR i_q is determined to exist, and the IP address Add i The scan response SR corresponding to the qth port of i_q When consists of "0", the scan response SR i_q Also, the IP address Add of the m-1th network scan is not found. i The scan response SR for the qth port of i_q For example, in the m=1 round, the presence or absence of the IP address Add is determined based on the result of the network scan performed in the previous round m=0 (i.e., the m-1th round). i The scan response SR for the qth port of i_qThis is to determine whether or not there is a

[0187] In step S43, the IP address Add in the (m-1)th network scan is i The scan response SR corresponding to the qth port of i_q When it is determined that there is a scan response SR i_q Normalized scan time t i and scan response delay C (=SRD i ) is obtained (step S44).

[0188] Then, the scan analysis manager 12 calculates the normalized scan time t i The time period τ to which the time belongs is calculated (step S45).

[0189] Then, the scan analysis manager 12 calculates the estimated variable μ τ,i ,η τ,i ,σ τ,i ,n τ,i is updated (step S46).

[0190] Then, in step S43, the IP address Add in the (m-1)th network scan is i The scan response SR for the qth port of i_q When it is determined that there is no q=M i It is determined whether M i Add IP address i The number of ports to scan.

[0191] In step S47, q=M i If it is determined that the number of times ... iSteps S43 to S48 are repeatedly executed until it is determined that the above condition is met.

[0192] Then, in step S47, q=M i If it is determined that i=N, the scan analysis manager 12 determines whether i=N (step S49).

[0193] When it is determined in step S49 that i is not equal to N, the scan analysis manager 12 sets i to i+1 (step S50). After that, the series of operations proceeds to step S42, and steps S42 to S50 are repeatedly executed until it is determined in step S49 that i is equal to N.

[0194] Then, if it is determined in step S49 that i=N, the series of operations proceeds to step S5 in FIG.

[0195] By executing the flowchart shown in Figure 14, all IP addresses Add that are the targets of the network scan can be i Scan response SR i Scan response delay C (=SRD i ) to add all IP addresses. i The estimated variable μ for the time period τ τ,i ,η τ,i ,σ τ,i ,n τ,i will be updated.

[0196] Fig. 15 is a flowchart for explaining the detailed operation of step S5 in Fig. 13. Referring to Fig. 15, after step S4 in Fig. 13, scan analysis manager 12 sets i=1 (step S5-1) and sets q=1 (step S5-2).

[0197] Then, the scan analysis manager 12 calculates the IP address Add i The scan response SR for the qth port of i_qIt is determined whether or not there is (step S5-3).

[0198] In step S5-3, the IP address Add in the m-1th network scan i The scan response SR for the qth port of i_q When it is determined that there is an IP address Add i Obtain the normalized scan time corresponding to the response of the qth port of t i Then, the normalized scan time t i The time period τ to which the time belongs is calculated by equation (1) (step S5-4).

[0199] Then, the scan analysis manager 12 calculates the cumulative number of communication-based scans m during the time period τ by using the formula (6). τ,i and the number of successful communication scans d τ,i Update the communication response rate r τ,i is updated (step S5-5).

[0200] After that, Scan Analysis Manager 12 will i If the qth port is not registered in the response port list (= correspondence table TBL3) of the i The port number is registered in the response port list (=correspondence table TBL3) (step S5-6).

[0201] On the other hand, in step S5-3, the IP address Add i The scan response SR for the qth port of i_q When it is determined that there is no IP address, the scan analysis manager 12 i The qth port of IP address Add i It is then determined whether or not the port is registered in the response port list (correspondence table TBL3) (step S5-7).

[0202] In step S5-7, the IP address Add iThe qth port of IP address Add i When it is determined that the IP address is registered in the response port list (= correspondence table TBL3) of the m-1th network scan, the scan analysis manager 12 i Obtain the normalized scan time corresponding to the response of the qth port of t i Then, the normalized scan time t i The time period τ to which the time belongs is calculated using formula (1) (step S5-8).

[0203] Then, the scan analysis manager 12 calculates the communication response rate r τ,i and the cumulative number of communication scans m τ,i is updated (step S5-9).

[0204] Then, after step S5-6 or in step S5-7, the IP address Add i The qth port of IP address Add i When it is determined that the port is not registered in the response port list (=correspondence table TBL3) of q=M, or after step S5-9, the scan analysis manager 12 i It is determined whether or not this is the case (step S5-10).

[0205] In step S5-10, q=M i If it is determined that the number of times ... i Steps S5-3 to S5-11 are repeatedly executed until it is determined that the above condition is satisfied.

[0206] And in S5-10, q=M i If it is determined that i=N, then the scan analysis manager 12 determines whether i=N (step S5-12).

[0207] If it is determined in step S5-12 that i is not equal to N, then scan analysis manager 12 sets i to i+1 (step S5-13). After that, the series of operations proceeds to step S5-2, and steps S5-2 to S5-13 are repeatedly executed until it is determined in step S5-12 that i is equal to N.

[0208] If it is determined in step S5-12 that i=N, the process proceeds to step S6 in FIG.

[0209] In the flowchart shown in FIG. 15, in step S5-5, the scan analysis manager 12 calculates the cumulative number of communication-based scans m τ,i and the number of successful communication scans d τ,i Update the communication response rate r τ,i Then, in step S5-6, the qth port that is not registered in the response port list (=correspondence table TBL3) is registered in the response port list (=correspondence table TBL3). This is because, in step S5-5, the number of successful communication scans d τ,i has been updated, so the scan response SR i is returned, and the scan response SR i When the port from which the scan response was returned is not registered in the response port list (= correspondence table TBL3), the scan response SR i The port from which the response was received is registered in the response port list (= correspondence table TBL3) as a port from which a response can be expected (see Figure 7).

[0210] Fig. 16 is a flow chart for explaining the detailed operation of step S6 in Fig. 13. Referring to Fig. 16, after step S3 or step S5 in Fig. 13, the scan scheduler 14 sets i=1 (step S61). Then, the scan scheduler 14 refers to the correspondence table TBL2-1 stored in the host information database 13 and calculates the cumulative communication scan count m τ,i is equal to or greater than the threshold th1, and the communication response rate r τ,iThe set D' is obtained by removing the time periods in which the response rate r τ,i A time period is selected (step S62).

[0211] After that, the scan scheduler 14 determines whether the set D' is not an empty set Φ (step S63).

[0212] When it is determined in step S63 that the set D' is not an empty set Φ, the scan scheduler 14 calculates the number of successful network scans n τ,i The time period in which is less than β is selected from the set D′ by the formula (4) to obtain the set D″. That is, the scan scheduler 14 selects the time period in which the number of successful network scans n τ,i A time period where there is a shortage is selected (step S64).

[0213] Then, the scan scheduler 14 determines whether the set D″ is an empty set Φ (step S65).

[0214] When it is determined in step S65 that the set D″ is an empty set Φ, the scan scheduler 14 sets q=1 (step S66) and calculates the estimated value C based on the estimated variables according to equation (8). τ is generated (step S67).

[0215] Then, the scan scheduler 14 calculates the estimated value C τ The time period τ where is the smallest min is detected (step S68).

[0216] Then, the scan scheduler 14 will i The scan schedule for the q-th port of min (step S69).

[0217] Then, the scan scheduler 14 performs the scan iIt is determined whether or not this is the case (step S70).

[0218] In step S70, q=M i If it is determined that the number of times ... i Steps S67 to S71 are repeatedly executed until it is determined that the above condition is met.

[0219] On the other hand, when it is determined in step S65 that the set D″ is not an empty set Φ, the scan scheduler 14 sets q=1 (step S72), randomly selects a time slot from the set D″, and sets the selected time slot as τ r (step S73).

[0220] And the scan scheduler 14 will add the IP address i The scan schedule for the q-th port of r (step S74).

[0221] Then, the scan scheduler 14 performs the scan i It is determined whether or not this is the case (step S75).

[0222] In step S75, q=M i If it is determined that the number of times ... i Steps S73 to S76 are repeatedly executed until it is determined that the above condition is met.

[0223] Then, in step S63, when it is determined that the set D' is an empty set Φ, or in step S70 or step S75, q=M i If it is determined that i=N, the scan scheduler 14 determines whether i=N (step S77).

[0224] In step S77, when it is determined that i ≠ N, the scan scheduler 14 sets i = i + 1 (step S78). Thereafter, the series of operations proceeds to step S62, and steps S62 to S78 are repeatedly executed until it is determined in step S77 that i = N.

[0225] Then, when it is determined in step S77 that i = N, the series of operations proceeds to "End" in FIG. 13.

[0226] In the flowchart shown in FIG. 16, in step S63, when it is determined that the set D' is an empty set Φ, the scan schedule for the q-th port of the IP address Add i is not set, and the target for setting the scan schedule moves to the next IP address Add i+1 (see "NO" in step S63 → "NO" in step S77 → step S78). This is because it is expected that data (cumulative communication scan count m τ,i , communication scan success count d τ,i , and communication response rate r τ,i ) such as the communication response rate r τ,i is difficult to learn, so the setting of the scan schedule for the q-th port of the IP address Add i is skipped.

[0227] Also, in the flowchart shown in FIG. 16, when the set D" is not an empty set Φ, the scan schedule for the q-th port of the IP address Add r is set for the time slot τ i randomly selected from the set D" (see "NO" in step S65 and steps S72 to S76) for the following reasons.

[0228] The set D' is [m τ,i < th1 ∧ r τ,i < th2 time slots], [m τ,i < th1 ∧ r τ,iTime zone of ≧th2 and [m τ,i ≧th1 ∧ r τ,i It consists of the time zones of ≧th2. The set D” consists of the time zones among the time zones included in the set D’ where the number of successful network scans n τ,i is less than β. Therefore, by increasing the number of successful network scans n τ,i the communication response rate r τ,i may become equal to or higher than the threshold value th2 in the time zone ([m τ,i <th1 ∧ r τ,i <th2 time zone), or the communication response rate r τ,i is equal to or higher than the threshold value th2 in the time zone ([m τ,i <th1 ∧ r τ,i ≧th2 time zone] and [m τ,i ≧th1 ∧ r τ,i ≧th2 time zone), the scan schedule for the q-th port of the IP address Add i is set. This is because it may be possible to improve the learning speed in the network scan.

[0229] Furthermore, in the flowchart shown in FIG. 16, when it is determined in step S65 that the set D” is an empty set Φ, in the time zone included in the set D’, the estimated value C τ (scan response delay) is the time zone τ where it becomes minimum min the scan schedule for the q-th port of the IP address Add i is set (see steps S66 to S71). Therefore, data in the network scan (scan response SR i , scan response delay SRD i , communication cumulative scan count m τ,i , communication response rate r τ,i and communication scan success count d τ,i (synonymous with the number of successful network scans n τ,i ) can be quickly collected, and the learning speed can be improved.

[0230] Furthermore, in the flowchart shown in FIG. 16, for all IP addresses Add1 to Add NOn the contrary, in step S63, it is not determined that the set D' is an empty set Φ. Generally, among the IP addresses Add1 to Add N where p (p is an integer satisfying 1 ≤ p < N) of the IP addresses Add1 to Add p it is determined that the set D' is an empty set Φ. As a result, the scan scheduler 14 creates a scan schedule for performing a network scan on N terminal devices by executing a process of not setting a scan schedule for p terminal devices according to the flowchart shown in FIG. 16.

[0231] Furthermore, in the flowchart shown in FIG. 16, when it is determined in step S65 that the set D'' is an empty set Φ, according to steps S67 to S69, setting the scan schedule for the q-th port of the IP address Add i to the time zone τ min is equivalent to setting the scan schedule for terminal devices other than the p terminal devices to the time zone τ τ,i where the communication scan success count d τ,i (synonymous with the network scan success count n τ ) is β or more and the scan response delay (= estimated value C min ) is the minimum. The reason is as follows. Step S67 is executed when it is determined in step S65 that the set D'' is an empty set Φ. The determination that the set D'' is an empty set Φ means that all time zones included in the set D' have a communication scan success count d τ,i (synonymous with the network scan success count n τ,i ) of β or more. Also, the p terminal devices are terminal devices for which the set D' is an empty set Φ (i.e., the time zones for setting the scan schedule are m τ,i ≥ th1, and r τ,i(A terminal device consisting only of the time period that is th2), setting a scan schedule for p terminal devices is skipped (since "NO" in step S63 → see step S77), because in steps S67 to S69, a scan schedule for terminal devices other than the p terminal devices is set.

[0232] FIG. 17 is another flowchart for explaining the detailed operation of step S6 in FIG. 13. The flowchart shown in FIG. 17 is obtained by adding step S79 to the flowchart shown in FIG. 16, and the rest is the same as the flowchart shown in FIG. 16.

[0233] Referring to FIG. 17, after step S3 or step S5 in FIG. 13, the above-described steps S61 to S63 are sequentially executed.

[0234] Then, in step S63, when it is determined that the set D' is an empty set Φ, the scan scheduler 14 invalidates the selection of the time period by the communication response rate r τ,i by setting the set D to the set D” (step S79).

[0235] On the other hand, in step S63, when it is determined that the set D' is not an empty set Φ, the above-described steps S64 and S65 are sequentially executed. Then, in step S65, when it is determined that the set D” is not an empty set Φ, or after step S79, the above-described step S72 is executed, and steps S73 to S76 are repeatedly executed until it is determined in step S75 that q = M i is satisfied.

[0236] On the other hand, in step S65, when it is determined that the set D” is an empty set Φ, the above-described step S66 is executed, and steps S67 to S71 are repeatedly executed until it is determined in step S70 that q = M i is satisfied.

[0237] And, in step S70 or step S75, when q = M i is determined, in step S77, steps S62 to steps S78, S79 are repeatedly executed until it is determined that i = N. When it is determined that i = N in step S77, the series of operations proceeds to "End" in FIG. 13.

[0238] In the flowchart shown in FIG. 17, in step S63, when it is determined that the set D' is an empty set Φ, that is, the IP address Add i the time zone for setting the scan schedule for the q-th port of is a time zone with a low communication response rate r τ,i (=[m τ,i ≧ th1 ∧ r τ,i < th2 time zone]), the selection of the time zone based on the communication response rate r τ,i is disabled (see step S79), and a time zone τ r substantially randomly selected from the set D is set as the scan schedule for the q-th port of the IP address Add i (see steps S73, S74).

[0239] Thus, steps S73 and S74 are executed after step S79 because if it is difficult to collect data such as the communication response rate r τ,i (the communication cumulative scan count m τ,i , the communication scan success count d τ,i (synonymous with the network scan success count n τ,i ) and the communication response rate r τ,i ), scheduling with a small load on the network is performed by uniformly varying the timing of executing the network scan.

[0240] Note that as a result of uniformly varying the timing of executing the network scan, the communication situation may be secondarily improved and the communication response rate r τ,i may be improved.

[0241] In the flowchart shown in FIG. 17, when it is determined that the set D′ is an empty set Φ in the flowchart shown in FIG. 16 (see “NO” in step S63), the IP address Add i Instead of skipping the process of setting a scan schedule for the q-th port of τ,i (see step S79), and select a time period τ randomly selected from the set D. r Add IP address to i Then, a scan schedule for the q-th port is set (see steps S73 and S74).

[0242] In the flowchart shown in FIG. 17, all IP addresses Add1 to Add N In step S63, the set D' is not judged to be an empty set Φ, and generally, the IP addresses Add1 to Add N For p IP addresses in the set D′, it is determined that the set D′ is an empty set Φ. As a result, the scan scheduler 14 calculates the communication response rate r τ,i The selection of the time period by the method above is overridden, and a process of setting scan schedules for p terminal devices for a time period selected from set D is performed to create a scan schedule for performing a network scan on N terminal devices.

[0243] The rest of the description of the flowchart shown in FIG. 17 is the same as the description of the flowchart shown in FIG.

[0244] Fig. 18 is yet another flowchart for explaining the detailed operation of step S6 in Fig. 13. The flowchart shown in Fig. 18 is the same as the flowchart shown in Fig. 16 except that step S80 is added to the flowchart shown in Fig. 16.

[0245] 18, after step S3 or step S5 in FIG. 13, steps S61 to S63 described above are sequentially executed.

[0246] Then, in step S63, if it is determined that the set D' is an empty set Φ, the scan scheduler 14 refers to the correspondence table TBL2-1 stored in the host information database 13 and calculates the communication response rate r τ,i V time periods are selected in descending order of time from highest to lowest, and the set of the selected V time periods is set as set D' (step S80).

[0247] On the other hand, when it is determined in step S63 that the set D' is not an empty set Φ, or after step S80, the series of operations proceeds to step S64. Then, the above-mentioned steps S64 to S78 are sequentially executed, and when it is determined in step S77 that i=N, the series of operations proceeds to "End" in FIG.

[0248] In the flowchart shown in FIG. 18, when the process moves from step S80 to step S64, the number of successful communicative scans d τ,i (Number of successful network scans n τ,i (same as above) is less than β, and the selected time periods constitute a set D″.

[0249] Then, when it is determined in step S65 that the set D″ is an empty set Φ, the estimated value C τ The time period τ during which (scan response delay) is minimum min Add IP address to i In other words, the scan schedule for the q-th port of the set D′ in step S62 is set to the estimated value C τ The time period τ during which (scan response delay) is minimum min is set to.

[0250] Also, from step S80 through step S64 to step S65, when it is determined in step S65 that the set D″ is not an empty set Φ, d τ,i A time period τ randomly selected from the time periods (set D") that satisfy <β r Add IP address to i A scan schedule for the q-th port is set (see steps S73 and S74).

[0251] Furthermore, in the flowchart shown in FIG. 18, when the process proceeds from "YES" in step S63 to step S64, the number of successful communicative scans d τ,i A time period in which is less than β is selected from the time periods included in the set D′, and the selected time periods constitute a set D″. Then, when it is determined in step S65 that the set D″ is an empty set Φ, the estimated value C τ The time period τ during which (scan response delay) is minimum min Add IP address to i A scan schedule for the q-th port of the IP address Add is set (see steps S67 to S69). Therefore, the process proceeds from "YES" in step S63 to step S65 via step S64. When it is determined in step S65 that the set D" is an empty set Φ, the IP address Add is set according to steps S67 to S69. i The scan schedule for the q-th port of min Setting to d τ,i (Number of successful network scans n τ,i During the time period when the scan response delay (= estimated value C τ ) is the smallest in the time period τ min This is equivalent to setting a scan schedule for terminal devices other than the p terminal devices in the above manner. The reason is as follows.

[0252] Step S67 is executed when it is determined in step S65 that the set D” is an empty set Φ. The fact that the set D” is determined to be the empty set Φ means that all of the time zones included in the set D’ have a communication scan success count d τ,i (synonymous with the success count n of network scans τ,i is β or more. Also, the p terminal devices are terminal devices for which the set D’ is an empty set Φ (that is, the time zones for setting the scan schedule are m τ,i ≧ th1 and r τ,i < th2. The scan schedules of the p terminal devices are set to any of the V time zones included in the set D’ in step S80. Therefore, when reaching step S67 via “YES” in step S63 → step S64 → “YES” in step S65 → step S66, in steps S67 to S69, the scan schedules of terminal devices other than the p terminal devices are set.

[0253] Furthermore, when reaching step S65 via step S64 from step S80, and it is determined in step S65 that the set D” is not an empty set Φ, a time zone τ τ,i randomly selected from the time zones (set D”) that satisfy n r < β among the time zones included in the set D’ in step S80 has a scan schedule set for the q-th port of each IP address Add i of the p terminal devices (see steps S73, S74).

[0254] Furthermore, when reaching step S65 via step S64 from “YES” in step S63, and it is determined in step S65 that the set D” is not an empty set Φ, a time zone τ τ,i randomly selected from the time zones (set D”) that satisfy d r < β among the time zones included in the set D’ in step S62 has a scan schedule set for each IP address Add iA scan schedule for the q-th port is set (see steps S73 and S74).

[0255] In this way, in the flowchart shown in FIG. 18, when it is determined that the set D' is an empty set Φ in the flowchart shown in FIG. 16 (see "NO" in step S63), the IP address Add i Instead of skipping the process of setting a scan schedule for the q-th port of τ,i V time periods are selected in descending order of time period with the highest value, and set as a set D' (see "NO" in step S63 -> step S80). Depending on whether the set D" generated based on the V time periods (set D' in step S80) is an empty set Φ, the estimated value C τ The time period τ during which (scan response delay) is minimum min Add IP address to i (see steps S67 to S69), or select a time period τ randomly from the V time periods (set D' in step S80). r Add IP address to i A scan schedule for the q-th port of the network is set (see steps S72 to S76). Therefore, by creating a scan schedule according to the flowchart shown in FIG. 18, the communication response rate r τ,i This may be possible to improve the scan time compared to when a scan schedule is created according to the flowchart shown in FIG.

[0256] Furthermore, in the flowchart shown in FIG. 18, all IP addresses Add1 to Add N In step S63, the set D' is not judged to be an empty set Φ, and generally, the IP addresses Add1 to Add N It is determined that the set D' is an empty set Φ for p IP addresses in the set D'. As a result, the scan scheduler 14 calculates the communication response rate rτ,i A set D' consisting of V time periods selected in order of the highest value is obtained, and a process of setting a scan schedule for the time periods selected from set D' is executed for p terminal devices to create a scan schedule for performing a network scan on N terminal devices.

[0257] The rest of the description of the flowchart shown in FIG. 18 is the same as the description of the flowchart shown in FIG.

[0258] In the embodiment of the present invention, the operation of the network scanning device 1 may be executed by software. In this case, the network scanning device 1 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), and a RAM (Random Access Memory). The ROM stores a program Prog_A consisting of the steps of the flowchart shown in Fig. 13 (including the flowchart shown in Fig. 14, the flowchart shown in Fig. 15, and any of the flowcharts shown in Figs. 16 to 18).

[0259] The CPU reads out the program Prog_A from the ROM, executes the read out program Prog_A, and obtains a communication response rate r τ,i The RAM creates a scan schedule based on the normalized scan time t i Time period τ in which min and time period τ r etc. are temporarily stored.

[0260] The program Prog_A may be recorded on a recording medium such as a CD or DVD and distributed. When the recording medium on which the program Prog_A is recorded is inserted into a computer, the computer reads out the program Prog_A from the recording medium, executes it, and obtains a communication response rate r τ,i Create a scan schedule based on the

[0261] Therefore, the recording medium on which the program Prog_A is recorded is a computer-readable recording medium.

[0262] As described above, in the first embodiment, when the set D' is an empty set Φ, the scan scheduler 14 adopts one of the following measures. (Measure 1) IP address Add i In this case, the process of setting the scan schedule for the q-th port is skipped (see the flowchart shown in FIG. 16). (Measure 2) Communication response rate r τ,i A randomly selected time slot τ from set D is chosen by overriding the selection of time slots by r Add IP address to i Then, a scan schedule for the q-th port is set (see the flowchart shown in FIG. 17). (Measure 3) Communication response rate r τ,i V time periods are selected in order of the number of times when τ,i In the time period of set D” selected from V time periods (set D') by τ The time period τ during which (scan response delay) is minimum min Add IP address to i Set a scan schedule for the qth port of , or select a random time slot τ from the time slots of set D. r Add IP address to i Then, a scan schedule for the q-th port is set (see the flowchart shown in FIG. 18).

[0263] Then, strategy 2 is a randomly selected time period τ r Add IP address to i Since we are setting a scan schedule for the qth port of the IP address Add i The scan schedule for the qth port of τ,i In other words, strategy 2 is equivalent to not setting the time period selected by m τ,i ≧th1 and r τ,iIt corresponds to not setting the scan schedule for the q-th port of IP address Add during the time period which is th2. i

[0264] Also, Measure 3 is, in addition to the communication response rate r τ,i using the number of successful communication scans d τ,i in the time period of the set D” selected using, the time period τ with the minimum scan response delay min or the time period τ randomly selected from the set D” r for the q-th port of IP address Add i It corresponds to setting the scan schedule.

[0265] As a result, Measures 2 and 3, when the set D’ is the empty set Φ, the time period for setting the scan schedule for the q-th port of IP address Add i is not selected only by the communication response rate r τ,i which is common.

[0266] Therefore, in Embodiment 1, the scan scheduler 14 creates a scan schedule for N terminal devices without setting the scan schedule for p terminal devices in the time period selected only by the communication response rate r τ,i .

[0267] [Embodiment 2] FIG. 19 is a schematic diagram in Embodiment 2 of the network scan device 1 shown in FIG. 1.

[0268] Referring to FIG. 19, the network scan device 1A according to Embodiment 2 adds a clustering manager 15 and a clustering database 16 to the network scan device 1 shown in FIG. 2, changes the scan scheduler 14 to a scan scheduler 14A, and the rest is the same as the network scan device 1 shown in FIG. 2.

[0269] ​The scan scheduler 14A refers to the clusters stored in the clustering database 16, creates a scan schedule for each cluster using a method described below, outputs the created scan schedule to the network scanner 11, and controls the network scanner 11 to execute a network scan in accordance with the scan schedule.

[0270] The clustering manager 15 refers to the correspondence table TBL1 stored in the host information database 13, classifies the N terminal devices into clusters by a method to be described later, and stores the classified clusters in the clustering database 16.

[0271] The clustering database 16 stores the clusters.

[0272] The network scanning device 1A operates in accordance with the timing chart shown in FIG.

[0273] Fig. 20 is a diagram showing a specific example of clustering, and Fig. 21 is a diagram showing another specific example of clustering.

[0274] Figure 20 shows an example of clustering by IP address. In a corporate network, it is unclear how large an area an IP address is spread over, but in a university network, for example, nearby IP addresses are used within a radius of several hundred meters. Therefore, the terminal devices in the university network are classified into one cluster by IP address.

[0275] In addition, in cellular networks and ISP networks, IP addresses that are close to each other within a radius of several tens of meters are used, so terminal devices having these IP addresses are classified into one cluster.

[0276] Fig. 21 shows an example of clustering based on domain names and wireless environment conditions. For example, domains that deploy networks in a small area, such as a university, are clustered on a domain-by-domain basis.

[0277] Also, terminal devices connected to base stations / access points (APs) in similar wireless environment conditions, such as companies A and B, that are spatially separated from one another, are classified into one cluster. A terminal device in company A performs wireless communication with a base station or AP installed in company A, and a terminal device in company B performs wireless communication with a base station or AP installed in company B, so that the terminal devices in company A and company B are in similar wireless environment conditions. By referring to the domain name, the clustering manager 15 can determine whether a terminal device is installed in a company or not, and can cluster terminal devices in similar wireless environment conditions.

[0278] Fig. 22 is a conceptual diagram of the clustering database 16 shown in Fig. 19. Referring to Fig. 22, the clustering database 16 includes, for example, clusters Ac, Bc, and Cc. The clusters Ac, Bc, and Cc are clusters clustered by IP addresses.

[0279] Cluster Ac consists of mutually close IP addresses Add1 to Add e (e is an integer equal to or greater than 2). A cluster Bc is made up of e terminal devices with IP addresses Add f ~Add f+b (f is an integer different from e, and b is an integer equal to or greater than 1). A cluster Cc is made up of (b+1) terminal devices each having an IP address Add g ~Add g+u (g is an integer different from e and f, and u is an integer equal to or greater than 1).

[0280] In FIG. 22, clustering database 16 shows clusters Ac, Bc, and Cc clustered by IP addresses; however, in an embodiment of the present invention, this is not limited to this, and clustering database 16 may be composed of multiple clusters clustered by domain names, or multiple clusters clustered by similar wireless environment conditions, or multiple clusters created by randomly selecting terminal devices, and in general, it is sufficient for the clustering database 16 to be composed of multiple clusters clustered by a predetermined method.

[0281] The clustering manager 15 classifies the N terminal devices stored in the host information database 13 into a plurality of clusters using a predetermined method, and creates or updates the clustering database 16.

[0282] [Create a scan schedule] A description will now be given of the process of creating a scan schedule in the embodiment 2. In the embodiment 2 as well, the process of creating a scan schedule is made up of three schedule creation processes 4 to 6.

[0283] (4) Schedule creation process 4 The scan scheduler 14A uses the correspondence table TBL2-1 stored in the host information database 13 and the clusters E1 to E2 stored in the clustering database 16. Nc For each cluster E j (j is 1≦j≦N c is an integer that satisfies N c is the total number of clusters.) o More specifically, the scan scheduler 14A selects clusters E1 to E Nc Cluster E of j IP addresses Add of all the terminal devices included in 1_j ~Add s_j (s is cluster E jis the total number of terminal devices included therein.) is extracted, and referring to the correspondence table TBL2-1, the IP address Add 1_j ~Add s_j among them, the cumulative communication scan count m τ,i is the minimum, and the IP address Add i_j of the terminal device is selected as the IP address Add o That is, the scan scheduler 14A selects the IP address Add o by the following formula.

[0284]

Number

[0285] Then, the scan scheduler 14A, based on the selected IP address Add o obtains a set D' of time zones obtained by removing from the set D the time zones in which the cumulative communication scan count m τ,o is greater than or equal to the threshold th1 and the communication response rate r τ,o is less than the threshold th2. That is, the scan scheduler 14 obtains the set D' by the following formula.

[0286]

Number

[0287] Formula (11) represents that in the time zone associated with the IP address Add o , the set D' is obtained by removing from the set D the time zones that satisfy m τ,o ≧th1 and r τ,o <th2. That is, formula (11) represents that referring to the correspondence table TBL2-1, in the time zone associated with the IP address Add o , the time zones that satisfy m τ,o ≧th1 and r τ,o <th2 are selected, and the set D' is obtained by removing the selected time zones from the set D.

[0288] Here, the set D' is the cumulative communication scan count mτ,o is less than the threshold th1 and the communication response rate r τ,o is less than the threshold th2, and the cumulative number of communication scans m τ,o is less than the threshold th1 and the communication response rate r τ,o The time period when is greater than or equal to the threshold value th2 and the cumulative number of communication scans m τ,o is equal to or greater than the threshold th1, and the communication response rate r τ,o The set D' is composed of a time period in which the cumulative number of communication-oriented scans m τ,o is less than the threshold th1 and the communication response rate r τ,o is less than the threshold th2, and the cumulative number of communication scans m τ,o is less than the threshold th1 and the communication response rate r τ,o The reason why the time period during which the threshold value th1 is not less than the threshold value th2 is the same as that explained in the first embodiment.

[0289] After acquiring the set D', the scan scheduler 14A judges whether the set D' is not an empty set Φ. When the scan scheduler 14A judges that the set D' is not an empty set Φ, the scan scheduler 14A calculates the number of successful network scans n during the time period included in the set D'. τ,k A set D″ of time periods where is less than β is obtained. That is, the scan scheduler 14A obtains the set D″ by the following formula:

[0290]

number

[0291] Equation (12) is the cluster E j IP address included in Add k The number of successful network scans corresponding to n τ,k In this case, the number of successful network scans is n τ,k In other words, the expression (12) refers to the correspondence table TBL2-1 and selects the time period corresponding to the IP address Addk The number of successful network scans corresponding to n τ,k Among them, the number of successful scans less than β is n τ,k This represents that the time periods corresponding to the above are selected, and the selected time periods are set as set D”.

[0292] Then, the scan scheduler 14A judges whether the set D″ is an empty set Φ. When the scan scheduler 14A judges that the set D″ is an empty set Φ, the scan scheduler 14A increases the number of successful scans of the network scan n τ,k The IP address Add of the most common terminal device l The estimated variable μ' corresponding to τ ,σ' τ ,n' τ That is, the scan scheduler 14A obtains the estimated variable μ′ by the following equation: τ ,σ' τ ,n' τ Get the.

[0293]

number

[0294] Then, the scan scheduler 14A calculates the number of successful scans n' τ Add a constant γ to get the degree of freedom n' τ +γ is calculated. The constant γ is set to, for example, −1. In addition, since the degree of freedom of the Student's T distribution must be greater than 0, γ satisfies −γ<β.

[0295] Then, the scan scheduler 14A has the degree of freedom n' τ +γ, average μ' τ and standard deviation σ' τ Based on this, the scan response delay C during the time period τ is calculated by the following formula: τ That is, the scan scheduler 14A estimates the estimated variable μ′ by the following equation: τ ,σ' τ ,n' τ Based on the estimated scan response delay C τ )

[0296]

number

[0297] In this way, the scan scheduler 14A generates random numbers according to the Student T distribution and estimates the scan response delay C τ )

[0298] Subsequently, the scan scheduler 14A calculates the estimated scan response delay C τ ) is the smallest time period τ min Detect.

[0299] Then, the scan scheduler 14A will j Let us define the scan schedule for the q-th port of all IP addresses in time period τ min In this case, since the number of ports differs for each IP address, there may be an IP address that does not have the qth port. In that case, the scan schedule for the IP address that has the qth port is set to τ min Set to.

[0300] On the other hand, when the scan scheduler 14A determines that the set D″ is not an empty set Φ, it selects a time slot randomly from the set D″ as τ r Let cluster E j Let us define the scan schedule for the q-th port of all IP addresses in time period τ r Set to.

[0301] In addition, when the scan scheduler 14A determines that the set D' is an empty set Φ, the scan scheduler 14A j Do not set a scan schedule for the qth port of all IP addresses of cluster E j (skip setting up a scan schedule for the qth port of all IP addresses in the list).

[0302] The scan scheduler 14A executes the above-mentioned process on all clusters E j and all IP addresses Add i Execute regarding.

[0303] (5) Schedule creation process 5 When the set D' is an empty set Φ, the scan scheduler 14A creates a set D'' (=D) consisting of the time periods included in the set D.

[0304] Then, the scan scheduler 14A randomly selects a time slot from the set D” (=D) as τ r Let cluster E j Let us define the scan schedule for the q-th port of all IP addresses in time period τ r Set to.

[0305] In addition, when the set D″ (=Equation (11)) shown in Equation (11) is not an empty set Φ, the scan scheduler 14A randomly selects a time slot from the set D″ (=Equation (11)) as τ r Let cluster E j Let us define the scan schedule for the q-th port of all IP addresses in time period τ r Set to.

[0306] On the other hand, when the set D' is not an empty set Φ and the set D" (= formula (11)) is an empty set Φ, the scan scheduler 14A creates a cluster E j Let us define the scan schedule for the q-th port of all IP addresses in time period τ min Set to.

[0307] (6) Schedule creation process 6 When the set D' is an empty set Φ, the scan scheduler 14A selects a cluster E based on the correspondence table TBL2-1. j IP addresses Add of all the terminal devices included in 1_j ~Add e_j The communication response rate rτ,i Select V time periods in descending order of their sum, and define the set of the selected V time periods as set D' (V time periods).

[0308] Then, the scan scheduler 14A calculates the number of successful network scans n out of the V time periods included in the set D′ (V time periods). τ,k Let the set of time periods for which is less than β be the set D″ (derived from V time periods).

[0309] Then, the scan scheduler 14A judges whether the set D″ (derived from V time periods) is an empty set Φ. When the scan scheduler 14A judges that the set D″ (derived from V time periods) is an empty set Φ, the scan scheduler 14A calculates a cluster E′ (derived from V time periods) by the same method as the method in the schedule creation process 4 based on the V time periods included in the set D′ (V time periods). j Let us define the scan schedule for the q-th port of all IP addresses in time period τ min Set to.

[0310] On the other hand, when the scan scheduler 14A determines that the set D″ (derived from V time slots) is not an empty set Φ, it sets a time slot randomly selected from the set D″ (derived from V time slots) as τ r Let cluster E j Let us define the scan schedule for the q-th port of all IP addresses in time period τ r Set to.

[0311] In addition, when the scan scheduler 14A determines that the set D' shown in the formula (11) is not an empty set Φ and determines that the set D" shown in the formula (12) is an empty set Φ, the scan scheduler 14A creates a cluster E based on the set D' shown in the formula (11) in the same manner as in the schedule creation process 4. j Let us define the scan schedule for the q-th port of all IP addresses in time period τ min Set to.

[0312] FIG. 23 is a flowchart for explaining the operation of the network scanning device 1A shown in FIG.

[0313] In FIG. 23, the operation of the network scanning device 1A will be described on the assumption that N terminal devices are classified into a cluster.

[0314] The flowchart shown in FIG. 23 is the same as the flowchart shown in FIG. 13, except that step S6 in the flowchart shown in FIG. 13 is replaced with step S6A.

[0315] 23, when the operation of the network scanning device 1A is started, the above-mentioned steps S1 to S5 are executed in sequence.

[0316] Then, after step S3 or step S5, the scan scheduler 14A executes scheduling (step S6A), thereby completing the operation of the network scanning device 1A.

[0317] FIG. 24 is a flowchart for explaining the detailed operation of step S6A in FIG.

[0318] 24 is the same as the flowchart shown in FIG. 16 except that step S61 in the flowchart shown in FIG. 16 is changed to steps S101 and S102, step S62 in the flowchart shown in FIG. 16 is changed to step S62A, step S64 in the flowchart shown in FIG. 16 is changed to step S64A, step S103 is added, and steps S67, S69, S70, S77, and S78 in the flowchart shown in FIG. 16 are changed to steps S67A, S69A, S70A, S77A, and S78A, respectively.

[0319] 24, after step S3 or step S5 in FIG. 23, the scan scheduler 14A sets j=1 (step S101), where j is an argument indicating a cluster and is 1, 2, . . . , N cIt consists of. N c is the total number of clusters, an integer equal to or greater than 1.

[0320] After step S101, the scan scheduler 14A selects a representative IP address Add from the cluster j for evaluating the communication response rate according to the formula (10). o (Step S102).

[0321] Then, the scan scheduler 14A selects a time slot based on the communication response rate using equation (11) and obtains a set D' (step S62A).

[0322] Then, the above-mentioned step S63 is executed. Then, when it is determined in step S63 that the set D' is not an empty set Φ, the number of successful scans in the network scan n τ,k A time period where there is a shortage is selected, and set D″ is obtained (step S64A).

[0323] Then, the above-mentioned step S65 is executed. If it is determined in step S65 that the set D″ is an empty set Φ, the above-mentioned step S66 is executed.

[0324] Then, the scan scheduler 14A calculates the estimated variable μ′ from the cluster j by using the formula (13). τ ,σ' τ ,n' τ (Step S103), and the obtained estimated variable μ′ τ ,σ' τ ,n' τ Based on this, the estimated value C τ (Step S67A).

[0325] After the above-mentioned step S68 is executed, the scan scheduler 14A performs a scan schedule for the q-th port of all IP addresses of the cluster j during a time period τ min (step S69A).

[0326] Then, the scan scheduler 14A sets q=M j max It is determined whether M j max is the maximum port number of each IP address in cluster j.

[0327] In step S70A, q=M j max If it is determined that q is not M, the above-mentioned step S71 is executed. Then, the series of operations proceeds to step S103, and in step S70A, q=M j max Steps S103, S67A, S68, S69A, S70A, and S71 are repeatedly executed until it is determined that the

[0328] On the other hand, when it is determined in step S65 that the set D″ is not an empty set Φ, after the above-mentioned steps S72 and S73 are sequentially executed, the scan scheduler 14A performs a scan schedule for the q-th port of all IP addresses of the cluster j during the time period τ r (step S74A).

[0329] Then, the scan scheduler 14A sets q=M j max It is determined whether or not this is the case (step S75A).

[0330] In step S75A, q=M j max If it is determined that q is not M, the above-mentioned step S76 is executed. Then, the series of operations proceeds to step S73, and in step S75A, q=M j max Steps S73, S74A, S75A, and S76 are repeatedly executed until it is determined that the above condition is met.

[0331] Then, in step S63, when it is determined that the set D' is an empty set Φ, or in step S70A or step S75A, q=Mj max When it is determined that j=N c It is determined whether or not this is the case (step S77A).

[0332] In step S77A, j=N c If it is determined that j is not j, the scan scheduler 14A sets j=j+1 (step S78A). After that, the series of operations proceeds to step S102, and in step S77A, j=N c Steps S102, S62A, S63, S64A, S65, S66, S103, S67A, S68, S69A, S70A, S71 to S73, S74A, S75A, S76, S77A, and S78A are repeatedly executed until it is determined that the

[0333] Then, in step S77A, j=N c If it is determined that this is the case, the series of operations proceeds to “End” in FIG.

[0334] In the flowchart shown in FIG. 24, the IP address Add o Select the IP address and add it to o In the time period of the network scan performed for the set D', the scan schedule for the qth port of all IP addresses for each cluster j is min or time period τ r (see steps S69A and S74A).

[0335] In the flowchart shown in FIG. 24, when it is determined in step S63 that the set D' is an empty set Φ, the scan schedule for the q-th port of all IP addresses in cluster j is not set, and the setting target of the scan schedule moves to the next cluster j+1 (see "NO" in step S63→"NO" in step S77A→step S78A). This is because the communication response rate r τ,i The more difficult it is to learn the cumulative number of communication scans mτ,i , the number of successful communication scans d τ,i (Number of successful scans in network scan τ,k (synonymous with ) and the communication response rate r τ,i Since it is expected that it will not be possible to collect the q-th port of all IP addresses in cluster j, we decided to skip setting a scan schedule for the q-th port of all IP addresses in cluster j.

[0336] The rest of the description of the flowchart shown in FIG. 24 is the same as the description of the flowchart shown in FIG.

[0337] FIG. 25 is another flowchart for explaining the detailed operation of step S6A in FIG.

[0338] The flowchart shown in FIG. 25 is the same as the flowchart shown in FIG. 24 except that step S79 in FIG. 17 is added to the flowchart shown in FIG.

[0339] 25, after step S3 or step S5 in FIG. 23, the above-mentioned steps S101, S102, S62A, and S63 are executed in sequence.

[0340] Then, if it is determined in step S63 that the set D' is an empty set Φ, the above-mentioned step S79 is executed.

[0341] On the other hand, if it is determined in step S63 that the set D' is not the empty set Φ, the above-mentioned steps S64A and S65 are executed in sequence.

[0342] Then, in step S65, when it is determined that the set D″ is not an empty set Φ, or after step S79, the above-mentioned step S72 is executed, and then, in the above-mentioned step S75A, q=M j max The above-mentioned steps S73, S74A, S75A, and S76 are repeatedly executed until it is determined that the above-mentioned

[0343] On the one hand, in step S65, when it is determined that the set D” is an empty set Φ, the above-described step S66 is executed. Then, in the above-described step S70A, q = M j max The above-described steps S103, S67A, S68, S69A, S70A, and S71 are repeatedly executed until it is determined that q = M

[0344] Then, in step S70A or step S75A, when it is determined that q = M j max the above-described steps S77A and S78A are sequentially executed. In step S77A, until it is determined that j = N c the steps S102, S62A, S63, S64A, S65, S66, S103, S67A, S68, S69A, S70A, S71, S79, S72, S73, S74A, S75A, S76, S77A, and S78A are repeatedly executed. Then, in step S77A, when it is determined that j = N c the series of operations proceeds to “End” in FIG. 23

[0345] In the flowchart shown in FIG. 25, in step S63, when it is determined that the set D’ is an empty set Φ, that is, when the time zone for setting the scan schedule for the q-th port of all IP addresses of cluster j consists only of time zones with a low communication response rate r τ,i (=[m τ,o ≧th1 ∧ r τ,o <th2 time zones]), the selection of time zones based on the communication response rate r τ,o is disabled (see step S79), and the scan schedule for the q-th port of all IP addresses of cluster j is set for a time zone τ r substantially randomly selected from the set D (see steps S73 and S74A).

[0346] Therefore, when steps S73 and S74A are executed after step S79, the scan schedule for the q-th port of all IP addresses of cluster j is set to a time period that has never been set (i.e., the communication response rate r τ,o Since the communication response rate r τ,o There is a possibility that it can be improved.

[0347] In this way, in the flowchart shown in FIG. 25, when it is determined that the set D′ is an empty set Φ in the flowchart shown in FIG. 24 (see “NO” in step S63), instead of skipping the process of setting a scan schedule for the q-th port of all IP addresses in the cluster j, the communication response rate r τ,o (see step S79), and select a time period τ randomly selected from the set D. r A scan schedule for the q-th port of all IP addresses of cluster j is set in (see steps S73 and S74A). The rest of the explanation of the flowchart shown in Fig. 25 is the same as the explanation of the flowcharts shown in Figs.

[0348] FIG. 26 is yet another flowchart for explaining the detailed operation of step S6A in FIG.

[0349] The flowchart shown in FIG. 26 is the same as the flowchart shown in FIG. 24 except that step S80 in FIG. 18 is added to the flowchart shown in FIG.

[0350] 26, after step S3 or step S5 in FIG. 23, the above-mentioned steps S101, S102, S62A, and S63 are executed in sequence.

[0351] Then, if it is determined in step S63 that the set D' is an empty set Φ, the above-mentioned step S80 is executed.

[0352] On the other hand, if it is determined in step S63 that the set D' is not the empty set Φ, the above-mentioned steps S64A and S65 are executed in sequence.

[0353] Then, in step S65, when it is determined that the set D″ is not an empty set Φ, the above-mentioned step S72 is executed, and then, in the above-mentioned step S75A, q=M j max The above-mentioned steps S73, S74A, S75A, and S66 are repeatedly executed until it is determined that the above-mentioned

[0354] On the other hand, when it is determined in step S65 that the set D″ is an empty set Φ, the above-mentioned step S66 is executed, and then, in the above-mentioned step S70A, q=M j max The above-mentioned steps S103, S67A, S68, S69A, S70A, and S71 are repeatedly executed until it is determined that the above-mentioned

[0355] Then, in step S70A or step S75A, q=M j max If it is determined that j=N, the above-mentioned steps S77A and S78A are executed. c Steps S102, S62A, S63, S80, S64A, S65, S66, S103, S67A, S68, S69A, S70A, S71, S72, S73, S74A, S75A, S76, S77A, and S78A are repeatedly executed until it is determined that j=N c If it is determined that this is the case, the series of operations proceeds to “End” in FIG.

[0356] In the flowchart shown in FIG. 26, when the process moves from step S80 to step S64A, the number of successful network scans n τ,k The time periods for which is less than β are selected from the V time periods (set D'), and the selected time periods constitute set D''.

[0357] Then, in step S65, when it is determined that the set D″ is an empty set Φ, the estimated value C τ The time period τ during which (scan response delay) is minimum min A scan schedule for the q-th port of all IP addresses of cluster j is set (see steps S67A, S68, and S69A).

[0358] In addition, when it is determined in step S65 that the set D″ is not an empty set Φ, n of the V time periods (set D′) τ,k A time period τ randomly selected from the time periods (set D") that satisfy <β r A scan schedule for the q-th port of all IP addresses of cluster j is set (see steps S73 and S74A).

[0359] Furthermore, in the flowchart shown in FIG. 26, when the process proceeds from "YES" in step S63 to step S64A, the number of successful communicative scans d is τ,k (Number of successful scans in network scan τ,k The time periods in which the difference (equivalent to the above) is less than β are selected from the time periods included in the set D', and the selected time periods constitute the set D''.

[0360] Then, in step S65, when it is determined that the set D″ is an empty set Φ, the estimated value C τ The time period τ during which (scan response delay) is minimum min A scan schedule for the q-th port of all IP addresses of cluster j is set (see steps S67A, S68, and S69A).

[0361] In addition, when it is determined in step S65 that the set D″ is not an empty set Φ, n of the time periods included in the set D′ is τ,k A time period τ randomly selected from the time periods (set D") that satisfy <β rA scan schedule for the q-th port of all IP addresses of cluster j is set (see steps S73 and S74A).

[0362] In this way, in the flowchart shown in FIG. 24, when it is determined that the set D′ is an empty set Φ (see “NO” in step S63), instead of skipping the process of setting a scan schedule for the q-th port of all IP addresses in the cluster j, the flowchart shown in FIG. 26 sets the communication response rate r τ,o V time periods are selected in descending order of time period with the highest value, and set as a set D' (see "NO" in step S63 -> step S80). Depending on whether the set D" generated based on the V time periods (set D') is an empty set Φ, the estimated value C τ The time period τ during which (scan response delay) is minimum min Set a scan schedule for the q-th port of all IP addresses in cluster j (see steps S67A, S68, and S69A), or select a time period τ randomly from V time periods (set D'). r A scan schedule for the q-th port of all IP addresses of cluster j is set (see steps S72, S73, S74A, S75A, and S76). Therefore, by creating a scan schedule according to the flowchart shown in FIG. 26, the communication response rate r τ,o This may be possible to improve the scan time compared to when a scan schedule is created according to the flowchart shown in FIG.

[0363] The rest of the description of the flowchart shown in FIG. 26 is the same as the description of the flowcharts shown in FIGS.

[0364] In the embodiment of the present invention, the operation of the network scanning device 1A may be executed by software. In this case, the network scanning device 1A includes a CPU, a ROM, and a RAM. The ROM stores a program Prog_B consisting of the steps of the flowchart shown in FIG. 23 (including the flowchart shown in FIG. 14, the flowchart shown in FIG. 15, and any of the flowcharts shown in FIG. 24 to FIG. 26).

[0365] The CPU reads the program Prog_B from the ROM, executes the read program Prog_B, and obtains a communication response rate r τ,i A scan schedule is created for each cluster based on the normalized scan time t i Time period τ in which min and time period τ r etc. are temporarily stored.

[0366] In addition, the program Prog_B may be recorded on a recording medium such as a CD or a DVD and distributed. When the recording medium on which the program Prog_B is recorded is inserted into a computer, the computer reads out the program Prog_B from the recording medium, executes it, and obtains a communication response rate r τ,i A scan schedule is created for each cluster based on the above.

[0367] Therefore, the recording medium on which the program Prog_B is recorded is a computer-readable recording medium.

[0368] In the above-described second embodiment, the scan scheduler 14A selects a representative terminal device (IP address Add o When set D' is an empty set Φ, measures 1 to 3 described in the first embodiment are executed, except that set D' is acquired from set D using a terminal device having the same function as in the first embodiment.

[0369] Therefore, in the second embodiment, the scan scheduler 14A sets the scan schedules of all the terminal devices included in one cluster j in one time period. c By executing the scan for all the clusters, a scan schedule for N terminal devices is created, and a terminal device (IP address Add o When the terminal device having the IP address Add o The scan schedule of all terminal devices in the cluster, including the terminal device having the communication response rate r τ,o A scan schedule is created for N terminal devices without setting the time period selected only by the user.

[0370] In this embodiment of the invention, the host information database 13 constitutes a "storage means" or a "storage device" that stores the correspondence table TBL2-1.

[0371] In addition, in this embodiment of the present invention, the scan analysis manager 12 that updates the correspondence table TBL2-1 constitutes "updating means."

[0372] Furthermore, in this embodiment of the present invention, the threshold value th1 constitutes a "first threshold value", the threshold value th2 constitutes a "second threshold value", and β constitutes a "third threshold value". i The terminal device having the cumulative communication scan count m τ,i is equal to or greater than the threshold th1, and the number of successful communicative scans d τ,i In this case, the scan scheduler 14 (or the scan scheduler 14A) that determines that the set D' is an empty set Φ in step S63 of the flowcharts in Figures 16 to 18 and 24 to 26 constitutes "p terminal devices" that do not have a time period for setting a scan schedule other than the first time period in which D is less than the threshold value th2. In addition, the scan scheduler 14 (or the scan scheduler 14A) that determines that the set D' is an empty set Φ constitutes a "detection means" that detects p terminal devices.

[0373] Further, in the embodiment of the present invention, the scan scheduler 14 sets a scan schedule in accordance with steps S64 to S71 or steps S72 to S76 of the flowcharts shown in FIGS. 16 to 18, or the scan scheduler 14 sets a scan schedule in accordance with steps S64A, S65, S66, S103, S67A, S68, S69A, S70A, and S71 or steps S72, S73, S74A, S75A, and S76 of the flowcharts shown in FIGS. 24 to 26 for a time period τ min or time period τ r The scan scheduler 14A that sets the schedule constitutes a "schedule creation means."

[0374] Furthermore, in an embodiment of the present invention, the process of determining that set D' is an empty set in step S63 of the flowchart shown in FIG. 16 and then executing step S77, or the process of determining that set D' is an empty set in step S63 of the flowchart shown in FIG. 24 and then executing step S77A constitutes a "first process" that does not set a scan schedule for p terminal devices.

[0375] Furthermore, in the embodiment of the present invention, the process of setting a scan schedule in accordance with steps S79, S72 to S76 of the flowchart shown in FIG. 17, or the process of setting a scan schedule in accordance with steps S80, S64, S65, S72 to S76 of the flowchart shown in FIG. 18, or the process of setting a scan schedule in accordance with steps S79, S72, S73, S74A, S75A, S76 of the flowchart shown in FIG. 25, or the process of setting a scan schedule in accordance with steps S80, S64A, S65, S72, S73, S74A, S75A, S76 of the flowchart shown in FIG. 26, τ,i (or communication response rate r τ,o ) and the number of successful communication scans d τ,i (or d τ,k ) to set scan schedules for p terminal devices during the selected time period.

[0376] Furthermore, in the embodiment of the present invention, N terminal devices are c The clustering manager 15 which classifies the data into clusters constitutes the "classification means."

[0377] The embodiments disclosed herein should be considered to be illustrative and not restrictive in all respects. The scope of the present invention is defined by the claims, not by the description of the embodiments described above, and is intended to include all modifications within the meaning and scope of the claims. [Industrial Applicability]

[0378] The present invention is applicable to a network scanning device, a program to be executed by a computer, and a computer-readable recording medium on which the program is recorded. [Explanation of symbols]

[0379] 1,1A network scanning device, 10 communication system, 11 network scanner, 12 scan analysis manager, 13 host information database, 14,14A scan scheduler, 15 clustering manager, 16 clustering database, 20 scanned network, 30 user.

Claims

1. A scanning means for executing a network scan on N terminal devices (N is an integer equal to or greater than 2); a storage means for storing a correspondence table configured to mutually correspond W (W is an integer equal to or greater than 1) time periods indicating time periods during which the network scan was performed among a plurality of time periods for setting a scan schedule which is a schedule for the network scan when a network scan is performed on the N terminal devices, W terminal identification information indicating the terminal device on which the network scan was performed in a corresponding time period among the W time periods, W cumulative communication scan numbers indicating the cumulative number of the network scans performed in a corresponding time period among the W time periods, W communication response rates indicating communication response rates of the network scans performed on the terminal device in a corresponding time period among the W time periods, and W communication scan success numbers indicating the number of successful network scans performed in a corresponding time period among the W time periods; an update means for updating the W cumulative numbers of communication scans, the W communication response rates, and the W successful numbers of communication scans in the correspondence table every time the network scan is executed; a detection means for detecting p (p is an integer satisfying 1≦p<N) terminal devices for which the cumulative number of communication scans is equal to or greater than a first threshold value and the communication response rate is less than a second threshold value, based on the correspondence table updated by the time when the scan schedule for the N terminal devices is created; and a schedule creation means for creating the scan schedule for the N terminal devices without setting the scan schedule for the p terminal devices in a time period selected only based on the communication response rate at a schedule creation timing that is a timing for creating the scan schedule for the N terminal devices; The N IP addresses of the N terminal devices are allocated to an arbitrary number and included in the W terminal identification information, Each of the W cumulative communication scan numbers includes the same number of cumulative communication scan numbers as the number of corresponding terminal identification information, Each of the W communication response rates includes the same number of communication response rates as the number of corresponding terminal identification information, Each of the W number of successful communicative scans includes the same number of successful communicative scans as the number of corresponding terminal identification information, The cumulative number of communication scans is a cumulative value of the number of times a network scan is performed on a port of one of the terminal devices from which a response to the network scan can be expected, The number of successful communication scans is the number of times a scan response is returned from a port of the one terminal device from which a response to the network scan can be expected, The network scanning device, wherein the communication response rate is a ratio of the number of successful communication scans to the cumulative number of communication scans.

2. The network scanning device of claim 1, wherein the schedule creation means creates the scan schedule for the N terminal devices by executing a first process of not setting the scan schedule for the p terminal devices at the schedule creation timing, or a second process of setting the scan schedule for the p terminal devices for a time period selected using the communication response rate and the number of successful communication scans.

3. 3. The network scanning device according to claim 2, wherein said schedule creating means creates said scan schedule for said N terminal devices by executing said first process for said p terminal devices at said schedule creating timing.

4. The network scanning device according to claim 1, wherein the schedule creation means creates the scan schedule for the N terminal devices by disabling the selection of a time period based on the communication response rate at the schedule creation timing and setting the scan schedule for the p terminal devices to a time period selected from the plurality of time periods.

5. 5. The network scanning device according to claim 4, wherein the schedule creation means creates the scan schedule for the N terminal devices by setting the scan schedule for the p terminal devices to a time period randomly selected from the plurality of time periods at the schedule creation timing.

6. 2. The network scanning device of claim 1, wherein the schedule creation means, at the schedule creation timing, selects V (V is an integer equal to or greater than 2) time periods from the W time periods in order of highest communication response rate, and creates the scan schedule for the N terminal devices by setting the scan schedule for the p terminal devices in a time period selected from the selected V time periods using the number of successful communication scans.

7. the schedule creation means sets the scan schedule for terminal devices other than the p terminal devices in a time period during which the number of successful communicative scans is equal to or greater than a third threshold value and during which a scan response delay is minimum, at the schedule creation timing; 7. The network scanning device according to claim 1, wherein the scan response delay is a time period from when a packet for the network scan is transmitted to when the scan response is received.

8. 7. The network scanning device according to claim 1, wherein the schedule creation means, when a second set of second time periods in which the number of successful communication scans is less than a third threshold value exists in a first set of time periods other than the first time period, sets the scan schedule for terminal devices other than the p number of terminal devices to a second time period selected from the second set at the schedule creation timing.

9. The N terminal devices are N c (N c is an integer equal to or greater than 1; The schedule creation means sets the scan schedules of all terminal devices included in one cluster to the same time zone at the schedule creation timing. c A network scanning device as described in any one of claims 1 to 8, which creates the scan schedules for the N terminal devices by executing the scan schedule for all p clusters, and when a second terminal device representing a terminal device included in one cluster is included in the p terminal devices, creates the scan schedules for the N terminal devices without setting the scan schedules for all terminal devices in the cluster including the second terminal device to a time period selected based solely on the communication response rate.

10. A program for causing a computer to create a scan schedule for executing a network scan in a network scan device, The network scanning device includes: a storage device that stores a correspondence table configured to mutually correspond W (W is an integer of 1 or more) time periods indicating time periods when the network scan was executed among a plurality of time periods for setting the scan schedule of the network scan when the network scan is executed for N (N is an integer of 2 or more) terminal devices, W terminal identification information indicating the terminal device for which the network scan was executed in a corresponding time period among the W time periods, W cumulative communication scan numbers indicating the cumulative number of the network scans executed in a corresponding time period among the W time periods, W communication response rates indicating communication response rates of the network scans executed for the terminal device in a corresponding time period among the W time periods, and W communication scan success numbers indicating the number of successful network scans executed in a corresponding time period among the W time periods, The program is A first step in which a scanning means executes a network scan on the N terminal devices; a second step in which an update unit updates the W cumulative numbers of communication scans, the W communication response rates, and the W number of communication scan success numbers in the correspondence table every time the network scan is executed; a third step in which a detection means detects p (p is an integer satisfying 1≦p<N) terminal devices for which the cumulative number of communication scans is equal to or greater than a first threshold value and for which there is no time period other than a first time period in which the communication response rate is less than a second threshold value, as a time period for setting the scan schedule, based on the correspondence table updated by the time when the scan schedule for the N terminal devices is created; a fourth step of creating the scan schedule for the N terminal devices without setting the scan schedule for the p terminal devices in a time period selected only based on the communication response rate at a schedule creation timing that is a timing at which the schedule creation means creates the scan schedule for the N terminal devices; The N IP addresses of the N terminal devices are allocated to an arbitrary number and included in the W terminal identification information, Each of the W cumulative communication scan numbers includes the same number of cumulative communication scan numbers as the number of corresponding terminal identification information, Each of the W communication response rates includes the same number of communication response rates as the number of corresponding terminal identification information, Each of the W number of successful communicative scans includes the same number of successful communicative scans as the number of corresponding terminal identification information, The cumulative number of communication scans is a cumulative value of the number of times a network scan is performed on a port of one of the terminal devices from which a response to the network scan can be expected, The number of successful communication scans is the number of times a scan response is returned from a port of the one terminal device from which a response to the network scan can be expected, The communication response rate is a ratio of the number of successful communication scans to the cumulative number of communication scans.

11. The schedule creation means creates the scan schedule for the N terminal devices by executing a first process of not setting the scan schedule for the p terminal devices at the schedule creation timing of the fourth step, or a second process of setting the scan schedule for the p terminal devices for a time period selected using the communication response rate and the number of successful communication scans.

12. The program for causing a computer to execute the program according to claim 11, wherein the schedule creation means creates the scan schedule for the N terminal devices by executing the first process for the p terminal devices at the schedule creation timing of the fourth step.

13. The schedule creation means, at the schedule creation timing of the fourth step, disables the selection of a time period based on the communication response rate and sets the scan schedule for the p terminal devices to a time period selected from the multiple time periods, thereby creating the scan schedule for the N terminal devices.

14. The schedule creation means creates the scan schedule for the N terminal devices by setting the scan schedule for the p terminal devices to a time period randomly selected from the plurality of time periods at the schedule creation timing of the fourth step.

15. 11. The program for causing a computer to execute the program described in claim 10, wherein the schedule creation means, at the schedule creation timing of the fourth step, selects V (V is an integer equal to or greater than 2) time periods from the W time periods in order of highest communication response rate, and creates the scan schedule for the N terminal devices by setting the scan schedule for the p terminal devices in a time period selected from the selected V time periods using the number of successful communication scans.

16. the schedule creation means, at the schedule creation timing of the fourth step, sets the scan schedule for terminal devices other than the p terminal devices in a time period in which the number of successful communicative scans is equal to or greater than a third threshold and in which a scan response delay is minimum; 16. The program for causing a computer to execute the program according to claim 10, wherein the scan response delay is a time from when the packet for the network scan is transmitted to when the scan response is received.

17. The program for causing a computer to execute the program according to any one of claims 10 to 15, wherein the schedule creation means, when a second set consisting of second time periods in which the number of successful communication scans is less than a third threshold value exists in a first set consisting of time periods other than the first time period, sets the scan schedule for terminal devices other than the p terminal devices to a second time period selected from the second set at the schedule creation timing of the fourth step.

18. The classification means classifies the N terminal devices into N c (N c a fifth step of classifying the images into clusters (n=1, n=2, n=3, n=4, n=5, n=6, n=7, n=8, n=9, n=10, n=11, n=12, n=13, n=14, n=15, n=16, n=17, n=18, n=19, n=20, n=21, n=22, n=23, n=24, n=25 The schedule creation means sets the scan schedules of all terminal devices included in one cluster to the same time zone at the schedule creation timing of the fourth step. c A program for causing a computer to execute the program described in any one of claims 10 to 17, which creates the scan schedules for the N terminal devices by executing the program for all p clusters, and when a second terminal device representing the terminal devices included in the one cluster is included in the p terminal devices, creates the scan schedules for the N terminal devices without setting the scan schedules for all terminal devices in a cluster including the second terminal device to a time period selected based solely on the communication response rate.

19. A computer-readable recording medium having the program according to any one of claims 10 to 18 recorded thereon.

Citation Information

Patent Citations

  • Network scanning apparatus, program executed by computer, and computer-readable recording medium recording program

    JP2020154637A

  • Scan execution device and scan execution method

    JP2021027546A