WO2022259709A1 - 通信装置及びプログラム - Google Patents

通信装置及びプログラム Download PDF

Info

Publication number
WO2022259709A1
WO2022259709A1 PCT/JP2022/014332 JP2022014332W WO2022259709A1 WO 2022259709 A1 WO2022259709 A1 WO 2022259709A1 JP 2022014332 W JP2022014332 W JP 2022014332W WO 2022259709 A1 WO2022259709 A1 WO 2022259709A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication
external device
initialization
destination information
controller
Prior art date
Application number
PCT/JP2022/014332
Other languages
English (en)
French (fr)
Inventor
宣夫 水谷
ポーチュン チュー
Original Assignee
ブラザー工業株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ブラザー工業株式会社 filed Critical ブラザー工業株式会社
Publication of WO2022259709A1 publication Critical patent/WO2022259709A1/ja
Priority to US18/522,690 priority Critical patent/US20240098201A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32037Automation of particular transmitter jobs, e.g. multi-address calling, auto-dialing
    • H04N1/32096Checking the destination, e.g. correspondence of manual input with stored destination
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/0035User-machine interface; Control console
    • H04N1/00405Output means
    • H04N1/00408Display of information to the user, e.g. menus
    • H04N1/0044Display of information to the user, e.g. menus for image preview or review, e.g. to help the user position a sheet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00912Arrangements for controlling a still picture apparatus or components thereof not otherwise provided for
    • H04N1/00928Initialisation or control of normal start-up or shut-down, i.e. non failure or error related

