Communication apparatus, method for controlling communication apparatus, and storage medium

By designing the first and second modes of operation in the communication device, the firmware is allowed to be updated in the event of an error, which solves the problem of difficulty in firmware update in the prior art and improves the stability of the device and the user experience.

CN118827872APending Publication Date: 2024-10-22CANON KK
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410451764.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-04-20
Filing Date
2024-04-16
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

When an error occurs in existing communication devices, it is difficult to update the firmware normally in the minimum functional state, affecting user convenience and device availability.

Method used

A communication device is designed that can operate in a first mode and a second mode, automatically perform predetermined communication by accepting the user's startup operation, and disable network communication in the second mode, allowing other connection methods (such as USB ) to update the firmware in case of an error.

Benefits of technology

Even in the event of an error, the communication device can still operate with some functions and update the firmware in restricted mode to ensure normal operation of the device and user convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118827872A_ABST
    Figure CN118827872A_ABST
Patent Text Reader

Abstract

The invention discloses a communication apparatus, a method for controlling the communication apparatus, and a storage medium. A communication device is capable of operating in a first mode that allows predetermined communication with an external device and in a second mode in which the predetermined communication is not performed. The communication apparatus includes: an accepting unit configured to accept an activation operation for activating the communication apparatus from a user; an activation unit configured to activate the communication device in a first mode or a second mode based on acceptance of an activation operation; and a communication unit configured to automatically perform predetermined communication based on activation of the communication apparatus in the first mode without performing any user operation on the communication apparatus after the activation operation is accepted, and further configured to not perform the predetermined communication based on activation of the communication apparatus in the second mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to technology for updating firmware. Background Art

[0002] Communication devices such as printers provide users with various services such as printing and scanning by communicating with external devices such as personal computers (PCs) or servers. These services are implemented by communication devices that comply with standards established by IT vendors that provide PCs or servers.

[0003] Japanese Patent Laid-Open No. 2017-194833 discloses a technology for restarting an image forming apparatus in a state where a network port for communicating with an external device is disabled when a predetermined error occurs in the image forming apparatus that communicates with the external device.

[0004] As communication devices capable of communicating with external devices become more common, a technology that allows the communication devices to be operated in an appropriate mode is needed. Summary of the invention

[0005] A communication device according to one aspect of the present disclosure is a communication device capable of operating in a first mode and in a second mode, wherein the first mode allows predetermined communication with an external device and the predetermined communication is not performed in the second mode, the communication device comprising: an accepting unit configured to accept a startup operation for starting the communication device from a user; a startup unit configured to start the communication device in the first mode or the second mode based on the acceptance of the startup operation; and a communication unit configured to automatically perform the predetermined communication without performing any user operation on the communication device after the startup operation is accepted based on the startup of the communication device in the first mode, and also configured not to perform the predetermined communication based on the startup of the communication device in the second mode.

[0006] Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] Figure 1 is a block diagram showing an example of a communication system including an external device and a communication device;

[0008] Figure 2 is a sequence diagram showing a communication example in the case of transmitting log information;

[0009] Figure 3 is a sequence diagram showing an example of communication in the case where a print process is executed;

[0010] Figure 4 is a flowchart showing an example of processing during startup;

[0011] Figure 5 is a flowchart showing an example of processing during startup;

[0012] Figure 6 is a flowchart showing a process in the case where the communication device is operating in a restricted mode;

[0013] Fig. 7A and Figure 7B are diagrams each showing an example of a screen displayed on a display unit of a communication device;

[0014] FIG. 8A to FIG. 8C are diagrams each showing an example of a screen displayed on a display unit of a communication device; and

[0015] Fig.9A and Fig. 9B are diagrams each showing an example of a screen displayed on a display unit of a communication device. DETAILED DESCRIPTION

[0016] Hereinafter, preferred embodiments of the present disclosure will be described in detail with reference to the accompanying drawings. Note that the following embodiments do not limit the subject matter of the present disclosure, and not all combinations of the features described in the following embodiments are necessary for the solutions of the present disclosure. The same components will be described with the same reference numerals.

[0017] (First embodiment)

[0018] In this embodiment, an example in which a communication device can be appropriately used even if an error occurs will be described. For example, a change in the operating specifications of an external device such as a PC or a server may cause an error in the communication device. In this case, a problem may arise in which the communication device becomes no longer usable. In consideration of the convenience of the user, it is preferred that the minimum function of the communication device is available even if an error occurs in the communication device. In the case where the error that occurs is a problem that needs to be solved on the communication device side, it is necessary to normally update the firmware of the communication device even in the case where a problem has occurred.

[0019] In this embodiment, even in the case of an unexpected problem in the communication device, convenience is improved. For example, even if an unexpected problem occurs in the communication device, the communication device can be operated using some available functions. Even in a state where only some functions are available, the firmware of the communication device can be updated. This will be described in detail below.

[0020] <System Configuration>

[0021] The communication system according to the present embodiment includes an external device and a communication device. In the present embodiment, a description will be given with a smart phone as an example of an external device, but the present disclosure is not limited thereto. For example, various external devices such as a mobile terminal, a personal computer (PC), a tablet terminal, a server, a personal digital assistant (PDA), or a digital camera can be used. That is, the external device can be any information processing device. In the present embodiment, a description will be given with a printer as an example of a communication device, but the present disclosure is not limited thereto, and various communication devices capable of wireless communication with an external device can be used. For example, the printer can be an inkjet printer, a full-color laser beam printer, a monochrome printer, etc. The communication device is applicable not only to printers, but also to copiers, fax machines, mobile terminals, smart phones, notebook PCs, tablet terminals, PDAs, digital cameras, music player devices, TVs, smart speakers, etc. The communication device is also applicable to multi-function machines having multiple functions such as copying functions, fax functions, and printing functions. Therefore, the communication device is also an information processing device.

[0022] In the present embodiment, if the information processing device supports a function called Wi-Fi EasyConnect (hereinafter referred to as WEC) (registered trademark), the information processing device can perform the function. WEC is a function that performs network settings of another device using the Device Provisioning Protocol (hereinafter referred to as DPP) developed by the Wi-Fi Alliance. The network settings of another device specifically connect the other device to an access point to form a network. In WEC, communication is performed between a device configured to operate in the role of a "configurator" (hereinafter referred to as a configurator device) and a device configured to operate in the role of a "registrar" (hereinafter referred to as a registrar device).

[0023] In this embodiment, the configurator device is the initiator in the DPP, and the registrar device is the responder in the DPP. The configurator device obtains boot instruction information from the registrar device. The boot instruction information includes, for example, identification information (MAC address, etc.) of the registrar device, public key information for secure communication with the registrar device, etc.

[0024] The configurator device uses the obtained boot instruction information to perform wireless communication with the registrar device. Specifically, for example, the configurator device uses the public key included in the boot instruction information to communicate with the registrar device. The configurator device also generates a public key based on the information obtained through the communication, and sends the information encrypted using the public key to the registrar device. The information sent here is, for example, connection information for connecting to an access point. The registrar device uses the connection information received from the configurator device to establish a wireless connection with the access point. In the network setting process using WEC in the present embodiment, a description will be given under the assumption that an information processing device supporting WEC operates as a configurator device and a communication device supporting WEC operates as a registrar device.

[0025] Figure 1 1 is a block diagram showing an example of a communication system including an external device 101 and a communication device 151. In this embodiment, the following configuration will be described as an example, but the function is not limited to Figure 1 The functions shown in .

[0026] The external device 101 includes an input interface 102, a CPU 103, a ROM 104, a RAM 105, an external storage device 106, an output interface 107, a communication unit 110, a short-range wireless communication unit 111, and a photographing unit 112. The external device 101 is connected to Figure 1 The display unit 108 and the keyboard 109 are not included in the external device 101, but the display unit 108 and the keyboard 109 may be included. The CPU 103, the ROM 104, the RAM 105, and the like form a computer of the external device 101.

[0027] The input interface 102 is an interface configured to accept data input and operation instructions from a user who operates an operation unit such as the keyboard 109. Note that the operation unit may be a physical keyboard, a physical button, etc., or may be a soft keyboard, a soft button, etc. displayed on the display unit 108. That is, the input interface 102 can accept input (operation) from the user through the display unit 108.

