Power source control system for a terminal

Abstract: A power source control system for controlling a power source of a terminal device (12), including a timer (1) in which an actuation time is preset and a control circuit (4) which receives a signal from the timer. At the actuation time, the timer outputs the signal to the control circuit such that the control circuit performs on-off control of the power source of the terminal device.

Description: The present invention relates to a system for performing on-off control of a power source of a terminal device at a preset time. At present, point-of-sales (POS) systems are employed in department stores, supermarkets, etc. The POS system is constituted by one or a plurality of terminal devices such as one or a plurality of electronic cash registers provided at counters and a host apparatus having, for example, the same configuration as that of the terminal devices, to which the terminal devices are connected. When sale of commodities has been made at each of the terminal devices, inputted names, quantities, unit prices, a total price, etc. of the commodities are immediately transmitted to the host apparatus. However, data which cannot be transmitted from the terminal devices to the host apparatus at the time of sales, for example, gross sales of one day may be transmitted to the host apparatus after closing of the shop at night. Thus, in the POS system, such a necessity arises frequently that the terminal devices are operated at night. Two methods have been so far employed for controlling power sources of the terminal devices prior to use of the terminal devices. In one method, power source switches of the terminal devices are operated manually. In the other method, the power sources of the terminal devices are controlled in response to reception of a transmission signal outputted by the host apparatus, etc. Thus, conventionally, in the case where data transmission is performed between the host apparatus and the unattended terminal devices at night, the following two power source control methods can be employed. In one known power source control method, the power sources of the terminal devices are kept in the ON state at all times. In this known method, although data transmission from the terminal devices to the host apparatus can be started immediately, the power sources are in the ON state not only at the time of data transmission but also when the terminal devices are not in use, thereby resulting in waste of power consumption. Meanwhile, in the other known power source control method, the power sources of the terminal devices are turned on in response to reception of an ON signal for turning on the power sources of the terminal devices, which ON signal is outputted by the host apparatus, etc. However, this prior art method has such a drawback that since the terminal devices perform reading of a transmitted program, etc. after turning on of the power sources, a long time period elapses from transmission of the ON signal by the host apparatus, etc. to actual start of data transmission. US-A-4 665 536 describes a programmable automatic power-off system for a digital terminal whereby power to the terminal will be shut off after a preset time-period, unless terminal activity occurs before the end of the time-period, when the preset time period will be initiated again. The system comprises timer means for presetting an actuation time and a power source control circuit receiving a power-off signal from the timer means such that ON-OFF control at the actuation time is performed. However, this document does not suggest how to use such a system for point of sale terminals needing data transfer at night. US-A-4,404,972 discloses a power source control device for switching on / off a power source of a terminal device in accordance with a signal outputted by timer means. Such a device is used in a body function assistance system such as a pacer wherein a microprocessor controls the response of the device to various external physiological events and internal time events. The occurrence of a wake-event of the microprocessor (terminal) causes the host operating parameters to be transferred from the microprocessor (terminal) to the pacer (host). SUMMARY OF THE INVENTION An object of the present invention is to provide a power source control system for controlling power sources of point-of-sale terminals, by which the point-of-sale terminals can be operated immediately at a desired time through restriction of waste of power consumption, with substantial elimination of the disadvantage inherent in conventional power source control systems of this kind. In order to accomplish this object of the present invention, a point -of-sale terminal comprises a timer for pre setting an actuation time and outputting a signal at the respective time; and a power source control device performing ON-OFF-Control of a power source of said point-of-sale terminal, which power source control device receives said signal from said timer; whereby said power source is switched ON at said preset actuation time and said point-of-sale terminal is set to an operable state for carrying out data transfer towards a host computer. In the power source control system of the present invention, the timer means outputs the signal at the preset time and the power source control circuit, in response to reception of the signal, turns on and off the power source of the terminal device through control of a relay, etc. Therefore, in accordance with the present invention, by setting the power source control system such that the power source is turned on at a time preceding a time of start of data transmission by a time period required for reading the transmitted program, etc. and by turning off the power source upon completion of data transmission, the power source of the terminal device can be controlled without not only wasteful power consumption but a waiting time for starting data transmission. BRIEF DESCRIPTION OF THE DRAWINGS This object and features of the present invention will become apparent from the following description taken in conjunction with the preferred embodiment thereof with reference to the accompanying drawings, in which: Fig. 1 is a block diagram showing a terminal device including a power source control device according to one embodiment of the present invention; Fig. 2 is a flow chart showing operational sequences of the power source control device of Fig. 1; and Fig. 3 is a time chart showing voltages of terminals of a control circuit employed in the power source control device of Fig. 1 at the time of turning on of the power source; and Fig. 4 is a time chart showing voltages of the terminals of Fig. 3 at the time of turning off of the power source, respectively. Before the description of the present invention proceeds, it is to be noted that like parts are designated by like reference numerals throughout several views of the accompanying drawings. DETAILED DESCRIPTION OF THE INVENTION Referring now to the drawings, there is shown in Fig. 1, a terminal device 12 connected to a host apparatus 13. The terminal device 12 is enclosed by broken lines in Fig. 1 and includes a power source control device 4 for performing on-off control of a power source of the terminal device 12, according to one embodiment of the present invention. An output voltage of the power source of the terminal device 12 is supplied, through a relay 7, to input-output devices such as a floppy disk control circuit (FDC) 9, a display unit control circuit (CRTC) 10 and a key input portion 11 and a central processing circuit 5, etc. The central processing circuit 5 is connected, via an interface 8, to the input-output devices such as the FDC 9, the CRTC 10 and the key input portion 11. Data transmission is performed between the central processing circuit 5 and the host apparatus 13 through a modem interface 6. In the same manner as in a prior art control circuit, the control circuit 3 receives a manual signal and a signal for turning on the power source of the terminal device 12, which is delivered from the host apparatus 13, etc., so as to turn on and off the power source of the terminal device 12 by, for example, changing the output voltage applied to the relay 7. In this embodiment, the power source control device 4 includes not only the control circuit 3 but a timer 1 and thus, also controls the power source in accordance with an output signal of the timer 1 in addition to the above described function of the prior art control circuit. The timer 1 incorporates a memory for storing data indicative of a preset time, etc., for example, a random access memory (RAM) 2. Data transfer is performed between the timer 1 and the central processing circuit 5 through a data bus. The control circuit 3 not only outputs the signal to the relay 7 but performs the following functions associated with control of the power source. Namely, when a signal requesting resetting has been inputted from the central processing circuit 5 to the control circuit 3 at the time of depression of a resetting switch (not shown) and turning off of the power source, the control circuit 3 outputs a resetting signal for resetting the central processing circuit 5 and the input-output devices such as the FDC 9, CRTC 10, etc. Meanwhile, when the power source has been turned on, the control circuit 3 outputs a signal for activating the modem interface 6. Hereinbelow, operation of the power source control device 4 is described with reference to a flow chart of Fig. 2. At step n1, a time tA for turning on the power source is inputted from the key input portion 11, etc. Then, if it is found at step n2 that a time for turning off the power source should be set, the program flow proceeds to step n3 at which a time period TB from the time tA for turning on the power source to the time for turning off the power source is set. The data indicative of the time tA and the time period TB are stored in the RAM 2 of the timer 1 through the interface 8 and the central processing circuit 5. For example, it is assumed here in a POS system that the power source is turned on at 22 o'clock 50 min. and reading of a transmitted program, etc. are finished in 10 min. such that sales data are transmitted at night for one hour from 23 o'clock. At this time, "22:50" and "1:10" are inputted as the time tA and the time period TB to the key input portion 11, respectively. Subsequently, at step n4, various ordinary processings during business hours are performed. Then, at step n5, the power source is turned off, for example, at the time of closing of the shop. Even if the power source of the terminal device 12 is turned off, the power source control device 4 is backed up by an auxiliary power source (not shown) so as to continue functioning normally. If it is found at step n6 that it is the time tA (22 o'clock 50 min.), the program flow proceeds to step n7 at which a signal is outputted from the timber 1 to the control circuit 3. When the signal has been inputted to the control circuit 3, a voltage of a terminal of the control circuit 3, which terminal is connected to the relay 7, is raised in the control circuit 3. The relay 7 is actuated so as to turn on the power source when the voltage of the terminal of the control circuit 3 has exceeded a predetermined voltage. Fig. 3 shows wave forms of output voltages of terminals I/O RESET , CPU RESET and P.ON of the control circuit 3 at the time of turning on of the power source. At the time of turning on of the power source, the control circuit 3 delivers the resetting signal to the interface 8 and the central processing circuit 5 so as to initialize the input-output devices such as the FDC 9, the CRTC 10 and the key input portion 11 and the central processing circuit 5. Upon completion of the above described initialization, the program flow proceeds to step n8 at which the terminal device 12 reads the transmitted program from an external storage (not shown), for example, a floppy disk. Upon lapse of 10 min., the terminal device 12 is set to a state enabling data transmission. Thereafter, at step n9, transmission of sales data, etc. from the terminal device 12 to the host apparatus 13 is started. A decision is made at step n10 as to whether or not the time period TB from the time tA to the time for turning off the power source has been set. In the case of "YES" at step n10, it is decided at step n11 whether or not the time period TB has elapsed from the time tA. In the case of "YES" at step n11, the program flow proceeds to step n13 at which the power source is turned off. On the other hand, even in the case of "NO" at step n10, it is decided at step n12 whether or not transmission of the sales data, etc. has been completed. In the case of "YES" at step n12, a command for turning off the power source is delivered from the central processing circuit 5 to the power source control device 4 and thus, the program flow proceeds to step n13 such that the power source is turned off. Fig. 4 shows wave forms of output voltages of the terminals I/O RESET , CPU RESET and P.ON of the control circuit 3 at the time of turning off of the power source. In response to the signal requesting resetting from the central processing circuit 5, the control circuit 3 transmits the resetting signal to the interface 8 and the central processing circuit 5 so as to reset all the devices of the terminal device 12. As described above, data transmission between the terminal device 12 and the host apparatus 13 at night can be performed without such a need that the power source of the terminal device 12 is kept in the ON state even if the terminal device 12 is unattended or that a signal for turning on the power source of the terminal device 12 is transmitted from the host apparatus 13, etc. to the terminal device 12. Therefore, in data transmission, waste of power consumption is avoided and a waiting time from output of the signal for turning on the power source to start of data transmission is eliminated. Meanwhile, since the power source control device 4 can be formed by one chip, the present invention can be achieved easily and power consumption for backup by the auxiliary power source is minute. Furthermore, since the power source control device 4 can be communicated with the central processing circuit 5 through the data bus, various commands, for example, a command for displaying the preset time can be stored in the power source control circuit 4. As is clear from the foregoing description, in accordance with the present invention, wasteful power consumption can be restricted and the terminal device can be immediately set to an operatable state at a desired time. Accordingly, for example, in the case where the terminal device is operated from a fixed time at night, the terminal device can be operated without the need for keeping the power source of the terminal device in the ON state with a consequent wasteful power consumption or delivering from outside a signal for turning on the power source so as to wait for an operatable state of the terminal device. Thus, the arrangement of the present invention including the terminal device achieves improvement of operational efficiency and saving in energy consumption.

Claims: A point-of-sale terminal (12) comprising a timer (1) for presetting an actuation time and outputting a signal at said actuation time; and a power source control device (4) performing ON - OFF-Control of a power source of said point-of-sale terminal in response to said signal, which power source control device receives said signal from said timer; wherein, upon receipt of said signal said power source is switched ON at said preset actuation time and said point-of-sale terminal is set to an operable state for carrying out data transfer towards a host computer (13). A point-of-sale terminal as claimed in claim 1, wherein said power source control device (4) receives a signal outputted from said timer (1) after said actuation time has elapsed, whereby said power source is switched OFF. A point-of-sale terminal as claimed in claims 1 or 2, wherein said timer (1) includes a storage (2). A point-of-sale terminal as claimed in claim 3, wherein said storage (2) is a random access memory.

Inventors: UEHARA KAZUHIRO, UEHARA, KAZUHIRO
Applicants: SHARP KK, SHARP KABUSHIKI KAISHA
Application year: 1988
Main classification: G06F1
IPC codes: G07G1, H02J1, G06F1