Definitions

  • the present invention relates to a communication device having multiple types of communication interfaces and a program for the communication device.
  • a multi-function peripheral (abbreviated as MFP) with a USB interface and a network interface is known.
  • the network interfaces include wired network interfaces and wireless network interfaces.
  • the communication device performs various initializations including initialization of the communication interface when it is started (for example, when the power is turned on). After various initializations are completed, the communication device transitions to a state in which it can receive data transmission/reception with an external device (hereinafter referred to as a communication waiting state).
  • 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 notifies the host device of an error that occurred during initialization of the printing means in response to completion of initialization of an interface for executing communication with the host device.
  • a first logical port is opened for receiving print data from a host device, and a second logical port is opened for receiving print data from a host device in response to completion of initialization of the printing means.
  • the communication interfaces there are those that take a long time to initialize and those that take a short time to initialize. For this reason, in a communication device having a plurality of types of communication interfaces, there is a difference in initialization completion timing among the plurality of types of communication interfaces. Therefore, in a communication device equipped with a plurality of types of communication interfaces, if the state transitions to the communication waiting state after initialization of all the communication interfaces is completed, the waiting time from the startup of the device to the start of communication processing becomes longer. put away.
  • the present invention has been made in view of the above circumstances, and its object is to provide a means for shortening the waiting time from device activation until communication processing can be started.
  • a communication device which is an example of the disclosed example, includes a first communication interface, a second communication interface, and a controller.
  • the controller performs a first initialization process for initializing the first communication interface, a second initialization process for initializing the second communication interface, and a first external device connected via the first communication interface. and a communication process of transmitting or receiving data to or from at least one of the device 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, and 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 the first initialization process and the second initialization process are performed on condition that the communication device is activated. and without waiting for the completion of the second initialization process after the first initialization process is completed according to the fact that the external device indicated by the communication destination information is the first external device,
  • the second initialization process is completed in response to transition to a communication waiting state capable of accepting transmission/reception of the data in the communication process, and the external device indicated by the communication destination information being the second external device. Later, it transitions to the communication waiting state.
  • FIG. 1 is a diagram showing the configuration of a system including a multifunction machine 10 according to this embodiment.
  • FIG. 2 is a block diagram of the MFP 10 according to this embodiment.
  • FIG. 3 is a diagram showing the time required for initialization of the communication interface by the MFP 10 according to this embodiment.
  • FIG. 4 is a flow chart showing the operation of the MFP 10 according to this embodiment.
  • FIG. 5 is a flowchart of USB priority initialization processing of the multifunction device 10 according to the present embodiment.
  • FIG. 6 is a flowchart of network priority initialization processing of the MFP 10 according to the present embodiment.
  • FIG. 7 is a flowchart of USB priority initialization processing of the multifunction peripheral according to the modification.
  • FIG. 1 A system including a multi-function device 10 according to the present embodiment will be described with reference to FIG.
  • the system shown in FIG. 1 includes a multifunction machine 10 and three external devices 1-3.
  • the MFP 10 has a print function, a scan function, a FAX function, and the like.
  • the multi-function device 10 and the external devices 1 to 3 are communicably connected using different communication interfaces (hereinafter also referred to as I/F).
  • I/F different communication interfaces
  • the MFP 10 and the external device 1 are connected using USB.
  • the MFP 10 and the external device 2 are connected using a wired LAN.
  • the MFP 10 and the external device 3 are connected using a wireless LAN.
  • the external devices 1 to 3 are arbitrary devices that can communicate with the MFP 10.
  • the external devices 1 to 3 are, for example, personal computers, business computers, terminal devices, mobile phones, smart phones, tablet terminals, and the like.
  • the external devices 1 to 3 may be data servers, data storages, printers, facsimile devices, relay devices for communication, and the like.
  • the MFP 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 is provided. These elements are connected using an internal bus 18 .
  • a USB I/F 21, a wired LAN I/F 22, and a wireless LAN I/F 23 are communication I/Fs. Among them, the wired LAN I/F 22 and the wireless LAN I/F 23 are network I/Fs.
  • the MFP 10 is an example of a communication device.
  • the CPU 11 controls the operation of the MFP 10.
  • the CPU 11 is stored in the memory 12 based on instructions and information from the user input using the input unit 13, various types of information received from the external devices 1 to 3 connected via the communication I/F, and the like. Then, the control program 31 is executed.
  • the CPU 11 is an example of a controller of the communication device.
  • the memory 12 stores the control program 31 executed by the CPU 11 and data or information necessary for executing the control program 31 .
  • the memory 12 is composed of, for example, a RAM, a ROM, an EEPROM, an HDD, a portable storage medium such as a USB memory detachable from the multifunction machine 10, a buffer provided in the CPU 11, or a combination thereof.
  • the control program 31 is an example of a program executed by the controller of the communication device.
  • the memory 12 may be a computer-readable storage medium.
  • a computer-readable storage medium is a non-transitory medium.
  • non-transitory media include recording media such as CD-ROMs and DVD-ROMs.
  • a non-transitory medium is also a tangible medium.
  • an electrical signal that carries a program downloaded from a server on the Internet is a computer-readable signal medium, which is a kind of computer-readable medium, but is a non-transitory computer-readable storage. Not included in media.
  • the input unit 13 is an element that is operated by the user to input instructions, information, etc. to the multifunction device 10 .
  • the input unit 13 is, for example, a touch panel or the like.
  • the display unit 14 is an element that displays the status of the MFP 10, messages, and the like on the screen.
  • the display unit 14 is, for example, a liquid crystal display, an organic EL display, or the like.
  • a touch panel having a display function functions as the input unit 13 and the display unit 14 .
  • the print unit 15 is an element that prints on paper based on data received using the communication I/F.
  • the printing unit 15 may perform printing by, for example, an inkjet method in which an image is recorded by ejecting ink, or may perform printing by another method.
  • the printing unit 15 may perform black-and-white printing and color printing, or may perform only black-and-white printing.
  • the scanning unit 16 is an element that optically reads an image on a sheet 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 scan only black-and-white images.
  • the FAX unit 17 has a function of transmitting the image data output from the scanning unit 16 to the external devices 1 to 3 connected via the communication I/F, and a function of transmitting the image data to the external devices 1 to 3 connected via the communication I/F. and a function of reproducing an image on paper based on the image data received from 3.
  • a print unit 15 is used for image reproduction.
  • the communication I/F is an interface circuit that transmits and receives data to and from the external devices 1-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.
  • USB I/F 21 is an example of a first communication interface.
  • the wired LAN I/F 22 and wireless LAN I/F 23 are examples of the second communication interface.
  • Wired LAN I/F 22 is an example of a wired network interface.
  • 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.
  • a USB cable 25 is connected to the USB port 24 electrically connected to the USB I/F 21 in order to communicate using USB.
  • a USB memory (not shown) or the like may be directly connected to the USB port 24 .
  • a LAN cable 27 is connected to the LAN port 26 electrically connected to the wired LAN I/F 22 in order to communicate using the wired LAN.
  • a wireless LAN antenna 28 is mounted on the multi-function device 10 to communicate using a wireless LAN, 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 by, for example, inserting a circuit board having the wireless LAN antenna 28 into a slot of the multifunction device 10 .
  • 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 , display unit 14 , print unit 15 , scan unit 16 , FAX unit 17 , USB I/F 21 , wired LAN I/F 22 and wireless LAN I/F 23 operate according to control from the CPU 11 .
  • the MFP 10 performs printing, scanning, FAX operations, and the like.
  • the MFP 10 is activated when the power is turned on, reset, or the like.
  • the CPU 11 executes the control program 31 from a predetermined location (predetermined address of the memory 12). This location in the control program 31 contains program code for initializing the MFP 10 .
  • the CPU 11 executes this program code when the MFP 10 is activated, and performs various initializations including initialization of the communication I/F.
  • the CPU 11 initializes the USB I/F 21, the wired LAN I/F 22, and the wireless LAN I/F 23 when the MFP 10 is started. There is a difference in the time required for initialization between these three types of communication I/Fs. 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 when the wireless LAN I/F 23 is initialized, processing such as searching for a wireless LAN access point is performed.
  • initialization of three types of communication I/Fs starts simultaneously at time t0.
  • Initialization of the USB I/F 21 is completed at time t1.
  • the initialization of the wired LAN I/F 22 is completed at time t2 later than time t1
  • the initialization of the wireless LAN I/F 23 is completed at time t3 later than time t2.
  • the required time T2 for initializing the wired LAN I/F 22 is longer than the required time T1 for initializing the USB I/F 21 .
  • the required time T3 for initializing the wireless LAN I/F 23 is longer than the required time T2 for initializing the wired LAN I/F 22 .
  • the CPU 11 waits for communication (data for communication processing). ), the waiting time from the activation of the MFP 10 to the start of communication processing becomes longer. In other words, the standby time until the user who instructed power-on or reset becomes ready to instruct the multi-function device 10 to transmit data becomes longer.
  • the multifunction machine 10 according to this embodiment can solve this problem.
  • information stored in the memory 12 is referenced before executing the initialization of the communication I/F.
  • This information includes set destinations, communication history, and scheduled transmission modes.
  • the user may set the destination of data in advance so that the destination external device to which the data is to be sent after startup is determined in advance as a default.
  • the set transmission destination is information indicating an external device to which the activated multifunction device 10 first transmits data.
  • the communication history is history information related to past communication processing performed by the MFP 10 .
  • the communication history includes external devices to which the MFP 10 has sent data in the past and external devices to which the MFP 10 has received data in the past.
  • the user may set the scheduled transmission mode in advance so that the scheduled transmission mode for transmitting data after startup is predetermined as a default.
  • the scheduled transmission mode includes a preview image display mode indicating whether to display a preview image on the display unit 14 before transmitting data.
  • the CPU 11 displays a preview image on the display unit 14 before transmitting the data in response to receiving an instruction to transmit the data for communication processing from the user, and transmits the data. stand by. 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.
  • the CPU 11 performs various initializations necessary for executing the control program 31 when the multifunction device 10 is started.
  • the CPU 11 first initializes the firmware OS (S1).
  • the firmware OS is an OS installed in the MFP 10 to execute the control program 31 .
  • the CPU 11 initializes the driver (S2). In S2, initialization of drivers used for communication using USB, communication using wired LAN, communication using wireless LAN, speaker control, display panel control, and the like is performed.
  • the CPU 11 initializes the library (S3). In S3, data of various lower programs called from the control program 31 are initialized.
  • the CPU 11 acquires the scheduled transmission mode from the memory 12 (S11). Next, the CPU 11 determines whether the preview image display mode included in the scheduled transmission mode acquired in S11 is valid (S12). When 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 the external device of the communication destination of communication processing performed by the activated multifunction device 10 .
  • the CPU 11 may acquire communication destination information including the external device set as the data destination. Further, the CPU 11 may acquire communication destination information including external devices stored in the communication history.
  • the communication destination information includes one or more external devices among the external devices 1-3.
  • the communication destination information includes 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.
  • the communication destination information does not necessarily include all of the external devices set as data transmission destinations and the external devices stored in the communication history.
  • the CPU 11 determines the communication I/F connected to the external device indicated by the communication destination information (S14).
  • the CPU 11 executes the USB priority initialization process shown in FIG. (S17).
  • the CPU 11 determines that the communication I/F is the network I/F (wired LAN I/F 22 or wireless LAN I/F 23) (S14: network)
  • the network priority initialization shown in FIG. conversion processing is executed (S18).
  • S14 for example, when the setting transmission destination is not set and the communication history is not yet stored, or when a problem occurs in the setting transmission destination or communication history, etc., if there is no communication I / F be judged.
  • the CPU 11 determines in S14 that the communication I/F includes both the USB I/F 21 and the network I/F (S14: both), it selects one of the external devices based on the communication history ( S15).
  • the CPU 11 may acquire communication destination information including, for example, an external device recorded in the communication history as the last communication destination when the MFP 10 was last activated. Alternatively, the CPU 11 may acquire communication destination information including an external device whose communication history records the most frequent communication within a predetermined period of time going back from the current time.
  • the CPU 11 determines the communication I/F connected to the external device selected in S15 (S16).
  • the CPU 11 determines that the communication I/F is the USB I/F 21 (S16: USB)
  • the CPU 11 determines 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).
  • 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.
  • 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 the communication process according to the user's instruction input via the input unit 13 or the instruction 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.
  • the CPU 11 first instructs the start of initialization of the three types of communication I/Fs (S21).
  • S21 the CPU 11 outputs initialization start instructions to the three types of communication I/Fs simultaneously or in a predetermined order.
  • the CPU 11 first outputs an initialization start instruction to the USB I/F 21, second outputs an initialization start instruction to the wired LAN I/F 22, and third outputs an initialization start instruction to the wireless LAN I/F 23. output an initialization start instruction to
  • the USB I/F 21 When the USB I/F 21 receives an initialization start instruction from the CPU 11, it initializes the circuits within the USB I/F 21, and when the initialization is completed, it enters the initialization complete state.
  • the wired LAN I/F 22 and wireless LAN I/F 23 also operate in the same way.
  • Initialization of each communication I/F mainly involves resetting the circuit.
  • a search for wireless LAN access points is also performed.
  • 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.
  • Each communication I/F writes a value indicating the completion of initialization to the status register of each communication I/F when the initialization of the circuit is completed, and enters the initialization completion state.
  • the CPU 11 confirms completion of initialization of each communication I/F by repeatedly checking the value of the status register of each communication I/F.
  • 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.
  • the CPU 11 shifts 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).
  • the CPU 11 causes the display unit 14 to display that data transmission/reception for communication processing using the USB I/F 21 can be accepted.
  • the CPU 11 enters a communication waiting state in which data transmission/reception for communication processing using the USB I/F 21 can be accepted.
  • the CPU 11 confirms completion of initialization of the wired LAN I/F 22 (S24).
  • the CPU 11 waits in S24 until the wired LAN I/F 22 reaches the initialization completion state.
  • the CPU 11 confirms completion of initialization of the wireless LAN I/F 23 (S25).
  • the CPU 11 waits in S25 until the wireless LAN I/F 23 reaches the initialization completion state.
  • the CPU 11 transitions to a communication waiting state for the network I/F (S26).
  • the CPU 11 causes the display unit 14 to display that the transmission and reception of data for communication processing using the network I/F can also be accepted.
  • the CPU 11 After executing S26, the CPU 11 enters a communication waiting state in which transmission and reception of data for communication processing using the network I/F can also be accepted. After executing S26, the CPU 11 ends the USB priority initialization process shown in FIG. 5 and returns to the caller.
  • the USB priority initialization process shown in FIG. 5 is based on the communication destination information acquired in S13 or selected in S16, when the communication process using the USB I/F 21 is performed after the multifunction machine 10 is started (or Executed when it is predicted that communication processing using the USB I/F 21 will be performed). In general, the time required to initialize the USB I/F 21 is shorter than the time required to initialize the network I/F.
  • the CPU 11 can accept data transmission/reception for communication processing without waiting for the completion of initialization of the network I/F. communication waiting state. As a result, when the external device indicated by the communication destination information is the external device 1 connected via the USB I/F 21, the waiting time from the activation of the multifunction device 10 to the start of communication processing can be shortened.
  • the CPU 11 first determines the previously used network I/F (S31).
  • the previously used network I/F means the network I/F that was last used for transmission/reception of data for communication processing before the MFP 10 was activated.
  • the network I/F used last time is either the wired LAN I/F 22 or the wireless LAN I/F 23.
  • S31 for example, when the network I/F used last time is unknown, or when a predetermined time or more has passed since communication processing using the network I/F was performed, the network I/F used last time It is determined that there is no /F.
  • the state of the wired LAN I/F 22 acquired in S32 includes information indicating whether the MFP 10 is connected to the wired LAN (for example, information indicating whether the LAN cable 27 is connected to the LAN port 26). is This information is an example of information indicating whether the wired LAN I/F 22 is physically ready for communication.
  • the CPU 11 determines whether the MFP 10 is connected to the wired LAN based on the state acquired in S32 (S33).
  • the CPU 11 determines that the wired LAN is connected (S33: Yes)
  • the CPU 11 proceeds to S41
  • the CPU 11 proceeds to S61.
  • the CPU 11 determines in S31 that the previously used network I/F is the wireless LAN I/F 23 (S31: wireless LAN)
  • the CPU 11 acquires the state of the wireless LAN I/F 23 (S34).
  • the state 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, if the circuit board with the wireless LAN antenna 28 is in the slot of the multifunction device 10). information indicating whether it is inserted). This information is an example of information indicating whether the wireless LAN I/F 23 is physically ready for communication.
  • the CPU 11 determines whether the wireless LAN antenna 28 is mounted on the multifunction device 10 based on the state obtained in S34 (S35).
  • the CPU 11 determines that the wireless LAN antenna 28 is mounted (S35: Yes)
  • it proceeds to S51
  • it proceeds to S61. proceed to
  • the CPU 11 instructs to start initializing the three types of communication I/Fs.
  • the CPU 11 outputs initialization start instructions to the three types of communication I/Fs simultaneously or in a predetermined order. For example, the CPU 11 first outputs an initialization start instruction to the wired LAN I/F 22, second outputs an initialization start instruction to the wireless LAN I/F 23, and third outputs an initialization start instruction to the USB I/F 21. output an initialization start instruction to
  • the CPU 11 confirms completion of initialization of the wired LAN I/F 22 (S42).
  • the CPU 11 waits in S42 until the wired LAN I/F 22 reaches the initialization completion state.
  • the CPU 11 transitions to a communication waiting state for the network I/F (S42).
  • the CPU 11 causes the display unit 14 to display that it has become possible to receive and transmit data for communication processing using the network I/F.
  • the CPU 11 enters a communication waiting state in which data transmission/reception for communication processing using the network I/F can be accepted.
  • the CPU 11 confirms completion of initialization of the wireless LAN I/F 23 (S44).
  • the CPU 11 waits in S44 until the wireless LAN I/F 23 reaches the initialization completion state.
  • the CPU 11 confirms completion of initialization of the USB I/F 21 (S45).
  • the CPU 11 waits in S45 until the USB I/F 21 reaches the initialization completion state.
  • the CPU 11 transitions to the communication waiting state for the USB I/F 21 (S46).
  • the CPU 11 causes the display unit 14 to display that data transmission/reception for communication processing using the USB I/F 21 can also be accepted.
  • the CPU 11 enters a communication waiting state in which transmission and reception of data for communication processing using the USB I/F 21 can also be accepted.
  • the CPU 11 instructs to start initializing the three types of communication I/Fs.
  • the CPU 11 outputs initialization start instructions to the three types of communication I/Fs simultaneously or in a predetermined order. For example, the CPU 11 first outputs an initialization start instruction to the wired LAN I/F 22, second outputs an initialization start instruction to the wireless LAN I/F 23, and third outputs an initialization start instruction to the USB I/F 21. output an initialization start instruction to
  • 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 reaches the initialization completion state.
  • 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 reaches the initialization completion state.
  • the CPU 11 transitions to a communication waiting state for the network I/F (S54).
  • the CPU 11 causes the display unit 14 to display that data transmission/reception for communication processing using the network I/F can be accepted.
  • the CPU 11 enters a communication waiting state in which data transmission/reception for communication processing using the network I/F can also be accepted.
  • 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.
  • the CPU 11 transitions to the communication waiting state for the USB I/F 21 (S56).
  • the CPU 11 causes the display unit 14 to display that data transmission/reception for communication processing using the USB I/F 21 can also be accepted.
  • the CPU 11 enters a communication waiting state in which transmission and reception of data for communication processing using the USB I/F 21 can also be accepted.
  • the CPU 11 instructs to start initializing the three types of communication I/Fs.
  • the CPU 11 outputs initialization start instructions to the three types of communication I/Fs simultaneously or in a predetermined order. For example, the CPU 11 first outputs an initialization start instruction to the USB I/F 21, second outputs an initialization start instruction to the wired LAN I/F 22, and third outputs an initialization start instruction to the wireless LAN I/F 23. output an initialization start instruction to
  • the CPU 11 confirms the completion of initialization of the USB I/F 21 (S62).
  • the CPU 11 waits in S62 until the USB I/F 21 reaches the initialization completion state.
  • the CPU 11 transitions to the communication waiting state for the USB I/F 21 (S63).
  • the CPU 11 causes the display unit 14 to display that data transmission/reception for communication processing using the USB I/F 21 can be accepted.
  • the CPU 11 enters a communication waiting state in which data transmission/reception for communication processing using the USB I/F 21 can be accepted.
  • 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 reaches the initialization completion state.
  • 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 reaches the initialization completion state.
  • the CPU 11 transitions to a communication waiting state for the network I/F (S66).
  • the CPU 11 causes the display unit 14 to display that data transmission/reception for communication processing using the network I/F can also be accepted.
  • the CPU 11 enters a communication waiting state in which data transmission/reception for communication processing using the network I/F can also be accepted.
  • the CPU 11 After executing any of S46, S56, and S66, the CPU 11 ends the network priority initialization process shown in FIG. 6 and returns to the caller.
  • the network priority initialization process shown in FIG. 6 is performed when communication processing using the network I/F is performed after the MFP 10 is started based on the communication destination information acquired in S13 (or when the network I/F is used). is expected to be performed).
  • the CPU 11 transitions to a communication waiting state in which transmission and reception of data for communication processing can be accepted.
  • the CPU 11 initializes the USB I/F 21 in response to the fact that the external device indicated by the communication destination information is the external device 1 connected via the USB I/F 21.
  • the state transitions to the communication waiting state (S23 is executed before S24 and S25).
  • the CPU 11 enters a communication waiting state after initialization of the network I/F is completed in response to the fact that the external devices indicated by the communication destination information are the external devices 2 and 3 connected via the network I/F. Transition (execute S43 after S42, execute S54 after S53).
  • the timing of transition to the communication waiting state can be switched according to which communication I/F the external device indicated by the communication destination information is connected.
  • the CPU 11 can be shifted to the communication waiting state as soon as possible, and the waiting time from the activation of the multifunction device 10 to the start of communication processing can be shortened.
  • the CPU 11 checks the communication history (S14: Both ⁇ S15).
  • the CPU 11 notifies the completion of the initialization process of the network I/F after the initialization of the USB I/F 21 is completed. Without waiting, it transits to the communication waiting state (S23 is executed before S24 and S25). As a result, the timing of transition to the communication waiting state can be suitably switched according to the mode of use.
  • the CPU 11 transits to the communication waiting state (executes S23 before S24 and S25) without waiting for the completion of initialization of the network I/F regardless of the communication destination state. Therefore, when the user inputs a transmission instruction, the CPU 11 can quickly execute the transmission process after the user confirms the preview image.
  • the external devices indicated by the communication destination information are the external devices 2 and 3 connected via the network I/F, if the network I/F is not physically communicable (S33: No, and S36: No), the user may switch the communication destination to the external device 1 connected via the USB I/F21.
  • the CPU 11 transitions to the communication waiting state without waiting for the completion of initialization of the network I/F (executes S63 before S64 and S65). As a result, the waiting time from when the MFP 10 is activated until the communication process can be started can be shortened.
  • the time required for initializing the wired LAN I/F 22 is shorter than the time required for initializing the wireless LAN I/F 23. Therefore, when the activated MFP 10 first performs communication processing using the wired LAN I/F 22, the CPU 11 enters the communication waiting state without waiting for the completion of the initialization of the wireless LAN I/F 23. Transition (execute S42 before S43). As a result, the waiting time until communication processing can be started can be shortened. Also, when the activated MFP 10 first performs communication processing using the wireless LAN I/F 23, the CPU 11 transitions to the communication waiting state after the initialization of the wireless LAN I/F 23 is completed ( S54 is executed after S53). As a result, the time from when the user inputs the transmission instruction to when the CPU 11 starts the transmission process can be shortened.
  • the CPU 11 may execute the USB priority initialization process shown in FIG. 7 instead of the USB priority initialization process shown in FIG.
  • the CPU 11 first acquires the USB connection state (S111).
  • the USB connection status acquired in S111 includes information indicating whether the MFP 10 is USB-connected (for example, information indicating whether the USB cable 25 is inserted in the USB port 24). This information is an example of information indicating whether the USB I/F 21 is physically ready for communication.
  • the CPU 11 determines whether the MFP 10 is USB-connected based on the USB connection status acquired in S111 (S112).
  • the CPU 11 executes S121 to S126 in response to determining that the USB connection is established (S112: Yes).
  • S121 to S126 the same processing as S21 to S26 shown in FIG. 5 is performed.
  • the CPU 11 determines in S112 that the USB connection is not established (S112: No), it instructs to start initializing the three types of communication I/Fs (S131).
  • the CPU 11 outputs initialization start instructions to the three types of communication I/Fs simultaneously or in a predetermined order. For example, the CPU 11 first outputs an initialization start instruction to the wired LAN I/F 22, second outputs an initialization start instruction to the wireless LAN I/F 23, and third outputs an initialization start instruction to the USB I/F 21. output an initialization start instruction to
  • 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 reaches the initialization completion state.
  • 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 reaches the initialization completion state.
  • the CPU 11 transitions to a communication waiting state for the network I/F (S134).
  • the CPU 11 causes the display unit 14 to display that data transmission/reception for communication processing using the network I/F can be accepted.
  • the CPU 11 enters a communication waiting state in which data transmission/reception for communication processing using the network I/F can be accepted.
  • the CPU 11 confirms completion of initialization of the USB I/F 21 (S135).
  • the CPU 11 waits in S135 until the USB I/F 21 reaches the initialization completion state.
  • the CPU 11 transitions to the communication waiting state for the USB I/F 21 (S136).
  • the CPU 11 causes the display unit 14 to display that data transmission/reception for communication processing using the USB I/F 21 can also be accepted.
  • the CPU 11 enters a communication waiting state in which transmission and reception of data for communication processing using the USB I/F 21 can also be accepted.
  • the CPU 11 ends the network priority initialization process shown in FIG. 7 and returns to the caller.
  • the external device indicated by the communication destination information is the external device 1 connected via the USB I/F 21
  • the USB I/F 21 is not physically communicable, the user can set the communication destination to the network. There is a possibility of switching to external devices 2 and 3 connected via the I/F.
  • the CPU 11 transits to the communication waiting state after the initialization of the network I/F is completed (S134 after S132 and S133).
  • the CPU 11 confirms the completion of initialization of the USB I/F 21 in the USB priority initialization process (FIG. 5) when it is determined that the preview image display mode is valid, and then communicates about the USB I/F 21. It was decided to transition to the waiting state. Instead of this, in the MFP according to the modified example, the CPU 11 does not wait for the completion of the initialization of the USB I/F 21 in the initialization process when it is determined that the preview image display mode is valid. may transition to the communication waiting state.
  • the CPU 11 executes S15 and S16 in response to determining in S14 that the communication I/F includes both the USB I/F 21 and the network I/F.
  • the CPU 11 performs S14 and S15 in response to determining in S14 that the communication I/F includes both the USB I/F 21 and the network I/F.
  • the network priority initialization process shown in FIG. 6 may be executed without execution. In this case, the CPU 11 transitions to the communication waiting state after initialization of the network I/F is completed. Alternatively, the CPU 11 determines in S14 that the communication I/F includes both the USB I/F 21 and the network I/F.
  • Priority initialization processing may be executed. Which initialization process is to be executed may be fixedly determined in advance in the MFP 10, or may be selected by the user.
  • the CPU 11 outputs initialization start instructions to the three types of communication I/Fs at the same time or in a predetermined order, and then confirms completion of initialization of each communication I/F. .
  • the CPU 11 may sequentially output the initialization start instruction and confirm the completion of initialization for each communication I/F. For example, the CPU 11 first performs a process of outputting an initialization start instruction for the communication I/F whose initialization completion should be confirmed with the highest priority, and a process of confirming the completion of initialization of the communication I/F.
  • each process executed by the controller of the present invention is realized by the CPU 11 executing the control program 31 stored in the memory 12 in the MFP 10 .
  • the configuration of the controller is not limited to this, and part or all of it may be realized by hardware such as an integrated circuit.
  • 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 recorded on a non-transitory recording medium and provided.
  • the non-transitory recording medium may include a CD-ROM, a DVD-ROM, etc., and a storage unit installed in a server that can be connected to the MFP 10 and external devices via a communication network. Then, the program stored in the storage unit of the server may be distributed through a communication network such as the Internet as information or a signal indicating the program.
  • External device first external device
  • second external device 10
  • CPU control circuit
  • USB I/F first communication interface
  • Wired LAN I/F second communication interface
  • Wireless LAN I/F second communication interface
  • Control program program