[0028] The CPU 103 is a system control unit configured to control the entire external device 101. The ROM 104 stores fixed data such as a control program, a data table, and an embedded operating system (hereinafter referred to as an OS) program executed by the CPU 103. In the present embodiment, each control program stored in the ROM 104 performs software execution control such as scheduling, task switching, or interrupt processing under the control of the embedded OS stored in the ROM 104.

[0029] The RAM 105 is composed of a static random access memory (SRAM) or the like that requires a backup power supply. The RAM 105 retains data using a main battery (not shown) for data backup, so that important data such as program control variables can be stored in a non-volatile state. The RAM 105 is also provided with a storage area for storing setting information of the external device 101, management data of the external device 101, and the like. The RAM 105 is also used as a main memory and a working memory of the CPU 103.

[0030] The external storage device 106 stores an application for executing network settings of the communication device 151 (hereinafter referred to as a setting application), a print information generation program for generating print information that can be interpreted by the communication device 151, and the like. The setting application is an application for setting an access point to which the communication device 151 is connected using WEC or the like. The setting application may also include other functions in addition to the network setting function. For example, the setting application may also include a function for causing the communication device 151 to execute printing, a function for causing the communication device 151 to scan a document set in the communication device 151, a function for checking the status of the communication device 151, and the like. For example, the setting application is installed from an external server through Internet communication via the communication unit 110, and the setting application is stored in the external storage device 106. The external storage device 106 stores various programs such as an information transmission and reception control program for performing transmission and reception with the communication device 151 connected via the communication unit 110, and various information used by these programs.

[0031] The output interface 107 is an interface configured to control the display unit 108 to display data or notify the status of the external device 101. The display unit 108 includes a light emitting diode (LED), a liquid crystal display (LCD), etc., and is configured to display data and notify the status of the external device 101.

[0032] The communication unit 110 is connected to a device such as the communication device 151 or the access point 131 to perform data communication. For example, the communication unit 110 may be connected to an access point (not shown) inside the communication device 151. Connecting the communication unit 110 to the access point (not shown) in the communication device 151 allows the external device 101 and the communication device 151 to communicate with each other. The communication unit 110 may communicate directly with the communication device 151 through wireless communication, or may communicate with the communication device 151 via an external device existing outside the external device 101 or the communication device 151. The external device includes an external access point (such as the access point 131) existing outside the external device 101 and the communication device 151, or a device other than the access point that can relay communication. In the present embodiment, it is assumed that the wireless communication method used by the communication unit 110 is Wi-Fi (Wireless Fidelity) (registered trademark) which is a communication standard conforming to the IEEE802.11 series, and the above-mentioned WEC is performed by communication performed by the communication unit 110. Examples of the access point 131 include devices such as a wireless LAN router. In the present embodiment, a method in which the external device 101 and the communication device 151 are directly connected without using any external access point is referred to as a direct connection method. On the other hand, a method in which the external device 101 and the communication device 151 are connected via an external access point is referred to as an infrastructure connection method.

[0033] The short-range wireless communication unit 111 is configured to perform data communication by wirelessly connecting to a device such as the communication device 151 at a short distance, and perform communication using a communication method different from the communication method of the communication unit 110. The short-range wireless communication unit 111 may be connected to the short-range wireless communication unit 157 in the communication device 151. Examples of the communication method include Near Field Communication (NFC), Bluetooth (registered trademark) Classic, Bluetooth Low Energy (BLE), Wi-Fi Sense, and the like.

[0034] In the present embodiment, the external device 101 executes WEC using the OS of the external device 101 based on an instruction to execute a network setting process from a setting application.

[0035] Next, the configuration of the communication device 151 will be described. The communication device 151 includes a ROM 152 , a RAM 153 , a CPU 154 , a print engine 155 , a scan engine 162 , a communication unit 156 , a short-range wireless communication unit 157 , an input interface 158 , and an output interface 160 . Figure 1 An example is shown in which the communication device 151 is connected to the operation unit 159 and the display unit 161, but the communication device 151 may include the operation unit 159 and the display unit 161. The ROM 152, the RAM 153, the CPU 154, and the like form a computer of the communication device 151.

[0036] The communication unit 156 has an access point for connecting to a device such as the external device 101 as an internal access point of the communication device 151. The internal access point can be connected to the communication unit 110 of the external device 101. Enabling the internal access point by the communication unit 156 causes the communication device 151 to operate as an access point. The communication unit 156 can be directly wirelessly connected to the external device 101 or can be wirelessly connected via the access point 131. In the present embodiment, it is assumed that the wireless communication method used by the communication unit 156 is a communication standard that complies with the IEEE802.11 series. In the following description, Wi-Fi (Wireless Fidelity) (registered trademark) (Wi-Fi communication) is a communication standard that complies with the IEEE802.11 series. If the communication device 151 supports WEC, the above-mentioned WEC is performed by communication performed by the communication unit 156. The communication unit 156 may include hardware that serves as an access point, or may operate as an access point using software that serves as an access point.

[0037] The communication device 151 according to the present embodiment can operate in an infrastructure mode and a peer-to-peer (P2P) mode (direct connection mode) which are modes for performing communication using the communication unit 156 .

[0038] The infrastructure mode is a mode in which the communication device 151 communicates with another device such as the external device 101 via an external device (e.g., the access point 131) forming a network. The connection with the external access point established by the communication device 151 operating in the infrastructure mode is called an infrastructure connection (hereinafter referred to as an infrastructure connection). In the present embodiment, in the infrastructure connection, the communication device 151 operates as a slave station and the external access point operates as a master station. In the present embodiment, the master station is a device that determines a communication channel used in a network to which the master station belongs, and the slave station is a device that does not determine a communication channel used in a network to which the slave station belongs but uses a communication channel determined by the master station.

[0039] The P2P mode is a mode in which the communication device 151 directly communicates with another device such as the external device 101 without using any external device (e.g., the access point 131) that forms a network. In the present embodiment, it is assumed that the P2P mode includes an AP mode in which the communication device 151 operates as an access point. It is assumed that the connection information (SSID and password) about the access point enabled in the communication device 151 during the AP mode can be arbitrarily set by the user. The P2P mode may include, for example, a WFD mode in which the communication device 151 performs Wi-Fi Direct (WFD) communication. For example, which of a plurality of WFD-compatible devices operates as a master station is determined according to a sequence called a group owner negotiation. Note that the master station may be determined without performing a group owner negotiation. A device that is a WFD-compatible device and serves as a master station is referred to as a group owner. A direct connection with another device established by the communication device 151 operating in the P2P mode is referred to as a "direct connection". In the present embodiment, in the direct connection, the communication device 151 operates as a master station and the other device operates as a slave station.

[0040] In this embodiment, the communication device 151 can operate in a network setting mode which is a mode for performing network setting of the communication device 151 after receiving a predetermined operation from the user. In the case of operating in the network setting mode, the communication device 151 uses the communication unit 156 to operate as a setting access point enabled while operating in the network setting mode. The setting access point is different from the access point enabled in the above-mentioned AP mode. The SSID of the setting access point includes a predetermined character string that can be recognized by the setting application of the external device 101. The setting access point is also an access point that does not require a password for connection. The communication device 151 operating in the network setting mode uses a predetermined communication protocol (setting communication protocol) in communication with the external device 101 connected to the setting access point. Specifically, the setting communication protocol is, for example, a simple network management protocol (SNMP) or a hypertext transfer protocol (HTTP). When a predetermined time has passed after the communication device 151 starts operating in the network setting mode, the operation in the network setting mode is stopped and the setting access point is disabled. This is because, if the setting access point is enabled for a long time, since it is an access point that does not require a password as described above, this increases the possibility that an inappropriate device requests a connection. Note that the setup access point may be an access point that requires a password. In this case, the password used to connect to the setup access point is a fixed password previously known by the setup application (cannot be changed by the user).

[0041] The short-range wireless communication unit 157 is configured for short-range wireless connection with a device such as the external device 101, and may be connected to the short-range wireless communication unit 111 in the external device 101, for example. Examples of communication methods include NFC, Bluetooth Classic, BLE, Wi-Fi Sense, and the like.

