Communication device, communication system, setting method, and program
The communication device autonomously detects and corrects faulty settings by temporarily applying new configurations and validating them, ensuring fail-safe communication by preventing disruptions and restoring connectivity.
Patent Information
- Application Number
- JP2023076134
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-05-02
- Publication Date
- 2025-10-22
- Estimated Expiration
- 2043-05-02
AI Technical Summary
Existing communication devices face issues with incorrect settings leading to communication disruptions, which can result in the inability to restore previous settings without manual intervention, such as a hard reset.
A communication device equipped with a communication setting acquisition unit, provisional setting unit, judgment unit, and final setting unit that autonomously detects and corrects faulty settings by temporarily applying new settings, confirming their validity, and either applying or discarding them based on response packets.
Enables fail-safe communication settings by immediately recovering from failures, preventing communication disruptions and ensuring seamless connectivity.
Smart Images

Figure 0007758360000001 
Figure 0007758360000002 
Figure 0007758360000003
Abstract
Description
[Technical Field]
[0001] The present invention relates to a communication device, a communication system, a setting method, and a program that enable fail-safe setting. [Background technology]
[0002] When setting up a communication device via a communication path, if the communication settings are incorrect, communication with the communication device being set up can be cut off, making the setting impossible. Furthermore, since communication for setting up is impossible, it may even be impossible to restore the previous settings. In this case, it is necessary to take measures such as clearing the setting storage area of the communication device with a hard reset and returning it to the factory settings.
[0003] Patent Document 1 discloses the following mobile router management system. This technology relates to a means for restoring configuration information when a problem occurs in the configuration information of a mobile router. Specifically, the configuration information is uploaded to a backup server on the Internet, and when a problem occurs, the configuration information on the backup server is downloaded to a maintenance terminal. The maintenance terminal directly connects to the mobile router and performs processes such as setting the downloaded configuration information. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Japanese Patent Application Laid-Open No. 2006-135626 Summary of the Invention [Problem to be solved by the invention]
[0005] The disclosures of the above prior art documents are incorporated herein by reference. The following analysis has been carried out by the present inventors.
[0006] As mentioned above, Patent Document 1 discloses a communication system that is capable of restoring configuration information via a maintenance terminal, for example, in the event that the mobile router fails to be configured and is unable to connect to the Internet.
[0007] However, the invention disclosed in Patent Document 1 requires a configuration in which a backup server to which a maintenance terminal can connect is provided, which requires the preparation of a server device. Also, since the maintenance terminal restores settings by directly connecting to the backup server, a separate connection means for restoration must be secured.
[0008] Furthermore, if there is a problem with the mobile router settings, the problem must be detected by some means and a request must be made to the backup server from the maintenance terminal, making it difficult for the mobile router itself to immediately detect the setting problem and recover.
[0009] Therefore, in one aspect of the present invention, it is an object to provide a communication device, communication system, setting method, and program that contribute to the realization of fail-safe settings that are capable of autonomously detecting failures and immediately recovering from the failures. [Means for solving the problem]
[0010] According to a first aspect of the present invention, a communication device is provided having a communication setting acquisition unit that acquires settings for communication, a provisional setting unit that provisionally sets the settings, a judgment unit that judges whether the setting contents of the settings are normal, and a final setting unit that applies the settings depending on the judgment result of the judgment unit.
[0011] According to a second aspect of the present invention, there is provided a communication system including a communication device having a communication setting acquisition unit that acquires settings for communication, a provisional setting unit that provisionally sets the settings, a judgment unit that judges whether the setting contents of the settings are normal or not, and a final setting unit that applies the settings depending on the judgment result of the judgment unit, and a terminal that has a communication setting acceptance unit that accepts the settings and a transmission unit that transmits the settings.
[0012] According to a third aspect of the present invention, there is provided a setting method for causing a computer to execute the following steps, the setting method including the steps of obtaining settings for communication, provisionally setting the settings, determining whether the setting contents of the settings are normal or not, and applying the settings depending on the result of the determination.
[0013] According to a fourth aspect of the present invention, there is provided a program for causing a computer to execute the following processes: a process for acquiring settings for communication; a process for provisionally setting the settings; a process for determining whether the settings contents are normal; and a process for applying the settings depending on the result of the determination.
[0014] The program can be recorded on a computer-readable storage medium. The storage medium can be a non-transient medium such as a semiconductor memory, a hard disk, a magnetic recording medium, or an optical recording medium. The present invention can also be embodied as a computer program product. [Effects of the Invention]
[0015] According to each aspect of the present invention, a communication device, a communication system, a setting method, and a program are provided that contribute to the realization of fail-safe settings that are capable of autonomously detecting failures and immediately recovering from the failures. [Brief explanation of the drawings]
[0016] [Figure 1] FIG. 1 is a block diagram illustrating an example of a configuration of a communication device according to an embodiment. [Figure 2] 5 is a flowchart showing an example of a processing flow in the communication device of the first embodiment. [Figure 3] FIG. 2 is a schematic diagram illustrating an example of a hardware configuration of a communication device according to the first embodiment. [Figure 4]5(a) to 5(d) are diagrams illustrating examples of how a storage area is used in processing by the communication device of the first embodiment. [Figure 5] FIG. 10 is a block diagram illustrating an example of the configuration of a communication system according to a second embodiment. [Figure 6] 10 is a flowchart showing an example of a processing flow in a communication system according to a second embodiment. [Figure 7] 1 is a block diagram showing an example of a configuration of a communication system according to an embodiment; [Figure 8] 1 is a block diagram showing an example of a configuration of a communication system according to an embodiment; [Figure 9] FIG. 10 is a diagram illustrating an example of an operation in the communication system according to the embodiment. [Figure 10] FIG. 10 is a diagram illustrating an example of an operation in the communication system according to the embodiment. [Figure 11] FIG. 10 is a diagram illustrating an example of an operation in the communication system according to the embodiment. [Figure 12] FIG. 10 is a diagram illustrating an example of an operation in the communication system according to the embodiment. DETAILED DESCRIPTION OF THE INVENTION
[0017] First, an outline of one embodiment will be described. Note that the reference numerals in the drawings attached to this outline are attached to each element as an example for convenience to facilitate understanding, and the description of this outline is not intended to be limiting in any way.
[0018] 1 is a block diagram showing an example of the configuration of a communication device according to an embodiment. The communication device 10 according to the embodiment includes a communication setting acquisition unit 11, a temporary setting unit 12, a determination unit 13, and a final setting unit 14.
[0019] The communication setting acquisition unit 11 acquires settings for communication. The temporary setting unit 12 temporarily sets the acquired settings. The judgment unit 13 judges whether the setting contents of the acquired settings are normal or not. The final setting unit 14 applies the settings according to the judgment result of the judgment unit 13.
[0020] In this way, when the communication device 10 of one embodiment executes settings related to communication, the provisional setting unit 12 provisionally sets the acquired new settings, and the determination unit 13 determines whether the contents of the new settings are normal or not. Depending on the determination result of the determination unit 13, the final setting unit applies the provisional settings to the device as final settings.
[0021] [First embodiment] [Device configuration] The communication device 10 of the first embodiment includes a communication setting acquisition unit 11, a temporary setting unit 12, a determination unit 13, and a final setting unit 14, similar to the first embodiment.
[0022] The features of this embodiment are that the final setting unit applies the setting of the provisional setting unit 12 as the final setting if the judgment result of the judgment unit 13 is normal, and discards the setting if the judgment result is not normal, and that the judgment unit 13 sends a confirmation packet to confirm connection with the communication destination using the provisional setting, and determines whether the setting content is normal by detecting the receipt of a response packet in response to the confirmation packet.
[0023] The communication setting acquisition unit 11 acquires settings for communication. "For communication" refers to acquiring settings related mainly to (wireless or wired) communication among various settings of a communication device. "Acquisition" refers to receiving information from a terminal or the like via a communication line interface or a hardware connection interface such as a USB (Universal Serial Bus) port or serial port, and storing the information in a storage area.
[0024] The temporary setting unit 12 temporarily sets the settings acquired by the communication setting acquisition unit 11. The term "temporarily set" means that the settings are set in a manner that allows for immediate recovery. That is, this includes either providing a temporary setting area in the storage area of the communication device 10 and reflecting the settings in a module or the like that controls communication, or rewriting the storage area in which the module or the like stores the settings at the time of temporary setting with new settings and providing a separate storage area in which the old settings before the temporary setting are temporarily saved for recovery purposes.
[0025] In addition, in order to make the temporary settings easily recoverable, it is possible to store them only in volatile DRAM (Dynamic Random Access Memory) used in RAM (Random Access Memory), etc., and store them in flash memory or EEPROM (Electrically Erasable Programmable Read-Only Memory) when making the final settings.
[0026] The determination unit 13 determines whether the setting contents of the provisional settings are normal. "Normal setting contents" refers to a state in which unintended communication interruptions do not occur in the communication settings. "Determining whether the setting contents are normal" can be done by attempting communication using the setting contents of the provisional settings. In addition, this embodiment also includes a mode in which whether the setting contents are normal is determined by using a tool for checking the setting contents or by simulating the settings using a simulator. The determination result by the determination unit 13 is sent to the actual setting unit 14, which will be described later.
[0027] Furthermore, for the above-mentioned determination, the communication device 10 of this embodiment may transmit a confirmation packet to confirm connection with the communication destination using a provisional setting, and attempt communication by detecting receipt of a response packet in response to the confirmation packet, thereby determining whether the setting contents are normal.
[0028] The determination unit 13 may also determine whether the setting contents are normal based on whether the response packet is received within a predetermined time from the time the confirmation packet is transmitted. In other words, a timeout period may be set to apply the setting immediately.
[0029] The final setting unit 14 applies the provisional setting as the final setting according to the judgment result of the judgment unit 13. Specifically, the final setting unit 14 acquires the judgment result from the judgment unit 13, and performs processing such as applying the setting of the provisional setting unit 12 as the final setting if the judgment result of the judgment unit 13 is normal, and discarding the provisional setting if the judgment result of the judgment unit 13 is not normal.
[0030] In this way, if the judgment result of the judgment unit 13 is not normal, the final setting unit 14 can execute processing to restore the old setting by discarding the temporary setting set by the temporary setting unit 12.
[0031] [Processing flow] FIG. 2 is a flowchart showing the processing flow of the communication device 10 of the first embodiment. The communication device 10 first acquires settings for communication (step S21). Next, the acquired settings are temporarily set (step S22). Next, a confirmation packet is sent to confirm connection with the communication destination (step S23). Next, it is determined whether a response packet has been received (step S24). If it is determined that a response packet has not been received (step S24, N), it is determined whether a predetermined time has elapsed since the confirmation packet was sent (step S25). If it is determined that the predetermined time has elapsed (step S25, Y), the settings in the temporary setting unit are discarded (step S26) and the processing ends. If it is determined that the predetermined time has not elapsed (step S25, N), the processing returns to the processing of determining whether a response packet has been received (step S24). If it is determined that a response packet has been received (step S24, Y), the settings in the temporary setting unit are applied as the final settings (step S27), and the processing ends.
[0032] [Hardware configuration] Next, a description will be given of the hardware configuration of various devices constituting the communication device 10 according to the first embodiment. Fig. 3 is a block diagram showing an example of the hardware configuration of the communication device 10 according to the first embodiment.
[0033] The communication device 10 can be configured by an information processing device (computer) and has the configuration exemplified in Fig. 3. For example, the communication device 10 includes a CPU (Central Processing Unit) 31, a memory 32, an input / output interface 33, and a NIC (Network Interface Card) 34 as a communication means, which are interconnected by an internal bus 35.
[0034] However, the configuration shown in Fig. 3 is not intended to limit the hardware configuration of the communication device 10. The communication device 10 may include hardware not shown, and may not include the input / output interface 33 as necessary. Furthermore, the number of CPUs and the like included in the communication device 10 is not intended to be limited to the example shown in Fig. 3, and for example, the communication device 10 may include multiple CPUs.
[0035] The memory 32 is a RAM (Random Access Memory), a ROM (Read Only Memory), or an auxiliary storage device (such as a hard disk).
[0036] The input / output interface 33 is a means for interfacing with a display device and an input device (not shown). The display device is, for example, a liquid crystal display. The input device is, for example, a device that accepts user operations, such as a keyboard or a mouse.
[0037] The functions of the communication device 10 are realized by a communication module that controls communication, as well as processing modules including a communication setting acquisition program, a provisional setting program, a determination program, and a final setting program, and activation values corresponding to each neuron stored in memory 32. The processing modules are realized, for example, by the CPU 31 executing a program stored in memory 32. The programs can be downloaded via a network or updated using a storage medium that stores the programs. Furthermore, the processing modules may be realized by semiconductor chips. That is, it is sufficient to have some means for executing the functions performed by the processing modules using some hardware and / or software.
[0038] [Hardware operation] When the communication device 10 starts operating, the communication setting acquisition program is called from memory 32 and is put into execution by the CPU 31. When this program receives communication settings via the NIC 34, input / output interface 33, etc., it temporarily stores them in memory 32. Next, the temporary setting program is called from memory 32 and is put into execution by the CPU 31. This program writes the communication settings temporarily stored in memory 32 to a temporary setting area on memory 32, which is then read by the communication module of the communication device. Alternatively, this program overwrites an area on memory that the communication module uses as a setting area with the acquired communication settings. The old settings before the overwriting are kept in an area on memory 32 for recovery purposes.
[0039] Next, the judgment program is called from memory 32 and executed by CPU 31. This program sends a confirmation packet via NIC 34 to the communication destination from which the communication settings have been acquired. Then, the program waits for a predetermined time for a response packet in response to the confirmation packet. If a response packet is received by NIC 34 during the waiting time, it is determined that the settings are normal. On the other hand, if a response packet is not received within the predetermined time, it is determined that the settings are abnormal.
[0040] Next, the actual setting program is called from memory 32 and executed by CPU 31. If the settings are normal, this program applies the provisional settings stored in memory 32 to the actual settings. That is, if setting data is stored in the provisional setting area on memory 32, the setting data is copied and rewritten in the setting area used by the communications module. If the setting data in the actual setting area has already been rewritten with the provisional settings, operation continues in the current state.
[0041] If the settings are not normal, the setting program executes an operation to restore the old settings. Specifically, it discards the temporary setting data stored in memory 32. If setting data is stored in the temporary setting area, it reloads the (old) setting data in the setting area by processing such as restarting the communications module. The setting data in the temporary setting area may be deleted. If the setting data in the permanent setting area has already been overwritten with the temporary settings, it calls up the old setting data for recovery stored in memory 32, rewrites the setting area, and, if necessary, restarts the communications module and reloads the settings.
[0042] [Examples of storage usage] 4(a) to 4(d) are diagrams illustrating examples of storage area usage in the processing of the communication device 10 of this embodiment. As an example, the storage area usage in the process of changing from the old setting to the new setting will be described. FIGS. 4(a) and 4(b) show the storage area usage method when the communication device 10 receives a response packet and the setting is successful. FIGS. 4(c) and 4(d), corresponding to FIGS. 4(a) and 4(b), respectively, show the storage area usage method when the response packet does not arrive, the setting fails, and recovery is required. In both cases, the black areas indicate the storage area used by the communication module, etc. In FIG. 4(a), the communication device 10 initially operates using the old setting stored in setting area 1 and acquires setting data for changing the setting. The acquired setting data is stored as temporary settings in setting area 2, which is reserved for each setting data. At the same time, the setting area used by the communication module, etc., is switched from setting area 1 to setting area 2. When a response packet to the confirmation packet arrives, the provisional settings are copied from setting area 2 to setting area 1, and the setting area used by the communication module etc. is switched from setting area 2 to setting area 1.
[0043] On the other hand, in Figure 4(b), the setting area used by the communication module, etc. is fixed as setting area 3. The acquired settings are written directly into setting area 3 as provisional settings. When a response packet arrives, the provisional settings are used as the new settings. At this time, the provisional settings are copied to setting area 4 as the new settings. Setting area 4 is a backup area, and is used during recovery as shown in Figure 4(d) below.
[0044] Figure 4(c) shows the processing mode when a response packet does not arrive within the specified time in Figure 4(a). When the specified time has passed since the transmission of the confirmation packet, the provisional settings in setting area 2 are discarded, and the communication module etc. reloads the old settings in setting area 1 and performs recovery operation.
[0045] Fig. 4(d) shows the processing mode when a response packet does not arrive within the specified time in Fig. 4(b). When a specified time has passed since the transmission of the confirmation packet, the temporary settings in setting area 3 are discarded, and the old settings stored in setting area 4 are copied to setting area 3. The communication module etc. then performs recovery operations by reading the settings in setting area 3 again.
[0046] In the configurations shown in Figures 4(a) and (c), the setting area 2 needs to reserve storage space only when temporary settings are made, and the storage space can be released at other times. In contrast, in the configurations shown in Figures 4(b) and (d), the setting area 4 needs to always reserve storage space to hold the previous settings.
[0047] [Effect description] As described above, the communication device 10 of this embodiment acquires settings for changing communication settings, temporarily sets the acquired settings, and determines whether the settings are normal, thereby deciding whether to perform the actual settings. Therefore, if the settings are not normal, the settings are immediately restored, thereby making it possible to prevent, for example, a situation in which a terminal connected to the communication device 10 is unable to communicate due to incorrect settings, thereby realizing fail-safe settings.
[0048] [Second embodiment] [composition] In the second embodiment, a communication system including a communication device 10 and a terminal 20 connected to the communication device 10 will be described. FIG. 5 is a diagram showing the configuration of the communication system in the second embodiment. The communication system of the second embodiment is made up of the communication device 10 and the terminal 20. As in the above, the communication device 10 has a communication setting acquisition unit 11, a temporary setting unit 12, a determination unit 13, and a final setting unit 14. The terminal 20 has a communication setting acceptance unit 21 and a transmission unit 22.
[0049] The components of the communication device 10 are the same as those described above and have already been explained, so a description thereof will be omitted.
[0050] The communication setting reception unit 21 receives settings for the communication device 10. The settings are received via a display device such as a liquid crystal display, or an input / output interface such as a keyboard or a mouse. This unit also includes a program module that provides a GUI (Graphical User Interface) that is displayed on the display device to change the settings.
[0051] The transmitting unit 22 transmits the communication settings accepted by the communication setting accepting unit 21. Furthermore, the transmitting unit 22 transmits a response packet to the communication device 10 in response to a confirmation packet sent from the communication device 10.
[0052] [Explanation of operation] FIG. 6 is a flowchart showing the processing flow of the communication system of the second embodiment. As shown in this figure, first, the terminal accepts communication settings (step S61). Next, the accepted settings are transmitted (step S62). The communication device acquires the transmitted communication settings (step S63). Next, the acquired settings are temporarily set (step S64). Once the settings are complete, a confirmation packet is transmitted to the terminal (step S65). If the settings are normal, the terminal receives the confirmation packet and transmits a response packet in response (step S66). After transmitting the confirmation packet (step S65), the communication device waits for a predetermined time to receive a response packet (step S67). If a response packet is received within the predetermined time (step S67, Y), the settings in the provisional setting unit are applied as the final settings (step S70). If a predetermined time has passed without receiving a response packet (step S68, Y), the settings in the provisional setting unit are discarded (step S69).
[0053] [Example] [Configuration of the Example] In the following embodiment, the above-described communication device and communication system are applied to a wireless router. First, the configuration of the embodiment of the present invention will be described with reference to FIGS. 7 and 8. FIG. 7 shows a block diagram of the embodiment. The wireless router 100, which connects to a wireless slave device 200 via Wi-Fi communication and has the function of relaying between the wireless slave device 200 and a wide-area communication network, is composed of a user interface (UI) control unit 101 that manages the settings of the wireless router 100 and the input and output of device information between the management terminal 300 and the wireless slave device 200, a communication control unit 102 that controls communication on the LAN side and the WAN side, a LAN-side interface 103 that manages Wi-Fi communication with LAN-side terminals, and a WAN-side interface 104 that manages communication with the wide-area communication network. Communication between the management terminal 300 and the wireless router 100 is possible via Wi-Fi, Ethernet, and USB. The user can use the GUI function implemented in the wireless router 100 to configure the wireless router 100 and display the configuration details, current status, pop-up messages, and the like.
[0054] 7, when the configuration of the wireless router 100 is changed via the GUI, the UI control unit 101 stores the configuration that was set up until then in the temporary storage area 201, saves the newly set configuration in the configuration database 202 within the device, and then notifies the communication control unit 102 of the changed configuration information. Upon receiving the notification, the communication control unit 102 performs the necessary processing in response to the configuration change on the LAN side interface 103 and the WAN side interface 104.
[0055] In order to check whether communication with the management terminal 300 has been interrupted due to the configuration change, the UI control unit 101 sends a communication confirmation packet to the management terminal 300 after completing processing associated with the configuration change. If no response to this communication confirmation packet is received, it is determined that communication between the wireless router 100 and the management terminal 300 has been interrupted due to the configuration change, and processing is carried out to restore the configuration to what it was before the change. At that time, a pop-up message indicating that the configuration has been restored is displayed on the GUI screen of the management terminal 300 to inform the user that the configuration has been restored.
[0056] [Explanation of operation] The operation of the embodiment of the present invention will be described with reference to Figures 9 to 12. The configuration state of the wireless router 100 when a configuration change is made while the communication recovery function of the present invention is enabled, the processing associated with the configuration change, and the notification processing with the management terminal 300 will be described with reference to Figures 9 to 11. Figure 11 shows the processing flow when the communication recovery function is enabled.
[0057] In the state S1 of the wireless router 100 before the configuration is changed from the management terminal 300, communication is possible between the management terminal 300 and the wireless router 100. When the configuration change is received from the management terminal 300, the UI control unit 101 of the wireless router 100 saves the configuration before the change in the temporary storage area 201 (P11).
[0058] Next, the UI control unit 101 updates the configuration information stored in the configuration database 202 within the device and notifies the communication control unit 102 of the configuration update. Upon receiving the configuration update notification from the UI control unit 101, the communication control unit 102 performs processing to reflect the new configuration in the LAN-side interface 103 and the WAN-side interface 104 (P12).
[0059] After the new configuration is reflected, the UI control unit 101 sends a communication confirmation packet to the management terminal 300 and checks whether a reply has been received from the management terminal 300 (P13). If the UI control unit 101 receives a reply from the management terminal 300 in response to the sent communication confirmation packet, it determines that there is no problem with the new configuration, releases the information stored in the temporary storage area, and ends the process (P14, P15).
[0060] If there is no reply from the management terminal 300 in response to the sent communication confirmation packet, the UI control unit 101 determines that communication has been cut off due to the influence of the new configuration, and updates the database with the configuration before the change that was stored in the temporary storage area 201, and notifies the communication control unit 102 of the configuration update. Upon receiving the notification, the communication control unit 102 performs processing to reflect the configuration before the change in the LAN-side interface 103 and the WAN-side interface 104 (P14, P16).
[0061] After the process of restoring the configuration to the state before the change is completed, communication between the management terminal 300 and the wireless router 100 is restored, so the UI control unit 101 notifies the management terminal 300 that the configuration is in the state before the change and displays this on the GUI (P17).
[0062] By checking the message displayed on the GUI of the management terminal 300, the user can recognize that a communication interruption has occurred due to the configuration change that was made, and that the configuration has been reverted to the state before the change.
[0063] 12 explains the processing when the communication recovery function is disabled. When the communication recovery function is disabled, the processing of the communication recovery function is not performed, and the UI control unit 101 and the communication control unit 102 perform the processing associated with the configuration change as usual (P19).
[0064] [Effect description] The first effect of the communication system in this embodiment is that when a user changes the configuration of the wireless router 100 and an unintended communication interruption occurs due to incorrect settings or the like, it is possible to detect the communication interruption by performing a communication check between the wireless router 100 and the management terminal 300, and to restore the configuration on the wireless router 100 side, thereby restoring the system to its original communication-enabled state.
[0065] The second effect is that when a communication disconnection is detected and the original configuration is restored, a message is displayed on the GUI of the management terminal, thereby informing the user that the original configuration has been restored and that the changes made by the user will cause a communication disconnection.
[0066] The third effect is that the user can choose whether to enable or disable the communication disconnection prevention function, making it possible to deal with cases where this function is not required.
[0067] Some or all of the above embodiments can also be described as follows, but are not limited to the following. [Form 1] This is the same as the communication device according to the first aspect described above. [Form 2] Preferably, the communication device of aspect 1, wherein the final setting unit applies the setting of the provisional setting unit as the final setting when the determination result of the determination unit is normal, and discards the setting when the determination result is not normal. [Form 3] Preferably, the communication device of form 2, wherein the determination unit transmits a confirmation packet for confirming connection with the communication destination according to the settings, and determines whether the settings are normal by detecting receipt of a response packet in response to the confirmation packet. [Form 4] Preferably, the communication device of aspect 3, wherein the determining unit determines whether the setting contents are normal or not depending on whether the response packet is received within a predetermined time from the time when the confirmation packet is transmitted. [Form 5] This is the same as the communication system according to the second aspect described above. [Form 6] Preferably, the communication system of form 5 includes a communication device, wherein the final setting unit applies the setting of the provisional setting unit as the final setting when the judgment result of the judgment unit is normal, and discards the setting when the judgment result is not normal. [Form 7] Preferably, the communication system of form 6 includes a communication device in which a determination unit transmits a confirmation packet to confirm connection with a terminal that is a communication destination according to the settings, and determines whether the settings are normal by detecting receipt of a response packet in response to the confirmation packet, and a terminal in which a transmission unit transmits a response packet to the communication device in response to the confirmation packet. [Form 8] Preferably, the communication system of aspect 7 includes a communication device, wherein the determination unit determines whether the setting contents are normal or not depending on whether the response packet is received within a predetermined time from the time when the confirmation packet was transmitted. [Form 9] The setting method is the same as that described above in relation to the third aspect. [Form 10] This is the same as the program related to the fourth perspective above. [Form 11] The communication device is a wireless router, and is preferably a communication device according to any one of the first to fourth aspects. [Form 12] Preferably, the communication system of any one of the fifth to eighth aspects is such that the communication device is a wireless router and the terminal is a wireless slave device that is connected to the communication device wirelessly. [Form 12] Preferably, the communication device according to any one of the first to fourth aspects further comprises a notification unit that notifies the terminal of the determination result of the determination unit. Note that, like mode 1, modes 9 and 10 can be expanded into modes 2 to 4.
[0068] The disclosures of the above-cited patent documents and other documents are incorporated herein by reference. Modifications and adjustments of the embodiments and examples are possible within the scope of the entire disclosure of the present invention (including the scope of the claims), and further based on the basic technical concept thereof. Furthermore, various combinations and selections of the various disclosed elements (including each element of each claim, each element of each embodiment or example, each element of each drawing, etc.) are possible within the scope of the entire disclosure of the present invention. In other words, the present invention naturally includes various modifications and alterations that would be possible by a person skilled in the art in accordance with the entire disclosure and technical concept, including the scope of the claims. In particular, with regard to the numerical ranges set forth herein, any numerical value or subrange included within the range should be construed as being specifically set forth, even if not otherwise specified. [Explanation of symbols]
[0069] 10: Communication equipment 11: Communication setting acquisition section 12: Provisional setting section 13: Judgment department 14: Main setting section 20: Terminal 21: Communication setting reception section 22: Transmission unit 31: CPU 32: Memory 33: Input / output interface 34:NIC 35: Internal bus 100: Wireless router, communication device 101: UI control section 102: Communication control unit 103: LAN side interface 104: WAN side interface 200: Wireless adapter 201: Temporary storage area 202: Configuration database 300: Management terminal
Claims
1. A communication setting acquisition unit that acquires settings for communication accepted in a terminal; a provisional setting unit that provisionally sets the acquired setting; a determination unit that determines whether the setting contents of the setting are normal or not based on a response packet returned from the terminal in response to a confirmation packet transmitted to the terminal using the setting that has been temporarily set; a setting unit that applies the setting in accordance with a determination result of the determination unit; A communication device having:
2. the final setting unit applies the setting of the provisional setting unit as a final setting when the determination result of the determination unit is normal; If the determination result is not normal, discard the setting. The communication device of claim 1.
3. the determination unit transmits a confirmation packet for confirming connection with the communication destination according to the settings, and determines whether the settings are normal by detecting reception of a response packet in response to the confirmation packet. The communication device of claim 2.
4. the determination unit determines whether the setting contents are normal based on whether the response packet is received within a predetermined time from the time when the confirmation packet was transmitted. The communication device of claim 3.
5. a communication setting acquisition unit that acquires settings for communication; a provisional setting unit that provisionally sets the setting; a determination unit that determines whether the setting contents of the setting are normal; a setting unit that applies the setting in accordance with a determination result of the determination unit; a communication device having a communication setting receiving unit that receives the setting; a transmitter that transmits the setting; a terminal having A communication system including:
6. the final setting unit applies the setting of the provisional setting unit as a final setting when the determination result of the determination unit is normal; If the determination result is not normal, discard the setting. The communication system of claim 5 including a communication device.
7. the determination unit transmits a confirmation packet for confirming connection with the terminal that is the communication destination according to the setting, and determines whether the setting contents are normal by detecting reception of a response packet in response to the confirmation packet. a communication device; a terminal, wherein the transmitting unit transmits the response packet to the communication device in response to the confirmation packet; 7. The communication system of claim 6, comprising:
8. the determination unit determines whether the setting contents are normal based on whether the response packet is received within a predetermined time from the time when the confirmation packet was transmitted. The communication system of claim 7, comprising a communication device.
9. A setting method for causing a computer to execute the following steps: obtaining a configuration for the accepted communication at the terminal; a step of temporarily setting the acquired settings; a step of determining whether the setting contents of the setting are normal or not based on a response packet returned from the terminal in response to a confirmation packet transmitted to the terminal using the setting that has been temporarily set; applying the setting depending on the result of the determination; Including how to set it up.
10. A process for obtaining settings for communication accepted at a terminal; A process of temporarily setting the acquired settings; A process of determining whether the setting contents of the setting are normal or not based on a response packet returned from the terminal in response to a confirmation packet sent to the terminal using the setting that has been temporarily set; applying the setting depending on the result of the determination; A program that causes a computer to execute the following.
Citation Information
Patent Citations
Communication control equipment
JP1987171349A
Network device
JP2000165390A
Network maintenance equipment
JP2002057667A
Mobile router management system
JP2006135626A
Communication apparatus, lens apparatus and image pickup apparatus including the same
US20170033886A1