Abstract

装置の起動から通信処理を開始できるまでの待機時間を短くできる手段を提供する。複合機10のCPU11は、USB I/F21を初期化する処理と、有線LAN I/F22及び無線LAN I/F23を含むネットワークI/Fを初期化する処理と、外部装置との間でデータを送受信する通信処理とを実行する。CPU11は、各通信I/Fを初期化する前に通信先情報を取得し、通信先情報で示される外部装置がUSB I/F21を介して接続された外部装置であることに応じて、USB I/F21の初期化処理が完了した後に、ネットワークI/Fの初期化処理の完了を待たずに、通信処理のデータの送受信を受け付け可能な通信待ち状態に遷移する。

Description

通信装置及びプログラム
 本発明は、複数種類の通信インタフェースを備えた通信装置、及び通信装置のプログラムに関する。
 複数種類の通信インタフェースを備えた通信装置として、USBインタフェースとネットワークインタフェースとを備えた複合機(Multi-Function Peripheral:MFPと略称される)が知られている。ネットワークインタフェースには、有線ネットワークインタフェースと無線ネットワークインタフェースとが含まれる。通信装置は、起動時(例えば、電源投入時)に、通信インタフェースの初期化を含む各種の初期化を行う。通信装置は、各種の初期化が完了した後に、外部装置との間のデータの送受信を受け付け可能な状態(以下、通信待ち状態と称される)に遷移する。
 特許文献1には、電源投入時に通信インタフェースを初期化する印刷装置の例が開示されている。特許文献1に記載の印刷装置の制御手段は、ホスト装置と通信を実行するためのインタフェースの初期化が完了したことに応じて、印刷手段の初期化中に発生したエラーをホスト装置に通知するための第1の論理ポートを開き、印刷手段の初期化が完了したことに応じて、印刷データをホスト装置から受信するための第2の論理ポートを開く。