[0042] The RAM 153 is composed of an SRAM or the like that requires a backup power supply. The RAM 153 retains data using a main battery (not shown) for data backup, and thus can store important data such as program control variables in a non-volatile state. The RAM 153 is also provided with a storage area for storing setting information of the communication device 151, management data of the communication device 151, and the like. The RAM 153 is also used as a main memory and a working memory of the CPU 154 to store a reception buffer for temporarily storing print information received from the external device 101 or the like and various types of information.

[0043] The ROM 152 stores fixed data such as a control program, a data table, and an OS program executed by the CPU 154. The ROM 152 also stores firmware of the communication device 151 to be described later. In the present embodiment, each control program including the firmware stored in the ROM 152 performs software execution control such as scheduling, task switching, and interrupt processing under the control of the embedded OS stored in the ROM 152.

[0044] The CPU 154 is a system control unit configured to control the entire communication device 151. The print engine 155 forms an image on a recording medium by applying a printing agent such as ink to a print medium such as paper based on information stored in the RAM 153 or a print job received from the external device 101, and then outputs a print result. The print job sent from the external device 101 or the like generally has a large amount of data, which requires a communication method capable of using high-speed communication for communication of the print job. Therefore, the communication device 151 receives the print job via the communication unit 156 capable of faster communication than the short-range wireless communication unit 157.

[0045] The scanning engine 162 reads image data and document data from a set document, etc., based on an input from the operation unit 159 or a scan job received from the external device 101, etc. The read data is stored in the RAM 153 as a scan result or is sent to the external device 101, etc. The scan result sent from the communication device 151 to the external device 101, etc. generally has a large amount of data, which requires a communication method that can use high-speed communication for communication of such results. Therefore, the communication device 151 sends the scan result via the communication unit 156 that can perform faster communication than the short-range wireless communication unit 157.

[0046] The communication device 151 may be equipped with a memory such as an external HDD or an SD card as an optional device, and information stored in the communication device 151 may be stored in the memory.

[0047] The input interface 158 is an interface for accepting data input and operation instructions from a user who operates an operation unit 159 such as a physical button. Note that the operation unit may be a soft keyboard, soft buttons, etc. displayed on the display unit 161. That is, the input interface 158 can accept input from the user via the display unit 161.

[0048] The output interface 160 is an interface configured to control the display unit 161 to display data or notify the state of the communication device 151. The display unit 161 includes a light emitting diode (LED), a liquid crystal display (LCD), etc., and is configured to display data and notify the state of the communication device 151.

[0049] <Example of Communication Between Communication Device 151 and External Device 101>

[0050] Figure 2 1 is a sequence diagram showing a communication example in the case where log information is transmitted between the communication device 151 and the external device 101. Figure 2 In the example of , the external device 101 operates as a server for collecting log information, and the communication device 151 sends the user's usage status and the operation status of the communication device 151 as log information to the external device 101. The log information is stored in the RAM 153 of the communication device 151. The log information is sent to the external device 101 operating as a server to collect log information, and the log information is used for analysis, etc. to improve the specifications of the communication device 151.

[0051] The CPU 154 of the communication device 151 reads the program stored in the ROM 152 into the RAM 153 and executes the program to realize Figure 2 The processing of the communication device 151 in the sequence shown in FIG. is implemented by the CPU 103 of the external device 101 reading the program stored in the ROM 104 into the RAM 105 and executing the program. Figure 2 The symbol “S” in the description of each process means a step in the sequence diagram (hereinafter, the same applies to the sequence diagram and the flowchart in this specification). Figure 2 The sequence shown in is executed regularly or irregularly at a predetermined timing.

[0052] In S200, the communication device 151 checks whether it is time to send log information. The timing of sending log information is, for example, when the communication device 151 is powered on. If it is determined that it is time to send log information, then in S201, the communication device 151 automatically sends an authentication ID acquisition request to the external device 101, regardless of whether there is a user operation. In the present embodiment, the authentication ID acquisition request is sent via HTTP communication, and the authentication ID refers to cookie information. For example, the external device 101 uses the authentication ID to uniquely identify the communication device 151 in an environment where multiple communication devices 151 are connected to the external device 101. Therefore, in response to the authentication ID acquisition request, in S202, the external device 101 generates an authentication ID so that it has a unique value for each communication device 151. After the authentication ID is generated, in S203, the external device 101 sends the authentication ID to the communication device 151.

[0053] After receiving the authentication ID from the external device 101 in S203, the communication device 151 stores the authentication ID in the RAM 153 of the communication device 151. In S204, the communication device 151 then transmits log information to the external device 101. In the case of transmitting the log information, the communication device 151 transmits data obtained by adding the authentication ID to the log information to the external device 101. After normally receiving the log information, the external device 101 transmits information indicating normal reception of the log information to the communication device 151 in S205.

[0054] Next, a case where an error occurs in the communication device 151 will be described. Figure 2 For example, consider the following case: in the case where the external device 101 sends an authentication ID to the communication device 151 in S203, the external device 101 sends an authentication ID that exceeds the specified size. In order to store the authentication ID in the RAM 153, the communication device 151 previously secures an area corresponding to the upper limit size specified for the authentication ID. However, there is a case where an authentication ID that exceeds the specified size is sent from the external device 101 to the communication device 151. In this case, if the authentication ID is accidentally stored exceeding the secured area, the operation of the communication device 151 may become unstable or the communication device 151 may be shut down. In this case, in the present embodiment, when the user turns on the power of the communication device 151, the communication device 151 automatically starts to acquire the authentication ID, which easily causes the communication device 151 to shut down.

[0055] In the present embodiment, the log information transmission timing has been described as the timing of powering on the communication device 151, but is not limited thereto. For example, the timing may be the time when a certain period of time has passed since the last transmission of log information or after the operation of each service such as printing is completed.

[0056] Figure 3 1 is a sequence diagram showing a communication example in the case where a print process is executed between the communication device 151 and the external device 101. Figure 3 In the example of , the external device 101 operates as a server that can register a print job, and the communication device 151 can perform printing by receiving the print job from the external device 101. Note that Figure 2 The external device 101 shown in FIG. Figure 3 The registration of the print job to the external device 101 is performed by another device (not shown) which is different from the external device 101 and operates as a PC. Figure 3 The sequence shown in .

[0057] In S300, the communication device 151 detects that the communication device 151 is powered on. Once powered on, the communication device 151 checks the communication with the external device 101 in which the print job is registered. That is, in S301, the communication device 151 checks the communication with the external device 101 as a preliminary preparation for checking whether the print job is registered. In this communication check, the communication device 151 sends a request to a URL (Uniform Resource Locator) for accessing the external device 101, and checks whether the response is returned normally. The URL is a value specified by the external device 101. If the result of the communication device 151 checking the communication with the external device 101 in S301 is that the communication is successful, the external device 101 sends a response indicating the communication success to the communication device 151 in S302.

[0058] After successfully completing the communication check with the external device 101, in S303, the communication device 151 checks whether a print job is registered in the external device 101. The communication device 151 may automatically check whether a print job is registered after checking the communication with the external device 101, or may check it using a certain user operation as a trigger. If a print job is registered in the external device 101, information indicating that a print job is registered is sent from the external device 101 to the communication device 151 in step S304.

[0059] If it is confirmed in S304 that a print job is registered, then in S305, the communication device 151 sends a print job (print data) sending request to the external device 101. After receiving the print job sending request from the communication device 151, if the print job can be sent without any problem, then in step S306, the external device 101 sends information indicating that the print job can be sent. In S307, the external device 101 then sends the print job to the communication device 151. The print job includes not only the print data but also print setting information such as paper information, quality, single-sided, double-sided, or paper feed port. After successfully receiving the print job, the communication device 151 sends information indicating successful reception to the external device 101 in step S308, and performs printing processing.

