Communication device and firmware update system
The system addresses firmware update challenges for devices with local communication by using a communication device to manage firmware updates through controlled activation and deactivation, ensuring automated and seamless updates without repeated rewriting.
Patent Information
- Application Number
- JP2021075450
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-04-27
- Publication Date
- 2024-10-23
- Estimated Expiration
- 2041-04-27
AI Technical Summary
Devices with local communication functions but without wide area communication capabilities face challenges in automating firmware updates due to the need for physical reconnection of recording media and potential repeated firmware rewriting, which can hinder their original functionality.
A system comprising a communication device with local and wide area communication capabilities that manages firmware updates by acting as an external storage medium, controlling its behavior to prevent repeated firmware rewriting through predetermined activation and deactivation sequences.
Enables automated firmware updates for devices lacking wide area communication by preventing repeated firmware rewriting, ensuring seamless operation without manual intervention.
Smart Images

Figure 0007572298000001 
Figure 0007572298000002 
Figure 0007572298000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a communication device and a firmware update system. [Background technology]
[0002] Patent Document 1 is known as a technology related to a firmware update system. Patent Document 1 discloses that "before a so-called firmware update in which new firmware is downloaded from the server 2 to the printer 1 and the firmware stored in the non-volatile memory 16 is updated to the new firmware, recovery firmware is downloaded from the server 2 to the memory 32 of the PC 3. If the firmware update ends in failure, recovery firmware is transmitted from the PC 3 to the printer 1, and the recovery firmware received from the PC 3 is stored in the non-volatile memory 16 in the printer 1." Patent Document 1 states that it provides a firmware update system and a firmware update method that can eliminate the need for a user to perform complicated recovery operations when recovering firmware. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2019-133407 A Summary of the Invention [Problem to be solved by the invention]
[0004] In Patent Document 1, firmware is downloaded from a server to a printer, which is a device, via a LAN. However, some devices are not capable of wide-area communication that allows direct communication with a server. Such devices may incorporate a local communication function that allows communication with a target device, but cannot directly communicate with a server or a host computer. Such devices include compressors and program controllers, and an example of local communication is USB communication.
[0005] For example, a device with USB communication function may use USB communication to rewrite firmware by starting the device with a recording medium (so-called USB memory) that has USB communication function connected. When this device starts up, if a recording medium is connected to its USB terminal and data for rewriting its own firmware is recorded on the recording medium, it will use that data to rewrite its own firmware.
[0006] On the other hand, if no recording medium is connected to the USB terminal, or if a recording medium is connected but does not contain data for rewriting the device's own firmware, the device will not rewrite its firmware.
[0007] When a user of such a device equipped only for local communication rewrites the firmware, the user must use a computer such as a PC (personal computer) equipped with both wide area and local area communication functions to download data from a host computer to the PC via wide area communication, write the data to a recording medium via local communication, and then reconnect the recording medium to the target device.
[0008] Therefore, since the task of physically reconnecting such a recording medium to the device is required, it is difficult to automate the firmware update.
[0009] Also, as mentioned above, in the case of a device that has a function of rewriting firmware if data for firmware rewriting is written to a recording medium connected to the device at startup, even after the firmware rewriting is completed, the firmware will be written every time the device is started as long as the recording medium is connected. If such firmware writing is repeatedly performed, the device will not be able to perform its original function. In order to avoid this, it is necessary to remove the recording medium from the device when the firmware rewriting is completed, which is also an obstacle to automating firmware updates.
[0010] An object of the present invention is to easily prevent repeated firmware rewriting for a device that has a local communication function but does not have a wide area communication function. [Means for solving the problem]
[0011] As a preferred example of the present invention, a local communication unit that communicates with a device and a storage unit that stores firmware for the device are provided, When it is determined that the history of activation / deactivation as an external storage terminal by the device matches a predetermined sequence that has been set in advance, the communication device is not activated as an external storage terminal by the device, or the firmware operates in a manner that is not visible to the device.
[0012] Another preferred embodiment of the present invention provides a firmware update system having a device and a device connected to the device, The device comprises: A device-side storage unit for storing data; A device side processing unit for processing data; A device-side communication unit for performing local communication, Requesting the device to read data; When firmware update data is recorded in the device, updating firmware with the data read from said device; The firmware is executed by the device-side processing unit, The apparatus comprises: The device has a device-side storage unit for storing data, a device-side processing unit for processing the data, and a device-side local communication unit for communicating with the device, when the device-side local communication unit receives an inquiry about a device type from the device, the device-side local communication unit returns information that the device is an external storage device; If firmware update data is recorded in the device-side storage unit, the firmware update data is transmitted in response to a data read request from the device; In the firmware updating system, when a signal of a predetermined sequence is given from the equipment to the device, the device stops functioning as the external storage device. Effect of the Invention
[0013] According to the present invention, it is possible to easily prevent repeated rewriting of firmware in a device that has a local communication function but does not have a wide area communication function. [Brief description of the drawings]
[0014] [Figure 1] FIG. 1 is a conceptual diagram of a firmware updating system according to a first embodiment. [Diagram 2] FIG. 2 is a diagram illustrating functional blocks of the firmware updating system according to the first embodiment. [Diagram 3] 4 is a flowchart illustrating an operation of the device in the first embodiment. [Figure 4] 4 is a flowchart illustrating an operation of the communication device according to the first embodiment. [Diagram 5] 4 is a flowchart illustrating an operation of the firmware updating system in the first embodiment. [Figure 6] FIG. 11 is a diagram illustrating functional blocks of a firmware updating system according to a second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] Hereinafter, the embodiments will be described with reference to the drawings. EXAMPLES
[0016] 1 is a diagram showing a conceptual diagram of a firmware updating system in Example 1. The firmware updating system includes a host computer 13, a communication device 11 that performs wide-area communication with the host computer 13 via a network 12, such as the Internet, and a device 10 that performs local communication with the communication device 11.
[0017] A communication means capable of communicating with a host computer 13 such as a server in a remote location via a network such as wireless or the Internet is called wide area communication, while a communication means that is not wireless or connects physically is called local area communication. An example of wide area communication is a mobile phone line. The communication device 11 can wirelessly connect to the host computer 13 via a base station via a mobile phone line and exchange data. The communication device 11 can also communicate with the target device 10 via local communication. Here, communication via a USB connection is described as an example of local communication, but local communication also includes serial communication that allows the device 10 to update firmware from the connection destination and other local communication standards.
[0018] When the power supply of the device 10 is ON and there is a device (such as a USB memory) connected to the USB terminal, if the USB memory contains predetermined data (boot image), the firmware of the device 10 is updated with the data read from the USB memory. When reading data from the USB memory, the file system present in the USB memory is mounted (activated). In addition, when the USB memory is no longer in use (for example, after shutdown), the mounted file system is unmounted (deactivated). An example of the device 10 that is equipped with such a function in advance is a control device such as a PLC (programmable controller) used to control compressors and other industrial equipment.
[0019] The communication device 11 downloads and stores data required for firmware rewriting of the device 10 from the host computer 13 via a network 12 such as the Internet. The communication device 11 can behave to the device 10 as if it were a USB memory as an external storage device in which data required for firmware rewriting is recorded.
[0020] Furthermore, after the communication device 11 starts to behave as if it is a USB memory on which data necessary for firmware rewriting is recorded, if it is unmounted a predetermined number of times, it stops behaving as if it is a USB memory on which the above data is recorded. Specifically, it behaves as if "it can be recognized as a USB memory by the other device, but the above data is not recorded" or "it cannot be recognized as a USB memory."
[0021] 2 is a diagram showing functional blocks of the firmware updating system and the device 10 to be updated in the embodiment 1. As shown in FIG. 2, a communication device 11 having a function of communicating with the target device 10 via local communication and a wide area communication function is prepared.
[0022] The device 10 has a device-side processing unit 20 that processes data, a device-side local communication unit 21 for performing local communication with the communication device 11, and a device-side storage unit 22 that stores data. At the time of startup, the device-side processing unit 20 reads firmware data recorded in the device-side storage unit 22, and the device-side processing unit 20 operates by executing the firmware using the firmware data.
[0023] The communication device 11 has a communication device side local communication unit 30 that communicates with the equipment 10, a communication device side processing unit 31 that processes data, a communication device side memory unit 32 that stores data, and a communication device side wide area communication unit 33 that communicates over a wide area with the host computer 13 that distributes firmware.
[0024] The device 10 and the communication device 11 each include a CPU, a ROM, a RAM, other peripheral circuits, etc. In the device 10, the CPU as a device-side processing unit 20 reads and writes data to the device-side storage unit 22 and controls the device-side local communication unit 21. The control in the device 10 will be described later with reference to a flowchart, and the CPU as the device-side processing unit 20 reads and executes a program to perform the processes in Figs. 3 and 5.
[0025] In the communication device 11, a CPU serving as a communication device side processing unit 31 reads and writes data to the communication device side storage unit 32, and controls the communication device side local communication unit 30 and the communication device side wide area communication unit 33. The control of the communication device 11 will be described later with reference to a flowchart, but the CPU serving as the communication device side processing unit 31 reads and executes a program to perform the processes in Figs. 4 and 5.
[0026] The communication device 11 can use the wide area communication function to obtain data used by the device 10 to update the firmware, and further store this data in the communication device side storage unit 32 provided in the communication device 11. At the same time, the communication device 11 can act as an external recording medium connected to the device 10 by local communication.
[0027] Furthermore, when data used to update the firmware is recorded in the communication device side memory unit 32, it is possible to make it act as an external memory device in which data used to update the firmware by local communication is recorded.
[0028] In addition, even if the data used to update the firmware is recorded in the communication device side memory unit 32 of the communication device 11, the communication device 11 is also able to behave as if it were an external memory device in which the data used to update the firmware is not recorded.
[0029] The target device 10 has a specification that, when reading data from a communication device 11 or a recording medium connected by local communication, the communication device 11 or the recording medium is activated as a preparatory operation.
[0030] Furthermore, the device 10 is designed to deactivate the communication device 11 as an external storage device when the activated communication device 11 is no longer in use. During activation and deactivation, the device 10 transmits a predetermined signal to the communication device 11 as an external storage device by using local communication.
[0031] In addition, when the target device 10 is started up, if the communication device 11 as an external storage device is connected via local communication, and if data for rewriting its own firmware is recorded in the communication device side memory unit 32 of the communication device 11, the firmware is rewritten using that data.
[0032] When the rewriting is completed, the device 10 deactivates the communication device 11, which is connected by local communication and serves as an external storage device, and then restarts the device 10.
[0033] The communication device 11 acquires data used to update the firmware through wide area communication and records it in its own storage device, the communication device side memory unit 32, and then begins to behave toward the other party communicating with it using local communication as if it were an external storage device in which the data used to update the firmware is recorded.
[0034] Furthermore, when the communication device 11 receives a signal indicating that the communication device as an external storage device has been deactivated a predetermined number of times from the device 10 with which the local communication is conducted, the communication device 11 will stop behaving as if it were an external storage device on which data used for updating firmware is recorded.
[0035] By doing as described above, the firmware of the device 10 is automatically updated as follows: First, the communication device 11 obtains data for updating the firmware of the target device 10 through wide area communication.
[0036] The data may be acquired, for example, when the host computer 13 that holds the data periodically makes an inquiry from the communication device 11 via wide area communication, and is instructed to acquire data for updating the firmware as a response to the inquiry. Conversely, when it is necessary to update the data, the host computer 13 can access the communication device 11 via wide area communication in a push manner, and download the firmware.
[0037] When the communication device 11 acquires the data for updating the firmware, it starts to behave as if it were an external storage device in which the data for updating the firmware is recorded, and communicates with the target device 10 using local communication. The communication device 11 continues to operate in this state thereafter.
[0038] In this situation, when the target device 10 starts up, the device 10 attempts to rewrite the firmware of the device 10 using data for updating the firmware recorded in the communication device 11 .
[0039] When the firmware rewriting is completed, the device 10 reboots itself and attempts to start up with the new firmware. When performing this reboot, the device 10 attempts to deactivate the communication device 11 as an external storage device connected via local communication, and transmits a signal indicating this to the connected external storage device, i.e., the communication device.
[0040] When the communication device 11 receives a signal to deactivate it, it stops behaving as if it were an external storage device in which data for updating the firmware is recorded.
[0041] If the communication device 11 continues to behave as if it were an external storage device in which data for updating the firmware is recorded during the above-mentioned restart of the target device 10, the device 10 will try to rewrite its own firmware again using the data for updating the firmware. To avoid this, the communication device 11 changes its behavior as described above.
[0042] FIG. 3 is a flowchart illustrating the operation of the device in the first embodiment.
[0043] For example, in the case of an industrial controller that employs USB for local communication and a USB memory as a recording medium to be connected to it, in the case where firmware update data having predetermined characteristics is recorded on this USB memory, the firmware is updated as shown in FIG. 3.
[0044] In the operation flow of this embodiment, first, the device 10, which is an industrial controller that controls industrial equipment such as a compressor, starts or restarts (S301). During the start-up process, the device-side processing unit 20 determines whether the device-side local communication unit 21 is connected to an external storage device (recording medium) (S302). In this case, the external storage device is the communication device 11, and the local communication is USB communication.
[0045] To determine whether the device side local communication unit 21 is connected to an external storage device (recording medium), the device side local communication unit 21 sends an inquiry regarding the type of communication device to the communication device 11, and if the device side local communication unit 21 receives information from the communication device side local communication unit 30 that it is an external storage device (recording medium), the device side processing unit 20 determines that it is connected to an external storage device (recording medium).
[0046] When the device-side local communication unit 21 is connected to an external storage device (recording medium), the device-side processing unit 20 activates the connected external storage device (recording medium) (S303).
[0047] After S303, the device side processing unit 20 determines whether firmware update data is recorded in the connected external storage device (recording medium) (S304).
[0048] When determining whether firmware update data is recorded in the external storage device (recording medium), the device-side local communication unit 21 makes a read request as an inquiry of firmware update data to the communication device 11. When the device-side local communication unit 21 transmits the inquiry and receives information from the communication device-side local communication unit 30 that firmware update data is recorded, the device-side processing unit 20 determines that firmware update data is recorded in the external storage device (recording medium).
[0049] If firmware update data is recorded in the external storage device (recording medium), the device side processing unit 20 reads the firmware update data from the connected recording medium and rewrites the firmware with the read firmware update data (S305).
[0050] After S305, the device side processing unit 20 deactivates the connected external storage device (recording medium) (S306). After S306, the device side processing unit 20 restarts and resets the device 10 (S307). After the reset in S307, the process returns to S302.
[0051] If it is determined in S302 that the device side local communication unit 21 is not connected to an external storage device (recording medium), and if it is determined in S304 that firmware update data is not recorded in the connected external storage device (recording medium), the device side processing unit 20 executes the firmware recorded in the device side memory unit (S308). After S308, the device side processor 20 starts the startup completion operation (S309).
[0052] Fig. 4 is a flowchart showing the operation of the communication device 11 in the embodiment 1. The communication device 11 of this embodiment performs the operation shown in Fig. 4 when connected to the device 10 that operates as shown in Fig. 3.
[0053] The communication device 11 starts up (S401). The communication device side processing unit 31 determines whether firmware update data exists in the firmware distribution host computer 13 (S402).
[0054] The communication device 11 periodically queries the firmware distribution host computer 13 via wide area communication, and when the firmware distribution host computer 13 instructs the communication device 11 to obtain data for updating the firmware in response to the query, the communication device side processing unit 31 determines that the firmware update data is present in the firmware distribution host computer 13.
[0055] If firmware update data is present in the firmware distribution host computer 13, the communication device side processing unit 31 downloads the firmware update data to the communication device side memory unit 32 through communication between the firmware distribution host computer 13 and the communication device side wide area communication unit 33 (S404).
[0056] After S404, the communication device side processing unit 31 performs local communication with the device 10 so that the communication device 11 acts as an external storage device (recording medium) (S405).
[0057] In S405, communication is performed between the device 10 and the communication device 11 as shown in S302 of FIG. 3, and the communication device 11 acts as an external storage device (recording medium).
[0058] After S405, the communication device side processing unit 31 judges whether a signal indicating activation or deactivation of the external storage device (recording medium) has been given from the device 10 in a predetermined sequence (S406). The communication between the device 10 and the communication device 11 related to S406 is as shown in steps S303, S304, S305, and S306 in FIG.
[0059] When steps S303, S304, S305, and S306 in FIG. 3 are completed and firmware update data is sent from the communication device 11 to the device 10, the communication device side processing unit 31 determines that a signal indicating activation or deactivation has been given from the device 10 in a predetermined sequence.
[0060] In S406, when a signal indicating activation or deactivation of the external storage device (storage medium) is given in a predetermined sequence, the communication device side processing unit 31 terminates its behavior as an external storage device (recording medium) through local communication (S407).
[0061] There are two types of local communication that terminates the behavior of an external storage device (recording medium): (1) and (2).
[0062] (1) The device side local communication unit 21 sends an inquiry regarding the type of device to the communication device 11, and the communication device side processing unit 31 causes the device side local communication unit 21 to send information from the communication device side local communication unit 30 that it is not an external storage device, thereby ceasing to function as an external storage device (recording medium).
[0063] (2) The device-side local communication unit 21 transmits an inquiry about the type of device to the communication device 11, and the communication device-side processing unit 31 transmits information from the communication device-side local communication unit 30 that it is an external storage device. After that, the device-side local communication unit 21 transmits an inquiry about whether firmware update data is recorded to the communication device 11. In response to the inquiry, the communication device-side processing unit 31 transmits information from the communication device-side local communication unit 30 that firmware update data is not recorded, thereby ceasing to function as an external storage device (recording medium).
[0064] In S402, the communications device 11 periodically queries the firmware distribution host computer 13 via wide area communications, and if the firmware distribution host computer 13 returns no instruction to acquire data for updating the firmware or returns a response that there is no data for updating the firmware, the communications device-side processing unit 31 determines that no firmware update data exists in the firmware distribution host computer 13. The communications device 11 then waits (S403).
[0065] After waiting in S403, if periodically checking with the host computer 13, the process returns to S402 periodically. If a firmware update is prompted from the host computer 13 side, a communication step of accessing the communication device 11 from the host computer 13 side is inserted instead of S402.
[0066] If firmware update data is present, the firmware is downloaded (S404).
[0067] When the device 10 is started or restarted, if a signal for activating the communication device 11 as an external storage device is received by local communication, the communication device 11 is activated (mounted) as an external storage device in the device 10 (S405). When the device 10 is stopped or restarted, the communication device 11 is deactivated (unmounted).
[0068] If it is determined in S406 that a signal indicating activation or deactivation of the external storage device (storage medium) has not been given in the specified sequence, the process returns to S405, and the communication device 11 is activated or deactivated as an external storage device (recording medium) as usual through local communication with the device 10.
[0069] On the other hand, when the communication device 11 receives a signal indicating activation or deactivation in a predetermined sequence from the device 10, it starts operating in such a way that it will not be activated even if it receives an activation signal when the device is restarted.
[0070] The communication device 11 stores a record of receiving a signal indicating activation or deactivation, or a record of actual activation or deactivation, and a record of downloading new firmware in the communication device side storage unit 32. In addition, flag data that is determined to have been updated by a predetermined sequence can also be recorded in the communication device side storage unit 32 (S406).
[0071] After a certain firmware version is downloaded from the host computer, if flag data indicating that the firmware version has been updated is in the communication device side memory unit 32, or if it is determined that the firmware has been updated by directly checking the activation record, the device 10 waits (S403) with a setting that prevents the device 11 from being activated even if it receives a signal to activate the communication device 11 when the device 10 is restarted (S407).
[0072] The predetermined sequence may be, for example, when a certain firmware version is downloaded from a host computer, first activated as an external storage device, and then deactivated, or when a predetermined time or more has elapsed since activation.
[0073] As a method for preventing the communication device 11 from being activated even when a signal to activate the communication device 11 is received, the device may be set to reject a USB connection, or the device 10 may be set not to recognize that an external storage device is connected via USB.
[0074] When new firmware is downloaded in S402, if the updated flag is managed as data, the data or settings are changed to cancel it. Also, if the determination is based on the activation record for each firmware version, the activation sequence is determined based on the latest version.
[0075] Furthermore, as an alternative to operating in such a way that the communication device 11 is not activated, it may be possible to switch to a setting in which it appears that no firmware data exists in the memory area in which firmware is checked when the device 10 is activated as an external storage device.
[0076] FIG. 5 is a flowchart illustrating the operations of the device 10 and the communication device 11 in updating firmware in the first embodiment.
[0077] The communication device 11 starts up (S501). The communication device side processing unit 31 determines whether firmware update data exists in the firmware distribution host computer 13 (S502). The determination in S502 is the same as the determination in S402 in FIG.
[0078] If firmware update data is present in the firmware distribution host computer 13, the communication device side processing unit 31 downloads the firmware update data to the communication device side memory unit 32 through communication between the firmware distribution host computer 13 and the communication device side wide area communication unit 33 (S504).
[0079] After S504, the communication device side processing unit 31 performs local communication with the device 10 so that the communication device 11 acts as an external storage device (recording medium) (S505). After S505, the process waits until the power of the device 10 is turned on (S506).
[0080] In S506, after the power supply of the device 10 is turned ON, the device side processing unit 20 of the device 10 reads firmware update data from the communication device 11, updates the firmware, and restarts the device 10. During this process, the device 10 sends a signal to the communication device 11 to activate or deactivate the external storage device (storage medium) (S507).
[0081] After S507, the communication device side processor 31 of the communication device ends the behavior as an external storage device (recording medium) (S508). S508 is the same as S407 in FIG.
[0082] If it is determined in S502 that no firmware update data exists in the firmware distribution host computer 13, and after S508, the communication device 11 waits (S503). After the communication device 11 waits in S503, the process returns to S502.
[0083] By configuring the firmware update system in this embodiment by combining the device 10 that performs the operation shown in Fig. 3 and the communication device 11 that performs the operation shown in Fig. 4 (Error! Reference source not found) in the configuration shown in Fig. 2, the firmware update system performs the operation shown in Fig. 5.
[0084] As shown in Fig. 5, the device 10 executes a firmware update. Furthermore, during this process, the device 10 sends a signal for activating and deactivating an external storage device (recording medium) to the communication device 11 in a specific sequence, which causes the communication device 11 to stop behaving as an external storage device (recording medium).
[0085] If the communication device 11 continues to behave as an external storage device (recording medium) and further continues to behave as if firmware update data is recorded in that external storage device (recording medium), the device 10 will once again begin to rewrite its own firmware according to the flow shown in Fig. 3, requiring human intervention. It is possible to build a system in which the communication device 11 can be left connected to the device 10 to update the firmware online at the appropriate time with the latest firmware without the need for human operation near the device 10, and without making at least major changes to the device 10, or in some cases without making any changes at all.
[0086] In order to avoid such behavior, in this embodiment, as shown in Figure 4, when a signal for activating or deactivating an external storage device (storage medium) is sent to the communication device 11 in a specific sequence, the communication device 11 either ceases to behave as an external storage device (recording medium), or continues to behave as an external storage device (recording medium), but behaves as if no firmware update data is recorded therein.
[0087] When the external storage device (recording medium) is a USB memory, the external storage device (recording medium) is activated by mounting and deactivated by unmounting. Therefore, in this example, the communication device stops behaving as an external storage device (recording medium) when mounting and unmounting from the other device 10 are performed in a predetermined order.
[0088] In this embodiment, an example has been shown in which the communication device 11 executes local communication with the device 10 so as to terminate its behavior as an external storage device (recording medium).
[0089] Even if it is determined in S302 that the device 10 is connected to an external storage device (recording medium) (repeated firmware updates occurring) after the device 10 is restarted in S309 of FIG. 3, the device 10 may be provided with a process for preventing repeated rewriting of the firmware of the device 10 by executing a process for deactivating the external storage device (recording medium) instead of S303.
[0090] According to the first embodiment, for a device 10 that has a local communication function but does not have a wide area communication function, repeated rewriting of the firmware of the device 10 can be easily prevented. EXAMPLES
[0091] In the first embodiment, the communication device 11 communicates with the host computer 13 over a wide area and stores in advance in the communication device memory unit 32 data (including a program) for updating the firmware of the device 10.
[0092] The second embodiment is an embodiment in which data for executing firmware update is downloaded from a host computer 13 to a computer such as a PC (personal computer) capable of wide area communication, the data once downloaded to the PC is recorded in a device 60 as an external storage device, and the data for executing firmware update is sent from the device 60 to the device 10. Descriptions that are the same as those in the first embodiment will be omitted.
[0093] 6, a device 60 connected to the device 10 will be described by taking a USB memory capable of USB communication with the device 10 as an example. The configuration of the device 10 is the same as that in the first embodiment.
[0094] Although not shown in the figure, the device 60 has a device-side local communication unit that communicates with the equipment 10, a device-side processing unit that processes data, and a device-side storage unit that stores data.
[0095] Furthermore, data for updating the firmware of the device 10 is pre-recorded in the device-side storage unit.
[0096] In this embodiment, the operation of the device 10 is the same as the flowchart in Fig. 3. In addition, the flowchart for the operation of the device 60 does not require a step of downloading firmware update data because data for updating the firmware of the device 10 is pre-recorded in the device side storage unit, and has the same steps as S405, S406, and S407 in Fig. 4 for the communication device 11 in the first embodiment. After the device 60 finishes acting as a recording medium by locally communicating with the device 10 in S407, the device 60 goes into a standby state.
[0097] According to the second embodiment, the device 60 includes a local communication unit, but does not need to include a wide area communication unit, as compared with the communication device 11 of the first embodiment. Also, as in the first embodiment, by communicating between the device 60 and the device 10, it is possible to easily prevent the firmware of the device 10 from being repeatedly rewritten. [Explanation of symbols]
[0098] 10 equipment, 11 communication device, 12 network, 13 host computer, 20 equipment side processing section, 21 equipment side local communication section, 22 equipment side storage section, 30 communication device side local communication section, 31 communication device side processing section, 32 communication device side storage section, 33 communication device side wide area communication section, 60 equipment
Claims
1. A local communication unit that communicates with the device; a storage unit that stores firmware for the device; A communications device that, if it is determined that the history of activation / deactivation as an external storage terminal by the device is a predetermined sequence that has been set in advance, is not activated as an external storage terminal by the device, or operates in such a way that the firmware is not visible to the device.
2. 2. The communication device according to claim 1, A wide area communication unit is provided for wide area communication with a host computer, A communications device for downloading updated firmware for the device from the host computer.
3. 2. The communication device according to claim 1, The predetermined sequence is when a communication device stores a certain version of firmware, is first activated, and then is deactivated.
4. 2. The communication device according to claim 1, As a method for preventing the activation, the communication device is set to reject a connection from the device, or set to not allow the device to recognize that an external storage device is connected.
5. 2. The communication device according to claim 1, The storage unit is a communication device that stores a yes / no flag indicating whether or not the predetermined sequence is satisfied.
6. 2. The communication device according to claim 1, When the storage unit stores new firmware, The communication device restores the connection setting with the device before it was determined that the specified sequence was occurring.
7. A firmware update system having a device and a device connected to the device, The device comprises: A device-side storage unit for storing data; A device side processing unit for processing data; A device-side communication unit for performing local communication, Requesting the device to read data; If firmware update data is recorded in the device, update the firmware with the data read from the device; The firmware is executed by the device-side processing unit, The apparatus comprises: The device has a device-side storage unit for storing data, a device-side processing unit for processing the data, and a device-side local communication unit for communicating with the device, when the device-side local communication unit receives an inquiry about a device type from the device, the device-side local communication unit returns information that the device is an external storage device; If firmware update data is recorded in the device-side storage unit, the firmware update data is transmitted in response to a data read request from the device; A firmware updating system in which, when a predetermined sequence of signals is given to the device from the equipment, the device ceases to function as the external storage device.
8. 8. The firmware updating system according to claim 7, A firmware updating system in which the device deactivates the external storage device, thereby ceasing to function as the external storage device.
9. 8. The firmware updating system according to claim 7, The device responds to the device that it is not the external storage device, The firmware update system wherein the behavior as the external storage device is terminated.
10. A firmware update method for a system having a device and a device connected to the device, comprising: The device comprises: Requesting the device to read data; If firmware update data is recorded in the device, update the firmware with the data read from the device; The device operates by executing the firmware, The apparatus comprises: When receiving an inquiry about the type of device from the device, reply with information that the device is an external storage device; If firmware update data is recorded, transmitting the firmware update data in response to a data read request from the device; A firmware updating method, in which, when a predetermined sequence of signals is given from the equipment to the device, the device ceases to function as the external storage device.
Citation Information
Patent Citations
Firmware update system and firmware update method
JP2019133407A
Embedded communication board, communication terminal, and firmware update method
JP2021018541A
Method for upgrading firmware of image forming device using mobile terminal
US20060109505A1
Method for updating software of a measuring device, smart computer and computer readable program product
US20160028872A1
Vehicle infotainment system and method of controlling the same
US20200164747A1