特開2014-108545号公報
 通信インタフェースの中には、初期化の所要時間が長いものと、初期化の所要時間が短いものとがある。このため、複数種類の通信インタフェースを備えた通信装置では、複数種類の通信インタフェースの間で初期化の完了タイミングに差異が生じる。したがって、複数種類の通信インタフェースを備えた通信装置において、すべての通信インタフェースの初期化が完了した後に通信待ち状態に遷移した場合、装置の起動から通信処理を開始できるまでの待機時間が長くなってしまう。
 本発明は、上記の事情に鑑みてなされたものであり、その目的は、装置の起動から通信処理を開始できるまでの待機時間を短くできる手段を提供することにある。
 本明細書では様々な開示を行う。開示例の一例である通信装置は、第1通信インタフェースと、第2通信インタフェースと、コントローラと、を備えている。上記コントローラは、上記第1通信インタフェースを初期化する第1初期化処理と、上記第2通信インタフェースを初期化する第2初期化処理と、上記第1通信インタフェースを介して接続された第1外部装置、及び上記第2通信インタフェースを介して接続された第2外部装置の少なくとも一方との間でデータを送信又は受信する通信処理と、を実行する。上記第1初期化処理の所要時間は、上記第2初期化処理の所要時間よりも短く、上記コントローラは、上記第1初期化処理及び上記第2初期化処理の実行前に通信先情報を取得し、上記通信先情報は、少なくとも上記第1外部装置及び上記第2外部装置の一方を含むものであり、上記通信装置の起動を条件として、上記第1初期化処理及び上記第2初期化処理を実行し、上記通信先情報で示される外部装置が上記第1外部装置であることに応じて、上記第1初期化処理が完了した後に、上記第2初期化処理の完了を待たずに、上記通信処理の上記データの送受信を受け付け可能な通信待ち状態に遷移し、上記通信先情報で示される外部装置が上記第2外部装置であることに応じて、上記第2初期化処理が完了した後に、上記通信待ち状態に遷移する。
 上記の構成によれば、装置の起動から通信処理を開始できるまでの待機時間を短くできる。
図1は、本実施形態に係る複合機10を含むシステムの構成を示す図である。 図2は、本実施形態に係る複合機10のブロック図である。 図3は、本実施形態に係る複合機10による通信インタフェースの初期化の所要時間を示す図である。 図4は、本実施形態に係る複合機10の動作を示すフローチャートである。 図5は、本実施形態に係る複合機10のUSB優先初期化処理のフローチャートである。 図6は、本実施形態に係る複合機10のネットワーク優先初期化処理のフローチャートである。 図7は、変形例に係る複合機のUSB優先初期化処理のフローチャートである。
 以下、適宜図面を参照して本発明の実施形態について説明する。なお、以下に説明される実施形態は本発明の一例にすぎず、本発明の要旨を変更しない範囲で、本発明の実施形態を適宜変更できることは言うまでもない。例えば、後述する各処理の実行順序は、本発明の要旨を変更しない範囲で、適宜変更することができる。
[システムの構成]
 図1が参照されて、本実施形態に係る複合機10を含むシステムが説明される。図1に示されるシステムは、複合機10と、3台の外部装置1~3とを備えている。複合機10は、プリント機能、スキャン機能、FAX機能等を有する。複合機10と外部装置1~3とは、互いに異なる通信インタフェース(以下、I/Fとも記載される)を用いて通信可能に接続されている。図1に示されるシステムでは、複合機10と外部装置1とは、USBを用いて接続されている。複合機10と外部装置2とは、有線LANを用いて接続されている。複合機10と外部装置3とは、無線LANを用いて接続されている。
 外部装置1~3は、複合機10と通信可能な任意の装置である。外部装置1~3は、例えば、パーソナルコンピュータ、ビジネスコンピュータ、端末装置、携帯電話、スマートフォン、タブレット端末等である。外部装置1~3は、データサーバ、データストレージ、プリンタ、ファクシミリ装置、通信用の中継装置等であってもよい。
[複合機10の構成]
 複合機10は、図2に示されるように、CPU11、メモリ12、入力部13、表示部14、プリント部15、スキャン部16、FAX部17、USB I/F21、有線LAN I/F22、及び無線LAN I/F23を備えている。これらの要素は、内部バス18を用いて接続されている。USB I/F21、有線LAN I/F22、及び無線LAN I/F23は、通信I/Fである。このうち、有線LAN I/F22、及び無線LAN I/F23は、ネットワークI/Fである。複合機10は、通信装置の一例である。
 CPU11は、複合機10の動作を制御する。CPU11は、入力部13を用いて入力されたユーザからの指示や情報、通信I/Fを介して接続された外部装置1~3から受信された各種の情報等に基づき、メモリ12に記憶された制御プログラム31を実行する。CPU11は、通信装置のコントローラの一例である。
 メモリ12は、CPU11が実行する制御プログラム31と、制御プログラム31の実行に必要なデータ或いは情報とを記憶している。メモリ12は、例えば、RAM、ROM、EEPROM、HDD、複合機10に着脱されるUSBメモリ等の可搬記憶媒体、CPU11が備えるバッファ等、或いはこれらの組み合わせによって構成される。制御プログラム31は、通信装置のコントローラが実行するプログラムの一例である。
 メモリ12は、コンピュータが読み取り可能なストレージ媒体であってもよい。コンピュータが読み取り可能なストレージ媒体とは、non-transitoryな媒体である。non-transitoryな媒体には、上記の例の他に、CD-ROM、DVD-ROM等の記録媒体も含まれる。また、non-transitoryな媒体は、tangibleな媒体でもある。一方、インターネット上のサーバなどからダウンロードされるプログラムを搬送する電気信号は、コンピュータが読み取り可能な媒体の一種であるコンピュータが読み取り可能な信号媒体であるが、non-transitoryなコンピュータが読み取り可能なストレージ媒体には含まれない。
 入力部13は、ユーザが操作して複合機10に指示や情報等を入力するための要素である。入力部13は、例えば、タッチパネル等である。表示部14は、複合機10の状態やメッセージ等を画面に表示する要素である。表示部14は、例えば、液晶ディスプレイ、有機ELディスプレイ等である。表示機能を有するタッチパネルは、入力部13及び表示部14として機能する。
 プリント部15は、通信I/Fを用いて受信したデータに基づき用紙に印刷を行う要素である。プリント部15は、例えば、インクを吐出して画像を記録するインクジェト方式で印刷を行うものでもよく、他の方式で印刷を行うものでもよい。プリント部15は、白黒印刷とカラー印刷とを行うものでもよく、白黒印刷だけを行うものでもよい。
 スキャン部16は、複合機10の読み取り部(不図示)に載置された用紙上の画像を光学的に読み取り、画像データを出力する要素である。スキャン部16は、白黒画像のスキャンとカラー画像のスキャンとを行うものでもよく、白黒画像のスキャンだけを行うものでもよい。
 FAX部17は、スキャン部16から出力された画像データを通信I/Fを介して接続された外部装置1~3に送信する機能と、通信I/Fを介して接続された外部装置1~3から受信した画像データに基づき用紙に画像を再現する機能とを有する。画像の再現には、プリント部15が使用される。
 通信I/Fは、外部装置1~3との間でデータを送受信するインタフェース回路である。USB I/F21は、USBを用いて接続された外部装置1との間でデータを送受信するインタフェース回路である。有線LAN I/F22は、有線LANを用いて接続された外部装置2との間でデータを送受信するインタフェース回路である。無線LAN I/F23は、無線LANを用いて接続された外部装置3との間でデータを送受信するインタフェース回路である。USB I/F21は、第1通信インタフェースの一例である。有線LAN I/F22、及び無線LAN I/F23は、第2通信インタフェースの一例である。有線LAN I/F22は、有線ネットワークインタフェースの一例である。無線LAN I/F23は、無線ネットワークインタフェースの一例である。外部装置1は、第1外部装置の一例である。外部装置2、3は、第2外部装置の一例である。
 USBを用いて通信を行うために、USB I/F21に電気的に接続されたUSBポート24には、USBケーブル25が接続される。USBポート24には、USBメモリ(不図示)等が直接接続されてもよい。有線LANを用いて通信を行うために、有線LAN I/F22に電気的に接続されたLANポート26には、LANケーブル27が接続される。無線LANを用いて通信を行うために、複合機10には無線LANアンテナ28が実装され、無線LANアンテナ28は無線LAN I/F23に電気的に接続される。無線LANアンテナ28は、例えば、無線LANアンテナ28を有する回路基板を複合機10のスロットに挿入することにより、複合機10に実装される。
 上述されたように、メモリ12は制御プログラム31を記憶し、CPU11はメモリ12に記憶された制御プログラム31を実行する。入力部13、表示部14、プリント部15、スキャン部16、FAX部17、USB I/F21、有線LAN I/F22、及び無線LAN I/F23は、CPU11からの制御に従い動作する。これにより、複合機10は、プリント動作、スキャン動作、FAX動作等を実行する。