[0060] Next, a case where an error occurs in the communication device 151 will be described. Figure 3 In S301 and S302 of the embodiment, a case where communication is checked between the communication device 151 and the external device 101 is taken as an example. In S301, the communication device 151 sends a request to a URL specified by the external device 101. Here, for example, if the URL of the request destination has changed due to a change in the operation specification of the external device 101, the external device 101 sends the new request destination URL to the communication device 151 in S302. The communication device 151 has a previously ensured area in the RAM 153 to store the received new request destination URL. In this case, if the sent new URL exceeds the specified size and the communication device 151 saves the URL exceeding the previously ensured area size in the RAM 153, memory damage occurs. If memory damage occurs, the operation of the communication device 151 may become unstable or the communication device 151 may be shut down. In this case, in the present embodiment, when the user turns on the communication device 151, the communication device 151 automatically checks the communication with the external device 101, which easily causes the communication device 151 to shut down.

[0061] In the following, we will give the Figure 2 and Figure 3 The description of the process of appropriately making the communication device available even when an error occurs is described as an example.

[0062] <Flowchart during startup>

[0063] Figure 4 and Figure 5 1 is a flowchart showing an example of processing during startup performed in the communication device 151 according to the present embodiment. As described above, Figure 4 and Figure 5The flowchart shown in FIG. 1 is implemented by the CPU 154 of the communication device 151 reading the program stored in the ROM 152 into the RAM 153 and executing the program. Figure 4 The process executed when the user turns on the communication device 151 is shown.

[0064] S400 is the process at the beginning of this flowchart. That is, in S400, CPU 154 detects that the user has performed a startup operation on communication device 151 to turn on communication device 151. In S401, CPU 154 determines whether the startup operation performed by the user in S400 is an operation that triggers startup in normal mode. Here, normal mode is a mode in which all functions of communication device 151 can be used. In other words, normal mode is a mode in which functions are not restricted. Modes other than normal mode include, for example, a restricted mode in which communication device 151 operates in a case in which some functions are restricted, an inspection mode used only at the production site of communication device 151, etc.

[0065] If it is determined in S401 that the operation does not trigger the start in the normal mode, the process proceeds to S402. In S402, the operation described later is performed. Figure 5 Then, CPU 154 ends Figure 4 On the other hand, if it is determined in S401 that the operation triggers the start in the normal mode, the CPU 154 proceeds to S403.

[0066] In S403, the CPU 154 starts the startup processing in the normal mode. The startup processing in the normal mode includes, for example, initialization processing of variables and areas in the software control of the communication device 151 and initialization processing on hardware such as the print engine 155 of the communication device 151. In other words, this startup processing is necessary for the communication device 151 to operate normally.

[0067] In S404, the CPU 154 starts the network communication processing of the communication device 151 based on the network setting set by the user. The network setting includes, for example, an enable setting indicating whether to establish a wireless infrastructure connection with the access point 131 or an enable setting indicating whether to establish a P2P connection with the external device 101. In the case of establishing a wireless infrastructure connection between the communication device 151 and the access point 131, it is necessary to set the SSID and password of the access point 131 to be connected by the user. Note that the SSID and password of the access point 131 that has made a wireless infrastructure connection are stored in the communication device 151. In the case of establishing a wireless infrastructure connection with the access point 131 for the first time, the user sets the SSID and password, and these SSID and password are stored in the communication device 151.

[0068] For example, if the wireless infrastructure connection is enabled, then in S404, the CPU 154 searches for nearby access points that have the SSID stored therein. On the other hand, if the wireless infrastructure connection is disabled, then in S404, the CPU 154 does not search for access points that have the SSID stored therein. If the wireless P2P connection is enabled, then in S404, the CPU 154 causes the communication device 151 to operate as a master station (i.e., an access point) and broadcast beacon information, etc. to the surrounding area. On the other hand, if the wireless P2P connection is disabled, the communication device 151 does not operate as a master station.

[0069] After completing the processing required to start the communication device 151 in S403 and S404, in S405 the CPU 154 displays a menu screen on the display unit 161. This allows the user to issue an operation instruction to the communication device 151 via the operation unit 159. The menu screen will be described in detail later with reference to FIG.

[0070] After the menu screen is displayed on the display unit 161 in S405, regardless of whether there is any user operation on the communication device 151 after the activation of the communication device 151, the CPU 154 determines in S406 whether the network settings allow communication with the external server. In other words, the CPU 154 automatically checks whether the network settings allow communication with the external server without any user operation on the communication device 151 after the activation of the communication device 151. The network settings that allow communication with the external server refer to settings that allow infrastructure connection with the access point 131. If the CPU 154 determines in S406 that the network settings allow communication with the external server, the CPU 154 communicates with the external server in S407. In the present embodiment, for example, the communication with the external server performed in S407 includes Figure 2 or Figure 3 Note that the communication with the external server performed in S407 may not be Figure 2 or Figure 3 The communication with the external device 101 described in the specification is not all, but only a part thereof. Specifically, regarding Figure 2 For example, only S201 and S202 may be performed in S407, and S204 and S205 may be performed at another timing. Note that S201 and S202 may also be performed again at other timings. Figure 3 For example, only S301 and S302 may be performed in S407, and S303 to S308 may be performed at another timing. Note that S301 and S302 may also be performed again at other timings. The communication with the external server performed in S407 may be performed in addition to Figure 2 or Figure 3 The communication performed in S407 may be communication with the external device 101 other than the external server or communication with another device other than the external server. S405 and S406 may be performed in reverse processing order or may be performed simultaneously.

[0071] Next, refer to Figure 5 , a description will be given of the process of S402, that is, the process in the case where an operation that triggers the start in a mode other than the communication mode is performed. Figure 5 In the following, the operation flow when the communication device 151 is started in the restricted mode will be mainly described.

[0072] In S501, the CPU 154 determines whether the startup operation performed by the user in S400 is an operation that triggers startup in the restricted mode. In the present embodiment, the restricted mode refers to a mode in which the communication device 151 operates with its network communication function restricted. However, the communication device 151 may operate with functions other than the network communication function restricted. Specifically, the network communication function restricted here is a communication function based on the IEEE802.11 series or a communication function based on a wired LAN. In the present embodiment, the network communication function is restricted in the restricted mode. Therefore, the communication device 151 operating in the restricted mode can no longer receive a print job from the outside via the network and perform printing based on the print job. However, for example, the communication device 151 operating in the restricted mode can perform printing based on a print job pre-saved by the communication device 151, and perform printing based on image data stored in an external memory attached to the communication device 151. The operation that triggers startup in the restricted mode is the same as the reference. Figure 4 The operation that triggers the startup in the normal mode described is different from the user operation. For example, the operation that triggers the startup in the normal mode is the following operation: the user presses a power button (not shown) disposed in the operation unit 159 of the communication device 151, and then releases the operating party such as a finger from the power button. For example, the operation that triggers the startup in the limited mode is the following operation. Specifically, after the power button is continuously pressed for a predetermined period of time or longer, while the power button is kept pressed, a predetermined physical button (not shown) other than the power button or a predetermined area on the display unit 161 is pressed, and then the operating party releases the power button. Of course, this is just an example, and other operations can be used. The operation of triggering the startup in the limited mode of the communication device 151 with a predetermined physical button may be different in operation content from the operation of triggering the startup in the limited mode of the communication device 151 without a predetermined physical button.

[0073] If it is determined in S501 that the operation does not trigger the startup in the restricted mode, the CPU 154 proceeds to S502. In S502, the CPU 154 starts the startup processing in a mode other than the restricted mode. That is, in S502, the startup processing in another mode (e.g., the check mode) different from the normal mode or the restricted mode is started. In S503, the CPU 154 then displays the menu screen on the display unit 161. Then, the CPU 154 ends Figure 5 Note that if the communication device 151 has no modes other than the normal mode and the restricted mode, the process may start from S504 by omitting the main determination in this flowchart.

[0074] On the other hand, if it is determined in S501 that the operation triggers the startup in the restricted mode, the CPU 154 proceeds to S504. In S504, the CPU 154 starts the startup processing for operating the communication device 151 in the restricted mode. In the present embodiment, the restricted mode is a mode in which the communication device 151 is operated with only network communication restricted. Therefore, the startup processing in the restricted mode in S504 is the same as that in the embodiment of the present invention. Figure 4 The startup process in the normal mode in S403 of FIG. 1 is the same as that in the normal mode in S403 of FIG. However, the present disclosure is not limited thereto. For example, if the scanner function of the communication device 151 is restricted in the restricted mode, it is not necessary to perform the initialization process of the scanning engine 162 in the startup process in the restricted mode in S504. That is, in S504, a startup process different from the startup process in the normal mode may be performed.

