WO2000028402A1 - Dispositif d'interface, procede de commande de dispositif d'interface, et dispositif d'enregistrement d'informations - Google Patents

Dispositif d'interface, procede de commande de dispositif d'interface, et dispositif d'enregistrement d'informations Download PDF

Info

Publication number
WO2000028402A1
WO2000028402A1 PCT/JP1999/006236 JP9906236W WO0028402A1 WO 2000028402 A1 WO2000028402 A1 WO 2000028402A1 JP 9906236 W JP9906236 W JP 9906236W WO 0028402 A1 WO0028402 A1 WO 0028402A1
Authority
WO
WIPO (PCT)
Prior art keywords
standby state
host
power saving
power
interface device
Prior art date
Application number
PCT/JP1999/006236
Other languages
English (en)
French (fr)
Inventor
Yuji Kawase
Original Assignee
Seiko Epson Corporation
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 Seiko Epson Corporation filed Critical Seiko Epson Corporation
Priority to EP99954454A priority Critical patent/EP1046979B1/en
Priority to US09/582,913 priority patent/US6742130B1/en
Priority to DE69932801T priority patent/DE69932801T8/de
Publication of WO2000028402A1 publication Critical patent/WO2000028402A1/ja
Priority to HK01106410A priority patent/HK1037746A1/xx

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • B41J29/393Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode

Definitions

  • Interface device control method thereof, and information recording medium
  • the present invention relates to an interface device, a control method thereof, and an information recording medium.
  • an interface device by transferring data or a command between two hosts, transmitting and receiving between the two hosts, and appropriately setting a power saving state.
  • the interface device that can control the power consumption by controlling the transition to the power saving state from the host, and can transfer data or commands at high speed.
  • the present invention relates to a control method for a host device and an information recording medium recording a program for controlling the interface device.
  • one host is a computer and the other host is a printer, and the other host is a printer.
  • Various devices are provided, such as interface devices that function as hubs for connecting multiple hosts, such as convenience stores.
  • the interface device receives the data and commands transmitted through the various connection modes as described above, and performs voltage conversion, impedance matching, and buffering of the transmitted data command. Further, these interpretation and file processing are performed, and thereafter, the data is converted to a printer-specific port format, for example, RS-232C format, and output.
  • a printer-specific port format for example, RS-232C format
  • one printer can be used according to various situations. That is, a printing device corresponding to various connector shapes can be provided by the combination of the interface device and the printing device. As a result, the pudding itself can be mass-produced, and the cost required for the entire printing apparatus can be reduced.
  • the conventional interface device has the following problems.
  • the first host for example, a computer
  • the second host for example, a printer
  • Electrification has hardly progressed. For this reason, there has been a problem that the operation cost increases. The occurrence of such problems is not desirable in terms of environmental protection.
  • the interface device itself activates the power saving function according to the instruction from the host, taking into account the situation of the two hosts.
  • the desirable power saving mode is different between the case where the camera is installed in a printer with a high power supply capability and the case where the camera is installed in a printer with a low power supply capability. It does not support changing the power saving mode according to the difference in power supply capability. For this reason, there has been a problem that power consumption cannot be sufficiently reduced.
  • the present invention has been made in order to solve the above-described problems.
  • By transmitting data or transmitting a command between two hosts it is possible to transmit and receive data between the two hosts and appropriately switch to a power saving state.
  • By shifting the power consumption can be reduced, while the shift to the power saving state is controlled from the host, and the data or command can be transferred at high speed.
  • Control method for one-face device, and said interface It is intended to provide an information recording medium in which a program for controlling a storage device is recorded.
  • the present invention provides an interface in which power required for operation is provided from a connected host, and information necessary for power saving is obtained from the host and a power saving mode can be independently determined. It is an object to provide an apparatus, a control method of the interface device, and an information recording medium in which a program for controlling the interface device is recorded. Disclosure of the invention
  • an interface device of the present invention includes a receiving unit that receives data from a first host device, and the receiving unit that receives the data from the first host.
  • a standby state selecting means for selecting a predetermined standby state from a plurality of standby states according to an operation of the receiving means or the transmitting means. It is characterized by having.
  • the standby state selecting means interprets the data received from the first host device and extracts a control command, and the control command detecting means; In the case where the data is data other than the control command, the normal standby state selecting means for selecting the normal standby state and the control command detecting means according to the control command detecting means.
  • a command waiting state selecting means for selecting a command waiting state; a command end detecting means for detecting the end of the control command extracted by the control command detecting means; Command standby state release means for releasing the command standby state and selecting the normal standby state when the end of the command standby state is detected, First timing means for measuring an elapsed time since the normal standby state is selected; and Power saving standby state selecting means for canceling the normal standby state and selecting a power saving standby state when a predetermined time has elapsed from the selection of the normal standby state according to the first timing means; It is desirable to have
  • the power saving standby state selecting means when the power saving standby state is selected by the power saving standby state selecting means, it is preferable to further include first notifying means for notifying the first host device of the selection. .
  • the power saving standby state selecting means when the power saving standby state is selected by the power saving standby state selecting means, it is preferable to further include second notifying means for notifying the second host device of the selection.
  • second notifying means for notifying the second host device of the selection.
  • the standby state selecting means includes: a second time measuring means for measuring an elapsed time from when the power saving standby state is selected; and the power saving standby state according to the second time measuring means.
  • a power saving standby state canceling unit that cancels the power saving standby state and selects the normal standby state.
  • the power saving standby state when the power saving standby state is released by the power saving standby state releasing means, it is preferable to further include third notification means for notifying the first host device of the release. .
  • third notification means for notifying the first host device of the release.
  • the power saving standby state when the power saving standby state is released by the power saving standby state releasing means, it is preferable to further include fourth notification means for notifying the second host device of the release.
  • fourth notification means for notifying the second host device of the release.
  • control command interpreting means for interpreting the control command detected by the control command detecting means
  • a power saving standby state selection prohibiting unit that prohibits the power saving standby state selecting unit from selecting the power saving standby state when a predetermined control command is interpreted by the control command interpreting unit.
  • the transition from the first host to the power saving standby state of the interface device can be controlled. By prohibiting the transition, the high-speed transfer of the decryption command can be performed. It is possible to provide an interface device that can perform the operation.
  • the interface device of the present invention in the above interface device, has a plurality of power saving modes, and supplies power provided from the first host to the interface device.
  • the power supply based on the power supply capability information of the first host And a first determining means for determining a power saving mode employed by the means.
  • the standby state selecting means has a storage means for storing a pair of: a model name information of a first host; and a power supply capability information of the first host, wherein the power information
  • the power supply capability information of the host received by the receiving means includes model name information of the first host
  • the determining means converts the data of the model name information of the host received by the power information receiving means. It is preferable that the storage unit is searched as a key, and a power saving mode adopted by the power supply unit is determined based on the acquired power supply capability information of the first host.
  • An interface device that can determine a mode can be provided.
  • the standby state selecting means detects a change in any one or both of the voltage and the current of the power provided by the first host, and based on this, the power supply means It is desirable to have a second determining means to determine the power saving mode to be used. With this feature, even when the host cannot transmit the information on the power supply capability and the information on the model name, the power supply capability of the host is measured by an experiment, and the It is possible to provide an interface device that can determine a power saving mode that is optimal for power supply capability.
  • the present invention is extremely effective as a control method of an interface device, and the configuration of the interface device described above may be replaced with a process to be grasped. Can be. Further, when such a control method is realized by a computer, the present invention also includes an information recording medium itself storing a control program for the control method. In this case, it is desirable that the information recording medium is a compact disk, a floppy disk, a hard disk, a magneto-optical disk, a digital video, a disk, or a magnetic tape.
  • the information recording medium on which the program is recorded can be easily distributed or sold as a software product independently of the interface device.
  • the interface device and the control method of the interface device according to the above invention can be realized.
  • compact discs (so-called CD-ROM), floppy discs, hard discs, magneto-optical discs, digital video discs (so-called DVD-R ⁇ M), or A magnetic tape can be employed, and a program can be introduced into an existing interface using these information recording media.
  • CD-ROM compact discs
  • floppy discs floppy discs
  • hard discs magneto-optical discs
  • DVD-R ⁇ M digital video discs
  • a magnetic tape can be employed, and a program can be introduced into an existing interface using these information recording media.
  • the host is a printer and the other host is a computer.
  • the other host is a computer.
  • Such an embodiment is also included in the technical scope of the present invention.
  • a network hub network between multiple computers etc. It is also possible to apply the interface device of the present invention to a dem, and such an embodiment is also included in the technical scope of the present invention.
  • FIG. 1 is a block diagram showing an example of an embodiment of an interface device according to the present invention.
  • FIG. 2 is a state transition diagram of a first example of the embodiment of the interface device of the present invention.
  • FIG. 3 is an explanatory diagram showing an example of a command format used in the interface device of the present invention.
  • FIG. 4 is a state transition diagram of a second example of the embodiment of the interface device of the present invention.
  • FIG. 5 is a state transition diagram of a third example of the embodiment of the interface device of the present invention.
  • FIG. 6 is a block diagram of a fourth example of the embodiment of the interface device of the present invention.
  • FIG. 7 is a flowchart showing a fourth example of the embodiment of the power saving determining process of the interface device of the present invention.
  • FIG. 8 is a flowchart showing a fifth example of the embodiment of the power saving decision process of the interface device according to the present invention.
  • FIG. 9 shows an embodiment of the power saving determining process of the interface device according to the present invention.
  • FIG. 11 is an explanatory diagram showing data of a model name and power supply capability in a fourth example.
  • FIG. 10 is a flowchart showing a sixth example of the embodiment of the power saving determining process of the interface device of the present invention.
  • FIG. 11 is an explanatory diagram showing a voltage change of provided power in a fourth example of the embodiment of the power saving determining process of the interface device of the present invention.
  • FIG. 1 shows a block diagram of an example of an embodiment of an interface device of the present invention.
  • FIG. 1 shows a block diagram of an example of an embodiment of an interface device of the present invention.
  • the configuration of an example of the embodiment of the interface device of the present invention will be described with reference to FIG.
  • the interface device 101 receives the command or command transmitted by the first host (for example, a computer) 111 in the first receiving unit 112 and the second transmitting unit 123 To a second host (eg, a printer).
  • a second host eg, a printer
  • the second host 122 1 Alternatively, a data ⁇ command can be transmitted to the host 11 1 of the host.
  • the CPU Central Processing Unit
  • An interrupt to 13 1 occurs, and the CPU 13 1 executes reception interrupt processing. In this way, these transmissions and receptions are controlled by the CPU 13 1.
  • the program that realizes the control executed by the CPU 13 1 is stored in a ROM (Read Only Memory) 132, and when the power is turned on to the interface device 101, the CPU 13 3 1 reads and executes the program.
  • the first transmission unit 113 can notify the first host 111 of the current status of the interface device 101 in addition to the functions described above. Embodiments in which the transmission unit 113 is omitted are also included in the technical scope of the present invention.
  • the second transmission unit 123 transmits the command transmitted from the first host 111 and also transmits the current status of the interface device 101 to the second host 1101. 21 can also be notified.
  • the power control unit 133 is supplied to the CPU 131, the first receiving unit 112, the first transmitting unit 113, the second receiving unit 122, the second transmitting unit 123, and the like. It controls the current, voltage, clock, etc., and puts them into a power-saving state or returns to a normal state.
  • Timer 134 is used to check whether a predetermined time has elapsed.
  • the instruction to the power supply control unit is performed by the CPU 131, referring to the elapsed time measured by the timer 134 and the like.
  • the first receiving unit 1 12 transmits the voltage, current, impedance, frequency, protocol (communication). 3).
  • the second transmission unit 123 converts the voltage, current, impedance, frequency, protocol, and the like in order to send the data input command from the bus 136 to the second host 121. In some cases, the CPU 1331 can handle these conversions.
  • a RAM Random Access Memory
  • the RAM can be used as a temporary storage area or as a buffering area for data and commands to be transferred.
  • FIG. 2 shows a state transition diagram of a first example of the embodiment of the interface device of the present invention.
  • the operation flow of the first example of the embodiment of the interface device of the present invention will be described with reference to FIG.
  • the interface device 101 is in a normal standby state 201 immediately after the power is turned on.
  • the elapsed time from when the normal standby state 201 is entered is measured by the timer 1 34.
  • the CPU 13 1 drives the power supply control unit 13 3 to control the entire interface device 101.
  • the state is shifted to the power saving state, and the state is set to the power saving standby state 202. This transition is the first transition 2 1 1.
  • the first receiving unit 112 When receiving data sent from the first host, the CPU Four
  • An interrupt occurs at 1 3 1.
  • the transmission of the data is transmitted to the second host 121 via the second transmission unit 123, or the data is buffered in the RAM, thereby transmitting the data. Make a reservation. Further, the state shifts to the normal standby state 201. This transition is a second transition 2 1 c. A method for distinguishing whether a received byte is a data message or a command will be described later.
  • the first receiving unit 112 is set to the first host. Receives a command sent from the CPU, an interrupt occurs in the CPU 13 1. In the interrupt processing, the transmission of the command is transmitted to the second host 121 via the second transmission unit 123, or the transmission is reserved by buffering the command in the RAM. . Then, the state shifts to the command waiting state 203. This transition is the third transition 2 1 3.
  • Commands are generally sent continuously or in large quantities. Therefore, it is better not to shift to the power saving standby state 202. In addition, since it generally takes time to return from the power saving state, it is preferable to prevent a decrease in throughput due to this. In the present embodiment, it is not possible to directly shift from the command standby state 203 to the power saving standby state 202.
  • the first receiving unit 112 When the first receiving unit 112 receives a command transmitted from the first host in the command waiting state 203, an interrupt occurs in the CPU 131. In the interrupt processing, the transmission is reserved by transmitting the command to the second host 121 via the second transmission unit 123 or by buffering the command in the RAM. As the state, the command waiting state 203 is maintained. This transition is the fourth transition 2 1 4 c This is to perform high-speed command transfer.
  • the state shifts to the normal waiting state 201.
  • This transition is the fifth transition 2 15. This is because the command transmission from the first host 111 is completed, and the state returns to the normal standby state 201 which can shift to the power saving standby state 202.
  • the normal standby state 201 the power saving standby state 202
  • the command By appropriately shifting the standby state 203, the two objects of high-speed transfer and power saving can be achieved.
  • the first method is an embodiment in which the format of transmitted data is changed between a command and data. For example, if communication is performed in units of 8 bits, that is, in units of 1 byte, the command sets the value with the most significant bit (128 to 255, Ox80 to 0 in hexadecimal). xff) and the value with the most significant bit cleared (0 ⁇ : L27, hexadecimal 0 ⁇ 0 0-0 ⁇ 7 ⁇ ") .
  • the command waiting state 203 when one byte transmitted by the first host 111 is received, first, the one byte is transmitted to the second host 121 ( Then, it is checked whether or not the most significant bit of the one byte is set, and if it is set, the command wait state 203 is maintained by the fourth transition 214, and the bit is set. If not, a method of transitioning to the normal standby state 201 by the fifth transition 215 can be adopted.
  • the command starts at a specific byte, the length of the entire command is embedded at the beginning of the command, and the length of the command is compared with the number of bytes actually received.
  • Implementation to determine whether transfer has been completed It is a form.
  • the command starts with 2 7 (Oxlb in hexadecimal) or 2 8 (O x 1c in hexadecimal), and in the former case it follows one byte after it In the latter case, the total length n of the command is indicated in two bytes, followed by the total length m of the subsequent command in two bytes.
  • Fig. 3 shows the command format in this case.
  • C Fig. 3 (a) is an explanatory diagram of the command format starting from 0X1b
  • Fig. 3 (b) shows the command format starting from O xlc.
  • FIG. 3 is an explanatory diagram of the format.
  • n of the next received byte becomes the length of the subsequent command, and when n bytes are received thereafter, the command is terminated. Will be detected. The same applies when 0 X 1 c is received.
  • FIG. 4 shows a state transition diagram of a second example of the embodiment of the interface device of the present invention. Note that the same reference numerals are given to states similar to those in the state transition diagram shown in FIG. Hereinafter, the operation flow of the second example of the embodiment of the interface device of the present invention will be described with reference to FIG.
  • the second embodiment is largely the same as the first embodiment, but differs in that a sixth transition 216 is employed.
  • the time elapsed since the power saving standby state 202 was entered is measured by the timer 134, and when a predetermined time (eg, 10 seconds) has elapsed, the sixth transition 2 16 Normal standby state
  • the CPU 13 1 sends the first host 1 11 1 via the first transmission unit 1 13 to the first host 1 1 3 via the second transmission unit 1 2 3 It is possible to notify the second host 1 2 1 to return to the normal standby state 2 0 1 respectively.
  • the CPU 13 1 Transition to the first host 1 1 1 via the first transmitter 1 1 3 and to the second host 1 2 1 via the second transmitter 1 2 3 to the power saving standby state 202 Can be notified.
  • the first host 11 1 and the second host 12 1 can determine whether or not the interface device 101 is in the power saving state.
  • FIG. 5 shows a state transition diagram of a third example of the embodiment of the interface device of the present invention. Note that the same reference numerals are given to the same states as those in the state transition diagrams shown in FIGS. 2 and 4. Hereinafter, the operation flow of the third example of the embodiment of the interface device of the present invention will be described with reference to FIG.
  • the third embodiment is largely similar to the first embodiment, except that the first transition 2 1 1 of the latter is the first transition 2 1 1 and the transition 2 1 1 of the 1a in the former. The difference is that it is divided into a and.
  • the CPU 1311 determines whether the command is a power saving standby prohibition command for the interface device 101. Check whether the command is a power-saving standby permission command or another command. If the command is a power saving standby prohibition command, the fact that power saving standby is currently prohibited is stored in RAM or the like. If the command is a power saving standby permission command, the fact that the power saving standby is currently permitted is stored in RAM or the like.
  • the CPU 13 1 1 stops the measurement of the elapsed time by the timer 13 4 when receiving the power saving standby prohibition command, and the CPU 13 1 1 It is possible to measure the elapsed time by using the timer. If evening time 1 34 is stopped, it is not detected that the predetermined elapsed time has elapsed, so that normal standby state 201 is maintained.
  • the power saving standby prohibition command and the permission command may be further transmitted from the interface device 101 to the second host 121, or may not be transmitted. Can also be taken.
  • the interface device 101 performs the filtering process of the command transmitted from the first host 111 to the second host 121 by the interface device 101.
  • the second host 12 1 when the second host 12 1 receives the command, the second host 12 1 can return to the normal standby state even if the second host 12 1 is in the power saving standby state.
  • Preparations for receiving command No. data can be started.
  • the second embodiment and the third embodiment have been described independently. However, it is also possible to adopt an embodiment in which these are combined. Included in the technical scope of the invention.
  • those skilled in the art can employ this embodiment to monitor and control the power saving state of the interface device 101 by the first host 111. According to this, the first host 111 can even manage the power saving state of the second host 121, and this embodiment is also included in the technical scope of the present invention. It is.
  • the interface device 101 of the present invention When the interface device 101 of the present invention is used as a device between a printer and a computer, the interface device 101 of the present invention is installed in an expansion slot provided in the printer. Is actually inserted. Embodiments can be taken.
  • the interface device 101 and the printing device form a body, and from the outside, it appears as a whole a single printing device. This makes it easier to route and transport cables, and reduces installation space restrictions in equipment layout.
  • two devices, the interface device 101 and the printer are operating, but both are implemented to have power-saving functions, so overall power-saving printing Functions as a device.
  • the first host 111 and the second host 121 are not in a master-slave relationship. Therefore, for example, the first host 111 can be a printer, the second host 121 can be a computer, and the data sent and received can be the status information of the printer. It is also possible to control the power saving function of the interface device 101 from the printer.
  • the interface device 101 of the present invention can be used as a power saving hub for a network.
  • This embodiment is also included in the technical scope of the present invention.
  • the equivalent of "command" and “de-night” is a bucket, and it is necessary to distinguish whether high-speed transfer is required or delay is possible according to the content and type of the bucket. become.
  • TCP / IP is used as the communication protocol
  • communication with the hub itself is also possible. Therefore, communication with the hub itself can be used for transmission and reception of the power saving setting command.
  • FIG. 6 is a block diagram showing an example of the embodiment of the interface device of the present invention.
  • the configuration of an example of the embodiment of the interface device of the present invention will be described with reference to FIG.
  • Interface device 101 is the first host (eg, computer)
  • the data or command transmitted by 111 is received by the first receiving unit 112, and is transmitted from the second transmitting unit 123 to the second host (for example, the printer) 121.
  • This is the basic flow of the overnight operation. If the second host 122 and the first transmitter 113 are further provided, the second host 121 to the first host 1 1 1 You can also send a message for the night.
  • the interface board provides power during the print session, the interface board corresponds to the "second host", and the print board corresponds to the "interface device”. is there.
  • the CPU 13 1 executes the reception interrupt processing. In this way, the transmission and reception are controlled by the CPU 131.
  • a program for realizing the control executed by the CPU 131 is stored in a read only memory (RM) 132, and when the interface device 101 is powered on, the CPU 13 3 1 reads and executes the program.
  • RM read only memory
  • the second transmission unit 123 transmits the data transmitted from the first host 111 and also notifies the second host 122 of the current status of the interface device 101. Can also.
  • the power control unit 133 receives power from the second host 12 1, and receives the power from the CPU 13 1, the first receiving unit 1 12, the first transmitting unit 1 13, and the second receiving unit 1. 22. At the same time as supplying power to the second transmission unit 123 and the like, it controls the supplied current, voltage, clock, etc., and puts them in a power saving state or returns to a normal state. Since the details of power supply are complicated, Although not shown, a known technique can be employed.
  • the evening timer 134 is used to check whether a predetermined time has elapsed.
  • the power saving function is realized by exchanging the normal standby state and the power saving standby state by the timer 134 every time a predetermined time elapses.
  • the data exchange between the first receiving unit 112, the first transmitting unit 113, the second receiving unit 122, the second transmitting unit 123, the CPU 131, and the ROM 132 uses the bus 136 and the like. Can be done through
  • the first receiving unit 112 performs conversion of voltage, current, impedance, frequency, protocol, and the like.
  • the second transmitting unit 123 performs conversion of voltage, current, impedance, frequency, protocol, and the like. In some cases, the CPU 131 can take charge of these conversions.
  • the ROM 132 can store data of the model name and power supply capability of the second host that has already been shipped.
  • a RAM (Random Access Memory) 135 can be connected to the bus 136.
  • the AM 135 can be used as a temporary storage area or as a buffering area for transferred data.
  • the second receiving unit 122 and the second transmitting unit 123 are a transmitting / receiving unit
  • a power control unit 133 is a power supplying unit
  • the CPU 13 1 is a second receiving unit.
  • the ROM 132 or the RAM 135 is used as a storage means, and the CPU 131 is operated in cooperation with the power control
  • the first receiving unit 112 is a receiving unit
  • the CPU 131 is a second transmitting unit 123. Work together as a transfer means.
  • the second host 121 is abbreviated as “host 121” as appropriate.
  • FIG. 7 is a flowchart illustrating a first example of an embodiment of a power saving determination process of the interface device of the present invention.
  • a first embodiment of the power saving determination process will be described with reference to FIG.
  • step S201a When the power is supplied to the host 121, the power is also supplied to the interface device 101, whereby both of them start initialization. At the same time, the power saving decision process is started (step S201a, step S201b).
  • the interface device 101 and the host 121 initialize at startup (step S202a, step S202b).
  • the host 121 sends the data of its own power supply capability information to the interface device (step S203b), and the host device 101 sends the data to the interface device.
  • the server receives a message (Step S203a).
  • the information on the power supply capacity can be information such as the average supply capacity and the peak supply capacity. Also, it is possible to send and receive the model name of the host 121 together with this information or instead of this information.
  • step S204 When the transmission is completed, the host 121 shifts to a normal process thereafter (step S204).
  • the interface device 101 acquires its own operating power stored in advance in the ROM 132 or the like, and checks whether the average provision capability is greater than the operating power (step S205).
  • step S205 If it is larger (step S205; Yes), it is checked whether the peak supply capacity is larger than the operating power (step S206), and if it is larger (step S2). 06; Yes) adopts the power saving mode A (step S207). On the other hand, if it is smaller (Step S206; No), the power saving mode B is adopted (Step S208). After that, the process ends (step S209) o
  • Step S205 if it is smaller (Step S205; No), it is checked whether the provision capability at the time of the beak is larger than the operation power (Step S210). Is adopted (step S211), and this processing is ended (step S209). On the other hand, when the power is small (step S210; No), the interface device 101 is not operated with the power supplied from the host 121, and therefore error processing is performed (step S210). S2 12).
  • the error processing includes blinking a lamp (not shown) of the interface device 101, sounding a buzzer (not shown), notifying the host 121 of the error, and disabling the user via the host 121 so that the user cannot operate. To inform them that something is happening.
  • conditional branching and the power saving mode can be further subdivided according to the capability of the interface device 101, but such embodiments are also included in the technical scope of the present invention. .
  • FIG. 8 shows an embodiment of the power saving determining process of the interface device of the present invention.
  • 15 is a flowchart illustrating a fifth example.
  • a second embodiment of the power saving determination process will be described with reference to FIG.
  • step S203a and step S203b of the first embodiment information on the average providing capacity divided by the peak providing capacity cannot be obtained.
  • step S203a and step S203b in the first embodiment, and the subsequent processing will be described. I do. This is because the processing before this is the same as in the first embodiment.
  • FIG. 9 is an explanatory diagram showing a table of the model name and the power supply capability in one example of the embodiment of the power saving determination process of the interface device of the present invention.
  • Table 4 01 has information in the area 4 0 3 for storing the model name of the record 4 0 2 of one model 4 0 3, the area 4 0 4 for storing the average supply capacity, and the area 4 0 5 for storing the peak supply capacity. Is stored.
  • step S301 if the information corresponding to the host 12 1 is found (step S301: found), the average providing capability and the peak providing capability corresponding to this model are stored in the ROM.
  • the power saving mode is determined by acquiring from the table stored in 132 (step S302). End this process (Step S303). In the process of this determination, the same processing as in steps S205 to S212 of the first embodiment can be employed.
  • step S 304 the corresponding power saving mode D is adopted (step S 304). ), And terminates this processing (step S303).
  • the following can be considered as the power saving mode D ⁇
  • FIG. 10 shows a flowchart of the third embodiment.
  • the model name of the host 121 to which the interface device 101 is connected is not registered in the table stored in the ROM 132, or when the host 121 Even if transmission is not possible, an appropriate power saving mode can be selected.
  • step S304 is reached.
  • This determination process is started when, for example, the step S304 is reached in the fifth embodiment (step S501).
  • the CPU 1331 controls the power supply control unit so that the apparent resistance of the interface device 101 becomes a load resistance in an average operation.
  • the supplied voltage is measured (step S502). As a result, the average load on the host 121 is determined.
  • the apparent resistance of the interface device 101 is set to be the smallest resistance during operation (step S503). That is, This is the case where the load is most applied to the strike 121, and the maximum current flows through the interface device 101.
  • FIG. 11 is an explanatory diagram showing a voltage change of provided power in an example of an embodiment of a power saving determination process of the interface device of the present invention.
  • the CPU 131 observes the state of the voltage drop and determines whether or not a predetermined voltage has been reached within a predetermined time (step S504).
  • the minimum voltage necessary for the operation of the interface device 101 can be adopted as the predetermined voltage.
  • step S504 If the voltage reaches the predetermined voltage within the predetermined time (step S504; Yes), the interface device 101 cannot be driven by the power provided by the host 121, and the error occurs. Processing is performed (step S505). This processing is the same as in step S212 described above. The state of the voltage drop in this case is shown in Fig. 11 (a).
  • step S 50 when the voltage does not reach the predetermined voltage within the predetermined time (step S 50).
  • step S506 determines the power saving control to be adopted according to the voltage value when a predetermined time has elapsed (step S506), and ends this processing (step S506).
  • the average supply capacity can be calculated from the voltage in step S504, and the peak supply capacity can be calculated from the voltage in step S504.
  • step S506 the same processing as steps S205 to S212 of the first embodiment can be performed.
  • one second can be adopted as the predetermined time.
  • an embodiment that interprets that a predetermined time has elapsed when the voltage change stops. Can also be adopted.
  • a flash EPROM (Electrically Erasable Programmable ROM) ⁇ hard disk can be used as the ROM 132. If the interface device 101 is connected to a device that is not stored in the ROM 132, the information on the power supply capability received from the second host 121 and the interface device 101 Information on the power supply capability of the second host 121 detected by the experiment in which the load is changed can be added to the table stored in the ROM 132 and stored. In this case, the interface device 101 of the present invention gradually accumulates information every time it is connected to an unknown host, and becomes smarter.
  • step S203a the interface device 101 receives the power supply capability and the model name of the model from the host 121, but the interface device 101 and the host In the case where each of the two stores a table as shown in FIG. 9, the information in this table is exchanged with each other, and information not stored by itself is newly added. However, it is also possible to adopt an embodiment in which both the host 121 and the interface device 101 gradually accumulate information and become smarter, and this embodiment is also within the technical scope of the present invention. Included in the box.
  • the interface device 101 of the present invention When the interface device 101 of the present invention is used as a device between a printer and a computer, the interface device of the present invention is installed in an expansion slot provided in the printer. Device 101 is inserted slowly Such an embodiment can be adopted. In this embodiment, the interface device 101 and the printer are integrated, and from the outside, it looks as if a single printing device is configured as a whole. This facilitates cable routing and transportation, and reduces installation area restrictions in equipment layout. Internally, two devices, interface device 101 and printer, are operating, but both are implemented to have power-saving functions, so overall power-saving printing devices Function as
  • the present invention can be applied to any interface device that is supplied with power from any of a plurality of hosts that mediate it.
  • the present invention can be applied to a network hub, a modem, and the like, and these embodiments also fall within the technical scope of the present invention.
  • An interface device that can transfer commands at high speed by not shifting to the power saving standby state during the operation and a control method thereof can be provided.
  • one or both of the first host and the second host, where the interface device is interposed can know the current status of the interface device.
  • An apparatus and a control method thereof can be provided.
  • the notified host can shift itself to a power saving standby state or return to a normal standby state, thereby maintaining a high communication speed. .
  • the first host switches the interface device to a power saving standby state.
  • the transition can be controlled, and by prohibiting the transition, it is possible to provide an interface device capable of transferring a high-speed data command, and a control method thereof.
  • an interface device that is provided with power required for operation from a connected host, and that can obtain information necessary for power saving from the host and independently determine a power saving mode, and The control method can be provided.
  • the power supply capability of the host is measured by experiments, and based on this, the power supply capability of the host is determined. It is possible to provide an interface device that can determine a power-saving mode that is optimal for the capability, and a control method thereof.
  • the information recording medium on which the program is recorded can be easily distributed and sold as a software product independently of the interface device. Import the program recorded on the information recording medium of the present invention. If executed by the evening space device, the control method of the interface device and the interface device according to the above invention can be realized.
  • compact, discs (so-called CD-ROM), floppy disks, hard disks, magneto-optical disks, digital video 'disks (so-called DVD-ROM), or magnetic tapes as information recording media for recording programs
  • CD-ROM compact, discs
  • DVD-ROM digital video 'disks
  • magnetic tapes as information recording media for recording programs
  • a program can be introduced into an existing interface device using these information recording media.
  • these programs can be registered on the World Wide Web (WWW) Web site, downloaded by users, and installed on existing interface devices.
  • WWW World Wide Web
  • the present invention may be applied to an embodiment in which the face board supplies power to the pudding evening in the pudding evening and the interface board attached to the pudding evening. It is possible.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Description