[通信I/Fの初期化]
 複合機10は、電源投入時や、リセット時等に起動される。複合機10の起動時に、CPU11は、制御プログラム31を所定の位置(メモリ12の所定のアドレス)から実行する。制御プログラム31の当該位置には、複合機10を初期化するプログラムコードが含まれている。CPU11は、複合機10の起動時に、このプログラムコードを実行し、通信I/Fの初期化を含む各種の初期化を行う。
 CPU11は、複合機10の起動時に、USB I/F21、有線LAN I/F22、及び無線LAN I/F23を初期化する。これら3種類の通信I/Fの間では、初期化の所要時間に差異がある。一般に、USB I/F21の初期化の所要時間は短いのに対して、無線LAN I/F23の初期化の所要時間は長い。無線LAN I/F23の初期化では、無線LANのアクセスポイントを探す処理等が行われるからである。
 図3に示される例では、3種類の通信I/Fの初期化は、時刻t0において同時に開始される。USB I/F21の初期化は、時刻t1において完了する。これに対して、有線LAN I/F22の初期化は時刻t1よりも遅い時刻t2において完了し、無線LAN I/F23の初期化は時刻t2よりも遅い時刻t3において完了する。有線LAN I/F22の初期化の所要時間T2は、USB I/F21の初期化の所要時間T1よりも長い。無線LAN I/F23の初期化の所要時間T3は、有線LAN I/F22の初期化の所要時間T2よりもさらに長い。
 このように3種類の通信I/Fの間で初期化の所要時間に差異がある場合において、すべての通信I/Fの初期化が完了した後で、CPU11が通信待ち状態(通信処理のデータの送信又は受信を受け付け可能な状態)に遷移した場合、複合機10の起動から通信処理を開始できるまでの待機時間が長くなる。すなわち、電源投入や、リセットを指示したユーザが、複合機10に対してデータの送信を指示可能な状態となるまでの待機時間が長くなる。本実施形態に係る複合機10によれば、この課題を解決できる。