[0075] After starting the startup process in the restricted mode in S504, in S505, the CPU 154 stores the network settings of the communication device 151 set by the user in a non-volatile memory (e.g., ROM 152). Here, the network settings refer to the enable / disable settings of the infrastructure connection and the enable / disable settings of the P2P connection. The enable / disable settings are settings indicating whether the connection is enabled or disabled. The infrastructure connection enable / disable settings include wireless infrastructure connection enable / disable settings and wired infrastructure connection enable / disable settings. The P2P connection is a wireless P2P connection. In other words, the wireless infrastructure connection enable / disable settings are infrastructure mode enable / disable settings. In other words, the P2P connection enable / disable settings are direct connection mode enable / disable settings. In S505, these current network settings are saved in the non-volatile memory. For example, network settings in which the infrastructure connection is enabled and the P2P connection is disabled are stored in the non-volatile memory. As described above, once the setting values ​​required for network connection such as SSID, password or DNS are set, these values ​​remain stored in the non-volatile memory. The network setting stored in S504 is an enable / disable setting for each network connection. The setting value of the network setting stored in S504 is also referred to as a first setting value (first value).

[0076] Next, in S506, the CPU 154 automatically disables the above-mentioned network settings to limit the network communication of the communication device 151. That is, the network settings that have been disabled are not changed, and the enabled network settings are changed to disabled. In the restriction mode of the present embodiment, only the network settings are disabled. Therefore, a connection method other than network communication such as a universal serial bus (USB) can be used to communicate with the external device 101. The setting value of the network setting disabled in S506, which is changed from the first setting value, is also referred to as a second setting value (second value). After the first setting value is saved and the communication device 151 is started in the restriction mode, the communication device 151 ends its operation in the restriction mode by turning off the power of the communication device 151, etc. Then, by performing the operation of starting the communication device 151 in the normal mode after the communication device 151 ends its operation in the restriction mode as described above, the communication device 151 is started again in the normal mode. In this case, the setting value of the network setting of the communication device 151 is changed back to the first setting value saved in S505 from the second setting value set in S506.

[0077] Next, in S507, the CPU 154 displays a confirmation screen on the display unit 161. In S506, the communication device 151 automatically disables the network setting. Therefore, in S507, a process of displaying a confirmation screen on the display unit 161 for checking by the user whether the communication device 151 can be operated in the restricted mode is performed. That is, a process of displaying a confirmation screen on the display unit 161 for checking whether the communication device 151 is started in a case where the network communication is restricted is performed. Assuming that even if the user wants to operate the communication device 151 in the normal mode, the user accidentally performs an operation to operate the communication device 151 in the restricted mode, the confirmation screen is displayed. Later, the confirmation screen will be described in detail with reference to FIG. 9.

[0078] Next, in S508, the CPU 154 determines the operation selected by the user on the confirmation screen displayed in S507. That is, the CPU 154 determines whether the user has chosen to start the communication device 151 when the network is restricted. In other words, the CPU 154 determines whether the user has chosen to operate the communication device 151 in the restricted mode. If it is determined that the user has not chosen to start the communication device 151 when the network is restricted, the CPU 154 proceeds to S509. In S509, the CPU 154 performs control to prevent the communication device 151 from operating in the restricted mode. Specifically, the CPU 154 performs processing for shutting down the communication device 151. In other words, since the user has mistakenly performed an operation to operate the communication device 151 in the restricted mode, the CPU 154 performs processing to shut down the communication device 151. In this case, the processing of shutting down the power can be performed after the precautions for startup in the normal mode are displayed on the display unit 161. When the power is turned on again thereafter, the control is performed again. Figure 4 In this case, if a user operation for startup in the normal mode is performed, the process proceeds to S403, and startup in the normal mode is performed thereafter. In S509, the communication device 151 can be started in the normal mode without turning off its power.

