Electronic bill issuing system and storage medium
By generating printing and electronic bill data from structured transaction information in the electronic bill issuance system, the problem of insufficient timing and versatility of electronic bill issuance in the existing system is solved, and the function of flexibly generating electronic bill data during the transaction process is realized.
Patent Information
- Application Number
- CN202410143949.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-04-07
- Filing Date
- 2024-02-01
- Publication Date
- 2024-10-15
AI Technical Summary
The existing electronic bill issuance system is difficult to flexibly generate electronic bill data in the final stage of transaction processing, which limits the issuance timing and versatility of electronic bills.
An electronic bill issuance system is designed, including product registration processing, printing data generation, electronic bill data generation and settlement processing department. Printing data and electronic bill data are generated through structured transaction information, and the electronic bill data is generated during the transaction process. Member information can be flexibly requested to generate electronic bill data.
It realizes the flexible generation of electronic bill data based on electronic bill member information during the transaction process, improves the issuance timing of electronic bills and the versatility of the system, can generate electronic bill data after transactions, and effectively uses structured data to generate printing and electronic bills. Data associated with the bill.
Smart Images

Figure CN118780876A_ABST
Abstract
Description
[0001] This application claims priority to Japanese patent application No. JP2023-063022, filed on April 7, 2023, and cites the contents of the above application, the disclosure of which is hereby incorporated by reference in its entirety. Technical Field
[0002] The embodiments of the present invention relate to an electronic ticket issuing system and a storage medium. Background Art
[0003] Electronic receipts are becoming a practical substitute for paper receipts (paper receipts). Electronic receipts are receipts that are displayed on a terminal device and can be used as references to transaction details.
[0004] For example, in the prior art, in the process of issuing a receipt, which is the final stage of a series of transaction processes including the registration process of commodity information and the settlement process, if the print data used for the process contains designated character information, electronic receipt data is generated instead of a paper receipt. The electronic receipt data is data for displaying the electronic receipt on a terminal device. In the case of an electronic receipt member, the designated character information is inserted into the print data.
[0005] In the above-mentioned processing, the timing of generating electronic receipt data (issuing electronic receipt) is limited. In other words, after the receipt issuance process executed in a series of transaction processing is completed, it is difficult to issue the electronic receipt.
[0006] In order to eliminate the difficulties in the above examples and make the electronic receipts easier to use, a highly versatile system that can improve the flexibility of issuance timing is increasingly required. Summary of the invention
[0007] In view of the above problems, the problem to be solved by the present invention is to provide a system and storage medium with high flexibility and versatility in terms of electronic bill issuance.
[0008] To solve the above-mentioned problem, the electronic invoice issuance system of the embodiment includes a product registration processing unit that aggregates registered product information and edits transaction information, a printing data generating unit that generates printing data used by a printer that issues paper invoices corresponding to the transaction information, an electronic invoice generating unit that generates electronic invoice data as data for displaying the electronic invoice corresponding to the transaction information on a terminal device, and a settlement processing unit that performs settlement processing corresponding to the transaction information, requests the printing data generating unit to generate the printing data, and requests the electronic invoice generating unit to generate the electronic invoice data when information of a designated electronic invoice member has been obtained during the transaction.
[0009] According to the electronic receipt issuance system described above, electronic receipt data for displaying an electronic receipt can be generated based on the fact that information specifying an electronic receipt member has been acquired during a transaction.
[0010] The above-mentioned electronic invoice issuance system also includes: a transaction acquisition unit, which obtains the specified transaction information from a specified storage device that stores the transaction information involved in the completed transaction; and a post-issuance request unit, which requests the electronic invoice generation unit to generate the electronic invoice data corresponding to the transaction information obtained by the transaction acquisition unit.
[0011] According to the electronic receipt issuance system described above, in a case where information as an electronic receipt member cannot be presented during a transaction, electronic receipt data can be generated after the transaction.
[0012] In the above-mentioned electronic receipt issuance system, the transaction information is text data, the printing data generation unit generates the printing data based on structured data converted by structuring the transaction information, and the electronic receipt generation unit generates the electronic receipt data based on the structured data.
[0013] According to the electronic receipt issuance system described above, it is possible to generate printing data and electronic receipt data using structured data.
[0014] The electronic receipt issuance system further includes: a display control unit that displays a transaction completion screen indicating that the settlement process has been completed on the display unit.
[0015] According to the above-mentioned electronic receipt issuance system, the result of the settlement processing can be confirmed.
[0016] In the above-mentioned electronic receipt issuance system, the transaction completion screen includes any one of a message indicating issuance of an electronic receipt or a message indicating issuance of a paper receipt.
[0017] According to the electronic receipt issuance system described above, it is possible to easily understand whether the issued receipt is an electronic receipt or a paper receipt.
[0018] In the above-mentioned electronic invoice issuance system, the electronic invoice issuance system includes a POS terminal, a server and an electronic invoice server, the commodity registration processing unit is jointly constituted by the POS terminal and the server, the printing data generation unit has the server, the electronic invoice generation unit has the electronic invoice server, and the settlement processing unit is jointly constituted by the server, the POS terminal and the server.
[0019] According to the electronic receipt issuance system described above, since the electronic receipt data generation unit that generates the electronic receipt data is provided in the electronic receipt server, it can be maintained separately from the settlement processing unit.
[0020] The electronic receipt issuance system may further include an electronic receipt-related data generating unit that generates electronic receipt-related data, which is a basis for generating electronic receipt data, based on the structured data.
[0021] According to the electronic receipt issuance system described above, electronic receipt-related data for forming an electronic receipt can be generated based on structured data.
[0022] In the electronic receipt issuance system, the electronic receipt-related data generating unit extracts information indicating information used for the electronic receipt-related data from the structured data, and adds the extracted information to the print data generated by the print data generating unit to generate the electronic receipt-related data.
[0023] According to the electronic receipt issuance system described above, it is possible to generate electronic receipt-related data by effectively utilizing print data.
[0024] In the electronic receipt issuance system, the settlement processing unit determines whether the customer is an electronic receipt member after performing the settlement processing, and if the customer is an electronic receipt member, requests the generation of the electronic receipt data without making a request to the print data generation unit.
[0025] According to the electronic receipt issuing system described above, it is possible not to generate printing data.
[0026] A storage medium according to another aspect of the present invention stores a program for causing a computer to function as the following units: a product registration processing unit that aggregates registered product information and edits transaction information; a printing data generating unit that generates printing data used by a printer that issues paper receipts corresponding to the transaction information; an electronic receipt generating unit that generates electronic receipt data as data for displaying the electronic receipt corresponding to the transaction information on a terminal device; and a settlement processing unit that performs settlement processing corresponding to the transaction information, requests the printing data generating unit to generate the printing data, and requests the electronic receipt generating unit to generate the electronic receipt data when information of a designated electronic receipt member has been obtained during the transaction.
[0027] According to the above-mentioned storage medium, it is possible to provide a computer with a function of generating electronic receipt data for displaying an electronic receipt based on the fact that information of a designated electronic receipt member has been acquired during a transaction. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 It is a schematic diagram showing an example of the configuration of the system of the embodiment.
[0029] Figure 2This is a block diagram showing an example of the structure of a trading system server.
[0030] Figure 3 This is a block diagram showing an example of the structure of an electronic receipt server.
[0031] Figure 4 This is a block diagram showing an example of the structure of a tablet POS.
[0032] Figure 5 This is a block diagram showing an example of information stored in the DB.
[0033] Figure 6 This is a schematic diagram showing an example of HTML data stored in the DB.
[0034] Figure 7 This is a schematic diagram showing an example of paper receipt printing data stored in the DB.
[0035] Figure 8 This is a schematic diagram showing an example of displayed content of a paper receipt printed and output by a printer.
[0036] Fig. 9 This is a schematic diagram showing an example of electronic receipt-related data stored in the DB.
[0037] Fig.10 This is a block diagram showing an example of a functional configuration of a control unit.
[0038] Fig.11 This is a schematic diagram showing an example of the flow of processing executed by the control unit.
[0039] Fig.12 This is a schematic diagram showing an example of the flow of processing executed by the control unit of the tablet POS.
[0040] Fig.13 This is a schematic diagram showing an example of the flow of processing executed by the control unit of the trading system server.
[0041] Fig.14 This is a schematic diagram showing an example of a transaction completion screen displayed on a tablet POS.
[0042] Fig.15 This is a schematic diagram showing an example of a balance screen displayed on a tablet POS.
[0043] Description of Reference Numerals
[0044] 1 Trading system server (an example of a server)
[0045] 10 Control Department (an example of a transaction acquisition department or a post-issuance processing department)
[0046] 101 Transaction start processing unit 102 Member information processing unit 103 Product registration processing unit
[0047] 104 Settlement processing unit 105 Transaction information storage processing unit
[0048] 106 Receipt output processing unit (constituting an example of a print data generating unit, an example of an electronic receipt generating unit)
[0049] 11 CPU 12 ROM 13 RAM
[0050] 14 Communication unit 19 Storage unit
[0051] 2 DB (an example of a predetermined storage device)
[0052] 21 Product master file 22 Store member information 23 Electronic ticket member information
[0053] 25 Transaction Information
[0054] 26 HTML data (an example of structured data)
[0055] 261 Header information 262 Product information 263 Actuarial information 264 Footer information
[0056] 27 Data for printing paper receipts,
[0057] 271 Header information 272 Product information 273 Actuarial information 274 Footer information
[0058] 28 Data related to electronic invoices,
[0059] 281 Header information 282 Product information 283 Actuarial information 284 Footer information
[0060] 3 Electronic receipt server (an example of a server)
[0061] 30 Control unit 306 API (an example of a component constituting an electronic receipt generation unit)
[0062] 31 CPU 32 ROM 33 RAM 34 Communication unit 39 Storage unit
[0063] 5 Tablet POS (an example of a POS terminal, sales data processing device)
[0064] 50 Control unit (an example of a transaction designation unit and a post-issuance request unit)
[0065] 501 Transaction start processing unit 502 Member information processing unit
[0066] 503 Product registration processing unit 504 Settlement processing unit
[0067] 51 CPU 52 ROM 53 RAM
[0068] 54 Ministry of Communications
[0069] 55 Display
[0070] 551 Transaction completion screen
[0071] 5511 Message 5512 Payment Details 5513 Control
[0072] 552 Balance screen
[0073] 5521 Payment details 5522 Balance 5523, 5524 Controls
[0074] 56 Operation unit 57 Sound output unit 58 Camera unit
[0075] 59 Storage
[0076] 6 Relay device 61 Relay unit
[0077] 7 Printer
[0078] 70 Display content
[0079] 701 Header information 702 Product information 703 Actuarial information 704 Footer information DETAILED DESCRIPTION
[0080] (First embodiment)
[0081] Hereinafter, embodiments will be described using the drawings. Figure 1 The system of this embodiment includes a transaction system server (server) 1, a DB (database) 2, an electronic receipt server 3, a tablet POS 5, a relay device 6, and a printer 7.
[0082] The tablet POS 5 is a type of POS terminal installed in a store. The POS terminal is an embodiment of a sales data processing device that processes product registration, settlement of registered products, etc. In addition, "POS" is an abbreviation of "Point of Sale", which means sales time point information management.
[0083] The store is also equipped with other forms of POS terminals besides the tablet POS 5. Examples of other forms of POS terminals include fixed common POS cash registers operated by store employees, self-service checkout devices, and semi-self-service checkout devices. Self-service checkout devices are devices that customers use to register and settle goods. Semi-self-service checkout devices are devices that customers use to register goods registered by store employees to settle goods.
[0084] The relay device 6 relays data transmission and reception between the tablet POS 5 and peripheral devices such as the printer 7. For example, the relay device 6 passes instructions received from the tablet POS 5 to the printer 7 to issue a receipt.
[0085] In addition, the tablet POS 5 may include a relay unit 61 as a functional unit that performs the same function as the relay device 6. The relay device 6 and the relay unit 61 are distinguished in that, for example, when a peripheral device such as a printer 7 is to be used via a wired connection, the peripheral device is connected to the relay device 6 via a wire, and wireless communication is performed between the relay device 6 and the tablet POS 5. In addition, if the peripheral device such as the printer 7 is capable of wireless communication, wireless communication is performed between the peripheral device and the relay unit 61.
[0086] The printer 7 issues printed materials such as receipts. The printer 7 has a built-in printing unit and roll paper. The printing unit is composed of a print head and a platen roller. The roll paper is a strip of paper rolled into a roll. The platen roller clamps the paper drawn from the roll paper between the print head and the print head, and transports the paper by rotating. The print head prints characters, logos, etc. on the transported paper. The printer 7 can be included in the flatbed POS 5.
[0087] The transaction system server 1 and DB2 are located between the store's POS terminal (e.g., tablet POS 5) and the electronic receipt server 3, and provide cloud computing to both, mediating the data association between the two. The transaction system server 1 can refer to the information stored in DB2 and update the information stored in DB2. DB2 can be included in the transaction system server 1.
[0088] The transaction system server 1 receives information about transactions performed by the POS terminal of the store (transaction information) and stores it in the DB 2. In addition, according to the instruction received from the POS terminal of the store, HTML data, paper receipt printing data (printing data) and electronic receipt association data are generated based on the transaction information. The transaction system server 1 sends the generated paper receipt printing data to the printer 7 and sends the electronic receipt association data to the electronic receipt server 3.
[0089] The electronic receipt server 3 generates and stores electronic receipt data upon receiving the electronic receipt-related data from the transaction system server 1. In addition, the electronic receipt server 3 provides the electronic receipt requested by the customer in response to a reference request from a terminal device used by the customer so that the customer can refer to the electronic receipt through the terminal device.
[0090] Figure 2 This is a block diagram showing an example of the structure of the trading system server 1. The trading system server 1 includes a CPU (Central Processing Unit) 11, a ROM (Read Only Memory) 12, a RAM (Random Access Memory) 13, a communication unit 14, a storage unit 19, and the like.
[0091] The CPU 11 is an example of a processor and generally controls each unit of the trading system server 1. The ROM 12 stores various programs. The RAM 13 is a workspace for loading programs and various data. The CPU 11, ROM 12, and RAM 13 are connected via a bus or the like and constitute a control unit 10 of a computer structure.
[0092] The communication unit 14 is a communication interface that connects the control unit 10 and an external device (eg, the tablet POS 5 or the electronic receipt server 3 ) to each other so as to be communicable via a network.
[0093] The storage unit 19 has a storage medium such as a HDD (Hard Disk Drive) or a flash memory, and retains the stored contents even when the power is turned off. The storage unit 19 stores programs executable by the CPU 11 and various setting information.
[0094] The control unit 10 executes various processes by causing the CPU 11 to operate according to the program stored in the ROM 12 and the storage unit 19 and loaded into the RAM 13. In addition, the control unit 10 provides various functional units. The various functional units are described below (see Fig.10 )'s transaction start processing unit 101, member information processing unit 102, product registration processing unit 103, settlement processing unit 104, transaction information storage processing unit 105, receipt output processing unit 106, etc.
[0095] Figure 3 2 is a block diagram showing an example of the configuration of the electronic receipt server 3. The electronic receipt server 3 includes a CPU 31, a ROM 32, a RAM 33, a communication unit 34, a storage unit 39, and the like.
[0096] The CPU 31 is an example of a processor and generally controls each unit of the electronic receipt server 3. The ROM 32 stores various programs. The RAM 33 is a workspace for loading programs and various data. The CPU 31, ROM 32, and RAM 33 are connected via a bus or the like to form a control unit 30 of a computer structure.
[0097] The communication unit 34 is a communication interface that is communicably connected to the control unit 30 and an external device (for example, the trading system server 1 ) via a network.
[0098] The storage unit 39 has a storage medium such as an HDD or a flash memory, and stores the stored contents even when the power is turned off. The storage unit 39 stores programs executable by the CPU 31 and various setting information.
[0099] The control unit 30 executes various processes by causing the CPU 31 to operate according to the program stored in the ROM 32 and the storage unit 39 and loaded into the RAM 33. In addition, according to this, the control unit 30 provides, for example, the following (see Fig.10 )'s API (Application Programming Interface) 306.
[0100] Figure 4 1 is a block diagram showing an example of the structure of the tablet POS 5. In addition, other forms of POS terminals in stores also have a structure similar to the tablet POS 5. The tablet POS 5 includes a CPU 51, a ROM 52, a RAM 53, a communication unit 54, a display unit 55, an operation unit 56, a sound output unit 57, a camera unit 58, a storage unit 59, etc.
[0101] The CPU 51 is an example of a processor and generally controls each part of the tablet POS 5. The ROM 52 stores various programs. The RAM 53 is a workspace for loading programs and various data. The CPU 51, ROM 52, and RAM 53 are connected via a bus or the like and constitute a control unit 50 of a computer structure.
[0102] The communication unit 54 is a communication interface that is connected to the control unit 50 and an external device (for example, the relay device 6 and the electronic receipt server 3 ) so as to be communicable via a network.
[0103] The display unit 55 includes a display device such as an LCD (Liquid Crystal Display), and displays various information under the control of the CPU 51 .
[0104] The operation unit 56 includes an input device such as a touch panel superimposed on the surface of the display unit 55, and outputs the operation content inputted via the input device to the CPU 51. The input device of the operation unit provided in the POS terminal may be a keyboard, a pointing device, or the like.
[0105] The sound output unit 57 includes a speaker and a buzzer, and outputs sound under the control of the CPU 51 .
[0106] The camera unit 58 has a camera element such as a CCD (Charge Coupled Device) or a CMOS (Complementary MOS). The camera unit 58 is used, for example, to capture a code symbol such as a barcode or a two-dimensional code attached to a product. In other words, the camera unit 58 obtains a code symbol such as a barcode or a two-dimensional code attached to a product. In addition, the camera unit 58 is a type of input device. In addition, the code symbol obtained by the camera unit 58 is decoded to become code information. The camera unit 58 is an input unit for inputting product information.
[0107] The storage unit 59 has a storage medium such as an SSD (Solid State Drive) or a flash memory, and can retain the stored contents even when the power is turned off. The storage unit 59 stores programs executable by the CPU 51 and various setting information.
[0108] The control unit 50 executes various processes by causing the CPU 51 to operate according to the program stored in the ROM 52 and the storage unit 59 and loaded into the RAM 53. In addition, the control unit 50 provides various functional units according to this. The various functional units are described later (see Fig.10 )'s transaction start processing unit 501, member information processing unit 502, product registration processing unit 503, settlement processing unit 504, etc.
[0109] Figure 5 1 is a block diagram showing an example of information stored in DB2. DB2 stores various information referenced or updated by the transaction system server 1. Examples of information stored in DB2 include a product master file 21, store member information 22, electronic receipt member information 23, transaction information 25, HTML data 26, paper receipt printing data 27, and electronic receipt association data 28.
[0110] The product master file 21 is information about products sold in a store. For example, product names, unit prices, etc. are stored in association with product codes in the product master file 21. The product code is an example of information that can specify a product, and is, for example, a JAN code.
[0111] The store member information 22 and the electronic receipt member information 23 are stored in the DB 2 in the form of a table, for example.
[0112] The store member information 22 stores member information (name, contact information, etc.) of a store member in association with a member code (store member code) which is a unique code in the store member information 22. The member code is an example of information that can specify a store member.
[0113] The electronic receipt member information 23 stores member information (name, contact information, etc.) of the electronic receipt member in association with a member code (electronic receipt member code) which is a unique code in the electronic receipt member information 23. The member code is an example of information that can specify the electronic receipt member.
[0114] The transaction information 25 is text data stored in the DB2 by the transaction system server 1. The file format of the transaction information 25 in this embodiment is JSON format. The transaction information 25 includes, for example, header information, footer information, product information, etc. The product information includes product code, product name, unit price, purchase quantity, etc., and is recorded between the header information and the footer information. The header information or the footer information includes a transaction ID. The transaction ID is an example of information that can specify a transaction.
[0115] The HTML data 26 is an example of structured data. The HTML data 26 is generated by the control unit 10 of the transaction system server 1 by adding (structuring) HTML tags to the transaction information 25 in the JSON format, and is stored in the DB 2. In addition, the paper receipt printing data 27 and the electronic receipt related data 28 are generated (converted) by further editing the HTML data 26. That is, the transaction system server 1 includes an electronic receipt related data generation unit, which generates the electronic receipt related data 28 as a basis for generating electronic receipt data based on the structured data.
[0116] Figure 6 2 is a schematic diagram showing an example of HTML data 26 stored in DB 2. HTML data 26 includes header information 261, product information 262, calculation information 263, and footer information 264.
[0117] The header information 261 is the information obtained by adding an HTML tag to the header information of the transaction information 25. The footer information 264 is the information obtained by adding an HTML tag to the footer information of the transaction information 25. The product information 262 is the information obtained by adding an HTML tag to the product information of the transaction information 25. Figure 6 In the example, since the product to be purchased is one product, the product information 262 is one piece of information, but when multiple products are to be purchased, the product information 262 is continuous information. The calculation information 263 is various amounts, tax rates, and related notes calculated based on the product information of the transaction information 25.
[0118] The HTML data 26 includes information used in the paper receipt printing data 27 and information used in the electronic receipt related data 28 according to HTML tags. For example, " The "smartDisabled" attributes 265 and 266 of the "tag" are used to indicate that the information is unnecessary in the electronic receipt-related data 28. In addition, at the beginning of the portion surrounded by the tags, when necessary information is added to the electronic receipt-related data 28, " " smartPrefix " attribute 267 of the tag. And, at the end of the part surrounded by the tag, when adding the necessary information to the electronic receipt associated data 28, specify " "smartSuffix" attribute 268 of the "tag.
[0119] Figure 7 2 is a schematic diagram showing an example of paper receipt printing data 27 stored in DB 2. Paper receipt printing data 27 is generated by editing HTML data 26. Paper receipt printing data 27 is data used by the printer 7 to print paper receipts.
[0120] The paper receipt printing data 27 includes header information 271, product information 272, calculation information 273, and footer information 274. The contents of the header information 271, product information 272, calculation information 273, and footer information 274 generally correspond to the header information 261, product information 262, calculation information 263, and footer information 264 included in the HTML data 26.
[0121] The paper ticket output by the printer 7 based on the paper ticket printing data 27 is, for example, Figure 8 shown. Figure 8 1 is a schematic diagram showing an example of display content 70 of a paper receipt printed and output by the printer 7. In addition, in this figure, a logo image and the like displayed in the header portion of the paper receipt are omitted.
[0122] The displayed content 70 of the paper ticket includes header information 701, commodity information 702, actuarial information 703 and footer information 704. The contents of header information 701, commodity information 702, actuarial information 703 and footer information 704 correspond to header information 271, commodity information 272, actuarial information 273 and footer information 274.
[0123] Fig. 9 1 is a schematic diagram showing an example of the electronic receipt-related data 28 stored in the DB 2. The electronic receipt-related data 28 is generated by editing the HTML data 26. The electronic receipt-related data 28 is data sent to the electronic receipt server 3 and is data used by the electronic receipt server 3 to generate electronic receipt data.
[0124] The electronic receipt-related data 28 includes header information 281, product information 282, calculation information 283, and footer information 284. The contents of the header information 281, product information 282, calculation information 283, and footer information 284 generally correspond to the header information 271, product information 272, calculation information 273, and footer information 274 included in the paper receipt printing data 27. In addition, the display order of each information 281 to 284 is matched with the database structure etc. configured in the electronic receipt server 3. In addition, since the electronic receipt-related data 28 generally corresponds to the paper receipt printing data 27, the electronic receipt-related data 28 can be generated based on the paper receipt printing data 27. For example, the member code (electronic receipt member code) of the electronic receipt member information 23 can be added to the paper receipt printing data 27 to generate the electronic receipt-related data 28. Specifically, the information stored in the HTML data 26 and used in the electronic receipt-related data 28 is extracted. Then, the electronic receipt-related data 28 is generated by adding the extracted information to the paper receipt print data 27. By generating the electronic receipt-related data 28 from the paper receipt print data 27, the generated print data can be used effectively.
[0125] When receiving the electronic receipt associated data 28, the electronic receipt server 3 generates new electronic receipt data based on the electronic receipt associated data 28. Here, generating electronic receipt data means newly registering the electronic receipt data in the electronic receipt server 3. The electronic receipt data is data for enabling the customer to refer to the electronic receipt from the terminal device, in other words, data for enabling the electronic receipt to be displayed on the terminal device used by the customer.
[0126] Fig.10 1 is a block diagram showing an example of the functional configuration of the control units 10, 30, and 50. The control unit 50 of the tablet POS 5 includes a transaction start processing unit 501, a member information processing unit 502, a product registration processing unit 503, and a settlement processing unit 504. The control unit 10 of the transaction system server 1 includes a transaction start processing unit 101, a member information processing unit 102, a product registration processing unit 103, a settlement processing unit 104, a transaction information storage processing unit 105, and a receipt output processing unit 106. The control unit 30 of the electronic receipt server 3 includes an API 306 for generating electronic receipt data.
[0127] Here, it is further shown Fig.11 . Fig.11 1 is a schematic diagram showing an example of the flow of processing performed by the control units 10, 30, and 50. Fig.10 and Fig.11 As shown, the control units 10, 30, and 50 cooperate and perform processing. Fig.11 The processing of the step numbers shown in Fig.12 and Fig.13 The processing (described later) with the same step numbers as shown in FIG. 1 corresponds to that in FIG.
[0128] The transaction start processing unit 101, member information processing unit 102, product registration processing unit 103 and settlement processing unit 104 included in the transaction system server 1 operate in accordance with the operations of the transaction start processing unit 501, member information processing unit 502, product registration processing unit 503 and settlement processing unit 504.
[0129] That is, the transaction start processing unit 101 and the transaction start processing unit 501 cooperate to perform the transaction start processing (steps S11, S12, S31, and S32). A transaction ID is issued in the transaction start processing.
[0130] Similarly, the member information processing unit 102 and the member information processing unit 502 cooperate and perform member information processing (steps S13, S14, S33, S34). The member information processing receives the acquisition of the member code and performs the operation. In the member information processing, the member code is associated with the transaction ID, and the member information associated with the member code of the store member and the member information associated with the member code of the electronic receipt member are acquired.
[0131] In addition, the commodity registration processing unit 103 and the commodity registration processing unit 503 cooperate to perform commodity registration processing (steps S15, S16, S35, S36). That is, the commodity registration processing unit is composed of the transaction system server 1 and the tablet POS 5. The commodity registration processing is a process of summarizing the registered commodity information and editing the transaction information 25. Specifically, the commodity registration processing unit 503 receives the input of the commodity code via the operation unit 56 and the camera unit 58, and the commodity registration processing unit 103 obtains the commodity information (commodity name, unit price, etc.) associated with the commodity code, and registers the commodity code and the commodity information in the transaction information.
[0132] Furthermore, the settlement processing unit 104 and the settlement processing unit 504 cooperate to perform settlement processing (steps S17, S18, S37, S38) based on the transaction information 25. In the settlement processing, payment of the goods to be purchased is performed based on cash settlement, credit card settlement, electronic money settlement, etc. That is, the settlement processing unit is composed of the transaction system server 1 and the tablet POS 5.
[0133] Furthermore, the settlement processing unit 504 requests the receipt output processing unit 106 as the printing data generating unit to generate the paper receipt printing data 27 (step S22).
[0134] Furthermore, when the settlement processing unit 504 has obtained the member code of the electronic receipt member during the transaction, it requests the receipt output processing unit 106 as the electronic receipt generating unit to generate the electronic receipt related data 28 (steps S23 and S24).
[0135] The receipt output processing unit 106 receives the result of the settlement process and operates, and functions as an example of a print data generating unit or a part of an electronic receipt generating unit.
[0136] The receipt output processing unit 106 as a printing data generating unit generates paper receipt printing data 27 corresponding to the transaction information 25 (steps S41 and S42).
[0137] The receipt output processing unit 106, which is a part of the electronic receipt generating unit, generates the electronic receipt-related data 28 corresponding to the transaction information 25, and transmits it to the API 306 (steps S43 and S44).
[0138] The API 306 of the electronic receipt server 3 cooperates with the receipt output processing unit 106 to constitute an electronic receipt generating unit, and generates data (electronic receipt data) for displaying an electronic receipt on a terminal device based on the electronic receipt related data 28 .
[0139] The transaction information storage processing unit 105 receives the result of the settlement process (steps S19 to S21) and operates to generate or update the information stored in the DB2 (steps S39 and S40).
[0140] Fig.12 1 is a schematic diagram showing an example of the flow of processing executed by the control unit 50 of the tablet POS 5. Fig.12 The processing of the step numbers shown corresponds to Fig.11 Processing with the same step numbers as shown.
[0141] When the operation unit 56 receives the operation instructing to start trading (step S11 ; Yes), the control unit 50 (trading start processing unit 501 ) transmits a signal indicating a trading start request to the trading system server 1 (step S12 ).
[0142] Next, when the member code is input by acquiring the code symbol based on the camera unit 58 or receiving the input operation based on the operation unit 56 (step S13; Yes), the control unit 50 (member information processing unit 502) transmits the member code to the transaction system server 1 (step S14). Here, when the member code is not acquired (step S13; No), the control unit 50 skips step S14 and advances the processing to step S15.
[0143] In addition, although the acquisition and transmission of the member code are performed in steps S13 and S14 for the sake of convenience, in practice, it can be performed at any time between the start of the transaction and the settlement operation (step S17; Yes). In addition, the member information processing processes both the member information of the store member and the member information of the electronic receipt member.
[0144] Next, the control unit 50 (product registration processing unit 503) waits for the input of the product code (step S15; No). When the product code is input via the operation unit 56 and the camera unit 58 (step S15; Yes), the control unit 50 sends a product registration request to the transaction system server 1 (step S16). In the product registration request, the product code is sent to the transaction system server 1.
[0145] The control unit 50 accepts commodity registration (steps S15 to S16) when no settlement operation is performed (step S17; No). When the operation unit 56 accepts the settlement operation (step S17; Yes), the control unit 50 (settlement processing unit 504) sends a signal indicating a settlement request to the transaction system server 1 (step S18).
[0146] Next, the control unit 50 (settlement processing unit 504) performs a balance confirmation (step S19). As a result of the settlement processing, when the full amount of the purchase price of the goods to be purchased has been paid and there is no balance (step S19; Yes), the control unit 50 (settlement processing unit 504) sends a signal indicating a transaction completion request to the transaction system server 1 (step S20).
[0147] In step S19, if there is a balance (if payment is not completed) (step S19; No), the control unit 50 performs additional payment processing (step S21), and returns the processing to step S19. Additional payment is performed when, for example, payment is made with rechargeable electronic money but the recharge amount is insufficient and a balance is generated, and additional payment by cash or the like is required.
[0148] Next, the control unit 50 (settlement processing unit 504) sends a signal indicating a request to generate paper receipt printing data to the transaction system server 1 (step S22). In addition, it is also possible to determine whether the user is an electronic receipt member before sending a signal indicating a request to generate paper receipt printing data. If the user is an electronic receipt member, this process can be skipped to avoid generating paper receipt printing data.
[0149] Then, the control unit 50 (settlement processing unit 504) determines whether the customer who is the transaction party is an electronic receipt member (step S23). That is, before the settlement operation is performed, it is determined whether the member code of the electronic receipt member has been obtained.
[0150] If the customer is an electronic receipt member (step S23; Yes), the control unit 50 (settlement processing unit 504) sends a signal indicating an electronic receipt association request to the transaction system server 1 (step S24), and displays a transaction completion screen ( Fig.15 , described later) (step S25).
[0151] If the customer is not an electronic receipt member (step S23; No), the control unit 50 (settlement processing unit 504) sends a paper receipt printing request to the printer 7 (step S26), displays the transaction completion screen (step S27), and sends a receipt to the printer 7. Fig.15 , described later) (step S25) (display control unit). In the paper receipt printing request processing, the paper receipt printing data 27 received as a response to the request made in step S22 is sent to the printer 7. In the case of an electronic receipt member, even if a response to the paper receipt printing request processing is received, it will not be sent to the printer 7.
[0152] Fig.13 1 is a schematic diagram showing an example of the flow of processing executed by the control unit 10 of the trading system server 1. Fig.13 The processing of the step numbers shown corresponds to Fig.11 Processing with the same step numbers as shown.
[0153] When receiving a transaction start request from the tablet POS5 (step S31; Yes), the control unit 10 (transaction start processing unit 101) issues a transaction ID and sends the transaction ID to the tablet POS5, generates transaction information 25 identified by the transaction ID, and stores it in DB2 (step S32).
[0154] Next, if the control unit 10 (member information processing unit 102) receives the member code from the tablet POS 5, it obtains the member information (step S33; Yes), and associates the member code with the transaction ID (step S34). Specifically, the member code is included in the transaction information 25 (JSON format) of the corresponding transaction ID. If the member code is not received (step S33; No), the control unit 50 skips step S34 and advances the process to step S35.
[0155] In addition, although the acquisition of member information is performed in steps S33 to S34 for the sake of convenience, in practice, member information can be acquired at any time between the start of the transaction and the settlement operation (step S37; Yes). In addition, member information processing is performed on both the member information of the store member and the member information of the electronic receipt member.
[0156] Next, the control unit 10 (product registration processing unit 103) waits for receiving a product registration request (step S35; No). When receiving a product registration request (step S35; Yes), the control unit 10 obtains product information matching the product code included in the product registration request from the product master file 21 of the DB2, and includes it in the transaction information 25 (registers) (step S36).
[0157] The control unit 10 accepts product registration (steps S35 to S36) while not receiving a settlement request (step S37; No). When receiving a settlement request (step S37; Yes), the control unit 10 (settlement processing unit 104) performs settlement processing (step S38).
[0158] Next, the control unit 10 (transaction information storage processing unit 105) waits for reception of a transaction completion request (step S39; No), and when receiving the request (step S39; Yes), it completes editing and storage of the transaction information 25 (step S40).
[0159] Next, when the control unit 10 (receipt output processing unit 106) receives a signal indicating a request for generating paper receipt printing data (step S41; Yes), it generates HTML data 26 that structures the transaction information 25 in JSON format, generates paper receipt printing data 27 that edits the HTML data 26, and sends the paper receipt printing data 27 to the tablet POS 5 (step S42). When no request for generating paper receipt printing data is received (step S41; No), the control unit 10 (receipt output processing unit 106) skips step S42 and advances the process to step S43.
[0160] When the control unit 10 (receipt output processing unit 106) further receives a signal indicating an electronic receipt association request (step S43; Yes), it performs an electronic receipt association process (step S44). In the electronic receipt association process, the control unit 10 (receipt output processing unit 106) edits the HTML data 26 and generates the electronic receipt association data 28, and sends the electronic receipt association data 28 to the electronic receipt server 3. In addition, when receiving a signal indicating an electronic receipt association request, it checks whether paper receipt printing data 27 is generated. If paper receipt printing data 27 is generated, the electronic receipt association data 28 can be generated from the paper receipt printing data. That is, the electronic receipt association data 28 is generated by extracting the data required for the electronic receipt included in the HTML data 26 and appending it to the paper receipt printing data 27.
[0161] When the electronic receipt association request is not received (step S43; No), the control unit 10 (receipt output processing unit 106) skips step S44, ends the present process, and returns the process to step S31.
[0162] In the electronic receipt server 3, when the electronic receipt-related data 28 is received, the API 306 for generating electronic receipt data operates. The API 306 generates electronic receipt data (electronic receipt data generating unit) using the electronic receipt-related data 28. That is, the API 306 newly generates data for displaying the electronic receipt of this transaction on the terminal device.
[0163] Fig.14 1 is a schematic diagram showing an example of a transaction completion screen displayed by the tablet POS 5. In step S25, the control unit 50 of the tablet POS 5 causes the display unit 55 to display a transaction completion screen 551. The transaction completion screen 551 includes, for example, a message 5511, payment details 5512, and a control 5513. The tablet POS 5 has a display control unit that displays a transaction completion screen indicating that the settlement process has been completed on the display unit 55.
[0164] If the transition has been made from step S24, message 5511 is, for example, "No paper receipt is issued. Please use the receipt application to confirm the electronic receipt." (a message indicating that the electronic receipt is issued). In addition, if the transition has been made from step S26, message 5511 is, for example, "Paper receipt is issued." (a message indicating that a paper receipt is issued).
[0165] The payment details 5512 are contents corresponding to the settlement contents. The control 5513 receives an operation to close the transaction completion screen 551. When the control 5513 is operated, the transaction completion screen 551 is closed, and the display of the display unit 55 transitions to a display for receiving the start of a new transaction.
[0166] Fig.15 1 is a schematic diagram showing an example of a balance screen displayed on the tablet POS 5. In steps S18 and S21, the control unit 50 of the tablet POS 5 causes the display unit 55 to display a balance screen 552. The balance screen 552 is displayed during the settlement process to accept an operation for paying for goods.
[0167] Balance screen 552 includes payment details 5521, balance 5522, and controls 5523 and 5524. Payment details 5521 includes the total amount of the purchase price, the tax amount corresponding to each tax rate, the price discount amount, etc. Balance 5522 displays the amount to be paid. Control 5523 accepts the selection of a payment method. The payment method is, for example, cash, credit card settlement, electronic money settlement, code settlement, gift voucher, etc. Control 5524 accepts the input of a numerical value, etc., and accepts the input of the amount to be paid by the payment method selected in control 5523. Fig.15 The control 5524 illustrated in the example is in an inoperable state. When any control in the control 5523 is selected, the control 5524 is in an operable state.
[0168] In such a system, electronic receipt data for displaying an electronic receipt can be generated by processing in a POS terminal such as a tablet POS 5. In addition, a paper receipt can be issued as needed. In other words, a paper receipt can be issued without generating electronic receipt data.
[0169] Furthermore, as in this system, by providing an API 306 for generating electronic receipt data outside the flow of a series of processes in a transaction, it is possible to maintain the processes related to the generation of the electronic receipt and the processes related to the transaction separately.
[0170] In addition, in the above-mentioned embodiment, the transaction system server 1 and the electronic receipt server 3 are separately provided, but in practice, these can be realized by the same server.
[0171] In addition, during implementation, the trading system server 1 can be implemented by multiple servers. That is, in the embodiment, the various functional units of the trading system server 1 can be separately set up in the multiple servers.
[0172] In addition, DB2 may also be included in the transaction system server 1. Alternatively, the storage unit 19 of the transaction system server 1 may store part or all of the product master file 21, store member information 22, electronic receipt member information 23, transaction information 25, HTML data 26, paper receipt printing data 27, and electronic receipt association data 28 stored in DB2 in the above-mentioned embodiment.
[0173] Furthermore, in the embodiment, each functional unit included in the transaction system server 1 may also be provided in a POS terminal.
[0174] In addition, the above-mentioned embodiment can be implemented in a properly modified manner by changing a part of the structure or function of each of the above-mentioned devices. Therefore, the modified examples involved in the above-mentioned embodiment are described as other embodiments below. In addition, the following mainly describes the points different from the above-mentioned embodiment, uses the same symbols for the points common to the described content, and omits the detailed description. In addition, the modified examples described below can be implemented individually or in proper combination.
[0175] (Second embodiment)
[0176] In this embodiment, the function of issuing an electronic receipt at a later date after a transaction is completed is described.
[0177] For example, a customer visiting a store indicates the transaction ID of a completed transaction and requests issuance of an electronic receipt for the transaction. In this case, the clerk operates the tablet POS 5 to issue an electronic receipt.
[0178] In addition, here, the case where the tablet POS5 at the sales floor or service counter receives the clerk's operation is explained as an example, but in implementation, it can be other POS terminals or a store terminal (store server) installed in the backend of the store.
[0179] The control unit 50 of the tablet POS 5 includes an electronic receipt member designation unit, a transaction designation unit, and a post-issuance request unit. The control unit 10 of the transaction system server 1 includes a transaction acquisition unit and a post-issuance processing unit. The post-issuance processing unit and the API 306 constitute an example of an electronic receipt generation unit.
[0180] The transaction acquisition unit (control unit 10) acquires the designated transaction information 25 from the DB 2 storing the transaction information 25 related to the completed transaction. The post-issuance request unit (control unit 50) requests the electronic receipt generation unit (composed of the post-issuance processing unit (control unit 10) and the API 306) to generate electronic receipt data corresponding to the transaction information 25 acquired by the transaction acquisition unit (control unit 10).
[0181] The electronic receipt member designation unit (control unit 50) operates when the electronic receipt association process is selected from the business menu, and receives input of the member code of the electronic receipt member. The customer shows the member code of the electronic receipt member to the store clerk via the display screen of the customer terminal.
[0182] The transaction designation unit (control unit 50) receives input of a transaction ID presented by a customer.
[0183] The subsequent issuance request unit (control unit 50) issues a signal (issuance request) requesting issuance of an electronic receipt to which the transaction ID is added to the transaction system server 1.
[0184] When receiving the issuance request, the transaction acquisition unit (control unit 10) acquires the transaction information 25 matched with the transaction ID from the DB2.
[0185] The post-issuance processing unit (control unit 10) generates HTML data 26 based on the transaction information 25 in JSON format, and edits the HTML data 26 to generate electronic receipt-related data 28. Then, the post-issuance processing unit (control unit 10) sends the electronic receipt-related data 28 to the electronic receipt server 3.
[0186] The processing in the electronic receipt server 3 is the same as that in the first embodiment. In the electronic receipt server 3, when the electronic receipt-related data 28 is received, the API 306 for generating electronic receipt data operates. The API 306 generates electronic receipt data using the electronic receipt-related data 28. In other words, the API 306 newly generates data for displaying the electronic receipt of this transaction on the terminal device.
[0187] As described above, in the case where, for example, an electronic ticket member cannot present the member information during the transaction, the electronic ticket data can be generated after the transaction. In addition, for example, the transaction information 25 performed before becoming an electronic ticket member can also be formed into an electronic ticket by presenting the previous paper ticket after becoming a member. Alternatively, if a customer who is already a store member further becomes an electronic ticket member, by associating the store member's member code with the electronic ticket member's member code, the transaction information 25 associated with the store member's member code can be extracted from DB2, and the electronic ticket data can be generated based on it.
[0188] Furthermore, if the HTML data 26 matching the transaction ID is stored in the DB 2 , the control unit 10 of the transaction system server 1 uses the data without acquiring the transaction information 25 .
[0189] The program executed in each device of the above-mentioned embodiment is pre-installed in a ROM, etc. and provided. The program executed in each device of the above-mentioned embodiment can be configured to be stored in a computer-readable storage medium such as a CD-ROM, a floppy disk (FD), a CD-R, or a DVD (Digital Versatile Disk) in an installable or executable form and provided.
[0190] Furthermore, the programs executed by the devices of the above-mentioned embodiments may be stored in a computer connected to a network such as the Internet and provided by downloading via the network. Furthermore, the programs executed by the devices of the above-mentioned embodiments may be provided or distributed via a network such as the Internet.
[0191] Although several embodiments of the present invention have been described, these embodiments are presented as examples 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, changes and combinations can be made without departing from the scope of the invention. These embodiments and their variations are included in the scope and spirit of the invention, and are included in the invention described in the claims and their equivalents.
Claims
1. An electronic ticket issuance system, characterized in that: include: The commodity registration processing department aggregates the registered commodity information and edits the transaction information; a printing data generating unit for generating printing data used by a printer for issuing a paper receipt corresponding to the transaction information; an electronic receipt generating unit for generating electronic receipt data as data for displaying an electronic receipt corresponding to the transaction information on a terminal device; as well as The settlement processing unit performs settlement processing corresponding to the transaction information, requests the print data generation unit to generate the print data, and requests the electronic receipt generation unit to generate the electronic receipt data when information specifying an electronic receipt member has been obtained during the transaction.
2. The electronic ticket issuance system according to claim 1, wherein: Also includes: a transaction acquisition unit that acquires the specified transaction information from a predetermined storage device storing the transaction information related to the completed transaction; and The post-issuance request unit requests the electronic receipt generation unit to generate the electronic receipt data corresponding to the transaction information acquired by the transaction acquisition unit.
3. The electronic ticket issuance system according to claim 1, wherein: The transaction information is text data. The print data generating unit generates the print data based on structured data converted by structuring the transaction information. The electronic receipt generating unit generates the electronic receipt data based on the structured data.
4. The electronic ticket issuance system according to claim 1, wherein: Also includes: The display control unit displays a transaction completion screen indicating that the settlement process has been completed on the display unit.
5. The electronic ticket issuance system according to claim 4, wherein: The transaction completion screen includes any one of a message indicating issuance of an electronic receipt and a message indicating issuance of a paper receipt.
6. The electronic ticket issuance system according to claim 1, wherein: The electronic invoice issuance system includes POS terminals, servers and electronic invoice servers. The commodity registration processing unit is composed of the POS terminal and the server. The print data generating unit includes the server. The electronic receipt generating unit includes the electronic receipt server. The settlement processing unit is constituted by the server, the POS terminal, and the server.
7. The electronic ticket issuance system according to claim 3, wherein: Also includes: The electronic receipt-related data generating unit generates electronic receipt-related data, which is a basis for generating electronic receipt data, based on the structured data.
8. The electronic ticket issuance system according to claim 7, wherein: The electronic receipt-related data generating unit extracts information indicating information used for the electronic receipt-related data from the structured data, and generates the electronic receipt-related data by adding the extracted information to the print data generated by the print data generating unit.
9. The electronic ticket issuance system according to claim 1, wherein: The settlement processing unit determines whether the customer is an electronic receipt member after performing the settlement processing, and if the customer is an electronic receipt member, requests the generation of the electronic receipt data without making a request to the print data generating unit.
10. A storage medium storing a program for causing a computer to function as: The commodity registration processing department aggregates the registered commodity information and edits the transaction information; a printing data generating unit for generating printing data used by a printer for issuing a paper receipt corresponding to the transaction information; an electronic receipt generating unit for generating electronic receipt data as data for displaying an electronic receipt corresponding to the transaction information on a terminal device; as well as The settlement processing unit performs settlement processing corresponding to the transaction information, requests the print data generation unit to generate the print data, and requests the electronic receipt generation unit to generate the electronic receipt data when information specifying an electronic receipt member has been obtained during the transaction.