[複合機10の動作]
 図4から図6が参照されて、複合機10の動作が説明される。特に、複合機10の初期化処理が説明される。本明細書のフローチャートは、基本的に、プログラムに記述された命令に従ったCPU11の処理を示す。すなわち、以下の説明における「判断」、「決定」、「指示」、「確認」、「遷移」、「取得」等の処理は、CPU11の処理を表している。なお、「取得」は要求を必須とはしない概念で用いる。すなわち、CPU11が要求することなくデータを受信するという処理も、「CPU11がデータを取得する」という概念に含まれる。また、本明細書中の「データ」とは、コンピュータに読取可能なビット列で表される。そして、実質的な意味内容が同じでフォーマットが異なるデータは、同一のデータとして扱われるものとする。本明細書中の「情報」についても同様である。
 複合機10の初期化処理では、通信I/Fの初期化を実行する前に、メモリ12に記憶された情報が参照される。この情報には、設定送信先、通信履歴、及び予定送信モードが含まれる。複合機10では、例えば、ユーザがデータの送信先を予め設定しておくことにより、起動後にデータを送信する送信先の外部装置がデフォルトとして予め決定されている場合がある。設定送信先は、起動された複合機10が最初にデータを送信する送信先の外部装置を示す情報である。通信履歴は、複合機10が行った過去の通信処理に関する履歴情報である。通信履歴には、複合機10が過去にデータを送信した外部装置、及び複合機10が過去にデータを受信した外部装置が含まれる。
 複合機10では、例えば、ユーザが予定送信モードを予め設定しておくことにより、起動後にデータを送信するときの予定送信モードがデフォルトとして予め決定されている場合がある。予定送信モードには、データを送信する前に表示部14にプレビュー画像を表示するかを示すプレビュー画像表示モードが含まれる。プレビュー画像表示モードが有効な場合、CPU11は、ユーザから通信処理のデータの送信指示を受けたことに応じて、当該データを送信する前にプレビュー画像を表示部14に表示させ、データの送信を待機する。CPU11は、プレビュー画像を表示部14に表示させた後に、ユーザからプレビューの確認操作を受けたことに応じて、当該データを送信する。
 図4に示されるように、複合機10の起動時に、CPU11は、制御プログラム31の実行に必要な各種の初期化を行う。CPU11は、まず、ファームウエアOSを初期化する(S1)。ファームウエアOSは、制御プログラム31を実行するために複合機10に搭載されるOSである。次に、CPU11は、ドライバを初期化する(S2)。S2では、USBを用いた通信、有線LANを用いた通信、無線LANを用いた通信、スピーカ制御、表示パネル制御等に使用されるドライバの初期化が行われる。次に、CPU11は、ライブラリを初期化する(S3)。S3では、制御プログラム31から呼び出される各種の下位プログラムのデータが初期化される。
 次に、CPU11は、メモリ12から予定送信モードを取得する(S11)。次に、CPU11は、S11で取得した予定送信モードに含まれるプレビュー画像表示モードが有効かを判断する(S12)。CPU11は、プレビュー画像表示モードが有効でないと判断したことに応じて(S12:No)、設定送信先と通信履歴との少なくとも一方に基づく通信先情報を取得する(S13)。通信先情報は、起動された複合機10が行う通信処理の通信先の外部装置を示す。
 設定送信先として特定の外部装置が設定されている場合には、CPU11はデータの送信先として設定されている外部装置を含む通信先情報を取得してもよい。また、CPU11は、通信履歴に記憶されている外部装置を含む通信先情報を取得してもよい。
 通信先情報は、外部装置1~3のうち、1台以上の外部装置を含んでいる。通信先情報は、少なくとも、USB I/F21を介して接続された外部装置1、及びネットワークI/Fを介して接続された外部装置2、3の一方を含んでいる。通信先情報は、データの送信先として設定されている外部装置や、通信履歴に記憶されている外部装置のすべてを必ずしも含む必要はない。
 次に、CPU11は、S13で取得された通信先情報に基づき、通信先情報が示す外部装置に接続された通信I/Fについて判断する(S14)。CPU11は、通信I/FがUSB I/F21であるか、又は通信I/Fがないと判断したことに応じて(S14:USB/なし)、図5に示されるUSB優先初期化処理を実行する(S17)。CPU11は、通信I/FがネットワークI/Fである(有線LAN I/F22又は無線LAN I/F23である)と判断したことに応じて(S14:ネットワーク)、図6に示されるネットワーク優先初期化処理を実行する(S18)。S14では、例えば、設定送信先が設定されておらず、且つ通信履歴がまだ記憶されていない場合や、設定送信先や通信履歴に不具合等が発生した場合等に、通信I/Fがないと判断される。
 CPU11は、S14において通信I/FにUSB I/F21とネットワークI/Fの両方が含まれると判断したことに応じて(S14:両方)、通信履歴に基づきいずれかの外部装置を選択する(S15)。CPU11は、例えば、複合機10の前回の起動時の最後の通信先として通信履歴に記録されている外部装置を含む通信先情報を取得してもよい。或いは、CPU11は、現時点から遡って所定の時間内に最も頻繁に通信したことが通信履歴に記録されている外部装置を含む通信先情報を取得してもよい。次に、CPU11は、S15で選択された外部装置に接続された通信I/Fについて判断する(S16)。CPU11は、通信I/FがUSB I/F21であると判断したことに応じて(S16:USB)、図5に示されるUSB優先初期化処理を実行する(S17)。CPU11は、通信I/FがネットワークI/Fであると判断したことに応じて(S16:ネットワーク)、図6に示されるネットワーク優先初期化処理を実行する(S18)。
 また、CPU11は、S12においてプレビュー画像表示モードが有効であると判断したことに応じて(S12:Yes)、図5に示されるUSB優先初期化処理を実行する(S17)。この場合、CPU11は、通信先情報に拘わらず、図5に示されるUSB優先初期化処理を実行する。
 CPU11は、S17又はS18において、USB I/F21を初期化する第1初期化処理、及びネットワークI/Fを初期化する第2初期化処理を実行する。CPU11は、S17又はS18を実行した後、電源が切断されるまで、入力部13を介して入力されるユーザの指示、又は外部装置1~3からの指示に応じて、通信処理を繰り返し実行する(S19)。CPU11は、S19において、USB I/F21を介して接続された外部装置1、及びネットワークI/Fを介して接続された外部装置2、3の少なくとも一方との間でデータを送信又は受信する。
 図5に示されるUSB優先初期化処理において、CPU11は、まず、3種類の通信I/Fの初期化開始を指示する(S21)。CPU11は、S21において、3種類の通信I/Fに対して同時、或いは所定の順序で初期化開始指示を出力する。CPU11は、例えば、1番目にUSB I/F21に対して初期化開始指示を出力し、2番目に有線LAN I/F22に対して初期化開始指示を出力し、3番目に無線LAN I/F23に対して初期化開始指示を出力する。
 USB I/F21は、CPU11から初期化開始指示を受け取ると、USB I/F21内の回路を初期化し、初期化が完了したときに初期化完了状態になる。有線LAN I/F22及び無線LAN I/F23も、同様に動作する。各通信I/Fの初期化では、主に回路のリセットが行われる。無線LAN I/F23の初期化では、無線LANのアクセスポイントの探索等も行われる。初期化開始は、CPU11が各通信I/Fのコマンドレジスタに初期化開始を指示する値を書き込むことにより指示される。各通信I/Fは、回路の初期化が完了したときに、各通信I/Fのステータスレジスタに初期化完了を示す値を書き込み、初期化完了状態になる。CPU11は、各通信I/Fのステータスレジスタの値を繰り返し調べることにより、各通信I/Fの初期化完了を確認する。
 次に、CPU11は、USB I/F21の初期化完了を確認する(S22)。CPU11は、USB I/F21が初期化完了状態になるまでS22で待機する。次に、CPU11は、USB I/F21について通信待ち状態(通信処理のデータの送受信を受け付け可能な状態)に遷移する(S23)。CPU11は、S23において、USB I/F21を用いた通信処理のデータの送受信を受け付け可能になったことを表示部14に表示させる。CPU11は、S23を実行した後、USB I/F21を用いた通信処理のデータの送受信を受け付け可能な通信待ち状態となる。
 次に、CPU11は、有線LAN I/F22の初期化完了を確認する(S24)。CPU11は、有線LAN I/F22が初期化完了状態になるまでS24で待機する。次に、CPU11は、無線LAN I/F23の初期化完了を確認する(S25)。CPU11は、無線LAN I/F23が初期化完了状態になるまでS25で待機する。次に、CPU11は、ネットワークI/Fについて通信待ち状態に遷移する(S26)。CPU11は、S26において、ネットワークI/Fを用いた通信処理のデータの送受信も受け付け可能になったことを表示部14に表示させる。CPU11は、S26を実行した後、ネットワークI/Fを用いた通信処理のデータの送受信も受け付け可能な通信待ち状態になる。CPU11は、S26を実行した後、図5に示されるUSB優先初期化処理を終了し、呼び出し元に戻る。
 図5に示されるUSB優先初期化処理は、S13で取得、又はS16で選択された通信先情報に基づき、複合機10の起動後にUSB I/F21を用いた通信処理が行われる場合(或いは、USB I/F21を用いた通信処理が行われると予測される場合)に実行される。一般に、USB I/F21の初期化の所要時間は、ネットワークI/Fの初期化の所要時間よりも短い。CPU11は、図5に示されるUSB優先初期化処理において、USB I/F21の初期化が完了した後、ネットワークI/Fの初期化の完了を待たずに、通信処理のデータの送受信を受け付け可能な通信待ち状態に遷移する。これにより、通信先情報で示される外部装置がUSB I/F21を介して接続される外部装置1である場合に、複合機10の起動から通信処理を開始できるまでの待機時間を短くできる。
 図6に示されるネットワーク優先初期化処理において、CPU11は、まず、前回使用したネットワークI/Fについて判断する(S31)。ここで、前回使用したネットワークI/Fとは、複合機10の起動前に最後に通信処理のデータの送受信に使用されたネットワークI/Fを意味する。前回使用したネットワークI/Fは、有線LAN I/F22、及び無線LAN I/F23のいずれかである。なお、S31では、例えば、前回使用したネットワークI/Fが不明である場合や、ネットワークI/Fを用いた通信処理を行ってから所定以上の時間が経過した場合等に、前回使用したネットワークI/Fがないと判断される。
 CPU11は、前回使用したネットワークI/Fが有線LANであるか、又は前回使用したネットワークI/Fがないと判断したことに応じて(S31:有線LAN/なし)、有線LAN I/F22の状態を取得する(S32)。S32で取得される有線LAN I/F22の状態には、複合機10が有線LANに接続されているかを示す情報(例えば、LANポート26にLANケーブル27が接続されているかを示す情報)が含まれている。この情報は、有線LAN I/F22が物理的に通信可能な状態にあるかを示す情報の一例である。
 次に、CPU11は、S32で取得された状態に基づき、複合機10が有線LANに接続されているかを判断する(S33)。CPU11は、有線LANに接続されていると判断したことに応じて(S33:Yes)S41へ進み、有線LANに接続されていないと判断したことに応じて(S33:No)S61へ進む。
 CPU11は、S31において前回使用したネットワークI/Fが無線LAN I/F23であると判断したことに応じて(S31:無線LAN)、無線LAN I/F23の状態を取得する(S34)。S34で取得される無線LAN I/F23の状態には、無線LANアンテナ28が複合機10に実装されているかを示す情報(例えば、無線LANアンテナ28を備えた回路基板が複合機10のスロットに挿入されているかを示す情報)が含まれている。この情報は、無線LAN I/F23が物理的に通信可能な状態にあるかを示す情報の一例である。
 次に、CPU11は、S34で取得された状態に基づき、無線LANアンテナ28が複合機10に実装されているかを判断する(S35)。CPU11は、無線LANアンテナ28が実装されていると判断したことに応じて(S35:Yes)S51へ進み、無線LANアンテナ28が実装されていないと判断したことに応じて(S35:No)S61へ進む。
 CPU11は、S41において、3種類の通信I/Fの初期化開始を指示する。CPU11は、S41において、3種類の通信I/Fに対して同時、或いは所定の順序で初期化開始指示を出力する。CPU11は、例えば、1番目に有線LAN I/F22に対して初期化開始指示を出力し、2番目に無線LAN I/F23に対して初期化開始指示を出力し、3番目にUSB I/F21に対して初期化開始指示を出力する。
 次に、CPU11は、有線LAN I/F22の初期化完了を確認する(S42)。CPU11は、有線LAN I/F22が初期化完了状態になるまでS42で待機する。次に、CPU11は、ネットワークI/Fについて通信待ち状態に遷移する(S42)。CPU11は、S42において、ネットワークI/Fを用いた通信処理のデータの送受信を受け付け可能になったことを表示部14に表示させる。CPU11は、S42を実行した後、ネットワークI/Fを用いた通信処理のデータの送受信を受け付け可能な通信待ち状態になる。
 次に、CPU11は、無線LAN I/F23の初期化完了を確認する(S44)。CPU11は、無線LAN I/F23が初期化完了状態になるまでS44で待機する。次に、CPU11は、USB I/F21の初期化完了を確認する(S45)。CPU11は、USB I/F21が初期化完了状態になるまでS45で待機する。次に、CPU11は、USB I/F21について通信待ち状態に遷移する(S46)。CPU11は、S46において、USB I/F21を用いた通信処理のデータの送受信も受け付け可能になったことを表示部14に表示させる。CPU11は、S46を実行した後、USB I/F21を用いた通信処理のデータの送受信も受け付け可能な通信待ち状態になる。
 CPU11は、S51において、3種類の通信I/Fの初期化開始を指示する。CPU11は、S51において、3種類の通信I/Fに対して同時、或いは所定の順序で初期化開始指示を出力する。CPU11は、例えば、1番目に有線LAN I/F22に対して初期化開始指示を出力し、2番目に無線LAN I/F23に対して初期化開始指示を出力し、3番目にUSB I/F21に対して初期化開始指示を出力する。
 次に、CPU11は、有線LAN I/F22の初期化完了を確認する(S52)。CPU11は、有線LAN I/F22が初期化完了状態になるまでS52で待機する。次に、CPU11は、無線LAN I/F23の初期化完了を確認する(S53)。CPU11は、無線LAN I/F23が初期化完了状態になるまでS53で待機する。次に、CPU11は、ネットワークI/Fについて通信待ち状態に遷移する(S54)。CPU11は、S54において、ネットワークI/Fを用いた通信処理のデータの送受信を受け付け可能になったことを表示部14に表示させる。CPU11は、S54を実行した後、ネットワークI/Fを用いた通信処理のデータの送受信も受け付け可能な通信待ち状態になる。
 次に、CPU11は、USB I/F21の初期化完了を確認する(S55)。CPU11は、USB I/F21が初期化完了状態になるまでS55で待機する。次に、CPU11は、USB I/F21について通信待ち状態に遷移する(S56)。CPU11は、S56において、USB I/F21を用いた通信処理のデータの送受信も受け付け可能になったことを表示部14に表示させる。CPU11は、S56を実行した後、USB I/F21を用いた通信処理のデータの送受信も受け付け可能な通信待ち状態になる。
 CPU11は、S61において、3種類の通信I/Fの初期化開始を指示する。CPU11は、S61において、3種類の通信I/Fに対して同時、或いは所定の順序で初期化開始指示を出力する。CPU11は、例えば、1番目にUSB I/F21に対して初期化開始指示を出力し、2番目に有線LAN I/F22に対して初期化開始指示を出力し、3番目に無線LAN I/F23に対して初期化開始指示を出力する。
 次に、CPU11は、USB I/F21の初期化完了を確認する(S62)。CPU11は、USB I/F21が初期化完了状態になるまでS62で待機する。次に、CPU11は、USB I/F21について通信待ち状態に遷移する(S63)。CPU11は、S63において、USB I/F21を用いた通信処理のデータの送受信を受け付け可能になったことを表示部14に表示させる。CPU11は、S63を実行した後、USB I/F21を用いた通信処理のデータの送受信を受け付け可能な通信待ち状態になる。
 次に、CPU11は、有線LAN I/F22の初期化完了を確認する(S64)。CPU11は、有線LAN I/F22が初期化完了状態になるまでS64で待機する。次に、CPU11は、無線LAN I/F23の初期化完了を確認する(S65)。CPU11は、無線LAN I/F23が初期化完了状態になるまでS65で待機する。次に、CPU11は、ネットワークI/Fについて通信待ち状態に遷移する(S66)。CPU11は、S66において、ネットワークI/Fを用いた通信処理のデータの送受信も受け付け可能になったことを表示部14に表示させる。CPU11は、S66を実行した後、ネットワークI/Fを用いた通信処理のデータの送受信も受け付け可能な通信待ち状態になる。
 CPU11は、S46、S56、及びS66のいずれかを実行した後、図6に示されるネットワーク優先初期化処理を終了し、呼び出し元に戻る。
 図6に示されるネットワーク優先初期化処理は、S13で取得された通信先情報に基づき、複合機10の起動後にネットワークI/Fを用いた通信処理が行われる場合(或いは、ネットワークI/Fを用いた通信処理が行われると予測される場合)に実行される。CPU11は、図6に示されるネットワーク優先初期化処理において、ネットワークI/Fの初期化が完了した後に、通信処理のデータの送受信を受け付け可能な通信待ち状態に遷移する。