[0079] On the other hand, if it is determined that the user has selected to start the communication device 151 when the network is restricted, the CPU 154 proceeds to S510. In S510, the CPU 154 displays a menu screen on the display unit 161. The menu screen will be described in detail later with reference to FIG. 7. Then, the CPU 154 ends Figure 5 The process shown in the flowchart (ie, Figure 4In this state, the startup process in the restricted mode is completed, so the communication device 151 operates in the restricted mode. While operating in the restricted mode, although some functions are restricted, the communication device 151 can perform various operations using functions that are not restricted.

[0080] <Flowchart During Operation in Restricted Mode>

[0081] Figure 6 1 is a flowchart showing the process in the case where the communication device 151 is operating in the restricted mode. Figure 6 , a description will be given of an operation flow in the case of accepting a user's setting change operation, a firmware update operation, etc. while the communication device 151 is operating in the restriction mode.

[0082] First, assume that the communication device 151 is operating in the restricted mode as shown in S600. Specifically, in this embodiment, S600 corresponds to Figure 5 The timing state after the operation in the restricted mode is started in S504 described in the above and the menu screen is displayed on the display unit 161 in S510. Since the menu screen is displayed on the display unit 161, the communication device 151 is in a state capable of accepting the user's operation. In S601, the CPU 154 accepts the operation instruction from the user. The operation instruction is accepted via the operation unit 159 of the communication device 151. After S602, different processing is performed according to the content of the operation instruction.

[0083] In S602, the CPU 154 determines whether the operation instruction is to power off the communication device 151. If the user performs the operation to power off the communication device 151, the CPU 154 proceeds to S603. In S603, the CPU 154 performs the processing of powering off the communication device 151. In response to the power-off processing, the operation in the restricted mode is also terminated. Then, the CPU 154 ends Figure 6 If it is determined that the operation instruction is not an operation to power off the communication device 151, the CPU 154 proceeds to S604.

[0084] In S604, the CPU 154 determines whether the operation instruction is to update the firmware of the communication device 151. Later, the screen display for updating the firmware will be described in detail with reference to Figures 8 and 9. After receiving the user's operation instruction for updating the firmware of the communication device 151, the CPU 154 proceeds to S605. In S605, the CPU 154 converts the communication device 151 to a firmware update mode. The firmware update mode is a mode for performing network communication with an external server that manages the latest firmware in order to update the firmware of the communication device 151. In this mode, printing operations using the print engine 155 and the like are not available. More specifically, in the firmware update mode, only network communication is performed with the external server that manages the latest firmware, and operations such as Figure 2 The log information shown in the send and Figure 3 In other words, the firmware update mode can be said to be a mode for updating firmware only.

[0085] If the communication device 151 receives a firmware update operation instruction while operating in the normal mode, the communication device 151 compares the current firmware version with the latest firmware version stored in the external server. Then, only if the versions are different, the CPU 154 switches the communication device 151 to the firmware update mode. On the other hand, if Figure 6 As described in the process of , if the communication device 151 receives a firmware update operation instruction while operating in the restricted mode, the network setting of the communication device 151 is disabled as described above. Therefore, in S605, the CPU 154 switches the communication device 151 to the firmware update mode without comparing the firmware versions. That is, in the present embodiment, the CPU 154 may display the communication device 151 in both the case where the communication device 151 operates in the normal mode and the case where the communication device 151 operates in the restricted mode. Figure 8C . However, the CPU 154 controls the processing performed when the firmware update operation instruction is received to be partially different between the case where the communication device 151 is operating in the normal mode and the case where the communication device 151 is operating in the restricted mode. In other words, the CPU 154 performs control so that the processing performed when the firmware update operation instruction is received during the operation in the normal mode is partially different from the processing performed when the firmware update operation instruction is received during the operation in the restricted mode. The external server that manages the latest firmware and serves as a communication partner of the communication device 151 for updating the firmware is different from Figure 2 or Figure 3 The communication partners in the process are shown in FIG. 1 , but may be the same.

[0086] Here, in the case of transitioning to the firmware update mode in S605, the network setting of the communication device 151 which has been operating in the restricted mode until then remains disabled. Therefore, at this time, the communication device 151 cannot perform network communication. To solve this problem, in S606, the CPU 154 changes the network setting of the communication device 151 so that it is disabled according to the setting in S608. Figure 5 The CPU 154 operates based on the past network settings (first setting values) saved in the nonvolatile memory in S505. That is, the network settings are changed to the network settings saved in the nonvolatile memory. Specifically, the network settings (e.g., wireless infrastructure connection enable / disable settings) that were changed from enable to disable in S506 are changed from disable to enable. Subsequently, in S606, the CPU 154 performs network communication with an external server that manages the latest firmware. Specifically, the CPU 154 obtains the latest firmware from the external server and updates the firmware of the communication device 151 based on the obtained information. Then, the CPU 154 ends the operation. Figure 6 Once the firmware is updated, the communication device 151 is restarted. That is, the communication device 151 is powered off once and then automatically started again. After restarting, the communication device 151 starts in the same mode (normal mode or restricted mode) as when the firmware update operation instruction was received. However, the present disclosure is not limited to this configuration. After restarting, the communication device 151 can always start in normal mode.

[0087] If it is determined in S604 that the operation instruction is not an operation instruction to update the firmware of the communication device 151, the CPU 154 proceeds to S607.

[0088] In S607, the CPU 154 determines whether the operation instruction is to change the network setting of the communication device 151. If it is determined that the operation instruction by the user operation is not an instruction to change the network setting, the CPU 154 proceeds to S608. In S608, the CPU 154 operates the communication device 151 based on the operation instructed by the user. Then, the process returns to S601 and continues. Figure 6 On the other hand, if it is determined that the operation instruction by the user operation is an instruction to change the network settings, the CPU 154 proceeds to S609. In S609, the CPU 154 displays a screen on the display unit 161 indicating that the settings cannot be changed because the network use is restricted. This screen will be described in detail later with reference to FIG. 8. Then, the CPU 154 returns to S601 and continues. Figure 6 processing.

[0089] <Display screen>

[0090] Fig. 7A , Figure 7B , FIG. 8A to FIG. 8C and Fig.9A , Fig. 9B 1 is a diagram showing an example of a screen displayed on the display unit 161 of the communication device 151. In the present embodiment, it is assumed that the display unit 161 is a touch panel.

[0091] Fig. 7A The menu screen 700 is shown as the first screen displayed when the communication device 151 is powered on and starts normally. The menu screen 700 is also called the home screen. Fig. 7A Before the menu screen 700, a logo screen etc. may be displayed. Fig. 7A is an example of a first screen that can accept operation instructions from the user. Figure 4 When the communication device 151 is started in the normal mode, the menu screen 700 is displayed in S405. The menu screen 700 is also displayed as Figure 5 The menu screen displayed in S510 of . That is, in the present embodiment, the menu screen displayed when starting in normal mode is the same screen as the menu screen displayed when starting in restricted mode. With regard to the submenu screen or setting screen further displayed in a hierarchical manner from the menu screen 700, it is basically the same screen for the normal mode and the restricted mode. However, as will be described later, with regard to the function restriction screen, different screens are displayed between the restricted mode and the normal mode. The menu screen displayed when starting in normal mode may be different from the menu screen displayed when starting in restricted mode. Specifically, for example, an icon or message for notifying the user that the device is operating in restricted mode may be displayed on the menu screen displayed when starting in restricted mode. The menu screen displayed in S503 in another mode different from the normal mode or the restricted mode (e.g., the inspection mode) may be the menu screen 700 or another screen (not shown).

[0092] Menu screen 700 has an area where functions (eg, copy, scan, and print) of communication device 151 can be selected. If any of these functions is selected, communication device 151 performs processing for executing the corresponding function or displays a screen for setting the corresponding function.

[0093] The menu screen 700 displays an area 701 and an area 702. The area 701 is an area that displays an icon indicating whether an infrastructure connection or a P2P connection is enabled based on the network setting of the communication device 151. Figure 4 S405 and Figure 5 In S503 of FIG. 1 , the communication device 151 is operating in a mode other than the restricted mode (eg, the normal mode). Therefore, the icons displayed in the area 701 include an icon indicating an enabled setting and an icon indicating a disabled setting. Figure 5In S510 of FIG. 7 , the communication device 151 is operating in the restricted mode. Therefore, the icon displayed in the area 701 indicates that the setting is disabled. In the area 702, an icon for changing the setting of the communication device 151 is displayed.

[0094] After detecting that area 702 of menu screen 700 is pressed by the user, communication device 151 displays Figure 7B Display screen 703 is displayed. Display screen 703 displays items whose settings in communication device 151 can be changed. In area 704, text for changing the network settings of communication device 151 is displayed. In area 705, text for updating the firmware of communication device 151 is displayed. After detecting that area 704 is pressed by the user, communication device 151 displays Fig. 8A 800 is a display screen in the display screen. The display screen 800 is a screen for configuring the communication settings of the communication device 151. The communication settings of the communication device 151 include communication settings based on the IEEE802.11 series and communication settings based on the wired LAN. The display screen 800 has areas 801, 802, and 803. In area 801, text for changing the wireless infrastructure connection settings of the communication device 151 is displayed. In area 802, text for changing the wireless P2P connection settings of the communication device 151 is displayed. In area 803, text for changing the wired infrastructure connection settings of the communication device 151 is displayed. Here, after detecting that area 801 is pressed by the user, the communication device 151 can change the settings for enabling or disabling the wireless infrastructure connection, the settings for enabling or disabling the communication protocol for network communication in the wireless infrastructure connection, etc. That is, a screen for changing these network settings (not shown) can be displayed. However, in the present embodiment, if the communication device 151 is operating in the normal mode, these network settings can be changed. When the communication device 151 detects that the area 801 is pressed by the user while operating in the limited mode, the communication device 151 displays a screen different from the screen in the normal mode. Figure 8B The display screen 810 shown in FIG. 8 is not the screen for changing the network settings described above. The display screen 810 displays text indicating that the operation is restricted, that is, text indicating that the network settings cannot be changed. After a certain period of time has passed while the display screen 810 is displayed, the display screen 810 is displayed again. Fig. 8A Alternatively, when it is detected that the display screen 810 is pressed by the user or the OK button (not shown) is pressed, the display on the display unit 161 can be changed from Figure 8B The display screen 810 switches to Fig. 8Adisplay screen 800. Note that the present disclosure is not limited to the above configuration. For example, when the communication device 151 is operating in the restricted mode, area 801, area 802, and area 803 may be grayed out. Specifically, the following configuration may be adopted: even if area 801, area 802, and area 803 are pressed, processing is not performed based on the pressing. For example, when the communication device 151 is operating in the restricted mode, if area 704 is pressed, display screen 810 may be displayed instead of display screen 800. Alternatively, the following configuration may be adopted: when the communication device 151 is operating in the restricted mode, for example, area 704 is grayed out so that even if area 704 is pressed, processing is not performed based on the pressing.

[0095] Upon detection Figure 7B After the area 705 displayed on the display screen 703 in the display is pressed by the user, the communication device 151 displays Figure 8C 820 in the display screen. The display screen 820 has areas 821, 822, 823, etc. In area 821, there is text indicating the execution of the firmware update of the communication device 151. After detecting that area 821 is pressed by the user, if the communication device 151 is operating in the normal mode, it starts to communicate with the external server on which the firmware is installed. Specifically, the communication device 151 obtains information indicating the latest firmware version managed by the external server through communication. Then, based on the obtained information, the firmware version of the communication device 151 is compared with the latest firmware version managed by the external server. If it is determined by the comparison that there is a difference between the versions, the communication device 151 switches to the firmware update mode. If it is determined by the comparison that the versions are the same, the communication device 151 displays Fig.9A , without switching to the firmware update mode. On the other hand, after detecting that area 821 is pressed by the user while the communication device 151 is operating in the restricted mode, the communication device 151 does not perform communication to obtain information about the latest firmware version managed by the external server. Then, the communication device 151 forcibly switches to the firmware update mode without comparing the firmware version of the communication device 151 with the latest firmware version managed by the external server.

[0096] In area 822, a proxy server can be set when the communication device 151 updates the firmware. After it is detected that area 822 is pressed by the user, if the communication device 151 is operating in the normal mode, it switches to the proxy server setting screen. On the other hand, if the communication device 151 is operating in the restricted mode, the proxy server setting screen is displayed. Figure 8BThe display screen 810 is displayed and the settings cannot be changed. In area 823, the DNS server in the case where the communication device 151 updates the firmware can be set. After detecting that area 823 is pressed by the user, if the communication device 151 is operating in the normal mode, it is converted to the DNS server setting screen. On the other hand, if the communication device 151 is operating in the restricted mode, the display screen 823 is displayed. Figure 8B display screen 810 and the settings cannot be changed. Once the settings on the setting screen displayed when area 822 or area 823 is operated are completed, the communication device 151 can perform a test communication process. Specifically, the following test communication process can be performed: according to the settings on the setting screen, test the communication with the external server that manages the latest firmware. The processing performed when the communication device 151 is operating in the restricted mode is not limited to the above configuration. For example, when the communication device 151 is operating in the restricted mode, area 822 and area 823 can be grayed out. Specifically, the following configuration can be adopted: even if area 822 and area 823 are pressed, processing is not performed based on the pressing.

[0097] Fig. 9B 1 shows a screen in which the user checks whether to start the communication device 151 when the network is restricted when the communication device 151 starts operating in the restricted mode. Fig. 9B The display screen 910 is displayed in Figure 5 In S507 of the embodiment, the display screen 910 includes an area 911 and an area 912. The area 911 is an area for accepting a user instruction to permit operation in the restricted mode. The area 921 is an area for accepting a user instruction to reject operation in the restricted mode. After detecting that the area 911 is pressed by the user, the communication device 151 proceeds to Figure 5 On the other hand, when it is detected that area 921 is pressed by the user, the communication device 151 proceeds to Figure 5 The process of S509 in , and the process for turning off the power of the communication device 151 is performed.

[0098] As described above, according to the present embodiment, the communication device can be operated in an appropriate mode. For example, even if an error occurs, the communication device can be used appropriately. In other words, even if an error occurs in the communication device, the communication device can be operated with some available functions, and even if only some functions are available, the firmware of the communication device can be updated. For example, an error such as Figure 2 or Figure 3 Even in this case, by Figure 5 and Figure 6Operating the communication device 151 in a restricted mode in which some functions described in the description are restricted can also prevent a situation in which the user cannot use the communication device 151 at all. Such an error may be caused by the firmware of the communication device 151. Even in this case, by Figure 6 The network settings immediately before transitioning to restricted mode are saved in non-volatile memory as described in , and the firmware can be updated using an external server and network communication.

[0099] <<Other embodiments>>

[0100] In the above-described embodiment, in the case where the communication device 151 operates in the restricted mode, the wireless infrastructure connection and the wireless P2P connection settings are disabled, and communication with the external device 101 using USB becomes possible. However, the USB communication may also be disabled. Alternatively, the communication device 151 may operate in a state where only the infrastructure connection is disabled and the wireless P2P connection and the USB connection are enabled. In this case, only the infrastructure connection setting may be saved in the network enable / disable setting to be saved. In the restricted mode, the wired infrastructure connection may be disabled or enabled.

[0101] In the above embodiment, if the network communication is disabled and the USB communication is enabled, the settings of the communication device 151 can be changed from the external device 101 through the USB communication. In this case, the settings other than the network settings can be changed, but the network settings cannot be changed. The settings other than the network settings include, for example, the resolution setting, the paper feed port setting, the power saving setting, etc. in the case where the communication device 151 performs printing.

[0102] In the above-mentioned embodiment, the following example is described: the user operation for starting in the normal mode (the operation that triggers the start in the normal mode) is different from the user operation for starting in the restricted mode (the operation that triggers the start in the restricted mode). The following example is also described: based on the content of the user operation, a determination is made between the start in the normal mode and the start in the restricted mode. However, the user operation for starting in the normal mode may be the same as the user operation for starting in the restricted mode. Specifically, for example, the user operation for starting in the normal mode may be the same as the user operation for starting in the restricted mode, and both may be operations of pressing the power button. In this case, the determination between the start in the normal mode and the start in the restricted mode may be made based on error information such as whether an error occurs in the communication device 151 before the user operation of starting the communication device 151, thereby causing the communication device 151 to be shut down. That is, if the power button is pressed in a state where the error information indicating that an error has just occurred in the communication device 151, thereby causing the communication device 151 to be shut down, is stored in the non-volatile memory, this can be regarded as the acceptance of the instruction to start in the restricted mode. On the other hand, if the power button is pressed in a state where error information indicating that an error has just occurred in the communication device 151 and the communication device 151 has been shut down is not stored in the non-volatile memory, this can be regarded as acceptance of an instruction to start in the normal mode. Note that the error mentioned above is, for example, a communication error, and more specifically, for example, Figure 2 or Figure 3 An error occurred during the processing shown in .

[0103] In the above-described embodiment, after receiving an instruction to start in restricted mode, a process of displaying a confirmation screen on the display unit 161 for the user to check whether the communication device 151 can be operated in restricted mode is performed. However, the present disclosure is not limited to this configuration. Even if an instruction to start in restricted mode is received, the startup and operation in restricted mode can be performed without displaying a confirmation screen. Here, it is assumed that, for example, the user operation for starting in normal mode is the same as the user operation for starting in restricted mode, and the confirmation screen is not displayed. In this case, the user may not be able to easily determine whether the communication device 151 is started in normal mode or in restricted mode. Therefore, for example, an icon, a message, etc. for indicating to the user that the communication device is operating in restricted mode can be displayed on a menu screen displayed when the communication device is started in restricted mode.

[0104] In the above embodiment, given Figure 4A description of the process of determining whether the network setting allows communication with the server in S406 of . A description of an example in which such a network setting is used for an infrastructure connection is also given. However, the network setting that allows communication with the server may be a setting for a P2P connection. In this case, the device at the other end of the P2P connection may be regarded as a server. For example, in a P2P connection, it is possible to connect to a device equipped with an OS such as Windows (registered trademark) or MacOS (registered trademark). If the operation of such an OS changes due to a version upgrade, an error may occur. Even in this case, by performing the process according to the above-described embodiment, the communication device 151 can be used appropriately even if an error occurs in the communication device 151.

[0105] In the above-described embodiment, a description is given of an example in which a menu screen and a setting screen are displayed on the display unit 161 of the main body of the communication device 151. However, a configuration in which an external host PC or the like remotely connects to the communication device 151 and changes the settings of the communication device 151 is also conceivable. In such a configuration, as in the above embodiment, in the case of the restriction mode, the host PC may also be configured not to accept an operation to change the network settings.

[0106] In the above embodiment, the following example is described: the communication device 151 in the restricted mode is converted to the firmware update mode without checking the firmware version, but the present disclosure is not limited to this. For example, if it is determined in S604 that there is a firmware update operation, the communication device 151 may display a screen containing a predetermined message. The predetermined message may be, for example, a message indicating that the firmware may be the same version or that the update may take time. Then, after receiving the user permission instruction, in S605, the communication device 151 may be converted to the firmware update mode.

[0107] In the above-described embodiment, a description is given of the following configuration: the restriction mode prevents not only the communication device 151 from executing the processing of S407 but also prevents the communication device 151 from executing communication processing other than S407 by changing the network settings of the communication device 151. However, the present disclosure is not limited to this configuration. The restriction mode may be a mode that prevents the communication device 151 from executing the processing of S407 but allows the communication device 151 to execute communication processing other than S407. In this configuration, if the communication device 151 is started in the restriction mode, it is only necessary to simply skip the processing of S407. Therefore, even if the communication device 151 is started in the restriction mode, there is no need to change the network settings of the communication device 151. In addition, even if the communication device 151 is started in the restriction mode, in Fig. 8A or Figure 8C Even if you perform operations on the screen, you do not need to perform display Figure 8B The display screen 810 or Fig. 8A or Figure 8C Specifically, even if the communication device 151 is started in the restricted mode, the same processing as in the case of operation in the normal mode can be performed as Fig. 8A or Figure 8C The display process of the screen and the process in the case where the operation on the screen is accepted are performed. Examples of the communication process other than S407 include the process of receiving a print job via a network and the test communication performed after the area 822 or the area 823 is selected.

[0108] The embodiment(s) of the present invention may also be implemented by a computer of a system or device that reads out and executes computer executable instructions (e.g., one or more programs) recorded on a storage medium (which may also be more completely referred to as a "non-transitory computer-readable storage medium") to perform the functions of one or more of the above-mentioned embodiment(s) and / or includes one or more circuits (e.g., application-specific integrated circuits (ASICs)) for performing the functions of one or more of the above-mentioned embodiment(s), and by a method executed by a computer of a system or device, for example, by reading out and executing computer executable instructions from a storage medium to perform the functions of one or more of the above-mentioned embodiment(s) and / or controlling one or more circuits to perform the functions of one or more of the above-mentioned embodiment(s). The computer may include one or more processors (e.g., a central processing unit (CPU), a microprocessing unit (MPU)), and may include a network of separate computers or separate processors to read out and execute computer executable instructions. The computer executable instructions may be provided to the computer, for example, from a network or a storage medium. The storage medium may include, for example, a hard disk, a random access memory (RAM), a read-only memory (ROM), a storage device of a distributed computing system, an optical disk (such as a compact disk (CD), a digital versatile disk (DVD), or a Blu-ray disk (BD)) TM ), one or more of flash memory devices, memory cards, etc.

