Communication device, method for managing the communication device, control module, and management program
The communication device maintains setting consistency by using a control module with a non-volatile storage unit and identification matching to ensure uninterrupted communication.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- SUMITOMO ELECTRIC INDUSTRIES LTD
- Filing Date
- 2023-02-15
- Publication Date
- 2026-07-07
AI Technical Summary
Existing communication devices face issues with setting consistency when the setting information used for the control unit is outdated or mismatched with the opposite device, leading to disrupted communication.
A communication device with a control module that includes a non-volatile storage unit for startup setting information and a determination unit to match identification information, changing the operation mode to restrict setting changes if a mismatch is detected, ensuring consistent settings with the peer device.
Enhances communication availability by maintaining setting consistency and preventing disruptions, allowing for continued normal communication.
Smart Images

Figure 0007885701000001 
Figure 0007885701000002 
Figure 0007885701000003
Abstract
Description
Technical Field
[0001] The present disclosure relates to a communication device, a management method of the communication device, a control module, and a management program.
Background Art
[0002] Patent Document 1 discloses a communication device including a transfer control unit that determines a transfer destination of a packet and a control unit that controls the transfer control unit. When a failure is detected in the control unit, a processor of the transfer control unit reads setting information and log information stored in a volatile memory, stores the read setting information and log information in a non-volatile memory, restarts the control unit, and uses the setting information stored in the non-volatile memory at a time before the setting information that caused the failure of the control unit to set the control unit.
Prior Art Documents
Patent Documents
[0003]
Patent Document 1
Summary of the Invention
Problems to be Solved by the Invention
[0004] The setting information of the communication device includes setting parameters that need to be set together with the opposite device, such as setting parameters related to VLAN (Virtual Local Area Network) and QoS (Quality of Service). However, in the communication device disclosed in Patent Document 1, when the setting information used for setting the control unit is old or different from the setting information in the opposite device, the setting consistency between the communication device and the opposite device may be disrupted, and there may be an influence such that the communication of the main signal cannot be performed normally.
Means for Solving the Problems
[0005] A communication device according to one aspect of the present disclosure is a communication device that communicates with a peer device, comprising: a communication module that performs communication with the peer device; and a control module that controls the communication module, wherein the communication module includes a first volatile storage unit that stores first operational setting information used for communication; the control module includes a non-volatile storage unit that stores startup setting information which is information indicating the settings of the communication module recognized by the restarted control module and can be generated based on the first operational setting information; the first operational setting information includes first identification information for identifying the first operational setting information; and the startup setting information includes second identification information relating to the startup setting information and can be generated based on the first operational setting information. The second identification information included in the startup setting information matches the first identification information included in the first operation setting information used to generate the startup setting information, the first operation setting information can be changed independently of the startup setting information when the settings of the communication module are changed, and the communication device includes a determination unit that determines whether the first identification information and the second identification information match when the control module is restarted, and a mode control unit that, if the determination unit determines that the first identification information and the second identification information do not match, changes the operation mode of the communication module from a first mode in which the first operation setting information can be changed to a second mode in which changes to the first operation setting information are restricted. [Effects of the Invention]
[0006] According to this disclosure, the availability of communication devices can be improved. [Brief explanation of the drawing]
[0007] [Figure 1] Figure 1 shows an example of the configuration of a communication device according to an embodiment. [Figure 2] Figure 2 is a block diagram showing an example of the hardware configuration of a control module according to the embodiment. [Figure 3] Figure 3 is a block diagram showing an example of the hardware configuration of a communication module according to the embodiment. [Figure 4] Figure 4 is a functional block diagram showing an example of the functions of a communication device according to this embodiment. [Figure 5] Figure 5 is a schematic diagram showing an example of the running-config configuration. [Figure 6] Figure 6 shows an example of the first identification information. [Figure 7] Figure 7 is a schematic diagram showing an example of the startup-config configuration. [Figure 8] Figure 8 is a flowchart showing an example of mode control processing by a control module according to the embodiment. [Figure 9] Figure 9 is a flowchart showing an example of a running-config change process by a control module according to the embodiment. [Figure 10] Figure 10 is a flowchart showing an example of the startup-config update process by the control module according to the embodiment. [Figure 11] Figure 11 is a flowchart showing an example of differential information generation processing by a control module according to the embodiment. [Figure 12] Figure 12 is a sequence diagram showing an example of the operation of a communication device when the operating mode of the communication module is changed from normal mode to restricted mode. [Figure 13] Figure 13 is a sequence diagram showing an example of the operation of a communication device when the communication module's operating mode is returned from restricted mode to normal mode. [Figure 14] Figure 14 is a sequence diagram showing another example of the operation of a communication device when the communication module's operating mode is returned from restricted mode to normal mode. [Figure 15] Figure 15 is a sequence diagram showing a modified example of the operation of a communication device when the communication module's operating mode is returned from restricted mode to normal mode. [Modes for carrying out the invention]
[0008] <Summary of the embodiments of this disclosure> The embodiments of this disclosure are outlined below.
[0009] (1) The communication device according to this embodiment is a communication device that communicates with a peer device, comprising a communication module that performs communication with the peer device, and a control module that controls the communication module, wherein the communication module includes a first volatile storage unit that stores first operational setting information used for communication, and the control module includes a non-volatile storage unit that stores startup setting information which is information indicating the settings of the communication module recognized by the restarted control module and can be generated based on the first operational setting information, wherein the first operational setting information includes first identification information for identifying the first operational setting information, and the startup setting information includes second identification information relating to the startup setting information and can be generated based on the first operational setting information The second identification information included in the startup setting information matches the first identification information included in the first operation setting information used to generate the startup setting information, the first operation setting information can be changed independently of the startup setting information when the settings of the communication module are changed, and the communication device includes a determination unit that determines whether the first identification information and the second identification information match when the control module is restarted, and a mode control unit that, if the determination unit determines that the first identification information and the second identification information do not match, changes the operation mode of the communication module from a first mode in which the first operation setting information can be changed to a second mode in which changes to the first operation setting information are restricted. If the first identification information and the second identification information match, the startup setting information is information generated based on the first operation setting information. On the other hand, if the first identification information and the second identification information do not match, the startup setting information is not information generated based on the first operation setting information. In this case, the startup setting information may differ from the setting information on the opposing device. Therefore, by restricting changes to the first operational setting information when the first identification information and the second identification information do not match, it is possible to suppress setting inconsistencies with the opposing device and maintain communication of the main signal. Matching of the first identification information and the second identification information includes not only cases where the first and second identification information are exactly the same, but also cases where, for example, the content of the first identification information and the content of the second identification information match, even if the first and second identification information are in different data formats.
[0010] (2) In the above (1), when it is determined by the determination unit that the first identification information and the second identification information match, and the operation mode of the communication module is the first mode, the mode control unit may maintain the operation mode of the communication module in the first mode. When the first identification information and the second identification information match, the first operation setting information has not been changed after the time when the first operation setting information was changed using the startup setting information. Therefore, by maintaining the operation mode of the communication module in the first mode, for example, the user can change the first operation setting information, and the communication device can be operated with a high degree of freedom.
[0011] (3) In the above (1) or (2), when it is determined by the determination unit that the first identification information and the second identification information match, and the operation mode of the communication module is the second mode, the mode control unit may change the operation mode of the communication module from the second mode to the first mode. Thereby, for example, the user can change the first operation setting information, and the communication device can be operated with a high degree of freedom.
[0012] (4) In any one of the above (1) to (3), when the operation mode of the communication module is the first mode, the communication device may further include a first generation unit that generates new startup setting information including second identification information that is the same as the first identification information included in the first operation setting information, based on the first operation setting information. Thereby, new startup setting information can be generated using the first operation setting information, and the startup setting information in the non-volatile storage unit can be updated. When the control module is restarted after the startup setting information is updated, the first identification information and the second identification information match, and the operation mode of the communication module can be set to the first mode.
[0013] (5) In any one of the above (1) to (4), the control module further includes a second volatile memory unit that stores second operation setting information, and when the control module restarts, the communication device generates the second operation setting information based on the startup setting information, and stores the generated second operation setting information in the second volatile memory unit; an operation setting information generation unit, and when the operation mode of the communication module is the first mode, a change unit that changes the first operation setting information in the first volatile memory unit to match the second operation setting information in the second volatile memory unit, and the change unit may not change the first operation setting information in the first volatile memory unit when the operation mode of the communication module is the second mode. Thereby, when the operation mode of the communication module is the first mode, it can be changed by synchronizing the first operation setting information with the second operation setting information, and when the operation mode of the communication module is the second mode, the change of the first operation setting information can be restricted and the first operation setting information can be maintained.
[0014] (6) In the above (5), the operation setting information generation unit can change the second operation setting information independently of the startup setting information, and may store the second operation setting information changed independently of the startup setting information in the second volatile memory unit. Thereby, the second operation setting information can be generated independently of the startup setting information. By synchronizing the first operation setting information with the generated second operation setting information, the first operation setting information can be changed independently of the startup setting information.
[0015] (7) In the above (5) or (6), the communication device may further include a difference generation unit that generates difference information between the first operation setting information and the second operation setting information when the operation mode of the communication module is the second mode. Thereby, for example, the user can edit the second operation setting information to have the same content as the first operation setting information based on the difference information.
[0016] (8) In any one of (1) to (7) above, the communication device may further include a second generation unit that generates new startup setting information based on the first operation setting information when the operating mode of the communication module is the second mode. This makes it possible to generate new startup setting information using the first operation setting information used for communication when the operating mode of the communication module is the second mode, and to update the startup setting information in the non-volatile storage unit.
[0017] (9) In any one of (1) to (8) above, the first identification information and the second identification information may each include a first identifier which is updated each time the first operational configuration information is changed. This makes it possible to determine whether the startup configuration information corresponds to the current first operational configuration information by comparing the first identification information and the second identification information.
[0018] (10) In (9) above, each of the first identification information and the second identification information may further include a second identifier which is updated each time the communication module is restarted. By comparing the first identification information and the second identification information, it is possible to determine whether the startup setting information corresponds to the operating period during which the first operation setting information was changed. The "operating period" refers to the period from when the communication module is restarted until the next restart.
[0019] (11) The method for managing a communication device according to this embodiment includes a communication module that includes a first volatile storage unit and performs communication with a peer device, and a control module that includes a non-volatile storage unit and controls the communication module, and comprises the steps of: determining, when the control module is restarted, whether a first identification information included in first operation setting information used for communication, stored in the first volatile storage unit, matches a second identification information included in startup setting information that can be generated based on the first operation setting information, stored in the non-volatile storage unit; and, if it is determined that the first identification information and the second identification information do not match, changing the operating mode of the communication module from a first mode in which the first operation setting information can be changed to a second mode in which changes to the first operation setting information are restricted, wherein the startup setting information is information indicating the settings of the communication module as recognized by the restarted control module, the second identification information included in the startup setting information generated based on the first operation setting information matches the first identification information included in the first operation setting information used to generate the startup setting information, and the first operation setting information can be changed independently of the startup setting information when the settings of the communication module are changed. If the first identification information and the second identification information do not match, the operation mode of the communication module is set to the second mode, thereby restricting changes to the first operational setting information and maintaining the settings of the communication module before the control module was restarted. Therefore, the consistency of settings between the communication device and the opposing device is maintained, and communication of the main signal can continue.
[0020] (12) The control module of the communication device according to this embodiment is a control module that controls a communication module that performs communication with a peer device in a communication device that communicates with the peer device, and includes a non-volatile storage unit that stores startup setting information which can be generated based on first operational setting information used for communication, and which is information indicating the settings of the communication module recognized by the restarted control module, stored in a first volatile storage unit provided in the communication module, and when the control module restarts, includes first identification information for identifying the first operational setting information included in the first operational setting information, and second identification information relating to the startup setting information included in the startup setting information The system includes a determination unit that determines whether the first identification information and the second identification information match, and a mode control unit that, if the determination unit determines that the first identification information and the second identification information do not match, changes the operating mode of the communication module from a first mode in which the first operation setting information can be changed to a second mode in which changes to the first operation setting information are restricted. The second identification information included in the startup setting information generated based on the first operation setting information matches the first identification information included in the first operation setting information used to generate the startup setting information, and the first operation setting information can be changed independently of the startup setting information when the settings of the communication module are changed. If the first identification information and the second identification information do not match, changing the operating mode of the communication module to the second mode restricts changes to the first operation setting information, and the settings of the communication module before the restart of the control module are maintained. Therefore, consistency of settings between the communication device and the opposing device is maintained, and communication of the main signal can continue.
[0021] (13) The management program for the communication device according to this embodiment is a management program used in a control module that controls a communication module that performs communication with a peer device in a communication device that communicates with the peer device, and includes the steps of determining, when the control module is restarted, whether the first identification information contained in the first operation setting information used for communication, which is stored in the first volatile storage unit provided in the communication module, matches the second identification information contained in the startup setting information that can be generated based on the first operation setting information, which is stored in the non-volatile storage unit, in a computer including a non-volatile storage unit, and when the first identification information and the second identification information match If it is determined that the first operational setting information is not to be changed, the operation mode of the communication module is changed from a first mode in which the first operational setting information can be changed to a second mode in which the first operational setting information cannot be changed. The startup setting information is information indicating the settings of the communication module as recognized by the restarted control module, and the second identification information included in the startup setting information generated based on the first operational setting information matches the first identification information included in the first operational setting information used to generate the startup setting information. The first operational setting information can be changed independently of the startup setting information when the settings of the communication module are changed. If the first identification information and the second identification information do not match, the operation mode of the communication module is set to the second mode, thereby restricting the change of the first operational setting information and maintaining the settings of the communication module before the restart of the control module. Therefore, consistency of settings between the communication device and the opposing device is maintained, and communication of the main signal can continue.
[0022] This disclosure can be implemented not only as a communication device having the characteristic configuration described above, a method for managing a communication device using characteristic processing as steps, a control module used in a communication device, and a management program used in a control module, but also as a communication system including a communication device, or as part or all of the control module being implemented as a semiconductor integrated circuit.
[0023] <Details of the embodiments of this disclosure> The embodiments of the present invention will be described in detail below with reference to the drawings. At least some of the embodiments described below may be combined in any way.
[0024] [1. Configuration of the communication device] Figure 1 shows an example of the configuration of a communication device according to an embodiment.
[0025] The communication device 10 includes a control module 100 and communication modules 200_1 and 200_2.
[0026] Communication modules 200_1 and 200_2 are modules that perform communication with the opposing device. For example, communication modules 200_1 and 200_2 are relay modules that relay communication between multiple external communication devices different from communication device 10. Communication module 200_1 is connected to communication lines 20_11 and 20_12 for communication with external communication devices. Communication module 200_2 is connected to communication lines 20_21 and 20_22 for communication with external communication devices. Hereinafter, communication modules 200_1 and 200_2 may be collectively referred to as "communication module 200".
[0027] Communication module 200 is, for example, a communication module that corresponds to a one-to-one network topology. As another example, communication module 200 is a communication module that corresponds to a one-to-many network topology, and in a specific example, it may be a communication module for PON (Passive Optical Network). Communication module 200 is a communication module for Ethernet (registered trademark). Communication module 200 may also be a communication module that corresponds to a communication standard defined by ITU-T (International Telecommunication Union-Telecommunication Standardization Sector). For example, communication module 200 may be a communication module for OTN (Optical Transport Network), a communication module for G-PON (Gigabit PON), a communication module for GE-PON (Gigabit Ethernet PON), or a communication module for 10G-EPON (10Gigabit Ethernet PON). Communication module 200 may also be a communication module for network topologies or communication standards other than those mentioned above.
[0028] The control module 100 is a module for controlling the communication modules 200_1 and 200_2. The control module 100 and the communication modules 200_1 and 200_2 are connected by signal lines.
[0029] The communication device 10 is configured by housing a control module 100 and communication modules 200_1 and 200_2 in a casing. For example, the communication device 10 is a so-called chassis-type (casing-type) communication device in which the control module 100 and communication modules 200_1 and 200_2 can be attached to and detached from the casing.
[0030] In the example shown in Figure 1, two communication modules 200_1 and 200_2 are attached to the communication device 10, but this is not limited to this. For example, the communication device 10 may be equipped with only one communication module, or it may be equipped with three or more communication modules.
[0031] The communication device 10 includes an external communication port 300. The external communication port 300 is connected to the control module 100 by signal lines.
[0032] A management device 30 is connected to the external communication port 300. The management device 30 is a terminal used by the user and is a user interface device. The user can use the management device 30 to view the status of the communication device and input various instructions to the control module 100.
[0033] The control module 100 can be restarted regardless of the startup status of the communication modules 200_1 and 200_2. That is, the control module 100 can be restarted while the communication modules 200_1 and 200_2 are operating. This allows the control module 100 to be restarted without interrupting communication by the communication modules 200_1 and 200_2. For example, the control module 100 will be restarted when a software update is performed on the control module 100. In another example, if the control module 100 fails, it may be restarted to restore it. For example, a user can input a command to restart the control module 100 into the management device 30. The control module 100 will restart according to the user's command.
[0034] [2. Control Module Configuration] Figure 2 is a block diagram showing an example of the hardware configuration of a control module according to the embodiment.
[0035] The control module 100 includes a processor 101, a non-volatile memory 102, a volatile memory 103, a read device 104, and an input / output interface (hereinafter also referred to as "I / O") 105.
[0036] The volatile memory 103 is a semiconductor memory such as SRAM (Static Random Access Memory) or DRAM (Dynamic Random Access Memory). The non-volatile memory 102 is a rewritable non-volatile memory such as flash memory, hard disk, PROM (Programmable Read Only Memory), EPROM (Erasable PROM), or EEPROM (Electrically Erasable PROM). The non-volatile memory 102 stores the management program 110, which is a computer program, and the data used to execute the management program 110. Each function of the control module 100 is performed when the management program 110 is executed by the processor 101.
[0037] The processor 101 is, for example, a CPU (Central Processing Unit). However, the processor 101 is not limited to a CPU. The processor 101 may also be a GPU (Graphics Processing Unit). In a specific example, the processor 101 is a multi-core processor. The processor 101 may also be a single-core processor. The processor 101 is configured to execute computer programs. However, the processor 101 may also be, for example, an ASIC (Application Specific Integrated Circuit), or a programmable logic device such as a gate array or FPGA (Field Programmable Gate Array). In this case, the ASIC or programmable logic device is configured to execute the same functions as the management program 110.
[0038] The volatile memory 103 stores the running-config 112. The running-config 112 is generated based on the running-config 212 of the communication module 200, which will be described later. The running-config 112 in the volatile memory 103 is erased when the control module 100 is restarted. The running-config 112 is an example of "second operational configuration information". The volatile memory 103 is an example of "second volatile storage unit".
[0039] The non-volatile memory 102 stores the startup-config 111. The startup-config 111 is information indicating the settings of the communication module 200 as recognized by the restarted control module 100. The startup-config 111 is used to generate the running-config 212 of the communication module 200. When the communication device 10 restarts, the control module 100 generates the running-config 112 based on the startup-config 111, and the same running-config 212 is given to the communication module 200. The startup-config 111 in the non-volatile memory 102 is not erased even when the control module 100 restarts. The startup-config 111 is an example of "startup configuration information". The non-volatile memory 102 is an example of a "non-volatile storage unit".
[0040] The read device 104 is capable of attaching and detaching the portable storage 40. The portable storage 40 is a non-volatile memory, such as a card-type flash memory like an SD® card. At least one of the management program 110 and the startup-config 111 may be stored in the portable storage 40. The portable storage 40 may also store data that contains the same information as the startup-config 111, but with a different data format than the startup-config 111. For example, in the startup sequence of the control module 100, the processor 101 can read the data from the portable storage 40, convert the read data into a startup-config 111, and write (import) it to the non-volatile memory 102.
[0041] I / O 105 performs data input and output between the control module 100 and the outside. I / O 105 is connected to the management device 30 via the external communication port 300. Furthermore, I / O 105 is connected to communication modules 200_1 and 200_2.
[0042] For example, the management device 30 includes an input device including a keyboard and a pointing device such as a mouse, and a display device including, for example, a liquid crystal panel or an OEL (organic electroluminescent) panel. The input device may be a capacitive or pressure-sensitive touchpad superimposed on the screen of the display device. The management device 30 can receive data input from the user to the input device and display information such as the status of the communication device 10 on the display device.
[0043] The management program 110 is a program for managing communication modules 200_1 and 200_2. More specifically, the management program 110 is a program for managing the configuration information (running-config212) and operating mode of communication modules 200_1 and 200_2.
[0044] [3. Communication Module Configuration] Figure 3 is a block diagram showing an example of the hardware configuration of a communication module according to the embodiment.
[0045] The communication module 200 includes a processor 201, a non-volatile memory 202, a volatile memory 203, a signal processing circuit 204, transceivers (TRx) 205_1, 205_2, and an input / output interface (I / O) 206.
[0046] The volatile memory 203 is a semiconductor memory such as SRAM or DRAM. The non-volatile memory 202 is a flash memory, hard disk, ROM, etc. The non-volatile memory 202 stores the control program 210, which is a computer program, and the data used to execute the control program 210. The functions of the communication module 200 are performed when the control program 210 is executed by the processor 201.
[0047] Processor 201 is, for example, a CPU. However, processor 201 is not limited to a CPU. Processor 201 may also be a GPU. In a specific example, processor 201 is a multi-core processor. Processor 201 may also be a single-core processor. Processor 201 is configured to execute a computer program. However, processor 201 may also be, for example, an ASIC or a programmable logic device. In this case, the ASIC or programmable logic device is configured to execute the same functions as the control program 210.
[0048] The volatile memory 203 stores the running-config 212. The running-config 212 is configuration information used for communication by the communication module 200 and includes multiple configuration parameters. The running-config 212 is erased when the communication module 200 is restarted. The running-config 212 is an example of "first operational configuration information". The volatile memory 203 is an example of "first volatile storage unit".
[0049] Transceivers 205_1 and 205_2 are connected to the opposing device via a communication line. Transceivers 205_1 and 205_2 can receive signals (main signals) transmitted from the opposing device and transmit main signals to the opposing device. Signal processing circuit 204 is connected to transceivers 205_1 and 205_2. Signal processing circuit 204 is a hardware circuit that applies predetermined processing to signals (main signals) received from the opposing device and to signals transmitted to the opposing device. For example, signal processing circuit 204 applies predetermined frame processing to signals transmitted and received to the opposing device.
[0050] I / O206 handles data input and output between the control module 210 and the outside world. I / O206 is connected to the control module 100.
[0051] The control program 210 is a program for controlling the updating of the running-config 212. Furthermore, the control program 210 is a program for controlling the operating mode of the communication module 200.
[0052] [4. Functions of the communication device] Figure 4 is a functional block diagram showing an example of the functions of a communication device according to this embodiment.
[0053] The control module 100 has the functions of a determination unit 121, a mode control unit 122, a modification unit 123, a running-config generation unit 124, a first generation unit 125, and a difference generation unit 126. The communication module 200 has the function of a control unit 220.
[0054] When the control module starts up, the determination unit 121 obtains running-config 212 from the communication module 200 and reads startup-config 111 from the non-volatile memory 102. The determination unit 121 compares the first identification information contained in running-config 212 with the second identification information contained in startup-config 111 and determines whether the first identification information and the second identification information match.
[0055] Figure 5 schematically shows an example of the running-config configuration. running-config212 includes a first identification information and setting values a1, b1, c1, ... for multiple configuration parameters A, B, C, ....
[0056] The first identification information is information used to identify running-config212. In other words, the first identification information is updated each time running-config212 is generated or modified.
[0057] Figure 6 shows an example of the first identification information. running-config212 contains the first identifier. The first identifier is information that is updated each time running-config212 is changed.
[0058] For example, one possible primary identifier is the transaction ID. The transaction ID is a number that is incremented each time a specific command is executed. These specific commands include commands that instruct changes to the running-config. Each time a command instructing changes to running-config212 is executed, the transaction ID is updated.
[0059] The transaction ID is reset when the control module 100 (more precisely, the operating system of the control module 100 that manages the commands) is restarted. Therefore, the first identifier alone may not be able to uniquely identify running-config212. For this reason, the first identifier may further include a second identifier that is updated each time the communication module 200 is restarted. An example of a second identifier is a UUID (Universally Unique Identifier). The UUID is also updated each time the control module 100 is restarted. The UUID can be used to identify the operating period of the communication module.
[0060] The first identification information may include information other than the UUID and transaction ID. For example, the first identification information may include a chassis serial number for identifying the chassis of the communication device 10. In other examples, the first identification information may include a device identifier that can identify the type of communication device, such as an Ethernet communication device, an OTN communication device, or a PON communication device.
[0061] Figure 7 schematically shows an example of the configuration of startup-config. startup-config111 includes a second identification information and setting values a2, b2, c2, ... for multiple configuration parameters A, B, C, ....
[0062] startup-config111 is generated based on running-config212. In a specific example, startup-config111 contains the same information as running-config212. For example, if startup-config111 is generated from running-config212 at a certain point in time, the second identification information contained in startup-config111 will be the same as the first identification information contained in running-config212, and the values of the configuration parameters A, B, C, ... contained in startup-config111 will be the same as the values a1, b1, c1, ... of the configuration parameters A, B, C, ... contained in running-config212.
[0063] In other words, the first identifier contained in running-config212 matches the second identifier contained in startup-config111, which is generated based on running-config212.
[0064] running-config212 can be modified independently of startup-config111. That is, running-config212 can be modified without changing startup-config111. When running-config212 is modified, the modified running-config will contain a new (different from the original) primary identifier. In this case, the primary identifier and the secondary identifier will not match.
[0065] Returning to Figure 4, the communication module 200 has two operating modes: normal mode and restricted mode. Normal mode is an operating mode in which the running-config 212 can be changed, while restricted mode is an operating mode in which changes to the running-config 212 are restricted. Normal mode is an example of "first mode". Restricted mode is an example of "second mode".
[0066] The mode control unit 122 controls the operating mode of the communication module 200. The mode control unit 122 changes the operating mode of the communication module 200 from normal mode to restricted mode when the determination unit 121 determines that the first identification information and the second identification information do not match. Specifically, the mode control unit 122 decides to change the operating mode of the communication module 200 from normal mode to restricted mode when the determination unit 121 determines that the first identification information and the second identification information do not match. Once the mode control unit 122 decides to change the operating mode of the communication module 200 from normal mode to restricted mode, it instructs the control unit 220 of the communication module to change the mode, and the control unit 220 changes the operating mode of the communication module 200 from normal mode to restricted mode.
[0067] If the determination unit 121 determines that the first identification information and the second identification information match, and the operating mode of the communication module 200 is normal mode, the mode control unit 122 maintains the operating mode of the communication module 200 in normal mode. Specifically, once the mode control unit 122 decides to maintain the operating mode of the communication module 200 in normal mode, it does not instruct the control unit 220 of the communication module to change the mode.
[0068] If the determination unit 121 determines that the first identification information and the second identification information match, and the operating mode of the communication module 200 is in restricted mode, the mode control unit 122 changes the operating mode of the communication module 200 from restricted mode to normal mode. Specifically, the mode control unit 122 decides to change the operating mode of the communication module 200 from restricted mode to normal mode and instructs the control unit 220 of the communication module to change the mode. The control unit 220 changes the operating mode of the communication module 200 from restricted mode to normal mode.
[0069] The first generation unit 125 generates a new startup-config 111 based on the running-config 212 when the communication module 200 is operating in normal mode. In a specific example, when the communication module 200 is operating in normal mode, the first generation unit 125 stores a running-config 112 with the same content as the running-config 212 of the communication module 200 in the volatile memory 103 based on instructions from the user from the management device 30, or according to other certain conditions. That is, the running-config 112 of the control module 100 is a copy of the running-config 212 of the communication module 200 and includes the same first identification information and setting parameter values as the running-config 212. The first generation unit 125 generates a startup-config 111 with the same content as the running-config 112 stored in the volatile memory and stores it in the non-volatile memory 102. In other words, the generated startup-config111 contains a second identification information which is the same as the first identification information of running-config212, and contains the same configuration parameter values as the configuration parameter values of running-config212. Hereafter, the configuration parameter values will also be referred to as "configuration content".
[0070] The running-config generation unit 124 generates a running-config 112 based on the startup-config 111 when the control module 100 restarts. The running-config generation unit 124 stores the generated running-config 112 in the volatile memory 103. The generated running-config 112 contains the same information as the startup-config 111. That is, the first identification information of the running-config 112 matches the second identification information of the startup-config 111, and the settings of the running-config 112 match the settings of the startup-config 111.
[0071] For example, mode information indicating whether the communication module 200 is operating in normal mode or restricted mode is stored in the volatile memory 103. In one example, the initial value of the mode information indicates normal mode, and when the mode control unit 122 changes the operating mode of the communication module 200 from normal mode to restricted mode, it overwrites the mode information with information indicating restricted mode. When the mode control unit 122 changes the operating mode of the communication module 200 from restricted mode to normal mode, it overwrites the mode information with information indicating normal mode. The modification unit 123 determines whether the operating mode of the communication module 200 is normal mode or restricted mode by referring to the mode information in the volatile memory 103. If the operating mode of the communication module 200 is normal mode, the modification unit 123 changes the running-config 212 in the volatile memory 203 of the communication module 200 to match the running-config 112 in the volatile memory 103, based on instructions from the user from the management device 30 or according to other certain conditions. Specifically, the modification unit 123 instructs the control unit 220 to synchronize running-config 112 and running-config 212. Upon receiving the instruction, the control unit 220 synchronizes running-config 212 with running-config 112. As a result, running-config 212 matches running-config 112.
[0072] If running-config212 matches running-config112, the primary identifier of running-config212 will match the primary identifier of running-config112, and the configuration of running-config212 will match the configuration of running-config112.
[0073] The modification unit 123 does not modify the running-config 212 in the volatile memory 203 when the operating mode of the communication module 200 is restricted mode. Specifically, when the operating mode of the communication module 200 is restricted mode, even if it receives instructions from the management device 30 or other certain conditions are met, it does not output instructions to the control unit 220 for synchronization between running-config 112 and running-config 212. Therefore, when the operating mode of the communication module 200 is restricted mode, running-config 212 is maintained.
[0074] The running-config generation unit 124 can generate running-config 112 independently of startup-config 111, that is, independently of startup-config 111. For example, when the running-config generation unit 124 receives instructions from the user from the management device 30, it can generate running-config 112 according to the instructions. The running-config generation unit 124 stores the generated running-config 112 in the volatile memory 103. For example, when the communication module's operating mode is normal mode, after a new running-config 112 is generated, the modification unit 123 outputs an instruction to the control unit 220 to synchronize running-config 112 and running-config 212, thereby changing running-config 212 to match running-config 112.
[0075] The difference generation unit 126 generates difference information between running-config 212 and running-config 112 when the operating mode of the communication module 200 is in restricted mode. Specifically, the difference generation unit 126 requests the communication module 200 to send running-config 212. The communication module 200 sends running-config 212 to the control module 100 in response to the request. The difference generation unit 126 generates difference information between running-config 112 stored in the volatile memory 103 and the received running-config 212. The difference information includes at least control contents in running-config 212 that do not overlap with running-config 112.
[0076] The difference generation unit 126 stores the generated difference information 113 in the volatile memory 103. The user can operate the management device 30 to display the difference information 113 on the management device 30. This allows the user to check the difference between the running-config 112 in the control module 100 and the running-config 212 in the communication module 200.
[0077] For example, a user can use differential information to edit the running-config112 in the control module 100 and make it match the running-config112 in the communication module 200. This resolves any inconsistencies between the running-config112 in the control module 100 and the running-config212 in the communication module 200.
[0078] For example, if the running-config 112 of the control module 100 and the running-config 212 of the communication module 200 match, the mode control unit 122 can set the operating mode of the communication module 200 to normal mode. This makes it possible to change the running-config 212 of the communication module 200 when the inconsistency between the running-config 112 of the control module 100 and the running-config 212 of the communication module 200 is resolved.
[0079] [5. Operation of the communication device] The operation of the communication device according to this embodiment will be described below.
[0080] By executing the management program 110, the processor 101 of the control module 100 enables the control module 100 to perform mode control processing, running-config modification processing, startup-config update processing, and differential information generation processing.
[0081] Figure 8 is a flowchart showing an example of mode control processing by a control module according to the embodiment.
[0082] The control module 100 is restarted by a user instruction from the management device 30 (step S101).
[0083] When the control module 100 restarts, the processor 101 reads the startup-config 111 from the volatile memory 102 (step S102).
[0084] The processor 101 generates a running-config 112 based on the startup-config 111 it read, and writes the generated running-config 112 to the volatile memory 103 (step S103). The first configuration information contained in the running-config 112 is the same as the second configuration information contained in the startup-config 111, and the configuration contents contained in the running-config 112 are the same as the configuration contents contained in the startup-config 111.
[0085] The processor 101 requests the communication module 200 to send the first identification information of the running-config 212. The communication module 200 sends the first identification information in accordance with the request. The processor 101 acquires the received first identification information (step S104). Alternatively, the processor 101 may request the communication module 200 to send the running-config 212 and receive the running-config 212 from the communication module 200. In this case, the processor 101 can acquire the first identification information from the received running-config 212.
[0086] The processor 101 compares the acquired first identification information with the second identification information of startup-config 111 (step S105).
[0087] If the first identification information and the second identification information match (YES in step S106), the processor 101 determines whether the operating mode of the communication module 200 is normal mode or restricted mode (step S107).
[0088] If the operating mode of the communication module 200 is restricted mode (referred to as "restricted mode" in step S107), the processor 101 outputs an instruction to the communication module 200 to change its operating mode from restricted mode to normal mode (step S108). Upon receiving the instruction, the communication module 200 changes its operating mode from restricted mode to normal mode. This completes the mode control process.
[0089] If the operating mode of the communication module 200 is normal mode (referred to as "normal mode" in step S107), the processor 101 terminates the mode control process.
[0090] If the first identification information and the second identification information do not match (NO in step S106), the processor 101 determines whether the operating mode of the communication module 200 is normal mode or restricted mode (step S109).
[0091] If the communication module 200 is operating in normal mode (referred to as "normal mode" in step S109), the processor 101 outputs an instruction to the communication module 200 to change its operating mode from normal mode to restricted mode (step S110). Upon receiving the instruction, the communication module 200 changes its operating mode from normal mode to restricted mode. This completes the mode control process.
[0092] If the operating mode of the communication module 200 is restricted mode (referred to as "restricted mode" in step S109), the processor 101 terminates the mode control process.
[0093] Figure 9 is a flowchart showing an example of a running-config change process by a control module according to the embodiment. The running-config change process can be executed when the communication module's operating mode is in normal mode.
[0094] For example, the user can operate the management device 30 to input instructions to change the running-config 212 and the details of those changes into the control module 100.
[0095] When the processor 101 receives a command to change the running-config 212 (step S201), it modifies the running-config 112 stored in the volatile memory 103 according to the input change (step S202).
[0096] The processor 101 instructs the communication module 200 to synchronize the running-config (step S203). Upon receiving the instruction, the communication module 200 performs the synchronization of the running-config. As a result, the running-config 212 of the communication module 200 is changed to match the running-config 112 of the control module 100. This completes the running-config modification process.
[0097] Figure 10 is a flowchart showing an example of the startup-config update process by the control module according to the embodiment. The startup-config update process can be performed whether the communication module is in normal mode or restricted mode.
[0098] For example, the user can operate the management device 30 to input an update instruction for startup-config 111 to the control module 100.
[0099] When processor 101 receives an instruction to update startup-config111 (step S301), it generates a new startup-config111 based on the contents of running-config112 stored in volatile memory 103. That is, it generates a startup-config111 that includes a second identification information which is the same as the first identification information of running-config112, and configuration contents which are the same as the settings of running-config112. Processor 101 overwrites startup-config111 in non-volatile memory 102 with the generated startup-config and updates startup-config111 (step S302). This completes the startup-config update process.
[0100] Figure 11 is a flowchart showing an example of differential information generation processing by a control module according to the embodiment. The differential information generation processing is performed when the operating mode of the communication module 200 is in restricted mode. More specifically, the differential information generation processing is started when certain conditions are met, for example, when a user instruction to generate differential information is input to the control module 100 from the management device 30, or when the operating mode of the communication module 200 is in restricted mode.
[0101] The processor 101 requests the communication module 200 to send the running-config 212 (step S401). The communication module 200 sends the running-config 212 in accordance with the request. The control module 100 receives the running-config 212 (step S402).
[0102] The processor 101 generates difference information 113 between the received running-config 212 and the running-config 112 stored in the volatile memory 103 (step S403). The generated difference information 113 is stored in the volatile memory 103. This completes the difference information generation process.
[0103] For example, by performing a startup-config update process after the differential information generation process, the user can update startup-config111 to the same content as running-config112 of the control module 100.
[0104] Figure 12 is a sequence diagram showing an example of the operation of a communication device when the operating mode of the communication module is changed from normal mode to restricted mode.
[0105] In the example in Figure 12, it is assumed that the initial running-config212 of communication module 200_1 has been changed from running-configA to running-configB in the past. Furthermore, the running-config212 of communication module 200_2 remains unchanged as running-configA. The first identification information of running-configA is different from the first identification information of running-configB. The settings of running-configA and the settings of running-configB are different.
[0106] In the example shown in Figure 12, startup-config111 of the control module 100 is startup-configA. startup-configA includes the same second identification information as the first identification information of running-configA, and the same configuration content as the configuration content of running-configA.
[0107] In the example shown in Figure 12, at the start of the sequence, the operating mode of communication module 200_1 is normal mode, and the operating mode of communication module 200_2 is also normal mode.
[0108] When the control module 100 restarts, the processor 101 generates running-configA from startup-configA and stores it in volatile memory 103 (step S11).
[0109] Processor 101 sends a request to transmit the first identification information to each of the communication modules 200_1 and 200_2 (step S12). The processor 201 of communication module 200_1 transmits the first identification information of running-configB in response to the request. The processor 201 of communication module 200_2 transmits the first identification information of running-configA in response to the request (step S13).
[0110] The processor 101 compares the received first identification information with the second identification information of startup-configA (step S14). In this example, the first identification information contained in running-configB of communication module 200_1 does not match the second identification information of startup-configA, while the first identification information contained in running-configA of communication module 200_2 matches the second identification information of startup-configA.
[0111] The processor 101 sends a mode change instruction to the communication module 200_1, instructing it to change the operating mode from normal mode to restricted mode (step S15). The processor 201 of the communication module 200_1 changes the operating mode from normal mode to restricted mode in accordance with the mode change instruction (step S16).
[0112] Figure 13 is a sequence diagram showing an example of the operation of a communication device when the communication module's operating mode is returned from restricted mode to normal mode. Figure 13 shows an example of the operation following Figure 12.
[0113] The user can input a command to restart the communication module 200_1 to the management device 30 by operating the management device 30. The command input by the user is given to the control module 100, and the control module 100 restarts the communication module 200_1 (step S21).
[0114] When communication module 200_1 restarts, its operating mode is set to the default normal mode.
[0115] The running-config 212 is erased from the volatile memory 203 of the restarted communication module 200_1. Therefore, after the communication module restarts, the control module 100 instructs the communication module 200_1 to synchronize the running-config, and the processor 201 of the communication module 200_1 performs the running-config synchronization. As a result, the running-config A of the control module 100 is duplicated and stored in the volatile memory 203 (step S22). In this state, the running-config 112 of the control module 100, the running-config 212 of the communication module 200_1, and the running-config 212 of the communication module 200_2 all match. Furthermore, the contents of the startup-config 111 of the control module 100, the contents of the running-config 212 of the communication module 200_1, and the contents of the running-config 212 of the communication module 200_2 all match.
[0116] In the example shown in Figure 13, communication by communication module 200_1 is interrupted in order to restart it. It is preferable to return the operating mode of communication module 200_1 to normal mode without restarting it.
[0117] Figure 14 is a sequence diagram showing another example of the operation of a communication device when the communication module's operating mode is returned from restricted mode to normal mode. Figure 14 shows another example of the operation following Figure 12.
[0118] The processor 101 of the control module 100 sends a request to the communication module 200_1 to send running-config (step S31). The processor 201 of the communication module 200_1 sends running-configB in response to the request (step S32).
[0119] The processor 101 generates difference information 113 between the received running-configB and running-configA stored in the volatile memory 103 (step S33). The processor 101 stores the difference information 113 in the volatile memory 103 and sends the difference information 113 to the management device 30. The management device 30 displays the received difference information 113.
[0120] The user operates the management device 30 to edit the running-config 112 of the control module 100 and make running-config 112 match running-config B (step S34).
[0121] The processor 101 sends a mode change instruction to the communication module 200_1, instructing it to change its operating mode from restricted mode to normal mode (step S35). The processor 201 of the communication module 200_1 changes its operating mode from restricted mode to normal mode in accordance with the mode change instruction (step S36).
[0122] Processor 101 sends a running-config synchronization instruction to communication module 200_2. Processor 201 of communication module 200_2 performs running-config synchronization according to the instruction. As a result, running-configB of control module 100 is duplicated and stored in volatile memory 203 (step S37). In this state, running-config 112 of control module 100, running-config 212 of communication module 200_1, and running-config 212 of communication module 200_2 all match.
[0123] [6. Examples of Variations] Refer to Figure 4. One modified example of the control module 100 according to this embodiment has the function of a second generation unit 127.
[0124] The second generation unit 127 generates a new startup-config 111 based on the running-config 212 when the operating mode of the communication module 200 is in restricted mode. In a specific example, when the operating mode of the communication module 200 is in restricted mode, the second generation unit 127 generates a startup-config 111 that includes the same second identification information as the first identification information in the running-config 212 of the communication module 200, and the same configuration content as the configuration content in the running-config 212, and stores it in the non-volatile memory 102.
[0125] Figure 15 is a sequence diagram showing a modified example of the operation of a communication device when the communication module's operating mode is returned from restricted mode to normal mode. Figure 15 shows another example of the operation following Figure 12.
[0126] The processor 101 of the control module 100 sends a request to the communication module 200_1 to send running-config (step S41). The processor 201 of the communication module 200_1 sends running-configB in response to the request (step S42).
[0127] The processor 101 generates a startup-configB based on the received running-configB (step S43). The second identification information and configuration contents of the generated startup-configB are the same as the first identification information and configuration contents of running-configB. The generated startup-configB is stored in the non-volatile memory 102.
[0128] The processor 101 generates a running-configB from startup-configB or the received running-configB and stores it in volatile memory 103 (step S44). The generated running-configB is identical to the running-configB of communication module 200_1.
[0129] The processor 101 sends a running-config synchronization instruction to the communication module 200_2. The processor 201 of the communication module 200_2 performs the running-config synchronization according to the instruction. As a result, the running-configB of the control module 100 is duplicated and stored in the volatile memory 203 (step S45).
[0130] The user operates the management device 30 to input a command to restart the control module 100. The command input by the user is given to the control module 100, and the control module 100 restarts (step S46).
[0131] When the control module 100 restarts, the same process as steps S12 to S14 described above is performed (steps S48 to S50), and the first identification information of running-configB in each of the communication modules 200_1 and 200_2 is compared with the second identification information of startup-configB. In this example, the first identification information contained in running-configB of each of the communication modules 200_1 and 200_2 matches the second identification information of startup-configB.
[0132] The processor 101 sends a mode change instruction to the communication module 200_1, instructing it to change the operating mode from restricted mode to normal mode (step S51). The processor 201 of the communication module 200_1 changes the operating mode from restricted mode to normal mode in accordance with the mode change instruction (step S52).
[0133] In the embodiments and modifications described above, the control module 100 had the functions of a determination unit 121, a mode control unit 122, a modification unit 123, a running-config generation unit 124, a first generation unit 125, a difference generation unit 126, and a second generation unit 127, but is not limited thereto. For example, the communication module 200 may have the functions of a determination unit 121, a mode control unit 122, a modification unit 123, a running-config generation unit 124, a first generation unit 125, a difference generation unit 126, and a second generation unit 127, or if the communication device 10 is provided with a control circuit different from the control module 100 and the communication module 200, this control circuit may have the above functions. Furthermore, the functions of a determination unit 121, a mode control unit 122, a modification unit 123, a running-config generation unit 124, a first generation unit 125, a difference generation unit 126, and a second generation unit 127 may be distributed among the control module 100, the communication module 200, and the control circuit.
[0134] [7. Supplementary Notes] The embodiments disclosed herein are illustrative in all respects and are not restrictive. The scope of the present invention is indicated by the claims rather than by the embodiments described above, and includes all modifications within the meaning and scope of the equivalents of the claims. [Explanation of Symbols]
[0135] 10. Communication equipment 20_11, 20_12, 20_21, 20_22 communication lines 30 Management device 40 Portable Storage 100 control modules 101 Processors 102 Non-volatile memory (non-volatile storage unit) 103 Volatile memory (second volatile memory unit) 104 Reading device 105 Input / Output Interface (I / O) 110 Management Program 111 startup-config (boot configuration information) 112 running-config (Second operational configuration information) 113 Difference Information 121 Judgment section 122 Mode Control Unit 123 Changes 124 running-config generator 125 1st generation part 126 Difference generation part 127 Second generation part 200, 200_1, 200_2 Communication Modules 201 Processor 202 Non-volatile memory 203 Volatile memory (first volatile memory unit) 204 Signal Processing Circuit 205_1, 205_2 Transceiver (TRx) 206 Input / Output Interfaces (I / O) 210 Control Program 212 running-config (First operational configuration information) 220 Control Unit 300 External communication ports
Claims
1. A communication device that communicates with a counterpart device, A communication module that performs communication with the aforementioned opposing device, A control module that controls the aforementioned communication module, Equipped with, The communication module includes a first volatile storage unit that stores first operational setting information used for communication, The control module includes a non-volatile storage unit that stores startup setting information which can be generated based on the first operation setting information, which is information indicating the settings of the communication module recognized by the restarted control module. The first operational configuration information includes first identification information for identifying the first operational configuration information, The aforementioned startup setting information includes a second identification information relating to the aforementioned startup setting information, The second identification information included in the startup setting information generated based on the first operation setting information matches the first identification information included in the first operation setting information used to generate the startup setting information. The first operational configuration information can be changed independently of the startup configuration information when the settings of the communication module are changed. The aforementioned communication device is A determination unit determines whether the first identification information and the second identification information match when the control module is restarted, If the determination unit determines that the first identification information and the second identification information do not match, the mode control unit changes the operating mode of the communication module from a first mode in which the first operation setting information can be changed to a second mode in which the first operation setting information cannot be changed. Equipped with, Communication device.
2. If the determination unit determines that the first identification information and the second identification information match, and the operating mode of the communication module is the first mode, the mode control unit maintains the operating mode of the communication module in the first mode. The communication device according to claim 1.
3. If the determination unit determines that the first identification information and the second identification information match, and the operating mode of the communication module is the second mode, the mode control unit changes the operating mode of the communication module from the second mode to the first mode. The communication device according to claim 1.
4. The communication device further includes a first generation unit that, when the operating mode of the communication module is the first mode, generates new startup setting information based on the first operation setting information, including a second identification information which is the same as the first identification information included in the first operation setting information. The communication device according to claim 1.
5. The control module further includes a second volatile storage unit that stores second operation setting information, The aforementioned communication device is When the control module is restarted, the operation setting information generation unit generates the second operation setting information based on the startup setting information and stores the generated second operation setting information in the second volatile storage unit. When the operating mode of the communication module is the first mode, the modification unit modifies the first operation setting information in the first volatile storage unit to match the second operation setting information in the second volatile storage unit, Furthermore, The modification unit does not change the first operation setting information in the first volatile storage unit when the operation mode of the communication module is the second mode. A communication device according to any one of claims 1 to 4.
6. The operation setting information generation unit can modify the second operation setting information independently of the startup setting information, and stores the modified second operation setting information in the second volatile storage unit. The communication device according to claim 5.
7. The communication device further includes a difference generation unit that generates difference information between the first operation setting information and the second operation setting information when the operation mode of the communication module is the second mode. The communication device according to claim 5.
8. The communication device further includes a second generation unit that generates new startup setting information based on the first operation setting information when the operating mode of the communication module is the second mode. The communication device according to claim 1.
9. Each of the first identification information and the second identification information includes a first identifier which is updated each time the first operation setting information is changed. The communication device according to claim 1.
10. Each of the first identification information and the second identification information further includes a second identifier which is updated each time the communication module is restarted. The communication device according to claim 9.
11. A method for managing a communication device comprising a communication module that includes a first volatile memory unit and performs communication with a counterpart device, and a control module that includes a non-volatile memory unit and controls the communication module, The control module restarts and determines whether the first identification information contained in the first operation setting information used for communication, stored in the first volatile memory unit, matches the second identification information contained in the startup setting information that can be generated based on the first operation setting information, stored in the non-volatile memory unit. If it is determined that the first identification information and the second identification information do not match, the operating mode of the communication module is changed from a first mode in which the first operating setting information can be changed to a second mode in which the first operating setting information cannot be changed. Includes, The aforementioned startup configuration information is information that indicates the configuration of the communication module as recognized by the restarted control module. The second identification information included in the startup setting information generated based on the first operation setting information matches the first identification information included in the first operation setting information used to generate the startup setting information. The first operational configuration information can be changed independently of the startup configuration information when the settings of the communication module are changed. Methods for managing communication equipment.
12. A communication device that communicates with a counterpart device, comprising a control module that controls a communication module that performs communication with the counterpart device, A non-volatile storage unit stores startup setting information which can be generated based on first operational setting information used for communication, and which is information indicating the settings of the communication module recognized by the restarted control module, stored in a first volatile storage unit provided in the communication module. When the control module is restarted, a determination unit determines whether the first identification information for identifying the first operation setting information, which is included in the first operation setting information, and the second identification information relating to the startup setting information, which is included in the startup setting information, match. If the determination unit determines that the first identification information and the second identification information do not match, the mode control unit changes the operating mode of the communication module from a first mode in which the first operation setting information can be changed to a second mode in which the first operation setting information cannot be changed. Equipped with, The second identification information included in the startup setting information generated based on the first operation setting information matches the first identification information included in the first operation setting information used to generate the startup setting information. The first operational configuration information can be changed independently of the startup configuration information when the settings of the communication module are changed. Control module.
13. A management program used in a control module that controls a communication module that performs communication with a peer device, in a communication device that communicates with the peer device, A computer containing non-volatile memory, The control module restarts, and determines whether the first identification information included in the first operation setting information used for communication, stored in the first volatile storage unit provided in the communication module, matches the second identification information included in the startup setting information that can be generated based on the first operation setting information, stored in the non-volatile storage unit. If it is determined that the first identification information and the second identification information do not match, the operating mode of the communication module is changed from a first mode in which the first operating setting information can be changed to a second mode in which the first operating setting information cannot be changed. Make it run, The aforementioned startup configuration information is information that indicates the configuration of the communication module as recognized by the restarted control module. The second identification information included in the startup setting information generated based on the first operation setting information matches the first identification information included in the first operation setting information used to generate the startup setting information. The first operational configuration information can be changed independently of the startup configuration information when the settings of the communication module are changed. Management program.