[実施形態の作用効果]
 本実施形態に係る複合機10では、CPU11は、通信先情報で示される外部装置がUSB I/F21を介して接続された外部装置1であることに応じて、USB I/F21の初期化が完了した後に、ネットワークI/Fの初期化の完了を待たずに、通信待ち状態に遷移する(S24及びS25の前にS23を実行)。CPU11は、通信先情報で示される外部装置がネットワークI/Fを介して接続された外部装置2、3であることに応じて、ネットワークI/Fの初期化が完了した後に、通信待ち状態に遷移する(S42の後にS43を実行、S53の後にS54を実行)。
 したがって、本実施形態に係る複合機10によれば、通信待ち状態に遷移するタイミングを、通信先情報で示される外部装置がいずれの通信I/Fを介して接続されているかに応じて切り換えることにより、CPU11をできるだけ早く通信待ち状態に遷移させて、複合機10の起動から通信処理を開始できるまでの待機時間を短くできる。
 また、通信先情報にUSB I/F21を介して接続された外部装置1と、ネットワークI/Fを介して接続された外部装置2、3とが含まれている場合に、CPU11は、通信履歴に基づきいずれかの外部装置を選択する(S14:両方→S15)。選択された外部装置がUSB I/F21を介して接続された外部装置1である場合に、CPU11は、USB I/F21の初期化が完了した後に、ネットワークI/Fの初期化処理の完了を待たずに、通信待ち状態に遷移する(S24及びS25の前にS23を実行)。これにより、通信待ち状態に遷移するタイミングを利用形態に応じて好適に切り換えることができる。
 また、プレビュー画像表示モードが有効である場合には、ネットワークI/Fの初期化は、ユーザがプレビュー画像を確認している間に完了する。したがって、この場合には、CPU11は、通信先状態に拘わらず、ネットワークI/Fの初期化の完了を待たずに、通信待ち状態に遷移する(S24及びS25の前にS23を実行)。したがって、ユーザが送信指示を入力した場合、ユーザがプレビュー画像を確認した後に、CPU11は速やかに送信処理を実行できる。
 通信先情報で示される外部装置がネットワークI/Fを介して接続された外部装置2、3である場合でも、ネットワークI/Fが物理的に通信可能な状態でない場合には(S33:No、及びS36:No)、ユーザが通信先をUSB I/F21を介して接続された外部装置1に切り換える可能性がある。この場合に備えて、CPU11は、ネットワークI/Fの初期化の完了を待たずに、通信待ち状態に遷移する(S64及びS65の前にS63を実行)。これにより、複合機10の起動から通信処理を開始できるまでの待機時間を短くできる。
 有線LAN I/F22の初期化の所要時間は、無線LAN I/F23の初期化の所要時間よりも短い。このため、起動された複合機10が最初に有線LAN I/F22を用いた通信処理を行う場合には、CPU11は、無線LAN I/F23の初期化の完了を待たずに、通信待ち状態に遷移する(S43の前にS42を実行)。これにより、通信処理を開始できるまでの待機時間を短くできる。また、起動された複合機10が最初に無線LAN I/F23を用いた通信処理を行う場合には、CPU11は、無線LAN I/F23の初期化が完了した後に、通信待ち状態に遷移する(S53の後にS54を実行)。これにより、ユーザが送信指示を入力してから、CPU11が送信処理を開始するまでの時間を短くできる。
[変形例]
 本実施形態に係る複合機10については、各種の変形例を構成できる。例えば、CPU11は、図5に示されるUSB優先初期化処理に代えて、図7に示されるUSB優先初期化処理を実行してもよい。
 図7に示されるUSB優先初期化処理において、CPU11は、まず、USB接続状態を取得する(S111)。S111で取得されるUSB接続状態には、複合機10がUSB接続されているかを示す情報(例えば、USBポート24にUSBケーブル25が挿入されているかを示す情報)が含まれている。この情報は、USB I/F21が物理的に通信可能な状態にあるかを示す情報の一例である。
 次に、CPU11は、S111で取得されたUSB接続状態に基づき、複合機10がUSB接続されているかを判断する(S112)。CPU11は、USB接続されていると判断したことに応じて(S112:Yes)、S121からS126を実行する。S121からS126では、図5に示されるS21からS26と同じ処理が実行される。
 CPU11は、S112においてUSB接続されていないと判断したことに応じて(S112:No)、3種類の通信I/Fの初期化開始を指示する(S131)。CPU11は、S131において、3種類の通信I/Fに対して同時、或いは所定の順序で初期化開始指示を出力する。CPU11は、例えば、1番目に有線LAN I/F22に対して初期化開始指示を出力し、2番目に無線LAN I/F23に対して初期化開始指示を出力し、3番目にUSB I/F21に対して初期化開始指示を出力する。
 次に、CPU11は、有線LAN I/F22の初期化完了を確認する(S132)。CPU11は、有線LAN I/F22が初期化完了状態になるまでS132で待機する。次に、CPU11は、無線LAN I/F23の初期化完了を確認する(S133)。CPU11は、無線LAN I/F23が初期化完了状態になるまでS133で待機する。次に、CPU11は、ネットワークI/Fについて通信待ち状態に遷移する(S134)。CPU11は、S134において、ネットワークI/Fを用いた通信処理のデータの送受信を受け付け可能になったことを表示部14に表示させる。CPU11は、S134を実行した後、ネットワークI/Fを用いた通信処理のデータの送受信を受け付け可能な通信待ち状態になる。
 次に、CPU11は、USB I/F21の初期化完了を確認する(S135)。CPU11は、USB I/F21が初期化完了状態になるまでS135で待機する。次に、CPU11は、USB I/F21について通信待ち状態に遷移する(S136)。CPU11は、S136において、USB I/F21を用いた通信処理のデータの送受信も受け付け可能になったことを表示部14に表示させる。CPU11は、S136を実行した後、USB I/F21を用いた通信処理のデータの送受信も受け付け可能な通信待ち状態になる。CPU11は、S126又はS136を実行した後、図7に示されるネットワーク優先初期化処理を終了し、呼び出し元に戻る。
 通信先情報で示される外部装置がUSB I/F21を介して接続された外部装置1である場合でも、USB I/F21が物理的に通信可能な状態でない場合には、ユーザが通信先をネットワークI/Fを介して接続された外部装置2、3に切り換える可能性がある。この場合に備えて、上記の変形例では、CPU11は、ネットワークI/Fの初期化が完了した後に、通信待ち状態に遷移する(S132及びS133の後にS134)。
 上記の実施形態では、CPU11は、プレビュー画像表示モードが有効と判断した場合のUSB優先初期化処理(図5)において、USB I/F21の初期化完了を確認した後に、USB I/F21について通信待ち状態に遷移することとした。これに代えて、変形例に係る複合機では、CPU11は、プレビュー画像表示モードが有効と判断した場合の初期化処理において、USB I/F21の初期化の完了を待たずに、USB I/F21について通信待ち状態に遷移してもよい。
 上記の実施形態では、CPU11は、S14において通信I/FにUSB I/F21とネットワークI/Fとの両方が含まれると判断したことに応じて、S15及びS16を実行することとした。これに代えて、変形例に係る複合機では、CPU11は、S14において通信I/FにUSB I/F21とネットワークI/Fとの両方が含まれると判断したことに応じて、S14及びS15を実行することなく、図6に示されるネットワーク優先初期化処理を実行してもよい。この場合、CPU11は、ネットワークI/Fの初期化が完了した後に、通信待ち状態に遷移する。或いは、CPU11は、S14において通信I/FにUSB I/F21とネットワークI/Fとの両方が含まれると判断したことに応じて、S14及びS15を実行することなく、図5に示されるUSB優先初期化処理を実行してもよい。どちらの初期化処理を実行するかは、複合機10において予め固定的に決定されていてもよく、或いはユーザによって選択されることとしてもよい。
 上記の実施形態では、CPU11は、3種類の通信I/Fに対して同時、或いは所定の順序で初期化開始指示を出力した後、各通信I/Fの初期化完了を確認することとした。これに代えて、変形例に係る複合機では、CPU11は、初期化開始指示の出力と初期化完了の確認とを通信I/F毎に順に実行してもよい。例えば、CPU11は、最初に、初期化完了の確認を最も高い優先度で実行すべき通信I/Fの初期化開始指示を出力する処理と、当該通信I/Fの初期化完了を確認する処理とを行い、次に、初期化完了の確認を2番目の優先度で実行すべき通信I/Fの初期化開始指示を出力する処理と、当該通信I/Fの初期化完了を確認する処理とを行い、次に、初期化完了の確認を3番目の優先度で確認すべき通信I/Fの初期化開始指示を出力する処理と、当該通信I/Fの初期化完了を確認する処理を実行してもよい。
 上記の実施形態では、複合機10において、メモリ12に記憶された制御プログラム31をCPU11が実行することによって、本発明のコントローラが実行する各処理が実現される例を説明した。しかしながら、コントローラの構成はこれに限定されず、その一部又は全部を集積回路等のハードウェアで実現してもよい。
 また、本発明は、複合機10として実現できるだけでなく、複合機10のCPU11に処理を実行させる制御プログラム31として実現してもよい。そして、当該プログラムは、non-transitoryな記録媒体に記録されて提供されてもよい。non-transitoryな記録媒体は、CD-ROM、DVD-ROM等の他、通信ネットワークを通じて複合機10及び外部機器に接続可能なサーバに搭載された記憶部を含んでもよい。そして、サーバの記憶部に記憶されたプログラムは、当該プログラムを示す情報或いは信号として、インターネット等の通信ネットワークを通じて配信されてもよい。
1・・・外部装置(第1外部装置)
2、3・・・外部装置(第2外部装置)
10・・・複合機(通信装置)
11・・・CPU(コントローラ)
21・・・USB I/F(第1通信インタフェース)
22・・・有線LAN I/F(第2通信インタフェース)
23・・・無線LAN I/F(第2通信インタフェース)
31・・・制御プログラム(プログラム)