[0109] Other embodiments

[0110] The embodiments of the present invention may also be implemented by providing software (program) for executing the functions of the above-mentioned embodiments to a system or device via a network or various storage media, and a computer or a central processing unit (CPU) or a microprocessing unit (MPU) of the system or device reads and executes the program.

[0111] While the present disclosure has been described with reference to exemplary embodiments, it is to be understood that the present disclosure is not limited to the disclosed exemplary embodiments.The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.

Claims

1. A communication device capable of operating in a first mode and in a second mode, the first mode allowing predetermined communication with an external device and the second mode not being performed, the communication device comprising: an accepting unit configured to accept an activation operation for activating the communication device from a user; an activation unit configured to activate the communication device in the first mode or the second mode based on acceptance of the activation operation; as well as A communication unit, the communication unit is configured to automatically perform the predetermined communication without any user operation on the communication device after the startup operation is accepted based on the startup of the communication device in the first mode, and is also configured not to perform the predetermined communication based on the startup of the communication device in the second mode.

2. The communication device according to claim 1, wherein: In the case where the communication device is activated in the first mode and the network setting of the communication device allows the predetermined communication to be performed, the predetermined communication is automatically performed based on the activation of the communication device in the first mode, but In a case where the communication device is activated in the first mode and a network setting of the communication device does not allow the predetermined communication to be performed, the predetermined communication is not automatically performed based on the activation of the communication device in the first mode.

