BACKGROUND OF THE INVENTION
1. Field of the Invention
[0001] The present invention relates to an electronic cash register system having a plurality
of cash registers which operate in systematic fashion.
2. Description of the Related Art
[0002] An electronic cash register system having a plurality of electronic cash registers
includes a parent electronic cash register, which is provided with a memory serving
as a master file, a child electronic cash register, and a line, which communicates
the parent cash register and the child cash register with each other in such a manner
as to allow mutual communication therebetween. This arrangement is often referred
to as an in-line system.
[0003] The foregoing system typically operates based on the following steps.
(a) The child cash register sends a requet message about transaction data to the parent
cash register through the line when a user performs the operation of registering the
transaction data, that is, the look-up operation at the child cash register.
(b) In response to the request message sent at the step (a), the parent cash register
draws the correspoding transaction data from the master file and transfers the transaction
data to the child cash register through the line.
(c) In response to the transaction data received from the parent cash register, the
child cash register performs the operation of registering the additional data and
then temporarily balances the book.
(d) In temporarily balancing the book, the child cash register transfers the updated
transaction data to the parent cash register.
(e) In response to the transaction data transferred from the child cash register,
the parent cash register updates the corresponding transaction data in the master
file.
(f) The steps (a) to (e) are repeated.
[0004] The foregoing system, however, has a shortcoming that when a failure causes the parent
cash register to be inoperative, the overall in-line system must be inoperative, because
the master file for storing the transaction data is provided only in the parent cash
register. While the parent cash register is inoperative, the child cash register has
to be operated as an individual device. If, therefore, the in-line system is provided
with a plurality of child cash registers, it is impossible to draw the transaction
data from all the child cash registers.
SUMMARY OF THE INVENTION
[0005] It is therefore an object of the present invention to provide an electronic cash
register system having a plurality of cash registers including a parent cash register,
which can keep operating even if the parent cash register becomes inoperative.
[0006] According to the present invention, the above object can be achieved by an electronic
cash register system including: a parent electronic cash register provided with a
first control device and a first memory for registering a transaction data inputted
thereto; a quasi-parent electronic cash register provided with a second control device
and a second memorv for registering a transaction data inputted thereto; a child electronic
cash register provided with a third control device for registering a transaction data
inputted thereto; and a line for communicating the registers to one another. The first,
second and third control devices accomplish a mutual communication between the registers
through the line and controlling the registers so as to store the data registered
by the parent, quasi-parent and child registers into the first and second memories
respectively when the parent register operates normally, store the data registered
by the quasi-parent and child registers into the second memory when the parent register
becomes inoperative, and transfer the data stored in the second memory to the first
memory after the parent register is recovered to operate normally.
[0007] In the system of the present invention, as mentioned above, the parent register is
provided with the first memory while the quasi-parent memory is provided with the
second memory. These first and second memories store the same content when these parent
and quasi-parent registers operate normally in the in line operation of the svstem.
When the parent register becomes inoperative by a failure, the second and third control
devices of the quasi-parent and child registers notice this inoperative condition
of the parent register by the mutual communication with the first control device of
the parent register. Then, the second and third control devices control the quasi-parent
and child devices such that the second memory stores the transaction data inputted
to the quasi-parent and child registers so as to continue the in-line operation
of the system. After the parent register is recovered to operate normally, the first
control device instructs to the second control device such that the the quasi-parent
register transfers the data content stored in the second memory to the first memory.
Then, the first, second and third control devices control the registers so as to resume
the normal in-line operation of the system.
[0008] As described above, the system of the present invention makes it possible to make
the quasi-parent register acting as an alternative of the parent register when some
cause brings the parent register into the inoperative condition, and thus the system
can keep operating by the cooperation of the remaining quasi-parent and child registers
even if the parent register becomes inoperative.
[0009] Further objects and advantages of the present invention will be apparent from the
following description of the preferred embodiment of the invention as illustrated
in the accompanying drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
[0010]
Fig. 1 is a block diagram showing the overall arrangement of one embodiment of the
invention;
Fig. 2 is a view exemplarily illustrating how the in-line system shown in Fig. 1
operates normally;
Fig. 3 is a flowchart illustrating how a processing circuit of a child cash register
operates;
Fig. 4 is a flowchart illustrating how the processing circuit of the child cash register
operates when the parent cash register becomes inoperative;
Fig. 5 is a flowchart illustrating how the processing circuit of the child cash register
operates after the parent cash register is recovered;
Fig. 6 is a flowchart illustrating how a processing circuit of a parent cash register
operates;
Fig. 7 is a flowchart illustrating how the processing circuit of the parent cash register
operates when it receives a response indicating the presence of transaction data;
Fig. 8 is a flowchart illustrating how the processing circuit of the parent cash register
operates when the parent cash register is recovered to operate normally;
Fig. 9 is a flowchart illustrating how a processing circuit of a quasi-parent cash
register operates;
Fig. 10 is a flowchart illustrating how the processing circuit of the quasi-parent
cash register operates as an alternative of the parent cash register when the parent
cash register becomes inoperative; and
Fig. 11 is a flowchart illustrating how the processing circuit of the quasi-parent
cash register operates when the parent cash register is recovered to operate normally.
DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] A preferred embodiment of the present invention will be described below with reference
to the accompanying drawings.
[0012] Fig. 1 is a block diagram showing the overall in-line system according to an embodiment
of the invention. The in-line system includes a parent electronic cash register 11,
a quasi-parent electronic cash register 12, a child electronic cash register 13, and
a line 14 consisting of a cable. Those registers 11, 12 and 13 are connected through
the line 14 for communicating them with one another. The parent cash register 11 and
the quasi-parent cash register 12 respectively have master files 15 and 16.
[0013] Fig. 2 exemplarily illustrates how the in-line system shown in Fig. 1 operates normally.
The operation will be carried out as follows.
[0014] (A) A user registers the new transaction data, that is, performs the look-up operation
at the child cash register 13. Thus, the child cash register 13 sends out a request
message 17 about the transaction data to the parent cash register 11 through the line
14.
[0015] (B) In response to the request message 17 about the transaction data sent at the
step (A), the parent cash register 11 serves to draw the corresponding transaction
data from the master file 15 and then transfer it to the child cash register 13 as
indicated by an arrow 18. At the same time, the parent cash register 11 sends out
a check message 19 for checking the presence or absence of the transaction data to
the quasi-parent cash register 12. This check message 19 is used for making sure if
the master file 15 of the parent cash register 11 has the same store content as the
master file 16 of the quasi-parent cash register 12. The quasi-parent cash register
12 serves to send out a response 20 indicating the presence or absence of the corresponding
transaction data to the parent cash register 11. If the quasi-parent 12 does not have
the corresponding transaction data, that is, it sends out the response indicating
that it does not operate normally, the parent cash register 11 displays the error
condition on a display 21 or prints it on paper so as to allow the user to see it.
[0016] (C) The child cash register 13 serves to perform additional registration for, that
is, update the transaction data received from the parent cash register 11 and then
temporarily balance the book.
[0017] (D) The transaction data updated in the child cash register 13 is transferred to
the parent cash register 11.
[0018] (E) In response to the transaction data sent from the child cash register 13, the
parent cash register 11 serves to update the corresponding transaction data in the
master file 15 of the parent cash register 11. At the same time, the parent cash register
11 serves to transfer the transaction data to the quasi-parent cash register 12.
[0019] (F) In response to the transaction data sent from the parent cash register 11, the
quasi-parent cash register 12 serves to update the corresponding transaction data.
[0020] (G) Later, the foregoing steps (A) to (F) are repeated.
[0021] The parent cash register 11 and the quasi-parent cash register 12 are effective as
the child cash register and can perform those steps (A) to (F) as the child cash register.
In this operation as the child cash register, these registers 11 and 12 allow the
transaction data to be directly transferred to each of the master files 15 and 16
without transferring the transaction data through the line 14.
[0022] The parent cash register 11, the quasi-parent cash register 12, and the child cash
register 13 respectively include input means 22, 23, 24 and processing circuits 25,
26, 27 realized by microcomputers, for example. These input means are used for registering
the transaction data and performing the look-up operation. The parent cash register
11 includes the display 21 as mentioned above. Likewise, the quasi-parent cash register
12 and the child cash register 13 respectively provide displays 28 and 29.
[0023] Figs. 3, 4 and 5 are flowcharts illustrating how the processing circuit 27 included
in the child cash register 13 operates.
[0024] As shown in Fig. 3, the operation of the child cash register 13 starts at a step
al, then the transaction data is registered at a step a2. Then, at a step a3, the
child cash register 13 sends out the request message about the transaction data to
the parent cash register 11 through the line 14. At a step a4, the child cash register
13 receives the transaction data stored in the master file 15 of the parent cash register
11. Proceeding to a step a5, the new data is registered on the input means 24. At
a step a6, the child cash register 13 temporarily balances the book. Then, at a step
a7, the child cash register 13 transfers the resulting transaction data to the parent
cash register 11 through the line 14. Then, this sequential operation of the child
cash register 13 is finished at a step a8.
[0025] Fig. 4 is a flowchart illustrating how the child cash register 13 operates when the
parent cash register 11 becomes inoperative. The flow starts at a step C1 when the
child cash register is operating normally as in Fig. 3. Then, when a failure causes
the parent cash register 11 to be inoperative, at a step c2, the child cash register
13 judges if it receives a declaration message from the quasi-parent cash register
12 for acting as an alternative of the parent cash register 11. If the child cash
register 13 receives the declaration message, at a step c3, it sets to communicate
with the quasi-parent cash register 12 in place of the parent cash register 11 and
this setting operation of the child cash register 13 is finished at a step c4.
[0026] Fig. 5 is a flowchart illustrating how the child cash register 13 operates after
the parent cash register 11 is recovered. At a step d1, the child cash register 13
is communicating with the quasi-parent cash register 12. When the child cash register
13 judges that the parent cash register 11 is recovered to operate normally at a step
d2, the child cash register 13 is reset to communicate with the parent cash register
11 at a step d3. Then, at a step d4, this resetting operation is finished.
[0027] When the child cash register 13 sets to communicate with the quasi-parent cash register
12 at the step c3 in Fig. 4 in response to the parent-declaration message sent from
the quasi-parent cash register 12, the communication of the transaction data done
at the steps a2 to a7 in Fig. 3 is executed between the child cash resister 13 and
the master file 16 of the quasi-parent cash register 12.
[0028] Fig. 6 is a flowchart illustrating how the processing circuit 25 provided in the
parent cash register 11 operates. The flow starts at a step b1 when the parent cash
register is operating normally. At a step b2, the parent cash register 11 receives
the request message about the transaction data from the child cash register 13 or
the quasi-parent cash register 12. Proceeding to a step b3, the parent cash register
11 serves to retrieve the master file 15 and then, at a step b4, transfer the corresponding
transaction data retrieved from the master file 15 to the child cash register 13.
At a step b5, the parent cash register 11 sends out a check message for checking the
presense or absense of the transaction data to the quasi-parent cash register 12.
Then, at a step b6, the register 11 judges if it receives a response indicating the
presence or absence of the corresponding transaction data from the quasi-parent cash
register 12. If no transaction data is found, that is, an error takes place in the
quasi-parent cash register 12, at a step b7, the display 21 indicates the error condition.
If it is judged that there takes place no error, this sequential operation of the
processing circuit 25 is finished at a step b8.
[0029] Fig. 7 is a flowchart illustrating how the processing circuit 25 provided in the
parent cash register 11 operates when it receives the response indicating the presence
of the corresponding transaction data. The flow starts at a step el when the parent
cash register 11 is operating normally. At a step e2, the parent cash register 11
receives the transaction data inputted and temporarily balanced in the child cash
register 13 or the quasi-parent cash register 12. Then, at a step e3, the register
11 serves to update the corresponding data in the master file 15. In addition, before
receiving the transaction data from the child cash register 13 or the quasi-parent
cash register 12, the parent cash register 11 can execute the other process. At a
step e4, if no error takes place at the step b6, the register 11 serves to send out
the corresponding transaction data to the quasi-parent cash register 12 in such a
manner as to allow the content stored in the master file 16 to be equal to that stored
in the master file 15. Then, this sequential operation of the processing circuit 25
is finished at a step e5.
[0030] Fig. 8 is a flowchart illustrating how the processing circuit 25 of the parent cash
register 11 operates when the register 11 is recovered to operate normally after a
failure caused it to stop. The flow starts at a step f1 when the operation of the
parent cash register 11 is inoperative by the failure. If it is judged that the parent
cash register 11 is recovered to operate normally at a step f2, then at a step f3,
the parent cash register 11 receives and collects the transaction data from the master
file 16 provided in the quasi-parent cash register 12 and stores it in the master
file 15. At a step f4, the parent cash register 11 sends out the declaration data
for acting as a parent cash register to the child cash register 13. Then, at a step
f5, this sequential operation of the processing circuit 25 is finished.
[0031] Fig. 9 is a flowchart illustrating how the processing circuit 26 provided in the
quasi-parent cash register 12 operates. The flow starts at a step g1 when the registers
11 and 12 are communicating with each other. At a step g2, the quasi-parent cash register
12 receives a check message indicating the presence or absence of the transaction
data from the parent cash register 11. At a step g3, the register 12 sends out a response.
Then, at a step g4, the register 12 receives the transaction data from the parent
cash register 11 in normal operation and updates the master file 16 at a step g5.
Then this operation of the registers 11 and 12 is finished at a step g6.
[0032] Fig. 10 is a flowchart illustrating how the quasi-parent cash register 12 operates
as an alternative of the parent cash register 11 when the parent cash register 11
is made inoperative. The flow starts at a step h1 when the parent cash register 11
is inoperative. At a step h2, it is judged if an external operation to make the quasi-parent
cash register 12 act as an alternative of the parent cash register 11 is performed
via the input means 23 or not when the register 11 is inoperative. If the judgement
is YES, at a step h3, the quasi-parent cash register 12 sends out the declaration
data for acting as a parent cash register to the child cash register 13 through the
line 14. In response to the declaration data, the child cash register 13 can communicate
with the quasi-parent cash register 12 in the similar manner that it communicates
with the parent cash register 11. At a step h4, the quasi-parent cash register 12
instructs the child cash register 13 to prohibit the communication with the parent
cash register 11. Then, this alternative setting operation is finished at a step h5.
[0033] Fig. 11 is a flowchart illustrating how the quasi-parent cash register 12 operates
when the parent cash register 11 is recovered to operate normally. The flow starts
at a step j1 when the quasi-parent cash register 12 is operating as the alternative
of the parent cash register 11. At a step j2, the quasi-parent cash register 12 receives
a parent-cash-register-recovering declaration from the parent cash register 11. Then,
at a step j3, the register 12 serves to transfer the transaction data stored in the
master file 16 to the master file 15 of the parent cash register 11. Thus, after recovering
the parent cash register 11, the parent cash register 11 accomplishes the following
operatin based on the content stored in the master file 15. At a step j4, the registers
12 and 13 are reset to communicate with the parent cash register 11. Then, this recovering
operation is finished at a step j5.
[0034] When the parent cash register 11 is recovered, with the operation of the input means
22, the quasi-parent cash register 12 serves to transfer the latest transaction data
stored in the master file 16 to the master file 15 of the parent cash register 11
in such a manner as to allow the register 11 to collect the transaction data. This
operation is carried out at the step f3 as shown in Fig. 8. The operations illustrated
in Figs. 3, 8 and 10 are main process and the operations illustrated in Figs. 4, 5,
6, 7, 9 and 11 are sub process.
[0035] As discussed above, when some cause makes the parent cash register 11 inoperative,
the quasi-parent cash register 12 can acts as the alternative of the parent cash register
11. It results in being able to prevent the overall in-line system from being inoperative
until the parent cash register 11 is recovered. When the parent cash register 11 is
recovered, the parent cash register 11 can draw the latest transaction data from the
master file 16 of the quasi-parent cash register 12 to the master file 15 and collect
all the data in the master file 15. This operation makes it possible to precisely
return the transaction data involved in the overall in-line system to the parent cash
register 11. The in-line system may be provided with more child cash registers 13
or employ the arrangement wherein the line 14 merely has the parent cash register
11 and the quasi-parent cash register 12 connected thereon.
[0036] Many widely different embodiments of the present invention may be constructed without
departing from the spirit and scope of the present invention. It should be understood
that the present invention is not limited to the specific embodiments described in
the specification, except as defined in the appended claims.
1. An electronic cash register system comprising:
a parent electronic cash register (11) provided with a first control means (25) and
a first memory (15) for registering a transaction data inputted thereto;
a quasi-parent electronic cash register (12) provided with a second control means
(26) and a second memory (16) for registering a transaction data inputted thereto;
a child electronic cash register (13) provided with a third control means (27) for
registering a transaction data inputted thereto; and
a line (l4) for communicating said registers to one another;
said control means accomplishing a mutual communication between said registers through
said line and controlling said registers so as to store said data registered by said
parent, quasi-parent and child registers into said first and second memories respectively
when said parent register operates normally, store said data registered by said quasi-parent
and child registers into said second memory when said parent register becomes inoperative,
and transfer said data stored in said second memory to said first memory after said
parent register is recovered to operate normally.
2. A system according to Claim 1, wherein each of said control means comprises a processing
circuit.
3. A system according to Claim 2, wherein said processing circuit comprises a microcomputer.
4. A system according to Claim 1, wherein each of said registers are provided with
an input means (22, 23, 24) at which said transaction data are inputted.
5. A system according to Claim 1, wherein each of said quasi-parent and child registers
(12, 13) are provided with a display means (28, 29) for displaying a message indicating
that said parent register (11) becomes inoperative.
6. A system according to Claim 1, wherein said parent register is provided with a
display means (21) for displaying a message indicating that an error takes place in
said system.
7. A system according to Claim 1, wherein control signals made by said control means
is sent between said registers through said line so as to notice a condition of said
registers to one another.
8. A system according to Claim 7, wherein said control signals include a declaration
message signal, which indicates that said quasi-parent register act as an alternative
of said parent register and ie sent to said child register from said quasi-parent
register when said parent register becomes inoperative.
9. A system according to Claim 7, wherein said control signals include a declaration
message signal, which indicates that said parent register is recovered to operate
normally and is sent to said child register from said parent register when said parent
register is recovered to operate normally.