Claims (12)

  1.  第1通信インタフェースと、
     第2通信インタフェースと、
     コントローラと、を備えた通信装置であって、
     上記コントローラは、
     上記第1通信インタフェースを初期化する第1初期化処理と、
     上記第2通信インタフェースを初期化する第2初期化処理と、
     上記第1通信インタフェースを介して接続された第1外部装置、及び上記第2通信インタフェースを介して接続された第2外部装置の少なくとも一方との間でデータを送信又は受信する通信処理と、を実行し、
     上記第1初期化処理の所要時間は、上記第2初期化処理の所要時間よりも短く、 上記コントローラは、
     上記第1初期化処理及び上記第2初期化処理の実行前に通信先情報を取得し、上記通信先情報は、少なくとも上記第1外部装置及び上記第2外部装置の一方を含むものであり、 上記通信装置の起動を条件として、上記第1初期化処理及び上記第2初期化処理を実行し、
     上記通信先情報で示される外部装置が上記第1外部装置であることに応じて、上記第1初期化処理が完了した後に、上記第2初期化処理の完了を待たずに、上記通信処理の上記データの送受信を受け付け可能な通信待ち状態に遷移し、
     上記通信先情報で示される外部装置が上記第2外部装置であることに応じて、上記第2初期化処理が完了した後に、上記通信待ち状態に遷移する通信装置。
  2.  上記コントローラは、上記データの送信先として設定されている外部装置を含む上記通信先情報を取得する請求項1に記載の通信装置。
  3.  通信履歴を記憶し、
     上記コントローラは、上記通信履歴に記憶されている外部装置を含む上記通信先情報を取得する請求項1又は2に記載の通信装置。
  4.  上記コントローラは、
     上記通信先情報で示される外部装置に上記第1外部装置と上記第2外部装置とが含まれていることに応じて、上記通信履歴に基づきいずれかの外部装置を選択し、
     選択された外部装置が上記第1外部装置であることに応じて、上記第1初期化処理が完了した後に、上記第2初期化処理の完了を待たずに、上記通信待ち状態に遷移する請求項3に記載の通信装置。
  5.  上記コントローラは、上記通信先情報で示される外部装置に上記第1外部装置と上記第2外部装置とが含まれていることに応じて、上記第2初期化処理が完了した後に、上記通信待ち状態に遷移する請求項1から3のいずれかに記載の通信装置。
  6.  表示部をさらに備え、
     上記コントローラは、
     上記第1初期化処理及び上記第2初期化処理の実行前に予定送信モードを取得し、上記予定送信モードは、少なくとも上記データを送信する前に上記表示部にプレビュー画像を表示するモードを含むものであり、
     上記予定送信モードにおいて上記プレビュー画像を表示するモードが有効であることに応じて、上記通信先情報に拘わらず、上記第2初期化処理の完了を待たずに、上記通信待ち状態に遷移する請求項1から5のいずれかに記載の通信装置。
  7.  上記コントローラは、
     上記通信先情報で示される外部装置が上記第2外部装置であることに応じて、上記第2通信インタフェースが物理的に通信可能な状態であるかを判断し、
     上記第2通信インタフェースが物理的に通信可能な状態でないと判断したことに応じて、上記第1初期化処理が完了した後に、上記第2初期化処理の完了を待たずに、上記通信待ち状態に遷移する請求項1から6のいずれかに記載の通信装置。
  8.  上記コントローラは、
     上記通信先情報で示される外部装置が上記第1外部装置であることに応じて、上記第1通信インタフェースが物理的に通信可能な状態であるかを判断し、
     上記第1通信インタフェースが物理的に通信可能な状態でないと判断したことに応じて、上記第2初期化処理が完了した後に、上記通信待ち状態に遷移する請求項1から7のいずれかに記載の通信装置。
  9.  上記第2通信インタフェースは、有線ネットワークインタフェース又は無線ネットワークインタフェースであり、
     上記コントローラは、
     上記通信先情報で示される外部装置が上記第2外部装置であることに応じて、上記第2通信インタフェースが上記有線ネットワークインタフェースであるか、上記無線ネットワークインタフェースであるかを判断し、
     上記第2通信インタフェースが上記有線ネットワークインタフェースであると判断したことに応じて、上記第2初期化処理の上記無線ネットワークインタフェースの初期化処理の完了を待たずに、上記通信待ち状態に遷移し、
     上記第2通信インタフェースが上記無線ネットワークインタフェースであると判断したことに応じて、上記第2初期化処理の上記無線ネットワークインタフェースの初期化処理が完了した後に、上記通信待ち状態に遷移する請求項1から8のいずれかに記載の通信装置。
  10.  第1通信インタフェースと、
     第2通信インタフェースと、
     コントローラと、を備えた通信装置であって、
     上記コントローラは、
     上記第1通信インタフェースを初期化する第1初期化処理と、
     上記第2通信インタフェースを初期化する第2初期化処理と、
     上記第1通信インタフェースを介して接続された第1外部装置、及び上記第2通信インタフェースを介して接続された第2外部装置の少なくとも一方との間でデータを送信又は受信する通信処理と、を実行し、
     上記コントローラは、
     上記第1初期化処理及び上記第2初期化処理の実行前に通信先情報を取得し、上記通信先情報は、少なくとも上記第1外部装置及び上記第2外部装置の一方を含むものであり、 上記通信装置の起動を条件として、上記第1初期化処理及び上記第2初期化処理を実行し、
     上記通信先情報で示される外部装置が上記第1外部装置であることに応じて、上記第1初期化処理が完了した後に、上記通信処理の上記データの送受信を受け付け可能な通信待ち状態に遷移し、
     上記通信先情報で示される外部装置が上記第2外部装置であることに応じて、上記第2初期化処理が完了した後に、上記通信待ち状態に遷移する通信装置。
  11.  第1通信インタフェースと、第2通信インタフェースと、コントローラと、を備えた通信装置において、上記コントローラによって実行されるプログラムであって、
     上記プログラムは、
     上記第1通信インタフェースを初期化する第1初期化処理と、
     上記第2通信インタフェースを初期化する第2初期化処理と、
     上記第1通信インタフェースを介して接続された第1外部装置、及び上記第2通信インタフェースを介して接続された第2外部装置の少なくとも一方との間でデータを送信又は受信する通信処理と、を上記コントローラに実行させ、
     上記第1初期化処理の所要時間は、上記第2初期化処理の所要時間よりも短く、
     上記プログラムは、
     上記第1初期化処理及び上記第2初期化処理の実行前に通信先情報を取得する取得処理を上記コントローラに実行させ、上記通信先情報は、少なくとも上記第1外部装置及び上記第2外部装置の一方を含むものであり、
     上記通信装置の起動を条件として、上記第1初期化処理及び上記第2初期化処理を上記コントローラに実行させ、
     上記通信先情報で示される外部装置が上記第1外部装置であることに応じて、上記第1初期化処理が完了した後に、上記第2初期化処理の完了を待たずに、上記通信処理の上記データの送受信を受け付け可能な通信待ち状態に遷移する処理を上記コントローラに実行させ、
     上記通信先情報で示される外部装置が上記第2外部装置であることに応じて、上記第2初期化処理が完了した後に、上記通信待ち状態に遷移する処理を上記コントローラに実行させるプログラム。
  12.  第1通信インタフェースと、第2通信インタフェースと、コントローラと、を備えた通信装置において、上記コントローラによって実行されるプログラムであって、
     上記プログラムは、
     上記第1通信インタフェースを初期化する第1初期化処理と、
     上記第2通信インタフェースを初期化する第2初期化処理と、
     上記第1通信インタフェースを介して接続された第1外部装置、及び上記第2通信インタフェースを介して接続された第2外部装置の少なくとも一方との間でデータを送信又は受信する通信処理と、を上記コントローラに実行させ、
     上記プログラムは、
     上記第1初期化処理及び上記第2初期化処理の実行前に通信先情報を取得する取得処理を上記コントローラに実行させ、上記通信先情報は、少なくとも上記第1外部装置及び上記第2外部装置の一方を含むものであり、
     上記通信装置の起動を条件として、上記第1初期化処理及び上記第2初期化処理を上記コントローラに実行させ、
     上記通信先情報で示される外部装置が上記第1外部装置であることに応じて、上記第1初期化処理が完了した後に、上記通信処理の上記データの送受信を受け付け可能な通信待ち状態に遷移する処理を上記コントローラに実行させ、
     上記通信先情報で示される外部装置が上記第2外部装置であることに応じて、上記第2初期化処理が完了した後に、上記通信待ち状態に遷移する処理を上記コントローラに実行させるプログラム。
PCT/JP2022/014332 2021-06-08 2022-03-25 通信装置及びプログラム WO2022259709A1 (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US18/522,690 US20240098201A1 (en) 2021-06-08 2023-11-29 Communication apparatus and storage medium storing program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2021096191A JP2022187932A (ja) 2021-06-08 2021-06-08 通信装置及びプログラム
JP2021-096191 2021-06-08

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/522,690 Continuation US20240098201A1 (en) 2021-06-08 2023-11-29 Communication apparatus and storage medium storing program

Publications (1)

Publication Number Publication Date
WO2022259709A1 true WO2022259709A1 (ja) 2022-12-15

Family

ID=84425206

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/014332 WO2022259709A1 (ja) 2021-06-08 2022-03-25 通信装置及びプログラム

Country Status (3)

Country Link
US (1) US20240098201A1 (ja)
JP (1) JP2022187932A (ja)
WO (1) WO2022259709A1 (ja)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008085554A (ja) * 2006-09-27 2008-04-10 Brother Ind Ltd 情報処理装置、及びプログラム
JP2014048730A (ja) * 2012-08-29 2014-03-17 Fujitsu Ltd 情報処理装置及び制御方法
JP2021016941A (ja) * 2019-07-17 2021-02-15 富士ゼロックス株式会社 情報処理装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008085554A (ja) * 2006-09-27 2008-04-10 Brother Ind Ltd 情報処理装置、及びプログラム
JP2014048730A (ja) * 2012-08-29 2014-03-17 Fujitsu Ltd 情報処理装置及び制御方法
JP2021016941A (ja) * 2019-07-17 2021-02-15 富士ゼロックス株式会社 情報処理装置

Also Published As

Publication number Publication date
US20240098201A1 (en) 2024-03-21
JP2022187932A (ja) 2022-12-20

Similar Documents

Publication Publication Date Title
US8873070B2 (en) Image processing apparatus and method of starting image processing apparatus
US8773681B2 (en) Controlling function in an image forming apparatus based on server setting information
KR100603240B1 (ko) 우선 동작모드를 지원하는 복합기 및 그 복합기의 초기화방법
US7424625B2 (en) Printing apparatus and power supply control method in printing apparatus
JP2007028179A (ja) 画像形成装置及びデータ処理プログラム
EP1491993A2 (en) Recording apparatus and recording control method for executing recording according to setting of print parameters
EP2575343A1 (en) Image reading apparatus and image reading system
JP2010147573A (ja) 情報処理システムおよび情報処理システムの制御方法
JP2015143974A (ja) 処理装置、処理方法、及びプログラム
JP4404076B2 (ja) 画像処理装置
WO2022259709A1 (ja) 通信装置及びプログラム
JP7077170B2 (ja) 情報処理装置、その制御方法、及びプログラム
JP6489827B2 (ja) 画像処理装置、画像処理装置の制御方法及びプログラム
US20130191623A1 (en) Information processing apparatus, control method therefor, and storage medium
US11392337B2 (en) Server apparatus, system, server system, and information processing method
JP2007179371A (ja) 印刷システム
JP6379932B2 (ja) 画像記録装置及びプログラム
JP2005135173A (ja) 情報処理方法、情報処理システム、プログラム及び記憶媒体
JP6895045B2 (ja) プログラム
JP2009188500A (ja) 複合機選択装置、複合機及びジョブ処理方法
US9924059B2 (en) Apparatus having power-saving function, method of processing information, and computer program product
US8054477B2 (en) Image reading apparatus and control method for image forming apparatus for reducing operator wait time
JP7305845B2 (ja) 画像処理システム、画像処理装置、及びプログラム
US11695882B2 (en) Image processor, image forming apparatus, and method of controlling image processor for obtaining destination information from portable terminal device and sending image data to image forming apparatus
US20220286573A1 (en) Image reading system and information processing apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22819898

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE