Programs and mobile devices
Patent Information
- Application Number
- JP2024026504
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2024-02-26
- Publication Date
- 2025-03-13
- Estimated Expiration
- 2033-09-06
Smart Images

Figure 0007645411000001 
Figure 0007645411000002 
Figure 0007645411000003
Abstract
Description
[Technical field]
[0001] An embodiment of the present invention is , P Program and mobile devices Regarding. [Background technology]
[0002] Conventionally, there is known a mechanism for printing receipt data, including sales data of a product purchased from a store, on a receipt given to a customer when paying for the product at a POS terminal, or for electronically transmitting the receipt data to the customer's mobile terminal or the like.
[0003] By converting receipt data into electronic receipt data in this way, customers can automatically record their household accounts electronically, which is beneficial for them. In addition, by receiving electronic receipt data on a mobile device, etc., it is also beneficial for the stores that introduce the system, as they can reduce the consumption of receipt paper.
[0004] However, in the conventional technology, the contents of an electronic receipt once sent could not be changed, and only the original electronic receipt could be viewed even if the contents of the transaction were changed, for example, when a return, a subtraction, a partial cancellation, etc. was performed. Therefore, when the contents of the transaction were changed, a paper receipt printed by the POS terminal was received. Summary of the Invention [Problem to be solved by the invention]
[0005] The problem to be solved by this invention is to make it possible to view a new electronic receipt that reflects the changes made to a transaction when the transaction details are modified after the transaction is completed. Napu Program and mobile devices The purpose of this project is to provide [Means for solving the problem]
[0006] The program according to the embodiment causes a computer included in the mobile terminal to a member association section that associates the mobile terminal with a member code of the customer; and a member code display section that displays the member code associated by the member association section as a code symbol on a display section of the mobile terminal.An electronic receipt management server that manages electronic receipt data based on a transaction with a customer generated by a product sales data processing device, corrected electronic receipt data changed from the electronic receipt data due to a change in the transaction, and returned electronic receipt data changed from the electronic receipt data due to a return process of returning at least a part of the products related to the transaction, and makes the corrected electronic receipt data or the returned electronic receipt data before the change in the electronic receipt data unavailable for viewing. , the member code associated by the member association unit is specified. Electronic receipt viewing inquiry Send a first processing unit, and in response to the electronic receipt viewing inquiry by the first processing unit, 、 From the electronic receipt management server At least one of the electronic receipt data, the returned electronic receipt data, and the corrected electronic receipt data. a second processing unit that performs a process of receiving the In response to the above The mobile terminal functions as a third processing unit that performs processing to display the received information on a display unit provided in the mobile terminal.
[0007] The mobile terminal of the embodiment includes: a display unit, a member association unit that associates the terminal itself with a member code of a customer, and a member code presenting unit that displays the member code associated by the member association unit as a code symbol on the display unit; An electronic receipt management server that manages electronic receipt data based on a transaction with a customer generated by a product sales data processing device, corrected electronic receipt data changed from the electronic receipt data due to a change in the transaction, and returned electronic receipt data changed from the electronic receipt data due to a return process of returning at least a part of the products related to the transaction, and makes the corrected electronic receipt data or the returned electronic receipt data before the change in the electronic receipt data unavailable for viewing. , the member code associated by the member association unit is specified. Electronic receipt viewing inquiry Send a first processing unit, and in response to the electronic receipt viewing inquiry by the first processing unit, 、 From the electronic receipt management server At least one of the electronic receipt data, the returned electronic receipt data, and the corrected electronic receipt data. a second processing unit that performs a process of receiving the In response to the above and a third processing unit that performs processing to display the received information on the display unit. [Brief description of the drawings]
[0008] [Figure 1]FIG. 1 is a diagram showing the overall configuration of an electronic receipt system according to an embodiment. [Diagram 2] FIG. 2 is a transition diagram showing an example of screen transition during customer membership registration. [Diagram 3] FIG. 3 is a block diagram showing a configuration of a main part of the POS terminal. [Figure 4] FIG. 4 is a block diagram showing the main configuration of the electronic receipt server. [Diagram 5] FIG. 5 is a block diagram showing a configuration of a main part of the electronic receipt management server. [Figure 6] FIG. 6 is a memory map showing a part of the electronic receipt management area of the electronic receipt management server. [Figure 7] FIG. 7 is a block diagram showing a main configuration of a mobile terminal. [Figure 8] FIG. 8 is a functional block diagram relating to electronic receipt processing in the POS terminal. [Figure 9] FIG. 9 is a diagram illustrating an example of receipt data. [Figure 10] FIG. 10 is a diagram illustrating an example of an electronic receipt. [Figure 11] FIG. 11 is a flowchart showing the flow of electronic receipt processing in the POS terminal. [Figure 12] FIG. 12 is a flow chart showing the flow of receipt processing when the collective cancel key on the POS terminal is operated. [Figure 13] FIG. 13 is a flow chart showing the flow of receipt processing when the reissue key on the POS terminal is operated. [Figure 14] FIG. 14 is a flow chart showing the flow of receipt processing when the return key on the POS terminal is operated. [Figure 15] FIG. 15 is a diagram illustrating an example of a new electronic receipt generated after the return process. [Figure 16] FIG. 16 is a flow chart showing the flow of receipt processing when the register minus key on the POS terminal is operated. [Figure 17] FIG. 17 is a flow chart showing the flow of receipt processing when the partial cancel key on the POS terminal is operated. [Figure 18] FIG. 18 is a flowchart showing the flow of the electronic receipt management process and the information transmission process in the electronic receipt server. [Figure 19] FIG. 19 is a functional block diagram relating to the electronic receipt management process and the product information transmission process in the electronic receipt management server. [Figure 20] FIG. 20 is a flowchart showing the flow of the electronic receipt management process and the product information transmission process in the electronic receipt management server. [Figure 21] FIG. 21 is a flowchart showing the flow of the electronic receipt management process and the product information transmission process in the electronic receipt management server. [Figure 22] FIG. 22 is a flowchart showing the flow of the electronic receipt management process and the product information transmission process in the electronic receipt management server. [Figure 23] FIG. 23 is a flowchart showing the flow of the electronic receipt management process and the product information transmission process in the electronic receipt management server. [Figure 24] FIG. 24 is a functional block diagram relating to the electronic receipt receiving process and the electronic receipt viewing process in the mobile terminal. [Diagram 25] FIG. 25 is a flowchart showing the flow of the electronic receipt receiving process and the electronic receipt viewing process in the mobile terminal. [Figure 26] FIG. 26 is a diagram showing an example of an electronic receipt displayed on the display unit of the mobile terminal. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, one embodiment of the present invention will be described with reference to the drawings.
[0010] 1 is a diagram showing the overall configuration of an electronic receipt system according to an embodiment. As shown in Fig. 1, the electronic receipt system includes a POS (Point of Sales) terminal 1, a store server 2, an electronic receipt server 3, an electronic receipt management server 4, a promotion setting terminal 5, a promotion management server 6, and a mobile terminal 7.
[0011] The POS terminal 1 and the store server 2 are provided in the store P1. The POS terminal 1 and the store server 2 are communicatively connected via an in-store network N1 such as a LAN (Local Area Network). The POS terminal 1 and the store server 2 can be connected to a network N2 connecting the store P1 and the headquarters P2 via a network device (not shown) such as a router connected to the in-store network N1. Here, the network N2 is, for example, a dedicated line such as the Internet or a VPN (Virtual Private Network).
[0012] The POS terminal 1 is a product sales data processing device that executes product sales data processing. The POS terminal 1 generates receipt data including transaction details of the product to be paid for, and outputs a paper receipt by printing the receipt data with a printing unit 13 (described later). The POS terminal 1 also outputs (transmits) electronic receipt data obtained by converting the data format of the receipt data to the electronic receipt server 3 via the network N2. There is no particular limit to the method of transmitting the electronic receipt data, and general-purpose protocols such as HTTP and HTTPS may be used. There is no particular limit to the number of POS terminals 1 provided in the store P1, and there may be more than one.
[0013] The store server 2 comprehensively manages the product sales data processing and the like performed by the POS terminal 1. For example, the store server 2 stores and manages the product sales data generated by the product sales data processing of the POS terminal 1, and stores and manages product data files and the like used in the product sales data processing.
[0014] There is no particular limit to the number of POS terminals 1 placed in the store P1, and multiple terminals may be used. In addition, in this embodiment, a configuration in which the POS terminal 1 outputs electronic receipt data will be described, but the present invention is not limited to this. The store server 2 or a conversion device (not shown) may convert the data format of receipt data generated by the POS terminal 1, and the electronic receipt data may be output to the electronic receipt server 3.
[0015] The electronic receipt server 3 is installed in the headquarters P2 of a company that operates a store or a chain store (hereinafter referred to as a store) and functions as a receipt management server for the company that manages receipt data for each company that operates the store. The electronic receipt server 3 has functions such as sales management, sales analysis, and inventory management for the company that operates the store.
[0016] The electronic receipt server 3 also receives, via the network N2, the electronic receipt data transmitted from the POS terminal 1. The electronic receipt server 3 also transmits the received electronic receipt data to the electronic receipt management server 4 via the network N3 that connects the head office P2 and the electronic receipt center P3.
[0017] Here, the network N3 is, for example, a dedicated line such as the Internet or a VPN, etc. Furthermore, there is no particular restriction on the method of transmitting the electronic receipt data, and a general-purpose protocol such as HTTP or HTTPS may be used.
[0018] The electronic receipt management server 4 is provided in an electronic receipt center P3. The electronic receipt center P3 is, for example, a third-party organization other than a company that manages receipt data using the electronic receipt server 3. The electronic receipt server 3 may also be managed by a third-party organization or the like.
[0019] The electronic receipt management server 4 functions as a customer receipt management server that collectively manages receipt data of various companies that operate stores. The electronic receipt management server 4 stores and manages member data such as the name of each customer (member) who has registered as a member by a procedure to be described later, a member code which is a customer code, and destination information (e.g., email address) of the mobile terminal 7 to which the electronic receipt data is to be sent, in a member master stored in a database DB. Note that a member management server that stores and manages member data may be provided separately from the electronic receipt management server 4.
[0020] Furthermore, the electronic receipt management server 4 receives the electronic receipt data transmitted from the electronic receipt server 3 via the network N3, and stores and manages the electronic receipt data in an electronic receipt management area 43a (described later) held in the database DB. More specifically, the electronic receipt data includes elements such as a membership code in addition to the transaction details of the product (product sales data), and is managed in association with the membership data of the corresponding member.
[0021] The electronic receipt management server 4 also receives additional information such as campaign information related to a campaign for a specific product from a promotion setting terminal 5 connected via a network N4 described later, and stores and manages this additional information in an additional information management area 43b described later held in the database DB. More specifically, the additional information is managed in association with an element that meets a predetermined condition among elements included in the electronic receipt data stored in the database DB.
[0022] Furthermore, when the electronic receipt management server 4 stores the electronic receipt data in the database DB, it identifies the destination (mobile terminal 7) by referring to the destination information associated with the membership code of the electronic receipt data. Then, the electronic receipt management server 4 transmits the electronic receipt data stored in the database DB to the destination via the network N5 described later. Note that, if additional information is associated with the electronic receipt data, the additional information is also transmitted to the destination.
[0023] Furthermore, when the electronic receipt management server 4 receives an electronic receipt inquiry specifying a membership code from a mobile terminal 7 connected via a network N5 described later, the electronic receipt management server 4 extracts electronic receipt data corresponding to the membership code from the database DB and transmits it to the mobile terminal 7. Note that, if additional information is associated with the electronic receipt data, the additional information is also transmitted to the mobile terminal 7 that made the inquiry.
[0024] The promotion setting terminal 5 and the promotion management server 6 are installed in a consumer goods manufacturer P4 or the like. The promotion setting terminal 5 is a terminal device such as a PC (Personal Computer) and transmits additional information to the electronic receipt management server 4 via a network N4. Here, the network N4 is, for example, a dedicated line such as the Internet or a VPN. Furthermore, there is no particular restriction on the method of transmitting the additional information, and a general-purpose protocol such as HTTP or HTTPS may be used.
[0025] The mobile terminal 7 is a terminal device used by a user (customer) of the system, such as a smartphone, a mobile phone, a PDA (Personal Digital Assistant), a tablet computer, etc. The mobile terminal 7 is equipped with an application such as a web browser for browsing various information provided on the network N5. Note that a terminal device such as a PC may be used instead of the mobile terminal 7.
[0026] The mobile terminal 7 registers as a member of the system by accessing the electronic receipt management server 4 via the network N5. Here, the network N5 is the Internet or various public networks.
[0027] Incidentally, in this system, a customer's membership registration is performed, for example, in the following procedure. The customer sends a blank email from the mobile terminal 7 to the electronic receipt management server 4 via the network N5. The electronic receipt management server 4 sends a URL (Uniform Resource Locator) indicating a page for membership registration to the received email address. The customer accesses the URL indicating the page for membership registration from the mobile terminal 7 to display an input screen for inputting information required for membership registration (name, destination information, etc.). After the customer has finished inputting the necessary information, the electronic receipt management server 4 executes the membership registration in the member master. Thereafter, the electronic receipt management server 4 delivers a membership registration completion email including a membership code (customer code) and a password to the mobile terminal 7. This completes the membership registration.
[0028] After the member registration as described above, the mobile terminal 7 displays the customer's membership code as a code symbol CS such as a barcode or two-dimensional code on the display unit 73, as shown in Fig. 2. The customer presents the code symbol CS displayed on the mobile terminal 7 to a store clerk when settling a transaction at store P1. The store clerk reads the code symbol CS displayed on the mobile terminal 7 with a code reading unit 15 (see Fig. 3), which is configured, for example, by a scanner, connected to the POS terminal 1. This makes it possible to associate the customer's membership code with receipt data generated after settlement by product sales data processing in the POS terminal 1.
[0029] Furthermore, after a payment (transaction) is made at the POS terminal 1, the mobile terminal 7 receives electronic receipt data of the transaction transmitted from the electronic receipt management server 4 via the network N5. By transmitting an electronic receipt inquiry specifying a membership code to the electronic receipt management server 4 via the network N5, the mobile terminal 7 receives electronic receipt data of the member from the electronic receipt management server 4. Furthermore, the mobile terminal 7 displays the received electronic receipt data on a display unit 73 described later (see FIG. 26).
[0030] Furthermore, when additional information is associated with the received electronic receipt data, the mobile terminal 7 displays an icon or the like instructing the user to apply for a plan related to the campaign based on the additional information (see FIG. 26). For example, the icon can be set with connection destination information (such as a URL) indicating the destination to apply for the plan (e.g., the promotion management server 6). In this case, when the mobile terminal 7 accepts an operation on the icon, it accesses the promotion management server 6 via the network N5 and executes a process related to the application.
[0031] The promotion management server 6 is a server device that accepts access from the mobile terminal 7 connected via the network N5. The promotion management server 6 has an entry master that manages the application history for each campaign type in association with a membership code for identifying each member. When the promotion management server 6 receives an application for a campaign from the mobile terminal 7 via the network N5, it manages the application history for each campaign type in association with the membership code. When the mobile terminal 7 accesses the promotion management server 6, it transmits the membership code related to the user (member) of its own device that is stored in receipt data or the like.
[0032] In the electronic receipt system configured as above, electronic receipt data (receipt data) indicating the details of a transaction (payment) generated by processing product sales data at the POS terminal 1 of the store P1 is transmitted to the electronic receipt management server 4 via the electronic receipt server 3 and published on the Web. Therefore, a mobile terminal 7 having a Web browser installed can download the receipt data published on the Web to the mobile terminal 7 and view it on the Web browser by specifying a URL (Uniform Resource Locator). Note that an application for viewing receipt data may be installed on the mobile terminal 7 to view the receipt data.
[0033] Next, the configuration of the main devices that constitute the electronic receipt system of this embodiment will be described.
[0034] First, a POS terminal 1, which is a product sales data processing device, will be described. Fig. 3 is a block diagram showing the configuration of the POS terminal 1. As shown in Fig. 3, the POS terminal 1 has a control unit 11 that performs overall control of various calculations and each unit of the POS terminal 1. The control unit 11 is a computer that is configured with a CPU (Central Processing Unit), a ROM (Read Only Memory) that stores various programs and data, a RAM (Random Access Memory) that temporarily stores various programs and rewritably stores various data, an RTC (Real Time Clock) unit that keeps track of the current date and time, and the like.
[0035] The control unit 11 is connected to the operation unit 12, the printing unit 13, the display unit 14 and the code reading unit 15 via a bus 18.
[0036] The operation unit 12 has various operation keys for the operator to perform operation inputs, such as number input keys for inputting numerical values, cursor keys and selection decision keys for selecting a specific item, a subtotal key for instructing output of the total of products for which sales are registered in a transaction, and a closing key for declaring that a transaction has been closed and the price has been settled.
[0037] The operation unit 12 is equipped with a keyboard on which keys such as a closing key 121, a bulk cancel key 122, a reissue key 123, a return key 124, a cash register minus key 125, and a partial cancel key 126 are arranged. The closing key 121 is a key operated when completing a transaction with a customer. The bulk cancel key 122 is a key operated when canceling the transaction in the middle of the operation. The reissue key 123 is a key operated when reissuing a receipt on which product information and payment information of the transaction are printed after the transaction is completed. The return key 124 is a key operated when returning all or part of the purchased products after the transaction is completed. The cash register minus key 125 is a key operated when canceling the transaction after the transaction is completed in the event of an input error due to an operation error or the like. The partial cancel key 126 is a key operated when canceling some products after the transaction is completed.
[0038] The printing unit 13 is composed of a printer device that prints receipts, journals, etc. The printing unit 13 is equipped with a cutting mechanism (not shown) that cuts paper such as roll paper on which printing is to be performed, and cuts the paper according to a cut command described later.
[0039] The display unit 14 is, for example, a liquid crystal display, and displays various information such as the name and price of the product registered for sale, the total amount of one transaction for which payment has been declared, the amount of change, etc. The display unit 14 includes an operator display 14a that displays various information to the cashier, and a customer display 14b that displays various information to the customer. The display unit 14 may be configured as a touch panel, in which case the touch panel functions as the operation unit 12.
[0040] The code reading unit 15 is a scanner device that optically reads code symbols such as barcodes and two-dimensional codes. The code reading unit 15 reads, for example, a code symbol attached to a product or a code symbol displayed on the mobile terminal 7, and the control unit 11 inputs information stored in the read code symbol. It is assumed that the code symbol attached to the product holds a product code for identifying the product. It is also assumed that the code symbol displayed on the mobile terminal 7 holds a membership code (customer code) for identifying the customer carrying the mobile terminal 7. It is also assumed that the membership code may be magnetically or electrically stored in the mobile terminal 7. In this case, the stored membership code is read by a dedicated reading device. The control unit 11 inputs the read membership code.
[0041] The control unit 11 is also connected to a communication I / F (interface) 16 via a bus 18, and can be connected to an in-store network N1 and a network N2 via this communication I / F 16.
[0042] The control unit 11 is also connected to the storage unit 17 via the bus 18. The storage unit 17 is, for example, an auxiliary storage device such as a hard disk drive (HDD) or a solid state drive (SSD). The storage unit 17 stores programs for executing various POS operations including product sales data processing. The storage unit 17 also stores various data files related to product sales data processing, such as a product data file that stores product data such as the product name, product code, and unit price of each product. The storage unit 17 also stores a receipt data processing program 17a for performing product sales data processing and processing related to receipt data.
[0043] The storage unit 17 also stores in the identification code management area 17b a POS number for identifying the POS terminal 1 from other POS terminals 1, a company code (identification code of the company operating the store), a business type / business format code, a store code indicating the store P1 in which the POS terminal 1 is installed, and the like. The business type / business format code is a code (classification code) for distinguishing the business type / business format of the store, such as a convenience store, supermarket, department store, pharmacy, restaurant, or eating and drinking establishment. The business type / business format can be changed as desired by the user. The company code (identification code of the company operating the store) and the business type / business format code may be registered in the electronic receipt server 3.
[0044] The storage unit 17 also stores receipt data schema 17c which describes the conversion rules for converting receipt data in unstructured format into receipt data in structured format (hereinafter referred to as electronic receipt data).The storage unit 17 also stores the processed product sales data and the read membership code in the data storage unit 17d.
[0045] Next, the configuration of the electronic receipt server 3 that functions as a receipt management server for a company will be explained using the block diagram in Fig. 4. The electronic receipt server 3 has a control unit 31 that performs various calculations and overall control of each unit of the electronic receipt server 3. The control unit 31 is a computer that is composed of a CPU, a ROM that stores various programs and data, a RAM that temporarily stores various programs and rewrites various data, an RTC unit that keeps track of the current date and time, etc.
[0046] The control unit 31 is capable of connecting to the network N2 and the network N3 via a communication I / F 32 connected to a bus 34. The control unit 31 is also connected to a storage unit 33 via the bus 34.
[0047] The storage unit 33 stores electronic receipt data for each company operating a store in the electronic receipt management area 33a. The electronic receipt data includes a company code (an identification code of the company operating the store), a business type / category code, a store code, a customer's membership code, a POS number of the POS terminal 1, a receipt number, product sales data, etc.
[0048] The storage unit 33 also stores an electronic receipt management program 33b for managing electronic receipt data in the electronic receipt management area 33a. The storage unit 33 also stores an information transmission program 33c for transmitting the receipt data managed in the electronic receipt management area 33a to the electronic receipt management server 4.
[0049] Next, the configuration of the electronic receipt management server 4 that functions as a customer receipt management server will be described with reference to the block diagram of Fig. 5. As shown in Fig. 5, the electronic receipt management server 4 has a control unit 41 that performs overall control of various calculations and each unit of the electronic receipt management server 4. The control unit 41 is a computer that is configured with a CPU, a ROM that stores various programs and data, a RAM that temporarily stores various programs and rewritably stores various data, an RTC unit that keeps track of the current date and time, etc.
[0050] The control unit 41 can be connected to the networks N3, N4, and N5 via a communication I / F 42 connected to a bus 44. The control unit 41 is also connected to a storage unit 43 via the bus 44.
[0051] The storage unit 43 has a member master management area (not shown) for storing and managing member master data, as well as an electronic receipt management area 43a for collectively storing electronic receipt data of various companies operating stores. More specifically, the electronic receipt management area 43a manages electronic receipt data of various companies operating stores for each member.
[0052] The electronic receipt includes a membership code, a company code (an identification code for the company that operates the store), a store code, the POS number of the POS terminal 1, a receipt number, product sales data (including date and time data), etc. Therefore, for example, a consumer goods manufacturer P4 or the like can obtain unique proof information for purchased products related to the manufacturer from this electronic receipt data under specific conditions (for example, limited to a specific company that operates a store, limited to a specific area, limited to a specific time, etc.). The consumer goods manufacturer P4 is a manufacturer of food, beverages, clothing, cosmetics, medicines, household goods, etc.
[0053] The storage unit 43 also stores various additional information in the additional information management area 43b in association with the desired product (product code), member (member code), company (company code), and store (store code). Here, the additional information is, for example, the desired product information and campaign information related to a campaign associated with specific conditions (for example, a specific company that operates a store, a specific area, a specific store, a specific time, etc.). The additional information includes access information such as a URL that links to a homepage associated with a company's campaign, a URL that links to a homepage associated with a company's commercial, and a URL that links to a company's coupon.
[0054] The storage unit 43 also stores a member management program (not shown) for managing the member master in the member master area, as well as an electronic receipt management program 43c for managing electronic receipt data and additional information of each company in an electronic receipt management area 43a and an additional information management area 43b. The storage unit 43 also stores an information transmission program 43d for transmitting electronic receipt data and additional information of a desired product to the mobile terminal 7. The member master management area, the electronic receipt management area 43a, and the additional information management area 43b correspond to the database DB shown in FIG.
[0055] Next, the electronic receipt management area 43a of the electronic receipt management server will be described with reference to the memory map of FIG.
[0056] 6, the electronic receipt management area 43a includes a receipt number section 43a1 and a plurality of electronic receipt data storage sections 43a2 to 43an corresponding to each receipt number section 43a1. In the example of FIG. 6, three electronic receipt data storage sections are shown: an electronic receipt data storage section 43a2, an electronic receipt data storage section 43a3, and an electronic receipt data storage section 43a4. The electronic receipt data storage section 43a2 includes an electronic receipt data section 43a21 and a display permission flag section 43a22. The electronic receipt data storage section 43a3 includes an electronic receipt data section 43a31 and a display permission flag section 43a32. The electronic receipt data storage section 43a4 includes an electronic receipt data section 43a41 and a display permission flag section 43a42.
[0057] The receipt number section 43a1 already stores the receipt number for which electronic receipt data has been generated. When a receipt number that has not yet been stored is received, the new receipt number is stored in the unused area of the receipt number section 43a1.
[0058] The electronic receipt data section 43a21 and the electronic receipt data section 43a31 store different electronic receipt data corresponding to the receipt number stored in the receipt number section 43a1. There are cases where electronic receipt data has not yet been stored in the electronic receipt data section 43a31.
[0059] The display permission flag unit 43a22 and the display permission flag unit 43a32 store flags indicating whether the electronic receipt data stored in the electronic receipt data unit 43a21 and the electronic receipt data unit 43a31 can be displayed on the mobile terminal 7. When the stored flag is "1", the control unit 41 controls the electronic receipt so that it can be displayed on the mobile terminal 7, and when the stored flag is "0", the control unit 41 controls the electronic receipt data so that it cannot be displayed on the mobile terminal 7.
[0060] When a certain receipt number and electronic receipt data corresponding to the receipt number are received from the electronic receipt server 3, if the receipt number is a first receipt number, the receipt number is stored in the receipt number section 43a1 and the received electronic receipt data is stored in the corresponding electronic receipt data section 43a21. Then, a flag "1" is stored in the display permission flag section 43a22 corresponding to the electronic receipt data section 43a21. In this case, the electronic receipt data stored in the electronic receipt data section 43a21 can be displayed on the mobile terminal 7.
[0061] Next, when new electronic receipt data corresponding to the same receipt number is received, the flag stored in the display permission flag unit 43a22 is changed to "0", and the newly received electronic receipt data is stored in the electronic receipt data unit 43a31 corresponding to the receipt number. Then, the flag "1" is stored in the display permission flag unit 43a32 corresponding to the electronic receipt data unit 43a31. In this case, the electronic receipt data stored in the electronic receipt data unit 43a21 cannot be displayed on the mobile terminal 7. On the other hand, the electronic receipt data stored in the electronic receipt data unit 43a31 can be displayed on the mobile terminal 7.
[0062] Next, the configuration of the mobile terminal 7 will be described with reference to the block diagram of Fig. 7. As shown in Fig. 7, the mobile terminal 7 includes a control unit 71 that performs overall control of various calculations and each unit of the mobile terminal 7. The control unit 71 is a computer that includes a CPU, a ROM that stores various programs and data, a RAM that temporarily stores various programs and rewritably stores various data, an RTC unit that keeps track of the current date and time, and the like.
[0063] The operation unit 72 is connected to the display unit 73 via a bus 76. The operation unit 72 has various operation keys and a pointing device for a user (customer) to perform operation input. The display unit 73 is, for example, a liquid crystal display, and displays various information such as electronic receipt data described below. The display unit 73 may be configured as a touch panel, in which case the touch panel functions as the operation unit 72.
[0064] The control unit 71 is also connected to a communication I / F 74 via a bus 76, and can be connected to a network N5 via the communication I / F 74. Note that the control unit 71 may be configured to be connectable to an in-store network N1 via the communication I / F 74.
[0065] The control unit 71 is also connected to a storage unit 75 via a bus 76. The storage unit 75 stores a Web browser for viewing various information (contents) published on the Web, as well as an electronic receipt compatible program 75a for receiving electronic receipt data from the electronic receipt management server 4, and an electronic receipt viewing program 75b for viewing the received receipt data.
[0066] Next, the control process of each unit constituting the system of this embodiment will be described.
[0067] First, the electronic receipt process executed by the control unit 11 of the POS terminal 1 according to the receipt data processing program 17a will be described with reference to FIGS.
[0068] 8 is a functional block diagram showing the functional configuration of the POS terminal 1. In the POS terminal 1, the control unit 11 realizes electronic receipt data transmission means 111, changed receipt data generation means 112, control means 113, corrected receipt data generation means 114, and judgment means 115. In terms of actual hardware, the CPU of the control unit 11 reads out the receipt data processing program 17a from the storage unit 17 and executes it to realize the electronic receipt data transmission means 111, changed receipt data generation means 112, control means 113, corrected receipt data generation means 114, and judgment means 115.
[0069] The electronic receipt data transmitting means 111 has a function of generating electronic receipt data from receipt data generated based on transaction information of the product that has been paid for in the transaction, and transmitting the electronic receipt data to the electronic receipt server 3, which is an external device.
[0070] The changed receipt data generating means 112 has a function of generating new changed receipt data for any changes made to the transaction information.
[0071] If the changed receipt data generated by the changed receipt data generation means 112 includes a membership code, which is customer identification information that identifies a customer, the control means 113 has a function of generating changed electronic receipt data from the changed receipt data and transmitting it to an external device, as well as outputting print data based on the changed electronic receipt data to the printing unit.
[0072] The corrected receipt data generating means 114 has a function of generating new corrected receipt data following changes to the transaction information.
[0073] The determination means 115 has a function of determining whether or not the changed receipt data includes a membership code, which is customer identifying information.
[0074] Fig. 9 is a diagram showing a schematic example of receipt data. Here, receipt data is text data in an unstructured format, etc., and is used for printing by the printing unit 13. As shown in Fig. 9, receipt data includes elements such as the above-mentioned product sales data D1 and membership code D2. Here, the product sales data D1 includes the product names (product codes) of the products that were the subject of the payment and their prices, the total price of each product, the amount paid by the customer, the amount of change, etc.
[0075] The receipt data also includes elements such as a company code (company name) D3 indicating the company that operates the store, a store code (store name) D4, the store's telephone number D5, address D6, transaction date and time D7, transaction number (receipt number) D8, register number D9, and person in charge name D10. Note that the elements included in the receipt data are not limited to the example in FIG. 9, and may include other elements such as an industry / business type code, or elements such as the telephone number D5 and address D6 may be removed.
[0076] Fig. 10 is a diagram showing an example of electronic receipt data. As shown in Fig. 10, the electronic receipt data is composed of data (structured document) in a structured format such as XML or CSV. Fig. 10 shows an example in which each element (D1 to D10) of the receipt data shown in Fig. 9 is converted into XML format.
[0077] Conversion from receipt data to electronic receipt data is performed based on conversion rules described in the receipt data schema 17c. Specifically, the receipt data schema 17c defines predetermined elements that make up the receipt data and attribute information (tags, etc.) that indicates the attributes of the elements. The control unit 11 generates electronic receipt data in a structured format as shown in Fig. 10 by structuring each element of the receipt data using the corresponding attribute information. By generating electronic receipt data in such a structured format, the elements included in the electronic receipt data can be used efficiently, providing various advantages in terms of data management.
[0078] 11 is a flowchart showing the flow of electronic receipt data processing in the POS terminal 1. First, the control unit 11 of the POS terminal 1 determines whether the code symbol (product code) attached to the product or the code symbol (membership code) displayed on the mobile terminal 7 has been read by the code reading unit 15 (step S11).
[0079] When it is determined that the code symbol has been read (step S11; Yes), the control unit 11 determines whether the information input by reading is a product code (step S12).
[0080] If it is determined in step S12 that the input is a product code (step S12; Yes), the control unit 11 reads out product data for the product identified by the product code from the product data file, and executes product sales data processing to calculate the payment amount based on the unit price included in the product data (step S13). Next, the control unit 11 stores the product sales data processed during the product sales data processing in the data storage unit 17d (step S14).
[0081] If it is determined in step S12 that the input is not a product code, control unit 11 determines whether or not a membership code has been input (step S15). If it is determined that a membership code has been input (step S15; Yes), control unit 11 stores the membership code in data storage unit 17d (step S16). If it is determined that a membership code has not been input (step S15; No), control unit 11 returns to step S12 and waits.
[0082] To input the membership code into the POS terminal 1, for example, a customer who is a member displays a code symbol including the membership code, etc. on the display unit 73 of the mobile terminal 7, and a store clerk or the customer who is a member reads it with the code reader 15 of the POS terminal 1. The control unit 11 may be configured to perform an exclusive process so that the membership code input during one transaction is unique.
[0083] Next, in step S17, the control unit 11 determines whether or not the start of closing processing has been instructed by operating the closing key 121, etc. (step S17). If the start of closing processing has not been instructed (step S17; No), the process returns to step S11. If the start of closing processing has been instructed (step S17; Yes), the control unit 11 generates receipt data based on the product sales data and membership code stored in the data storage unit 17d (step S18).
[0084] Next, the control unit 11 generates journal data based on the generated receipt data (step S19), and stores the generated journal data in the data storage unit 17d (step S19).
[0085] Next, the control unit 11 determines whether or not a membership code is included in the receipt data (step S20). If it determines that a membership code is not included (step S20; No), the control unit 11 outputs the receipt data for one transaction to the printing unit 13 (step S23), and ends this process. As a result, the printing unit 13 prints the receipt data on paper, and then cuts the paper, thereby printing and outputting a paper receipt for one transaction.
[0086] On the other hand, if the receipt data includes a membership code (Step S20; Yes), the control unit 11 generates electronic receipt data by converting the unstructured data format of the receipt data into a structured format (Step S21). Then, the control unit 11 (electronic receipt data transmission means 111) transmits the generated electronic receipt data together with the receipt number of the receipt to the electronic receipt server 3 via the communication I / F 16 (Step S22), and ends this process. The control unit 11 also transmits the receipt data together with the receipt number to the electronic receipt server 3. The electronic receipt server 3 stores the received receipt data and electronic receipt data in association with the receipt number.
[0087] Furthermore, if it is determined in step S11 that the code symbol has not been read (step S11; No), the control unit 11 determines whether any of the specific keys, the all cancel key 122, the reissue key 123, the return key 124, the register minus key 125, and the partial cancel key 126, has been operated (step S24). If it is determined that any of these keys has been operated (step S24; Yes), the control unit 11 inputs the specific instruction code of each key and executes the process associated with the operation of each key (described in Figs. 12, 13, 14, 16, and 17) (step S25).
[0088] FIG. 12 is a flowchart showing in detail the control process of step S25 when the control unit 11 determines in step S24 that the all cancel key 122 has been operated.
[0089] 12, when the all-at-once cancel key 122 is operated, the control unit 11 inputs a all-at-once cancel code, which is a key code indicating that the all-at-once cancel key 122 has been operated (step S41). The control unit 11 then judges whether or not product sales data exists in the data storage unit 17d (step S42). The product sales data is data that has been subjected to the product sales data processing in step S13. If it is judged that the product sales data does not exist (step S42; No), the control unit 11 executes error processing assuming that the operation of the all-at-once cancel key 122 is invalid (step S49), and ends the processing.
[0090] If it is determined that product sales data exists (step S42; Yes), the control unit 11 determines whether an execution key (not shown) for executing the batch cancellation has been operated (step S43). The control unit 11 waits until the execution key is operated (step S43; No), and if it is determined that the execution key has been operated (step S43; Yes), the control unit 11 executes a batch cancellation process for the data processed in step S13, which cancels the transactions up to that point and makes them non-existent (step S44). The control unit 11 then generates batch cancellation receipt data (changed receipt data) including, for example, header characters "Batch Cancellation" based on the batch canceled product sales data and, if a membership code is stored in the data storage unit 17d, the membership code (step S45).
[0091] Next, the control unit 11 judges whether the generated collective cancellation receipt data includes a membership code (step S46). If it judges that the membership code is not included (step S46; No), the printing unit 13 issues a receipt for the store copy based on the collective cancellation receipt data with the header text "Collective Cancellation" printed on it (step S47).
[0092] On the other hand, if it is determined that the generated batch cancellation receipt data includes a membership code (step S46; Yes), the control unit 11 prohibits the transmission of batch cancellation electronic receipt data based on the generated batch cancellation receipt data (step S48). In this case, the batch cancellation electronic receipt data may be generated and the transmission of the generated batch cancellation electronic receipt data may be prohibited, or the generation of the batch cancellation electronic receipt data may be prohibited to prohibit the transmission of the batch cancellation electronic receipt data. Then, the control unit 11 executes step S47.
[0093] In this embodiment, as a general rule, electronic receipt data is generated for receipt data that includes a membership code, and the generated electronic receipt data is transmitted to the electronic receipt server 3. However, when the batch cancellation key 122 is operated, transmission of the batch cancellation electronic receipt data is prohibited even if it is determined that the batch cancellation receipt data includes a membership code.
[0094] FIG. 13 is a flowchart showing in detail the control process of step S25 when the control unit 11 determines in step S24 that the reissue key 123 has been operated.
[0095] 13, when reissue key 123 is operated, control unit 11 inputs a reissue code, which is a key code indicating that reissue key 123 has been operated (step S51). Next, control unit 11 determines whether a receipt number has been input (step S52). The receipt number is written on the receipt handed to the customer or on the electronic receipt data displayed on the customer terminal, and the store clerk reads this receipt number and inputs it from operation unit 12.
[0096] The control unit 11 waits until a receipt number is input (step S52; No), and if it determines that a receipt number has been input (step S52; Yes), it reads the journal data corresponding to the input receipt number from the data storage unit 17d (step S53).The control unit 11 then determines whether the execution key for executing the reissue process has been operated (step S54).
[0097] The control unit 11 waits until an operation is performed (step S54; No), and if it determines that an operation has been performed (step S54; Yes), it executes the receipt reissue process based on the read journal data (step S55).The control unit 11 then generates reissue receipt data (changed receipt data) that includes the header text "Reissue", for example, in conjunction with the receipt reissue process (step S56).
[0098] Next, the control unit 11 judges whether the generated reissue receipt data includes a membership code (step S57). If it judges that the membership code is not included (step S57; No), the printing unit 13 issues a receipt to be handed to the customer on which the header text "Reissue" is printed based on the reissue receipt data (step S58).
[0099] On the other hand, if it is determined that the generated reissued receipt data includes a membership code (step S57; Yes), the control unit 11 prohibits the transmission of reissued electronic receipt data based on the generated reissued receipt data (step S59). In this case, the control unit 11 may generate reissued electronic receipt data and prohibit the transmission of the reissued electronic receipt data, or may prohibit the generation of the reissued electronic receipt data and thereby prohibit the transmission of the reissued electronic receipt data. The control unit 11 then executes step S58.
[0100] In this way, according to the embodiment, when a bulk cancellation process or a receipt reissue process is executed, if the changed receipt data contains a membership code, the transmission of electronic receipt data is prohibited, and therefore, changed receipt data that does not need to be transmitted as electronic receipt data is not transmitted to the customer.
[0101] Furthermore, according to the embodiment, receipt data for which transmission of electronic receipt data has been prohibited is printed by the printing unit 13, so that a receipt containing the changed receipt data can be used as a store copy.
[0102] Furthermore, according to the embodiment, if the changed receipt data includes a membership code, the receipt data is printed by the printing unit 13, so that the receipt with the changed receipt data can be used as a store copy.
[0103] In addition to operating the above-mentioned bulk cancel key 122 and reissue key 123, if, for example, a receipt issuing key for a store copy is operated, or in a half-self-service process in which a store clerk performs the product registration process and the customer performs the payment process himself, if a recall key is operated before the payment process, the control unit 11 will perform the same process (i.e., output to the printing unit 13 and prohibit the transmission of electronic receipt data).
[0104] FIG. 14 is a flowchart showing in detail the control process of step S25 when control unit 11 determines in step S24 that return key 124 has been operated.
[0105] 14, when the return key 124 is operated, the control unit 11 inputs a return code, which is a key code indicating that the return key 124 has been operated (step S61). The control unit 11 then determines whether or not a receipt number has been input (step S62). The receipt number is written on the receipt handed to the customer or on the electronic receipt data displayed on the customer terminal, and the store clerk reads this receipt number and inputs it from the operation unit 12.
[0106] The control unit 11 waits until a receipt number is input (step S62; No), and if it determines that a receipt number has been input (step S62; Yes), the control unit 11 reads out the journal data corresponding to the input receipt number from the data storage unit 17d (step S63).
[0107] Next, the control unit 11 judges whether or not the product code of the product to be returned has been input (step S65). The control unit 11 waits until the product code has been input (step S64; No), and if it is judged that the product code has been input (step S64; Yes), the control unit 11 stores the input product code in the data storage unit 17d (step S65).
[0108] Next, the control unit 11 judges whether the execution key has been operated (step S66). If it has not been operated (step S66; No), the control unit 11 returns to step S64, and if it has been operated (step S66; Yes), the control unit 11 executes the return processing based on the read journal data and the product code of the returned product stored in step SP65 (step SP67).
[0109] Then, the control unit 11 (corrected receipt data generating means 114) generates corrected receipt data excluding the product sales data of the product code entered in step S64 based on the return processing (step S68). Next, the control unit 11 (changed receipt data generating means 112) generates returned receipt data (changed receipt data) corresponding to the product sales data of the returned product based on the product sales data of the product code entered in step S64 (step S69).
[0110] Next, the control unit 11 (determination means 115) determines whether or not a membership code is included in the generated corrected receipt data and returned receipt data (step S70).
[0111] When it is determined that the receipt data includes a membership code (step S70; Yes), the control unit 11 (control means 113) generates corrected electronic receipt data by converting the data format of the receipt data, which is in an unstructured format, into a structured format based on the generated corrected receipt data (step S71). At this time, the return code input in step S61 is added. The control unit 11 (control means 113) also generates returned electronic receipt data by converting the data format of the receipt data, which is in an unstructured format, into a structured format based on the generated returned receipt data (step S72). At this time, the return code input in step S61 is added. Next, the control unit 11 (control means 113) sends the generated corrected electronic receipt data to the electronic receipt server 3 with a receipt number added (step S73). The control unit 11 (control means 113) also sends the generated returned electronic receipt data to the electronic receipt server 3 with a receipt number added (step S74).
[0112] Next, the control unit 11 (control means 113) outputs the generated return receipt data to the printing unit 13 (step S75). In this way, the control unit 11 issues a store receipt on which the product sales data of the returned product is printed based on the return receipt data. The product information of the returned product and the header text "Returned" are printed on the store receipt.
[0113] Furthermore, if it is determined in step S70 that the receipt data does not include a membership code (step S70; No), the control unit 11 executes the process of step S74 and issues a receipt on which the receipt data is printed.
[0114] In this way, when the return key 124 is operated, the control unit 11 executes the return process and generates corrected receipt data and returned receipt data. If a membership code is included, the control unit 11 automatically generates corrected electronic receipt data and returned electronic receipt data, transmits them to the electronic receipt server 3, and issues a paper receipt printed by the printing unit 13 based on the returned receipt data.
[0115] Fig. 15 is a schematic diagram showing an example of corrected electronic receipt data generated by the return processing of Fig. 14. The example of Fig. 15 is an example in which product 2 has been returned from the electronic receipt data of Fig. 10. In the electronic receipt data of Fig. 10, electronic receipt data including product 1, product 2, and product 3 as product sales data D1 has been generated, but since product 2 has been returned, new electronic receipt data including product 1 and product 3 but not including product 2 has been generated in the example of Fig. 15.
[0116] FIG. 16 is a flowchart showing in detail the control process of step S25 when the control unit 11 determines in step S24 that the register-minus key 125 has been operated.
[0117] 16, when the register minus key 125 is operated, the control unit 11 inputs a register minus code, which is a key code indicating that the register minus key 125 has been operated (step S81). The control unit 11 then determines whether or not a receipt number has been input (step S82). The receipt number is written on the receipt handed to the customer or on the electronic receipt data displayed on the customer terminal, and the store clerk reads this receipt number and inputs it from the operation unit 12.
[0118] The control unit 11 waits until a receipt number is input (step S82; No), and if it determines that a receipt number has been input (step S82; Yes), the control unit 11 reads out the journal data managed by the input receipt number from the data storage unit 17d (step S83).
[0119] Next, the control unit 11 judges whether the execution key has been operated (step S84). The control unit 11 waits until the execution key has been operated (step S84; No), and if it is determined that the key has been operated (step S84; Yes), the control unit 11 executes the register-minus process based on the journal data read in step S83 (step S85). The register-minus process is a process for canceling a transaction that has already been completed. The control unit 11 (changed receipt data generating means 112) then generates register-minus receipt data (changed receipt data) based on the register-minus process (step S86).
[0120] Next, the control unit 11 (judgment means 115) judges whether the generated register-minus receipt data includes a membership code (step S87). If it is judged that the member code is included (step S87; Yes), the control unit 11 (control means 113) generates register-minus electronic receipt data by converting the data format of the register-minus receipt data, which is in an unstructured format, into a structured format based on the register-minus receipt data (step S88). At this time, the register-minus code input in step S81 is added. Then, the control unit 11 (control means 113) adds a receipt number to the generated register-minus electronic receipt data and transmits it to the electronic receipt server 3 (step S89). Then, the control unit 11 (control means 113) outputs the register-minus receipt data to the printing unit 13 to execute printing processing (step S90), and issues a paper register-minus receipt for the store copy on which the header characters "register-minus" are printed.
[0121] It should be noted that, in step S87, if it is determined that the membership code is not included in the register-minus receipt data (step S87; No), the control unit 11 executes the process of step S90.
[0122] In this way, when the register-minus key 125 is operated, the control unit 11 executes the register-minus process and generates register-minus receipt data. If a membership code is included, register-minus electronic receipt data is automatically generated and sent to the electronic receipt server 3, and a paper receipt is printed by the printing unit 13 based on the register-minus receipt data.
[0123] Next, the control process of step S25 when the control unit 11 determines in step S24 that the partial cancel key 126 has been operated will be described with reference to the flowchart of FIG. 17, when the partial cancel key 126 is operated, the control unit 11 inputs a partial cancel code, which is a key code indicating that the partial cancel key 126 has been operated (step S141). The control unit 11 then determines whether or not a receipt number has been input (step S142). The receipt number is written on the receipt handed to the customer or on the electronic receipt data displayed on the customer terminal, and the store clerk reads this receipt number and inputs it from the operation unit 12.
[0124] The control unit 11 waits until a receipt number is input (step S142; No), and if it determines that a receipt number has been input (step S1422; Yes), the control unit 11 reads out the journal data managed by the input receipt number from the data storage unit 17d (step S143).
[0125] Next, the control unit 11 judges whether or not the product code of the product to be cancelled has been input (step S144).The control unit 11 waits until the product code has been input (step S144; No), and if it is judged that the product code has been input (step S144; Yes), the control unit 11 stores the input product code in the data storage unit 17d (step S145).
[0126] Next, the control unit 11 judges whether the execution key has been operated (step S146). If it has not been operated (step S146; No), the control unit 11 returns to step S144, and if it has been operated (step S146; Yes), the control unit 11 executes the register-minus process based on the read journal data (step SP147). Then, the control unit 11 (changed receipt data generating means 112) generates register-minus receipt data (changed receipt data) based on the register-minus process (step S148).
[0127] Next, the control unit 11 executes product sales data processing for the non-canceled products based on the journal data and the product codes of the cancelled products stored in step SP145 (step S149).Then, the control unit 11 (corrected receipt data generating means 114) generates corrected receipt data based on the product sales data processing (step S150).
[0128] Next, the control unit 11 (determination means 115) determines whether or not a membership code is included in the generated register-minus receipt data and corrected receipt data (step S151).
[0129] If it is determined that the data is included (step S151; Yes), the control unit 11 (control means 113) generates register-minus electronic receipt data by converting the unstructured data format of the register-minus receipt data into a structured format based on the register-minus receipt data (step S152). At this time, the partial cancellation code input in step S141 is added. The register-minus electronic receipt data includes the character data of "register-minus".
[0130] Furthermore, the control unit 11 (control means 113) generates corrected electronic receipt data by converting the data format of the corrected receipt data, which is in an unstructured format, into a structured format based on the corrected receipt data (step S153). At this time, the partial cancellation code input in step S141 is added. Then, the control unit 11 (control means 113) transmits the generated register-minus electronic receipt data to the electronic receipt server 3 (step S154). Furthermore, the control unit 11 (control means 113) transmits the generated corrected electronic receipt data to the electronic receipt server 3 with a receipt number added (step S155).
[0131] The control unit 11 (control means 113) then outputs the cash register minus receipt data to the printing unit 13 to execute the printing process (step S156), and issues a paper cash register minus receipt for the store copy with the header characters "Cash Register Minus" printed on it.
[0132] On the other hand, if it is determined in step S151 that the generated register-minus receipt data and corrected receipt data do not include a membership code (step S151; No), the control unit 11 outputs the generated register-minus receipt data to the printing unit 13 and executes the printing process (step S157), and issues a paper register-minus receipt for the store copy with the header characters "register-minus" printed on it. The control unit 11 also outputs the generated corrected receipt data to the printing unit 13 and executes the printing process (step S158), and issues a paper corrected receipt to be handed to the customer with the characters "partial cancellation" printed on it.
[0133] In addition, when the return key 124, the register minus key 125, or the partial cancellation key 126 is operated, for example, when a key for changing the purchase of revenue stamps is operated, the control unit 11 executes the same process.
[0134] Thus, according to the embodiment, if the generated changed receipt data contains customer identification information that identifies the customer, changed electronic receipt data is generated from the changed receipt data and sent to the external device, and print data based on the changed electronic receipt data is output to the printing unit, so that the changed receipt data can be sent to the customer as electronic receipt data and also printed by the printing unit 13.
[0135] Furthermore, according to the embodiment, when a return process and a partial cancellation process are executed, new corrected receipt data following the change in the transaction information is generated, and the changed electronic receipt data can be sent.
[0136] Furthermore, according to the embodiment, if it is determined that the changed receipt data includes a membership code, which is customer specific information, changed electronic receipt data is generated from the changed receipt data and sent to an external device, and print data based on the changed electronic receipt data is output to the printing unit 13, so that the electronic receipt data can be sent automatically.
[0137] Next, the flow of the electronic receipt management process executed by the control unit 31 of the electronic receipt server 3 operating according to the electronic receipt management program 33b and the information transmission process executed by the control unit 31 operating according to the information transmission program 33c will be described with reference to the flowchart shown in FIG. 18.
[0138] When the control unit 31 of the electronic receipt server 3 receives the electronic receipt data transmitted from the POS terminal 1 via the communication I / F 32 (Step S31; Yes), it stores the electronic receipt data in the electronic receipt management area 33a of the storage unit 33 as electronic receipt data for each company (Step S32). Then, the control unit 31 of the electronic receipt server 3 transmits the electronic receipt data stored in Step S32 to the electronic receipt management server 4 (Step S33) and returns to Step S31.
[0139] Furthermore, when a preset transmission timing is reached (step S31; No -> step S34; Yes), the control unit 31 of the electronic receipt server 3 transmits the electronic receipt data stored and managed in the electronic receipt management area 33a to the electronic receipt management server 4 (step S35), and returns to step S31. By transmitting in step S35, for example, electronic receipt data that was not selected as a transmission target in step S33 can be transmitted to the electronic receipt management server 4. Note that in step S35, control may be performed so that only untransmitted electronic receipt data is transmitted.
[0140] If it is determined in step S34 that the preset transmission timing has not arrived (step S34; No), the control unit 31 determines whether or not a receipt data request has been received from the POS terminal 1 (step S36). The receipt data request is sent from the POS terminal 1 in steps S52, S62, and S82.
[0141] If it is determined that there has been a request for receipt data (step S36; Yes), the control unit 31 sends the receipt data specified by the simultaneously received receipt number to the POS terminal 1 (step S37). If it is determined that there has not been a request for receipt data (step S36; No), the control unit 31 returns to step S31.
[0142] Next, the flow of the electronic receipt management process executed by the control unit 41 of the electronic receipt management server 4 operating in accordance with the electronic receipt management program 43c and the flow of the product information transmission process executed by the control unit 41 operating in accordance with the information transmission program 43d will be described with reference to the functional block diagram shown in FIG. 19 and the flowchart shown in FIG. 20.
[0143] 19, the electronic receipt management program 43c and the information transmission program 43d executed by the electronic receipt management server 4 have a modular configuration including an electronic receipt data storage means 411, a corrected electronic receipt data storage means 412, a corrected electronic receipt information transmission means 413, and a changed electronic receipt data storage means 414. As actual hardware, the CPU of the control unit 41 reads out and executes the electronic receipt management program 43c and the information transmission program 43d from the storage unit 43, thereby executing the electronic receipt data storage means 411, the corrected electronic receipt data storage means 412, the corrected electronic receipt information transmission means 413, and the changed electronic receipt data storage means 414.
[0144] The electronic receipt data storage means 411 has a function of storing electronic receipt data generated by the merchandise sales data processing device 1 based on a transaction with a customer in a viewable manner in a storage unit.
[0145] The corrected electronic receipt data storage means 412 has a function of storing corrected electronic receipt data, which is obtained by modifying the electronic receipt data stored by the electronic receipt data storage means 411 in response to a change in a transaction, in a storage unit so that the corrected electronic receipt data can be viewed in place of the electronic receipt data.
[0146] The corrected electronic receipt information transmitting means 413 has a function of transmitting the corrected electronic receipt data stored in the corrected electronic receipt information storing means 412 to the terminal device 7 in response to a viewing request from the terminal device 7.
[0147] The modified electronic receipt data storage means 414 has a function of storing modified electronic receipt data obtained by modifying the electronic receipt data stored by the electronic receipt data storage means 411 in response to a change in a transaction in a storage unit.
[0148] As shown in FIG. 20, the control unit 41 of the electronic receipt management server 4 determines whether or not the electronic receipt data transmitted from the electronic receipt server 3 of each company is received via the communication I / F 42 (Step S101).
[0149] When it is determined that electronic receipt data has been received (Step S101; Yes), the control unit 41 determines whether or not the simultaneously received receipt number already exists (Step S102). This determination is made based on whether or not the received receipt number exists in the receipt number section 43a1 of the electronic receipt management area 43a (Step S102).
[0150] If it is determined that the received receipt number does not exist (step S102; No), the control unit 41 (electronic receipt data storage means 411) stores new electronic receipt data in the electronic receipt data unit 43a21 in association with the received receipt number (step S103).Then, the control unit 41 stores a flag "1" in the display permission flag unit 43a22 in association with the stored new electronic receipt data, thereby setting the electronic receipt data to be viewable (step S104).
[0151] If it is determined that the received receipt number exists (step S102; Yes), the control unit 41 then determines whether or not the received electronic receipt data includes a return code (step S105). If it is determined that the return code is included (step S105; Yes), the control unit 41 executes the return electronic receipt process shown in FIG. 21 (step S106).
[0152] If it is determined that the received electronic receipt data does not include a return code (step S105; No), the control unit 41 then determines whether the received electronic receipt data includes a register-minus code (step S107). If it is determined that the data includes a register-minus code (step S107; Yes), the control unit 41 executes the register-minus electronic receipt process shown in FIG. 22 (step S108).
[0153] Furthermore, if it is determined that the received electronic receipt data does not include a register minus code (step S107; No), the control unit 41 then determines whether or not the received electronic receipt data includes a partial cancellation code (step S109). If it is determined that the data includes a partial cancellation code (step S109; Yes), the control unit 41 executes the partial cancellation electronic receipt process shown in Fig. 23 (step S110). If it is determined that the data does not include a partial cancellation code (step S109; No), the control unit 41 returns to step S101 and waits.
[0154] On the other hand, in step S101, when it is determined that the electronic receipt data has not been received (step S101; No), the control unit 41 determines whether or not there has been an inquiry about the electronic receipt data from the mobile terminal 7 (step S121). When it is determined that there has been an inquiry about the electronic receipt data (step S121; Yes), the control unit 41 reads out the corresponding electronic receipt data from the electronic receipt management area 43a (step S122). Then, the control unit 41 (corrected electronic receipt data transmitting means 413) transmits the read out electronic receipt data to the mobile terminal 7 that has made the inquiry (step S123).
[0155] 21 is a flowchart showing the return electronic receipt process shown in step S106. The control unit 41 (changed electronic receipt data storage means 414) stores the received return electronic receipt data (changed electronic receipt data) in the electronic receipt data section 43a31 corresponding to the received receipt number (step S161). In addition, the control unit 41 (corrected electronic receipt data storage means 412) stores the received corrected electronic receipt data in the electronic receipt data section 43a41 corresponding to the received receipt number (step S161).
[0156] Next, the control unit 41 sets the flag of the displayable flag unit 43a22 to "0" to make the original electronic receipt data unviewable (step S162). Next, the control unit 41 sets the flag of the displayable flag unit 43a32 and the flag of the displayable flag unit 43a42 to "1" to set the returned electronic receipt data stored in the electronic receipt data unit 43a31 and the corrected electronic receipt data stored in the electronic receipt data unit 43a41 to viewable (step S163).
[0157] Next, the control unit 41 transmits a message indicating that the returned electronic receipt data and the corrected electronic receipt data are available for viewing to the corresponding mobile terminal 7 (step S164).
[0158] 22 is a flowchart showing the register-minus electronic receipt process shown in step S108. The control unit 41 (changed electronic receipt data storage means 414) stores the received register-minus electronic receipt data (changed electronic receipt data) in the electronic receipt data section 43a31 corresponding to the received receipt number (step S171).
[0159] Next, the control unit 41 executes a process of erasing the electronic receipt data stored in the electronic receipt data unit 43a21 based on the register-minus electronic receipt data stored in the electronic receipt data unit 43a31 (step S172).Then, the control unit 41 sets the flag in the displayable flag unit 43a32 to "0" to make the register-minus electronic receipt data stored in the electronic receipt data unit 43a31 unviewable (step S173).Then, the control unit 41 sets the flag in the displayable flag unit 43a22 to "0" to make the original electronic receipt data stored in the electronic receipt data unit 43a21 unviewable (step SP174).
[0160] 23 is a flowchart showing the partial cancellation electronic receipt process shown in step S110. The control unit 41 (changed electronic receipt data storage means 414) stores the received register-minus electronic receipt data (changed electronic receipt data) in the electronic receipt data section 43a31 corresponding to the received receipt number (step S181). In addition, the control unit 41 (corrected electronic receipt data storage means 412) stores the received corrected electronic receipt data in the electronic receipt data section 43a41 corresponding to the received receipt number (step S181).
[0161] Next, the control unit 41 executes a deletion process of the electronic receipt data stored in the electronic receipt data unit 43a21 based on the register-minus electronic receipt data stored in the electronic receipt data unit 43a31 (step S182).Then, the control unit 41 sets the flag of the displayable flag unit 43a32 to "0" to make the register-minus electronic receipt data stored in the electronic receipt data unit 43a31 unviewable (step S183).Then, the control unit 41 sets the flag of the displayable flag unit 43a22 to "0" to make the electronic receipt data stored in the electronic receipt data unit 43a21 unviewable (step SP184).
[0162] Next, the control unit 41 sets the flag in the display flag unit 43a42 to "1" to enable viewing of the corrected electronic receipt data stored in the electronic receipt data unit 43a41 (step S185).
[0163] Next, the control unit 41 transmits a message indicating that the corrected electronic receipt data is available for viewing to the corresponding mobile terminal 7 (step S186).
[0164] In such an embodiment, when a return process is executed for a transaction for which electronic receipt data is generated after the transaction is completed, the control unit 41 receives the return electronic receipt data and the corrected electronic receipt data from the electronic receipt server 3. After receiving these electronic receipt data, when there is an inquiry from the mobile terminal 7 about viewing the electronic receipt data, the electronic receipt management server 4 transmits the return electronic receipt data and the corrected electronic receipt data corresponding to the display permission flag section with the flag set to "1" to the mobile terminal 7. The electronic receipt data before that, in which the flag was set to "0", is not transmitted. In other words, after the return process, the mobile terminal 7 can view the return electronic receipt data and the corrected electronic receipt data, but cannot view the original electronic receipt data.
[0165] Furthermore, in this embodiment, when a register-minus process is executed for a transaction for which electronic receipt data is generated after the transaction is completed, the control unit 41 receives the register-minus electronic receipt data from the electronic receipt server 3. After receiving this register-minus electronic receipt data, when there is an inquiry from the mobile terminal 7 about viewing the electronic receipt data, the control unit 41 does not transmit either the original electronic receipt data or the register-minus electronic receipt data to the mobile terminal 7. In other words, the mobile terminal 7 cannot view either the original electronic receipt data or the register-minus electronic receipt data.
[0166] Furthermore, in this embodiment, when a partial cancellation process is executed for a transaction for which electronic receipt data is generated after the transaction is completed, the control unit 41 receives the register-minus electronic receipt data and the corrected electronic receipt data from the electronic receipt server 3. After receiving these electronic receipt data, when there is an inquiry from the mobile terminal 7 about viewing the electronic receipt data, the electronic receipt management server 4 transmits the corrected electronic receipt data corresponding to the display permission flag section with the flag set to "1" to the mobile terminal 7. The register-minus electronic receipt data with the flag set to "0" and the previous electronic receipt data are not transmitted. In other words, after the partial cancellation process, the mobile terminal 7 can view the corrected electronic receipt data, but cannot view the register-minus electronic receipt data and the original electronic receipt data.
[0167] Next, the flow of the electronic receipt receiving process executed by the control unit 71 of the mobile terminal 7 operating in accordance with the electronic receipt compatible program 75a and the flow of the electronic receipt viewing process executed by the control unit 71 operating in accordance with the electronic receipt viewing program 75b will be described with reference to FIGS. 24 to 26.
[0168] 24, the electronic receipt compatible program 75a and the electronic receipt viewing program 75b executed by the mobile terminal 7 are configured as modules including a member association means 711, an electronic receipt receiving means 712, and an electronic receipt display means 713. In terms of actual hardware, the CPU of the control unit 71 reads out and executes the electronic receipt compatible program 75a and the electronic receipt viewing program 75b from the storage unit 75, whereby the above-mentioned units are loaded onto the RAM, and the member association means 711, the electronic receipt receiving means 712, and the electronic receipt display means 713 are generated on the RAM.
[0169] The member association means 711 associates a membership code with a specific customer. The electronic receipt receiving means 712 receives electronic receipt data from the electronic receipt management server 4. The electronic receipt display means 713 displays the electronic receipt data received by the electronic receipt receiving means 712 on the display unit 73.
[0170] 25, first, the member association means 711 of the mobile terminal 7 accesses the electronic receipt management server 4 and executes authentication processing by inputting a member code and a password (step S131). As a result, the mobile terminal 7 and the member code of the specific customer are associated with each other.
[0171] After the authentication, the electronic receipt receiving means 712 of the mobile terminal 7 receives the electronic receipt data stored and managed in the electronic receipt management area 43a of the electronic receipt management server 4 in association with the input membership code (step S132). In addition, if additional information is associated with the electronic receipt data, the electronic receipt receiving means 712 also receives this additional information from the electronic receipt management server 4. Note that the receipt data may be received by email.
[0172] Next, the electronic receipt display means 713 of the mobile terminal 7 displays the electronic receipt data and the like received by the electronic receipt receiving means 712 on the display unit 73 (step S133), and ends the process.
[0173] Fig. 26 is a diagram showing an example of an electronic receipt G2 displayed on the display unit 73 of the mobile terminal 7. The electronic receipt G2 is displayed with the same layout and content as a receipt printed on paper. In addition, in the electronic receipt G2, the focus can be placed on a product a or the like indicating a transacted product using a cursor that follows input from the operation unit 72. Fig. 26 also shows an example in which a store name logo section G21 that displays the store name logo, a banner display section G22 that displays advertisements, and the like are provided in the electronic receipt G2.
[0174] The display format of the receipt data does not necessarily have to match the image of a receipt printed on paper. However, receipt data is a substitute for a paper receipt, and serves as electronic product purchase proof information that proves that a product has been purchased. Therefore, Figure 26 shows an example of the following information displayed for use when presenting it as product purchase proof information: Store name Purchase date and time Purchase details Total sales amount Deposit amount Change ·Registration number Transaction number
[0175] Here, if a URL (access information) of a promotion management server 6 or the like is set as additional information for any of the products a, this URL is linked to the corresponding product name, and an icon b or the like that acts as an operator for instructing access to this URL is displayed.
[0176] For example, if the access destination indicated by the URL is a server device (e.g., promotion management server 6) that accepts applications for a specific campaign, the control unit 71 of the mobile terminal 7 accesses the promotion management server 6 in response to pressing of icon b or the like, and executes processing related to the application. When accessing the access destination, the membership code of the mobile terminal itself, which is stored in receipt data or the like, may be transmitted. Then, the promotion management server 6 manages the application history for each campaign type in association with the membership code for identifying each member.
[0177] When multiple receipt data are received, a selection screen may be displayed that allows selection of each of the receipt data based on the purchase date, company code, etc. included in the receipt data. In this case, the electronic receipt display means 713 displays the receipt data selected from the selection screen on the display unit 73.
[0178] Although the embodiments of the present invention have been described above, these embodiments are presented as examples and are not intended to limit the scope of the invention. These embodiments can be implemented in various other forms, and various omissions, substitutions, modifications, and combinations can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope and spirit of the invention, and are included in the scope of the invention and its equivalents described in the claims.
[0179] For example, in the above embodiment, the membership code, etc. is input using the code reading unit 15, but this is not limiting and the membership code, etc. may be input using other methods. Specifically, the POS terminal 1 and the mobile terminal 7 may be equipped with a short-range wireless communication unit such as NFC (Near Field Communication) or Bluetooth (registered trademark), so that the membership code, etc. can be transmitted and received via short-range wireless communication. In this case, the mobile terminal 7 stores the membership code, etc. in the memory unit 75, an IC tag (not shown), etc.
[0180] In the above embodiment, the membership code and the like are input from the mobile terminal 7, but the present invention is not limited to this and the membership code may be input from a medium capable of holding the membership code, such as an IC card or a magnetic card. When an IC card is used, the POS terminal 1 is equipped with a reading / writing unit such as an IC card reader / writer. When a magnetic card is used, the POS terminal 1 is equipped with a card reader / writer for the magnetic card.
[0181] In the above embodiment, the electronic receipt server 3 is provided in the headquarters P2, but the present invention is not limited to this, and an electronic receipt server 3 for the store may be provided in the store P1. In this case, the POS terminal 1 outputs electronic receipt data to the electronic receipt server 3 connected to the in-store network N1 of the store, and the electronic receipt server 3 transmits the electronic receipt data to the electronic receipt management server 4 via the in-store network N1 and the network N2.
[0182] In the above embodiment, the electronic receipt data generated by the POS terminal 1 is output to the electronic receipt management server 4 via the electronic receipt server 3. However, the present invention is not limited to this. The electronic receipt data may be directly output to the electronic receipt management server 4 by accessing the electronic receipt management server 4 from the POS terminal 1 via the network N3.
[0183] In the above embodiment, the mobile terminal 7 receives the electronic receipt data via the electronic receipt management server 4, but the present invention is not limited to this and may receive the electronic receipt data directly from the POS terminal 1. In this case, the POS terminal 1 outputs the generated electronic receipt data to the mobile terminal 7 connected via the in-store network N1 or a short-range wireless communication unit (not shown). In this case, the POS terminal 1 may perform authentication processing.
[0184] In the above embodiment, the POS terminal 1 stores the product data file. However, the present invention is not limited to this. The store server 2 may store the product data file so that the product data file can be referenced by the POS terminal 1.
[0185] In the above embodiment, both the returned electronic receipt data and the corrected electronic receipt data can be viewed in the return processing. However, only the corrected electronic receipt data may be viewed.
[0186] In the above embodiment, when the corrected electronic receipt information is stored in the electronic receipt management area 43a, the electronic receipt information in the electronic receipt information section 43a21 is stored and stored in another electronic receipt information section 43a31, but the electronic receipt information in the electronic receipt information section 43a21 may be overwritten. In this case, the latest electronic receipt information is always stored in the electronic receipt information section 43a21, so that the other electronic receipt information section and the display permission flag section are not necessary. [Explanation of symbols]
[0187] 1 POS terminal 3. Electronic receipt server 4. Electronic receipt management server 7 Mobile devices 11 Control section 12 Control section 13 Printing section 14 Display section 15 Code reader 16 Communication I / F 17 Memory section 111 Electronic receipt data transmission means 112 Change receipt data generation means 113 Control Means 114 Corrected receipt data generation means 115 Judgment means 411 Electronic receipt data storage means 412 Corrected electronic receipt data storage means 413 Corrected electronic receipt information transmission means 414 Changed electronic receipt data storage means [Prior art documents] [Patent documents]
[0188] [Patent Document 1] JP 2011-90375 A
Claims
1. The computer included in the mobile terminal is a member association unit for associating the mobile terminal with a member code of the customer; a membership code presenting unit that displays the membership code associated by the membership association unit as a code symbol on a display unit of the mobile terminal; a first processing unit that transmits an electronic receipt viewing inquiry specifying the membership code associated by the member corresponding unit to an electronic receipt management server that manages electronic receipt data based on a transaction with a customer generated by a merchandise sales data processing device, corrected electronic receipt data after a change to the electronic receipt data resulting from a change to the electronic receipt data, and returned electronic receipt data after a change to the electronic receipt data resulting from a return process of returning at least a part of the merchandise related to the transaction, and that makes the electronic receipt data before the change to the corrected electronic receipt data or the returned electronic receipt data unavailable for viewing; a second processing unit that performs processing for receiving at least one of the electronic receipt data, the returned electronic receipt data, and the corrected electronic receipt data from the electronic receipt management server in response to the electronic receipt viewing inquiry by the first processing unit; a third processing unit that performs processing to display the information received by the second processing unit as the response on a display unit provided in the mobile terminal; A program to function as a
2. the electronic receipt management server stores a flag indicating whether the electronic receipt data, the corrected electronic receipt data, and the returned electronic receipt data are viewable or not in association with each other; The second processing unit receives, as the response, a flag indicating that the electronic receipt is viewable and information associated with the flag from the electronic receipt management server. The program according to claim 1.
3. The second processing unit receives a message indicating that the returned electronic receipt data and the corrected electronic receipt data are viewable, the message being transmitted to the mobile terminal by the electronic receipt management server in association with the return process. The program according to claim 1.
4. A display unit; a member association unit that associates the terminal with a member code of the customer; a membership code presenting unit that displays the membership code associated by the membership association unit as a code symbol on the display unit; a first processing unit that transmits an electronic receipt viewing inquiry specifying the membership code associated by the member corresponding unit to an electronic receipt management server that manages electronic receipt data based on a transaction with a customer generated by a merchandise sales data processing device, corrected electronic receipt data after a change to the electronic receipt data resulting from a change to the electronic receipt data, and returned electronic receipt data after a change to the electronic receipt data resulting from a return process of returning at least a part of the merchandise related to the transaction, and that makes the electronic receipt data before the change to the corrected electronic receipt data or the returned electronic receipt data unavailable for viewing; a second processing unit that performs processing for receiving at least one of the electronic receipt data, the returned electronic receipt data, and the corrected electronic receipt data from the electronic receipt management server in response to the electronic receipt viewing inquiry by the first processing unit; a third processing unit that performs processing to display information received by the second processing unit as the response on the display unit; A mobile terminal comprising:
Citation Information
Patent Citations
Automation system for item return processing in POS register
JP1998188141A
Commodity sales registering data processor
JP2004139424A
Receipt issuing system and device and receipt processing method
JP2004151838A
Commodity sales data processor
JP2008071164A
Receipt-issuing method, receipt-issuing system, and register apparatus
JP2010086022A