Transaction processing system, input processing device, settlement device, and program storage medium
Patent Information
- Application Number
- CN202280055443.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-09-24
- Filing Date
- 2022-05-18
- Publication Date
- 2026-08-21
- Estimated Expiration
- 2042-05-18
AI Technical Summary
[0005]但是,输入处理装置发送结算交易所需的信息的发送源限于第一结算装置
[0008]本发明的实施例要解决的问题是提供能够防止结算延迟的交易处理系统、输入处理装置、结算装置及程序存储介质。
Smart Images

Figure CN117882122B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to a transaction processing system, an input processing device, a settlement device, and a program storage medium. Background Technology
[0002] In recent years, semi-self-service transaction processing systems have been known as transaction processing systems for large retail stores. These systems separate an input processing device that registers and processes data on the goods bought and sold in each transaction from a settlement device that executes the transaction based on the data registered and processed in the input processing device. The system is then configured so that store clerks operate the input processing device and customers operate the checkout device.
[0003] Semi-self-service transaction processing systems, where store clerks input product data, reduce data input time compared to fully self-service systems where customers input data themselves. However, since customers operate the checkout devices, it's assumed that unfamiliar customers will spend time on checkout. Therefore, semi-self-service transaction processing systems typically have one input processing device paired with, for example, three or more checkout devices. The sequence for transferring checkout information is pre-set for these three or more checkout devices.
[0004] The input processing unit sends the information required for transaction settlement to the settlement unit with the first transfer sequence (first settlement unit). If the first settlement unit has completed the previous customer's settlement and is able to process the settlement, it processes the transaction based on this information. Alternatively, if the previous customer's settlement is still ongoing and cannot be processed, the first settlement unit sends the information required for transaction settlement to the settlement unit with the second transfer sequence (second settlement unit). The second settlement unit processes the transaction based on the information received from the first settlement unit. If the second settlement unit is also unable to process the settlement, it sends the information required for transaction settlement to the settlement unit with the third transfer sequence (third settlement unit). The third settlement unit processes the transaction based on the information received from the second settlement unit. In this way, the existing semi-automatic transaction processing system is configured to effectively operate three or more settlement units, thereby enabling the settlement of a large number of transactions in a short period of time.
[0005] However, the source of information required for settlement transactions sent by the input processing device is limited to the first settlement device. Therefore, if the first settlement device is powered off and cannot receive the information required for settlement transactions, not only the first settlement device, but also the second or third settlement device cannot process the settlement of the transaction, resulting in a settlement delay.
[0006] Existing technical documents
[0007] Patent Document 1: Japanese Patent Application Publication No. 2013-242839 Summary of the Invention
[0008] The problem to be solved by the embodiments of the present invention is to provide a transaction processing system, input processing device, settlement device and program storage medium that can prevent settlement delays.
[0009] The transaction processing system of this invention includes an input processing device for creating settlement information required for a transaction between a customer and the input data, and three or more settlement devices for performing settlement processing of the transaction based on the settlement information. Each of the three or more settlement devices is assigned a transfer sequence number for the settlement information. The input processing device includes a sending unit that sends the settlement information to a destination settlement device among the three or more settlement devices; a status confirmation unit that confirms the status of the destination settlement device; and a change unit that, when receiving a notification of a change in destination from a settlement device other than the destination settlement device, changes the destination of the settlement information to the other settlement device. Each of the three or more settlement devices includes a confirmation notification unit that notifies the input processing device of the status confirmation of the destination settlement device; and a change notification unit that, if the status confirmation result of the destination settlement device responding to the status confirmation notification from the input processing device satisfies the destination change condition for the settlement information, notifies the input processing device of the destination change.
[0010] The settlement apparatus of this invention is a settlement apparatus in a transaction processing system comprising an input processing device that creates settlement information required for settling transactions with customers based on input data, and three or more settlement devices that execute settlement processing of the transactions based on the settlement information, and setting a transfer order for the settlement information for each of the three or more settlement devices. The apparatus includes: a confirmation notification unit that notifies the input processing device of the status confirmation of the destination settlement device set as the destination; and a change notification unit that notifies the input processing device of a destination change if the status confirmation result of the destination settlement device responding to the status confirmation notification from the input processing device satisfies the destination change condition for the settlement information.
[0011] The input processing apparatus of this invention is an input processing apparatus constituting a transaction processing system with three or more settlement devices that perform transaction settlement processing based on settlement information required in settlement transactions with customers. It includes: a creation unit that creates the settlement information based on input data; a sending unit that sends the settlement information to a destination settlement device among the three or more settlement devices that is set as the destination; a status confirmation unit that confirms the status of the destination settlement device; and a change unit that, when receiving a notification of a destination change from a settlement device other than the destination settlement device, changes the destination of the settlement information to the other settlement device.
[0012] The program storage medium of this invention stores a program that enables a computer in a transaction processing system, comprising an input processing device that creates settlement information required for settling transactions with customers based on input data and a settlement processing device that executes the transaction based on the settlement information, to function as the following functional units: a confirmation notification unit that notifies the input processing device of the status confirmation of the destination settlement device set as the destination; and a change notification unit that notifies the input processing device of a change in the destination if the status confirmation result of the destination settlement device responding to the status confirmation notification from the input processing device satisfies the destination change condition of the settlement information.
[0013] The program storage medium of this invention stores a program for enabling a computer, which is an input processing device constituting a transaction processing system with three or more settlement devices that perform settlement processing based on settlement information required in settlement transactions with customers, to function as the following functional units: a creation unit that creates the settlement information based on input data; a sending unit that sends the settlement information to a destination settlement device among the three or more settlement devices that is set as the destination; a status confirmation unit that confirms the status of the destination settlement device; and a change unit that, when receiving a notification of a change in destination from a settlement device other than the destination settlement device, changes the destination of the settlement information to the other settlement device.
[0014] Brief description of the attached diagram
[0015] Figure 1 This is a schematic diagram showing the general structure of the transaction processing system involved in the first embodiment.
[0016] Figure 2 This is a block diagram showing the main circuit structure of the registration machine.
[0017] Figure 3 This is a block diagram showing the main circuit structure of the checkout machine.
[0018] Figure 4 This is a schematic diagram representing the data structure of the connection state table.
[0019] Figure 5 This is a schematic diagram showing the checkout machine status markings on the registration machine.
[0020] Figure 6 This is a flowchart representing the first information processing step performed by the processor of the registration machine.
[0021] Figure 7 This is a flowchart representing the first information processing step performed by the processor of the registration machine.
[0022] Figure 8 This is a flowchart representing the fourth information processing step performed by the processor of the first checkout machine.
[0023] Figure 9 This is a flowchart representing the fifth information processing step performed by the processor of the second checkout machine.
[0024] Figure 10 This is a flowchart representing the sixth information processing step performed by the processors of the first and second checkout machines.
[0025] Figure 11 This is a flowchart representing the second information processing steps performed by the processor of the registration machine.
[0026] Figure 12 This is a flowchart representing the seventh information processing step performed by the processors of the first and second checkout machines.
[0027] Figure 13 This is a flowchart representing the third information processing steps performed by the processor of the registration machine.
[0028] Figure 14 It is a timing diagram of the instructions exchanged between the registration machine and the first and second checkout machines.
[0029] Figure 15 It is a timing diagram of the instructions exchanged between the registration machine and the first and second checkout machines.
[0030] Figure 16 It is a timing diagram of the instructions exchanged between the registration machine and the first and second checkout machines.
[0031] Figure 17 This is a conceptual diagram of the transaction processing system involved in the second embodiment.
[0032] Figure 18 This is a schematic diagram representing the data structure of the connection state table.
[0033] Figure 19 It is a timing diagram of the instructions exchanged between the first and second registration machines and the first, second, and third checkout machines.
[0034] Figure 20 This is a conceptual diagram of the transaction processing system involved in the third embodiment.
[0035] Figure 21 This is a schematic diagram representing the data structure of the connection state table.
[0036] Figure 22 This is a schematic diagram representing the data structure of the checkout machine status table.
[0037] Figure 23 This is a flowchart representing the key steps of the first information processing performed by the processor of the registration machine.
[0038] Figure 24 This is a flowchart representing the second information processing steps performed by the processor of the registration machine.
[0039] Figure 25 This is a flowchart representing the seventh information processing step performed by the checkout machine's processor.
[0040] Figure 26 This is a flowchart illustrating the steps of the third information processing performed by the processor 31 of the registration machine.
[0041] Figure 27 It is a timing diagram of the instructions exchanged between the registration machine and the first, second, third, and fourth checkout machines.
[0042] Figure 28 It is a timing diagram of the instructions exchanged between the registration machine and the first, second, third, and fourth checkout machines.
[0043] Figure 29 It is a timing diagram of the instructions exchanged between the registration machine and the first, second, third, and fourth checkout machines.
[0044] Figure 30 It is a timing diagram of the instructions exchanged between the registration machine and the first, second, third, and fourth checkout machines. Detailed Implementation
[0045] In one embodiment, the transaction processing system includes an input processing unit and three or more settlement devices. The input processing unit creates settlement information required for transactions with customers based on input data, and the three or more settlement devices execute transaction settlement processing based on the settlement information. A sequence number for forwarding settlement information is assigned to each of the three or more settlement devices. The input processing unit includes a sending unit, a status confirmation unit, and a change unit. The sending unit sends the settlement information to a destination settlement device among the three or more settlement devices. The status confirmation unit confirms the status of the destination settlement device. The change unit, when receiving a notification of a change in destination from a settlement device other than the destination settlement device, changes the destination of the settlement information to that other settlement device. Each of the three or more settlement devices includes a confirmation notification unit and a change notification unit. The confirmation notification unit notifies the input processing unit of the status confirmation of the destination settlement device. The change notification unit, if the status confirmation result of the destination settlement device responding to the status confirmation notification from the input processing unit meets the conditions for changing the destination of the settlement information, notifies the input processing unit of the destination change.
[0046] The following will use the accompanying drawings to illustrate embodiments of the semi-self-service transaction processing system.
[0047] A semi-self-service transaction processing system includes an input processing unit and multiple settlement units. The input processing unit is used to input data on the goods bought and sold in each transaction and to register and process the sales data. The settlement units are used to obtain settlement information, including sales data and other necessary information, from the input processing unit and to execute settlement processing based on this information. In the following embodiments, the input processing unit is referred to as a registration machine, and the settlement units are referred to as checkout machines.
[0048] (First Embodiment)
[0049] [The Composition of a Transaction Processing System]
[0050] use Figures 1 to 5 The structure of the transaction processing system 100 according to the first embodiment will be described below. Furthermore, the configuration described below is only one example. Parts of the configuration can be appropriately modified to achieve the same effect.
[0051] Figure 1 This is a schematic diagram showing the general structure of the transaction processing system 100. The transaction processing system 100 includes a registration machine 11, a checkout machine 12, a server 13, and a network 14 connecting these. The type of network 14 is not particularly limited, but it is usually a wired or wireless LAN (Local Area Network).
[0052] The registration machine 11 is operated by a store clerk 21 who acts as a cashier. The checkout machine 12 is operated by a consumer, or customer 22, who purchases goods in the store. Figure 1 In this configuration, the registration machine 11 is mounted on a workbench 23. The workbench 23 has a rectangular top plate. By arranging multiple workbench 23 in a manner that is approximately parallel along the length of the top plate, a passageway used by the customer 22, also known as a checkout passageway, is formed.
[0053] A register 11 and a checkout machine 12 are configured in each checkout lane of the store. One register 11 is configured for each checkout lane, and multiple checkout machines 12 are configured. Then, the register 11 and checkout machines 12 configured in the same checkout lane exchange various data signals via network 14. Data signals can be exchanged via server 13 or not.
[0054] exist Figure 1 The diagram illustrates an example of configuring two register machines 11 (11-1, 11-2) and four settlement machines 12 (12-1, 12-2, 12-3, 12-4) for two checkout channels. Register machine 11-1 of one of the two register machines 11 forms a group with two of the four settlement machines 12, namely settlement machines 12-1 and 12-2. Register machine 11-2 of the other group forms a group with the remaining two settlement machines 12-3 and 12-4. Each settlement machine 12 performs settlement processing for transactions already processed by the register machines 11 within the same group. That is, settlement machines 12-1 and 12-2 perform settlement processing for transactions already processed by register machine 11-1. Settlement machines 12-3 and 12-4 perform settlement processing for transactions already processed by register machine 11-2. The transaction settlement processing is consistent across groups. Therefore, the following description will focus on the group consisting of one registration machine 11-1 and two checkout machines 12-1 and 12-2. The group consisting of another registration machine 11-2 and two more checkout machines 12-3 and 12-4 will be omitted here as the description is redundant.
[0055] Server 13 includes a product master file 15. The product master file 15 can be stored either in the storage device built into server 13 or in an external storage device connected to server 13.
[0056] Product Master File 15 is a data file that stores product records created for each product sold in the store. A product record is a data record that contains product data such as product code, product name, unit price, and attributes.
[0057] A product code is a unique code assigned to each product to identify it. Typically, each product bears a barcode or QR code representing the product code. Alternatively, it may bear an RFID (Radio Frequency Identification) tag storing the product code. The registration machine 11 can read the barcode, QR code, or RFID tag affixed to the product using a reading device, thereby inputting the product code of the product being bought and sold in the transaction.
[0058] The product name and unit price are the name of the product and the price corresponding to one item, identified by the product code. Attributes include information such as tax information about the product. Tax-related information includes tax rate, tax type (excluding tax, including tax, tax-free), etc.
[0059] Figure 2 This is a block diagram showing the main circuit structure of the registration machine 11-1. The registration machine 11-1 includes a processor 31, main memory 32, auxiliary storage device 33, clock 34, communication unit 35, keyboard 36, scanner 37, touch panel 38, customer display 39, printer 40, and system transfer line 41. The system transfer line 41 includes address bus, data bus, control signal lines, etc. The system transfer line 41 connects the processor 31 directly or via signal input / output circuits to other components, and transfers and receives data signals between them.
[0060] The registration machine 11-1 is configured as a computer by connecting the processor 31, main memory 32, auxiliary storage device 33, clock 34 and communication unit 35 via system transfer line 41. Then, the registration machine 11-1 connects devices such as keyboard 36, scanner 37, touch panel 38, guest monitor 39, and printer 40 to the computer via system transfer line 41.
[0061] Processor 31 is equivalent to the central part of the aforementioned computer. Processor 31 controls various parts according to the operating system or application program to implement various functions as the registration machine 11-1. Processor 31 is, for example, a CPU (Central Processing Unit), GPU (Graphics Processing Unit), Application Specific Integrated Circuit (ASIC), or programmable logic device (e.g., Simple Programmable Logic Device (SPLD), Complex Programmable Logic Device (CPLD), or Field Programmable Gate Array (FPGA) processing circuit. Processor 11 is not limited to being configured as a single processing circuit, but can be configured by combining multiple processing circuits.
[0062] Main memory 32 corresponds to the main storage portion of the computer described above. Main memory 32 includes non-volatile memory areas and volatile memory areas. Main memory 32 stores the operating system or application programs in the non-volatile memory areas. Main memory 32 sometimes stores data required by the processor 31 for processing to control various parts in the non-volatile or volatile memory areas. Main memory 32 uses the volatile memory areas as working areas where data can be appropriately rewritten by the processor 31. Non-volatile memory areas are, for example, ROM (Read Only Memory). Volatile memory areas are, for example, RAM (Random Access Memory).
[0063] Auxiliary storage device 33 corresponds to the auxiliary storage section of the computer described above. For example, EEPROM (Electric Erasable Programmable Read-Only Memory), HDD (Hard Disk Drive), or SSD (Solid State Drive) can serve as auxiliary storage device 33. Auxiliary storage device 33 stores data used by processor 31 during various processes, data created by processor 31's processing, etc. Auxiliary storage device 33 may also sometimes store the aforementioned application programs.
[0064] Clock 34 keeps track of the date and time. Processor 31 processes the date and time kept track of by clock 34 as the current date and time.
[0065] The communication unit 35 communicates data between the server 13 connected via the network 14 and the checkout machines 12-1 and 12-2 in the same group. The communication unit 35 is also capable of communicating data with another group of checkout machines 11-2, 12-3, or 12-4 connected via the network 14.
[0066] Keyboard 36 is an input device equipped with various keys needed when entering data related to the goods purchased by the customer.
[0067] Scanner 37 is an example of a reading device capable of reading code symbols such as barcodes and QR codes. Scanner 37 can read code symbols either by laser scanning or by reading code symbols from images captured by a camera device.
[0068] The touch panel 38 is a device that serves as both an input device and a display device. The touch panel 38 displays information to the clerk who operates the registration machine 11-1 and accepts the clerk's input.
[0069] The customer display 39 displays information to the customer 22 who has registered their purchase data in the registration machine 11-1.
[0070] Printer 40 issues tickets by printing various strings or images onto ticket paper. Such printer 40 can be, for example, a thermal printer or a click-to-print printer.
[0071] The hardware for such a registration machine 11-1 can be, for example, an existing POS terminal. Furthermore, the devices connected to the registration machine 11-1 are not limited to… Figure 2 The keyboard 36, scanner 37, touch panel 38, customer monitor 39, and printer 40 shown are included. Additional equipment necessary for the use of the registration machine 11-1 may be added, or some equipment may be omitted.
[0072] In the registration machine 11-1 with the relevant configuration, the processor 31 functions as a creation unit 311, a sending unit 312, a status confirmation unit 313, a modification unit 314, and a recovery unit 315. The creation unit 311 creates settlement information required for the transaction with customer 22 based on the data related to the goods input via a reading device or input device. The sending unit 312 sends the settlement information to one of the two checkout machines 12-1 and 12-2, which are set as the destination.
[0073] Settlement information includes items such as transaction number, transaction date and time, terminal ID, merchandise sales data, total number of items, and total amount. The transaction number is a serial number issued to each transaction to identify the transaction with customer 22. The transaction date and time are the date and time the transaction was executed. The terminal ID is the identification information set for the registration machine 11-1 that processed the transaction. A unique terminal ID is pre-assigned to each registration machine 11 (11-1, 11-2, ...). Incidentally, a unique terminal ID is also assigned to each checkout machine 12 (12-1, 12-2, 12-3, 12-4, ...). Merchandise sales data consists of items such as the merchandise code, merchandise name, unit price, sales quantity, sales amount, and attributes of the merchandise purchased by customer 22. The settlement information includes merchandise sales data for all merchandise purchased by customer 22 in this transaction. The total number of items is the sum of the sales quantities in the merchandise sales data for a transaction. The total amount is the sum of the sales amounts in the merchandise sales data for a transaction.
[0074] This type of settlement information is uniquely identified by the transaction number, transaction date and time, and terminal ID. That is, the transaction number, transaction date and time, and terminal ID function as the transaction specification information that can specify settlement information. However, the transaction specification information is not limited to the transaction number, transaction date and time, and terminal ID. Any information sufficient to specify settlement information is acceptable; other items can be added, or some items can be omitted. Furthermore, the data structure of the settlement information is not limited to the items mentioned above; other items can be added, or some items can be omitted.
[0075] The status confirmation unit 313 is responsible for confirming the status of one of the two checkout machines 12-1 and 12-2 that are set as the destination. The change unit 314 is responsible for changing the destination of the settlement information to the other checkout machine (not set as the destination) when it receives a notification of a destination change. The restoration unit 315 is responsible for restoring the destination of the settlement information to the checkout machine that was set as the destination when it receives a notification of a destination change.
[0076] The functions of the creation unit 311, the sending unit 312, the status confirmation unit 313, the modification unit 314, and the recovery unit 315 are all implemented by the processor 31 through the first information processing, the second information processing, and the third information processing executed according to the registration program. The first information processing, the second information processing, and the third information processing will be described later.
[0077] The registration program is an application stored in the main memory 32 or the secondary storage device 33. There are no particular limitations on the method of installing the registration program into the main memory 32 or the secondary storage device 33. The registration program can be stored on a removable storage medium, or distributed via communication through the network 14 and installed in the main memory 32 or the secondary storage device 33. The storage medium is not limited in form, as long as it is a program-storable medium such as a CD-ROM or memory card that the device can read.
[0078] Figure 3 This is a block diagram showing the main circuit structure of checkout machine 12. Checkout machine 12-1 and checkout machine 12-2 have the same configuration. Therefore, in Figure 3 In this document, the checkout machine 12-1 of one party and the checkout machine 12-2 of the other party are referred to as checkout machine 12 without distinction.
[0079] The checkout machine 12 includes a processor 51, main memory 52, auxiliary storage device 53, clock 54, communication unit 55, change dispenser interface 56, scanner 57, touch panel 58, printer 59, reader / writer 60, inspection light 61, and system transfer line 62. The system transfer line 62 includes address bus, data bus, control signal lines, etc. The system transfer line 62 is directly or via signal input / output circuits connected to the processor 51 and other components, and transfers data signals exchanged between them.
[0080] The checkout machine 12 is configured as a computer by connecting the processor 51, main memory 52, auxiliary storage device 53, clock 54, and communication unit 55 via system transfer line 62. Then, the checkout machine 12 connects device interfaces or devices such as change dispenser interface 56, scanner 57, touch panel 58, printer 59, reader / writer 60, and inspection light 61 to the computer via system transfer line 62.
[0081] The processor 51 is equivalent to the central part of the computer described above. The processor 51 controls various parts according to the operating system or application programs to perform various functions as the checkout machine 12. The processor 51 is, for example, a CPU.
[0082] Main memory 52 corresponds to the main storage portion of the computer described above. Main memory 52 includes non-volatile memory areas and volatile memory areas. Main memory 52 stores the operating system or application programs in the non-volatile memory areas. Main memory 52 sometimes stores data required for processing by the processor 51 to control various parts in either the non-volatile or volatile memory areas. Main memory 52 uses the volatile memory areas as working areas where data can be appropriately rewritten by the processor 51. Non-volatile memory areas are, for example, ROM. Volatile memory areas are, for example, RAM.
[0083] Auxiliary storage device 53 is equivalent to the auxiliary storage section of the computer described above. For example, EEPROM, HDD, or SSD can be used as auxiliary storage device 53. Auxiliary storage device 53 stores data used by processor 51 during various processes, data created by processor 51's processing, etc. Auxiliary storage device 53 may sometimes store the aforementioned application programs.
[0084] Clock 54 keeps track of the date and time. Processor 51 processes the date and time recorded by clock 54 as the current date and time.
[0085] The communication unit 55 communicates data with the server 13 connected via the network 14 or with the checkout machine 11-1 in the same checkout channel. The communication unit 55 is also capable of communicating data with another set of checkout machines 11-2 or checkout machines 12-3, 12-4 connected via the network 14.
[0086] The change-giving interface 56 forms an interface with an automatic change-giving machine (not shown). The change-giving interface 56 receives the amount of currency inserted into the automatic change-giving machine. The change-giving interface 56 outputs the change data from the checkout machine 12 to the automatic change-giving machine. The automatic change-giving machine, upon receiving the change data, automatically dispenses the corresponding amount of currency as change.
[0087] Scanner 57 is an example of a device for reading code symbols such as barcodes and QR codes. Scanner 57 can read code symbols by scanning with a laser or by reading code symbols from an image captured by a camera.
[0088] The touch panel 58 is a device that serves as both an input device and a display device. The touch panel 58 displays information to the customer 22, who is operating the checkout machine 12, and accepts the operation input from the customer 22.
[0089] Printer 59 issues tickets by printing various strings or images onto ticket paper. Such printer 59 can be, for example, a thermal printer or a click-to-print printer.
[0090] The reader / writer 60 has the function of reading data stored in media such as cards and smartphones, and the function of writing data to the aforementioned media. In addition to settlement cards such as credit cards, debit cards, electronic money cards, and prepaid cards, cards may also include membership cards such as membership cards and points cards. The reader / writer 60 can be any of the following types of devices: magnetic, contact, or contactless, or it may include a combination of these devices.
[0091] The inspection light 61 has light-emitting elements of two colors, such as red and blue. The inspection light 61 is set corresponding to the checkout machine 12, vertically mounted on the top of a column near it, and illuminates or flashes in, for example, red or blue, depending on the status of the corresponding checkout machine 12.
[0092] As the hardware for such a checkout machine 12, one can use, for example, a POS terminal in an existing fully automated transaction processing system, also known as a self-service checkout machine. Furthermore, the devices connected to the checkout machine 12 are not limited to... Figure 3 The scanner 57, touch panel 58, printer 59, reader / writer 60, and inspection light 61 shown are optional. Equipment required for the use of the checkout machine 12 can be added, or some equipment can be omitted.
[0093] In the checkout machine 12 with the relevant configuration, the processor 51 functions as a settlement unit 511, a confirmation notification unit 512, and a change notification unit 513. The settlement unit 511 performs settlement processing based on settlement information.
[0094] The confirmation notification unit 512 is a function that notifies the checkout machine 12 of its status confirmation to the registering machines 11-1 that are in the same group. For example, after the system starts, the processor 5 periodically notifies the registering machine 11-1 of the checkout machine 12's status confirmation at intervals set by a watch timer. For example, the processor 51 may notify the registering machine 11-1 of the checkout machine 12's status confirmation when the transaction settlement process is completed.
[0095] The change notification unit 513 is a notification for status confirmation. It notifies the registration unit 11-1 of the change in the destination of the settlement information if the status confirmation result from the checkout unit 12 responding to the registration unit 11-1 meets the conditions for changing the destination of the settlement information. The conditions for changing the destination will be described later.
[0096] The functions of the settlement department 511, confirmation notification department 512, and change notification department 513 are all implemented by the processor 51 through the fourth, fifth, sixth, and seventh information processing steps executed according to the settlement procedure. The fourth to seventh information processing steps will be described later.
[0097] The settlement program is an application stored in the main memory 52 or the secondary storage device 53. There are no particular limitations on the method of installing the settlement program into the main memory 52 or the secondary storage device 53. The settlement program can be stored on a removable storage medium, or distributed and installed in the main memory 52 or the secondary storage device 53 via communication via the network 14. The storage medium is not limited in form, as long as it is capable of storing programs and is readable by the device, such as a CD-ROM or memory card.
[0098] Figure 4 This is a schematic diagram showing the main data structure of the connection status table 71 of the registration machine 11-1 and checkout machines 12-1 and 12-2 that constitute the same group. The connection status table 71 is stored, for example, in auxiliary storage devices 33 and 53. The registration machine 11-1 and checkout machines 12-1 and 12-2 of the same group have the same connection status table 71.
[0099] like Figure 4 As shown, connection status table 71 records data records 711, 712, and 713, each consisting of elements such as terminal ID, group number, checkout machine number, and transfer sequence number N. Data record 711 is a data record concerning checkout machine 11-1. Data record 712 is a data record concerning one party's checkout machine 12-1. Data record 713 is a data record concerning the other party's checkout machine 12-2.
[0100] The terminal ID is a unique identification information assigned to each terminal of the registration machine 11-1, checkout machine 12-1, and checkout machine 12-2. At least, the registration machine 11 and checkout machine 12 installed in the transaction processing system 100 are each assigned a different terminal ID.
[0101] The group number is a number assigned to each group to identify a group consisting of one registration machine 11 and two checkout machines 12. Therefore, the group number in the connection status table 71 corresponding to a group is shared. The group number can be either consecutive or non-consecutive. At a minimum, it must not be the same as the group number of another group.
[0102] The checkout machine number is a consecutive number starting from "1" assigned to each checkout machine to identify the two checkout machines 12-1 and 12-2 that belong to the same group. Additionally, the registration machine 11-1, which also belongs to the same group, is assigned "0" as its checkout machine number.
[0103] The forwarding sequence N is a consecutive number starting from "1" that indicates the forwarding of settlement information sent from registration machine 11-1, which constitutes the same group, to two checkout machines 12-1 and 12-2. In this embodiment, the forwarding sequence N of checkout machine 12-1 (with checkout machine number "1") is set as the first position, and the forwarding sequence N of checkout machine 12-2 (with checkout machine number "2") is set as the second position. Alternatively, the forwarding sequence N of checkout machine 12-2 (with checkout machine number "2") can be set as the first position, and the forwarding sequence N of checkout machine 12-1 (with checkout machine number "1") can be set as the second position. For registration machine 11-1, "0" is set as the forwarding sequence N. For ease of explanation, checkout machine 12-1 with machine number "1" will be referred to as the first checkout machine 12-1, and checkout machine 12-2 with machine number "2" will be referred to as the second checkout machine 12-2. Since the first checkout machine 12-1 has the first transfer sequence bit, it can also be called the master machine or main machine, etc. Since the second checkout machine 12-2 has the second transfer sequence bit, it can also be called the slave machine or satellite machine, etc.
[0104] Figure 5 This is a schematic diagram showing the checkout status flag 81 of the registration machine 11-1. The checkout status flag 81 is stored in a volatile storage area, such as main memory 32. The checkout status flag 81 is a region used to store values that can be used to determine whether the first checkout machine 12-1, where the transfer sequence bit N is the first bit, is the destination for sending settlement information. The value is a single bit of data that is either "0" or "1". In this embodiment, the value of the checkout status flag 81 is "0" when the first checkout machine 12-1 is the destination for sending settlement information, and the value of the checkout status flag 81 is "1" when it is not the destination for sending settlement information. It is permissible to set the value of the checkout status flag 81 to "1" when the first checkout machine 12-1 is the destination for sending settlement information, and the value of the checkout status flag 81 to "0" when it is not the destination for sending settlement information.
[0105] [Functions of the Transaction Processing System]
[0106] use Figures 6 to 16 The main functions of the transaction processing system 100 will now be explained. Furthermore, the processes and sequences described below are merely examples. Any steps or processing details can be appropriately modified to achieve the same effect.
[0107] First, the first function related to transaction settlement will be explained. This first function pertains to the creation unit 311 and the sending unit 312 in the registration machine 11-1. In the first settlement machine 12-1 and the second settlement machine 12-2, it pertains to the settlement unit 511. The functions of the creation unit 311 and the sending unit 312 are based on first information processing. The function of the settlement unit 511 is based on fourth or fifth information processing.
[0108] Figure 6 and Figure 7 This is a flowchart illustrating the steps of the first information processing performed by the processor 31 of the registration machine 11-1 according to the registration procedure. The customer 22 places the items they wish to purchase into a shopping basket or similar item from the merchandise displayed in the store and proceeds to the checkout lane. When the customer 22 arrives at the checkout lane, the cashier 21 announces the start of registration to the registration machine 11-1. This operation initiates the registration procedure of the registration machine 11-1, and the processor 31 begins processing... Figure 6 and Figure 7 The first information processing step is shown in the diagram.
[0109] As ACT1, processor 31 causes touch panel 38 to display a registration screen. The registration screen is configured with, for example, a details area and a total area, and includes an icon for a subtotal button. The details area displays the product name, quantity, unit price, and total amount in a list format, ordered by a series of numbers. The total area displays the total number of items shown in the details area (quantity) and the total amount (in Japanese yen), respectively. The subtotal button is a control touched by clerk 21 to instruct the customer 22 to input the subtotal of the items purchased.
[0110] As ACT2, the processor 31, which controls the display of the registration screen, waits to receive data related to the input product. Most products have a barcode representing the product's identification information. Therefore, the clerk 21 operates the scanner 37 to read the barcode affixed to the product the customer 22 wants to purchase. By reading the barcode with the scanner 37, the product code of the purchased product is entered into the registration machine 11-1. On the other hand, sometimes some products, such as fresh food, do not have barcodes. If the purchased product does not have a barcode, the clerk 21 touches the product button corresponding to the purchased product from the group of product buttons displayed on the touch panel 38. When the product button is touched, the product code of the product corresponding to that product button is entered into the registration machine 11-1.
[0111] When a product code is entered, processor 31 proceeds to YES in ACT2. In ACT3, processor 31 performs product sales data processing. That is, processor 31 retrieves product data such as product name, unit price, and attributes from the product records of products identified by the product code entered via scanner 37 or touch panel 38. Then, processor 31 registers the product sales data, including items such as product code, product name, unit price, number of units sold, sales amount, and attributes, in the transaction memory. The transaction memory is part of the volatile storage area in main memory 32.
[0112] As part of ACT4, processor 31, which handles the finished product sales data processing, checks whether the subtotal button has been entered. The clerk then sequentially enters the product codes for the items purchased by customer 22. After entering all the product codes for the purchased items, the clerk touches the subtotal button.
[0113] If the product code for the next item is entered without pressing the subtotal button, processor 31 advances to NO in ACT4 and to YES in ACT2. That is, as in ACT3, processor 31 performs product sales data processing. As a result, the product sales data for the purchased item is registered in the transaction memory.
[0114] When the subtotal button is pressed, processor 31 advances to YES in ACT4. In ACT5, processor 31 displays the subtotal screen. The subtotal screen is a screen with a total area and icons such as a payment button. The total area is the same as the total area on the registration screen. The payment button is a control touched by clerk 21 to indicate payment. Clerk 21, having confirmed the subtotal screen, touches the payment button.
[0115] In ACT6, processor 31, which controls the display of the subtotal screen, waits for the payment button to be pressed. If the clerk 21 presses the payment button, processor 31 proceeds to YES in ACT6. In ACT7, processor 31 creates settlement information. That is, processor 31 creates the settlement information required for the transaction based on the sales data of each purchased item registered in the transaction memory, their total number of items, total amount, and transaction specification data such as transaction number, transaction date and time, and the terminal ID of the registration machine.
[0116] When the creation of settlement information is completed, processor 31 proceeds to... Figure 7 In ACT8, the processor 31 obtains the checkout machine status flag 81. In ACT9, the processor 31 confirms whether the value of the checkout machine status flag 81 is "0" or "1".
[0117] When the checkout machine status flag 81 is "0", meaning that the first checkout machine 12-1 is the destination for sending settlement information, the processor 31 proceeds to YES in ACT9. In ACT10, the processor 31 refers to the connection status table 71 to select the terminal ID of the first checkout machine 12-1 whose transfer sequence N is set to the first position.
[0118] When the checkout machine status flag 81 is set to "1", meaning that the first checkout machine 12-1 is not the destination for sending settlement information, the processor 31 proceeds to NO in ACT9. As in ACT11, the processor 31 refers to the connection status table 71 to select the terminal ID of the second checkout machine 12-2 whose transfer sequence N is set to the second position.
[0119] Upon completion of ACT10 or ACT11, processor 31 proceeds to ACT12. In ACT12, processor 31 controls communication unit 35 to send settlement information to the checkout machine specified by the terminal ID obtained in ACT10 or ACT11 as the destination. Through this control, in ACT10, if the terminal ID of the first checkout machine 12-1 is selected, settlement information is sent to the first checkout machine 12-1 via network 14. In ACT11, if the terminal ID of the second checkout machine 12-2 is selected, settlement information is sent to the second checkout machine 12-2 via network 14.
[0120] As ACT13, the processor 31, which controls the transmission of settlement information, checks whether a transmission error has occurred. For example, an error may occur if the checkout machine 12 at the destination is closed or if a communication failure occurs in the network 14. When an error occurs in the transmission of settlement information, the processor 31 proceeds to YES in ACT13. As ACT14, the processor 31 informs the user of the transmission error. For example, the processor 31 causes the touch panel 38 to display a message indicating a transmission error.
[0121] If no error occurs in the transmission of settlement information, processor 31 proceeds to YES in ACT13. In ACT15, processor 31 checks whether a settlement notification instruction has been received from checkout machine 12. Incidentally, if settlement information is sent to checkout machine 12-1 or 12-2, a settlement notification instruction or a busy notification instruction may be sent back from either checkout machine 12.
[0122] If processor 31 receives a busy notification instruction instead of a settlement notification instruction, it proceeds to NO in ACT15 and returns to ACT8. Then, processor 31 executes the processing after ACT8 in the same manner as described above.
[0123] Upon receiving a checkout notification instruction, processor 31 proceeds to YES in ACT15. In ACT16, processor 31 notifies the checkout machine that is the checkout destination. That is, if the checkout notification instruction originates from the first checkout machine 12-1, processor 31 notifies the first checkout machine 12-1 that it is the checkout destination. If the checkout notification instruction originates from the second checkout machine 12-2, processor 31 notifies the second checkout machine 12-2 that it is the checkout destination. The notification can be sent to the cashier 21 via touch panel 38 or to the customer 22 via customer display 39. The customer 22 moves to the location of the first checkout machine 12-1 or the second checkout machine 12-2 that has been notified as the checkout destination and operates the checkout machine 12 to complete the self-checkout process.
[0124] At this point, processor 31 has finished processing the first piece of information.
[0125] Here, the processor 31 of the registration machine 11-1 performs the function of a creation unit 311 through the processing of ACT7. Furthermore, the same processor 31 performs the function of a sending unit 312 through the processing of ACT8 to ACT12.
[0126] Figure 8 This is a flowchart illustrating the steps of the fourth information processing performed by the processor 51 of the first checkout machine 12-1 according to the settlement procedure. As ACT 21, the processor 51 waits to receive settlement information. When settlement information is received from the register 11-1 via the communication unit 55, the processor 51 proceeds to YES in ACT 21. As ACT 22, the processor 51 confirms whether the first checkout machine 12-1 can perform the settlement processing. For example, if the previous customer's settlement processing has not yet been completed, the first checkout machine 12-1 cannot perform the next customer's settlement processing. Furthermore, if a printer error occurs (such as a paper jam or paper shortage in the printer 59), or a change machine error occurs (such as currency blockage or running out of change), the first checkout machine 12-1 cannot perform the settlement processing.
[0127] If the first checkout machine 12-1 is capable of performing settlement processing, the processor 51 proceeds to YES in ACT22. In ACT23, the processor 51 controls the communication unit 55 to send a settlement notification instruction to the registration machine 11-1. This control sends the settlement notification instruction to the registration machine 11-1.
[0128] As ACT24, processor 51 performs settlement processing. Specifically, processor 51 displays the screen of touch panel 58 as a payment method selection screen. The payment method selection screen is a screen configured with controls for selecting a payment method, such as a cash button, a credit card button, and an electronic money button. A customer who moves to the setting location of the first checkout machine 12-1 touches the button corresponding to their desired payment method. That is, a customer who wants to pay in cash touches the cash button, a customer who wants to pay in credit card touches the credit card button, and a customer who wants to settle in electronic money touches the electronic money button.
[0129] The processor 51, which controls the display of the payment method selection screen, waits for any payment method to be selected. Then, if a payment method is selected, the processor 51 executes the settlement process corresponding to that payment method. For example, if cash is selected as the payment method, the processor 51 subtracts the total amount from the amount inserted into the automatic change machine, calculates the change, and executes the process of dispensing the change from the automatic change machine. For example, if a credit card is selected as the payment method, the processor 51 authenticates the credit card read by the reader / writer 60 and determines the total amount as the credit card settlement amount, conditional upon permission from the server 13. If, for example, electronic money is selected as the payment method, the processor 51 subtracts the total amount from the balance of the electronic money medium read by the reader / writer 60.
[0130] Thus, when settlement processing for different payment methods is completed, processor 51, as ACT25, controls printer 59 to issue a transaction slip. Settlement information is printed on the transaction slip, including the transaction number, transaction date and time, terminal ID, product sales data, total number of items, and total amount.
[0131] On the other hand, if the first checkout machine 12-1 cannot perform the settlement process, the processor 51 proceeds to NO in ACT22. As ACT26, the processor 51 refers to the connection status table 71 and obtains the transfer sequence N associated with its own terminal ID. Next, as ACT27, the processor 51 selects another checkout machine 12-2 whose transfer sequence N is set to transfer sequence N by adding a "1". Then, as ACT28, the processor 51 controls the communication unit 55 to send the settlement information to the selected other checkout machine 12-2 as the destination. Through this control, the settlement information is transferred (forwarded) via the network 14 to the second checkout machine 12-2, with the second transfer sequence N as the sending destination.
[0132] As ACT29, processor 51, which controls the transmission (forwarding) of settlement information, checks whether a transmission error has occurred. For example, if the checkout machine 12-2 at the destination is closed, an error occurs in the transmission of settlement information. When an error occurs in the transmission of settlement information, processor 51 proceeds to YES in ACT29. As ACT30, processor 51 controls communication unit 55 to send a busy notification command to registration machine 11-1. Through this control, a busy notification command is sent to registration machine 11-1.
[0133] At this point, processor 51 finishes the fourth information processing step.
[0134] Here, the processor 51 of the first checkout machine 12-1 performs the function of a settlement unit 511 through the processing of ACT24. Furthermore, the processor 51 of the first checkout machine 12-1 performs the function of a transfer unit through the processing of ACT25 to ACT27.
[0135] Figure 9 This is a flowchart illustrating the fifth information processing step performed by the processor 51 of the second checkout machine 12-2 according to the settlement procedure. As ACT31, the processor 51 waits to receive settlement information. When the communication unit 55 receives settlement information sent from the first checkout machine 12-1, the processor 51 proceeds to YES in ACT31. As ACT32, the processor 51 confirms whether the second checkout machine 12-2 can perform the settlement processing. For example, if the settlement processing for the previous customer has not yet been completed, the second checkout machine 12-2 cannot perform the settlement processing for the next customer. Furthermore, if a printer error occurs (such as a paper jam or paper shortage in the printer 59), or a change machine error occurs (such as coin blockage or running out of change in the change dispenser), the second checkout machine 12-2 cannot perform the settlement processing.
[0136] If the second checkout machine 12-2 is capable of performing settlement processing, processor 51 proceeds to YES in ACT32. As in ACT33 to ACT35, processor 51 executes... Figure 8 The same processes apply to ACT23 through ACT25. Specifically, processor 51 controls communication unit 55 to send a settlement notification instruction to registration machine 11-1 as ACT33. Furthermore, as ACT34, processor 51 performs settlement processing. Afterwards, as ACT35, processor 51 controls printer 59 to issue transaction slips.
[0137] On the other hand, if the second checkout machine 12-2 cannot perform the settlement process, the processor 51 proceeds to NO in ACT32. As ACT36, the processor 51 refers to the connection state table 71 and obtains the transfer sequence N associated with its own terminal ID. Then, as ACT37, the processor 51 checks whether the transfer sequence N is the last bit in the record of transfer sequence N in the connection state table 71.
[0138] When there are two checkout machines 12 belonging to the same group, the transfer sequence N set for the second checkout machine 12-2, i.e., the second position, is the last position. When the transfer sequence N is the last position, the processor 51 proceeds to YES in ACT37. As in ACT38, the processor 51 controls the communication unit 55 to send a busy notification command to the registration machine 11-1. Through this control, a settlement notification command is sent to the registration machine 11-1.
[0139] Furthermore, if there are three or more checkout machines 12 belonging to the same group, the transfer sequence N set for the second checkout machine 12-2 is not the last digit. In the case that the transfer sequence N is not the last digit, the processor 51 proceeds to NO in ACT37. As ACT39, the processor 51 selects another checkout machine 12 whose transfer sequence N is set as transfer sequence N. Then, as ACT40, the processor 51 controls the communication unit 55 to send settlement information to the selected other checkout machine 12 as the destination. Through this control, the checkout machine 12 with a lower transfer sequence N is selected as the sending destination, and the settlement information is sent (forwarded) via network 14.
[0140] As ACT41, processor 51, which controls the transmission (forwarding) of settlement information, checks whether a transmission error has occurred. When an error occurs in the transmission of settlement information, processor 51 proceeds to YES in ACT41. As ACT42, processor 51 controls communication unit 55 to send a busy notification command to registration machine 11-1. Through this control, a busy notification command is sent to registration machine 11-1.
[0141] At this point, processor 51 has completed the fifth information processing step.
[0142] Here, the processor 51 of the second checkout machine 12-2 performs the function of a settlement unit 511 through the processing of ACT34. Furthermore, the processor 51 of the second checkout machine 12-2 performs the function of a transfer unit through the processing of ACT36 to ACT40.
[0143] Thus, from the description of the first function, it is clear that when the registration machine 11-1 uses the first checkout machine 12-1 as the destination for sending settlement information, that is, when the checkout machine status flag 81 is "0", the settlement information created by the registration machine 11-1 is sent to the first checkout machine 12-1. At this time, when the first checkout machine 12-1 is in a state capable of performing settlement processing, a settlement notification instruction is sent from the first checkout machine 12-1 to the registration machine 11-1. Therefore, the staff member 21 of the registration machine 11-1 can instruct the customer 22 to check out through the first checkout machine 12-1. The customer 22 moves to the location of the first checkout machine 12-1 and performs the self-service checkout operation. After accepting this operation, the first checkout machine 12-1 executes the settlement processing.
[0144] On the other hand, when the first checkout machine 12-1 is unable to process transactions, the transaction information is transferred from the first checkout machine 12-1 to the second checkout machine 12-2. At this time, when the second checkout machine 12-2 is able to process transactions, a transaction notification instruction is sent from the second checkout machine 12-2 to the registration machine 11-1. Thus, the clerk 21 at the registration machine 11-1 can instruct the customer 22 to complete the transaction through the second checkout machine 12-2. The customer 22 moves to the location of the second checkout machine 12-2 and performs the transaction themselves. After accepting this operation, the second checkout machine 12-2 executes the transaction.
[0145] Thus, if at least one of the first checkout machine 12-1 and the second checkout machine 12-2 is in a state capable of performing settlement processing, the transaction processing system 100 is able to settle transactions with customers 22 who have registered their purchase data through the registration machine 11-1.
[0146] However, even though settlement information is sent (forwarded) from the first checkout machine 12-1 to the second checkout machine 12-2, if the second checkout machine 12-2 is in a state where it cannot perform settlement processing, a busy notification instruction is sent from the second checkout machine 12-2 to the registration machine 11-1. Furthermore, if an error occurs when sending settlement information to the second checkout machine 12-2 due to a communication anomaly between the first checkout machine 12-1 and the second checkout machine 12-2, a busy notification instruction is sent from the first checkout machine 12-1 to the registration machine 11-1. Upon receiving the busy notification instruction, the registration machine 11-1 again sends the settlement information to the first checkout machine 12-1. Therefore, at least in the first checkout machine 12-1, the transaction processing system 100 is able to settle the transaction with customer 22 by, for example, ending the settlement with the previous customer and becoming able to perform settlement processing.
[0147] However, if the settlement information cannot be sent from the register 11-1 to the first checkout machine 12-1 because the first checkout machine 12-1 is closed, for example, even if the second checkout machine 12-2 is operating normally, the settlement information will not be sent (forwarded) to the second checkout machine 12-2. Therefore, the transaction processing system 100 cannot settle the transaction with customer 22.
[0148] Therefore, the second function of the transaction processing system 100 to eliminate such problems will be described next. This second function relates to the functions of the status confirmation unit 313, change unit 314, and recovery unit 315 in the registration machine 11-1. In the first checkout machine 12-1 and the second checkout machine 12-2, it relates to the functions of the confirmation notification unit 512 and the change notification unit 513. The function of the status confirmation unit 313 is based on second information processing. The functions of the change unit 314 and recovery unit 315 are based on third information processing. The function of the confirmation notification unit 512 is based on sixth information processing. The function of the change notification unit 513 is based on seventh information processing.
[0149] Figure 10 This is a flowchart illustrating the sixth information processing steps performed by the processor 51 of the first checkout machine 12-1 and the second checkout machine 12-2 according to the settlement procedure. As ACT 51, the processor 51 determines whether it is time for a checkout machine confirmation notification. After starting in checkout machine mode, the processor 51 starts a watch timer (not shown). Then, whenever the watch timer counts to a set value, the processor 51 advances to YES in ACT 51. As ACT 52, the processor 51 controls the communication unit 55 to send a confirmation start notification command to the registration machine 11-1. Through this control, a confirmation start notification command is sent to the registration machine 11-1.
[0150] At this point, processor 51 has completed the sixth information processing step.
[0151] Thus, the first checkout machine 12-1 and the second checkout machine 12-2 periodically send confirmation start notification commands to the same group of registration machines 11-1 at time intervals based on the set value of the watchdog timer. Furthermore, the set value of the watchdog timer is arbitrary; for example, an appropriate value can be set by the system administrator.
[0152] Here, the processors 51 of the first checkout machine 12-1 and the second checkout machine 12-2 perform the function of the confirmation notification unit 512 through the processing of ACT51 and ACT52.
[0153] Figure 11This is a flowchart illustrating the steps of the second information processing performed by the processor 31 of the registration machine 11-1 according to the registration procedure. As ACT 61, the processor 31 waits to receive a confirmation start notification instruction. When the processor 31 receives the confirmation start notification instruction via the communication unit 35, it proceeds to YES in ACT 61. As ACT 62, the processor 31 refers to the connection status table 71 to select the terminal ID whose transfer sequence bit N is set to the first position. As ACT 63, the processor 31 controls the communication unit 35 to send a status confirmation instruction to the checkout machine 12 identified by the selected terminal ID, that is, the first checkout machine 12-1. Through this control, the status confirmation instruction is sent to the first checkout machine 12-1.
[0154] As ACT64, processor 31, which controls the transmission of status confirmation commands, checks whether a transmission error has occurred. For example, if the first checkout machine 12-1 is powered off, an error may occur in transmitting the status confirmation command. When an error occurs in transmitting the status confirmation command, processor 31 proceeds to YES in ACT64 and transitions to processing in ACT67. The processing after ACT67 will be described later.
[0155] Upon receiving a status confirmation command, the processor 51 of the first checkout machine 12-1 collects the information required for status confirmation, known as checkout machine information. Then, the processor 51 controls the communication unit 55 to send a confirmation response command, including the checkout machine information, to the register 11-1. This control sends the confirmation response command to the register 11-1. The confirmation response command includes the checkout machine information. This checkout machine information includes, for example, information identifying whether the first checkout machine 12-1 is in checkout mode or training mode, information identifying whether an error has occurred in the printer 59, and information identifying whether an error has occurred in the change dispenser connected to the change dispenser interface 56. However, the checkout machine information is not limited to the information described above.
[0156] If the transmission of the status confirmation instruction proceeds without error, processor 31 advances to YES in ACT 64. In ACT 65, processor 31 waits to receive a confirmation response instruction from the first checkout machine 12-1. When processor 31 receives the confirmation response instruction via communication unit 35, it advances to YES in ACT 65. In ACT 66, processor 31 stores the checkout machine information contained in the confirmation response instruction in the temporary memory of main memory 32. Afterward, processor 31 advances to ACT 67.
[0157] Thus, when an error occurs in sending the status confirmation instruction, or when checkout machine information for the response instruction to the status confirmation instruction is stored in temporary memory, the processor 31 transitions to the processing of ACT67.
[0158] In ACT67, processor 31 acquires the checkout machine status flag 81. Then, in ACT68, processor 31 controls communication unit 35 to send a confirmation end notification command to the source of the confirmation start notification command. Through this control, if the source of the confirmation start notification command is the first checkout machine 12-1, the confirmation end notification command is sent to the first checkout machine 12-1. If the source of the confirmation start notification command is the second checkout machine 12-2, the confirmation end notification command is sent to the second checkout machine 12-2. The confirmation end notification command includes the checkout machine status flag 81 acquired in the processing of ACT67. Furthermore, in ACT66, if checkout machine information is stored in temporary memory, this checkout machine information is also included in the confirmation end notification command. Then, the temporary memory is cleared.
[0159] At this point, processor 31 finishes the second information processing.
[0160] Thus, each time the register 11-1 receives a confirmation start notification instruction periodically sent from either the first checkout machine 12-1 or the second checkout machine 12-2 in the same group, it retrieves the checkout machine information of the first checkout machine 12-1, which is set to be the first in the forwarding sequence. Then, the register 11-1 sends a confirmation end notification instruction, including the retrieved checkout machine information and the checkout machine status flag 81 at the current time, to either the first checkout machine 12-1 or the second checkout machine 12-2, which is the source of the confirmation start notification instruction. Additionally, if checkout machine information cannot be retrieved from the first checkout machine 12-1, a confirmation end notification instruction including the checkout machine status flag 81 is sent. Furthermore, in addition to the checkout machine status flag 81, information indicating that checkout machine information cannot be retrieved may also be included.
[0161] Here, the processor 31 of the registration machine 11-1 performs the function of the status confirmation unit 313 by executing the processes ACT62 to ACT68.
[0162] Figure 12 This is a flowchart illustrating the seventh information processing steps performed by the processor 51 of the first checkout machine 12-1 and the second checkout machine 12-2 according to the settlement procedure. As ACT 71, the processor 51 waits to receive a confirmation end notification instruction. When the processor 51 receives the confirmation end notification instruction via the communication unit 55, it proceeds to YES in ACT 71. As ACT 72, the processor 51 refers to the connection status table 71 to obtain the transfer sequence bit N associated with its own device's terminal ID.
[0163] In ACT73, processor 51 checks if the transfer sequence N is the first bit. If the transfer sequence N is the first bit, i.e., if the first checkout machine 12-1 is the first checkout machine, processor 51 proceeds to YES in ACT73. In ACT74, processor 51 checks the checkout machine status flag 81 contained in the end notification instruction. If the checkout machine status flag 81 is "0", i.e., if checkout machine 11-1 has designated the first checkout machine 12-1 as the destination for the settlement information, processor 51 proceeds to NO in ACT74 and ends the seventh information processing.
[0164] When the checkout machine status flag 81 is "1", that is, when the registration machine 11-1 does not send the settlement information to the first checkout machine 12-1, the processor 51 proceeds to YES in ACT74. In ACT75, the processor 51 controls the communication unit 55 to send a main declaration command to the registration machine 11-1. Through this control, the main declaration command is sent to the registration machine 11-1. The processor 51, which controls the sending of the main declaration command, terminates the seventh information processing.
[0165] On the other hand, if the transfer sequence N is not the first position, that is, if it is the second checkout machine 12-2, the processor 51 proceeds to NO in ACT 73. As in ACT 76, the processor 51 investigates and confirms the checkout machine status flag 81 contained in the end notification instruction. If the checkout machine status flag 81 is "1", that is, if the register 11-1 did not send the first checkout machine 12-1 as the destination for the settlement information, that is, if the second checkout machine 12-2 was sent as the destination, the processor 51 proceeds to YES in ACT 76 and ends the seventh information processing.
[0166] When the checkout machine status flag 81 is "0", that is, when the registration machine 11-1 sends the settlement information to the first checkout machine 12-1, the processor 51 proceeds to NO in ACT 75. As in ACT 77, the processor 51 checks whether the checkout machine information of the first checkout machine 12-1 is included in the confirmation end notification instruction. If the checkout machine information is not included, the processor 51 proceeds to NO in ACT 77 and transitions to the processing of ACT 75 described above. That is, the processor 51 controls the communication unit 55 to send the main declaration instruction to the registration machine 11-1 and ends the seventh information processing.
[0167] If the notification confirmation instruction contains checkout machine information, processor 51 proceeds to YES in ACT 77. In ACT 78, processor 51 analyzes the checkout machine information. Then, processor 51 determines whether the first checkout machine 12-1 is in a checkout-ready state.
[0168] As described above, the checkout machine information includes, for example, information identifying whether the first checkout machine 12-1 is in checkout machine mode or training mode, information identifying whether an error has occurred in printer 59, and information identifying whether an error has occurred in the change dispenser connected to the change dispenser interface 56. If the first checkout machine 12-1 is in checkout machine mode and no errors have occurred in printer 59 or the change dispenser, the processor 51 determines that the first checkout machine 12-1 can perform checkout. If the first checkout machine 12-1 is in training mode, or if an error has occurred in printer 59 or the change dispenser, the processor 51 determines that the first checkout machine 12-1 cannot perform checkout.
[0169] When the processor 51 determines that the first checkout machine 12-1 is capable of processing checkout, it advances to YES in ACT78 and ends the seventh information processing.
[0170] If the processor 51 determines that the first checkout machine 12-1 cannot perform checkout, it proceeds to NO in ACT78 and executes the processing described in ACT75 above. That is, the processor 51 controls the communication unit 55 to send the main declaration instruction to the registration machine 11-1 and ends the seventh information processing.
[0171] Thus, when the checkout machine status flag 81 included in the confirmation end notification instruction is "1", the first checkout machine 12-1, with the first transfer sequence bit, sends a master declaration instruction to the register machine 11-1. When the checkout machine status flag 81 is "1", the destination for the settlement information is not set to the first checkout machine 12-1 in the register machine 11-1. This event may occur if the first checkout machine 12-1 is powered off. Subsequently, when the first checkout machine 12-1 is restored, it sends a confirmation start notification instruction to the register machine 11-1 again. Then, the confirmation start notification instruction, which is a response instruction to this confirmation start notification instruction, includes "1" as the checkout machine status flag 81. Therefore, the first checkout machine 12-1 sends a master declaration instruction to the register machine 11-1. That is, in the first checkout machine 12-1, when the checkout machine status flag 81 included in the confirmation end notification instruction is "1", the destination change condition is met.
[0172] On the other hand, if the checkout machine status flag 81 included in the confirmation end notification instruction is "1", that is, if the destination of the settlement information in the registration machine 11-1 is changed to the second checkout machine 12-2, the second checkout machine 12-2 with the transfer sequence number being the second, does not send the main declaration instruction to the registration machine 11-1.
[0173] Correspondingly, when the checkout machine status flag 81 is "0", a master declaration instruction is sent to the registration machine 11-1 if the following destination change conditions are met.
[0174] The first condition is that the confirmation end notification instruction does not include checkout machine information. Confirmation that the confirmation end notification instruction does not include checkout machine information means that the first checkout machine 12-1 has been shut down. Therefore, the second checkout machine 12-2 sends a master declaration instruction to the register 11-1.
[0175] The second condition is that, based on the analysis of the checkout machine information included in the confirmation end notification instruction, the first checkout machine 12-1 is identified as being unable to perform checkout. In this case, the second checkout machine 12-2 sends a master declaration instruction to the register 11-1.
[0176] Here, the processors 31 of the first checkout machine 12-1 and the second checkout machine 12-2 perform the function of the change notification unit 513 by executing the processing of ACT75. Furthermore, to distinguish between the change notification unit 513 of the first checkout machine 12-1 and the change notification unit 513 of the second checkout machine 12-2, the change notification unit 513 of the second checkout machine 12-2 can be referred to as the first change notification unit 513, and the change notification unit 513 of the first checkout machine 12-1 can be referred to as the second change notification unit 513.
[0177] Figure 13 This is a flowchart illustrating the steps of the third information processing performed by the processor 31 of the registration machine 11-1 according to the registration procedure. As ACT81, the processor 31 waits to receive a master declaration instruction. When the processor 31 receives the master declaration instruction via the communication unit 35, it proceeds to YES in ACT81. As ACT82, the processor 31 checks whether the registration machine 11-1 is idle. Idle means that the processor 31 is not performing the first or second information processing, etc. If the registration machine 11-1 is not idle, the processor 31 proceeds to NO in ACT82 and terminates the third information processing.
[0178] If a master declaration instruction is received while the checkout machine 11-1 is idle, the processor 31 proceeds to YES in ACT82. In ACT83, the processor 31 investigates the checkout machine status flag 81.
[0179] When the checkout machine status flag 81 is "0", processor 31 proceeds to YES in ACT 83. In ACT 84, processor 31 changes the checkout machine status flag 81 from "0" to "1". When the checkout machine status flag 81 is "1", processor 31 proceeds to NO in ACT 83. In ACT 85, processor 31 changes the checkout machine status flag 81 from "1" to "0". At this point, processor 31 ends the third information processing.
[0180] Thus, when the checkout machine status flag 81 of the registration machine 11-1 receives the master declaration instruction when it is "0", its checkout machine status flag 81 changes from "0" to "1". When the checkout machine status flag 81 is "0", the second checkout machine 12-2 sends the master declaration instruction. Then, when the checkout machine status flag 81 changes from "0" to "1", the processor 31 of the registration machine 11-1 advances to NO in ACT9 of the first information processing and executes the processing of ACT11. That is, the processor 31 selects the terminal ID of the second checkout machine 12-2 whose transfer sequence N is set to the second bit from the connection status table 71. Then, the processor 31 sends the settlement information with the second checkout machine 12-2 specified by the terminal ID as the sending destination.
[0181] Thus, when a master declaration instruction is sent from the second checkout machine 12-2, the destination of the settlement information is automatically changed from the first checkout machine 12-1 to the second checkout machine 12-2. The second checkout machine 12-2 sends the master declaration instruction when either the first or second condition described above is met. Therefore, in the transaction processing system 100, when the first checkout machine 12-1 is closed or in a state where checkout is not possible, the destination of the settlement information is automatically changed from the first checkout machine 12-1 to the second checkout machine 12-2. Therefore, even if the first checkout machine 12-1 is closed, the customer 22's settlement processing will not be delayed.
[0182] Furthermore, when the checkout machine status flag 81 is "1", the register 11-1 changes the checkout machine status flag 81 from "1" to "0" upon receiving the master declaration instruction. When the checkout machine status flag 81 is "1", the master declaration instruction is sent by the first checkout machine 12-1. Then, when the checkout machine status flag 81 changes from "1" to "0", the processor 31 of the register 11-1 proceeds to YES in ACT9 of the first information processing and executes the processing in ACT10. That is, the processor 31 selects the terminal ID of the first checkout machine 12-1 whose transfer sequence bit N is set to the first position from the connection status table 71. Then, the processor 31 sends the settlement information with the first checkout machine 12-1 specified by the terminal ID as the sending destination.
[0183] Thus, when a master declaration instruction is sent from the first checkout machine 12-1, the destination of the settlement information is automatically changed from the second checkout machine 12-2 to the first checkout machine 12-1. The first checkout machine 12-1 sends the master declaration instruction when it is restored after being shut down as described above. Therefore, when the first checkout machine 12-1 is restored from the shut-down state, the transaction processing system 100 can quickly return the destination of the settlement information to the first checkout machine 12-1.
[0184] Here, the processor 31 of the registration machine 11-1 performs the function of the change unit 314 by executing the processing of ACT84. Furthermore, the same processor 31 performs the function of the recovery unit 315 by executing the processing of ACT85.
[0185] Next, the timing of the instructions received between the registration machine 11-1 and the first checkout machine 12-1 and the second checkout machine 12-2 in the second function described above will be explained.
[0186] Figure 14 This is a timing diagram illustrating a scenario where a printer error occurs, for example, in the first checkout machine (checkout machine 1) 12-1. Initially, if no printer error occurs, the first checkout machine 12-1 sends a confirmation start notification instruction (Pa) to the register 11-1. Upon receiving this confirmation start notification instruction (Pa), the register 11-1 sends a status confirmation instruction (Pb) to the first checkout machine 12-1. When it receives a confirmation response instruction (Pc) from the first checkout machine 12-1, it sends a confirmation end instruction (Pd) to the first checkout machine 12-1, including checkout machine information and the checkout machine status flag 81. At this time, since the checkout machine status flag 81 is "0", the first checkout machine 12-1 does not send a main declaration instruction to the register 11-1.
[0187] On the other hand, the second checkout machine (checkout machine 2) 12-2 sends a confirmation start notification instruction (Qa) to the register machine 11-1. Upon receiving the confirmation start notification instruction (Qa), the register machine 11-1 sends a status confirmation instruction (Qb) to the first checkout machine 12-1. When it receives a confirmation response instruction (Qc) from the first checkout machine 12-1, it sends a confirmation end notification instruction (Qdx) containing checkout machine information and checkout machine status flag 81 to the second checkout machine 12-2. At this time, the checkout machine status flag 81 is "0", and because the checkout machine information does not meet the destination change condition, the second checkout machine 12-2 does not send a main declaration instruction to the register machine 11-1.
[0188] At this point, settlement information is sent from checkout machine 11-1 to the first checkout machine 12-1. Then, if the first checkout machine 12-1 is in a settlement-ready state, the settlement process is executed through it. If the first checkout machine 12-1 is, for example, busy, the settlement information is forwarded from the first checkout machine 12-1 to the second checkout machine 12-2. Then, the settlement process is executed through the second checkout machine 12-2.
[0189] Subsequently, assuming a printer error occurs at the first checkout machine 12-1, the checkout machine information included in the confirmation end notification instruction (Qdy) sent from register 11-1 to the second checkout machine 12-2 meets the destination change condition. Therefore, the second checkout machine 12-2 sends a master declaration instruction (Qe) to register 11-1. As a result, the destination of the settlement information changes from the first checkout machine 12-1 to the second checkout machine 12-2. The settlement process is then performed via the second checkout machine 12-2.
[0190] Figure 15 This is the timing diagram when the first checkout machine 12-1 is closed. Since the first checkout machine 12-1 is closed, no confirmation start notification instruction (Pa) is sent. Therefore, the granting and receiving of status confirmation instructions (Pb), confirmation response instructions (Pc), and confirmation end notification instructions (Pd) executed between the register 11-1 and the first checkout machine 12-1 based on the confirmation start notification instruction (Pa) are also not performed.
[0191] On the other hand, a confirmation start notification instruction (Qa) is sent from the second checkout machine 12-2. Upon receiving this confirmation start notification instruction (Qa), the register machine 11-1 sends a status confirmation instruction (Qb) to the first checkout machine 12-1. However, an error occurs in sending the status confirmation instruction (Qb), and the confirmation response instruction (Qc) cannot be received. Therefore, the confirmation end notification instruction (Qdz) sent from the register machine 11-1 to the second checkout machine 12-2 does not include checkout machine information, thus satisfying the destination change condition. Therefore, the second checkout machine 12-2 sends a master declaration instruction (Qe) to the register machine 11-1. As a result, settlement information is subsequently sent from the register machine 11-1 to the second checkout machine 12-2. Then, settlement processing is performed by the second checkout machine 12-2.
[0192] Figure 16 This is a timing diagram showing the situation after the first checkout machine 12-1 recovers from shutdown. Before the first checkout machine 12-1 recovers, the checkout machine status flag 81 included in the confirmation end notification instruction (Qdz) sent from the register 11-1 to the second checkout machine 12-2 is "1". Therefore, the second checkout machine 12-2 does not send the master declaration instruction (Qe).
[0193] When the first checkout machine 12-1 resumes operation, it restarts sending the confirmation start notification instruction (Pa). Upon receiving the confirmation start notification instruction (Pa), the register 11-1 sends a status confirmation instruction (Pb) to the first checkout machine 12-1. When it receives a confirmation response instruction (Pc) from the first checkout machine 12-1, it sends an instruction (Pd) to the first checkout machine 12-1 including checkout machine information and the checkout machine status flag 81. At this time, since the checkout machine status flag 81 is "1", the first checkout machine 12-1 sends a master declaration instruction (Pe) to the register 11-1. As a result, the destination of the settlement information is changed from the second checkout machine 12-2 back to the first checkout machine 12-1.
[0194] Subsequently, in response to the confirmation start notification instruction (Qa) from the second checkout machine 12-2, the confirmation end notification instruction (Qdx) sent from the register 11-1 to the second checkout machine 12-2 contains checkout machine information indicating a normal status. Furthermore, the checkout machine status flag 81 is also changed to "0". Therefore, the second checkout machine 12-2 does not send a master declaration instruction (Qe).
[0195] In addition, Figures 14 to 16 In the illustrated timing example, checkout machines 12-1 and 12-2 send a confirmation start notification instruction (Pa, Qa) after sending a confirmation end notification instruction (Pd, Qd) from register machine 11-1. However, in practice, register machine 11-1 may receive a confirmation start notification instruction (Pa, Qa) from one checkout machine before sending the confirmation end notification instruction (Pd, Qd) to another checkout machine. In this case, after register machine 11-1 sends the confirmation end notification instruction (Pd, Qd) to one checkout machine, it performs processing based on the confirmation start notification instruction (Pa, Qa) from the other checkout machine; that is, it performs the sending of a status confirmation instruction, the receiving of a confirmation response instruction, and the sending of a confirmation end notification instruction.
[0196] As detailed above, according to the transaction processing system 100, even if the first checkout machine 12-1 is closed and settlement information cannot be sent from the register 11 to the first checkout machine 12-1, the destination of the settlement information can be immediately changed to the second checkout machine 12-2. Furthermore, the same applies if a malfunction occurs in the first checkout machine 12-1, such as a printer error or a change machine error, preventing settlement. Therefore, even if an anomaly occurs in the first checkout machine 12-1, which is the destination of the settlement information, transaction settlement delays can be prevented. As a result, a transaction processing system with high processing efficiency can be provided.
[0197] Furthermore, if the first checkout machine 12-1 recovers, the destination of the settlement information can be quickly returned to the first checkout machine 12-1. Typically, in semi-self-service transaction processing systems, there is a tendency to use the checkout machine with high customer mobility as the first checkout machine 12-1. Therefore, the impact of an anomaly in the first checkout machine 12-1 can be minimized.
[0198] The registration unit 11 sets the checkout machine status flag 81, which is used to identify the checkout machine as the destination of the settlement information, as a one-bit data value. Therefore, it does not affect the memory capacity of the registration unit 11.
[0199] Furthermore, in this embodiment, the processor 31 of the registration machine 11 executes the second and third information processing according to the registration program. The program used to execute the second and third information processing is not limited to the registration program. The processor 31 can execute the second and third information processing according to a program different from the registration program. Similarly, the program used by the processor 51 of the checkout machine 12 to execute the fifth to seventh information processing is not limited to the settlement program. The processor 51 can execute the fifth to seventh information processing according to other programs different from the settlement program.
[0200] The checkout machine 12 that sends the confirmation start notification instruction can be only the checkout machine 12 in the register 11 that is not set as the destination for settlement information. For example, as in this embodiment, when the first checkout machine 12-1 is the destination, only the second checkout machine 12-2 periodically sends the confirmation start notification instruction. Then, when the confirmation end notification instruction in response to the confirmation start notification instruction meets the destination change condition, the second checkout machine 12-2 sends a main declaration instruction to the register 11-1. Then, the second checkout machine 12-2 stops sending the confirmation start notification instruction. Thereafter, when the first checkout machine 12-1 resumes, because the destination returns to the first checkout machine 12-1, the second checkout machine 12-2 restarts sending the confirmation start notification instruction. Even with this configuration, the same effect as in this embodiment can be obtained.
[0201] (Second Embodiment)
[0202] Figure 17 This is a conceptual diagram of the transaction processing system 200 according to the second embodiment. The transaction processing system 200 includes two registration machines 11 (11-1, 11-2) and three checkout machines 12 (12-1, 12-2, 12-3). Each registration machine 11 and each checkout machine 12 is connected via a network 14. In addition, although not shown, similar to the first embodiment, a server 13 is also connected to the network 14.
[0203] In transaction processing system 200, one party's registration machine 11-1 and two checkout machines 12-1 and 12-2 form a group. Furthermore, in transaction processing system 200, another party's registration machine 11-2 and two checkout machines 12-2 and 12-3 form a group. That is, one party's registration machine 11-1 and the other party's registration machine 11-2 share checkout machine 12-2. Therefore, similar to the first embodiment, the second embodiment is also a transaction processing system that groups one registration machine and two checkout machines.
[0204] The hardware configuration of each registration machine 11-1, 11-2 and each checkout machine 12-1, 12-2, 12-3 is the same as that in the first embodiment. Therefore, the second embodiment also directly uses... Figure 2 and Figure 3 The description is omitted. Furthermore, the fact that each registration machine 11-1 and 11-2 has a checkout machine status mark 81 is also the same as in the first embodiment. In the following description, the checkout machine status mark of registration machine 11-1 will be referred to as checkout machine status mark 811, and the checkout machine status mark of registration machine 11-2 will be referred to as checkout machine status mark 812.
[0205] Figure 18 This is a schematic diagram showing the main data structure of the connection state table 72 for each register 11-1, 11-2 and each checkout 12-1, 12-2, 12-3. The connection state table 72 is stored, for example, in auxiliary storage devices 33, 53. Each register 11-1, 11-2 and each checkout 12-1, 12-2, 12-3 in the two groups of checkout 12-2 have the same connection state table 72.
[0206] like Figure 18 As shown, connection status table 72 records data records 721, 722, 723, 724, 725, and 726, each consisting of elements such as terminal ID, group number, checkout machine number, and transfer sequence number N. Data record 721 is for register 11-1. Data record 722 is for checkout 12-1. Data record 723 is for checkout 12-2. Data record 724 is for register 11-2. Data record 725 is for checkout 12-3. Data record 726 is for checkout 12-2. Thus, in connection status table 72, checkout 12-2, which is shared by both groups, is recorded as data record 723 and data record 726, respectively corresponding to each group.
[0207] The terminal ID is a unique identification information set for each terminal of each registration machine 11-1, 11-2 and each checkout machine 12-1, 12-2 and 12-3.
[0208] The group number is a number assigned to each group to identify a group consisting of one registration machine 11 and two checkout machines 12. Therefore, the group numbers for data records 721, 722, and 723 corresponding to registration machines 11-1, checkout machines 12-1, and checkout machines 12-2 constituting one group are shared. The group numbers for data records 724, 725, and 726 corresponding to registration machines 11-2, checkout machines 12-3, and checkout machines 12-2 constituting the other group are also shared.
[0209] The checkout machine number is a consecutive number starting from "1" assigned to each checkout machine to identify the two checkout machines 12-1 and 12-2 that make up the same group. Additionally, the registration machine 11-1, which also makes up the same group, is assigned the number "0" as its checkout machine number.
[0210] The forwarding sequence N is a consecutive number starting from "1" representing the forwarding sequence N from the registration machine 11 in the same group to the two checkout machines 12 for sending settlement information. In this embodiment, for the group to which one registration machine 11-1 belongs, the forwarding sequence N of checkout machine 12-1 with checkout machine number "1" is the first position, and the forwarding sequence N of checkout machine 12-2 with checkout machine number "2" is the second position. For the group to which the other registration machine 11-2 belongs, the forwarding sequence N of checkout machine 12-3 with checkout machine number "3" is the first position, and the forwarding sequence N of checkout machine 12-2 with checkout machine number "2" is the second position. Hereinafter, for ease of explanation, one registration machine 11-1 will be referred to as the first registration machine 11-1, and the other registration machine 11-2 will be referred to as the second registration machine 11-2. Furthermore, checkout machine 12-1 with checkout machine number "1" is referred to as the first checkout machine 12-1, and checkout machine 12-2 with checkout machine number "2" is referred to as the second checkout machine 12-2. Checkout machine 12-3 with checkout machine number "3" is referred to as the third checkout machine 12-3. Because the first checkout machine 12-1 and the third checkout machine 12-3 have the first transfer sequence bit, they can be referred to as the master machine or main machine, etc. Because the second checkout machine 12-2 has the second transfer sequence bit, it can be referred to as the slave machine or satellite machine. Additionally, the transfer sequence bit of the second checkout machine 12-2, which is shared by both groups, can be set as the first bit in one group and the second bit in the other group.
[0211] The transaction processing system 200 has essentially the same functions as the transaction processing system 100 in the first embodiment. Therefore, the functions described in the first embodiment are... Figures 6 to 13 The flowchart is also applied as is in the second embodiment, and its description is omitted.
[0212] However, in the second embodiment, the second checkout machine 12-2 is shared by two groups. Therefore, in the connection status table 72, as data records related to the second checkout machine 12-2, there are data records 723 corresponding to group number "1" and data records 726 corresponding to group number "2". As a result, the second checkout machine 12-2 not only periodically sends a confirmation start notification instruction to the first registration machine 11-1 belonging to group number "1", but also periodically sends a confirmation start notification instruction to the second registration machine 11-2 belonging to group number "2".
[0213] Figure 19 This is a timing diagram showing the instructions exchanged between the first registering machine (registration machine 1) 11-1 and the second registering machine (registration machine 2) 11-2 and the first checkout machine (checkout machine 1) 12-1, the second checkout machine (checkout machine) 12-2, and the third checkout machine (checkout machine 3) 12-3. For example... Figure 19 As shown, the second checkout machine 12-2 sends a confirmation start notification instruction (Qa) to the first register machine 11-1, which belongs to group number "1". Upon receiving the confirmation start notification instruction (Qa), the first register machine 11-1 sends a status confirmation instruction (Qb) to the first checkout machine 12-1. When it receives a confirmation response instruction (Qc) from the first checkout machine 12-1, it sends a confirmation end notification instruction (Qd) to the second checkout machine 12-2, including checkout machine information and checkout machine status flag 811. At this time, if the destination change condition is not met, the second checkout machine 12-2 does not send a main declaration instruction (Qe) to the first register machine 11-1. Conversely, if the checkout machine status flag 811 is "0", and the checkout machine information is not included in the confirmation end notification instruction (Qd), or if an error is determined to have occurred in the first checkout machine 12-1 based on the checkout machine information, and the destination change condition is met, the second checkout machine 12-2 sends a main declaration instruction (Qe) to the first register machine 11-1.
[0214] On the other hand, the second checkout machine 12-2 also sends a confirmation start notification instruction (Ra) to the second register machine 11-2, which belongs to group number "2". Upon receiving the confirmation start notification instruction (Ra), the second register machine 11-2 sends a status confirmation instruction (Rb) to the third checkout machine 12-3. When it receives a confirmation response instruction (Rc) from the third checkout machine 12-3, it sends a confirmation end notification instruction (Rd) to the second checkout machine 12-2, including checkout machine information and checkout machine status flag 812. At this time, if the destination change condition is not met, the second checkout machine 12-2 does not send a main declaration instruction (Re) to the second register machine 11-2. Conversely, if the checkout machine status flag 81 is "0" and the checkout machine information is not included in the confirmation end notification instruction (Rd), or if it is determined from the checkout machine information that an error has occurred in the third checkout machine 12-3 and the destination change condition is met, the second checkout machine 12-2 sends a main declaration instruction (Re) to the second register machine 11-2.
[0215] In this second embodiment of the configuration, similar to the first embodiment, even if the first checkout machine 12-1 or the third checkout machine 12-3, which is set as the destination for sending settlement information, malfunctions, settlement delays can be prevented. Furthermore, since the number of checkout machines required for both groups can be reduced, it also has the advantage of lower equipment costs.
[0216] (Third Embodiment)
[0217] In the first and second embodiments, transaction processing systems 100 and 200 consisting of one registration machine 11 and two checkout machines 12 have been described. In the third embodiment, a transaction processing system consisting of one registration machine 11 and three or more checkout machines 12 will be described.
[0218] [The Composition of a Transaction Processing System]
[0219] Figure 20 This is a conceptual diagram of the transaction processing system 300 according to the third embodiment. The transaction processing system 300 includes one registration machine 11 and four checkout machines 12-1, 12-2, 12-3, and 12-4. The registration machine 11 and each of the checkout machines 12-1, 12-2, 12-3, and 12-4 are connected via a network 14. Additionally, although not shown, similar to the first embodiment, a server 13 is also connected to the network 14.
[0220] In the transaction processing system 300, a group is formed by the registration machine 11 and four checkout machines 12-1, 12-2, 12-3, and 12-4. Furthermore, the number of checkout machines 12 can be three or more. Alternatively, for example, a transaction processing system can be formed by combining groups of three checkout machines 12 with groups of four checkout machines 12.
[0221] The hardware structure of the registration machine 11 and each checkout machine 12-1, 12-2, 12-3, and 12-4 is the same as that in the first embodiment. Therefore, the third embodiment also directly uses... Figure 2 and Figure 3 And the explanation is omitted.
[0222] Figure 21 This is a schematic diagram showing the main data structure of the connection state table 73, which is possessed by the registration machine 11 and each checkout machine 12-1, 12-2, 12-3, and 12-4 constituting a group. The connection state table 73 is stored, for example, in auxiliary storage devices 33 and 53.
[0223] like Figure 21 As shown, connection status table 73 records data records 731, 732, 733, 734, and 735, each consisting of elements such as terminal ID, group number, checkout machine number, and transfer sequence number N. Data record 731 is for checkout machine 11. Data record 732 is for checkout machine 12-1. Data record 733 is for checkout machine 12-2. Data record 734 is for checkout machine 12-3. Data record 735 is for checkout machine 12-4.
[0224] The terminal ID is a unique identification information set for each terminal of the registration machine 11-1 and the checkout machines 12-1, 12-2, 12-3, and 12-4.
[0225] The group number is a number assigned to each group to identify the group consisting of one registration machine 11 and four checkout machines 12-1, 12-2, 12-3, and 12-4. Therefore, the group number in the connection status table 73 corresponding to a group is shared. The group number can be consecutive or non-consecutive. At a minimum, it only needs to be unique and not duplicate the group number of other groups.
[0226] The checkout machine number is a consecutive number starting from "1" assigned to each checkout machine, used to identify the four checkout machines 12-1, 12-2, 12-3, and 12-4 that constitute the same group. Additionally, the registration machine 11 that constitutes the same group is assigned "0" as its checkout machine number.
[0227] The forwarding sequence number N is a consecutive number starting from "1", representing the forwarding sequence number N for sending settlement information from the registration machine 11, which constitutes the same group, to the four checkout machines 12-1, 12-2, 12-3, and 12-4. In this embodiment, the forwarding sequence number N for checkout machine 12-1 (checkout machine number "1") is the first position, the forwarding sequence number N for checkout machine 12-2 (checkout machine number "2") is the second position, the forwarding sequence number N for checkout machine 12-3 (checkout machine number "3") is the third position, and the forwarding sequence number N for checkout machine 12-4 (checkout machine number "4") is the fourth position. For registration machine 11, "0" is set as the forwarding sequence number N.
[0228] For ease of explanation, checkout machine 12-1 with checkout machine number "1" will be referred to as the first checkout machine 12-1, checkout machine 12-2 with checkout machine number "2" will be referred to as the second checkout machine 12-2, checkout machine 12-3 with checkout machine number "3" will be referred to as the third checkout machine 12-3, and checkout machine 12-4 with checkout machine number "4" will be referred to as the fourth checkout machine 12-4. Because the first checkout machine 12-1 is the first in the transfer sequence, it can also be called the master machine or main machine. Because the transfer sequence of any one of the second checkout machines 12-2, the third checkout machine 12-3, and the fourth checkout machine 12-4 is after the second position, they can also be called slave machines or satellite machines.
[0229] Figure 22 This is a schematic diagram showing the data structure of the checkout machine status table 82 possessed by the registration machine 11. The checkout machine status table 82 is stored in a volatile memory area, for example, main memory 32. The checkout machine status table 82 is a data table used to specify which checkout machine 12-1, 12-2, 12-3, 12-4, whose transfer sequence N is from the first to the fourth position, is set as the destination for sending settlement information.
[0230] The checkout machine status table 82 stores checkout machine status flags for each forwarding sequence N. Each checkout machine status flag is a single bit of data, either "0" or "1". In this embodiment, the checkout machine status flag 81, indicating that it is set as the destination, is set to "1", and the checkout machine status flag 81, indicating that it is not set as the destination, is set to "0". Only one checkout machine is set as the destination. Therefore, in the checkout machine status flags 81 stored in the checkout machine status table 82, the checkout machine status flag 81 corresponding to one of the forwarding sequence Ns is "1", and the checkout machine status flag 81 corresponding to the other forwarding sequence N is "0". By default, the checkout machine status flag 81 with the first forwarding sequence N is "1", and the checkout machine status flag 81 with the second to fourth forwarding sequence Ns is "0". Hereinafter, the checkout machine with the forwarding sequence N set to "1" will be referred to as the destination checkout machine 12-X. Additionally, the checkout machine status flag 81 can be set to "1" if it is set as the destination, and to "0" if it is not set as the destination. The checkout machine status table 82 is an example of a storage unit.
[0231] [Functions of the Transaction Processing System]
[0232] The first function of the transaction processing system 300 is the same as that of the transaction processing system 100 in the first embodiment, except for the processing in ACT8 to ACT11 performed by the processor 31 of the registration machine 11 according to the first information processing. Therefore, the first embodiment described Figure 6 , Figure 8 and Figure 9 The flowchart is also directly applied in the third embodiment, and its description is omitted.
[0233] Figure 23 This is a flowchart illustrating key steps of the processing following ACT7, which is executed by the processor 31 of the registration machine 11 based on the first information processing. Additionally, in conjunction with the steps described in the first embodiment... Figure 7 The shared parts are marked with the same label.
[0234] That is, in Figure 6 In ACT7, after processor 31 creates the settlement information, it proceeds to... Figure 23ACT91. As ACT91, the processor 31 retrieves the checkout machine status table 82 and identifies the transfer sequence number marked as "1" as the checkout machine status. Then, as ACT92, the processor 31 refers to the connection status table 73 to select the destination checkout machine 12-X that is set to the transfer sequence number. Then, as ACT12, the processor 31 controls the communication unit 35 to send the settlement information to the destination checkout machine 12-X. Afterwards, the processor 31 performs the same processing as ACT13 to ACT16 described in the first embodiment.
[0235] Thus, when the registration machine 11 creates settlement information, it selects the destination checkout machine 12-X based on the information in the connection status table 73 and the checkout machine status table 82, and sends the settlement information to the destination checkout machine 12-X.
[0236] Here, processor 31 executes Figure 6 The ACT7 process implements the function of the creation unit 311. Furthermore, the same processor 31 executes... Figure 23 The processing of ACT91, ACT92 and ACT12 in the middle realizes the function of the transmitting unit 312.
[0237] For example, if the first checkout machine 12-1 is the destination checkout machine, the settlement information is sent from the registration machine 11 to the first checkout machine 12-1. At this time, if the first checkout machine 12-1 is ready for settlement, the customer 22 can use the first checkout machine 12-1 to settle the transaction.
[0238] On the other hand, for example, if the first checkout machine 12-1 is busy, the settlement information is sent from the first checkout machine 12-1 to the second checkout machine 12-2. Furthermore, for example, if the second checkout machine 12-2 is also busy, the settlement information is sent from the second checkout machine 12-2 to the third checkout machine 12-3. Therefore, as long as any checkout machine in the same group is available for checkout, customer 22 can settle the transaction.
[0239] However, when the first checkout machine 12-1, which is the destination checkout machine, is closed, the customer 22 will not be able to settle the transaction because the settlement information will not be sent to all checkout machines belonging to the same group. To eliminate this problem, the transaction processing system 300 also has a second function. This second function is also basically the same as that of the transaction processing system 100 in the first embodiment. That is, in order to implement the second function, the processor 31 of the registration machine 11 has the functions of a status confirmation unit 313, a change unit 314, and a recovery unit 315. The processors 51 of the first checkout machine 12-1, the second checkout machine 12-2, the third checkout machine 12-3, and the fourth checkout machine 12-4 have the functions of a confirmation notification unit 512 and a change notification unit 513. The function of the status confirmation unit 313 is based on the function of the second information processing. The functions of the change unit 314 and the recovery unit 315 are based on the function of the third information processing. The function of the confirmation notification unit 512 is based on the function of the sixth information processing. The function of the change notification unit 513 is based on the function of the seventh information processing.
[0240] The sixth information processing steps performed by the processors 51 of the first checkout machine 12-1, the second checkout machine 12-2, the third checkout machine 12-3, and the fourth checkout machine 12-4 are the same as those in the first embodiment. Therefore, the third embodiment also employs... Figure 10 Additionally, in the following text, when referring collectively to the first checkout machine 12-1, the second checkout machine 12-2, the third checkout machine 12-3, and the fourth checkout machine 12-4, they will be referred to as checkout machine 12-K.
[0241] The processor 51 of the checkout machine 12-K controls the communication unit 55 to send a confirmation start notification command to the register 11 as ACT51 each time the checkout machine confirmation notification is due. Through this control, confirmation start notification commands are periodically sent from the checkout machine 12-K to the register 11.
[0242] Here, the processor 51 of the checkout machine 12-K performs the function of a confirmation notification unit 512 through the processing of ACT51 and ACT52.
[0243] Figure 24This is a flowchart illustrating the steps of the second information processing performed by the processor 31 of the registration machine 11. As ACT 101, the processor 31 waits to receive a confirmation start notification instruction. When the processor 31 receives the confirmation start notification instruction via the communication unit 35, it proceeds to YES in ACT 101. As ACT 102, the processor 31 refers to the checkout machine status table 82 to detect the transfer sequence N, where the checkout machine status flag is set to "1". Next, as ACT 103, the processor 31 refers to the connection status table 73 to specify the checkout machine with the transfer sequence N detected in the processing of ACT 102, that is, the terminal ID of the destination checkout machine 12-X.
[0244] As ACT104, processor 31 controls communication unit 35 to send a status confirmation command to the destination checkout machine 12-X. This control sends the status confirmation command to the destination checkout machine 12-X.
[0245] As ACT105, processor 31, which controls the transmission of status confirmation commands, checks whether a transmission error has occurred. For example, if the destination checkout machine 12-X is closed, an error occurs in the transmission of the status confirmation command. When an error occurs in the transmission of the status confirmation command, processor 31 proceeds to YES in ACT105 and transitions to processing in ACT108. Processing after ACT108 will be described later.
[0246] Upon receiving the status confirmation command, the processor 51 of the destination checkout machine 12-X collects the information required for status confirmation, known as checkout machine information. Then, the processor 51 controls the communication unit 55 to send a confirmation response command, including the checkout machine information, to the registration machine 11. This control sends the confirmation response command to the registration machine 11. The confirmation response command includes the checkout machine information. The content of the checkout machine information is the same as in the first embodiment.
[0247] If no error occurs in sending the status confirmation command, processor 31 proceeds to YES in ACT 105. In ACT 106, processor 31 waits to receive a confirmation response command from the destination checkout machine 12-X. After receiving the confirmation response command via communication unit 35, processor 31 proceeds to YES in ACT 106. In ACT 107, processor 31 stores the checkout machine information contained in the confirmation response command in the temporary memory of main memory 32. Then, processor 31 proceeds to ACT 108.
[0248] Thus, when an error occurs in sending the status confirmation instruction or when the checkout machine information of the response instruction to the status confirmation instruction is stored in temporary memory, the processor 31 transitions to ACT108.
[0249] As in ACT108, processor 31 acquires data from checkout machine status table 82. Then, as in ACT109, processor 31 controls communication unit 35 to send a confirmation end notification instruction to checkout machine 12-K, the source of the confirmation start notification instruction. Through this control, if the source of the confirmation start notification instruction is the first checkout machine 12-1, the confirmation end notification instruction is sent to that first checkout machine 12-1. If the source of the confirmation start notification instruction is the second checkout machine 12-2, the confirmation end notification instruction is sent to that second checkout machine 12-2. If the source of the confirmation start notification instruction is the third checkout machine 12-3, the confirmation end notification instruction is sent to that third checkout machine 12-3. If the source of the confirmation start notification instruction is the fourth checkout machine 12-4, the confirmation end notification instruction is sent to that fourth checkout machine 12-4. The confirmation end notification instruction includes data from checkout machine status table 82 acquired during the processing of ACT108. Furthermore, in ACT107, if checkout machine information is stored in temporary memory, that information is also included in the confirmation completion notification instruction. Then, the temporary memory is cleared.
[0250] At this point, processor 31 finishes the second information processing.
[0251] Thus, each time the registration machine 11 receives a confirmation start notification instruction periodically sent from checkout machines 12-K in the same group, it obtains the checkout machine information of the destination checkout machine 12-X. Then, the registration machine 11 sends a confirmation end notification instruction, including the obtained checkout machine information and data from the checkout machine status table 82 at the current time, to the checkout machine 12-K, which is the source of the confirmation start notification instruction. Additionally, if checkout machine information cannot be obtained from the destination checkout machine 12-X, a confirmation end notification instruction containing only the data from the checkout machine status table 82 is sent. Furthermore, in addition to the data in the checkout machine status table 82, information indicating that checkout machine information could not be obtained may also be included.
[0252] Here, the processor 31 of the registration machine 11 performs the function of the status confirmation unit 313 by executing the processes ACT102 to ACT109.
[0253] Figure 25This is a flowchart illustrating the seventh information processing step performed by the processor 51 of the checkout machine 12-K according to the settlement procedure. As ACT 111, the processor 51 waits to receive a confirmation end notification instruction. When the processor 51 receives the confirmation end notification instruction via the communication unit 55, it proceeds to YES in ACT 111. As ACT 112, the processor 51 refers to the connection status table 71 to obtain the transfer sequence bit N associated with its own device's terminal ID. Furthermore, as ACT 113, the processor 51 retrieves data from the checkout machine status table 82 contained in the confirmation end notification instruction and checks the transfer sequence bit M, which is marked as "1" in the checkout machine status.
[0254] In ACT114, processor 51 checks whether the transfer sequence M matches the transfer sequence N. If the transfer sequence M matches the transfer sequence N, that is, if its own device is the destination settlement machine 12-X, processor 51 proceeds to YES in ACT114 and ends the seventh information processing.
[0255] If the transfer sequence M and the transfer sequence N are inconsistent, the processor 51 proceeds to NO in ACT 114. In ACT 115, the processor 51 checks whether the transfer sequence M is greater than the transfer sequence N. If the transfer sequence M is greater than the transfer sequence N, that is, if the checkout machine with the lower transfer sequence than its own device is the destination checkout machine 12-X, the processor 51 proceeds to YES in ACT 115 and transitions to processing in ACT 118. The processing after ACT 118 will be described later.
[0256] If the transfer sequence M is smaller than the transfer sequence N, that is, if the checkout machine with the higher transfer sequence than its own device is the destination checkout machine 12-X, the processor 51 proceeds to NO in ACT 115. In ACT 116, the processor 51 checks whether the checkout machine information for the destination checkout machine 12-X is included in the confirmation end notification instruction. If the checkout machine information is not included, the processor 51 proceeds to NO in ACT 116 and transitions to processing in ACT 118.
[0257] If the notification confirmation instruction contains checkout machine information, the processor 51 proceeds to YES in ACT 116. In ACT 117, the processor 51 analyzes the checkout machine information, and then, as described in the first embodiment as ACT 78, determines whether the destination checkout machine 12-X is in a checkout-ready state. If the destination checkout machine 12-X is in a checkout-ready state, the processor 51 proceeds to YES in ACT 117 and ends the seventh information processing. If the destination checkout machine 12-X is in a checkout-unready state, the processor 51 proceeds to NO in ACT 117 and transitions to ACT 118.
[0258] Thus, if the forwarding sequence M is less than the forwarding sequence N, or if the confirmation of completion notification does not include checkout machine information for the destination checkout machine 12-X, or if the destination checkout machine 12-X is in a state where checkout is not possible, processor 51 transitions to ACT118. As ACT118, processor 51 controls communication unit 55 to send a master declaration instruction to registration machine 11. Through this control, the master declaration instruction is sent to registration machine 11. The master declaration instruction includes the terminal ID of checkout machine 12-K, which is the sending source. Processor 51, controlling the transmission of the master declaration instruction, terminates the seventh information processing.
[0259] That is, if the transfer sequence M of the destination checkout machine 12-X is higher than the transfer sequence N of its own device, the second checkout machine 12-2, the third checkout machine 12-3, or the fourth checkout machine 12-4 checks whether the checkout machine information of the destination checkout machine 12-X is included in the confirmation end notification instruction. If the checkout machine information is not included, the second checkout machine 12-2, the third checkout machine 12-3, or the fourth checkout machine 12-4 sends a master declaration instruction to the registration machine 11. Furthermore, if the checkout machine information is included, but the checkout machine information meets the conditions for changing the destination, the second checkout machine 12-2, the third checkout machine 12-3, or the fourth checkout machine 12-4 also sends a master declaration instruction to the checkout machine 11.
[0260] Here, the processor 51 of the second checkout machine 12-2, the third checkout machine 12-3, or the fourth checkout machine 12-4 performs the function of the change notification unit 513 through the processing of ACT116 to ACT118.
[0261] On the other hand, if the transfer sequence M of the destination checkout machine 12-X is lower than the transfer sequence N of its own device, the first checkout machine 12-1, the second checkout machine 12-2, or the third checkout machine 12-3 sends a master declaration instruction to the registration machine 11.
[0262] Here, the processor 51 of the first checkout machine 12-1, the second checkout machine 12-2, or the third checkout machine 12-3 performs the function of a change notification unit 513 by executing ACT115 and ACT118. Furthermore, the change notification unit 513 of the former can be renamed the first change notification unit 513, and the change notification unit 513 of the latter can be renamed the second change notification unit 513.
[0263] Figure 26 This is a flowchart illustrating the steps of the third information processing performed by the processor 31 of the registration machine 11 according to the registration procedure. As ACT 121, the processor 31 waits to receive a master declaration instruction. When the processor 31 receives the master declaration instruction via the communication unit 35, it proceeds to YES in ACT 121. As ACT 122, the processor 31 checks whether the registration machine 11 is idle. Idle means that the processor 31 is not performing the first information processing, second information processing, etc. If the registration machine 11 is not idle, the processor 31 proceeds to NO in ACT 122 and terminates the third information processing.
[0264] If the register 11 receives a master declaration instruction while it is idle, the processor 31 proceeds to YES in ACT 122. As in ACT 123, the processor 31 sets all checkout machine status flags in the checkout machine status table 82 to "0".
[0265] As in ACT124, processor 31 obtains the terminal ID of checkout machine 12-K that sent the master declaration instruction. Next, as in ACT125, processor 31 refers to connection status table 73 to obtain the transfer sequence bit N of checkout machine 12-K that is set with that terminal ID. Then, as in ACT126, processor 31 sets the checkout machine status flag corresponding to the transfer sequence bit N to "1". At this point, processor 31 ends the third information processing.
[0266] Thus, when the destination checkout machine 12-X is, for example, the registration machine 11, is the first checkout machine 12-1; that is, when the checkout machine status flag at the first position of the transfer sequence is "1", upon receiving the master declaration instruction from the second checkout machine 12-2 at the second position of the transfer sequence, it changes the checkout machine status flag at the first position of the transfer sequence in the checkout machine status table 82 to "0" and changes the checkout machine status flag at the second position of the transfer sequence to "1". As a result, in the registration machine 11, through... Figure 23 The processes ACT91 and ACT92 in the process select the second checkout machine 12-2 as the destination checkout machine 12-X and send the settlement information to the second checkout machine 12-2. Then, if the second checkout machine 12-2 is available for settlement, the customer 22 can use the second checkout machine 12-2 to settle the transaction.
[0267] Furthermore, when the destination checkout machine 12-X is the second checkout machine 12-2, that is, when the checkout machine status flag in the second position of the transfer sequence is "1", when the register 11 receives the master declaration instruction from the third checkout machine 12-3 in the third position of the transfer sequence, it changes the checkout machine status flag in the second position of the transfer sequence in the checkout machine status table 82 to "0" and changes the checkout machine status flag in the third position of the transfer sequence to "1". As a result, in the register 11, through Figure 23 The processing of ACT91 and ACT92 in the process selects the third checkout machine 12-3 as the destination checkout machine 12-X, and the settlement information is sent to the third checkout machine 12-3. Then, if the third checkout machine 12-3 is available for settlement, the customer 22 can use the third checkout machine 12-3 to settle the transaction.
[0268] On the other hand, when the destination checkout machine 12-X is the second checkout machine 12-2, that is, when the checkout machine status flag with the second transfer sequence bit is "1", after receiving the master declaration instruction from the first checkout machine 12-1 with the first transfer sequence bit, the checkout machine status flag with the second transfer sequence bit in the checkout machine status table 82 is changed to "0", and the checkout machine status flag with the first transfer sequence bit is changed to "1". As a result, in the checkout machine 11, through... Figure 23 The processing of ACT91 and ACT92 in the process selects the first checkout machine 12-1 as the destination checkout machine 12-X, and the settlement information is sent to the first checkout machine 12-1. Then, if the first checkout machine 12-1 is available for settlement, the customer 22 can use the first checkout machine 12-1 to settle the transaction.
[0269] Here, the processor 31 of the registration machine 11 performs the functions of the change unit 314 and the restoration unit 315 by executing the processes ACT123 to ACT126.
[0270] Next, the timing of the instructions received between the registration machine 11 and the first checkout machine 12-1, the second checkout machine 12-2, the third checkout machine 12-3, and the fourth checkout machine 12-4 in the second function described above will be explained.
[0271] Figure 27 This is a timing diagram assuming the first checkout machine 12-1, which is the destination checkout machine, is closed. Since the first checkout machine 12-1 is closed, no confirmation start notification instruction (Pa) is sent. Therefore, the transmission and reception of status confirmation instructions (Pb), confirmation response instructions (Pc), and confirmation end notification instructions (Pd) between the register 11 and the first checkout machine 12-1 are not performed based on the confirmation start notification instruction (Pa).
[0272] On the other hand, a confirmation start notification instruction (Qa) is sent from the second checkout machine 12-2. Then, upon receiving the confirmation start notification instruction (Qa), the register 11 sends a status confirmation instruction (Qb) to the first checkout machine 12-1. However, an error occurs in sending the status confirmation instruction (Qb), and the confirmation response instruction (Qc) cannot be received. Therefore, the checkout end notification instruction (Qdz) sent from the register 11 to the second checkout machine 12-2 does not include checkout machine information. Furthermore, the forwarding sequence bit M (=1) of the first checkout machine 12-1, which is the destination checkout machine, is less than the forwarding sequence bit N (=2) of the second checkout machine 12-2. Therefore, since the destination change condition is met, the second checkout machine 12-2 sends a master declaration instruction (Qe) to the register 11. As a result, the second checkout machine 12-2 becomes the destination checkout machine 12-X.
[0273] Subsequently, when the confirmation start notification instruction (Sa) is sent from the third checkout machine 12-3, the register 11 sends a status confirmation instruction (Sb) to the second checkout machine 12-2. Then, when the register 11 receives a confirmation response instruction (Sc) from the second checkout machine 12-2, it sends a confirmation end notification instruction (Sd) containing checkout machine information and data from the checkout machine status table 82 to the third checkout machine 12-3. At this time, the forwarding sequence bit M (=2) of the second checkout machine 12-2, which is the destination checkout machine, is less than the forwarding sequence bit N (=3) of the third checkout machine 12-3. Then, when the checkout machine information does not meet the destination change conditions, the third checkout machine 12-3 does not send a main declaration instruction to the register 11. The same applies when the confirmation start notification instruction (Ta) is sent from the fourth checkout machine 12-4.
[0274] Figure 28 This is a timing diagram for the case where the second checkout machine 12-2 is also shut down. Since both the first and second checkout machines 12-1 and 12-2 are shut down, no confirmation start notification instructions (Pa, Qa) are sent. Therefore, the transmission and reception of status confirmation instructions (Pb), confirmation response instructions (Pc), and confirmation end notification instructions (Pd) between the register 11 and the first checkout machine 12-1, as well as the transmission and reception of status confirmation instructions (Qb), confirmation response instructions (Qc), and confirmation end notification instructions (Qd) between the register 11 and the second checkout machine 12-2, are also not performed.
[0275] On the other hand, a confirmation start notification instruction (Sa) is sent from the third checkout machine 12-3. Then, upon receiving the confirmation start notification instruction (Sa), the register 11 sends a status confirmation instruction (Sb) to the second checkout machine 12-2, which is the destination checkout machine. However, an error occurs in sending the status confirmation instruction (Sb), and the confirmation response instruction (Sc) cannot be received. Therefore, the confirmation end notification instruction (Sd) sent from the register 11 to the third checkout machine 12-3 does not include checkout machine information. Furthermore, the forwarding sequence M (=2) of the second checkout machine 12-2, which is the destination checkout machine, is less than the forwarding sequence N (=3) of the third checkout machine 12-3. Therefore, since the destination change condition is met, the third checkout machine 12-3 sends a master declaration instruction (Se) to the register 11. As a result, the third checkout machine 12-3 becomes the destination checkout machine 12-X.
[0276] Subsequently, when the fourth checkout machine 12-4 sends a confirmation start notification instruction (Ta), the register 11 sends a status confirmation instruction (Tb) to the third checkout machine 12-3. Then, when the register 11 receives a confirmation response instruction (Tc) from the third checkout machine 12-3, it sends a confirmation end notification instruction (Td) containing checkout machine information and data from the checkout machine status table 82. At this time, the forwarding sequence bit M (=3) of the third checkout machine 12-3, which is the destination checkout machine, is less than the forwarding sequence bit N (=4) of the fourth checkout machine 12-4. Then, when the checkout machine information does not meet the destination change conditions, the fourth checkout machine 12-4 does not send a main declaration instruction to the register 11.
[0277] and Figure 28 same, Figure 29 This is a timing diagram showing the scenario where, in addition to the first checkout machine 12-1 being closed, the second checkout machine 12-2, which is the destination checkout machine, is also closed, and a confirmation start notification instruction (Ta) is first sent from the fourth checkout machine 12-4 to the registration machine 11.
[0278] like Figure 29As shown, after receiving the confirmation start notification instruction (Ta) from the fourth checkout machine 12-4, the register 11 sends a status confirmation instruction (Tb) to the second checkout machine 12-2. However, an error occurs in sending the status confirmation instruction (Tb), and the confirmation response instruction (Tc) cannot be received. Therefore, the checkout machine information is not included in the confirmation end notification instruction (Td) sent from the register 11 to the fourth checkout machine 12-4. Furthermore, the forwarding sequence M (=2) of the second checkout machine 12-2, which is the destination checkout machine, is less than the forwarding sequence N (=4) of the fourth checkout machine 12-4. Therefore, since the destination change condition is met, the fourth checkout machine 12-4 sends a master declaration instruction (Te) to the register 11. As a result, the fourth checkout machine 12-4 becomes the destination checkout machine 12-X.
[0279] Subsequently, when the confirmation start notification instruction (Sa) is sent from the third checkout machine 12-3, the register 11 sends a status confirmation instruction (Sb) to the fourth checkout machine 12-4. Then, when the register 11 receives a confirmation response instruction (Sc) from the fourth checkout machine 12-4, it sends a confirmation end notification instruction (Sd) containing checkout machine information and data from the checkout machine status table 82 to the third checkout machine 12-3. At this time, the forwarding sequence M (=4) of the fourth checkout machine 12-4, which is the destination checkout machine, is greater than the forwarding sequence N (=3) of the third checkout machine 12-3. Therefore, since the destination change condition is met, the third checkout machine 12-3 sends a master declaration instruction (Se) to the register 11. As a result, the third checkout machine 12-3 becomes the destination checkout machine 12-X.
[0280] Figure 30 This is a timing diagram showing the situation when the third checkout machine 12-3 is the destination checkout machine 12-X, and the first checkout machine 12-1, which has been shut down, is restored. The restored first checkout machine 12-1 sends a confirmation start notification instruction (Pa) to the register 11. Upon receiving this confirmation start notification instruction (Pa), the register 11 sends a status confirmation instruction (Pb) to the third checkout machine 12-3. Then, when the register 11 receives a confirmation response instruction (Pc) from the third checkout machine 12-3, it sends a confirmation end notification instruction (Pd) containing checkout machine information and data from the checkout machine status table 82 to the first checkout machine 12-1. At this time, the forwarding sequence bit M (=3) of the third checkout machine 12-3, which is the destination checkout machine, is greater than the forwarding sequence bit N (=1) of the first checkout machine 12-1. Therefore, since the destination change condition is met, the first checkout machine 12-1 sends a master declaration instruction (Pe) to the register 11. As a result, the first checkout machine 12-1 becomes the destination checkout machine 12-X.
[0281] Subsequently, when the third checkout machine 12-3 sends a confirmation start notification instruction (Sa), the register 11 sends a status confirmation instruction (Sb) to the first checkout machine 12-1. Then, when the register 11 receives a confirmation response instruction (Sc) from the first checkout machine 12-1, it sends a confirmation end notification instruction (Sd) containing checkout machine information and data from the checkout machine status table 82 to the third checkout machine 12-3. At this time, the forwarding sequence bit M (=1) of the first checkout machine 12-1, which is the destination checkout machine, is less than the forwarding sequence bit N (=3) of the third checkout machine 12-3. Then, when the checkout machine information does not meet the destination change conditions, the third checkout machine 12-3 does not send a main declaration instruction to the register 11.
[0282] In addition, Figures 27 to 30 In the illustrated timing example, checkout machine 12-K sends a confirmation start notification instruction (Pa, Qa, Sa, Ta) after sending a confirmation end notification instruction (Pd, Qd, Sd, Td) from register machine 11. However, in reality, register machine 11 may sometimes receive a confirmation start notification instruction from another checkout machine 12-K before sending a confirmation end notification instruction to one of the checkout machines 12-K. In this case, after register machine 11 sends a confirmation end notification instruction to one checkout machine 12-K, it performs processing based on the confirmation start notification instruction from the other checkout machine 12-K, that is, it performs the sending of a status confirmation instruction, the reception of a confirmation response instruction, and the sending of a confirmation end notification instruction.
[0283] As detailed above, according to the transaction processing system 300, even if the destination checkout machine 12-X is closed and settlement information cannot be sent from the register 11 to the destination checkout machine 12-X, another checkout machine 12-K can be immediately set as the destination checkout machine 12-X. Furthermore, the same applies if a printer error, change machine error, or other malfunction occurs in the destination checkout machine 12-X, preventing settlement. Therefore, even if the destination checkout machine 12-X malfunctions, transaction settlement delays can be prevented. As a result, a highly efficient transaction processing system can be provided.
[0284] Furthermore, if checkout machine 12-K, which has the higher transfer sequence number than checkout machine 12-X at the current time, recovers, the recovered checkout machine 12-K can be quickly reassigned as the destination checkout machine 12-X. Typically, in semi-automatic transaction processing systems, there is a tendency to prioritize checkout machines with higher transfer sequences for efficient customer movement. Therefore, the impact of an anomaly caused by checkout machine 12-1, which has the higher transfer sequence number, can be minimized.
[0285] Furthermore, in the third embodiment, as in the second embodiment, more than one checkout machine can be shared across different groups. In this case, the shared checkout machine sends a confirmation start notification instruction (Qa, Ra) to the registration machine 11 of each group.
[0286] The program involved in this embodiment can be transferred either in a state where it is stored in an electronic device or in a state where it is not stored in an electronic device. In the latter case, the program can be transferred either via a network or in a state where it is stored in a storage medium. The recording medium is a non-transitory tangible medium. The storage medium is a computer-readable medium. The storage medium is any computer-readable medium that can store programs, such as a CD-ROM or memory card, and its form is not limited.
[0287] So far, while several embodiments of the present invention have been described, these embodiments are merely illustrative and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their variations are included within the scope of the invention, and are encompassed within the scope of the invention as described in the claims and their equivalents.
Claims
1. A transaction processing system, comprising an input processing device for creating settlement information required for a transaction with a customer based on input data, and three or more settlement devices for executing settlement processing of the transaction based on the settlement information, wherein each of the three or more settlement devices is assigned a transfer sequence number for the settlement information, wherein... The input processing device includes: The sending unit sends the settlement information to the destination settlement device among the three or more settlement devices that is set as the destination. The status confirmation unit performs status confirmation on the destination settlement device; and The change unit, upon receiving a notification of a change in the destination from a settlement device other than the previously mentioned destination settlement device, changes the destination of the settlement information to the other settlement device. The three or more settlement devices include: The confirmation notification unit notifies the input processing device of the status confirmation of the destination settlement device; and The change notification unit notifies the input processing device of a change in the destination of the settlement information if the status confirmation result of the destination settlement device responding to the status confirmation notification from the input processing device satisfies the conditions for a change in the destination of the settlement information.
2. The transaction processing system according to claim 1, wherein, The status confirmation unit obtains information related to the status of the destination settlement device from the destination settlement device. If the forwarding sequence of the destination settlement device included in the status confirmation result is higher than that of its own device, and if the input processing device responds to the status confirmation result of the destination settlement device as if it intends to obtain the information related to the status from the destination settlement device, the change notification unit notifies the input processing device of a change in the destination.
3. The transaction processing system according to claim 2, wherein, If the forwarding sequence of the destination settlement device included in the status confirmation result is higher than that of its own device, and if the input processing device receives information related to the status obtained from the destination settlement device as a status confirmation result of the destination settlement device, and if the information related to the status meets the destination change conditions, the change notification unit notifies the input processing device of the destination change.
4. The transaction processing system according to any one of claims 1 to 3, wherein, If the transfer sequence number of the destination settlement device included in the status confirmation result is lower than the transfer sequence number of its own device, the change notification unit notifies the input processing device of a change in the destination.
5. The transaction processing system according to claim 2 or 3, wherein, The input processing device further includes: The storage unit stores the transfer sequence number of the settlement device among the three or more settlement devices that is set as the destination settlement device, wherein... The information stored in the storage unit is notified together with the status confirmation result of the destination settlement device.
6. The transaction processing system according to any one of claims 1 to 3, wherein, The three or more settlement devices periodically send status confirmation notifications through the confirmation notification unit. The input processing device performs a status confirmation based on the status confirmation unit according to the status confirmation notification, and responds to the settlement device that made the notification with the status confirmation result.
7. A settlement device comprising an input processing device for creating settlement information required in a transaction with a customer based on input data, and three or more settlement devices for executing settlement processing of the transaction based on the settlement information, wherein a transfer order of the settlement information is set for each of the three or more settlement devices, characterized in that... include: The confirmation notification unit notifies the input processing device of the status confirmation of the destination settlement device that has been set as the destination. as well as The change notification unit notifies the input processing device of a change in the destination of the settlement information if the status confirmation result of the destination settlement device responding to the status confirmation notification from the input processing device satisfies the conditions for a change in the destination of the settlement information.
8. An input processing device, comprising an input processing device for creating settlement information required in settling a transaction with a customer based on input data, and three or more settlement devices for executing settlement processing of the transaction based on the settlement information, wherein the input processing device in a transaction processing system is configured with a transfer order for the settlement information for each of the three or more settlement devices, wherein... The settlement device includes: a confirmation notification unit that notifies the input processing device of the status confirmation of the settlement device set as the destination; and a change notification unit that, if the status confirmation result of the destination settlement device in response to the status confirmation notification from the input processing device satisfies the destination change condition of the settlement information, notifies the input processing device of a destination change. The input processing device is characterized by including: The creation department creates the settlement information based on the input data; The sending unit sends the settlement information to the destination settlement device among the three or more settlement devices that is set as the destination. The status confirmation unit performs status confirmation on the destination settlement device; and The change unit, when receiving a notification of a change in the destination from a settlement device other than the aforementioned destination settlement device, changes the destination of the settlement information to the other settlement device.
9. A program storage medium storing a program for enabling a computer in a transaction processing system, comprising an input processing device for creating settlement information required in settling a transaction with a customer based on input data, and a settlement processing device for executing the transaction based on the settlement information, and wherein a transfer order of the settlement information is set for each of the three or more settlement devices, to function as the following functional units: The confirmation notification unit notifies the input processing device of the status confirmation of the destination settlement device that has been set as the destination; and The change notification unit notifies the input processing device of a change in the destination of the settlement information if the status confirmation result of the destination settlement device responding to the status confirmation notification from the input processing device satisfies the conditions for a change in the destination of the settlement information.
10. A program storage medium storing a program for enabling a computer, which is an input processing device in a transaction processing system that includes an input processing device for creating settlement information required in settling a transaction with a customer based on input data and for executing settlement processing of the transaction based on the settlement information, and for setting a transfer order for the settlement information for each of the three or more settlement devices, to perform the following functions: The settlement device includes: a confirmation notification unit that notifies the input processing device of the status confirmation of the settlement device set as the destination; and a change notification unit that notifies the input processing device of a destination change if the status confirmation result of the settlement device responding to the status confirmation notification from the input processing device satisfies the destination change condition of the settlement information. The following functional units include: The creation department creates the settlement information based on the input data; The sending unit sends the settlement information to the destination settlement device among the three or more settlement devices that is set as the destination. The status confirmation unit performs status confirmation on the destination settlement device; and The change unit, when receiving a notification of a change in the destination from a settlement device other than the aforementioned destination settlement device, changes the destination of the settlement information to the other settlement device.
Citation Information
Patent Citations
POS system and registration device
JP2013242839A
Checkout system and registration apparatus
CN107038821A
Checkout system, registration apparatus, and settlement apparatus
CN108460931A