3. The communication device according to claim 2, wherein: The setting that allows the predetermined communication to be performed is a setting that allows connection between an external access point located outside the communication device and the communication device.

4. The communication device according to claim 1, further comprising: a display unit configured to display a predetermined confirmation screen based on a startup operation triggering startup of the communication device in the second mode; as well as A control unit, the control unit is configured to control the communication device to operate in the second mode based on the fact that the first operation is performed in the state where the predetermined confirmation screen is displayed, and is also configured to control the communication device not to operate in the second mode based on the fact that the second operation is performed in the state where the predetermined confirmation screen is displayed.

5. The communication device according to claim 4, wherein: In a case where the communication device is powered off or in a case where the communication device is activated in the first mode, the communication device is controlled not to operate in the second mode.

6. The communication device according to any one of claims 1 to 4, wherein: The external device is at least one of a server that collects log information of the communication device and a server that manages a print job to be executed in the communication device.

7. The communication device according to any one of claims 1 to 4, wherein: In a state where the communication device is operating in the second mode, even if an operation for the predetermined communication setting is accepted, the predetermined communication setting is controlled not to be performed, or the operation for the predetermined communication setting is controlled not to be accepted.

8. The communication device according to claim 7, wherein: The predetermined communication setting includes at least one of a communication setting based on the IEEE802.11 series and a communication based on a wired LAN.

9. The communication device according to any one of claims 1 to 4, further comprising: a second communication unit configured to perform communication for updating the firmware of the communication device if an operation for updating the firmware of the communication device is performed in a state where the communication device is operating in the second mode; as well as An updating unit is configured to update the firmware of the communication device based on the communication for updating the firmware of the communication device.

10. The communication device according to claim 9, wherein: If an operation for updating the firmware of the communication device is performed in a state where the communication device is operating in the first mode, communication for comparing the firmware version of the communication device with the latest firmware version is performed, and then, If the firmware version of the communication device is different from the latest firmware version, the firmware of the communication device is updated, and If an operation for updating the firmware of the communication device is performed in a state where the communication device is operating in the second mode, the firmware of the communication device is updated without performing communication for comparing the firmware version of the communication device with the latest firmware version.

11. The communication device according to claim 9, wherein: the communication standard used for the predetermined communication and the communication standard used for communication for updating the firmware of the communication device are the same predetermined communication standard, if a start-up operation that triggers the start-up of the communication device in the second mode is accepted, a first setting value that was set before the start-up operation was accepted is saved in a predetermined communication standard setting, After the first setting value is saved, the value set in the predetermined communication standard setting is changed to a second setting value corresponding to a setting for not performing the predetermined communication, and If an operation for updating the firmware of the communication device is performed in a state where the communication device is operating in the second mode, the saved first setting value is used to perform communication for updating the firmware of the communication device.

12. The communication device according to claim 9, wherein: If the firmware of the communication device is updated by performing an operation for updating the firmware of the communication device in a state where the communication device is operating in the second mode, the communication device is restarted and the communication device is started in the first mode upon restarting.

13. The communication device according to any one of claims 1 to 4, wherein: The first mode is at least one of a mode in which communication with an external device via a network other than the predetermined communication is not performed and a mode in which communication setting based on the IEEE 802.11 series is disabled.

14. The communication device according to any one of claims 1 to 4, wherein: If a start-up operation that triggers start-up of the communication device in the second mode is accepted, a first setting value that was set before the start-up operation was accepted is saved in the predetermined communication setting, and After the first setting value is saved, the value set in the predetermined communication setting is changed to a second setting value corresponding to a setting for not performing the predetermined communication.

15. The communication device according to claim 14, wherein: If the communication device is activated in the first mode after the first setting value is saved and the operation of the communication device in the second mode is terminated, the value set in the predetermined communication setting is changed to the saved first setting value.

16. The communication device according to any one of claims 1 to 4, wherein: An activation operation triggering activation of the communication device in the first mode is different from an activation operation triggering activation of the communication device in the second mode.

17. The communication device according to any one of claims 1 to 4, wherein: The activation operation for triggering activation of the communication device in the first mode is the same as the activation operation for triggering activation of the communication device in the second mode, Based on whether a communication error occurs in the communication device before a user operation for starting the communication device is accepted, whether the communication device is started in the first mode or in the second mode if the user operation for starting the communication device is accepted is controlled.

18. The communication device according to any one of claims 1 to 4, further comprising: A printing unit is configured to perform printing.

19. A method for controlling a communication device, the communication device being capable of operating in a first mode and in a second mode, the first mode allowing a predetermined communication with an external device and the second mode not being performed, the method comprising: accepting an activation operation for activating the communication device from a user; activating the communication device in the first mode or the second mode based on acceptance of the activation operation; as well as Based on activation of the communication device in the first mode, the predetermined communication is automatically performed without any user operation on the communication device after the activation operation is accepted, and based on activation of the communication device in the second mode, the predetermined communication is not performed.

20. A non-transitory computer-readable storage medium storing a program, the program causing a computer of a communication device capable of operating in a first mode in which predetermined communication with an external device is allowed and in a second mode in which the predetermined communication is not performed to execute the following steps: accepting an activation operation for activating the communication device from a user; activating the communication device in the first mode or the second mode based on acceptance of the activation operation; as well as Based on activation of the communication device in the first mode, the predetermined communication is automatically performed without any user operation on the communication device after the activation operation is accepted, and based on activation of the communication device in the second mode, the predetermined communication is not performed.

Citation Information

Patent Citations

  • Image forming apparatus

    JP2017194833A