Communication device and program
By prioritizing the initialization of faster interfaces and transitioning to a communication state after their completion, the device addresses prolonged waiting times, enhancing startup efficiency.
Patent Information
- Application Number
- JP2021096191
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-06-08
- Publication Date
- 2025-04-02
- Estimated Expiration
- 2041-06-08
AI Technical Summary
In communication devices with multiple types of interfaces, the varying initialization times lead to prolonged waiting times before communication processing can begin due to the need to wait for all interfaces to complete initialization.
The device initiates a communication waiting state after the initialization of the faster interface is completed, allowing data transmission or reception without waiting for slower interfaces to finish, based on the communication destination information.
This approach significantly reduces the startup-to-communication time by transitioning to a communication-ready state sooner, optimizing the device's responsiveness.
Smart Images

Figure 0007655100000001 
Figure 0007655100000002 
Figure 0007655100000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a communication device having a plurality of types of communication interfaces, and a program for the communication device. [Background technology]
[0002] As a communication device equipped with multiple types of communication interfaces, a multi-function peripheral (abbreviated as MFP) equipped with a USB interface and a network interface is known. The network interface includes a wired network interface and a wireless network interface. When the communication device is started up (e.g., when the power is turned on), the communication device performs various initializations including initialization of the communication interface. After the various initializations are completed, the communication device transitions to a state in which it can accept transmission and reception of data to and from an external device (hereinafter referred to as a communication waiting state).
[0003] Patent Document 1 discloses an example of a printing device that initializes a communication interface when the power is turned on. The control means of the printing device described in Patent Document 1 opens a first logical port for notifying the host device of an error that occurs during initialization of the printing means in response to completion of initialization of the interface for executing communication with the host device, and opens a second logical port for receiving print data from the host device in response to completion of initialization of the printing means. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2014-108545 A Summary of the Invention [Problem to be solved by the invention]
[0005] Some communication interfaces require a long time for initialization, while others require a short time for initialization. For this reason, in a communication device having multiple types of communication interfaces, the timing at which initialization is completed varies between the multiple types of communication interfaces. Therefore, in a communication device having multiple types of communication interfaces, if the device transitions to a communication waiting state after the initialization of all communication interfaces is completed, the waiting time from when the device is started until communication processing can be started becomes long.
[0006] The present invention has been made in consideration of the above circumstances, and an object of the present invention is to provide a means for shortening the waiting time from when a device is started until communication processing can be started. [Means for solving the problem]
[0007] Various disclosures are made in this specification. A communication device as one example of the disclosed examples includes a first communication interface, a second communication interface, and a controller. The controller executes a first initialization process for initializing the first communication interface, a second initialization process for initializing the second communication interface, and a communication process for transmitting or receiving data between at least one of a first external device connected via the first communication interface and a second external device connected via the second communication interface. The time required for the first initialization process is shorter than the time required for the second initialization process, the controller acquires communication destination information before executing the first initialization process and the second initialization process, the communication destination information includes at least one of the first external device and the second external device, and executes the first initialization process and the second initialization process on the condition that the communication device is started up, and depending on whether the external device indicated in the communication destination information is the first external device, after completion of the first initialization process, the controller transitions to a communication waiting state in which transmission and reception of the data of the communication process can be accepted without waiting for completion of the second initialization process, and depending on whether the external device indicated in the communication destination information is the second external device, the controller transitions to the communication waiting state after completion of the second initialization process. Effect of the Invention
[0008] According to the above configuration, it is possible to shorten the waiting time from when the device is started until when communication processing can be started. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a diagram showing the configuration of a system including a multifunction device 10 according to this embodiment. [Diagram 2] FIG. 2 is a block diagram of the multifunction device 10 according to the present embodiment. [Diagram 3] FIG. 3 is a diagram showing the time required for the multifunction device 10 according to the present embodiment to initialize the communication interface. [Figure 4] FIG. 4 is a flowchart showing the operation of the multifunction device 10 according to the present embodiment. [Diagram 5] FIG. 5 is a flowchart of the USB priority initialization process of the multifunction device 10 according to the present embodiment. [Figure 6] FIG. 6 is a flowchart of the network-prioritized initialization process of the multifunction peripheral 10 according to the present embodiment. [Figure 7] FIG. 7 is a flowchart of the USB priority initialization process of the multifunction peripheral according to the modified example. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, an embodiment of the present invention will be described with reference to the drawings as appropriate. Note that the embodiment described below is merely one example of the present invention, and it goes without saying that the embodiment of the present invention can be modified as appropriate without departing from the spirit of the present invention. For example, the execution order of each process described below can be modified as appropriate without departing from the spirit of the present invention.
[0011] [System configuration] A system including a multifunction device 10 according to this embodiment will be described with reference to FIG. 1. The system shown in FIG. 1 includes the multifunction device 10 and three external devices 1 to 3. The multifunction device 10 has a print function, a scan function, a FAX function, etc. The multifunction device 10 and the external devices 1 to 3 are communicatively connected using different communication interfaces (hereinafter also referred to as I / F). In the system shown in FIG. 1, the multifunction device 10 and the external device 1 are connected using a USB. The multifunction device 10 and the external device 2 are connected using a wired LAN. The multifunction device 10 and the external device 3 are connected using a wireless LAN.
[0012] The external devices 1 to 3 are any devices capable of communicating with the multifunction device 10. The external devices 1 to 3 are, for example, personal computers, business computers, terminal devices, mobile phones, smartphones, tablet terminals, etc. The external devices 1 to 3 may also be data servers, data storage, printers, facsimile machines, communication relay devices, etc.
[0013] [Configuration of multifunction printer 10] 2, the multifunction device 10 includes a CPU 11, a memory 12, an input unit 13, a display unit 14, a print unit 15, a scan unit 16, a FAX unit 17, a USB I / F 21, a wired LAN I / F 22, and a wireless LAN I / F 23. These elements are connected using an internal bus 18. The USB I / F 21, the wired LAN I / F 22, and the wireless LAN I / F 23 are communication I / Fs. Of these, the wired LAN I / F 22 and the wireless LAN I / F 23 are network I / Fs. The multifunction device 10 is an example of a communication device.
[0014] The CPU 11 controls the operation of the multifunction device 10. The CPU 11 executes a control program 31 stored in the memory 12 based on instructions and information from a user inputted using the input unit 13, and various information received from the external devices 1 to 3 connected via the communication I / F. The CPU 11 is an example of a controller of a communication device.
[0015] The memory 12 stores a control program 31 executed by the CPU 11, and data or information required for executing the control program 31. The memory 12 is configured, for example, by a RAM, a ROM, an EEPROM, a HDD, a portable storage medium such as a USB memory detachably attached to the multifunction device 10, a buffer provided in the CPU 11, or a combination of these. The control program 31 is an example of a program executed by a controller of a communication device.
[0016] The memory 12 may be a computer-readable storage medium. A computer-readable storage medium is a non-transitory medium. In addition to the above examples, non-transitory media also include recording media such as CD-ROMs and DVD-ROMs. Non-transitory media are also tangible media. On the other hand, an electrical signal carrying a program downloaded from a server on the Internet is a computer-readable signal medium, which is a type of computer-readable medium, but is not included in non-transitory computer-readable storage media.
[0017] The input unit 13 is an element operated by the user to input instructions, information, and the like to the multifunction device 10. The input unit 13 is, for example, a touch panel. The display unit 14 is an element that displays the status of the multifunction device 10, messages, and the like on a screen. The display unit 14 is, for example, a liquid crystal display, an organic EL display, and the like. A touch panel having a display function functions as both the input unit 13 and the display unit 14.
[0018] The printing unit 15 is an element that prints on paper based on data received using the communication I / F. The printing unit 15 may be, for example, an inkjet type that ejects ink to record an image, or may be another type that prints. The printing unit 15 may be a type that performs black-and-white printing and color printing, or a type that performs black-and-white printing only.
[0019] The scanning unit 16 is an element that optically reads an image on a sheet of paper placed on a reading unit (not shown) of the multifunction device 10 and outputs image data. The scanning unit 16 may scan black-and-white images and color images, or may only scan black-and-white images.
[0020] FAX unit 17 has a function of transmitting image data output from scan unit 16 to external devices 1 to 3 connected via the communication I / F, and a function of reproducing an image on paper based on image data received from external devices 1 to 3 connected via the communication I / F. Print unit 15 is used to reproduce the image.
[0021] The communication I / F is an interface circuit that transmits and receives data to and from the external devices 1 to 3. The USB I / F 21 is an interface circuit that transmits and receives data to and from the external device 1 connected using USB. The wired LAN I / F 22 is an interface circuit that transmits and receives data to and from the external device 2 connected using a wired LAN. The wireless LAN I / F 23 is an interface circuit that transmits and receives data to and from the external device 3 connected using a wireless LAN. The USB I / F 21 is an example of a first communication interface. The wired LAN I / F 22 and the wireless LAN I / F 23 are examples of a second communication interface. The wired LAN I / F 22 is an example of a wired network interface. The wireless LAN I / F 23 is an example of a wireless network interface. The external device 1 is an example of a first external device. The external devices 2 and 3 are examples of a second external device.
[0022] To communicate using USB, a USB cable 25 is connected to a USB port 24 electrically connected to the USB I / F 21. A USB memory (not shown) or the like may be directly connected to the USB port 24. To communicate using a wired LAN, a LAN cable 27 is connected to a LAN port 26 electrically connected to the wired LAN I / F 22. To communicate using a wireless LAN, a wireless LAN antenna 28 is mounted on the multifunction device 10, and the wireless LAN antenna 28 is electrically connected to the wireless LAN I / F 23. The wireless LAN antenna 28 is mounted on the multifunction device 10, for example, by inserting a circuit board having the wireless LAN antenna 28 into a slot in the multifunction device 10.
[0023] As described above, the memory 12 stores the control program 31, and the CPU 11 executes the control program 31 stored in the memory 12. The input unit 13, the display unit 14, the print unit 15, the scan unit 16, the FAX unit 17, the USB I / F 21, the wired LAN I / F 22, and the wireless LAN I / F 23 operate under the control of the CPU 11. As a result, the multifunction device 10 executes a print operation, a scan operation, a FAX operation, etc.
[0024] [Initialize communication I / F] The multifunction device 10 is started when the power is turned on, reset, etc. When the multifunction device 10 is started, the CPU 11 executes the control program 31 from a predetermined location (a predetermined address in the memory 12). This location in the control program 31 contains program code for initializing the multifunction device 10. When the multifunction device 10 is started, the CPU 11 executes this program code and performs various initializations including initialization of the communication I / F.
[0025] When the multifunction device 10 is started up, the CPU 11 initializes the USB I / F 21, the wired LAN I / F 22, and the wireless LAN I / F 23. There is a difference in the time required for initialization between these three types of communication I / F. In general, the time required for initialization of the USB I / F 21 is short, whereas the time required for initialization of the wireless LAN I / F 23 is long. This is because the initialization of the wireless LAN I / F 23 involves processing such as searching for a wireless LAN access point.
[0026] In the example shown in Fig. 3, initialization of the three types of communication I / Fs starts simultaneously at time t0. Initialization of the USB I / F 21 is completed at time t1. In contrast, initialization of the wired LAN I / F 22 is completed at time t2, which is later than time t1, and initialization of the wireless LAN I / F 23 is completed at time t3, which is later than time t2. The time T2 required for initialization of the wired LAN I / F 22 is longer than the time T1 required for initialization of the USB I / F 21. The time T3 required for initialization of the wireless LAN I / F 23 is even longer than the time T2 required for initialization of the wired LAN I / F 22.
[0027] In this way, when there is a difference in the time required for initialization among the three types of communication I / F, if the CPU 11 transitions to a communication waiting state (a state in which it can accept transmission or reception of data for communication processing) after the initialization of all communication I / Fs is complete, the waiting time from startup of the multifunction device 10 until it can start communication processing becomes long. In other words, the waiting time until the user who has instructed to turn on the power or reset the multifunction device 10 becomes long until it can instruct the multifunction device 10 to transmit data. The multifunction device 10 according to this embodiment can solve this problem.
[0028] [Operation of MFP 10] The operation of the multifunction device 10 will be described with reference to FIG. 4 to FIG. 6. In particular, the initialization process of the multifunction device 10 will be described. The flowcharts in this specification basically show the process of the CPU 11 according to the instructions written in the program. That is, the processes of "judgment," "decision," "instruction," "confirmation," "transition," "acquisition," and the like in the following description represent the process of the CPU 11. Note that "acquisition" is used as a concept that does not require a request. In other words, the process of the CPU 11 receiving data without a request is also included in the concept of "the CPU 11 acquiring data." In addition, "data" in this specification is represented by a bit string that can be read by a computer. Data that has the same substantial meaning but different formats is treated as the same data. The same applies to "information" in this specification.
[0029] In the initialization process of the multifunction device 10, information stored in the memory 12 is referenced before the initialization of the communication I / F is performed. This information includes a set destination, a communication history, and a scheduled transmission mode. In the multifunction device 10, for example, a user may set a data destination in advance, and a default external device to which data is to be transmitted after startup may be determined in advance. The set destination is information indicating the external device to which the started-up multifunction device 10 will first transmit data. The communication history is history information regarding past communication processes performed by the multifunction device 10. The communication history includes external devices to which the multifunction device 10 has transmitted data in the past, and external devices from which the multifunction device 10 has received data in the past.
[0030] In the multifunction device 10, for example, a user may set a scheduled transmission mode in advance, and the scheduled transmission mode for transmitting data after startup may be determined in advance as a default. The scheduled transmission mode includes a preview image display mode indicating whether a preview image is displayed on the display unit 14 before transmitting data. When the preview image display mode is enabled, in response to receiving an instruction from the user to transmit data for communication processing, the CPU 11 displays a preview image on the display unit 14 before transmitting the data, and waits for data transmission. After displaying the preview image on the display unit 14, the CPU 11 transmits the data in response to receiving a preview confirmation operation from the user.
[0031] As shown in Fig. 4, when the multifunction device 10 is started, the CPU 11 performs various initializations required for executing the control program 31. First, the CPU 11 initializes the firmware OS (S1). The firmware OS is an OS that is installed in the multifunction device 10 in order to execute the control program 31. Next, the CPU 11 initializes drivers (S2). In S2, drivers used for communication using USB, communication using wired LAN, communication using wireless LAN, speaker control, display panel control, etc. are initialized. Next, the CPU 11 initializes libraries (S3). In S3, data for various lower level programs called from the control program 31 is initialized.
[0032] Next, the CPU 11 acquires a scheduled transmission mode from the memory 12 (S11). Next, the CPU 11 determines whether a preview image display mode included in the scheduled transmission mode acquired in S11 is valid (S12). If the CPU 11 determines that the preview image display mode is not valid (S12: No), the CPU 11 acquires communication destination information based on at least one of the set transmission destination and the communication history (S13). The communication destination information indicates an external device that is a communication destination of the communication process performed by the activated multifunction device 10.
[0033] When a specific external device is set as the set destination, the CPU 11 may acquire communication destination information including the external device set as the data destination. The CPU 11 may also acquire communication destination information including the external device stored in the communication history.
[0034] The communication destination information includes one or more external devices among the external devices 1 to 3. The communication destination information includes at least the external device 1 connected via the USB I / F 21, and one of the external devices 2 and 3 connected via the network I / F. The communication destination information does not necessarily need to include all external devices set as data transmission destinations or external devices stored in the communication history.
[0035] Next, the CPU 11 judges the communication I / F connected to the external device indicated by the communication destination information based on the communication destination information acquired in S13 (S14). When the CPU 11 judges that the communication I / F is the USB I / F 21 or that there is no communication I / F (S14: USB / none), it executes the USB priority initialization process shown in Fig. 5 (S17). When the CPU 11 judges that the communication I / F is the network I / F (the wired LAN I / F 22 or the wireless LAN I / F 23) (S14: network), it executes the network priority initialization process shown in Fig. 6 (S18). In S14, it is judged that there is no communication I / F, for example, when the set destination has not been set and the communication history has not been stored yet, or when a malfunction has occurred in the set destination or the communication history.
[0036] In response to the determination in S14 that the communication I / F includes both the USB I / F 21 and the network I / F (S14: both), the CPU 11 selects one of the external devices based on the communication history (S15). For example, the CPU 11 may acquire communication destination information including an external device recorded in the communication history as the last communication destination at the time of the previous startup of the multifunction device 10. Alternatively, the CPU 11 may acquire communication destination information including an external device recorded in the communication history as the most frequently communicated external device within a predetermined time period going back from the current time. Next, the CPU 11 determines the communication I / F connected to the external device selected in S15 (S16). In response to the determination that the communication I / F is the USB I / F 21 (S16: USB), the CPU 11 executes the USB priority initialization process shown in FIG. 5 (S17). In response to the determination that the communication I / F is the network I / F (S16: network), the CPU 11 executes the network priority initialization process shown in FIG. 6 (S18).
[0037] Furthermore, in response to determining in S12 that the preview image display mode is enabled (S12: Yes), the CPU 11 executes the USB priority initialization process shown in Fig. 5 (S17). In this case, the CPU 11 executes the USB priority initialization process shown in Fig. 5 regardless of the communication destination information.
[0038] In S17 or S18, the CPU 11 executes a first initialization process for initializing the USB I / F 21 and a second initialization process for initializing the network I / F. After executing S17 or S18, the CPU 11 repeatedly executes communication processes in response to user instructions input via the input unit 13 or instructions from the external devices 1 to 3 until the power is turned off (S19). In S19, the CPU 11 transmits or receives data to or from at least one of the external device 1 connected via the USB I / F 21 and the external devices 2 and 3 connected via the network I / F.
[0039] 5, the CPU 11 first issues an instruction to start initialization of the three types of communication I / F (S21). In S21, the CPU 11 outputs an initialization start instruction to the three types of communication I / F simultaneously or in a predetermined order. For example, the CPU 11 outputs an initialization start instruction to the USB I / F 21 first, outputs an initialization start instruction to the wired LAN I / F 22 second, and outputs an initialization start instruction to the wireless LAN I / F 23 third.
[0040] When the USB I / F 21 receives an instruction to start initialization from the CPU 11, it initializes the circuitry within the USB I / F 21, and when the initialization is completed, the initialization is completed. The wired LAN I / F 22 and the wireless LAN I / F 23 operate in the same manner. The initialization of each communication I / F mainly involves resetting the circuitry. The initialization of the wireless LAN I / F 23 also involves searching for a wireless LAN access point. The start of initialization is instructed by the CPU 11 writing a value instructing the start of initialization to the command register of each communication I / F. When the initialization of the circuit is completed, each communication I / F writes a value indicating the completion of initialization to the status register of each communication I / F, and the initialization is completed. The CPU 11 confirms the completion of initialization of each communication I / F by repeatedly checking the value of the status register of each communication I / F.
[0041] Next, the CPU 11 confirms the completion of initialization of the USB I / F 21 (S22). The CPU 11 waits in S22 until the USB I / F 21 reaches the initialization completion state. Next, the CPU 11 transitions the USB I / F 21 to a communication waiting state (a state in which transmission and reception of data for communication processing can be accepted) (S23). In S23, the CPU 11 causes the display unit 14 to display that transmission and reception of data for communication processing using the USB I / F 21 is now possible. After executing S23, the CPU 11 goes into a communication waiting state in which transmission and reception of data for communication processing using the USB I / F 21 can be accepted.
[0042] Next, the CPU 11 confirms the completion of initialization of the wired LAN I / F 22 (S24). The CPU 11 waits in S24 until the wired LAN I / F 22 is in the initialization complete state. Next, the CPU 11 confirms the completion of initialization of the wireless LAN I / F 23 (S25). The CPU 11 waits in S25 until the wireless LAN I / F 23 is in the initialization complete state. Next, the CPU 11 transitions to a communication waiting state for the network I / F (S26). In S26, the CPU 11 causes the display unit 14 to display that it has become possible to accept data transmission and reception of communication processing using the network I / F. After executing S26, the CPU 11 enters a communication waiting state in which it is possible to accept data transmission and reception of communication processing using the network I / F. After executing S26, the CPU 11 ends the USB priority initialization process shown in FIG. 5 and returns to the caller.
[0043] The USB priority initialization process shown in FIG. 5 is executed when a communication process using the USB I / F 21 is performed after the start of the multifunction device 10 based on the communication destination information acquired in S13 or selected in S16 (or when a communication process using the USB I / F 21 is predicted to be performed). In general, the time required for initialization of the USB I / F 21 is shorter than the time required for initialization of the network I / F. In the USB priority initialization process shown in FIG. 5, after the initialization of the USB I / F 21 is completed, the CPU 11 transitions to a communication waiting state in which transmission and reception of data for communication processing can be accepted without waiting for the completion of the initialization of the network I / F. This makes it possible to shorten the waiting time from the start of the multifunction device 10 until the communication process can be started when the external device indicated by the communication destination information is the external device 1 connected via the USB I / F 21.
[0044] 6, the CPU 11 first determines the last used network I / F (S31). Here, the last used network I / F means the network I / F last used for sending and receiving data for communication processing before the start-up of the multifunction device 10. The last used network I / F is either the wired LAN I / F 22 or the wireless LAN I / F 23. In S31, it is determined that there is no last used network I / F, for example, when the last used network I / F is unknown or when a predetermined time or more has passed since the communication processing using the network I / F was performed.
[0045] The CPU 11 acquires the status of the wired LAN I / F 22 (S32) in response to determining that the previously used network I / F is a wired LAN or that there is no previously used network I / F (S31: wired LAN / none). The status of the wired LAN I / F 22 acquired in S32 includes information indicating whether the multifunction device 10 is connected to a wired LAN (for example, information indicating whether the LAN cable 27 is connected to the LAN port 26). This information is an example of information indicating whether the wired LAN I / F 22 is physically in a state where communication is possible.
[0046] Next, the CPU 11 determines whether the multifunction device 10 is connected to a wired LAN based on the status acquired in S32 (S33). If the CPU 11 determines that the multifunction device 10 is connected to a wired LAN (S33: Yes), the process proceeds to S41, and if the CPU 11 determines that the multifunction device 10 is not connected to a wired LAN (S33: No), the process proceeds to S61.
[0047] In response to determining in S31 that the previously used network I / F is the wireless LAN I / F 23 (S31: wireless LAN), the CPU 11 acquires the status of the wireless LAN I / F 23 (S34). The status of the wireless LAN I / F 23 acquired in S34 includes information indicating whether the wireless LAN antenna 28 is mounted on the multifunction device 10 (for example, information indicating whether a circuit board equipped with the wireless LAN antenna 28 is inserted into a slot in the multifunction device 10). This information is an example of information indicating whether the wireless LAN I / F 23 is physically in a state where communication is possible.
[0048] Next, the CPU 11 determines whether the wireless LAN antenna 28 is installed in the multifunction device 10 based on the state acquired in S34 (S35). If the CPU 11 determines that the wireless LAN antenna 28 is installed (S35: Yes), the process proceeds to S51, and if the CPU 11 determines that the wireless LAN antenna 28 is not installed (S35: No), the process proceeds to S61.
[0049] In S41, the CPU 11 issues an instruction to start initialization of the three types of communication I / F. In S41, the CPU 11 outputs the initialization start instruction to the three types of communication I / F simultaneously or in a predetermined order. For example, the CPU 11 outputs the initialization start instruction to the wired LAN I / F 22 first, outputs the initialization start instruction to the wireless LAN I / F 23 second, and outputs the initialization start instruction to the USB I / F 21 third.
[0050] Next, the CPU 11 confirms the completion of initialization of the wired LAN I / F 22 (S42). The CPU 11 waits in S42 until the wired LAN I / F 22 is in the initialization complete state. Next, the CPU 11 transitions to a communication waiting state for the network I / F (S42). In S42, the CPU 11 causes the display unit 14 to display that it has become possible to accept transmission and reception of data for communication processing using the network I / F. After executing S42, the CPU 11 enters a communication waiting state in which it is possible to accept transmission and reception of data for communication processing using the network I / F.
[0051] Next, the CPU 11 confirms that the initialization of the wireless LAN I / F 23 is complete (S44). The CPU 11 waits in S44 until the wireless LAN I / F 23 is in an initialization complete state. Next, the CPU 11 confirms that the initialization of the USB I / F 21 is complete (S45). The CPU 11 waits in S45 until the USB I / F 21 is in an initialization complete state. Next, the CPU 11 transitions the USB I / F 21 to a communication waiting state (S46). In S46, the CPU 11 causes the display unit 14 to display that it has become possible to accept data transmission and reception of communication processing using the USB I / F 21. After executing S46, the CPU 11 enters a communication waiting state in which it is possible to accept data transmission and reception of communication processing using the USB I / F 21.
[0052] In S51, the CPU 11 issues an instruction to start initialization of the three types of communication I / F. In S51, the CPU 11 outputs the initialization start instruction to the three types of communication I / F simultaneously or in a predetermined order. For example, the CPU 11 outputs the initialization start instruction to the wired LAN I / F 22 first, outputs the initialization start instruction to the wireless LAN I / F 23 second, and outputs the initialization start instruction to the USB I / F 21 third.
[0053] Next, the CPU 11 confirms completion of initialization of the wired LAN I / F 22 (S52). The CPU 11 waits in S52 until the wired LAN I / F 22 is in an initialization complete state. Next, the CPU 11 confirms completion of initialization of the wireless LAN I / F 23 (S53). The CPU 11 waits in S53 until the wireless LAN I / F 23 is in an initialization complete state. Next, the CPU 11 transitions to a communication waiting state for the network I / F (S54). In S54, the CPU 11 causes the display unit 14 to display that it has become possible to accept transmission and reception of data for communication processing using the network I / F. After executing S54, the CPU 11 enters a communication waiting state in which it is possible to accept transmission and reception of data for communication processing using the network I / F.
[0054] Next, the CPU 11 confirms the completion of initialization of the USB I / F 21 (S55). The CPU 11 waits in S55 until the USB I / F 21 reaches the initialization completion state. Next, the CPU 11 transitions the USB I / F 21 to a communication waiting state (S56). In S56, the CPU 11 causes the display unit 14 to display that it has become possible to accept data transmission and reception of communication processing using the USB I / F 21. After executing S56, the CPU 11 enters a communication waiting state in which it is possible to accept data transmission and reception of communication processing using the USB I / F 21.
[0055] In S61, the CPU 11 issues an instruction to start initialization of the three types of communication I / F. In S61, the CPU 11 outputs the initialization start instruction to the three types of communication I / F simultaneously or in a predetermined order. For example, the CPU 11 outputs the initialization start instruction to the USB I / F 21 first, outputs the initialization start instruction to the wired LAN I / F 22 second, and outputs the initialization start instruction to the wireless LAN I / F 23 third.
[0056] Next, the CPU 11 checks whether the initialization of the USB I / F 21 is complete (S62). The CPU 11 waits in S62 until the USB I / F 21 is in an initialization complete state. Next, the CPU 11 transitions the USB I / F 21 to a communication waiting state (S63). In S63, the CPU 11 causes the display unit 14 to display that it has become possible to accept data transmission and reception of communication processing using the USB I / F 21. After executing S63, the CPU 11 enters a communication waiting state in which it is possible to accept data transmission and reception of communication processing using the USB I / F 21.
[0057] Next, the CPU 11 confirms completion of initialization of the wired LAN I / F 22 (S64). The CPU 11 waits in S64 until the wired LAN I / F 22 is in an initialization complete state. Next, the CPU 11 confirms completion of initialization of the wireless LAN I / F 23 (S65). The CPU 11 waits in S65 until the wireless LAN I / F 23 is in an initialization complete state. Next, the CPU 11 transitions to a communication waiting state for the network I / F (S66). In S66, the CPU 11 causes the display unit 14 to display that it has become possible to accept data transmission and reception of communication processing using the network I / F. After executing S66, the CPU 11 enters a communication waiting state in which it is possible to accept data transmission and reception of communication processing using the network I / F.
[0058] After executing any one of S46, S56, and S66, the CPU 11 ends the network-priority initialization process shown in FIG. 6 and returns to the caller.
[0059] 6 is executed when communication processing using the network I / F is performed (or when communication processing using the network I / F is predicted to be performed) after the start-up of the multifunction device 10 based on the communication destination information acquired in S13. After the initialization of the network I / F is completed in the network-priority initialization processing shown in FIG. 6, the CPU 11 transitions to a communication waiting state in which it is capable of accepting transmission and reception of data for communication processing.
[0060] [Effects of the embodiment] In the multifunction device 10 according to the present embodiment, the CPU 11 transitions to a communication waiting state after the initialization of the USB I / F 21 is completed without waiting for the completion of the initialization of the network I / F (executes S23 before S24 and S25) in response to the external device indicated by the communication destination information being the external device 1 connected via the USB I / F 21. The CPU 11 transitions to a communication waiting state after the initialization of the network I / F is completed in response to the external device indicated by the communication destination information being the external device 2, 3 connected via the network I / F (executes S43 after S42, and executes S54 after S53).
[0061] Therefore, according to the multifunction device 10 of this embodiment, the timing of transitioning to a communication waiting state is switched depending on which communication I / F the external device indicated in the communication destination information is connected through, thereby allowing the CPU 11 to transition to a communication waiting state as quickly as possible, thereby shortening the wait time from when the multifunction device 10 is started up until communication processing can begin.
[0062] Furthermore, when the communication destination information includes the external device 1 connected via the USB I / F 21 and the external devices 2 and 3 connected via the network I / F, the CPU 11 selects one of the external devices based on the communication history (S14: both -> S15). When the selected external device is the external device 1 connected via the USB I / F 21, the CPU 11 transitions to a communication waiting state after the initialization of the USB I / F 21 is completed, without waiting for the initialization process of the network I / F to be completed (executes S23 before S24 and S25). This allows the timing of transitioning to the communication waiting state to be suitably switched according to the mode of use.
[0063] Also, when the preview image display mode is enabled, the initialization of the network I / F is completed while the user is checking the preview image. Therefore, in this case, regardless of the communication destination state, the CPU 11 transitions to a communication waiting state without waiting for the completion of the initialization of the network I / F (executes S23 before S24 and S25). Therefore, when the user inputs a transmission instruction, the CPU 11 can promptly execute the transmission process after the user checks the preview image.
[0064] Even if the external device indicated by the communication destination information is external device 2 or 3 connected via a network I / F, if the network I / F is not physically in a state where communication is possible (S33: No and S36: No), the user may switch the communication destination to external device 1 connected via USB I / F 21. In preparation for this case, CPU 11 transitions to a communication waiting state (executes S63 before S64 and S65) without waiting for completion of initialization of the network I / F. This makes it possible to shorten the waiting time from when MFP 10 is started until communication processing can be started.
[0065] The time required for initialization of the wired LAN I / F 22 is shorter than the time required for initialization of the wireless LAN I / F 23. Therefore, when the activated multifunction device 10 performs communication processing using the wired LAN I / F 22 for the first time, the CPU 11 transitions to a communication waiting state without waiting for the completion of initialization of the wireless LAN I / F 23 (executes S42 before S43). This makes it possible to shorten the waiting time until communication processing can be started. Also, when the activated multifunction device 10 performs communication processing using the wireless LAN I / F 23 for the first time, the CPU 11 transitions to a communication waiting state after the initialization of the wireless LAN I / F 23 is completed (executes S54 after S53). This makes it possible to shorten the time from when the user inputs a transmission instruction until when the CPU 11 starts transmission processing.
[0066] [Variations] Various modifications can be made to the multifunction device 10 according to the present embodiment. For example, the CPU 11 may execute a USB-priority initialization process shown in FIG.
[0067] 7, the CPU 11 first acquires the USB connection status (S111). The USB connection status acquired in S111 includes information indicating whether the multifunction device 10 is USB connected (for example, information indicating whether the USB cable 25 is inserted into the USB port 24). This information is an example of information indicating whether the USB I / F 21 is physically in a communication-enabled state.
[0068] Next, the CPU 11 determines whether the multifunction device 10 is USB-connected based on the USB connection state acquired in S111 (S112). If the CPU 11 determines that the multifunction device 10 is USB-connected (S112: Yes), it executes S121 to S126. In S121 to S126, the same processes as S21 to S26 shown in FIG. 5 are executed.
[0069] In response to determining in S112 that there is no USB connection (S112: No), the CPU 11 instructs the three types of communication I / F to start initialization (S131). In S131, the CPU 11 outputs an initialization start instruction to the three types of communication I / F simultaneously or in a predetermined order. For example, the CPU 11 outputs an initialization start instruction to the wired LAN I / F 22 first, outputs an initialization start instruction to the wireless LAN I / F 23 second, and outputs an initialization start instruction to the USB I / F 21 third.
[0070] Next, the CPU 11 confirms completion of initialization of the wired LAN I / F 22 (S132). The CPU 11 waits in S132 until the wired LAN I / F 22 is in an initialization complete state. Next, the CPU 11 confirms completion of initialization of the wireless LAN I / F 23 (S133). The CPU 11 waits in S133 until the wireless LAN I / F 23 is in an initialization complete state. Next, the CPU 11 transitions to a communication waiting state for the network I / F (S134). In S134, the CPU 11 causes the display unit 14 to display that it has become possible to accept transmission and reception of data for communication processing using the network I / F. After executing S134, the CPU 11 enters a communication waiting state in which it is possible to accept transmission and reception of data for communication processing using the network I / F.
[0071] Next, the CPU 11 checks whether the initialization of the USB I / F 21 is complete (S135). The CPU 11 waits in S135 until the USB I / F 21 is in an initialization complete state. Next, the CPU 11 transitions the USB I / F 21 to a communication waiting state (S136). In S136, the CPU 11 causes the display unit 14 to display that it is now possible to accept data transmission and reception of communication processing using the USB I / F 21. After executing S136, the CPU 11 enters a communication waiting state in which it is now possible to accept data transmission and reception of communication processing using the USB I / F 21. After executing S126 or S136, the CPU 11 ends the network-priority initialization process shown in FIG. 7 and returns to the caller.
[0072] Even if the external device indicated by the communication destination information is the external device 1 connected via the USB I / F 21, if the USB I / F 21 is not physically in a communicable state, the user may switch the communication destination to external devices 2 and 3 connected via the network I / F. In preparation for this case, in the above modification, the CPU 11 transitions to a communication waiting state after the initialization of the network I / F is completed (S132 and S133, followed by S134).
[0073] In the above embodiment, the CPU 11 transitions the USB I / F 21 to a communication waiting state in the USB priority initialization process (FIG. 5) when it is determined that the preview image display mode is enabled, after confirming the completion of initialization of the USB I / F 21. Alternatively, in a multifunction peripheral according to a modified example, the CPU 11 may transition the USB I / F 21 to a communication waiting state in the initialization process when it is determined that the preview image display mode is enabled, without waiting for the completion of initialization of the USB I / F 21.
[0074] In the above embodiment, the CPU 11 executes S15 and S16 in response to the determination in S14 that the communication I / F includes both the USB I / F 21 and the network I / F. Alternatively, in a multifunction device according to a modified example, the CPU 11 may execute the network-prioritized initialization process shown in FIG. 6 without executing S14 and S15 in response to the determination in S14 that the communication I / F includes both the USB I / F 21 and the network I / F. In this case, the CPU 11 transitions to a communication waiting state after the initialization of the network I / F is completed. Alternatively, the CPU 11 may execute the USB-prioritized initialization process shown in FIG. 5 without executing S14 and S15 in response to the determination in S14 that the communication I / F includes both the USB I / F 21 and the network I / F. Which initialization process is to be executed may be preliminarily determined in the multifunction device 10 in a fixed manner, or may be selected by the user.
[0075] In the above embodiment, the CPU 11 outputs the initialization start instruction to the three types of communication I / Fs simultaneously or in a predetermined order, and then checks the initialization completion of each communication I / F. Alternatively, in a multifunction peripheral according to a modified example, the CPU 11 may output the initialization start instruction and check the initialization completion in order for each communication I / F. For example, the CPU 11 may first perform a process of outputting an initialization start instruction for a communication I / F for which the confirmation of the initialization completion should be performed with the highest priority and a process of checking the initialization completion of the communication I / F, then a process of outputting an initialization start instruction for a communication I / F for which the confirmation of the initialization completion should be performed with the second priority and a process of checking the initialization completion of the communication I / F, and then a process of outputting an initialization start instruction for a communication I / F for which the confirmation of the initialization completion should be performed with the third priority and a process of checking the initialization completion of the communication I / F.
[0076] In the above embodiment, an example has been described in which the processes executed by the controller of the present invention are realized by the CPU 11 executing the control program 31 stored in the memory 12 in the multifunction device 10. However, the configuration of the controller is not limited to this, and a part or the whole of the controller may be realized by hardware such as an integrated circuit.
[0077] Furthermore, the present invention can be realized not only as the multifunction device 10, but also as a control program 31 that causes the CPU 11 of the multifunction device 10 to execute processing. The program may be provided by being recorded on a non-transitory recording medium. The non-transitory recording medium may include a CD-ROM, a DVD-ROM, or a storage unit mounted on a server that can be connected to the multifunction device 10 and external devices via a communication network. The program stored in the storage unit of the server may be distributed as information or a signal indicating the program via a communication network such as the Internet. [Explanation of symbols]
[0078] 1...External device (1st external device) 2, 3...External device (second external device) 10...Multifunction device (communication device) 11 CPU (controller) 21 USB I / F (first communication interface) 22 Wired LAN I / F (second communication interface) 23 Wireless LAN I / F (second communication interface) 31 Control program (program)
Claims
1. A first communication interface; A second communication interface; A communication device comprising: The above controller is a first initialization process for initializing the first communication interface; a second initialization process for initializing the second communication interface; a communication process for transmitting or receiving data between at least one of a first external device connected via the first communication interface and a second external device connected via the second communication interface; A time required for the first initialization process is shorter than a time required for the second initialization process, The above controller is acquiring communication destination information before execution of the first initialization process and the second initialization process, the communication destination information including at least one of the first external device and the second external device; Executing the first initialization process and the second initialization process on condition that the communication device is started; transitioning to a communication waiting state in which transmission and reception of the data of the communication process can be accepted after the first initialization process is completed, without waiting for the completion of the second initialization process, in response to the external device indicated by the communication destination information being the first external device; The communication device transitions to the communication waiting state after the second initialization process is completed in response to the external device indicated in the communication destination information being the second external device.
2. The communication device according to claim 1 , wherein the controller acquires the communication destination information including an external device set as a destination of the data.
3. Stores communication history, The communication device according to claim 1 or 2, wherein the controller acquires the communication destination information including the external device stored in the communication history.
4. The above controller is selecting one of the external devices based on the communication history in response to the external devices indicated by the communication destination information including the first external device and the second external device; The communication device according to claim 3, wherein when the selected external device is the first external device, after the first initialization process is completed, the communication device transitions to the communication waiting state without waiting for the completion of the second initialization process.
5. A communication device as described in any one of claims 1 to 3, wherein the controller transitions to the communication waiting state after the second initialization process is completed in response to the external devices indicated in the communication destination information including the first external device and the second external device.
6. Further comprising a display unit, The above controller is a scheduled transmission mode is acquired before the first initialization process and the second initialization process are executed, the scheduled transmission mode including at least a mode of displaying a preview image on the display unit before transmitting the data; A communication device as described in any one of claims 1 to 5, wherein when a mode for displaying the preview image is enabled in the planned transmission mode, the communication device transitions to the communication waiting state without waiting for completion of the second initialization process, regardless of the communication destination information.
7. The above controller is determining whether the second communication interface is physically in a communicable state in response to the external device indicated by the communication destination information being the second external device; A communication device as described in any one of claims 1 to 6, which transitions to the communication waiting state after the first initialization process is completed in response to determining that the second communication interface is not physically in a state capable of communication, without waiting for the completion of the second initialization process.
8. The above controller is determining whether the first communication interface is physically in a communicable state in response to the external device indicated by the communication destination information being the first external device; 8. A communication device as described in any one of claims 1 to 7, which transitions to the communication waiting state after the second initialization process is completed in response to determining that the first communication interface is not physically in a state capable of communication.
9. The second communication interface is a wired network interface or a wireless network interface; The above controller is determining whether the second communication interface is the wired network interface or the wireless network interface in response to the external device indicated by the communication destination information being the second external device; In response to determining that the second communication interface is the wired network interface, transitioning to the communication waiting state without waiting for completion of the initialization process of the wireless network interface in the second initialization process; A communication device as described in any one of claims 1 to 8, which transitions to the communication waiting state after the initialization processing of the wireless network interface of the second initialization processing is completed in response to determining that the second communication interface is the wireless network interface.
10. A first communication interface; A second communication interface; A communication device comprising: The above controller is a first initialization process for initializing the first communication interface; a second initialization process for initializing the second communication interface; a communication process for transmitting or receiving data between at least one of a first external device connected via the first communication interface and a second external device connected via the second communication interface; The above controller is acquiring communication destination information before execution of the first initialization process and the second initialization process, the communication destination information including at least one of the first external device and the second external device; Executing the first initialization process and the second initialization process on condition that the communication device is started; transitioning to a communication waiting state in which transmission and reception of the data of the communication process can be accepted after the first initialization process is completed in response to the external device indicated by the communication destination information being the first external device; The communication device transitions to the communication waiting state after the second initialization process is completed in response to the external device indicated in the communication destination information being the second external device.
11. A program executed by a controller in a communication device including a first communication interface, a second communication interface, and a controller, The above program is a first initialization process for initializing the first communication interface; a second initialization process for initializing the second communication interface; a communication process for transmitting or receiving data between at least one of a first external device connected via the first communication interface and a second external device connected via the second communication interface; A time required for the first initialization process is shorter than a time required for the second initialization process, The above program is causing the controller to execute an acquisition process for acquiring communication destination information before execution of the first initialization process and the second initialization process, the communication destination information including at least one of the first external device and the second external device; causing the controller to execute the first initialization process and the second initialization process on condition that the communication device is started; causing the controller to execute a process of transitioning to a communication waiting state in which transmission and reception of the data of the communication process can be accepted after the first initialization process is completed, without waiting for the second initialization process to be completed, in response to the external device indicated by the communication destination information being the first external device; A program that causes the controller to execute a process of transitioning to the communication waiting state after the second initialization process is completed in response to the external device indicated in the communication destination information being the second external device.
12. A program executed by a controller in a communication device including a first communication interface, a second communication interface, and a controller, The above program is a first initialization process for initializing the first communication interface; a second initialization process for initializing the second communication interface; a communication process for transmitting or receiving data between at least one of a first external device connected via the first communication interface and a second external device connected via the second communication interface; The above program is causing the controller to execute an acquisition process for acquiring communication destination information before execution of the first initialization process and the second initialization process, the communication destination information including at least one of the first external device and the second external device; causing the controller to execute the first initialization process and the second initialization process on condition that the communication device is started; causing the controller to execute a process of transitioning to a communication waiting state in which transmission and reception of the data of the communication process can be accepted after the first initialization process is completed in response to the external device indicated by the communication destination information being the first external device; A program that causes the controller to execute a process of transitioning to the communication waiting state after the second initialization process is completed in response to the external device indicated in the communication destination information being the second external device.
Citation Information
Patent Citations
Information processing apparatus and program
JP2008085554A
Information processing apparatus and control method
JP2014048730A
Printer, control method of printer and program
JP2014108545A
Information processing device
JP2021016941A