インターフェース装置、 その制御方法、 および、 情報記録媒体 技術分野
本発明は、 インターフェース装置、 その制御方法、 および、 情報記録媒 体に関し、 特に、 2つのホストの間でデ一夕もしくはコマンドを転送する ことにより、 両者間の送受信をとりもちつつ、 適宜省電力状態に移行する ことにより、 消費電力を抑えることができる一方、 省電力状態への移行を ホストから制御して、 高速にデータもしくはコマンドを転送することがで きるインターフヱ一ス装置、 当該イン夕一フヱ一ス装置の制御方法、 およ び、 当該ィン夕ーフェース装置を制御するプログラムを記録した情報記録 媒体に関する。 技術背景
2つのホストの間のデ一夕もしくはコマンドの転送をとりもつイン夕一 フェース装置として、 一方のホストはコンピュータであり、 他方のホスト がプリン夕であるようなィンターフェ一ス装置や、 コンビュ一夕とコンビ ユー夕など複数のホストを接続するハブとして機能するィン夕一フェース 装置など、 さまざまなものが提供されている。
コンビュ一夕からプリン夕へ印刷のためのデータゃコマンドを送る際に は、 さまざまな経路を経由する場合が考えられる。 たとえば、 コンビュ一 夕が備えるパラレル ·ポートや R S— 2 3 2 Cポートを介するもの、 コン ピュー夕が接続されたネッ トワークを介するもの、 近年普及し始めた U S B (Universal Serial Bus ) や I E E E (Institute of Electrical and Electronic Engineers;米国電気電子学会) 1 3 9 4を介するものなどで ある。
このように、 さまざまな規格に基づいて、 コネクタの形状がさまざまに 異なるが、 コンビュ一夕側の接続状況が変化してもプリン夕自体のハ一ド ウェアは共通のものとしておきたい。 そこで、 上記のような様々な接続形 態によって送信されるデ一夕やコマンドを、 ひとまずインタ一フェース装 置が受信し、 電圧変換やインピーダンス整合、 送信されたデ一夕ゃコマン ドのバッファリング、 さらには、 これらの解釈およびフィル夕処理を行い、 しかる後に、 プリンタ固有のポート形式、 たとえば、 R S— 2 3 2 C形式 に変換して出力する。
このように、 イン夕一フエ一ス装置を交換することにより、 1台のプリ ン夕をさまざまな状況に合わせて使用することができる。 すなわち、 イン 夕一フェース装置とプリン夕の組合せにより、 さまざまなコネクタ形状に 対応する印刷装置を提供することができる。 これにより、 プリン夕自体を 大量生産することができ、 印刷装置全体に要するコストを低減させること ができる。
一方で、 ィン夕一フェース装置においては、 電力消費を抑えることが運 用コストの面からも環境保護の面からも望ましい。 そこで、 コンビユー夕 やプリン夕自体には所定の時間使用されない場合には、 それぞれ独自に省 電力待機状態に移行するようになっているものが多い。
また、 このようなイン夕一フェース装置においては、 電力消費を抑える ことが運用コス卜の面からも環境保護の面からも望ましい。 電力消費を抑 えるための省電力モードとしては、 ィン夕一フェース装置を制御する C P U (Central Processing Unit ; 中央演算処理ュニッ ト) のクロックを下 げたり、 間欠動作をさせたりする手法があり、 クロックの下げ幅や、 間欠 動作の割合など、 各種のパラメ一夕によって省電力モードの変更が可能で ある。 しかしながら、 従来のイン夕一フェース装置では、 以下のような問題が あった。
すなわち、 第 1のホスト、 たとえばコンピュータと、 第 2のホスト、 た とえばプリン夕とでは、 省電力化が進み、 電力消費を抑えることができて いるが、 インタ一フヱース装置ではこのような省電力化がほとんど進んで いない。 このため、 運用コストが増大してしまうという問題を生じていた。 このような問題が発生することは、 環境保護の面でも望ましいものではな い。
2つのホストは独自に省電力待機状態に移行するため、 一方のホスト側 だけでィンターフェース装置の省電力機能をすベて制御するのは現実的で はない。 他方のホスト側の省電力状況を考慮しなければならないからであ る。
したがって、 ィン夕一フェース装置自体が 2つのホス卜の状況を考慮し つつ、 場合によっては、 ホストからの指示にしたがって、 省電力機能を発 揮させることが望ましい。
また、 電源提供能力の高いプリン夕に装着された場合と、 電源提供能力 の低いプリン夕に装着された場合とでは、 望ましい省電力モ一ドは異なる ところが、 従来のインターフェース装置では、 このような電源提供能力の 相違に応じた省電力モードの変更に対応していない。 このため、 十分に電 力消費を低減することができない、 という問題が生じていた。
本発明は、 以上のような問題を解決するためになされたもので、 2つの ホストの間でデ一夕もしくはコマンドを転送することにより、 両者間の送 受信をとりもちつつ、 適宜省電力状態に移行することにより、 消費電力を 抑えることができる一方、 省電力状態への移行をホストから制御して、 高 速にデータもしくはコマンドを転送することができるィン夕一フヱース装 置、 当該イン夕一フェース装置の制御方法、 および、 当該インタ一フエ一 ス装置を制御するプログラムを記録した情報記録媒体を提供することを目 的とする。
また、 本発明は、 接続されたホストから動作のために必要な電力を提供 され、 当該ホス卜から省電力に必要な情報を得て独自に省電力モードを決 定することができるィンターフェース装置、 当該ィン夕一フェース装置の 制御方法、 および、 当該インターフヱース装置を制御するプログラムを記 録した情報記録媒体を提供することを目的とする。 発明の開示
以上の目的を達成するため、 本発明のイン夕フェース装置は、 第 1のホ スト装置からデータを受信する受信手段と、 当該受信手段が前記第 1のホ ストから受信した前記デ一夕を第 2のホスト装置に送信する送信手段とを 有するィン夕フェース装置において、 前記受信手段または前記送信手段の 動作に応じて、 複数の待機状態から所定の待機状態を選択する待機状態選 択手段を有することを特徴とする。
この場合において、 前記待機状態選択手段は、 前記第 1のホスト装置か ら受信した前記データを解釈して、 制御コマンドを抽出する制御コマンド 検出手段と、 前記制御コマン ド検出手段に応じ、 前記デ一夕が制御コマン ド以外のデータであった場合には、 通常待機状態を選択する通常待機状態 選択手段と、 前記制御コマン ド検出手段に応じ、 前記デ一夕が制御コマン ドであった場合には、 コマンド待機状態を選択するコマンド待機状態選択 手段と、 前記制御コマンド検出手段によって抽出された制御コマンドの終 了を検知するコマンド終了検知手段と、 前記コマンド終了検知手段に応じ、 前記制御コマンドの終了が検知された場合には、 前記コマンド待機状態を 解除して通常待機状態を選択するコマンド待機状態解除手段と、 前記通常 待機状態が選択されてからの経過時間を計測する第 1の計時手段と、 前記 第 1の計時手段に応じ、 前記通常待機状態が選択されてから所定の時間が 経過した場合には、 前記通常待機状態を解除して省電力待機状態を選択す る省電力待機状態選択手段とを有することが望ましい。
かかる特徴により、 2つのホストの間でデ一夕もしくはコマンドを転送 することにより、 両者間の送受信をとりもちつつ、 適宜省電力状態に移行 することにより、 消費電力を抑えることができる一方、 コマンド受信中に は省電力待機状態に移行しないことにより、 高速にコマンドを転送するこ とができるィン夕一フェース装置を提供することができる。
さらに、 この場合において、 前記省電力待機状態選択手段によって前記 省電力待機状態が選択された場合に、 その旨を前記第 1のホスト装置へ通 知する第 1の通知手段を更に有することが望ましい。
かかる特徴により、 第 1のホストがィンターフェ一ス装置の現在の状態 を知ることができるイン夕一フヱ一ス装置を提供することができる。
また、 この場合において、 前記省電力待機状態選択手段によって前記省 電力待機状態が選択された場合に、 その旨を前記第 2のホスト装置へ通知 する第 2の通知手段を更に有することが望ましい。 かかる特徴により、 第 2のホストがィン夕ーフェース装置の現在の状態を知ることができるィン 夕一フヱース装置を提供することができる。 特に、 この通知にしたがって、 第 2のホストも独自に省電力待機状態に移行することが可能である。
また、 この場合において、 前記待機状態選択手段は、 前記省電力待機状 態が選択されてからの経過時間を計測する第 2の計時手段と、 前記第 2の 計時手段に応じ、 前記省電力待機状態が選択されてから所定の時間が経過 した場合には、 前記省電力待機状態を解除して通常待機状態を選択する省 電力待機状態解除手段を更に有することが望ましい。 かかる特徴により、 所定の周期で省電力状態と通常待機状態を繰り返し、 データもしくはコマ ンドの受信に高速に応答できるイン夕一フェース装置を提供することがで きる。
さらに、 この場合において、 前記省電力待機状態解除手段によって前記 省電力待機状態が解除された場合に、 その旨を前記第 1のホスト装置へ通 知する第 3の通知手段を更に有することが望ましい。 かかる特徴により、 第 1のホストがィン夕一フェース装置の現在の状態を知ることができるィ ン夕一フェース装置を提供することができる。
また、 この場合において、 前記省電力待機状態解除手段によって前記省 電力待機状態が解除された場合に、 その旨を前記第 2のホスト装置へ通知 する第 4の通知手段を更に有することが望ましい。 かかる特徴により、 第 2のホストがィン夕一フェース装置の現在の状態を知ることができるィン ターフェース装置を提供することができる。
また、 この場合において、 前記制御コマンド検出手段によって検出され た制御コマンドを解釈する制御コマンド解釈手段と、
前記制御コマンド解釈手段によって所定の制御コマンドが解釈された場 合に、 前記省電力待機状態選択手段による前記省電力待機状態の選択を禁 止する省電力待機状態選択禁止手段とを有することが望ましい。 かかる特 徴により、 第 1のホストからイン夕一フヱ一ス装置の省電力待機状態への 移行を制御することができ、 当該移行を禁止することにより、 高速なデ一 夕ゃコマンドの転送ができるィンターフェ一ス装置を提供することができ る。
また、 本発明のイン夕フェース装置は、 上記のインタフヱ一ス装置にお いて、 複数の省電力モードを有し、 第 1のホストから提供される電力を当 該ィン夕一フェース装置に供給する電力供給手段を更に有し、 前記待機状 態選択手段は、 第 1のホス卜の電力提供能力情報を前記送受信手段により 第 1のホストから受信する電力情報受信手段と、 前記電力情報受信手段に より受信した第 1のホストの電力提供能力情報に基づいて、 前記電力供給 手段が採用する省電力モードを決定する第 1の決定手段とを有することを 特徴とする。
かかる特徴により、 接続されたホス卜から動作のために必要な電力を提 供され、 当該ホス卜から省電力に必要な情報を得て独自に省電力モードを 決定することができるィン夕一フェース装置を提供することができる。 また、 この場合において、 前記待機状態選択手段は、 第 1のホストの機 種名称情報と、 当該第 1のホストの電力提供能力情報と、 の対を記憶する 記憶手段を有し、 前記電力情報受信手段により受信されるホストの電力提 供能力情報は、 第 1のホストの機種名称情報を含み、 前記決定手段は、 前 記電力情報受信手段により受信されたホス卜の機種名称情報のデータを鍵 として前記記憶手段を検索し、 取得した第 1のホストの電力提供能力情報 に基づいて、 前記電力供給手段が採用する省電力モードを決定することが 望ましい。 かかる特徴により、 さらに、 電力提供能力情報を送信する機能 を持たないホス卜であっても、 そのホストが自分の機種名称を送信するこ とができれば、 そのホストの電力提供能力に最適な省電力モードを決定す ることができるイン夕一フェース装置を提供することができる。
また、 この場合において、 前記待機状態選択手段は、 第 1のホストが提 供する電力の電圧と、 電流と、 のいずれか、 もしくは、 双方の変化を検知 し、 これに基づいて前記電力供給手段が採用する省電力モードを決定する 第 2の決定手段を有することが望ましい。 かかる特徴により、 さらに、 ホ ストが電力提供能力の情報も機種名称の情報も送信できない場合であって も、 実験により当該ホストの電力提供能力を測定し、 これに基づいて、 そ のホス卜の電力提供能力に最適な省電力モードを決定することができるィ ン夕一フヱース装置を提供することができる。
また、 本発明は、 イン夕フェース装置の制御方法としても極めて有効で あり、 上記のィン夕フヱ一ス装置の構成を工程に置き換えて把握すること ができる。 さらに、 このような制御方法をコンピュータによって実現する 場合には、 そのための制御プログラムを格納した情報記録媒体自体も本発 明に含まれる。 この場合、 情報記録媒体は、 コンパク ト 'ディスク、 フロ ツビ一 ·ディスク、 ハ一ド ·ディスク、 光磁気ディスク、 ディジ夕ル · ビ デォ,ディスク、 もしくは、 磁気テープであることが望ましい。
かかる情報記録媒体の発明により、 プログラムを記録した情報記録媒体 をソフトウエア商品として、 ィン夕一フェース装置と独立して容易に配布 したり販売したりすることができるようになる。 本発明の情報記録媒体に 記録されたプログラムをィン夕一フェース装置で実行すれば、 上記の発明 に係るインターフヱ一ス装置、 および、 インターフェース装置の制御方法 が実現できる。
特に、 プログラムを記録した情報記録媒体としてコンパク ト 'ディスク (いわゆる C D— R O M ) 、 フロッピ一 'ディスク、 ハード ·ディスク、 光磁気ディスク、 ディジタル · ビデオ ·ディスク (いわゆる D V D— R〇 M) 、 もしくは、 磁気テープを採用することができ、 これらの情報記録媒 体を用いて、 既存のィン夕一フェース装置にプログラムを導入することが できる。
さらに、 これらのプログラムを WWW (World Wide Web) ウェブ -サ イ トに登録し、 これを使用者にダウンロードさせて、 既存のイン夕一フエ ース装置にプログラムを導入することができ、 これらの実施形態も本発明 の技術的範囲に含まれる。
なお、 上記および以下の説明では、 ホス トとしてプリン夕を、 他のホス トとしてコンピュータを、 それぞれ採用して説明するが、 これ以外の電子 情報機器をホストとして採用することは容易であり、 そのような実施形態 も本発明の技術的範囲に含まれる。
また、 複数のコンピュータなどの間をとりもつネッ トワーク ·ハブゃモ デムに本発明のィン夕一フェース装置を適用することも可能であり、 その ような実施形態も本発明の技術的範囲に含まれる。
さらに、 プリン夕と、 そのプリン夕に装着されるイン夕一フェース ·ボ 一ドの 2者において、 ィン夕ーフェース ·ボードがプリン夕に電力を提供 するような実施形態も考えられる。 この場合には、 プリン夕が 「イン夕一 フェース装置」 に、 ィン夕一フェース ·ボードが 「ホスト」 に、 それぞれ 対応するが、 このような実施形態も本発明の技術的範囲に含まれる。 図面の簡単な説明
図 1は、 本発明のイン夕一フヱ一ス装置の実施形態の一例のブロック構 成図。
図 2は、 本発明のィン夕ーフェース装置の実施形態の第 1の例の状態遷 移図。
図 3は、 本発明のィン夕ーフェース装置で使用されるコマンドのフォー マットの一例を示す説明図。
図 4は、 本発明のィンターフェース装置の実施形態の第 2の例の状態遷 移図。
図 5は、 本発明のィン夕ーフェース装置の実施形態の第 3の例の状態遷 移図。
図 6は、 本発明のイン夕一フェース装置の実施形態の第 4の例のブロッ ク搆成図。
図 7は、 本発明のィン夕ーフェース装置の省電力決定過程の実施形態の 第 4の例を示すフロ一チヤ一ト。
図 8は、 本発明のィン夕一フエ一ス装置の省電力決定過程の実施形態の 第 5の例を示すフローチャート。
図 9は、 本発明のィン夕ーフェース装置の省電力決定過程の実施形態の 第 4の例における機種名と電力提供能力のデータを示す説明図。
図 10は、 本発明のインタ一フェース装置の省電力決定過程の実施形態 の第 6の例を示すフローチヤ一ト。
図 11は、 本発明のインタ一フェース装置の省電力決定過程の実施形態 の第 4の例における提供される電力の電圧変化を示す説明図。
(符号の説明)
101 インターフエ一ス装置
11 1 第 1のホスト
112 第 1の受信部
113 第 1の送信部
121 第 2のホスト
122 第 2の受信部
123 第 2の送信部
131 CPU
132 ROM
133 電源制御部
134 夕イマ
135 RAM
136 バス
201 通常待機状態
202 省電力待機状態
203 コマンド待機状態
211 第 1の移行
211 a 第 1 aの移行
212 第 2の移行
213 第 3の移行 2 1 4 第 4の移行
2 1 5 第 5の移行
2 1 6 第 6の移行
4 0 1 テーブル
4 0 2 機種のレコ一ド
4 0 3 機種名の領域
4 0 4 平均提供能力の領域
4 0 5 ピーク時提供能力の領域 発明を実施するための最良の形態
以下に本発明の一実施形態を説明する。 なお、 以下に説明する実施形態 は説明のためのものであり、 本願発明の技術的範囲を制限するものではな い。 したがって、 当業者であればこれらの各要素もしくは全要素をこれと 均等なものに置換した実施形態を採用することが可能であるが、 これらの 実施形態も本願発明の技術的範囲に含まれる。
図 1には、 本発明のィンターフヱース装置の実施形態の一例のプロック 構成図を示す。 以下、 図 1を参照しながら、 本発明のインターフェース装 置の実施形態の一例の構成について説明する。
イン夕一フェース装置 1 0 1は、 第 1のホスト (たとえばコンピュータ) 1 1 1が送信したデ一夕もしくはコマンドを第 1の受信部 1 1 2が受信し、 第 2の送信部 1 2 3から第 2のホスト (たとえばプリンタ) 1 2 1へ送信 する。 これが基本的なデータやコマンドの流れであるが、 さらに第 2の受 信部 1 2 2と、 第 1の送信部 1 1 3とを備えれば、 第 2のホスト 1 2 1か ら第 1のホスト 1 1 1へ向けて、 逆にデータゃコマンドを送信することも できる。
第 1の受信部 1 1 2などがデータゃコマン ドを受信すると、 C P U (Central Processing Unit ; 中央演算処理ュニヅ ト) 1 3 1に対する割 り込みが発生し、 CPU 1 3 1は受信割り込み処理を実行する。 このよ うにして、 これらの送受信を、 CPU 1 3 1が制御する。 CPU 1 3 1 が実行する制御を実現するプログラムは、 ROM (Read Only Memory; 読み出し専用メモリ) 1 32に記憶されており、 イン夕一フェース装置 1 0 1に電源が投入されると CPU 1 3 1が当該プログラムを読み出して 実行する。
第 1の送信部 1 1 3により、 前記のような機能のほか、 現在のィン夕一 フェース装置 1 0 1の状況を第 1のホスト 1 1 1へ通知することができる c この第 1の送信部 1 1 3を省略した実施形態も本願発明の技術的範囲に含 まれる。
第 2の送信部 1 2 3は、 第 1のホスト 1 1 1から送信されたコマンドゃ デ一夕を送信するほか、 現在のィン夕一フェース装置 1 0 1の状況を第 2 のホスト 1 2 1へ通知することもできる。
電源制御部 1 33は、 C P U 1 3 1、 第 1の受信部 1 1 2、 第 1の送信 部 1 1 3、 第 2の受信部 1 2 2、 第 2の送信部 1 23などに供給される電 流や電圧、 クロックなどを制御し、 これらを省電力状態にしたり、 通常状 態に戻したりする。
タイマ 1 34は、 所定の時間が経過したか否かを調べるために使用する。 電源制御部に対する指示は CPU 1 3 1がタイマ 1 34が計測した経過 時間などを参照しながら行う。
第 1の受信部 1 1 2、 第 1の送信部 1 1 3、 第 2の受信部 1 2 2、 第 2 の送信部 1 23、 CPU 1 3 1、 ROM 1 32の間のデータのやりとり は、 バス 1 3 6などを介して行うことができる。
第 1のホスト 1 1 1側からバス 1 3 6へデータゃコマンドを流すため、 第 1の受信部 1 1 2が電圧、電流、インピーダンス、周波数、プロ トコル (通 3 信手順)などの変換を行う。バス 1 3 6からデータゃコマンドを第 2のホス ト 1 2 1側へ流すため、 第 2の送信部 1 2 3が電圧、 電流、 インピーダン ス、 周波数、 プロトコルなどの変換を行う。 場合によっては、 C P U 1 3 1がこれらの変換を司ることもできる。
さらに、 図示しない: R A M (Random Access Memory;ランダム 'ァク セス 'メモリ) をバス 1 3 6に接続することもできる。 この場合、 R A M を一時的な記憶領域として、 あるいは、 転送されるデータやコマンドのバ ッファリング用領域として使用することができる。
ここで、 第 1の受信部 1 1 2は、 受信手段として、 第 2の送信部 1 2 3 は、 送信手段として、 C P U 1 3 1は、 夕イマ 1 3 4や電源制御部 1 3 3などと共働して、 第 1から第 6の移行手段として、 および、 設定手段と して、 第 1の送信部 1 1 3は、 第 1および第 3の通知手段として、 第 2の 送信部 1 2 3は、 第 2および第 4の通知手段として、 それそれ働く。 図 2には、 本発明のィン夕一フヱ一ス装置の実施形態の第 1の例の状態 遷移図を示す。 以下、 図 2を参照しながら、 本発明のインターフェース装 置の実施形態の第 1の例の動作の流れを説明する。
インターフヱース装置 1 0 1は、 電源を投入した直後は通常待機状態 2 0 1になっている。 ここで、 通常待機状態 2 0 1になったときからの経過 時間を夕イマ 1 3 4で計時する。
夕イマ 1 3 4で計時した経過時間が所定の時間 (たとえば、 1 0秒) を 経過した場合、 C P U 1 3 1は電源制御部 1 3 3を駆動して、 インター フェース装置 1 0 1全体を省電力状態に移行させ、 状態を省電力待機状態 2 0 2とする。 この移行が第 1の移行 2 1 1である。
一方、 通常待機状態 2 0 1になったときから所定の経過時間を経過しな いうちに、 あるいは、 省電力待機状態 2 0 2になっている場合に、 第 1の 受信部 1 1 2が第 1のホストから送信されたデータを受信すると、 C P U 4
1 3 1に割り込みが発生する。 割り込み処理では、 当該デ一夕を第 2の送 信部 1 2 3を介して第 2のホスト 1 2 1へ送信するか、 あるいは、 当該デ 一夕を R A Mにバッファリングすることにより、 送信の予約を行う。 さら に、 通常待機状態 2 0 1に移行する。 この移行が第 2の移行 2 1 2である c なお、 受信したバイ トがデ一夕であるかコマンドであるかを区別する手 法については後述する。
通常待機状態 2 0 1になったときから所定の経過時間を経過しないうち に、 あるいは、 省電力待機状態 2 0 2になっている場合に、 第 1の受信部 1 1 2が第 1のホストから送信されたコマンドを受信すると、 C P U 1 3 1に割り込みが発生する。 割り込み処理では、 当該コマンドを第 2の送 信部 1 2 3を介して第 2のホスト 1 2 1へ送信するか、 あるいは、 当該コ マンドを R A Mにバッファリングすることにより、 送信の予約を行う。 さ らに、 コマンド待機状態 2 0 3に移行する。 この移行が第 3の移行 2 1 3 である。
コマンドは、 一般に、 連続して、 あるいは、 大量に送信されることが多 レ、。 そこで、 省電力待機状態 2 0 2に移行しないようにした方がよい。 ま た、 一般に、 省電力状態からの復帰には時間がかかるため、 これによるス ループッ トの低下を防ぐ上でも好ましい。 本実施形態では、 コマンド待機 状態 2 0 3から直接省電力待機状態 2 0 2には移行できないようになって いる。
コマンド待機状態 2 0 3になっているときに、 第 1の受信部 1 1 2が第 1のホストから送信されたコマンドを受信すると、 C P U 1 3 1に割り 込みが発生する。 割り込み処理では、 当該コマンドを第 2の送信部 1 2 3 を介して第 2のホスト 1 2 1へ送信するか、 あるいは、 当該コマンドを R A Mにバッファリングすることにより、 送信の予約を行う。 状態としては、 コマンド待機状態 2 0 3を維持する。 この移行が第 4の移行 2 1 4である c 高速なコマンド転送を行うためである。
一方、 コマンド待機状態 2 0 3になっているときに、 コマンドの終了を 検知すると、 通常待機状態 2 0 1に移行する。 この移行が第 5の移行 2 1 5である。 第 1のホスト 1 1 1からのコマンド送信が完了したため、 省電 力待機状態 2 0 2に移行しうる通常待機状態 2 0 1に戻すためである。 このように、 第 1のホスト 1 1 1から送信されたデータゃコマンドと、 夕イマ 1 3 4によって計時した経過時間に応じて、 通常待機状態 2 0 1、 省電力待機状態 2 0 2、 コマンド待機状態 2 0 3を適宜移行することによ り、 高速な転送と省電力という 2つの目的を達成することができる。
ここで、 デ一夕とコマンドを区別し、 コマンドの終了を検知するために は、 以下のような手法が考えられる。
第 1の手法は、 コマンドとデータとで、 送信されるデータの形式を変更 しておく実施形態である。 たとえば、 通信が 8ビッ ト、 すなわち、 1バイ ト単位で行われる場合、 コマンドには最上位ビヅ トを立てた値 ( 1 2 8〜 2 5 5、 十六進数で O x 8 0〜0 x f f ) を、 デ一夕には最上位ビッ トを クリァした値 ( 0〜: L 2 7、 十六進数で 0 χ 0 0〜0 χ 7 ί" ) を、 それそ れ使用する手法である。
この場合には、 コマンド待機状態 2 0 3において、 第 1のホスト 1 1 1 が送信した 1バイ トを受信したときに、 まず、 その 1バイ トを第 2のホス ト 1 2 1に送信 (予約) し、 次に、 当該 1バイ 卜の最上位ビッ トが立って いるかどうかを調べ、 立っている場合には第 4の移行 2 1 4によりコマン ド待機状態 2 0 3を維持し、 立っていない場合には第 5の移行 2 1 5によ り通常待機状態 2 0 1に移行する手法を採用することができる。
第 2の手法は、 コマンドは特定のバイ トから開始され、 コマンドの先頭 部にコマンド全体の長さが埋め込まれており、 当該長さと実際に受信した バイ ト数とを比較して、 コマンドの転送が終わったか否かを判別する実施 形態である。 たとえば、 コマンドの先頭は 2 7 (十六進数で O x l b ) も しくは 2 8 (十六進数で O x 1 c ) であり、 前者の場合にはその後に 1バ ィ トでそれ以降に続くコマンド全体の長さ nが、 後者の場合にはその後に 2バイ 卜でそれ以降に続くコマンド全体の長さ mが、 それぞれ示される、 という手法である。 図 3には、 この場合のコマンドのフォーマッ トを示す c 図 3 ( a ) は、 0 X 1 bから始まるコマンドのフォーマットの説明図であ り、 図 3 ( b ) は、 O x l cから始まるコマンドのフォ一マツ 卜の説明図 である。
この実施形態では、 O x 1 bを受信した時点でコマンド待機状態になり、 次に受信したバイ トの値 nが以降のコマンドの長さになり、 この後 nバイ トを受信するとコマンドの終了が検知されることになる。 0 X 1 cを受信 した場合も同様である。
図 4には、 本発明のィンターフェース装置の実施形態の第 2の例の状態 遷移図を示す。 なお、 図 2に示した状態遷移図と同様の状態については、 同じ符号を付してある。 以下、 図 4を参照しながら、 本発明のインターフ エース装置の実施形態の第 2の例の動作の流れを説明する。
第 2の実施形態は、 大部分が第 1の実施形態と同様であるが、 第 6の移 行 2 1 6を採用している点が異なる。 本実施形態では、 省電力待機状態 2 0 2になってからの経過時間を夕イマ 1 3 4で計測し、 所定の時間 (たと えば 1 0秒) が経過したら、 第 6の移行 2 1 6により、 通常待機状態 2 0 丄 i¾る
ここで、 第 6の移行 2 1 6に伴い、 C P U 1 3 1が、 第 1の送信部 1 1 3を介して第 1のホスト 1 1 1へ、 第 2の送信部 1 2 3を介して第 2のホ スト 1 2 1へ、 それぞれ通常待機状態 2 0 1に戻る旨を通知することがで ぎる。
さらに、 本実施形態では、 第 1の移行 2 1 1に伴い、 C P U 1 3 1が、 第 1の送信部 1 1 3を介して第 1のホスト 1 1 1へ、 第 2の送信部 1 2 3 を介して第 2のホスト 1 2 1へ、 それぞれ省電力待機状態 2 0 2に移行す る旨を通知することができる。
この通知により、 第 1のホスト 1 1 1、 および、 第 2のホスト 1 2 1は、 インターフェース装置 1 0 1が省電力状態にあるのか否かを判別すること ができる。
もちろん、 これらの通知のいずれか 1つまたは複数を選択的に、 あるい は、 すべてを行わない実施形態をとることもできる。
図 5には、 本発明のィン夕ーフェース装置の実施形態の第 3の例の状態 遷移図を示す。 なお、 図 2、 図 4に示した状態遷移図と同様の状態につい ては、 同じ符号を付してある。 以下、 図 5を参照しながら、 本発明のイン 夕一フェース装置の実施形態の第 3の例の動作の流れを説明する。
第 3の実施形態は、 大部分が第 1の実施形態と同様であるが、 後者の第 1の移行 2 1 1が、 前者では第 1の移行 2 1 1と第 1 aの移行 2 1 1 aと に分割されている点が異なる。
第 3の実施形態では、 ィンターフェ一ス装置 1 0 1はコマンドを受信す ると、 上述の処理に加え、 C P U 1 3 1は、 そのコマンドがインターフ エース装置 1 0 1に対する省電力待機禁止コマンドか、 省電力待機許可コ マンドか、 それともそれ以外のコマンドかを調べる。 省電力待機禁止コマ ンドであった場合には、 R A Mなどに、 現在省電力待機が禁止されている 旨を記憶する。 省電力待機許可コマンドであった場合には、 R A Mなどに、 現在省電力待機が許可されている旨を記憶する。
一方、 通常待機状態 2 0 1になってから所定の経過時間が経過しても、 R A Mなどに記憶された情報から省電力待機が禁止されている場合には、 C P U 1 3 1は、 第 1の移行 2 1 1を採用せずに、 第 1 aの移行 2 1 1 aを採用し、 通常待機状態 2 0 1を維持する。 このほかの実現方法として、 省電力待機禁止コマンドを受信したときに C P U 1 3 1が夕イマ 1 3 4による経過時間の計測を停止させ、 省電力 待機禁止コマンドを受信したときに C P U 1 3 1が夕イマ 1 3 4による 経過時間の計測を可能にする、 という手法が考えられる。 夕イマ 1 3 4が 停止していれば、 所定の経過時間が経過したことは検知されないため、 通 常待機状態 2 0 1が維持される。
ここで、 省電力待機禁止コマンド、 および、 許可コマンドは、 インター フエ一ス装置 1 0 1から第 2のホスト 1 2 1に対してさらに送信する実施 形態をとることもできるし、 送信しない実施形態をとることもできる。 前 者の場合には、 ィン夕一フェース装置 1 0 1によって第 1のホスト 1 1 1 から第 2のホスト 1 2 1へ送信されるコマンドのフィル夕処理が行われる ことになり、 後者の場合には、 当該コマンドを第 2のホスト 1 2 1が受信 することによって、 第 2のホスト 1 2 1が省電力待機状態になっていても これから通常待機状態に復帰することができ、 大量のコマンドゃデータを 受信する準備を開始することができる。
なお、 上記の説明では、 第 2の実施形態と第 3の実施形態とを独立して 説明したが、 これらを結合した実施形態を採用することも可能であり、 当 該結合した実施形態も本願発明の技術的範囲に含まれる。 特に、 本発明の 原理にしたがえば、 当業者であれば、 この実施形態を採用することにより、 インタ一フェース装置 1 0 1の省電力状態を第 1のホスト 1 1 1が監視し て制御することができ、 これに合わせて第 1のホスト 1 1 1が第 2のホス ト 1 2 1の省電力状態を管理することすら可能であり、 この実施形態も本 発明の技術的範囲に含まれる。
本発明のィン夕ーフエース装置 1 0 1をプリン夕とコンピュータとの間 をとりもつものとして使用する場合には、 プリン夕が備える拡張スロッ ト 内に本発明のィン夕一フェース装置 1 0 1がそつく り挿入されるような実 施形態をとることができる。 この実施形態では、 イン夕一フェース装置 1 0 1とプリン夕とがー体となり、 外部からは全体として一台の印刷装置を 構成しているように見える。 これにより、 ケーブルの引き回しや運搬が容 易になり、 機器配置の上で設置面積の制約が少なくなる。 内部では、 イン 夕一フェース装置 1 0 1とプリン夕との 2つの機器が動作しているが、 い ずれも省電力機能を備えるように実装されているため、 全体として見ても 省電力印刷装置として機能する。
なお、 第 1のホスト 1 1 1と第 2のホスト 1 2 1は、 主従関係にあるも のではない。 したがって、 たとえば、 第 1のホスト 1 1 1をプリン夕とし、 第 2のホスト 1 2 1をコンピュータとし、 送受されるデ一夕はプリン夕の 状態情報とすることが可能である。 また、 プリン夕からインターフェース 装置 1 0 1の省電力機能を制御することも可能である。
また、 第 1のホスト 1 1 1と、 第 2のホスト 1 2 1と、 を、 いずれもコ ンピュー夕とした場合、 本発明のインターフェース装置 1 0 1は、 ネッ ト ワーク用の省電力ハブとしての機能を果たすことができ、 この実施形態も 本発明の技術的範囲に含まれる。 この場合、 「コマンド」 や 「デ一夕」 に 相当するものはバケツ トになり、 バケツ トの内容や種類に応じて高速な転 送が必要か、 それとも遅延してもよいかを分別することになる。 たとえば、 通信プロトコルとして T C P / I Pを採用した場合には、 ハブ自体に対す る通信も可能である。 したがって、 省電力の設定コマンドの送受信にはハ ブ自体に対する通信を使用することができる。
以下に本発明の第 4の実施形態を説明する。 図 6には、 本発明のイン夕 —フェース装置の実施形態の一例のブロック構成図を示す。 以下、 図 6を 参照しながら、 本発明のィン夕一フェース装置の実施形態の一例の構成に ついて説明する。
ィン夕一フェース装置 1 0 1は、 第 1のホスト (たとえばコンピュータ) 1 1 1が送信したデータもしくはコマンドを第 1の受信部 1 12が受信し、 第 2の送信部 123から第 2のホスト (たとえばプリン夕) 12 1へ送信 する。 これが基本的なデ一夕の流れであるが、 さらに第 2の受信部 122 と、 第 1の送信部 1 13と、 を備えれば、 第 2のホスト 12 1から第 1の ホスト 1 1 1へ向けて、 逆にデ一夕を送信することもできる。
なお、 第 1の受信部 1 1 2および第 1の送信部 1 1 3を備えない実施形 態を採用することもできる。 たとえば、 インターフヱース ·ボードがプリ ン夕に電力を提供する場合であって、 ィンターフェ一ス ·ボ一ドが 「第 2 のホスト」 に、 プリン夕が 「インターフェース装置」 に、 それぞれ対応す る場合である。
第 1の受信部 1 12などがデ一夕を受信すると、 CPU 13 1に対する 割り込みが発生し、 CPU 1 3 1は受信割り込み処理を実行する。 この ようにして、 これらの送受信を、 CPU 13 1が制御する。 CPU 13 1が実行する制御を実現するプログラムは、 R〇M(Read Only Memory; 読み出し専用メモリ) 132に記憶されており、 イン夕一フェース装置 1 0 1に電源が投入されると CPU 1 3 1が当該プログラムを読み出して 実行する。 ここで、 CPU 13 1に提供されるクロックの周波数を変化 させることによって消費電力を低減することができる。
第 2の送信部 123は、 第 1のホスト 1 1 1から送信されたデータを送 信するほか、 現在のィン夕一フェース装置 10 1の状況を第 2のホスト 1 2 1へ通知することもできる。
電源制御部 133は、 第 2のホス ト 1 2 1から電力の提供を受け、 CP U 13 1、 第 1の受信部 1 1 2、 第 1の送信部 1 1 3、 第 2の受信部 1 22、 第 2の送信部 123などに電力を供給すると同時に、 供給される電 流や電圧、 クロックなどを制御し、 これらを省電力状態にしたり、 通常状 態に戻したりする。 なお、 電力供給の詳細については、 繁雑であるため、 図示していないが、 公知の技法が採用できる。
夕イマ 134は、 所定の時間が経過したか否かを調べるために使用する。 たとえば、 省電力モードで間欠動作を行う場合には、 夕イマ 134により 所定の時間が経過するごとに通常待機状態と省電力待機状態を交換するこ とにより省電力の機能を実現する。
第 1の受信部 1 1 2、 第 1の送信部 1 13、 第 2の受信部 1 22、 第 2 の送信部 123、 CPU 13 1、 ROM 132の間のデータのやりとり は、 バス 136などを介して行うことができる。
第 1のホスト 1 1 1側からバス 136へデータを流すため、 第 1の受信 部 1 12が電圧、 電流、 インピーダンス、 周波数、 プロ トコルなどの変換 を行う。 バス 136からデ一夕を第 2のホスト 12 1側へ流すため、 第 2 の送信部 123が電圧、 電流、 インピーダンス、 周波数、 プロトコルなど の変換を行う。 場合によっては、 CPU 13 1がこれらの変換を司るこ ともできる。
ROM 132には、 すでに出荷されている第 2のホストの機種名と電力 提供能力のデータを記憶することができる。
さらに、 RAM (Random AccessMemory; ランダム ·アクセス ·メモ リ) 135もバス 136に接続することもできる。 ; AM 135は、 一 時的な記憶領域として、 あるいは、 転送されるデータのバッファリング用 領域として使用することができる。
ここで、 第 2の受信部 1 22と第 2の送信部 1 23とは、 送受信手段と して、 電力制御部 1 33は、 電力供給手段として、 CPU 1 3 1は、 第 2の受信部 122と共働して、 電力情報受信手段、 および、 决定手段とし て、 ROM 132または RAM 135は、 記憶手段として、 CPU 1 3 1は、 電力制御部 1 33と共働して、 第 2の決定手段として、 第 1の受 信部 1 12は、 受信手段として、 CPU 13 1は、 第 2の送信部 123 と共働して、 転送手段として、 それぞれ働く。
以下の説明では、 第 2のホスト 1 2 1を 「ホスト 12 1」 のように適宜 略記する。
図 7は、 本発明のィンターフェ一ス装置の省電力決定過程の実施形態の 第 1の例を示すフローチャートである。 以下、 図 7を参照して省電力決定 過程の第 1の実施例について説明する。
ホスト 12 1に電源が投入されると、 ィン夕一フェース装置 10 1にも 電源が供給され始め、 これによつて両者が初期化を開始する。 これを契機 に、 省電力決定過程が開始される (ステップ S 20 1 a, ステップ S 20 1 b ) 。
まず、 ィン夕ーフェース装置 1 0 1とホスト 1 2 1とが、 起動時の初期 化を行う (ステップ S 202 a, ステップ S 202 b) 。
次に、 ホスト 12 1は、 自分の電力提供能力の情報のデータをイン夕一 フエ一ス装置に送信し (ステップ S 203 b) 、 ィン夕一フヱ一ス装置 1 0 1は、 当該デ一夕を受信する (ステップ S 203 a) 。
なお、 電力提供能力の情報としては、 平均提供能力、 ピーク時提供能力 などの情報が考えられる。 また、 これらの情報とあわせて、 あるいは、 こ れらの情報のかわりに、 ホスト 1 2 1の機種名を送受することが可能であ る。
ホスト 12 1は、 当該送信が終了すると、 以降は通常の処理に移行する (ステップ S 204) 。
一方、 ィン夕一フェース装置 1 0 1は、 あらかじめ ROM 132などに 記憶された自分の動作電力を取得し、 平均提供能力が動作電力よりも大き いか調べる (ステップ S 205 ) 。
大きい場合 (ステップ S 205 ; Ye s) 、 ピーク時提供能力が動作電 力よりも大きいか調べ (ステップ S 206 ) 、 大きい場合 (ステップ S 2 06 ; Ye s) には、 省電力モ一ド Aを採用する (ステップ S 207 ) 。 一方小さい場合 (ステップ S 206 ; No) には、 省電力モード Bを採用 する (ステップ S 208) 。 その後、 本処理を終了する (ステップ S 20 9) o
一方、 小さい場合 (ステップ S 205 ; No) 、 ビーク時提供能力が動 作電力よりも大きいか調べ (ステップ S 2 10) 、 大きい場合 (ステップ S 2 10 ; Ye s) には、 省電力モード Cを採用し (ステップ S 2 1 1) 、 本処理を終了する (ステップ S 209 ) 。 一方小さい場合 (ステップ S 2 10 ; N o) には、 ホスト 12 1から供給される電力では、 ィン夕一フェ —ス装置 10 1は動作しないことになるため、 エラー処理を行う (ステツ プ S 2 12) 。
エラ一処理としては、 ィンターフェ一ス装置 10 1の図示しないランプ を点滅させたり、 図示しないブザーを鳴動させたり、 ホスト 12 1にその 旨を通知し、 ホスト 12 1を介してユーザに動作不能であることを知らせ る、 などが考えられる。
ここで、 上記の省電力モード A、 B、 Cとしては、 たとえば以下のよう なものが考えられる。
(a) 省電力モード Aは、 省電力制御を最高にする一方で、 通信速度を 優先する場合には、 省電力制御を行わない。
(b) 省電力モード Bは、 省電力制御を弱いものにするか、 あるいは、 省電力制御を行わない。
(c) 省電力モード Bは、 常に省電力制御を最高にする。
このような条件分岐と省電力モードとは、 インタ一フェース装置 1 0 1 の能力に応じてさらに細かく分類することもできるが、 このような実施形 態も、 本発明の技術的範囲に含まれる。
図 8は、 本発明のィンターフェ一ス装置の省電力決定過程の実施形態の 第 5の例を示すフローチャートである。 以下、 図 8を参照して省電力決定 過程の第 2の実施例について説明する。
ホスト 1 2 1の製造時期などによっては、 ィン夕一フェース装置 1 0 1 にそのホスト 1 2 1の機種名を送信することはできるものの、 電力提供能 力情報を送信することができないものがある。 すなわち、 第 1の実施例の ステップ S 2 0 3 aとステップ S 2 0 3 bにおいて、 平均提供能力ゃピ一 ク時提供能力の情報が得られない場合である。
本実施例を採用すると、 このような古い機種のホスト 1 2 1にィン夕ー フェース装置 1 0 1が接続された場合であっても、 適切な省電力モードを 選択できるようにするものである。
ここでは、 第 1の実施例のステップ S 2 0 3 aと、 ステヅプ S 2 0 3 b と、 において、 ホスト 1 2 1の機種名の情報が送受信されたものとし、 そ れ以降の処理について説明する。 これ以前の処理については第 1の実施例 と同様だからである。
ィン夕一フエース装置 1 ◦ 1は、 ステップ S 2 0 3 aにおいて受信した ホスト 1 2 1の機種名を鍵に、 R O M 1 3 2に記憶されたテーブルを検 索する (ステップ S 3 0 1 ) 。 図 9は、 本発明のィン夕一フェース装置の 省電力決定過程の実施形態の一例における機種名と電力提供能力のデ一夕 のテーブルを示す説明図である。
テーブル 4 0 1は、 1つの機種のレコード 4 0 2にっき機種名を記憶す る領域 4 0 3、 平均提供能力を記憶する領域 4 0 4、 ピーク時提供能力を 記憶する領域 4 0 5に情報が記憶されている。
検索の結果、 当該ホスト 1 2 1に対応する情報が発見された場合 (ステ ップ S 3 0 1 ;発見) には、 この機種に対応する平均提供能力と、 ピーク 時提供能力と、 を R O M 1 3 2に記憶されたテ一ブルから取得して、 省 電力モードを決定し (ステヅプ S 3 0 2 ) 。 本処理を終了する (ステップ S 3 0 3 ) 。 なお、 この決定の過程では、 第 1の実施例のステップ S 2 0 5〜ステップ S 2 1 2と同様の処理を採用することができる。
検索の結果、 当該ホスト 1 2 1に対応する情報が発見できなかった場合 (ステップ S 3 0 1 ;未登録) には、 これに対応する省電力モード Dを採 用し (ステップ S 3 0 4 ) 、 本処理を終了する (ステップ S 3 0 3 ) 。 なお省電力モード Dとしては、 たとえば、 以下のようなものが考えられ る ο
•省電力制御を行わない。
•標準の省電力制御を行う。
·エラ一処理を行う。
以下では、 ィンターフェース装置の省電力決定過程の実施形態の第 5の 例にかわる第 6の例について説明する。 図 1 0には、 第 3の実施例のフロ —チャートを示す。 本実施例を採用すると、 インターフェース装置 1 0 1 が接続されたホスト 1 2 1の機種名が R O M 1 3 2に記憶されたテープ ルに登録されていない場合や、 ホスト 1 2 1が機種名を送信することがで きない場合であっても、 適切な省電力モードを選択できるようにするもの である。 たとえば、 第 5の実施例において、 ステップ S 3 0 4に至ってし まうような場合である。
本決定過程は、 たとえば、 第 5の実施例において、 ステップ S 3 0 4に 至ったことによって起動される (ステップ S 5 0 1 ) 。 まず、 C P U 1 3 1は、 電源制御部を制御して、 イン夕一フヱ一ス装置 1 0 1の見掛けの 抵抗が平均的な動作における負荷抵抗となるように設定し、 このときの供 給されている電圧を測定する (ステップ S 5 0 2 ) 。 これにより、 ホスト 1 2 1にかかる平均的な負荷が判明する。
次に、 イン夕一フェース装置 1 0 1の見掛けの抵抗が、 動作時のうち最 も小さい抵抗となるように設定する (ステップ S 5 0 3 ) 。 すなわち、 ホ スト 1 2 1に最も負荷がかかる場合であり、 ィン夕一フェース装置 1 0 1 には最大の電流が流れる。
すると、 ホスト 1 2 1が提供する電力の電圧は次第に降下していく。 図
1 1は、 本発明のインターフェース装置の省電力決定過程の実施形態の一 例における提供される電力の電圧変化を示す説明図である。
さらに、 C P U 1 3 1は、 この電圧降下の様子を観察し、 所定の時間内 に所定の電圧に至ったか否かを判定する (ステップ S 5 0 4 ) 。 ここで、 所定の電圧には、 インタ一フェース装置 1 0 1が動作するのに必要な最低 の電圧を採用することができる。
所定の時間内に所定の電圧に至った場合 (ステップ S 5 0 4 ; Y e s ) は、 ホスト 1 2 1が提供する電力では、 インターフェース装置 1 0 1を駆 動できないことになるため、 エラ一処理を行う (ステップ S 5 0 5 ) 。 こ の処理は、 上述のステヅプ S 2 1 2と同様である。 なお、 この場合の電圧 降下の様子が図 1 1 ( a ) に示してある。
一方、 所定の時間内に所定の電圧に至らなかった場合 (ステップ S 5 0
4 ; N o ) は、 所定の時間が経過したときの電圧の値に応じて採用する省 電力制御を決定し (ステップ S 5 0 6 ) 、 本処理を終了する (ステップ S
5 0 7 ) 。 この電圧の値が大きければ大きいほど、 ホスト 1 2 1には能力 の高い電源が用意されていることになる。 なお、 この場合の電圧降下の様 子が図 1 1 ( b ) に示してある。
ステップ S 5 0 2における電圧から平均供給能力を、 ステップ S 5 0 4 における電圧からピーク供給能力を、 それぞれ計算することができる。 こ れが得られたら、 ステップ S 5 0 6では、 第 1の実施例のステップ S 2 0 5〜ステップ S 2 1 2と同様の処理を行うことができる。
所定の時間には、 たとえば 1秒を採用することができる。 また、 電圧の 変化がなくなったときに、 所定の時間が経過した、 と解釈する実施形態を 採用することもできる。
なお、 R O M 1 3 2 としてフラッシュ E E P R O M ( Electrical Erasable Programmable ROM)ゃハ一ドディスクを採用することができ る。 ィン夕ーフェース装置 1 0 1が R O M 1 3 2に記憶されていない機 種に接続された場合には、 第 2のホスト 1 2 1から受信した電力提供能力 の情報やインターフェース装置 1 0 1の負荷を変化させる実験により検出 した第 2のホスト 1 2 1の電力提供能力の情報を R O M 1 3 2に記憶さ れたテ一ブルに追加して記憶することができる。 この場合、 本発明のイン 夕一フェース装置 1 0 1は、 未知のホストに接続されるごとに次第に情報 を蓄積し、 賢くなつていくことになる。
また、 ステップ S 2 0 3 aにおいて、 インターフエ一ス装置 1 0 1はホ スト 1 2 1から、 当該機種の電力提供能力や機種名を受信するが、 イン夕 —フェース装置 1 0 1とホスト 1 2 1とが、 いずれも図 9に示すようなテ 一ブルを記憶している場合には、 このテーブルの情報を互いに交換し、 自 分が記憶していない情報を新たに追加することにより、 ホスト 1 2 1とィ ン夕ーフヱ一ス装置 1 0 1の双方が次第に情報を蓄積し、 賢くなつていく ような実施形態を採用することもでき、 この実施形態も本発明の技術的範 囲に含まれる。
また、 多くのホストでは機種名を送信することができる一方で、 電力提 供能力情報は送信できないものもある。 このような場合に、 ある機種につ いて一度だけ電力提供能力の実験による検知を行えば、 それ以降は R O M 1 3 2に記憶されたテーブルの情報を用いればよいため、 初期化時間の短 縮と、 ホストに対する電源の負荷の低減を図ることができる。
なお、 本発明のィン夕一フェース装置 1 0 1をプリンタとコンピュータ との間をとりもつものとして使用する場合には、 プリン夕が備える拡張ス ロヅ ト内に本発明のィン夕一フェース装置 1 0 1がそつく り挿入されるよ うな実施形態をとることができる。 この実施形態では、 インターフヱ一ス 装置 1 0 1とプリンタとが一体となり、 外部からは全体として一台の印刷 装置を構成しているように見える。 これにより、 ケーブルの引き回しや運 搬が容易になり、 機器配置の上で設置面積の制約が少なくなる。 内部では、 インターフエ一ス装置 1 0 1とプリン夕との 2つの機器が動作しているが、 いずれも省電力機能を備えるように実装されているため、 全体として見て も省電力印刷装置として機能する。
また、 上述したように、 本発明は、 これが仲立ちとなる複数のホストの いずれかから電力を供給されるようなィン夕ーフェース装置ならば、 いず れにも適用が可能である。 たとえば、 ネッ トワーク ·ハブ、 モデムなどに 適用することができ、 これらの実施形態も本発明の技術的範囲に含まれる 産業上の利用可能性
以上説明したように、 本発明によれば、 以下の効果を奏する。
第 1に、 2つのホストの間でデータもしくはコマンドを転送することに より、 両者間の送受信をとりもちつつ、 適宜省電力状態に移行することに より、 消費電力を抑えることができる一方、 コマンド受信中には省電力待 機状態に移行しないことにより、 高速にコマンドを転送することができる ィン夕ーフェース装置と、 その制御方法とを提供することができる。
第 2に、 インターフエ一ス装置が間をとりもつ第 1のホストと、 第 2の ホストとの一方、 もしくは、 双方がイン夕一フェース装置の現在の状態を 知ることができるィン夕一フェース装置と、 その制御方法とを提供するこ とができる。 通知を受けたホストは、 その通知に応じて、 自分を省電力待 機状態に移行したり通常待機状態へ復帰したりすることができ、 これによ つて高速な通信速度を維持することができる。
第 3に、 第 1のホストからインタ一フヱース装置の省電力待機状態への 移行を制御することができ、 当該移行を禁止することにより、 高速なデー 夕ゃコマンドの転送ができるィン夕一フエース装置と、 その制御方法とを 提供することができる。
特に、 第 1のホストがィン夕ーフェース装置の現在の状態を検知して、 きめ細かい省電力制御を行うことができるインターフェース装置と、 その 制御方法とを提供することができる。
第 4に、 接続されたホストから動作のために必要な電力を提供され、 当 該ホストから省電力に必要な情報を得て独自に省電力モードを決定するこ とができるインターフヱース装置、 および、 その制御方法を提供すること ができる。
第 5に、 さらに、 電力提供能力情報のデ一夕を送信する機能を持たない ホストであっても、 そのホス卜が自分の機種名称を送信することができれ ば、 そのホストの電力提供能力に最適な省電力モードを決定することがで きるインターフェース装置、 および、 その制御方法を提供することができ る。
第 6に、 さらに、 ホストが電力提供能力の情報も機種名称の情報も送信 できない場合であっても、 実験により当該ホストの電力提供能力を測定し、 これに基づいて、 そのホス卜の電力提供能力に最適な省電力モードを決定 することができるインターフェース装置、 および、 その制御方法を提供す ることができる。
第 7に、 さらに、 2つのホストの間のデ一夕の転送の仲立ちをすること ができるインターフェース装置、 および、 その制御方法を提供することが できる。
第 8に、 プログラムを記録した情報記録媒体をソフトウェァ商品として、 ィンターフェ一ス装置と独立して容易に配布したり販売したりすることが できるようになる。 本発明の情報記録媒体に記録されたプログラムをイン 夕一フヱース装置で実行すれば、 上記の発明に係るィン夕一フヱース装置、 および、 インターフェース装置の制御方法が実現できる。
特に、 プログラムを記録した情報記録媒体としてコンパク ト ,ディスク (いわゆる C D— R O M) 、 フロッピ一 'ディスク、 ハード 'ディスク、 光磁気ディスク、 ディジタル · ビデオ 'ディスク (いわゆる D V D—R O M) 、 もしくは、 磁気テープを採用することができ、 これらの情報記録媒 体を用いて、 既存のィン夕ーフヱ一ス装置にプログラムを導入することが できる。
さらに、 これらのプログラムを WWW (World Wide Web) ウェブ 'サ イ トに登録し、 これを使用者にダウンロードさせて、 既存のイン夕一フエ ース装置にプログラムを導入することができる。
複数のコンピュータなどの間をとりもつネヅ トワーク ·ハプゃモデムに 本発明のィン夕ーフェース装置を適用することも可能である。
さらに、 プリン夕と、 そのプリン夕に装着されるインターフェース ·ボ 一ドの 2者において、 ィン夕一フェース ·ボードがプリン夕に電力を提供 するような実施形態に本発明を適用することも可能である。

Claims

請求の範囲
1 . 第 1のホスト装置からデータを受信する受信手段と、 当該受信手段が 前記第 1のホス卜から受信した前記データを第 2のホスト装置に送信する 送信手段とを有するィン夕フェース装置において、
前記受信手段または前記送信手段の動作に応じて、 複数の待機状態から 所定の待機状態を選択する待機状態選択手段を有することを特徴とするィ ン夕フヱース装置。
2 . 請求項 1記載のインタフェース装置において、 前記待機状態選択手段 は、
前記第 1のホスト装置から受信した前記デ一夕を解釈して、 制御コマン ドを抽出する制御コマンド検出手段と、
前記制御コマンド検出手段に応じ、 前記デ一夕が制御コマンド以外のデ —夕であった場合には、 通常待機状態を選択する通常待機状態選択手段と、 前記制御コマンド検出手段に応じ、 前記デ一夕が制御コマンドであった 場合には、 コマンド待機状態を選択するコマンド待機状態選択手段と、 前記制御コマンド検出手段によって抽出された制御コマンドの終了を検 知するコマンド終了検知手段と、
前記コマンド終了検知手段に応じ、 前記制御コマンドの終了が検知され た場合には、 前記コマンド待機状態を解除して通常待機状態を選択するコ マンド待機状態解除手段と、
前記通常待機状態が選択されてからの経過時間を計測する第 1の計時手 段と、
前記第 1の計時手段に応じ、 前記通常待機状態が選択されてから所定の 時間が経過した場合には、 前記通常待機状態を解除して省電力待機状態を 選択する省電力待機状態選択手段とを有することを特徴とするインターフ ェース装置 c
3 . 請求項 2記載のイン夕フェース装置において、
前記省電力待機状態選択手段によって前記省電力待機状態が選択された 場合に、 その旨を前記第 1のホスト装置へ通知する第 1の通知手段を更に 有することを特徴とするィン夕フェース装置。
4 . 請求項 2又は 3記載のィンタフヱース装置において、
前記省電力待機状態選択手段によって前記省電力待機状態が選択された 場合に、 その旨を前記第 2のホスト装置へ通知する第 2の通知手段を更に 有することを特徴とするィン夕フェース装置。
5 . 請求項 2乃至 4の何れかに記載のイン夕フェース装置において、 前記 待機状態選択手段は、
前記省電力待機状態が選択されてからの経過時間を計測する第 2の計時 手段.と、
前記第 2の計時手段に応じ、 前記省電力待機状態が選択されてから所定 の時間が経過した場合には、 前記省電力待機状態を解除して通常待機状態 を選択する省電力待機状態解除手段を更に有することを特徴とするイン夕 —フヱース装置。
6 . 請求項 5記載のインタフヱ一ス装置において、
前記省電力待機状態解除手段によって前記省電力待機状態が解除された 場合に、 その旨を前記第 1のホスト装置へ通知する第 3の通知手段を更に 有することを特徴とするィン夕フェース装置。
7 . 請求項 5又は 6の何れかに記載のィン夕フヱ一ス装置において、 前記省電力待機状態解除手段によって前記省電力待機状態が解除された 場合に、 その旨を前記第 2のホスト装置へ通知する第 4の通知手段を更に 有することを特徴とするイン夕フェース装置。
8 . 請求項 1乃至 7の何れかに記載のィン夕フヱース装置において、 前記制御コマンド検出手段によって検出された制御コマンドを解釈する 制御コマンド解釈手段と、
前記制御コマンド解釈手段によって所定の制御コマンドが解釈された場 合に、 前記省電力待機状態選択手段による前記省電力待機状態の選択を禁 止する省電力待機状態選択禁止手段とを有することを特徴とするインタフ ヱース装置。
9. 第 1のホスト装置からデ一夕を受信する工程と、 当該受信工程におい て前記第 1のホス卜から受信した前記デ一夕を第 2のホスト装置に送信す る工程とを有するィン夕フヱース装置の制御方法において、
(a) 前記受信工程または前記送信工程における処理に応じて、 複数の 待機状態から所定の待機状態を選択する工程を有することを特徴とするィ ン夕フェース装置の制御方法。
10. 請求項 9記載の制御方法において、 前記待機状態選択工程 (a) は、
(b) 前記第 1のホスト装置から受信した前記データを解釈して、 制御 コマンドを抽出する工程と、
(c) 前記制御コマンド抽出工程 (b) において、 前記デ一夕が制御コ マンド以外のデータであった場合には、 通常待機状態を選択する工程と、
(d) 前記制御コマンド抽出工程 (b) において、 前記データが制御コ マンドであった場合には、 コマンド待機状態を選択する工程と、
(e) 前記制御コマンド抽出工程 (b) において抽出された制御コマン ドの終了を検知する工程と、
(f ) 前記コマンド終了検知工程 (e) において、 前記制御コマンドの 終了が検知された場合には、 前記コマンド待機状態を解除して通常待機状 態を選択する工程と、
(g) 前記通常待機状態が選択されてからの経過時間を計測する工程と、 (h) 前記計時工程 (g) において所定の経過時間が計測された場合に は、 前記通常待機状態を解除して省電力待機状態を選択する工程とを有す ることを特徴とするィン夕一フェース装置の制御方法。
1 1. 請求項 10記載の制御方法において、
( i) 前記省電力待機状態選択工程 (h) において前記省電力待機状態 が選択された場合に、 その旨を前記第 1のホスト装置へ通知する工程、 を 更に有することを特徴とするィン夕フェース装置の制御方法。
12. 請求項 10又は 1 1記載の制御方法において、
( j ) 前記省電力待機状態選択工程 (h) において前記省電力待機状態 が選択された場合に、 その旨を前記第 2のホスト装置へ通知する工程、 を 更に有することを特徴とするィン夕フェース装置の制御方法。
13. 請求項 10乃至 12の何れかに記載の制御方法において、 前記待機 状態選択工程 (a) は、
( k ) 前記省電力待機状態が選択されてからの経過時間を計測する工程 と、
( 1) 前記計時工程 (k) において、 所定の経過時間が計測された場合 には、 前記省電力待機状態を解除して通常待機状態を選択する工程を更に 有することを特徴とするィン夕一フェース装置の制御方法。
14. 請求項 13記載の制御方法において、
(m) 前記省電力待機状態解除工程 ( 1) において前記省電力待機状態 が解除された場合に、 その旨を前記第 1のホスト装置へ通知する工程を更 に有することを特徴とするイン夕フェース装置の制御方法。
15. 請求項 13又は 14の何れかに記載の制御方法において、
(n) 前記省電力待機状態解除工程 ( 1) において前記省電力待機状態 が解除された場合に、 その旨を前記第 2のホスト装置へ通知する工程を更 に有することを特徴とするィン夕フヱ一ス装置の制御方法。
1 6. 請求項 10乃至 15の何れかに記載の制御方法において、 (o) 前記制御コマンド抽出工程 (b) において抽出された制御コマン ドを解釈する工程と、
(p) 前記制御コマンド解釈工程 (o) において所定の制御コマンドが 解釈された場合に、 前記省電力待機状態選択工程における前記省電力待機 状態の選択を禁止する工程とを有することを特徴とするィン夕フェース装 置の制御方法。
17. インタ一フェース装置の制御方法を実現するためのコンピュータプ ログラムを記録したコンビュ一夕読み取り可能な情報記録媒体であって、 前記制御方法は、
(z) 第 1のホスト装置からデータを受信する工程と、
(y) 当該受信工程 (z) において前記第 1のホストから受信した前記 データを第 2のホスト装置に送信する工程と、
(a) 前記受信工程または前記送信工程における処理に応じて、 複数の 待機状態から所定の待機状態を選択する工程を有することを特徴とする情 報記録媒体。
18. 請求項 17記載の情報記録媒体において、 前記制御方法の前記待機 状態選択工程 (a) は、
(b) 前記第 1のホスト装置から受信した前記データを解釈して、 制御 コマンドを抽出する工程と、
(c) 前記制御コマンド抽出工程 (b) において、 前記デ一夕が制御コ マンド以外のデータであった場合には、 通常待機状態を選択する工程と、
(d) 前記制御コマンド抽出工程 (b) において、 前記データが制御コ マンドであった場合には、 コマンド待機状態を選択する工程と、
(e) 前記制御コマンド抽出工程 (b) において抽出された制御コマン ドの終了を検知する工程と、
(f ) 前記コマンド終了検知工程 (e) において、 前記制御コマンドの 終了が検知された場合には、 前記コマンド待機状態を解除して通常待機状 態を選択する工程と、
( g ) 前記通常待機状態が選択されてからの経過時間を計測する工程と、
(h) 前記計時工程 (g) において所定の経過時間が計測された場合に は、 前記通常待機状態を解除して省電力待機状態を選択する工程とを有す ることを特徴とする情報記録媒体。
19. 請求項 18記載の情報記録媒体において、 前記制御方法は、
(i) 前記省電力待機状態選択工程 (h) において前記省電力待機状態 が選択された場合に、 その旨を前記第 1のホスト装置へ通知する工程、 を 更に有することを特徴とする情報記録媒体。
20. 請求項 18又は 19記載の情報記録媒体において、 前記制御方法は、 ( j ) 前記省電力待機状態選択工程 (h) において前記省電力待機状態 が選択された場合に、 その旨を前記第 2のホスト装置へ通知する工程、 を 更に有することを特徴とする情報記録媒体。
2 1. 請求項 18乃至 20の何れかに記載の情報記録媒体において、 前記 制御方法の前記待機状態選択工程 (a) は、
( k ) 前記省電力待機状態が選択されてからの経過時間を計測する工程 と、
(1) 前記計時工程 (k) において、 所定の経過時間が計測された場合 には、 前記省電力待機状態を解除して通常待機状態を選択する工程を更に 有することを特徴とする情報記録媒体。
22. 請求項 2 1記載の情報記録媒体において、 前記制御方法は、
(m) 前記省電力待機状態解除工程 ( 1) において前記省電力待機状態 が解除された場合に、 その旨を前記第 1のホスト装置へ通知する工程を更 に有することを特徴とする情報記録媒体。
23. 請求項 2 1又は 22の何れかに記載の情報記録媒体において、 前記 制御方法は、
( n ) 前記省電力待機状態解除工程 ( 1 ) において前記省電力待機状態 が解除された場合に、 その旨を前記第 2のホスト装置へ通知する工程を更 に有することを特徴とする情報記録媒体。
2 4 . 請求項 1 8乃至 2 3の何れかに記載の情報記録媒体において、 前記 制御方法は、
( o ) 前記制御コマンド抽出工程 (b ) において抽出された制御コマン ドを解釈する工程と、
( P ) 前記制御コマンド解釈工程 (0 ) において所定の制御コマンドが 解釈された場合に、 前記省電力待機状態選択工程における前記省電力待機 状態の選択を禁止する工程とを有することを特徴とする情報記録媒体。
2 5 . 請求項 1記載のインタフヱース装置において、
複数の省電力モードを有し、 第 1のホストから提供される電力を当該ィ ン夕一フェース装置に供給する電力供給手段を更に有し、 前記待機状態選 択手段は、
第 1のホス卜の電力提供能力情報を前記送受信手段により第 1のホスト から受信する電力情報受信手段と、
前記電力情報受信手段により受信した第 1のホス卜の電力提供能力情報 に基づいて、 前記電力供給手段が採用する省電力モードを決定する第 1の 決定手段とを有することを特徴とするィン夕フェース装置。
2 6 . 請求項 2 5言己載のイン夕フェース装置において、
前記待機状態選択手段は、 第 1のホストの機種名称情報と、 当該第 1の ホストの電力提供能力情報と、 の対を記憶する記憶手段
を有し、
前記電力情報受信手段により受信されるホストの電力提供能力情報は、 第 1のホストの機種名称情報を含み、 前記決定手段は、 前記電力情報受信手段により受信されたホストの機種 名称情報のデ一夕を鍵として前記記憶手段を検索し、 取得した第 1のホス 卜の電力提供能力情報に基づいて、 前記電力供給手段が採用する省電力モ ードを決定する
ことを特徴とするィン夕一フェース装置。
2 7. 請求項 2 5又は 26記載のイン夕フェース装置において、 前記待機 状態選択手段は、
第 1のホストが提供する電力の電圧と、 電流と、 のいずれか、 もしく は、 双方の変化を検知し、 これに基づいて前記電力供給手段が採用する省 電力モードを決定する第 2の決定手段を有することを特徴とするィン夕フ エース装置。
28. 請求項 9記載の制御方法において、
(b) 複数の省電力モードを有し、 第 1のホストから提供される電力を 当該ィンターフェ一ス装置に供給する工程を更に有し、
前記待機状態選択工程 (a) は、
(c) 第 1のホストの電力提供能力情報を前記受信工程 (z) により第 1のホストから受信する工程と、
(d) 前記電力情報受信工程 (c) において受信した第 1のホストの電 力提供能力情報に基づいて、 前記電力供給手段が採用する省電力モードを 決定する第 1の決定工程とを有することを特徴とするィン夕フェース装置 の制御方法。
29. 請求項 28記載の制御方法において、
前記待機状態選択工程 (a) は、
(e) 第 1のホス卜の機種名称情報と、 当該第 1のホストの電力提供能 力情報と、 の対を格納する工程を有し、
前記第 1の決定工程 (d) においては、 前記電力情報受信工程 ( c) に おいて受信されたホストの電力提供能力情報に含まれる機種名称情報のデ 一夕を鍵として前記記憶手段を検索し、 取得した第 1のホストの電力提供 能力情報に基づいて、 前記電力供給手段が採用する省電力モ一ドを決定す る
ことを特徴とするインターフヱース装置の制御方法。
30. 請求項 28又は 29記載の制御方法において、 前記待機状態選択ェ 程 (a) は、
(f ) 第 1のホストが提供する電力の電圧と、 電流と、 のいずれか、 も しくは、 双方の変化を検知する工程と、
(g) 前記検知工程の検知結果に基づいて、 前記電力供給工程 (b) に おいて採用する省電力モ一ドを決定する第 2の決定工程を有することを特 徴とするィンタフヱ一ス装置の制御方法。
3 1. 請求項 1 7記載の情報記録媒体において、 前記制御方法は、
(b) 複数の省電力モードを有し、 第 1のホストから提供される電力を 当該ィン夕一フェース装置に供給する工程を更に有し、
前記待機状態選択工程 (a) は、
(c) 第 1のホストの電力提供能力情報を前記受信工程 (z) により第 1のホストから受信する工程と、
(d) 前記電力情報受信工程 (c) において受信した第 1のホストの電 力提供能力情報に基づいて、 前記電力供給手段が採用する省電力モードを 決定する第 1の決定工程とを有することを特徴とする情報記録媒体。
32. 請求項 3 1記載の情報記録媒体において、 前記制御方法の前記待機 状態選択工程 (a) は、
(e) 第 1のホストの機種名称情報と、 当該第 1のホストの電力提供能 力情報と、 の対を格納する工程を有し、
前記第 1の決定工程 (d) においては、 前記電力情報受信工程 ( c) に おいて受信されたホストの電力提供能力情報に含まれる機種名称情報のデ 一夕を鍵として前記記憶手段を検索し、 取得した第 1のホストの電力提供 能力情報に基づいて、 前記電力供給手段が採用する省電力モードを決定す ることを特徴とする情報記録媒体。
3 3 . 請求項 3 1又は 3 2記載の情報記録媒体において、 前記制御方法の 前記待機状態選択工程 (a ) は、
( f ) 第 1のホストが提供する電力の電圧と、 電流と、 のいずれか、 も しくは、 双方の変化を検知する工程と、
( g ) 前記検知工程の検知結果に基づいて、 前記電力供給工程 (b ) に おいて採用する省電力モ一ドを決定する第 2の決定工程を有することを特 徴とする情報記録媒体。
PCT/JP1999/006236 1998-11-09 1999-11-09 Dispositif d'interface, procede de commande de dispositif d'interface, et dispositif d'enregistrement d'informations WO2000028402A1 (fr)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP99954454A EP1046979B1 (en) 1998-11-09 1999-11-09 Interface device, method of controlling interface device, and information recording device
US09/582,913 US6742130B1 (en) 1998-11-09 1999-11-09 Interface apparatus, control method therefor, and information recording medium
DE69932801T DE69932801T8 (de) 1998-11-09 1999-11-09 Schnittstellengerät, verfahren zur steuerung eines schnittstellengeräts und informationsaufnahmegerät
HK01106410A HK1037746A1 (en) 1998-11-09 2001-09-11 Interface device and control method therefor.

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP10/317617 1998-11-09
JP31761698 1998-11-09
JP10/317616 1998-11-09
JP31761798 1998-11-09

Publications (1)

Publication Number Publication Date
WO2000028402A1 true WO2000028402A1 (fr) 2000-05-18

Family

ID=26569074

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP1999/006236 WO2000028402A1 (fr) 1998-11-09 1999-11-09 Dispositif d'interface, procede de commande de dispositif d'interface, et dispositif d'enregistrement d'informations

Country Status (7)

Country Link
US (1) US6742130B1 (ja)
EP (1) EP1046979B1 (ja)
KR (1) KR100395382B1 (ja)
CN (1) CN1175338C (ja)
DE (1) DE69932801T8 (ja)
HK (1) HK1037746A1 (ja)
WO (1) WO2000028402A1 (ja)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009059090A (ja) * 2007-08-30 2009-03-19 Brother Ind Ltd 印刷制御装置および印刷制御装置のプログラム
US7721131B2 (en) 2005-11-30 2010-05-18 Seiko Epson Corporation Host apparatus and information processing system using the same

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002244834A (ja) * 2001-02-15 2002-08-30 Fuji Xerox Co Ltd 印刷装置
JP3870030B2 (ja) * 2001-02-28 2007-01-17 キヤノン株式会社 割込み制御回路を有するインクジェット記録装置および記録装置の制御方法
JP3600556B2 (ja) * 2001-06-29 2004-12-15 株式会社東芝 情報処理装置
US6851781B2 (en) 2002-02-20 2005-02-08 Seiko Epson Corporation Printing apparatus controlling method, printing apparatus controlling program, recording medium for storing printing apparatus controlling program and printing system
JP4417213B2 (ja) * 2004-09-17 2010-02-17 シャープ株式会社 印刷制御装置、印刷装置、印刷制御方法、印刷制御プログラムおよび印刷制御プログラムを記録する記録媒体
US7681051B2 (en) * 2006-08-30 2010-03-16 Agere Systems Inc. Transitioning of a port in a communications system from an active state to a standby state
US20080195688A1 (en) * 2007-02-14 2008-08-14 Hideyuki Watanabe Information processing apparatus, information processing method, and computer program product
JP4750747B2 (ja) * 2007-04-09 2011-08-17 キヤノン株式会社 記憶装置、記憶装置の制御方法及び制御装置
CN101729830B (zh) * 2008-10-17 2012-10-17 深圳Tcl新技术有限公司 具有混合待机模式的音视频设备及其实现方法
US9483096B2 (en) * 2013-12-06 2016-11-01 Sandisk Technologies Llc Host interface of a memory device supplied with regulated or non-regulated power based on operating mode of the memory device
JP5990205B2 (ja) * 2014-02-19 2016-09-07 富士フイルム株式会社 積層構造体およびタッチパネルモジュール

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0535379A (ja) * 1991-08-01 1993-02-12 Hitachi Ltd データ入力制御方法およびデータ処理装置
JPH10136049A (ja) * 1996-10-29 1998-05-22 Hitachi Ltd 情報処理装置

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3096489B2 (ja) * 1991-07-09 2000-10-10 富士通株式会社 ディスク装置
US5581668A (en) 1991-07-30 1996-12-03 Canon Kabushiki Kaisha Method and apparatus for processing data
JPH0532013A (ja) 1991-07-30 1993-02-09 Canon Inc 情報処理方法及び装置
US5532935A (en) 1991-10-02 1996-07-02 Kabushiki Kaisha Toshiba Electronic device capable of automatically controlling power assumption of components employed in accordance with operating time period by user
KR930020273A (ko) * 1992-03-30 1993-10-19 이헌조 호우스트 장치와 주변기기의 인터페이스장치 및 인터페이스 제어방법
US5821924A (en) * 1992-09-04 1998-10-13 Elonex I.P. Holdings, Ltd. Computer peripherals low-power-consumption standby system
JPH06152695A (ja) * 1992-10-29 1994-05-31 Fujitsu Ltd シリアルインタフェース回路
US5477476A (en) * 1993-07-14 1995-12-19 Bayview Technology Group, Inc. Power-conservation system for computer peripherals
KR0167615B1 (ko) 1993-12-09 1999-01-15 미따라이 하지메 인쇄 장치와 이를 구비한 시스템 및 이의 제어 방법
JP2986048B2 (ja) * 1994-04-26 1999-12-06 インターナショナル・ビジネス・マシーンズ・コーポレイション コンピュータ・システムに装着可能な拡張デバイス、拡張デバイスの制御方法及び拡張デバイスを有するコンピュータ・システムの制御方法
DE69532596T2 (de) 1994-05-09 2004-08-05 Canon K.K. Verfahren zur Steuerung der Stromversorgung in einer Mehrprozessbetriebsumgebung
US5682273A (en) * 1995-06-30 1997-10-28 International Business Machines Corporation Disk drive for portable computer with adaptive demand-driven power management
JP3580630B2 (ja) * 1996-02-26 2004-10-27 インターナショナル・ビジネス・マシーンズ・コーポレーション 消費電力を管理するシステム及び電源を管理する方法
JPH09300780A (ja) 1996-05-10 1997-11-25 Canon Inc 画像形成装置および画像形成装置の消費電力制御方法
JP4092749B2 (ja) * 1997-06-16 2008-05-28 ブラザー工業株式会社 印刷システムおよびプリンタ
US5954820A (en) * 1997-09-26 1999-09-21 International Business Machines Corporation Portable computer with adaptive demand-driven power management
JPH11126117A (ja) * 1997-10-23 1999-05-11 Hitachi Ltd 情報処理装置
US6279048B1 (en) * 1997-11-14 2001-08-21 Lucent Technologies, Inc. System wake-up based on joystick movement

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0535379A (ja) * 1991-08-01 1993-02-12 Hitachi Ltd データ入力制御方法およびデータ処理装置
JPH10136049A (ja) * 1996-10-29 1998-05-22 Hitachi Ltd 情報処理装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP1046979A4 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7721131B2 (en) 2005-11-30 2010-05-18 Seiko Epson Corporation Host apparatus and information processing system using the same
US8296593B2 (en) 2005-11-30 2012-10-23 Seiko Epson Corporation Host apparatus and information processing system using the same
US8661280B2 (en) 2005-11-30 2014-02-25 Seiko Epson Corporation Host apparatus and information processing system using the same
JP2009059090A (ja) * 2007-08-30 2009-03-19 Brother Ind Ltd 印刷制御装置および印刷制御装置のプログラム

Also Published As

Publication number Publication date
KR20010033967A (ko) 2001-04-25
EP1046979A4 (en) 2002-04-24
EP1046979B1 (en) 2006-08-16
CN1175338C (zh) 2004-11-10
DE69932801T8 (de) 2007-05-03
EP1046979A1 (en) 2000-10-25
DE69932801T2 (de) 2007-01-11
KR100395382B1 (ko) 2003-08-21
DE69932801D1 (de) 2006-09-28
US6742130B1 (en) 2004-05-25
HK1037746A1 (en) 2002-02-15
CN1288538A (zh) 2001-03-21

Similar Documents

Publication Publication Date Title
WO2000028402A1 (fr) Dispositif d'interface, procede de commande de dispositif d'interface, et dispositif d'enregistrement d'informations
JP4354483B2 (ja) 画像処理装置、画像処理システム、画像処理方法、および画像処理プログラム
JP5132388B2 (ja) 通信装置、通信装置の制御方法、およびプログラム
JP6184187B2 (ja) 情報処理装置、情報処理システム及び情報処理装置の制御方法
JPH1185662A (ja) 通信制御方法及び装置及び通信システム
JP2006331179A (ja) 周辺装置制御システム、情報処理装置、情報処理装置の制御方法、プログラム
CN102045404A (zh) 图像形成装置及其网络连接方法
JP4815424B2 (ja) 画像処理装置及び通信装置、並びに画像処理システム
CN104679456A (zh) 打印控制装置及打印控制装置的控制方法
JPH11327815A (ja) 通信制御方法及び装置及び通信システム
US6741606B1 (en) Interface control apparatus
KR100549978B1 (ko) 인터페이스 장치, 그 제어 방법 및 정보 기록 매체
JP2001211274A (ja) 画像形成装置およびその制御方法
JP3711433B2 (ja) 印刷制御方法及びシステム、記録媒体
JP3768599B2 (ja) プリンタ装置、該装置の制御方法、及び、プリンタシステム
JP2000261515A (ja) ネットワークに接続可能な機器
JP4954023B2 (ja) 画像形成装置および接続通知方法
JP2004234082A (ja) プリンタシステム
JP2002099399A (ja) ネットワーク機器システム
JP3782573B2 (ja) 印刷システム、印刷装置及びデータ転送方法
JP3593882B2 (ja) 印刷装置及びインターフェース制御方法
JP3212970B2 (ja) 記憶機構を備えたUSB(UniversalSerialBus)ヒューマンインターフェース装置
JP2006195589A (ja) 通信制御装置、通信制御方法、プログラム、及び記憶媒体
CN104750641B (zh) 信息处理装置及信息处理装置的控制方法
JP4164243B2 (ja) 印刷監視システム、印刷監視方法、及びコンピュータプログラム

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 99802088.5

Country of ref document: CN

AK Designated states

Kind code of ref document: A1

Designated state(s): CN JP KR US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE

WWE Wipo information: entry into national phase

Ref document number: 1020007007552

Country of ref document: KR

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 1999954454

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 09582913

Country of ref document: US

WWP Wipo information: published in national office

Ref document number: 1999954454

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 1020007007552

Country of ref document: KR

WWG Wipo information: grant in national office

Ref document number: 1020007007552

Country of ref document: KR

WWG Wipo information: grant in national office

Ref document number: 1999954454

Country of ref document: EP