system

The system simplifies the self-medication tax process by reading barcodes to determine eligibility and using AI to generate tax returns, addressing user difficulties in managing pharmaceutical tax deductions.

JP2026096430APending Publication Date: 2026-06-15SOFTBANK GROUP CORP

Patent Information

Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
SOFTBANK GROUP CORP
Filing Date
2024-12-03
Publication Date
2026-06-15

AI Technical Summary

Technical Problem

The self-medication tax system is cumbersome for users, making it difficult to determine whether a pharmaceutical product is applicable and to accurately maintain purchase records, leading to underutilization.

Method used

A system that reads the barcode of a pharmaceutical product, determines eligibility for tax deduction, records purchase date and price, and uses AI to generate a tax return document, simplifying the process for users.

🎯Benefits of technology

Enables easy and accurate determination of tax-deductible pharmaceuticals, automating the creation of tax return documents, reducing user effort and time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026096430000001_ABST
    Figure 2026096430000001_ABST
Patent Text Reader

Abstract

We provide the system. [Solution] An imaging device for reading barcodes on pharmaceuticals, A communication means for transmitting scanned barcode information to a remote server, The server has a means for determining whether a pharmaceutical product is eligible for the self-medication tax deduction based on barcode information, A recording means for obtaining the discrimination result and recording it together with the purchase date and amount, A generation method for automatically generating a self-medication tax return statement based on recorded information, A system that includes an output mechanism for presenting and printing the generated declaration statement to the user.
Need to check novelty before this filing date? Find Prior Art

Description

【Technical Field】 【0001】 The technology of the present disclosure relates to a system. 【Background Art】 【0002】 Patent Document 1 discloses a method for controlling a persona chatbot, which is performed by at least one processor, including steps of receiving a user utterance, adding the user utterance to a prompt including an instruction sentence related to an explanation of the chatbot's character, encoding the prompt, and inputting the encoded prompt into a language model to generate a chatbot utterance in response to the user utterance. 【Prior Art Documents】 【Patent Documents】 【0003】 【Patent Document 1】 Japanese Patent Application Laid-Open No. 2022-180282 【Summary of the Invention】 【Problems to be Solved by the Invention】 【0004】 In order to benefit from the self-medication tax system, it is necessary to determine whether a pharmaceutical product is applicable, accurately maintain purchase records, and create a tax return document. However, this task is cumbersome for users, and it is also difficult to determine whether a pharmaceutical product is a target, so there is a problem that many people cannot fully utilize this system. 【Means for Solving the Problems】 【0005】 This invention provides a system that reads the barcode of a pharmaceutical product and determines, based on that information, whether the product is eligible for the self-medication tax deduction. The system records the purchase date and price, and uses artificial intelligence to automatically generate a declaration form based on this information, making it easy for users to take advantage of the tax deduction. 【0006】 "Pharmaceuticals" are chemical or biological substances used to prevent or treat diseases or to improve bodily functions. 【0007】 A "barcode" is a striped code used to identify products and items, representing digital data containing corresponding information. 【0008】 "Imaging means" refers to equipment or devices for capturing and processing visual information, and in particular includes devices such as cameras and light sensors. 【0009】 "Communication means" refers to protocols and devices used to send and receive information, and includes communication via the Internet. 【0010】 A "server" refers to a central computer system that provides various services and functions over a network. 【0011】 A "discrimination means" is a process or device for determining whether or not a given condition is met based on the information provided. 【0012】 "Recording means" refers to devices or processes for storing and retaining information so that it can be referenced later. 【0013】 "Generation means" refers to processes or devices for generating new data or documents based on given information. 【0014】 "Output means" refers to devices or processes for displaying processed information externally, and includes displays and printers. 【Brief Description of the Drawings】 【0015】 [Figure 1] It is a conceptual diagram showing an example of the configuration of a data processing system according to the first embodiment. [Figure 2] It is a conceptual diagram showing an example of the main functions of a data processing device and a smart device according to the first embodiment. [Figure 3] It is a conceptual diagram showing an example of the configuration of a data processing system according to the second embodiment. [Figure 4] It is a conceptual diagram showing an example of the main functions of a data processing device and smart glasses according to the second embodiment. [Figure 5] It is a conceptual diagram showing an example of the configuration of a data processing system according to the third embodiment. [Figure 6] It is a conceptual diagram showing an example of the main functions of a data processing device and a headset-type terminal according to the third embodiment. [Figure 7] It is a conceptual diagram showing an example of the configuration of a data processing system according to the fourth embodiment. [Figure 8] It is a conceptual diagram showing an example of the main functions of a data processing device and a robot according to the fourth embodiment. [Figure 9] It shows an emotion map to which a plurality of emotions are mapped. [Figure 10] It shows an emotion map to which a plurality of emotions are mapped. [Figure 11] It is a sequence diagram showing the processing flow of the data processing system in Example 1. [Figure 12] It is a sequence diagram showing the processing flow of the data processing system in Application Example 1. [Figure 13] It is a sequence diagram showing the processing flow of the data processing system in Example 2 when an emotion engine is combined. [Figure 14] It is a sequence diagram showing the processing flow of the data processing system in Application Example 2 when an emotion engine is combined. 【Modes for Carrying Out the Invention】 【0016】 Hereinafter, an example of an embodiment of a system according to the technology of the present disclosure will be described with reference to the accompanying drawings. 【0017】 First, the terms used in the following description will be explained. 【0018】 In the following embodiments, a numbered processor (hereinafter simply referred to as "processor") may be a single arithmetic unit or a combination of multiple arithmetic units. Also, the processor may be a single type of arithmetic unit or a combination of multiple types of arithmetic units. Examples of arithmetic units include a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), a GPGPU (General-Purpose computing on Graphics Processing Units), an APU (Accelerated Processing Unit), and the like. 【0019】 In the following embodiments, a numbered RAM (Random Access Memory) is a memory in which information is temporarily stored and is used as a work memory by the processor. 【0020】 In the following embodiments, a numbered storage is one or more non-volatile storage devices that store various programs and various parameters, etc. Examples of non-volatile storage devices include flash memory (SSD (Solid State Drive)), magnetic disks (e.g., hard disks), or magnetic tapes, and the like. 【0021】 In the following embodiments, the signed communication interface (I / F) is an interface that includes a communication processor and an antenna, etc. The communication interface manages communication between multiple computers. Examples of communication standards applicable to the communication interface include wireless communication standards such as 5G (5th Generation Mobile Communication System), Wi-Fi (registered trademark), or Bluetooth (registered trademark). 【0022】 In the following embodiments, "A and / or B" is synonymous with "at least one of A and B." That is, "A and / or B" means that it may be A alone, or B alone, or a combination of A and B. Furthermore, in this specification, the same concept as "A and / or B" applies when expressing three or more things linked by "and / or." 【0023】 [First Embodiment] 【0024】 Figure 1 shows an example of the configuration of the data processing system 10 according to the first embodiment. 【0025】 As shown in Figure 1, the data processing system 10 includes a data processing device 12 and a smart device 14. An example of the data processing device 12 is a server. 【0026】 The data processing device 12 comprises a computer 22, a database 24, and a communication interface 26. The computer 22 is an example of a "computer" related to the technology of this disclosure. The computer 22 comprises a processor 28, RAM 30, and storage 32. The processor 28, RAM 30, and storage 32 are connected to a bus 34. The database 24 and the communication interface 26 are also connected to the bus 34. The communication interface 26 is connected to a network 54. An example of the network 54 is a WAN (Wide Area Network) and / or a LAN (Local Area Network). 【0027】 The smart device 14 comprises a computer 36, a reception device 38, an output device 40, a camera 42, and a communication interface 44. The computer 36 comprises a processor 46, RAM 48, and storage 50. The processor 46, RAM 48, and storage 50 are connected to a bus 52. The reception device 38, output device 40, and camera 42 are also connected to the bus 52. 【0028】 The reception device 38 is equipped with a touch panel 38A and a microphone 38B, etc., and receives user input. The touch panel 38A receives user input by detecting contact with an object (e.g., a pen or finger). The microphone 38B receives user input by detecting the user's voice. The control unit 46A transmits data indicating the user input received by the touch panel 38A and microphone 38B to the data processing device 12. In the data processing device 12, the specific processing unit 290 acquires the data indicating the user input. 【0029】 The output device 40 includes a display 40A and a speaker 40B, and presents data to the user 20 by outputting the data in a form perceptible to the user 20 (e.g., audio and / or text). The display 40A displays visible information such as text and images according to instructions from the processor 46. The speaker 40B outputs audio according to instructions from the processor 46. The camera 42 is a small digital camera equipped with an optical system such as a lens, aperture, and shutter, and an image sensor such as a CMOS (Complementary Metal-Oxide-Semiconductor) image sensor or a CCD (Charge Coupled Device) image sensor. 【0030】 Communication interface 44 is connected to network 54. Communication interfaces 44 and 26 are responsible for the exchange of various types of information between processor 46 and processor 28 via network 54. 【0031】 Figure 2 shows an example of the main functions of the data processing device 12 and the smart device 14. 【0032】 As shown in Figure 2, in the data processing device 12, a specific processing is performed by the processor 28. A specific processing program 56 is stored in the storage 32. The specific processing program 56 is an example of a "program" related to the technology of this disclosure. The processor 28 reads the specific processing program 56 from the storage 32 and executes the read specific processing program 56 on the RAM 30. The specific processing is realized by the processor 28 operating as a specific processing unit 290 according to the specific processing program 56 executed on the RAM 30. 【0033】 The storage 32 stores the data generation model 58 and the emotion identification model 59. The data generation model 58 and the emotion identification model 59 are used by the identification processing unit 290. 【0034】 In the smart device 14, the processor 46 performs the reception output processing. The storage 50 stores the reception output program 60. The reception output program 60 is used in conjunction with a specific processing program 56 by the data processing system 10. The processor 46 reads the reception output program 60 from the storage 50 and executes the read reception output program 60 on the RAM 48. The reception output processing is realized by the processor 46 operating as a control unit 46A according to the reception output program 60 executed on the RAM 48. 【0035】 Next, the specific processing performed by the specific processing unit 290 of the data processing device 12 will be described. In the following description, the data processing device 12 will be referred to as the "server" and the smart device 14 as the "terminal". 【0036】 The system according to the present invention starts with an application that allows the user to scan the barcodes of medicines purchased at a pharmacy. The user uses their smartphone to read the barcodes of each purchased medicine with the camera. The barcode data acquired by this imaging means is transferred to a cloud server using a secure protocol via a communication means within the terminal. 【0037】 The server searches a pharmaceutical database based on the received barcode information. This database contains pre-registered barcodes for each pharmaceutical product and information on whether or not they are eligible for the self-medication tax deduction. The server determines from the search results whether the pharmaceutical product is eligible for the deduction and sends this information back to the terminal. 【0038】 The user confirms that the medication is eligible within the application, and enters the purchase date and purchase price into an input form. The terminal collects this information using recording devices and sends it back to the server. The server then creates a self-medication tax return based on the recorded information. This process is performed using artificial intelligence as a generation method, and the declaration form is automatically generated for the user to use later. 【0039】 The generated declaration form is displayed on the user's terminal via the output method. The user can review this form and, if necessary, save it in PDF format or print it directly via a printer. 【0040】 As a concrete example, the barcode of "Cold Medicine A" purchased by a user at a pharmacy is scanned, and that information is sent to the server. The server verifies that "Cold Medicine A" is eligible for the system, and the user enters the purchase date "October 1, 2023" and the amount "1500 yen". The server then creates a detailed statement based on this information and displays it on the terminal in a format that can be saved as a PDF. In this way, users can easily file for the self-medication tax deduction. 【0041】 The following describes the processing flow. 【0042】 Step 1: 【0043】 The user launches a smartphone app and scans the barcode of the medicine purchased at the pharmacy with the camera. The app uses the barcode as an image capture device and extracts its digital information. 【0044】 Step 2: 【0045】 The terminal transmits the extracted barcode data to the server via a communication method and an encrypted protocol. Security is ensured during this process to prevent interception by third parties. 【0046】 Step 3: 【0047】 The server uses the received barcode data to search the pharmaceutical database. The database contains barcodes for all over-the-counter drugs and information on their eligibility for self-medication tax deductions, allowing for safe and rapid search results. 【0048】 Step 4: 【0049】 The server identifies the target medication based on the search results. The identified information, including the name of the medication and whether or not it is eligible for the self-medication tax deduction, is sent back to the terminal. 【0050】 Step 5: 【0051】 The user reviews the provided information and, if it is the relevant medication, enters the purchase date and price within the app. This information is then formatted appropriately within the app and passed on to the next process. 【0052】 Step 6: 【0053】 The terminal collects the purchase information entered by the user and sends it back to the server. This information is stored on the server as data necessary for preparing the self-medication tax return. 【0054】 Step 7: 【0055】 Based on the received purchase information, the server uses an AI model to automatically generate a self-medication tax return form. The return form generated by this method is accurately constructed according to the required format. 【0056】 Step 8: 【0057】 The server transfers the generated declaration form to the terminal and presents it to the user. The user can review the contents of the declaration form on the app screen and save it as a PDF or print it directly as needed. This is achieved through the output method. 【0058】 (Example 1) 【0059】 Next, we will describe Example 1. In the following description, the data processing device 12 will be referred to as the "server," and the smart device 14 will be referred to as the "terminal." 【0060】 Traditional reward programs often involve cumbersome and time-consuming application procedures for users. In particular, the process of accurately recording and managing information, and creating application documents, is time-consuming and laborious, often burdening users. To solve this problem, an efficient and automated system is needed. 【0061】 The identification process performed by the identification processing unit 290 of the data processing device 12 in Example 1 is realized by the following means. 【0062】 In this invention, the server includes, as a means for reading information, a device for acquiring the code of the information, a communication means for transmitting the acquired information to a computing resource, and an identification means for identifying, based on the information, whether the substance is eligible for the reward program at the computing resource. This enables users to efficiently acquire information and accurately and quickly create the necessary application documents. 【0063】 An "information reading device" is a device that has the function of acquiring the code of information. 【0064】 A "communication device" is a device that has the function of securely and efficiently transmitting acquired information to computing resources. 【0065】 An "identification means" is a structure that has the function of determining whether a particular substance is eligible for a reward program using information received from computing resources. 【0066】 A "storage device" is a device that has the function of effectively storing information on the date and time of a transaction and the price of the transaction based on the identification results. 【0067】 "Construction means" refers to technology that has the function of automatically constructing application documents for a reward system based on stored information. 【0068】 "Output means" refers to a device that has the function of presenting, displaying, and printing the generated application document to the user. 【0069】 The embodiments for carrying out the present invention are shown below. 【0070】 Subject: User 【0071】 First, users use a smartphone or tablet equipped with a barcode scanner function to obtain the barcode information of the medication. This secures the information of the purchased medication as digital data. Using a dedicated application installed on this device, users can easily check the acquired information. 【0072】 Subject: terminal 【0073】 The terminal transmits the acquired barcode information to the cloud server using a secure protocol (e.g., HTTPS) via a communication method. The application provides an interface for appropriately formatting the data and sending it to the server. This application also includes a guide function to ensure the user can transmit the data smoothly. 【0074】 Subject: Server 【0075】 Based on the received barcode information, the server uses an identification means to: 【0076】 The system searches a database of pre-registered substance information. The identification method uses database operations such as SQL queries to determine whether a particular drug is eligible for the reward program. Based on this determination, the server returns the identification result to the terminal. 【0077】 Upon receiving detailed information about the purchase date and amount, the server uses a configuration tool to automatically generate an application document for the reward program, utilizing an AI model. This AI model receives instructions through prompts to structure the information in the optimal document format. 【0078】 As a specific example, if a user purchases "Cold Medicine A," the user's device reads the barcode and sends the information to the server. The server verifies that the product is eligible for the program and creates an application document based on the purchase date "October 1, 2023" and the amount "1500 yen" entered by the user, and displays it on the device. The user can then save or print the application document in PDF format. 【0079】 An example of a prompt message is: "Please prepare a tax return for the self-medication tax deduction. The medicine is 'Cold Medicine A,' purchased on October 1, 2023, and cost 1500 yen." 【0080】 The flow of the specific processing in Example 1 will be explained using Figure 11. 【0081】 Step 1: 【0082】 The user launches a smartphone application and scans the barcode of a pharmaceutical product with the camera. The input is the barcode image captured by the camera. The application uses image processing technology to analyze the barcode and outputs the barcode information as digital data. Specifically, the user points the camera at the barcode and taps the scan button. 【0083】 Step 2: 【0084】 The terminal transmits the acquired barcode information to the cloud server via a communication method. The input is the parsed barcode information. The data is securely transferred to the server using a network protocol (e.g., HTTPS). The output is the barcode data sent to the cloud server. Specific operations include data encoding and security protection using the SSL / TLS protocol. 【0085】 Step 3: 【0086】 The server performs a database search based on the received barcode information. The input is the barcode data sent to the server. The server uses SQL queries to search the pharmaceutical database and determine whether the drug is eligible for the incentive program. The output is the result of the determination of whether the drug is eligible for the program. The specific operations include connecting to the database and executing queries. 【0087】 Step 4: 【0088】 The server returns the identification result to the user terminal. The input is the accuracy judgment result. The server sends this result to the terminal as structured data. The output is the judgment result returned to the terminal. The specific operation involves generating structured data in JSON format or similar and sending it via communication means. 【0089】 Step 5: 【0090】 The user verifies eligibility for the program within the application and enters the purchase date and purchase amount. The input information includes the purchase date and purchase amount. The application saves this data to internal storage for later processing. The output is the saved transaction information. Specific operations include form input via the user interface. 【0091】 Step 6: 【0092】 The terminal sends the saved transaction information back to the server. The input includes the purchase date and purchase amount. The server receives this data and uses it for further processing. The output is the transaction information sent back to the server. This process involves data transmission again using a network protocol. 【0093】 Step 7: 【0094】 The server automatically generates application documents using a generation AI model. Inputs include transaction information (purchase date, purchase amount) and the results of the regulatory assessment. The AI ​​model is instructed to generate the application documents using prompts. The output is the generated application document. Specific operations include sending prompts to the AI ​​model and analyzing the results. 【0095】 Step 8: 【0096】 The generated application document is sent to the terminal and displayed to the user. The input is a document generated by an AI model. The terminal displays the document in a user-friendly format, and allows saving and printing as needed. The output is the application document displayed on the user interface. Specific operations include document rendering and file management functions. 【0097】 (Application Example 1) 【0098】 Next, we will explain Application Example 1. In the following explanation, the data processing device 12 will be referred to as the "server," and the smart device 14 will be referred to as the "terminal." 【0099】 Determining whether a self-medication tax deduction applies when purchasing pharmaceuticals, and the subsequent reporting procedures, present a significant challenge for consumers due to their complexity and cumbersome nature. Furthermore, maximizing the tax benefits of applicable pharmaceuticals requires accurate management of purchase information and the preparation of proper declarations, which is a burdensome task to perform manually. Additionally, the lack of a way to instantly determine the settlement amount when the tax deduction is applied results in low convenience for users. 【0100】 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 1 is realized by the following means. 【0101】 In this invention, the server includes means for determining whether a pharmaceutical product is eligible for the self-medication tax deduction based on barcode information, means for automatically generating a self-medication tax deduction declaration form based on the recorded purchase date and amount, and means for automatically calculating the settlement amount after tax application and notifying the user. As a result, users can automatically and simply perform all procedures, from checking eligibility for the self-medication tax deduction to creating the declaration form and understanding the settlement amount after tax application, simply by scanning the barcode of the pharmaceutical product. 【0102】 "Imaging means" refers to devices and technologies used to acquire images in order to read barcodes on pharmaceuticals. 【0103】 "Communication means" refers to means for transmitting scanned barcode information to a remote data processing device, and includes technology for transmitting data over a network. 【0104】 "Discrimination means" refers to a method or system used in a data processing device to determine whether a pharmaceutical product is eligible for the self-medication tax deduction based on acquired barcode information. 【0105】 A "recording means" refers to a device or process that has the function of acquiring the discrimination result and further storing information on the purchase date and amount. 【0106】 "Generation method" refers to a process or system that automatically creates a self-medication tax return statement based on recorded information. 【0107】 "Output means" refers to devices or technologies that have the function of presenting the generated declaration statement to the user and providing it in a displayable or printable format. 【0108】 A "calculation method" refers to a system or process that automatically calculates the settlement amount after tax application and notifies the user of the result. 【0109】 To implement this invention, a mobile device such as a smartphone, a remote data processing device (server), and an application to link them together are mainly required. 【0110】 The terminal uses a smartphone camera as an imaging tool to read the barcode on the pharmaceutical product. This image data is transmitted to the server via a secure protocol using a communication method. Encryption protocols such as HTTPS are used during communication to protect the information. 【0111】 The server searches its database based on the received barcode information and, through a discrimination mechanism, determines whether the medicine is eligible for the self-medication tax deduction. This determination is then sent back to the terminal, where the user enters the purchase date and price. 【0112】 The entered information is then passed back to the server, which uses a generation tool to automatically generate a self-medication tax declaration form based on the recorded information. This generation uses a generation AI model to construct the form in the optimal format. Additionally, a calculation tool is used to calculate the settlement amount after tax application and notify the user. The results are displayed on the terminal via an output tool, allowing for necessary actions. 【0113】 As a concrete example, a user scans the barcode of "Cold Medicine A" with their smartphone, and the tax-deductible amount is reflected in real time during payment. This entire process significantly reduces the user's effort and simplifies tax reporting. 【0114】 An example of a prompt message would be: "Based on the entered barcode information, please check whether the self-medication tax deduction applies and output a tax return statement including that information." 【0115】 The flow of a specific process in Application Example 1 will be explained using Figure 12. 【0116】 Step 1: 【0117】 The user scans the barcode of a pharmaceutical product using the device's camera. The barcode image is obtained as input, and the device uses image processing technology (e.g., OpenCV) to extract the barcode information as text data. 【0118】 Step 2: 【0119】 The terminal uses the extracted barcode information as input and transmits it to the server via a communication method. Secure protocols such as HTTPS are used for data transmission, and processes are in place to prevent third parties from viewing the information. 【0120】 Step 3: 【0121】 The server performs a database search based on the received barcode information. The input is barcode information, and the server retrieves relevant drug information from the database and performs calculations to determine whether the self-medication tax deduction applies. The result is then obtained. 【0122】 Step 4: 【0123】 The server sends the identification result to the terminal, and the user checks the result on the terminal. Based on the identification result, the user enters the purchase date and amount through an input form on the terminal. The entered data becomes the basis for the next step. 【0124】 Step 5: 【0125】 The server receives purchase date and amount information sent from the terminal. The server uses a generative AI model as a generation method to automatically generate the declaration statement. This prompt generates the declaration statement in an optimized format. The output is the statement data. 【0126】 Step 6: 【0127】 Furthermore, the server calculates the settlement amount after tax deductions. Using the purchase amount and tax deduction data as input, it calculates the settlement amount using a calculation tool and outputs the result to the terminal along with the generated tax return statement. 【0128】 Step 7: 【0129】 The user reviews the declaration statement and settlement amount generated on the terminal, and saves the data as a PDF or prints it via a printer as needed. The visualized data is presented to the user through the output method, completing the document for declaration. 【0130】 Furthermore, an emotion engine that estimates the user's emotions may be incorporated. That is, the identification processing unit 290 may use the emotion identification model 59 to estimate the user's emotions and perform identification processing using the user's emotions. 【0131】 The system according to the present invention begins with the user scanning the barcode of a medicine purchased at a pharmacy. When the user uses a smartphone application to read the barcode of the medicine with a camera as an imaging means, the digital information is transmitted to a server via a communication means. 【0132】 The server uses the received barcode information to search the pharmaceutical database and determine whether the drug is eligible for the self-medication tax deduction. The determination is made by comparing the barcode information with the information obtained from the database and returning the result to the terminal. 【0133】 The user checks the identification result on their device and, if it is an eligible medicine, enters the purchase date and purchase price. This information is transmitted from the device to the server via a recording device and stored on the server. Based on the recorded information, the server uses an AI model to generate a self-medication tax declaration form. In this process, AI is applied as a generation method to create the declaration form in the optimal format. 【0134】 Furthermore, this invention incorporates an emotion engine that analyzes the user's voice and facial expressions to understand the user's emotional state during use. Based on this emotional information, it has a function to provide more appropriate support messages and guidance if the user is experiencing difficulties or anxiety during operation. The emotion engine operates on the terminal and dynamically adjusts the interface content and output based on the emotion recognition results. 【0135】 As a concrete example, when a user scans the barcode of a cold medicine, the server identifies it as an "eligible drug." The user enters the purchase date "October 1, 2023" and the amount "1500 yen," and the server automatically generates a declaration form. If the emotion engine detects confusion from the user's facial expression during processing, it displays simpler guidance and support messages to ensure the user can use the system smoothly. This process improves user convenience and significantly reduces the barrier to using the tax system. 【0136】 The following describes the processing flow. 【0137】 Step 1: 【0138】 The user launches a smartphone app and scans the barcode of the purchased medication with the camera. The device acquires the barcode information as an imaging tool. 【0139】 Step 2: 【0140】 The terminal transmits the acquired barcode information to the server via a communication method. During this process, the information is encrypted and sent using a secure protocol. 【0141】 Step 3: 【0142】 The server searches its internal drug database based on the received barcode information. The server then determines whether the drug in question is eligible for the self-medication tax deduction. 【0143】 Step 4: 【0144】 The server sends the determination result back to the terminal. The terminal displays the received information to the user so that the user can confirm it. 【0145】 Step 5: 【0146】 After the user confirms that the medication is the correct one, they enter the purchase date and price. The terminal then transmits this information to the server via a recording device. 【0147】 Step 6: 【0148】 The server stores the received purchase information and uses an AI model to generate a self-medication tax return statement. As a generation method, the AI ​​constructs the optimal return based on past formats. 【0149】 Step 7: 【0150】 The device's built-in emotion engine monitors the user's voice and facial expressions to analyze their emotional state. If it detects the user's excitement or confusion, it provides appropriate support messages and navigation. 【0151】 Step 8: 【0152】 The server sends the generated declaration statement data to the terminal. The terminal provides the user with an interface to display the details and allow them to confirm the contents. 【0153】 Step 9: 【0154】 Users review the displayed tax return and either save it as a PDF or print it using a printer. This printing process facilitates users in ultimately completing their planned tax filing. 【0155】 (Example 2) 【0156】 Next, we will describe Example 2. In the following description, the data processing device 12 will be referred to as the "server," and the smart device 14 will be referred to as the "terminal." 【0157】 The management of identification information at the time of product purchase and the complexity of reporting in accordance with regulations are challenges. In particular, in systems that target specific products, such as the self-medication tax system, accurate and efficient management of purchase information is required, but doing this manually is difficult. Furthermore, the lack of means to provide support that responds to the user's emotions is a factor that hinders the improvement of the user experience. 【0158】 The identification process performed by the identification processing unit 290 of the data processing device 12 in Example 2 is realized by the following means. 【0159】 In this invention, the server includes determination function means for determining product identification information, generation function means for storing the information and generating a declaration document, and output function means for displaying and presenting the generated document. This enables accurate management of product identification information, provision of emotionally responsive support, and efficient regulatory reporting. 【0160】 A "product identification code" is a code used to uniquely identify a specific product, and is usually implemented in the form of a barcode or QR code (registered trademark). 【0161】 An "imaging device" is a device that acquires image data using equipment such as a camera and processes that information. 【0162】 A "communication device" is a technology that has the function of transmitting digital information to other devices or networks, and it sends and receives information via the internet, etc. 【0163】 An "information processing device" is a computer system that performs calculations and decisions based on received digital information and generates results. 【0164】 A "decision-making function" is an algorithm or process that evaluates whether specific conditions are met based on the received data and makes a decision. 【0165】 A "recording device" is a means of storing data in physical or electronic form so that it can be referenced later. 【0166】 "Generative function" refers to the ability to automatically construct new data or documents based on given information, and typically utilizes AI models or algorithms. 【0167】 An "output function" is a mechanism for displaying or printing generated data or documents to the user, and utilizes interfaces, printers, and other similar devices. 【0168】 "Data resources" are collections of information treated as databases or online repositories, and are accessed as needed. 【0169】 A "machine learning model" is an algorithm that automatically performs a specific task by learning from a large amount of data, and it constitutes a part of artificial intelligence. 【0170】 The system according to the present invention begins with a user scanning a product identification code using a device such as a smartphone or tablet. The imaging device on the device reads the product identification code and converts it into digital information. This information is transmitted to a server via a communication device. 【0171】 The server references information resources based on the received product identification information to determine whether the product is subject to specific regulations. The server processes the data using advanced algorithms and generates a determination result. A database is used as a data resource for the determination, and SQL queries are executed. 【0172】 Once the assessment is complete, the server sends the results back to the terminal. The user checks the results on the terminal and, if applicable, enters information such as the purchase date and price. This information is then sent back to the server by the recording device and stored in the server's database. 【0173】 This system also utilizes a generative AI model to automatically generate the necessary declaration documents based on stored information. The generated documents are transmitted to the user's device for easy reference. The AI ​​model helps automatically optimize the document format. 【0174】 As a concrete example, when a user scans the barcode of cold medicine with their device, the server receives the information and determines whether or not it is eligible for the self-medication tax deduction. After receiving the result, the user enters their purchase information, and the system automatically generates a tax return. During processing, an emotion analysis engine detects user confusion and provides simple guidance as needed. 【0175】 An example of a prompt message would be, "Please suggest the procedure for creating a self-medication tax return statement based on barcode information." 【0176】 This system makes it easier for users to manage their information after purchasing products and allows them to quickly complete procedures in accordance with regulations. 【0177】 The flow of the specific processing in Example 2 will be explained using Figure 13. 【0178】 Step 1: 【0179】 The user scans the product identification code using the device's camera. The input used is an image of a barcode or QR code. The device executes an algorithm to extract the code as a string from this image and outputs it as digital information. 【0180】 Step 2: 【0181】 The terminal transmits the extracted digital information to the server via a communication device. At this stage, the input is digitized product identification information, and the output is data transferred to the server via a secure connection. 【0182】 Step 3: 【0183】 The server searches for information resources based on the received product identification information. The input to this process is product identification data, and it uses SQL queries to search the database and retrieve the relevant product information. The output is the result of determining whether or not the relevant product is subject to regulation. 【0184】 Step 4: 【0185】 The server returns the judgment result to the terminal in JSON format. The input in this step is the judgment result data, which is output as data formatted so that the user can view it on their terminal. 【0186】 Step 5: 【0187】 The user reviews the results and, if necessary, enters additional information such as the purchase date and price. This input is data that the user manually enters into their device, and it is output as data ready to be sent to the server. 【0188】 Step 6: 【0189】 The terminal sends additional purchase information to the server. The entered information includes the purchase date and price, which is sent to the server as output and recorded in the database. 【0190】 Step 7: 【0191】 The server generates a declaration document using a generative AI model based on the recorded information. The input is the stored information, and the AI ​​model creates the optimal declaration document based on the prompt text. The output is the final declaration document. 【0192】 Step 8: 【0193】 On the device, an emotion analysis engine analyzes the user's voice and facial expressions. The input is the user's real-time voice and facial expression data, and based on the analysis results, it displays necessary support messages. The output is the support message the user receives. 【0194】 This will allow users to efficiently manage their information after purchasing a product and be supported in completing the necessary declaration procedures. 【0195】 (Application Example 2) 【0196】 Next, we will explain application example 2. In the following explanation, the data processing device 12 will be referred to as a "server" and the smart device 14 as a "terminal". 【0197】 There is a need to easily manage product purchase information using barcodes, reduce the burden of tax filing procedures, and provide appropriate support based on the user's emotional state at the time of use. Traditional procedures have been cumbersome, involving the creation of tax forms and the recording of information, and have lacked emotionally-based support. 【0198】 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 2 is realized by the following means. 【0199】 In this invention, the server includes imaging means for reading product barcodes, communication means for transmitting data to a data processing device, and emotion analysis means for detecting the user's emotional state and providing support messages. This allows users to easily manage product purchase information and perform tax filing procedures without stress while receiving support tailored to their emotions. 【0200】 A "product barcode" is a code containing identification information, consisting of a series of lines or patterns, that is attached to a product. 【0201】 "Imaging means" refers to a device or function for acquiring an image of an object using a camera, scanner, or the like. 【0202】 "Communication means" refers to a method or device for transmitting data from one point to another. 【0203】 A "data processing device" is a computer or related system used to analyze received information and perform necessary operations. 【0204】 "Discrimination means" refers to a function or device for evaluating whether something meets specific conditions based on given information. 【0205】 "Recording means" refers to a device or function for storing acquired information and making it available for later reference. 【0206】 "Generation means" refers to a device or function for creating new data or documents based on input information. 【0207】 "Output means" refers to a device or function for displaying processed information in a format that can be recognized by the user. 【0208】 "Emotional analysis means" refers to a function or device that analyzes a user's facial expressions, voice, etc., to infer their emotional state. 【0209】 A "product data repository" is a database that stores detailed information about various products. 【0210】 A "machine learning model" is an autonomous learning program that analyzes data patterns and makes predictions and decisions. 【0211】 To implement the invention, an imaging device is required as a means of reading the product's barcode. This device captures the product's barcode using hardware such as a smartphone camera. The barcode information is transmitted to a data processing device via a communication means. This device refers to a data repository and determines whether the product in question is subject to taxation. 【0212】 When the data processing device receives the identification result based on barcode information, it records the information along with the purchase date and amount entered by the user. Based on this information, a machine learning model is used to generate a tax return statement. The generated statement is presented to the user through an output device. 【0213】 Furthermore, user emotion analysis is performed on the device, and the emotional state is evaluated using data obtained from imaging devices and voice input. Based on this emotion analysis, appropriate support messages are displayed on the interface to improve the user experience. 【0214】 As a concrete example, when a user purchases cold medicine and scans its barcode with their smartphone, the data processing unit identifies it as a product eligible for the self-medication tax deduction. The user then enters the purchase date ("December 1, 2023") and the amount ("2,000 yen"), and a declaration form is automatically generated. If the user becomes confused during the process, sentiment analysis provides necessary guidance. 【0215】 An example of a prompt message is: "When a user purchases medicine, they scan a barcode and enter details, after which the AI ​​generates a tax declaration form. The system analyzes the user's emotions during use and provides support if needed. This is implemented through a smartphone app." 【0216】 The flow of a specific process in Application Example 2 will be explained using Figure 14. 【0217】 Step 1: 【0218】 The user scans the product's barcode using their smartphone. The input is a barcode image, which is read by the imaging device. The output is barcode information. 【0219】 Step 2: 【0220】 The terminal transmits the acquired barcode information to the data processing device using a communication method. The input is barcode information, which is sent to the server via communication. The output is the barcode information received by the server. 【0221】 Step 3: 【0222】 The server analyzes the received barcode information by referring to the product data repository to determine whether the product is subject to taxation. The input is barcode information, and data retrieval and matching calculations are performed in conjunction with the determination. The output is the determination result. 【0223】 Step 4: 【0224】 The server returns the determination result to the terminal and displays a form for the user to enter the purchase date and amount. The input is the determination result, and the output is what the user sees. 【0225】 Step 5: 【0226】 The user enters the purchase date and amount. The input consists of the purchase date and amount. The output is this information stored on the device. 【0227】 Step 6: 【0228】 The terminal sends the entered purchase date, amount, and judgment result to the server. The input is user-generated information sent to the server via communication. The output is information stored on the server. 【0229】 Step 7: 【0230】 The server generates a tax return statement using a generative AI model based on the information it receives. The input is a complete set of purchase information, and the AI ​​performs data calculations and optimization processing. The output is the generated tax return statement. 【0231】 Step 8: 【0232】 The server sends the generated declaration statement to the terminal and outputs it for the user to review. The input is the generated declaration statement, and the output is the document displayed on the terminal's screen. 【0233】 Step 9: 【0234】 The device uses a camera and microphone to identify the user's emotions and processes them using emotion analysis tools. The input consists of audio and video data from the user, which is then processed using an emotion analysis algorithm. The output is the user's emotional state. 【0235】 Step 10: 【0236】 The device displays necessary support messages based on the emotion analysis results. The input is the emotional state, and the output is the guidance and support messages displayed on the screen. 【0237】 The specific processing unit 290 transmits the result of the specific processing to the smart device 14. In the smart device 14, the control unit 46A causes the output device 40 to output the result of the specific processing. The microphone 38B acquires audio indicating user input for the result of the specific processing. The control unit 46A transmits the audio data indicating user input acquired by the microphone 38B to the data processing device 12. In the data processing device 12, the specific processing unit 290 acquires the audio data. 【0238】 Data generation model 58 is a so-called generative AI (Artificial Intelligence). An example of data generation model 58 is ChatGPT (registered trademark) (Internet search).<URL: https: / / openai.com / blog / chatgpt> ), Gemini (registered trademark) (Internet search) <url: https: gemini.google.com ?hl="ja">Examples of generative AI include the following. The data generation model 58 is obtained by performing deep learning on a neural network. The data generation model 58 is input with prompts containing instructions, and with inference data such as audio data representing speech, text data representing text, and image data representing images. The data generation model 58 infers from the input inference data according to the instructions indicated by the prompts, and outputs the inference results in data formats such as audio data and text data. Here, inference refers to, for example, analysis, classification, prediction, and / or summarization. 【0239】 In the above embodiment, an example was given in which specific processing is performed by the data processing device 12, but the technology of this disclosure is not limited thereto, and the specific processing may also be performed by the smart device 14. 【0240】 [Second Embodiment] 【0241】 Figure 3 shows an example of the configuration of the data processing system 210 according to the second embodiment. 【0242】 As shown in Figure 3, the data processing system 210 includes a data processing device 12 and smart glasses 214. An example of the data processing device 12 is a server. 【0243】 The data processing device 12 comprises a computer 22, a database 24, and a communication interface 26. The computer 22 is an example of a "computer" related to the technology of this disclosure. The computer 22 comprises a processor 28, RAM 30, and storage 32. The processor 28, RAM 30, and storage 32 are connected to a bus 34. The database 24 and the communication interface 26 are also connected to the bus 34. The communication interface 26 is connected to a network 54. An example of the network 54 is a WAN (Wide Area Network) and / or a LAN (Local Area Network). 【0244】 The smart glasses 214 include a computer 36, a microphone 238, a speaker 240, a camera 42, and a communication interface 44. The computer 36 includes a processor 46, RAM 48, and storage 50. The processor 46, RAM 48, and storage 50 are connected to a bus 52. The microphone 238, speaker 240, and camera 42 are also connected to the bus 52. 【0245】 The microphone 238 receives voice signals from the user 20 and receives instructions from the user 20. The microphone 238 captures the voice signals from the user 20, converts the captured voice into audio data, and outputs it to the processor 46. The speaker 240 outputs audio according to the instructions from the processor 46. 【0246】 Camera 42 is a small digital camera equipped with an optical system including a lens, aperture, and shutter, and an image sensor such as a CMOS (Complementary Metal-Oxide-Semiconductor) image sensor or a CCD (Charge Coupled Device) image sensor, and captures images of the area around the user 20 (for example, an imaging range defined by a field of view equivalent to the width of a typical healthy person's field of vision). 【0247】 Communication interface 44 is connected to network 54. Communication interfaces 44 and 26 are responsible for the exchange of various information between processor 46 and processor 28 via network 54. The exchange of various information between processor 46 and processor 28 using communication interfaces 44 and 26 is performed in a secure manner. 【0248】 Figure 4 shows an example of the main functions of the data processing device 12 and the smart glasses 214. As shown in Figure 4, the data processing device 12 performs specific processing using the processor 28. The storage 32 stores the specific processing program 56. 【0249】 The specific processing program 56 is an example of a "program" relating to the technology of this disclosure. The processor 28 reads the specific processing program 56 from the storage 32 and executes the read specific processing program 56 on the RAM 30. The specific processing is realized by the processor 28 operating as a specific processing unit 290 in accordance with the specific processing program 56 executed on the RAM 30. 【0250】 The storage 32 stores the data generation model 58 and the emotion identification model 59. The data generation model 58 and the emotion identification model 59 are used by the identification processing unit 290. 【0251】 In the smart glasses 214, the processor 46 performs the reception output processing. The storage 50 stores the reception output program 60. The processor 46 reads the reception output program 60 from the storage 50 and executes the read reception output program 60 on the RAM 48. The reception output processing is realized by the processor 46 operating as a control unit 46A according to the reception output program 60 executed on the RAM 48. 【0252】 Next, the identification processing performed by the identification processing unit 290 of the data processing device 12 will be described. In the following description, the data processing device 12 will be referred to as the "server" and the smart glasses 214 will be referred to as the "terminal". 【0253】 The system according to the present invention starts with an application that allows the user to scan the barcodes of medicines purchased at a pharmacy. The user uses their smartphone to read the barcodes of each purchased medicine with the camera. The barcode data acquired by this imaging means is transferred to a cloud server using a secure protocol via a communication means within the terminal. 【0254】 The server searches a pharmaceutical database based on the received barcode information. This database contains pre-registered barcodes for each pharmaceutical product and information on whether or not they are eligible for the self-medication tax deduction. The server determines from the search results whether the pharmaceutical product is eligible for the deduction and sends this information back to the terminal. 【0255】 The user confirms that the medication is eligible within the application, and enters the purchase date and purchase price into an input form. The terminal collects this information using recording devices and sends it back to the server. The server then creates a self-medication tax return based on the recorded information. This process is performed using artificial intelligence as a generation method, and the declaration form is automatically generated for the user to use later. 【0256】 The generated declaration form is displayed on the user's terminal via the output method. The user can review this form and, if necessary, save it in PDF format or print it directly via a printer. 【0257】 As a concrete example, the barcode of "Cold Medicine A" purchased by a user at a pharmacy is scanned, and that information is sent to the server. The server verifies that "Cold Medicine A" is eligible for the system, and the user enters the purchase date "October 1, 2023" and the amount "1500 yen". The server then creates a detailed statement based on this information and displays it on the terminal in a format that can be saved as a PDF. In this way, users can easily file for the self-medication tax deduction. 【0258】 The following describes the processing flow. 【0259】 Step 1: 【0260】 The user launches a smartphone app and scans the barcode of the medicine purchased at the pharmacy with the camera. The app uses the barcode as an image capture device and extracts its digital information. 【0261】 Step 2: 【0262】 The terminal transmits the extracted barcode data to the server via a communication method and an encrypted protocol. Security is ensured during this process to prevent interception by third parties. 【0263】 Step 3: 【0264】 The server uses the received barcode data to search the pharmaceutical database. The database contains barcodes for all over-the-counter drugs and information on their eligibility for self-medication tax deductions, allowing for safe and rapid search results. 【0265】 Step 4: 【0266】 The server identifies the target medication based on the search results. The identified information, including the name of the medication and whether or not it is eligible for the self-medication tax deduction, is sent back to the terminal. 【0267】 Step 5: 【0268】 The user reviews the provided information and, if it is the relevant medication, enters the purchase date and price within the app. This information is then formatted appropriately within the app and passed on to the next process. 【0269】 Step 6: 【0270】 The terminal collects the purchase information entered by the user and sends it back to the server. This information is stored on the server as data necessary for preparing the self-medication tax return. 【0271】 Step 7: 【0272】 Based on the received purchase information, the server uses an AI model to automatically generate a self-medication tax return form. The return form generated by this method is accurately constructed according to the required format. 【0273】 Step 8: 【0274】 The server transfers the generated declaration form to the terminal and presents it to the user. The user can review the contents of the declaration form on the app screen and save it as a PDF or print it directly as needed. This is achieved through the output method. 【0275】 (Example 1) 【0276】 Next, we will describe Example 1. In the following description, the data processing device 12 will be referred to as the "server," and the smart glasses 214 will be referred to as the "terminal." 【0277】 Traditional reward programs often involve cumbersome and time-consuming application procedures for users. In particular, the process of accurately recording and managing information, and creating application documents, is time-consuming and laborious, often burdening users. To solve this problem, an efficient and automated system is needed. 【0278】 The identification process performed by the identification processing unit 290 of the data processing device 12 in Example 1 is realized by the following means. 【0279】 In this invention, the server includes, as a means for reading information, a device for acquiring the code of the information, a communication means for transmitting the acquired information to a computing resource, and an identification means for identifying, based on the information, whether the substance is eligible for the reward program at the computing resource. This enables users to efficiently acquire information and accurately and quickly create the necessary application documents. 【0280】 An "information reading device" is a device that has the function of acquiring the code of information. 【0281】 A "communication device" is a device that has the function of securely and efficiently transmitting acquired information to computing resources. 【0282】 The "identification means" is a structure having a function for determining whether a specific substance is subject to an incentive system by using the information received in the computing resources. 【0283】 The "storage means" is a device having a function for effectively storing the information on the date and time of the transaction and the consideration based on the identification result. 【0284】 The "composition means" is a technology having a function for automatically composing an application document for the incentive system based on the stored information. 【0285】 The "output means" is a device having a function for presenting the generated application document to the user and displaying and printing it. 【0286】 The embodiments for implementing the present invention are shown below. 【0287】 Subject: User 【0288】 First, the user uses a smartphone or a tablet having a barcode scanner function installed as an information reading means to obtain the barcode information of the pharmaceutical product. Thereby, the information of the purchased pharmaceutical product is secured as digital data. Using a dedicated application installed in this device, the user can easily check the obtained information. 【0289】 Subject: Terminal 【0290】 The terminal transmits the obtained barcode information to the cloud server via a secure protocol (e.g., HTTPS) using the communication means. The application provides an interface for transmitting this after appropriately formatting the data format. This application has a guiding function for the user to smoothly transmit the data. 【0291】 Subject: Server 【0292】 Based on the received barcode information, the server uses the identification means to 【0293】 The system searches a database of pre-registered substance information. The identification method uses database operations such as SQL queries to determine whether a particular drug is eligible for the reward program. Based on this determination, the server returns the identification result to the terminal. 【0294】 Upon receiving detailed information about the purchase date and amount, the server uses a configuration tool to automatically generate an application document for the reward program, utilizing an AI model. This AI model receives instructions through prompts to structure the information in the optimal document format. 【0295】 As a specific example, if a user purchases "Cold Medicine A," the user's device reads the barcode and sends the information to the server. The server verifies that the product is eligible for the program and creates an application document based on the purchase date "October 1, 2023" and the amount "1500 yen" entered by the user, and displays it on the device. The user can then save or print the application document in PDF format. 【0296】 An example of a prompt message is: "Please prepare a tax return for the self-medication tax deduction. The medicine is 'Cold Medicine A,' purchased on October 1, 2023, and cost 1500 yen." 【0297】 The flow of the specific processing in Example 1 will be explained using Figure 11. 【0298】 Step 1: 【0299】 The user launches a smartphone application and scans the barcode of a pharmaceutical product with the camera. The input is the barcode image captured by the camera. The application uses image processing technology to analyze the barcode and outputs the barcode information as digital data. Specifically, the user points the camera at the barcode and taps the scan button. 【0300】 Step 2: 【0301】 The terminal transmits the acquired barcode information to the cloud server via the communication means. As input, there is the analyzed barcode information. The data is securely transferred to the server using a network protocol (e.g., HTTPS). The output is the barcode data transmitted to the cloud server. Specific operations include data encoding and security protection using the SSL / TLS protocol. 【0302】 Step 3: 【0303】 Based on the received barcode information, the server performs a database search. The input is the barcode data transmitted to the server. The server uses an SQL query to search the pharmaceutical database and determine whether the corresponding pharmaceutical is subject to the reward system. The output is the determination result of whether the pharmaceutical is subject to the system. Specific operations include connecting to the database and executing the query. 【0304】 Step 4: 【0305】 The server returns the identification result to the user terminal. As input, there is the system determination result. The server transmits this result to the terminal as structured data. The output is the determination result returned to the terminal. Specific operations include generating structured data in a JSON format, etc., and transmitting it using the communication means. 【0306】 Step 5: 【0307】 The user confirms on the application that it is subject to the system and enters the purchase date and purchase amount. As input information, there are the purchase date and purchase amount. The application saves these data in the internal storage and prepares them for later processing. The output is the saved transaction information. Specific operations include form input via the user interface. 【0308】 Step 6: 【0309】 The terminal sends the saved transaction information back to the server. The input includes the purchase date and purchase amount. The server receives this data and uses it for further processing. The output is the transaction information sent back to the server. This process involves data transmission again using a network protocol. 【0310】 Step 7: 【0311】 The server automatically generates application documents using a generation AI model. Inputs include transaction information (purchase date, purchase amount) and the results of the regulatory assessment. The AI ​​model is instructed to generate the application documents using prompts. The output is the generated application document. Specific operations include sending prompts to the AI ​​model and analyzing the results. 【0312】 Step 8: 【0313】 The generated application document is sent to the terminal and displayed to the user. The input is a document generated by an AI model. The terminal displays the document in a user-friendly format, and allows saving and printing as needed. The output is the application document displayed on the user interface. Specific operations include document rendering and file management functions. 【0314】 (Application Example 1) 【0315】 Next, we will explain Application Example 1. In the following explanation, the data processing device 12 will be referred to as the "server," and the smart glasses 214 will be referred to as the "terminal." 【0316】 Determining whether a self-medication tax deduction applies when purchasing pharmaceuticals, and the subsequent reporting procedures, present a significant challenge for consumers due to their complexity and cumbersome nature. Furthermore, maximizing the tax benefits of applicable pharmaceuticals requires accurate management of purchase information and the preparation of proper declarations, which is a burdensome task to perform manually. Additionally, the lack of a way to instantly determine the settlement amount when the tax deduction is applied results in low convenience for users. 【0317】 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 1 is realized by the following means. 【0318】 In this invention, the server includes means for determining whether a pharmaceutical product is eligible for the self-medication tax deduction based on barcode information, means for automatically generating a self-medication tax deduction declaration form based on the recorded purchase date and amount, and means for automatically calculating the settlement amount after tax application and notifying the user. As a result, users can automatically and simply perform all procedures, from checking eligibility for the self-medication tax deduction to creating the declaration form and understanding the settlement amount after tax application, simply by scanning the barcode of the pharmaceutical product. 【0319】 "Imaging means" refers to devices and technologies used to acquire images in order to read barcodes on pharmaceuticals. 【0320】 "Communication means" refers to means for transmitting scanned barcode information to a remote data processing device, and includes technology for transmitting data over a network. 【0321】 "Discrimination means" refers to a method or system used in a data processing device to determine whether a pharmaceutical product is eligible for the self-medication tax deduction based on acquired barcode information. 【0322】 A "recording means" refers to a device or process that has the function of acquiring the discrimination result and further storing information on the purchase date and amount. 【0323】 "Generation method" refers to a process or system that automatically creates a self-medication tax return statement based on recorded information. 【0324】 "Output means" refers to devices or technologies that have the function of presenting the generated declaration statement to the user and providing it in a displayable or printable format. 【0325】 A "calculation method" refers to a system or process that automatically calculates the settlement amount after tax application and notifies the user of the result. 【0326】 To implement this invention, a mobile device such as a smartphone, a remote data processing device (server), and an application to link them together are mainly required. 【0327】 The terminal uses a smartphone camera as an imaging tool to read the barcode on the pharmaceutical product. This image data is transmitted to the server via a secure protocol using a communication method. Encryption protocols such as HTTPS are used during communication to protect the information. 【0328】 The server searches its database based on the received barcode information and, through a discrimination mechanism, determines whether the medicine is eligible for the self-medication tax deduction. This determination is then sent back to the terminal, where the user enters the purchase date and price. 【0329】 The entered information is then passed back to the server, which uses a generation tool to automatically generate a self-medication tax declaration form based on the recorded information. This generation uses a generation AI model to construct the form in the optimal format. Additionally, a calculation tool is used to calculate the settlement amount after tax application and notify the user. The results are displayed on the terminal via an output tool, allowing for necessary actions. 【0330】 As a concrete example, a user scans the barcode of "Cold Medicine A" with their smartphone, and the tax-deductible amount is reflected in real time during payment. This entire process significantly reduces the user's effort and simplifies tax reporting. 【0331】 An example of a prompt message would be: "Based on the entered barcode information, please check whether the self-medication tax deduction applies and output a tax return statement including that information." 【0332】 The flow of a specific process in Application Example 1 will be explained using Figure 12. 【0333】 Step 1: 【0334】 The user scans the barcode of a pharmaceutical product using the device's camera. The barcode image is obtained as input, and the device uses image processing technology (e.g., OpenCV) to extract the barcode information as text data. 【0335】 Step 2: 【0336】 The terminal uses the extracted barcode information as input and transmits it to the server via a communication method. Secure protocols such as HTTPS are used for data transmission, and processes are in place to prevent third parties from viewing the information. 【0337】 Step 3: 【0338】 The server performs a database search based on the received barcode information. The input is barcode information, and the server retrieves relevant drug information from the database and performs calculations to determine whether the self-medication tax deduction applies. The result is then obtained. 【0339】 Step 4: 【0340】 The server sends the identification result to the terminal, and the user checks the result on the terminal. Based on the identification result, the user enters the purchase date and amount through an input form on the terminal. The entered data becomes the basis for the next step. 【0341】 Step 5: 【0342】 The server receives purchase date and amount information sent from the terminal. The server uses a generative AI model as a generation method to automatically generate the declaration statement. This prompt generates the declaration statement in an optimized format. The output is the statement data. 【0343】 Step 6: 【0344】 Furthermore, the server calculates the settlement amount after tax deductions. Using the purchase amount and tax deduction data as input, it calculates the settlement amount using a calculation tool and outputs the result to the terminal along with the generated tax return statement. 【0345】 Step 7: 【0346】 The user reviews the declaration statement and settlement amount generated on the terminal, and saves the data as a PDF or prints it via a printer as needed. The visualized data is presented to the user through the output method, completing the document for declaration. 【0347】 Furthermore, an emotion engine that estimates the user's emotions may be incorporated. That is, the identification processing unit 290 may use the emotion identification model 59 to estimate the user's emotions and perform identification processing using the user's emotions. 【0348】 The system according to the present invention begins with the user scanning the barcode of a medicine purchased at a pharmacy. When the user uses a smartphone application to read the barcode of the medicine with a camera as an imaging means, the digital information is transmitted to a server via a communication means. 【0349】 The server uses the received barcode information to search the pharmaceutical database and determine whether the drug is eligible for the self-medication tax deduction. The determination is made by comparing the barcode information with the information obtained from the database and returning the result to the terminal. 【0350】 The user checks the identification result on their device and, if it is an eligible medicine, enters the purchase date and purchase price. This information is transmitted from the device to the server via a recording device and stored on the server. Based on the recorded information, the server uses an AI model to generate a self-medication tax declaration form. In this process, AI is applied as a generation method to create the declaration form in the optimal format. 【0351】 Furthermore, this invention incorporates an emotion engine that analyzes the user's voice and facial expressions to understand the user's emotional state during use. Based on this emotional information, it has a function to provide more appropriate support messages and guidance if the user is experiencing difficulties or anxiety during operation. The emotion engine operates on the terminal and dynamically adjusts the interface content and output based on the emotion recognition results. 【0352】 As a concrete example, when a user scans the barcode of a cold medicine, the server identifies it as an "eligible drug." The user enters the purchase date "October 1, 2023" and the amount "1500 yen," and the server automatically generates a declaration form. If the emotion engine detects confusion from the user's facial expression during processing, it displays simpler guidance and support messages to ensure the user can use the system smoothly. This process improves user convenience and significantly reduces the barrier to using the tax system. 【0353】 The following describes the processing flow. 【0354】 Step 1: 【0355】 The user launches a smartphone app and scans the barcode of the purchased medication with the camera. The device acquires the barcode information as an imaging tool. 【0356】 Step 2: 【0357】 The terminal transmits the acquired barcode information to the server via a communication method. During this process, the information is encrypted and sent using a secure protocol. 【0358】 Step 3: 【0359】 The server searches its internal drug database based on the received barcode information. The server then determines whether the drug in question is eligible for the self-medication tax deduction. 【0360】 Step 4: 【0361】 The server sends the determination result back to the terminal. The terminal displays the received information to the user so that the user can confirm it. 【0362】 Step 5: 【0363】 After the user confirms that the medication is the correct one, they enter the purchase date and price. The terminal then transmits this information to the server via a recording device. 【0364】 Step 6: 【0365】 The server stores the received purchase information and uses an AI model to generate a self-medication tax return statement. As a generation method, the AI ​​constructs the optimal return based on past formats. 【0366】 Step 7: 【0367】 The device's built-in emotion engine monitors the user's voice and facial expressions to analyze their emotional state. If it detects the user's excitement or confusion, it provides appropriate support messages and navigation. 【0368】 Step 8: 【0369】 The server sends the generated declaration statement data to the terminal. The terminal provides the user with an interface to display the details and allow them to confirm the contents. 【0370】 Step 9: 【0371】 Users review the displayed tax return and either save it as a PDF or print it using a printer. This printing process facilitates users in ultimately completing their planned tax filing. 【0372】 (Example 2) 【0373】 Next, we will describe Example 2. In the following description, the data processing device 12 will be referred to as the "server" and the smart glasses 214 will be referred to as the "terminal". 【0374】 The management of identification information at the time of product purchase and the complexity of reporting in accordance with regulations are challenges. In particular, in systems that target specific products, such as the self-medication tax system, accurate and efficient management of purchase information is required, but doing this manually is difficult. Furthermore, the lack of means to provide support that responds to the user's emotions is a factor that hinders the improvement of the user experience. 【0375】 The identification process performed by the identification processing unit 290 of the data processing device 12 in Example 2 is realized by the following means. 【0376】 In this invention, the server includes determination function means for determining product identification information, generation function means for storing the information and generating a declaration document, and output function means for displaying and presenting the generated document. This enables accurate management of product identification information, provision of emotionally responsive support, and efficient regulatory reporting. 【0377】 A "product identification code" is a code used to uniquely identify a specific product, and is usually implemented in the form of a barcode or QR code. 【0378】 An "imaging device" is a device that acquires image data using equipment such as a camera and processes that information. 【0379】 A "communication device" is a technology that has the function of transmitting digital information to other devices or networks, and it sends and receives information via the internet, etc. 【0380】 An "information processing device" is a computer system that performs calculations and decisions based on received digital information and generates results. 【0381】 A "decision-making function" is an algorithm or process that evaluates whether specific conditions are met based on the received data and makes a decision. 【0382】 A "recording device" is a means of storing data in physical or electronic form so that it can be referenced later. 【0383】 "Generative function" refers to the ability to automatically construct new data or documents based on given information, and typically utilizes AI models or algorithms. 【0384】 An "output function" is a mechanism for displaying or printing generated data or documents to the user, and utilizes interfaces, printers, and other similar devices. 【0385】 "Data resources" are collections of information treated as databases or online repositories, and are accessed as needed. 【0386】 A "machine learning model" is an algorithm that automatically performs a specific task by learning from a large amount of data, and it constitutes a part of artificial intelligence. 【0387】 The system according to the present invention begins with a user scanning a product identification code using a device such as a smartphone or tablet. The imaging device on the device reads the product identification code and converts it into digital information. This information is transmitted to a server via a communication device. 【0388】 The server references information resources based on the received product identification information to determine whether the product is subject to specific regulations. The server processes the data using advanced algorithms and generates a determination result. A database is used as a data resource for the determination, and SQL queries are executed. 【0389】 Once the assessment is complete, the server sends the results back to the terminal. The user checks the results on the terminal and, if applicable, enters information such as the purchase date and price. This information is then sent back to the server by the recording device and stored in the server's database. 【0390】 This system also utilizes a generative AI model to automatically generate the necessary declaration documents based on stored information. The generated documents are transmitted to the user's device for easy reference. The AI ​​model helps automatically optimize the document format. 【0391】 As a concrete example, when a user scans the barcode of cold medicine with their device, the server receives the information and determines whether or not it is eligible for the self-medication tax deduction. After receiving the result, the user enters their purchase information, and the system automatically generates a tax return. During processing, an emotion analysis engine detects user confusion and provides simple guidance as needed. 【0392】 An example of a prompt message would be, "Please suggest the procedure for creating a self-medication tax return statement based on barcode information." 【0393】 This system makes it easier for users to manage their information after purchasing products and allows them to quickly complete procedures in accordance with regulations. 【0394】 The flow of the specific processing in Example 2 will be explained using Figure 13. 【0395】 Step 1: 【0396】 The user scans the product identification code using the device's camera. The input used is an image of a barcode or QR code. The device executes an algorithm to extract the code as a string from this image and outputs it as digital information. 【0397】 Step 2: 【0398】 The terminal transmits the extracted digital information to the server via a communication device. At this stage, the input is digitized product identification information, and the output is data transferred to the server via a secure connection. 【0399】 Step 3: 【0400】 The server searches for information resources based on the received product identification information. The input to this process is product identification data, and it uses SQL queries to search the database and retrieve the relevant product information. The output is the result of determining whether or not the relevant product is subject to regulation. 【0401】 Step 4: 【0402】 The server returns the judgment result to the terminal in JSON format. The input in this step is the judgment result data, which is output as data formatted so that the user can view it on their terminal. 【0403】 Step 5: 【0404】 The user reviews the results and, if necessary, enters additional information such as the purchase date and price. This input is data that the user manually enters into their device, and it is output as data ready to be sent to the server. 【0405】 Step 6: 【0406】 The terminal sends additional purchase information to the server. The entered information includes the purchase date and price, which is sent to the server as output and recorded in the database. 【0407】 Step 7: 【0408】 The server generates a declaration document using a generative AI model based on the recorded information. The input is the stored information, and the AI ​​model creates the optimal declaration document based on the prompt text. The output is the final declaration document. 【0409】 Step 8: 【0410】 On the device, an emotion analysis engine analyzes the user's voice and facial expressions. The input is the user's real-time voice and facial expression data, and based on the analysis results, it displays necessary support messages. The output is the support message the user receives. 【0411】 This will allow users to efficiently manage their information after purchasing a product and be supported in completing the necessary declaration procedures. 【0412】 (Application Example 2) 【0413】 Next, we will explain application example 2. In the following explanation, the data processing device 12 will be referred to as the "server," and the smart glasses 214 will be referred to as the "terminal." 【0414】 There is a need to easily manage product purchase information using barcodes, reduce the burden of tax filing procedures, and provide appropriate support based on the user's emotional state at the time of use. Traditional procedures have been cumbersome, involving the creation of tax forms and the recording of information, and have lacked emotionally-based support. 【0415】 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 2 is realized by the following means. 【0416】 In this invention, the server includes imaging means for reading product barcodes, communication means for transmitting data to a data processing device, and emotion analysis means for detecting the user's emotional state and providing support messages. This allows users to easily manage product purchase information and perform tax filing procedures without stress while receiving support tailored to their emotions. 【0417】 A "product barcode" is a code containing identification information, consisting of a series of lines or patterns, that is attached to a product. 【0418】 "Imaging means" refers to a device or function for acquiring an image of an object using a camera, scanner, or the like. 【0419】 "Communication means" refers to a method or device for transmitting data from one point to another. 【0420】 A "data processing device" is a computer or related system used to analyze received information and perform necessary operations. 【0421】 "Discrimination means" refers to a function or device for evaluating whether something meets specific conditions based on given information. 【0422】 "Recording means" refers to a device or function for storing acquired information and making it available for later reference. 【0423】 "Generation means" refers to a device or function for creating new data or documents based on input information. 【0424】 "Output means" refers to a device or function for displaying processed information in a format that can be recognized by the user. 【0425】 "Emotional analysis means" refers to a function or device that analyzes a user's facial expressions, voice, etc., to infer their emotional state. 【0426】 A "product data repository" is a database that stores detailed information about various products. 【0427】 A "machine learning model" is an autonomous learning program that analyzes data patterns and makes predictions and decisions. 【0428】 To implement the invention, an imaging device is required as a means of reading the product's barcode. This device captures the product's barcode using hardware such as a smartphone camera. The barcode information is transmitted to a data processing device via a communication means. This device refers to a data repository and determines whether the product in question is subject to taxation. 【0429】 When the data processing device receives the identification result based on barcode information, it records the information along with the purchase date and amount entered by the user. Based on this information, a machine learning model is used to generate a tax return statement. The generated statement is presented to the user through an output device. 【0430】 Furthermore, user emotion analysis is performed on the device, and the emotional state is evaluated using data obtained from imaging devices and voice input. Based on this emotion analysis, appropriate support messages are displayed on the interface to improve the user experience. 【0431】 As a concrete example, when a user purchases cold medicine and scans its barcode with their smartphone, the data processing unit identifies it as a product eligible for the self-medication tax deduction. The user then enters the purchase date ("December 1, 2023") and the amount ("2,000 yen"), and a declaration form is automatically generated. If the user becomes confused during the process, sentiment analysis provides necessary guidance. 【0432】 An example of a prompt message is: "When a user purchases medicine, they scan a barcode and enter details, after which the AI ​​generates a tax declaration form. The system analyzes the user's emotions during use and provides support if needed. This is implemented through a smartphone app." 【0433】 The flow of a specific process in Application Example 2 will be explained using Figure 14. 【0434】 Step 1: 【0435】 The user scans the product's barcode using their smartphone. The input is a barcode image, which is read by the imaging device. The output is barcode information. 【0436】 Step 2: 【0437】 The terminal transmits the acquired barcode information to the data processing device using a communication method. The input is barcode information, which is sent to the server via communication. The output is the barcode information received by the server. 【0438】 Step 3: 【0439】 The server analyzes the received barcode information by referring to the product data repository to determine whether the product is subject to taxation. The input is barcode information, and data retrieval and matching calculations are performed in conjunction with the determination. The output is the determination result. 【0440】 Step 4: 【0441】 The server returns the determination result to the terminal and displays a form for the user to enter the purchase date and amount. The input is the determination result, and the output is what the user sees. 【0442】 Step 5: 【0443】 The user enters the purchase date and amount. The input consists of the purchase date and amount. The output is this information stored on the device. 【0444】 Step 6: 【0445】 The terminal sends the entered purchase date, amount, and judgment result to the server. The input is user-generated information sent to the server via communication. The output is information stored on the server. 【0446】 Step 7: 【0447】 The server generates a tax return statement using a generative AI model based on the information it receives. The input is a complete set of purchase information, and the AI ​​performs data calculations and optimization processing. The output is the generated tax return statement. 【0448】 Step 8: 【0449】 The server sends the generated declaration statement to the terminal and outputs it for the user to review. The input is the generated declaration statement, and the output is the document displayed on the terminal's screen. 【0450】 Step 9: 【0451】 The device uses a camera and microphone to identify the user's emotions and processes them using emotion analysis tools. The input consists of audio and video data from the user, which is then processed using an emotion analysis algorithm. The output is the user's emotional state. 【0452】 Step 10: 【0453】 The device displays necessary support messages based on the emotion analysis results. The input is the emotional state, and the output is the guidance and support messages displayed on the screen. 【0454】 The specific processing unit 290 transmits the result of the specific processing to the smart glasses 214. In the smart glasses 214, the control unit 46A causes the speaker 240 to output the result of the specific processing. The microphone 238 acquires audio indicating user input for the result of the specific processing. The control unit 46A transmits the audio data indicating user input acquired by the microphone 238 to the data processing unit 12. In the data processing unit 12, the specific processing unit 290 acquires the audio data. 【0455】 Data generation model 58 is a type of so-called generative AI (Artificial Intelligence). One example of data generation model 58 is ChatGPT (Internet search<URL: https: / / openai.com / blog / chatgpt> ), Gemini (Internet search) <url: https: gemini.google.com ?hl="ja">Examples of generative AI include the following. The data generation model 58 is obtained by performing deep learning on a neural network. The data generation model 58 is input with prompts containing instructions, and with inference data such as audio data representing speech, text data representing text, and image data representing images. The data generation model 58 infers from the input inference data according to the instructions indicated by the prompts, and outputs the inference results in data formats such as audio data and text data. Here, inference refers to, for example, analysis, classification, prediction, and / or summarization. 【0456】 In the above embodiment, an example was given in which specific processing is performed by the data processing device 12, but the technology of this disclosure is not limited thereto, and the specific processing may also be performed by the smart glasses 214. 【0457】 [Third Embodiment] 【0458】 Figure 5 shows an example of the configuration of the data processing system 310 according to the third embodiment. 【0459】 As shown in Figure 5, the data processing system 310 includes a data processing device 12 and a headset terminal 314. An example of the data processing device 12 is a server. 【0460】 The data processing device 12 comprises a computer 22, a database 24, and a communication interface 26. The computer 22 is an example of a "computer" related to the technology of this disclosure. The computer 22 comprises a processor 28, RAM 30, and storage 32. The processor 28, RAM 30, and storage 32 are connected to a bus 34. The database 24 and the communication interface 26 are also connected to the bus 34. The communication interface 26 is connected to a network 54. An example of the network 54 is a WAN (Wide Area Network) and / or a LAN (Local Area Network). 【0461】 The headset terminal 314 includes a computer 36, a microphone 238, a speaker 240, a camera 42, a communication interface 44, and a display 343. The computer 36 includes a processor 46, RAM 48, and storage 50. The processor 46, RAM 48, and storage 50 are connected to a bus 52. The microphone 238, speaker 240, camera 42, and display 343 are also connected to the bus 52. 【0462】 The microphone 238 receives voice signals from the user 20 and receives instructions from the user 20. The microphone 238 captures the voice signals from the user 20, converts the captured voice into audio data, and outputs it to the processor 46. The speaker 240 outputs audio according to the instructions from the processor 46. 【0463】 Camera 42 is a small digital camera equipped with an optical system including a lens, aperture, and shutter, and an image sensor such as a CMOS (Complementary Metal-Oxide-Semiconductor) image sensor or a CCD (Charge Coupled Device) image sensor, and captures images of the area around the user 20 (for example, an imaging range defined by a field of view equivalent to the width of a typical healthy person's field of vision). 【0464】 Communication interface 44 is connected to network 54. Communication interfaces 44 and 26 are responsible for the exchange of various information between processor 46 and processor 28 via network 54. The exchange of various information between processor 46 and processor 28 using communication interfaces 44 and 26 is performed in a secure manner. 【0465】 Figure 6 shows an example of the main functions of the data processing device 12 and the headset terminal 314. As shown in Figure 6, the data processing device 12 performs specific processing using the processor 28. The storage 32 stores the specific processing program 56. 【0466】 The specific processing program 56 is an example of a "program" relating to the technology of this disclosure. The processor 28 reads the specific processing program 56 from the storage 32 and executes the read specific processing program 56 on the RAM 30. The specific processing is realized by the processor 28 operating as a specific processing unit 290 in accordance with the specific processing program 56 executed on the RAM 30. 【0467】 The storage 32 stores the data generation model 58 and the emotion identification model 59. The data generation model 58 and the emotion identification model 59 are used by the identification processing unit 290. 【0468】 In the headset terminal 314, the processor 46 performs the reception output processing. The storage 50 stores the reception output program 60. The processor 46 reads the reception output program 60 from the storage 50 and executes the read reception output program 60 on the RAM 48. The reception output processing is realized by the processor 46 operating as a control unit 46A according to the reception output program 60 executed on the RAM 48. 【0469】 Next, the specific processing performed by the specific processing unit 290 of the data processing device 12 will be described. In the following description, the data processing device 12 will be referred to as the "server" and the headset terminal 314 will be referred to as the "terminal". 【0470】 The system according to the present invention starts with an application that allows the user to scan the barcodes of medicines purchased at a pharmacy. The user uses their smartphone to read the barcodes of each purchased medicine with the camera. The barcode data acquired by this imaging means is transferred to a cloud server using a secure protocol via a communication means within the terminal. 【0471】 The server searches a pharmaceutical database based on the received barcode information. This database contains pre-registered barcodes for each pharmaceutical product and information on whether or not they are eligible for the self-medication tax deduction. The server determines from the search results whether the pharmaceutical product is eligible for the deduction and sends this information back to the terminal. 【0472】 The user confirms that the medication is eligible within the application, and enters the purchase date and purchase price into an input form. The terminal collects this information using recording devices and sends it back to the server. The server then creates a self-medication tax return based on the recorded information. This process is performed using artificial intelligence as a generation method, and the declaration form is automatically generated for the user to use later. 【0473】 The generated declaration form is displayed on the user's terminal via the output method. The user can review this form and, if necessary, save it in PDF format or print it directly via a printer. 【0474】 As a concrete example, the barcode of "Cold Medicine A" purchased by a user at a pharmacy is scanned, and that information is sent to the server. The server verifies that "Cold Medicine A" is eligible for the system, and the user enters the purchase date "October 1, 2023" and the amount "1500 yen". The server then creates a detailed statement based on this information and displays it on the terminal in a format that can be saved as a PDF. In this way, users can easily file for the self-medication tax deduction. 【0475】 The following describes the processing flow. 【0476】 Step 1: 【0477】 The user launches a smartphone app and scans the barcode of the medicine purchased at the pharmacy with the camera. The app uses the barcode as an image capture device and extracts its digital information. 【0478】 Step 2: 【0479】 The terminal transmits the extracted barcode data to the server via a communication method and an encrypted protocol. Security is ensured during this process to prevent interception by third parties. 【0480】 Step 3: 【0481】 The server uses the received barcode data to search the pharmaceutical database. The database contains barcodes for all over-the-counter drugs and information on their eligibility for self-medication tax deductions, allowing for safe and rapid search results. 【0482】 Step 4: 【0483】 The server identifies the target medication based on the search results. The identified information, including the name of the medication and whether or not it is eligible for the self-medication tax deduction, is sent back to the terminal. 【0484】 Step 5: 【0485】 The user reviews the provided information and, if it is the relevant medication, enters the purchase date and price within the app. This information is then formatted appropriately within the app and passed on to the next process. 【0486】 Step 6: 【0487】 The terminal collects the purchase information entered by the user and sends it back to the server. This information is stored on the server as data necessary for preparing the self-medication tax return. 【0488】 Step 7: 【0489】 Based on the received purchase information, the server uses an AI model to automatically generate a self-medication tax return form. The return form generated by this method is accurately constructed according to the required format. 【0490】 Step 8: 【0491】 The server transfers the generated declaration form to the terminal and presents it to the user. The user can review the contents of the declaration form on the app screen and save it as a PDF or print it directly as needed. This is achieved through the output method. 【0492】 (Example 1) 【0493】 Next, we will describe Example 1. In the following description, the data processing device 12 will be referred to as the "server," and the headset-type terminal 314 will be referred to as the "terminal." 【0494】 Traditional reward programs often involve cumbersome and time-consuming application procedures for users. In particular, the process of accurately recording and managing information, and creating application documents, is time-consuming and laborious, often burdening users. To solve this problem, an efficient and automated system is needed. 【0495】 The identification process performed by the identification processing unit 290 of the data processing device 12 in Example 1 is realized by the following means. 【0496】 In this invention, the server includes, as a means for reading information, a device for acquiring the code of the information, a communication means for transmitting the acquired information to a computing resource, and an identification means for identifying, based on the information, whether the substance is eligible for the reward program at the computing resource. This enables users to efficiently acquire information and accurately and quickly create the necessary application documents. 【0497】 An "information reading device" is a device that has the function of acquiring the code of information. 【0498】 A "communication device" is a device that has the function of securely and efficiently transmitting acquired information to computing resources. 【0499】 An "identification means" is a structure that has the function of determining whether a particular substance is eligible for a reward program using information received from computing resources. 【0500】 A "storage device" is a device that has the function of effectively storing information on the date and time of a transaction and the price of the transaction based on the identification results. 【0501】 "Construction means" refers to technology that has the function of automatically constructing application documents for a reward system based on stored information. 【0502】 "Output means" refers to a device that has the function of presenting, displaying, and printing the generated application document to the user. 【0503】 The embodiments for carrying out the present invention are shown below. 【0504】 Subject: User 【0505】 First, users use a smartphone or tablet equipped with a barcode scanner function to obtain the barcode information of the medication. This secures the information of the purchased medication as digital data. Using a dedicated application installed on this device, users can easily check the acquired information. 【0506】 Subject: terminal 【0507】 The terminal transmits the acquired barcode information to the cloud server using a secure protocol (e.g., HTTPS) via a communication method. The application provides an interface for appropriately formatting the data and sending it to the server. This application also includes a guide function to ensure the user can transmit the data smoothly. 【0508】 Subject: Server 【0509】 Based on the received barcode information, the server uses an identification means to: 【0510】 The system searches a database of pre-registered substance information. The identification method uses database operations such as SQL queries to determine whether a particular drug is eligible for the reward program. Based on this determination, the server returns the identification result to the terminal. 【0511】 Upon receiving detailed information about the purchase date and amount, the server uses a configuration tool to automatically generate an application document for the reward program, utilizing an AI model. This AI model receives instructions through prompts to structure the information in the optimal document format. 【0512】 As a specific example, if a user purchases "Cold Medicine A," the user's device reads the barcode and sends the information to the server. The server verifies that the product is eligible for the program and creates an application document based on the purchase date "October 1, 2023" and the amount "1500 yen" entered by the user, and displays it on the device. The user can then save or print the application document in PDF format. 【0513】 An example of a prompt message is: "Please prepare a tax return for the self-medication tax deduction. The medicine is 'Cold Medicine A,' purchased on October 1, 2023, and cost 1500 yen." 【0514】 The flow of the specific processing in Example 1 will be explained using Figure 11. 【0515】 Step 1: 【0516】 The user launches a smartphone application and scans the barcode of a pharmaceutical product with the camera. The input is the barcode image captured by the camera. The application uses image processing technology to analyze the barcode and outputs the barcode information as digital data. Specifically, the user points the camera at the barcode and taps the scan button. 【0517】 Step 2: 【0518】 The terminal transmits the acquired barcode information to the cloud server via a communication method. The input is the parsed barcode information. The data is securely transferred to the server using a network protocol (e.g., HTTPS). The output is the barcode data sent to the cloud server. Specific operations include data encoding and security protection using the SSL / TLS protocol. 【0519】 Step 3: 【0520】 The server performs a database search based on the received barcode information. The input is the barcode data sent to the server. The server uses SQL queries to search the pharmaceutical database and determine whether the drug is eligible for the incentive program. The output is the result of the determination of whether the drug is eligible for the program. The specific operations include connecting to the database and executing queries. 【0521】 Step 4: 【0522】 The server returns the identification result to the user terminal. The input is the accuracy judgment result. The server sends this result to the terminal as structured data. The output is the judgment result returned to the terminal. The specific operation involves generating structured data in JSON format or similar and sending it via communication means. 【0523】 Step 5: 【0524】 The user verifies eligibility for the program within the application and enters the purchase date and purchase amount. The input information includes the purchase date and purchase amount. The application saves this data to internal storage for later processing. The output is the saved transaction information. Specific operations include form input via the user interface. 【0525】 Step 6: 【0526】 The terminal sends the saved transaction information back to the server. The input includes the purchase date and purchase amount. The server receives this data and uses it for further processing. The output is the transaction information sent back to the server. This process involves data transmission again using a network protocol. 【0527】 Step 7: 【0528】 The server automatically generates application documents using a generation AI model. Inputs include transaction information (purchase date, purchase amount) and the results of the regulatory assessment. The AI ​​model is instructed to generate the application documents using prompts. The output is the generated application document. Specific operations include sending prompts to the AI ​​model and analyzing the results. 【0529】 Step 8: 【0530】 The generated application document is sent to the terminal and displayed to the user. The input is a document generated by an AI model. The terminal displays the document in a user-friendly format, and allows saving and printing as needed. The output is the application document displayed on the user interface. Specific operations include document rendering and file management functions. 【0531】 (Application Example 1) 【0532】 Next, we will explain Application Example 1. In the following explanation, the data processing device 12 will be referred to as the "server," and the headset-type terminal 314 will be referred to as the "terminal." 【0533】 Determining whether a self-medication tax deduction applies when purchasing pharmaceuticals, and the subsequent reporting procedures, present a significant challenge for consumers due to their complexity and cumbersome nature. Furthermore, maximizing the tax benefits of applicable pharmaceuticals requires accurate management of purchase information and the preparation of proper declarations, which is a burdensome task to perform manually. Additionally, the lack of a way to instantly determine the settlement amount when the tax deduction is applied results in low convenience for users. 【0534】 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 1 is realized by the following means. 【0535】 In this invention, the server includes means for determining whether a pharmaceutical product is eligible for the self-medication tax deduction based on barcode information, means for automatically generating a self-medication tax deduction declaration form based on the recorded purchase date and amount, and means for automatically calculating the settlement amount after tax application and notifying the user. As a result, users can automatically and simply perform all procedures, from checking eligibility for the self-medication tax deduction to creating the declaration form and understanding the settlement amount after tax application, simply by scanning the barcode of the pharmaceutical product. 【0536】 "Imaging means" refers to devices and technologies used to acquire images in order to read barcodes on pharmaceuticals. 【0537】 "Communication means" refers to means for transmitting scanned barcode information to a remote data processing device, and includes technology for transmitting data over a network. 【0538】 "Discrimination means" refers to a method or system used in a data processing device to determine whether a pharmaceutical product is eligible for the self-medication tax deduction based on acquired barcode information. 【0539】 A "recording means" refers to a device or process that has the function of acquiring the discrimination result and further storing information on the purchase date and amount. 【0540】 "Generation method" refers to a process or system that automatically creates a self-medication tax return statement based on recorded information. 【0541】 "Output means" refers to devices or technologies that have the function of presenting the generated declaration statement to the user and providing it in a displayable or printable format. 【0542】 A "calculation method" refers to a system or process that automatically calculates the settlement amount after tax application and notifies the user of the result. 【0543】 To implement this invention, a mobile device such as a smartphone, a remote data processing device (server), and an application to link them together are mainly required. 【0544】 The terminal uses a smartphone camera as an imaging tool to read the barcode on the pharmaceutical product. This image data is transmitted to the server via a secure protocol using a communication method. Encryption protocols such as HTTPS are used during communication to protect the information. 【0545】 The server searches its database based on the received barcode information and, through a discrimination mechanism, determines whether the medicine is eligible for the self-medication tax deduction. This determination is then sent back to the terminal, where the user enters the purchase date and price. 【0546】 The entered information is then passed back to the server, which uses a generation tool to automatically generate a self-medication tax declaration form based on the recorded information. This generation uses a generation AI model to construct the form in the optimal format. Additionally, a calculation tool is used to calculate the settlement amount after tax application and notify the user. The results are displayed on the terminal via an output tool, allowing for necessary actions. 【0547】 As a concrete example, a user scans the barcode of "Cold Medicine A" with their smartphone, and the tax-deductible amount is reflected in real time during payment. This entire process significantly reduces the user's effort and simplifies tax reporting. 【0548】 An example of a prompt message would be: "Based on the entered barcode information, please check whether the self-medication tax deduction applies and output a tax return statement including that information." 【0549】 The flow of a specific process in Application Example 1 will be explained using Figure 12. 【0550】 Step 1: 【0551】 The user scans the barcode of a pharmaceutical product using the device's camera. The barcode image is obtained as input, and the device uses image processing technology (e.g., OpenCV) to extract the barcode information as text data. 【0552】 Step 2: 【0553】 The terminal uses the extracted barcode information as input and transmits it to the server via a communication method. Secure protocols such as HTTPS are used for data transmission, and processes are in place to prevent third parties from viewing the information. 【0554】 Step 3: 【0555】 The server performs a database search based on the received barcode information. The input is barcode information, and the server retrieves relevant drug information from the database and performs calculations to determine whether the self-medication tax deduction applies. The result is then obtained. 【0556】 Step 4: 【0557】 The server sends the identification result to the terminal, and the user checks the result on the terminal. Based on the identification result, the user enters the purchase date and amount through an input form on the terminal. The entered data becomes the basis for the next step. 【0558】 Step 5: 【0559】 The server receives purchase date and amount information sent from the terminal. The server uses a generative AI model as a generation method to automatically generate the declaration statement. This prompt generates the declaration statement in an optimized format. The output is the statement data. 【0560】 Step 6: 【0561】 Furthermore, the server calculates the settlement amount after tax deductions. Using the purchase amount and tax deduction data as input, it calculates the settlement amount using a calculation tool and outputs the result to the terminal along with the generated tax return statement. 【0562】 Step 7: 【0563】 The user reviews the declaration statement and settlement amount generated on the terminal, and saves the data as a PDF or prints it via a printer as needed. The visualized data is presented to the user through the output method, completing the document for declaration. 【0564】 Furthermore, an emotion engine that estimates the user's emotions may be incorporated. That is, the identification processing unit 290 may use the emotion identification model 59 to estimate the user's emotions and perform identification processing using the user's emotions. 【0565】 The system according to the present invention begins with the user scanning the barcode of a medicine purchased at a pharmacy. When the user uses a smartphone application to read the barcode of the medicine with a camera as an imaging means, the digital information is transmitted to a server via a communication means. 【0566】 The server uses the received barcode information to search the pharmaceutical database and determine whether the drug is eligible for the self-medication tax deduction. The determination is made by comparing the barcode information with the information obtained from the database and returning the result to the terminal. 【0567】 The user checks the identification result on their device and, if it is an eligible medicine, enters the purchase date and purchase price. This information is transmitted from the device to the server via a recording device and stored on the server. Based on the recorded information, the server uses an AI model to generate a self-medication tax declaration form. In this process, AI is applied as a generation method to create the declaration form in the optimal format. 【0568】 Furthermore, this invention incorporates an emotion engine that analyzes the user's voice and facial expressions to understand the user's emotional state during use. Based on this emotional information, it has a function to provide more appropriate support messages and guidance if the user is experiencing difficulties or anxiety during operation. The emotion engine operates on the terminal and dynamically adjusts the interface content and output based on the emotion recognition results. 【0569】 As a concrete example, when a user scans the barcode of a cold medicine, the server identifies it as an "eligible drug." The user enters the purchase date "October 1, 2023" and the amount "1500 yen," and the server automatically generates a declaration form. If the emotion engine detects confusion from the user's facial expression during processing, it displays simpler guidance and support messages to ensure the user can use the system smoothly. This process improves user convenience and significantly reduces the barrier to using the tax system. 【0570】 The following describes the processing flow. 【0571】 Step 1: 【0572】 The user launches a smartphone app and scans the barcode of the purchased medication with the camera. The device acquires the barcode information as an imaging tool. 【0573】 Step 2: 【0574】 The terminal transmits the acquired barcode information to the server via a communication method. During this process, the information is encrypted and sent using a secure protocol. 【0575】 Step 3: 【0576】 The server searches its internal drug database based on the received barcode information. The server then determines whether the drug in question is eligible for the self-medication tax deduction. 【0577】 Step 4: 【0578】 The server sends the determination result back to the terminal. The terminal displays the received information to the user so that the user can confirm it. 【0579】 Step 5: 【0580】 After the user confirms that the medication is the correct one, they enter the purchase date and price. The terminal then transmits this information to the server via a recording device. 【0581】 Step 6: 【0582】 The server stores the received purchase information and uses an AI model to generate a self-medication tax return statement. As a generation method, the AI ​​constructs the optimal return based on past formats. 【0583】 Step 7: 【0584】 The device's built-in emotion engine monitors the user's voice and facial expressions to analyze their emotional state. If it detects the user's excitement or confusion, it provides appropriate support messages and navigation. 【0585】 Step 8: 【0586】 The server sends the generated declaration statement data to the terminal. The terminal provides the user with an interface to display the details and allow them to confirm the contents. 【0587】 Step 9: 【0588】 Users review the displayed tax return and either save it as a PDF or print it using a printer. This printing process facilitates users in ultimately completing their planned tax filing. 【0589】 (Example 2) 【0590】 Next, we will describe Example 2. In the following description, the data processing device 12 will be referred to as the "server," and the headset-type terminal 314 will be referred to as the "terminal." 【0591】 The management of identification information at the time of product purchase and the complexity of reporting in accordance with regulations are challenges. In particular, in systems that target specific products, such as the self-medication tax system, accurate and efficient management of purchase information is required, but doing this manually is difficult. Furthermore, the lack of means to provide support that responds to the user's emotions is a factor that hinders the improvement of the user experience. 【0592】 The identification process performed by the identification processing unit 290 of the data processing device 12 in Example 2 is realized by the following means. 【0593】 In this invention, the server includes determination function means for determining product identification information, generation function means for storing the information and generating a declaration document, and output function means for displaying and presenting the generated document. This enables accurate management of product identification information, provision of emotionally responsive support, and efficient regulatory reporting. 【0594】 A "product identification code" is a code used to uniquely identify a specific product, and is usually implemented in the form of a barcode or QR code. 【0595】 An "imaging device" is a device that acquires image data using equipment such as a camera and processes that information. 【0596】 A "communication device" is a technology that has the function of transmitting digital information to other devices or networks, and it sends and receives information via the internet, etc. 【0597】 An "information processing device" is a computer system that performs calculations and decisions based on received digital information and generates results. 【0598】 A "decision-making function" is an algorithm or process that evaluates whether specific conditions are met based on the received data and makes a decision. 【0599】 A "recording device" is a means of storing data in physical or electronic form so that it can be referenced later. 【0600】 "Generative function" refers to the ability to automatically construct new data or documents based on given information, and typically utilizes AI models or algorithms. 【0601】 An "output function" is a mechanism for displaying or printing generated data or documents to the user, and utilizes interfaces, printers, and other similar devices. 【0602】 "Data resources" are collections of information treated as databases or online repositories, and are accessed as needed. 【0603】 A "machine learning model" is an algorithm that automatically performs a specific task by learning from a large amount of data, and it constitutes a part of artificial intelligence. 【0604】 The system according to the present invention begins with a user scanning a product identification code using a device such as a smartphone or tablet. The imaging device on the device reads the product identification code and converts it into digital information. This information is transmitted to a server via a communication device. 【0605】 The server references information resources based on the received product identification information to determine whether the product is subject to specific regulations. The server processes the data using advanced algorithms and generates a determination result. A database is used as a data resource for the determination, and SQL queries are executed. 【0606】 Once the assessment is complete, the server sends the results back to the terminal. The user checks the results on the terminal and, if applicable, enters information such as the purchase date and price. This information is then sent back to the server by the recording device and stored in the server's database. 【0607】 This system also utilizes a generative AI model to automatically generate the necessary declaration documents based on stored information. The generated documents are transmitted to the user's device for easy reference. The AI ​​model helps automatically optimize the document format. 【0608】 As a concrete example, when a user scans the barcode of cold medicine with their device, the server receives the information and determines whether or not it is eligible for the self-medication tax deduction. After receiving the result, the user enters their purchase information, and the system automatically generates a tax return. During processing, an emotion analysis engine detects user confusion and provides simple guidance as needed. 【0609】 An example of a prompt message would be, "Please suggest the procedure for creating a self-medication tax return statement based on barcode information." 【0610】 This system makes it easier for users to manage their information after purchasing products and allows them to quickly complete procedures in accordance with regulations. 【0611】 The flow of the specific processing in Example 2 will be explained using Figure 13. 【0612】 Step 1: 【0613】 The user scans the product identification code using the device's camera. The input used is an image of a barcode or QR code. The device executes an algorithm to extract the code as a string from this image and outputs it as digital information. 【0614】 Step 2: 【0615】 The terminal transmits the extracted digital information to the server via a communication device. At this stage, the input is digitized product identification information, and the output is data transferred to the server via a secure connection. 【0616】 Step 3: 【0617】 The server searches for information resources based on the received product identification information. The input to this process is product identification data, and it uses SQL queries to search the database and retrieve the relevant product information. The output is the result of determining whether or not the relevant product is subject to regulation. 【0618】 Step 4: 【0619】 The server returns the judgment result to the terminal in JSON format. The input in this step is the judgment result data, which is output as data formatted so that the user can view it on their terminal. 【0620】 Step 5: 【0621】 The user reviews the results and, if necessary, enters additional information such as the purchase date and price. This input is data that the user manually enters into their device, and it is output as data ready to be sent to the server. 【0622】 Step 6: 【0623】 The terminal sends additional purchase information to the server. The entered information includes the purchase date and price, which is sent to the server as output and recorded in the database. 【0624】 Step 7: 【0625】 The server generates a declaration document using a generative AI model based on the recorded information. The input is the stored information, and the AI ​​model creates the optimal declaration document based on the prompt text. The output is the final declaration document. 【0626】 Step 8: 【0627】 On the device, an emotion analysis engine analyzes the user's voice and facial expressions. The input is the user's real-time voice and facial expression data, and based on the analysis results, it displays necessary support messages. The output is the support message the user receives. 【0628】 This will allow users to efficiently manage their information after purchasing a product and be supported in completing the necessary declaration procedures. 【0629】 (Application Example 2) 【0630】 Next, we will explain Application Example 2. In the following explanation, the data processing device 12 will be referred to as the "server," and the headset-type terminal 314 will be referred to as the "terminal." 【0631】 There is a need to easily manage product purchase information using barcodes, reduce the burden of tax filing procedures, and provide appropriate support based on the user's emotional state at the time of use. Traditional procedures have been cumbersome, involving the creation of tax forms and the recording of information, and have lacked emotionally-based support. 【0632】 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 2 is realized by the following means. 【0633】 In this invention, the server includes imaging means for reading product barcodes, communication means for transmitting data to a data processing device, and emotion analysis means for detecting the user's emotional state and providing support messages. This allows users to easily manage product purchase information and perform tax filing procedures without stress while receiving support tailored to their emotions. 【0634】 A "product barcode" is a code containing identification information, consisting of a series of lines or patterns, that is attached to a product. 【0635】 "Imaging means" refers to a device or function for acquiring an image of an object using a camera, scanner, or the like. 【0636】 "Communication means" refers to a method or device for transmitting data from one point to another. 【0637】 A "data processing device" is a computer or related system used to analyze received information and perform necessary operations. 【0638】 "Discrimination means" refers to a function or device for evaluating whether something meets specific conditions based on given information. 【0639】 "Recording means" refers to a device or function for storing acquired information and making it available for later reference. 【0640】 "Generation means" refers to a device or function for creating new data or documents based on input information. 【0641】 "Output means" refers to a device or function for displaying processed information in a format that can be recognized by the user. 【0642】 "Emotional analysis means" refers to a function or device that analyzes a user's facial expressions, voice, etc., to infer their emotional state. 【0643】 A "product data repository" is a database that stores detailed information about various products. 【0644】 A "machine learning model" is an autonomous learning program that analyzes data patterns and makes predictions and decisions. 【0645】 To implement the invention, an imaging device is required as a means of reading the product's barcode. This device captures the product's barcode using hardware such as a smartphone camera. The barcode information is transmitted to a data processing device via a communication means. This device refers to a data repository and determines whether the product in question is subject to taxation. 【0646】 When the data processing device receives the identification result based on barcode information, it records the information along with the purchase date and amount entered by the user. Based on this information, a machine learning model is used to generate a tax return statement. The generated statement is presented to the user through an output device. 【0647】 Furthermore, user emotion analysis is performed on the device, and the emotional state is evaluated using data obtained from imaging devices and voice input. Based on this emotion analysis, appropriate support messages are displayed on the interface to improve the user experience. 【0648】 As a concrete example, when a user purchases cold medicine and scans its barcode with their smartphone, the data processing unit identifies it as a product eligible for the self-medication tax deduction. The user then enters the purchase date ("December 1, 2023") and the amount ("2,000 yen"), and a declaration form is automatically generated. If the user becomes confused during the process, sentiment analysis provides necessary guidance. 【0649】 An example of a prompt message is: "When a user purchases medicine, they scan a barcode and enter details, after which the AI ​​generates a tax declaration form. The system analyzes the user's emotions during use and provides support if needed. This is implemented through a smartphone app." 【0650】 The flow of a specific process in Application Example 2 will be explained using Figure 14. 【0651】 Step 1: 【0652】 The user scans the product's barcode using their smartphone. The input is a barcode image, which is read by the imaging device. The output is barcode information. 【0653】 Step 2: 【0654】 The terminal transmits the acquired barcode information to the data processing device using a communication method. The input is barcode information, which is sent to the server via communication. The output is the barcode information received by the server. 【0655】 Step 3: 【0656】 The server analyzes the received barcode information by referring to the product data repository to determine whether the product is subject to taxation. The input is barcode information, and data retrieval and matching calculations are performed in conjunction with the determination. The output is the determination result. 【0657】 Step 4: 【0658】 The server returns the determination result to the terminal and displays a form for the user to enter the purchase date and amount. The input is the determination result, and the output is what the user sees. 【0659】 Step 5: 【0660】 The user enters the purchase date and amount. The input consists of the purchase date and amount. The output is this information stored on the device. 【0661】 Step 6: 【0662】 The terminal sends the entered purchase date, amount, and judgment result to the server. The input is user-generated information sent to the server via communication. The output is information stored on the server. 【0663】 Step 7: 【0664】 The server generates a tax return statement using a generative AI model based on the information it receives. The input is a complete set of purchase information, and the AI ​​performs data calculations and optimization processing. The output is the generated tax return statement. 【0665】 Step 8: 【0666】 The server sends the generated declaration statement to the terminal and outputs it for the user to review. The input is the generated declaration statement, and the output is the document displayed on the terminal's screen. 【0667】 Step 9: 【0668】 The device uses a camera and microphone to identify the user's emotions and processes them using emotion analysis tools. The input consists of audio and video data from the user, which is then processed using an emotion analysis algorithm. The output is the user's emotional state. 【0669】 Step 10: 【0670】 The device displays necessary support messages based on the emotion analysis results. The input is the emotional state, and the output is the guidance and support messages displayed on the screen. 【0671】 The specific processing unit 290 transmits the result of the specific processing to the headset terminal 314. In the headset terminal 314, the control unit 46A causes the speaker 240 and display 343 to output the result of the specific processing. The microphone 238 acquires audio indicating user input for the result of the specific processing. The control unit 46A transmits the audio data indicating user input acquired by the microphone 238 to the data processing unit 12. In the data processing unit 12, the specific processing unit 290 acquires the audio data. 【0672】 Data generation model 58 is a type of so-called generative AI (Artificial Intelligence). One example of data generation model 58 is ChatGPT (Internet search<URL: https: / / openai.com / blog / chatgpt> ), Gemini (Internet search) <url: https: gemini.google.com ?hl="ja">Examples of generative AI include the following. The data generation model 58 is obtained by performing deep learning on a neural network. The data generation model 58 is input with prompts containing instructions, and with inference data such as audio data representing speech, text data representing text, and image data representing images. The data generation model 58 infers from the input inference data according to the instructions indicated by the prompts, and outputs the inference results in data formats such as audio data and text data. Here, inference refers to, for example, analysis, classification, prediction, and / or summarization. 【0673】 In the above embodiment, an example was given in which specific processing is performed by the data processing device 12, but the technology of this disclosure is not limited thereto, and specific processing may also be performed by the headset terminal 314. 【0674】 [Fourth Embodiment] 【0675】 Figure 7 shows an example of the configuration of the data processing system 410 according to the fourth embodiment. 【0676】 As shown in Figure 7, the data processing system 410 includes a data processing device 12 and a robot 414. An example of the data processing device 12 is a server. 【0677】 The data processing device 12 comprises a computer 22, a database 24, and a communication interface 26. The computer 22 is an example of a "computer" related to the technology of this disclosure. The computer 22 comprises a processor 28, RAM 30, and storage 32. The processor 28, RAM 30, and storage 32 are connected to a bus 34. The database 24 and the communication interface 26 are also connected to the bus 34. The communication interface 26 is connected to a network 54. An example of the network 54 is a WAN (Wide Area Network) and / or a LAN (Local Area Network). 【0678】 The robot 414 includes a computer 36, a microphone 238, a speaker 240, a camera 42, a communication interface 44, and a controlled object 443. The computer 36 includes a processor 46, RAM 48, and storage 50. The processor 46, RAM 48, and storage 50 are connected to a bus 52. The microphone 238, speaker 240, camera 42, and controlled object 443 are also connected to the bus 52. 【0679】 The microphone 238 receives voice signals from the user 20 and receives instructions from the user 20. The microphone 238 captures the voice signals from the user 20, converts the captured voice into audio data, and outputs it to the processor 46. The speaker 240 outputs audio according to the instructions from the processor 46. 【0680】 Camera 42 is a small digital camera equipped with an optical system including a lens, aperture, and shutter, and an image sensor such as a CMOS (Complementary Metal-Oxide-Semiconductor) image sensor or a CCD (Charge Coupled Device) image sensor, and captures images of the area around the user 20 (for example, an imaging range defined by a field of view equivalent to the width of a typical healthy person's field of vision). 【0681】 Communication interface 44 is connected to network 54. Communication interfaces 44 and 26 are responsible for the exchange of various information between processor 46 and processor 28 via network 54. The exchange of various information between processor 46 and processor 28 using communication interfaces 44 and 26 is performed in a secure manner. 【0682】 The controlled object 443 includes a display device, LEDs in the eyes, and motors that drive the arms, hands, and feet. The posture and gestures of the robot 414 are controlled by controlling the motors of the arms, hands, and feet. Some of the robot 414's emotions can be expressed by controlling these motors. Furthermore, the robot 414's facial expressions can also be expressed by controlling the illumination state of the LEDs in its eyes. 【0683】 Figure 8 shows an example of the main functions of the data processing device 12 and the robot 414. As shown in Figure 8, the data processing device 12 performs specific processing using the processor 28. The storage 32 stores the specific processing program 56. 【0684】 The specific processing program 56 is an example of a "program" relating to the technology of this disclosure. The processor 28 reads the specific processing program 56 from the storage 32 and executes the read specific processing program 56 on the RAM 30. The specific processing is realized by the processor 28 operating as a specific processing unit 290 in accordance with the specific processing program 56 executed on the RAM 30. 【0685】 The storage 32 stores the data generation model 58 and the emotion identification model 59. The data generation model 58 and the emotion identification model 59 are used by the identification processing unit 290. 【0686】 In robot 414, the processor 46 performs the reception output processing. The storage 50 stores the reception output program 60. The processor 46 reads the reception output program 60 from the storage 50 and executes the read reception output program 60 on the RAM 48. The reception output processing is realized by the processor 46 operating as a control unit 46A according to the reception output program 60 executed on the RAM 48. 【0687】 Next, the specific processing performed by the specific processing unit 290 of the data processing device 12 will be described. In the following description, the data processing device 12 will be referred to as the "server" and the robot 414 as the "terminal". 【0688】 The system according to the present invention starts with an application that allows the user to scan the barcodes of medicines purchased at a pharmacy. The user uses their smartphone to read the barcodes of each purchased medicine with the camera. The barcode data acquired by this imaging means is transferred to a cloud server using a secure protocol via a communication means within the terminal. 【0689】 The server searches a pharmaceutical database based on the received barcode information. This database contains pre-registered barcodes for each pharmaceutical product and information on whether or not they are eligible for the self-medication tax deduction. The server determines from the search results whether the pharmaceutical product is eligible for the deduction and sends this information back to the terminal. 【0690】 The user confirms that the medication is eligible within the application, and enters the purchase date and purchase price into an input form. The terminal collects this information using recording devices and sends it back to the server. The server then creates a self-medication tax return based on the recorded information. This process is performed using artificial intelligence as a generation method, and the declaration form is automatically generated for the user to use later. 【0691】 The generated declaration form is displayed on the user's terminal via the output method. The user can review this form and, if necessary, save it in PDF format or print it directly via a printer. 【0692】 As a concrete example, the barcode of "Cold Medicine A" purchased by a user at a pharmacy is scanned, and that information is sent to the server. The server verifies that "Cold Medicine A" is eligible for the system, and the user enters the purchase date "October 1, 2023" and the amount "1500 yen". The server then creates a detailed statement based on this information and displays it on the terminal in a format that can be saved as a PDF. In this way, users can easily file for the self-medication tax deduction. 【0693】 The following describes the processing flow. 【0694】 Step 1: 【0695】 The user launches a smartphone app and scans the barcode of the medicine purchased at the pharmacy with the camera. The app uses the barcode as an image capture device and extracts its digital information. 【0696】 Step 2: 【0697】 The terminal transmits the extracted barcode data to the server via a communication method and an encrypted protocol. Security is ensured during this process to prevent interception by third parties. 【0698】 Step 3: 【0699】 The server uses the received barcode data to search the pharmaceutical database. The database contains barcodes for all over-the-counter drugs and information on their eligibility for self-medication tax deductions, allowing for safe and rapid search results. 【0700】 Step 4: 【0701】 The server identifies the target medication based on the search results. The identified information, including the name of the medication and whether or not it is eligible for the self-medication tax deduction, is sent back to the terminal. 【0702】 Step 5: 【0703】 The user reviews the provided information and, if it is the relevant medication, enters the purchase date and price within the app. This information is then formatted appropriately within the app and passed on to the next process. 【0704】 Step 6: 【0705】 The terminal collects the purchase information entered by the user and sends it back to the server. This information is stored on the server as data necessary for preparing the self-medication tax return. 【0706】 Step 7: 【0707】 Based on the received purchase information, the server uses an AI model to automatically generate a self-medication tax return form. The return form generated by this method is accurately constructed according to the required format. 【0708】 Step 8: 【0709】 The server transfers the generated declaration form to the terminal and presents it to the user. The user can review the contents of the declaration form on the app screen and save it as a PDF or print it directly as needed. This is achieved through the output method. 【0710】 (Example 1) 【0711】 Next, we will describe Example 1. In the following description, the data processing device 12 will be referred to as the "server" and the robot 414 as the "terminal". 【0712】 Traditional reward programs often involve cumbersome and time-consuming application procedures for users. In particular, the process of accurately recording and managing information, and creating application documents, is time-consuming and laborious, often burdening users. To solve this problem, an efficient and automated system is needed. 【0713】 The identification process performed by the identification processing unit 290 of the data processing device 12 in Example 1 is realized by the following means. 【0714】 In this invention, the server includes, as a means for reading information, a device for acquiring the code of the information, a communication means for transmitting the acquired information to a computing resource, and an identification means for identifying, based on the information, whether the substance is eligible for the reward program at the computing resource. This enables users to efficiently acquire information and accurately and quickly create the necessary application documents. 【0715】 An "information reading device" is a device that has the function of acquiring the code of information. 【0716】 A "communication device" is a device that has the function of securely and efficiently transmitting acquired information to computing resources. 【0717】 An "identification means" is a structure that has the function of determining whether a particular substance is eligible for a reward program using information received from computing resources. 【0718】 A "storage device" is a device that has the function of effectively storing information on the date and time of a transaction and the price of the transaction based on the identification results. 【0719】 "Construction means" refers to technology that has the function of automatically constructing application documents for a reward system based on stored information. 【0720】 "Output means" refers to a device that has the function of presenting, displaying, and printing the generated application document to the user. 【0721】 The embodiments for carrying out the present invention are shown below. 【0722】 Subject: User 【0723】 First, users use a smartphone or tablet equipped with a barcode scanner function to obtain the barcode information of the medication. This secures the information of the purchased medication as digital data. Using a dedicated application installed on this device, users can easily check the acquired information. 【0724】 Subject: terminal 【0725】 The terminal transmits the acquired barcode information to the cloud server using a secure protocol (e.g., HTTPS) via a communication method. The application provides an interface for appropriately formatting the data and sending it to the server. This application also includes a guide function to ensure the user can transmit the data smoothly. 【0726】 Subject: Server 【0727】 Based on the received barcode information, the server uses an identification means to: 【0728】 The system searches a database of pre-registered substance information. The identification method uses database operations such as SQL queries to determine whether a particular drug is eligible for the reward program. Based on this determination, the server returns the identification result to the terminal. 【0729】 Upon receiving detailed information about the purchase date and amount, the server uses a configuration tool to automatically generate an application document for the reward program, utilizing an AI model. This AI model receives instructions through prompts to structure the information in the optimal document format. 【0730】 As a specific example, if a user purchases "Cold Medicine A," the user's device reads the barcode and sends the information to the server. The server verifies that the product is eligible for the program and creates an application document based on the purchase date "October 1, 2023" and the amount "1500 yen" entered by the user, and displays it on the device. The user can then save or print the application document in PDF format. 【0731】 An example of a prompt message is: "Please prepare a tax return for the self-medication tax deduction. The medicine is 'Cold Medicine A,' purchased on October 1, 2023, and cost 1500 yen." 【0732】 The flow of the specific processing in Example 1 will be explained using Figure 11. 【0733】 Step 1: 【0734】 The user launches a smartphone application and scans the barcode of a pharmaceutical product with the camera. The input is the barcode image captured by the camera. The application uses image processing technology to analyze the barcode and outputs the barcode information as digital data. Specifically, the user points the camera at the barcode and taps the scan button. 【0735】 Step 2: 【0736】 The terminal transmits the acquired barcode information to the cloud server via a communication method. The input is the parsed barcode information. The data is securely transferred to the server using a network protocol (e.g., HTTPS). The output is the barcode data sent to the cloud server. Specific operations include data encoding and security protection using the SSL / TLS protocol. 【0737】 Step 3: 【0738】 The server performs a database search based on the received barcode information. The input is the barcode data sent to the server. The server uses SQL queries to search the pharmaceutical database and determine whether the drug is eligible for the incentive program. The output is the result of the determination of whether the drug is eligible for the program. The specific operations include connecting to the database and executing queries. 【0739】 Step 4: 【0740】 The server returns the identification result to the user terminal. The input is the accuracy judgment result. The server sends this result to the terminal as structured data. The output is the judgment result returned to the terminal. The specific operation involves generating structured data in JSON format or similar and sending it via communication means. 【0741】 Step 5: 【0742】 The user verifies eligibility for the program within the application and enters the purchase date and purchase amount. The input information includes the purchase date and purchase amount. The application saves this data to internal storage for later processing. The output is the saved transaction information. Specific operations include form input via the user interface. 【0743】 Step 6: 【0744】 The terminal sends the saved transaction information back to the server. The input includes the purchase date and purchase amount. The server receives this data and uses it for further processing. The output is the transaction information sent back to the server. This process involves data transmission again using a network protocol. 【0745】 Step 7: 【0746】 The server automatically generates application documents using a generation AI model. Inputs include transaction information (purchase date, purchase amount) and the results of the regulatory assessment. The AI ​​model is instructed to generate the application documents using prompts. The output is the generated application document. Specific operations include sending prompts to the AI ​​model and analyzing the results. 【0747】 Step 8: 【0748】 The generated application document is sent to the terminal and displayed to the user. The input is a document generated by an AI model. The terminal displays the document in a user-friendly format, and allows saving and printing as needed. The output is the application document displayed on the user interface. Specific operations include document rendering and file management functions. 【0749】 (Application Example 1) 【0750】 Next, we will explain Application Example 1. In the following explanation, the data processing device 12 will be referred to as the "server" and the robot 414 as the "terminal". 【0751】 Determining whether a self-medication tax deduction applies when purchasing pharmaceuticals, and the subsequent reporting procedures, present a significant challenge for consumers due to their complexity and cumbersome nature. Furthermore, maximizing the tax benefits of applicable pharmaceuticals requires accurate management of purchase information and the preparation of proper declarations, which is a burdensome task to perform manually. Additionally, the lack of a way to instantly determine the settlement amount when the tax deduction is applied results in low convenience for users. 【0752】 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 1 is realized by the following means. 【0753】 In this invention, the server includes means for determining whether a pharmaceutical product is eligible for the self-medication tax deduction based on barcode information, means for automatically generating a self-medication tax deduction declaration form based on the recorded purchase date and amount, and means for automatically calculating the settlement amount after tax application and notifying the user. As a result, users can automatically and simply perform all procedures, from checking eligibility for the self-medication tax deduction to creating the declaration form and understanding the settlement amount after tax application, simply by scanning the barcode of the pharmaceutical product. 【0754】 "Imaging means" refers to devices and technologies used to acquire images in order to read barcodes on pharmaceuticals. 【0755】 "Communication means" refers to means for transmitting scanned barcode information to a remote data processing device, and includes technology for transmitting data over a network. 【0756】 "Discrimination means" refers to a method or system used in a data processing device to determine whether a pharmaceutical product is eligible for the self-medication tax deduction based on acquired barcode information. 【0757】 A "recording means" refers to a device or process that has the function of acquiring the discrimination result and further storing information on the purchase date and amount. 【0758】 "Generation method" refers to a process or system that automatically creates a self-medication tax return statement based on recorded information. 【0759】 "Output means" refers to devices or technologies that have the function of presenting the generated declaration statement to the user and providing it in a displayable or printable format. 【0760】 A "calculation method" refers to a system or process that automatically calculates the settlement amount after tax application and notifies the user of the result. 【0761】 To implement this invention, a mobile device such as a smartphone, a remote data processing device (server), and an application to link them together are mainly required. 【0762】 The terminal uses a smartphone camera as an imaging tool to read the barcode on the pharmaceutical product. This image data is transmitted to the server via a secure protocol using a communication method. Encryption protocols such as HTTPS are used during communication to protect the information. 【0763】 The server searches its database based on the received barcode information and, through a discrimination mechanism, determines whether the medicine is eligible for the self-medication tax deduction. This determination is then sent back to the terminal, where the user enters the purchase date and price. 【0764】 The entered information is then passed back to the server, which uses a generation tool to automatically generate a self-medication tax declaration form based on the recorded information. This generation uses a generation AI model to construct the form in the optimal format. Additionally, a calculation tool is used to calculate the settlement amount after tax application and notify the user. The results are displayed on the terminal via an output tool, allowing for necessary actions. 【0765】 As a concrete example, a user scans the barcode of "Cold Medicine A" with their smartphone, and the tax-deductible amount is reflected in real time during payment. This entire process significantly reduces the user's effort and simplifies tax reporting. 【0766】 An example of a prompt message would be: "Based on the entered barcode information, please check whether the self-medication tax deduction applies and output a tax return statement including that information." 【0767】 The flow of a specific process in Application Example 1 will be explained using Figure 12. 【0768】 Step 1: 【0769】 The user scans the barcode of a pharmaceutical product using the device's camera. The barcode image is obtained as input, and the device uses image processing technology (e.g., OpenCV) to extract the barcode information as text data. 【0770】 Step 2: 【0771】 The terminal uses the extracted barcode information as input and transmits it to the server via a communication method. Secure protocols such as HTTPS are used for data transmission, and processes are in place to prevent third parties from viewing the information. 【0772】 Step 3: 【0773】 The server performs a database search based on the received barcode information. The input is barcode information, and the server retrieves relevant drug information from the database and performs calculations to determine whether the self-medication tax deduction applies. The result is then obtained. 【0774】 Step 4: 【0775】 The server sends the identification result to the terminal, and the user checks the result on the terminal. Based on the identification result, the user enters the purchase date and amount through an input form on the terminal. The entered data becomes the basis for the next step. 【0776】 Step 5: 【0777】 The server receives purchase date and amount information sent from the terminal. The server uses a generative AI model as a generation method to automatically generate the declaration statement. This prompt generates the declaration statement in an optimized format. The output is the statement data. 【0778】 Step 6: 【0779】 Furthermore, the server calculates the settlement amount after tax deductions. Using the purchase amount and tax deduction data as input, it calculates the settlement amount using a calculation tool and outputs the result to the terminal along with the generated tax return statement. 【0780】 Step 7: 【0781】 The user reviews the declaration statement and settlement amount generated on the terminal, and saves the data as a PDF or prints it via a printer as needed. The visualized data is presented to the user through the output method, completing the document for declaration. 【0782】 Furthermore, an emotion engine that estimates the user's emotions may be incorporated. That is, the identification processing unit 290 may use the emotion identification model 59 to estimate the user's emotions and perform identification processing using the user's emotions. 【0783】 The system according to the present invention begins with the user scanning the barcode of a medicine purchased at a pharmacy. When the user uses a smartphone application to read the barcode of the medicine with a camera as an imaging means, the digital information is transmitted to a server via a communication means. 【0784】 The server uses the received barcode information to search the pharmaceutical database and determine whether the drug is eligible for the self-medication tax deduction. The determination is made by comparing the barcode information with the information obtained from the database and returning the result to the terminal. 【0785】 The user checks the identification result on their device and, if it is an eligible medicine, enters the purchase date and purchase price. This information is transmitted from the device to the server via a recording device and stored on the server. Based on the recorded information, the server uses an AI model to generate a self-medication tax declaration form. In this process, AI is applied as a generation method to create the declaration form in the optimal format. 【0786】 Furthermore, this invention incorporates an emotion engine that analyzes the user's voice and facial expressions to understand the user's emotional state during use. Based on this emotional information, it has a function to provide more appropriate support messages and guidance if the user is experiencing difficulties or anxiety during operation. The emotion engine operates on the terminal and dynamically adjusts the interface content and output based on the emotion recognition results. 【0787】 As a concrete example, when a user scans the barcode of a cold medicine, the server identifies it as an "eligible drug." The user enters the purchase date "October 1, 2023" and the amount "1500 yen," and the server automatically generates a declaration form. If the emotion engine detects confusion from the user's facial expression during processing, it displays simpler guidance and support messages to ensure the user can use the system smoothly. This process improves user convenience and significantly reduces the barrier to using the tax system. 【0788】 The following describes the processing flow. 【0789】 Step 1: 【0790】 The user launches a smartphone app and scans the barcode of the purchased medication with the camera. The device acquires the barcode information as an imaging tool. 【0791】 Step 2: 【0792】 The terminal transmits the acquired barcode information to the server via a communication method. During this process, the information is encrypted and sent using a secure protocol. 【0793】 Step 3: 【0794】 The server searches its internal drug database based on the received barcode information. The server then determines whether the drug in question is eligible for the self-medication tax deduction. 【0795】 Step 4: 【0796】 The server sends the determination result back to the terminal. The terminal displays the received information to the user so that the user can confirm it. 【0797】 Step 5: 【0798】 After the user confirms that the medication is the correct one, they enter the purchase date and price. The terminal then transmits this information to the server via a recording device. 【0799】 Step 6: 【0800】 The server stores the received purchase information and uses an AI model to generate a self-medication tax return statement. As a generation method, the AI ​​constructs the optimal return based on past formats. 【0801】 Step 7: 【0802】 The device's built-in emotion engine monitors the user's voice and facial expressions to analyze their emotional state. If it detects the user's excitement or confusion, it provides appropriate support messages and navigation. 【0803】 Step 8: 【0804】 The server sends the generated declaration statement data to the terminal. The terminal provides the user with an interface to display the details and allow them to confirm the contents. 【0805】 Step 9: 【0806】 Users review the displayed tax return and either save it as a PDF or print it using a printer. This printing process facilitates users in ultimately completing their planned tax filing. 【0807】 (Example 2) 【0808】 Next, we will describe Example 2. In the following description, the data processing device 12 will be referred to as the "server" and the robot 414 as the "terminal". 【0809】 The management of identification information at the time of product purchase and the complexity of reporting in accordance with regulations are challenges. In particular, in systems that target specific products, such as the self-medication tax system, accurate and efficient management of purchase information is required, but doing this manually is difficult. Furthermore, the lack of means to provide support that responds to the user's emotions is a factor that hinders the improvement of the user experience. 【0810】 The identification process performed by the identification processing unit 290 of the data processing device 12 in Example 2 is realized by the following means. 【0811】 In this invention, the server includes determination function means for determining product identification information, generation function means for storing the information and generating a declaration document, and output function means for displaying and presenting the generated document. This enables accurate management of product identification information, provision of emotionally responsive support, and efficient regulatory reporting. 【0812】 A "product identification code" is a code used to uniquely identify a specific product, and is usually implemented in the form of a barcode or QR code. 【0813】 An "imaging device" is a device that acquires image data using equipment such as a camera and processes that information. 【0814】 A "communication device" is a technology that has the function of transmitting digital information to other devices or networks, and it sends and receives information via the internet, etc. 【0815】 An "information processing device" is a computer system that performs calculations and decisions based on received digital information and generates results. 【0816】 A "decision-making function" is an algorithm or process that evaluates whether specific conditions are met based on the received data and makes a decision. 【0817】 A "recording device" is a means of storing data in physical or electronic form so that it can be referenced later. 【0818】 "Generative function" refers to the ability to automatically construct new data or documents based on given information, and typically utilizes AI models or algorithms. 【0819】 An "output function" is a mechanism for displaying or printing generated data or documents to the user, and utilizes interfaces, printers, and other similar devices. 【0820】 "Data resources" are collections of information treated as databases or online repositories, and are accessed as needed. 【0821】 A "machine learning model" is an algorithm that automatically performs a specific task by learning from a large amount of data, and it constitutes a part of artificial intelligence. 【0822】 The system according to the present invention begins with a user scanning a product identification code using a device such as a smartphone or tablet. The imaging device on the device reads the product identification code and converts it into digital information. This information is transmitted to a server via a communication device. 【0823】 The server references information resources based on the received product identification information to determine whether the product is subject to specific regulations. The server processes the data using advanced algorithms and generates a determination result. A database is used as a data resource for the determination, and SQL queries are executed. 【0824】 Once the assessment is complete, the server sends the results back to the terminal. The user checks the results on the terminal and, if applicable, enters information such as the purchase date and price. This information is then sent back to the server by the recording device and stored in the server's database. 【0825】 This system also utilizes a generative AI model to automatically generate the necessary declaration documents based on stored information. The generated documents are transmitted to the user's device for easy reference. The AI ​​model helps automatically optimize the document format. 【0826】 As a concrete example, when a user scans the barcode of cold medicine with their device, the server receives the information and determines whether or not it is eligible for the self-medication tax deduction. After receiving the result, the user enters their purchase information, and the system automatically generates a tax return. During processing, an emotion analysis engine detects user confusion and provides simple guidance as needed. 【0827】 An example of a prompt message would be, "Please suggest the procedure for creating a self-medication tax return statement based on barcode information." 【0828】 This system makes it easier for users to manage their information after purchasing products and allows them to quickly complete procedures in accordance with regulations. 【0829】 The flow of the specific processing in Example 2 will be explained using Figure 13. 【0830】 Step 1: 【0831】 The user scans the product identification code using the device's camera. The input used is an image of a barcode or QR code. The device executes an algorithm to extract the code as a string from this image and outputs it as digital information. 【0832】 Step 2: 【0833】 The terminal transmits the extracted digital information to the server via a communication device. At this stage, the input is digitized product identification information, and the output is data transferred to the server via a secure connection. 【0834】 Step 3: 【0835】 The server searches for information resources based on the received product identification information. The input to this process is product identification data, and it uses SQL queries to search the database and retrieve the relevant product information. The output is the result of determining whether or not the relevant product is subject to regulation. 【0836】 Step 4: 【0837】 The server returns the judgment result to the terminal in JSON format. The input in this step is the judgment result data, which is output as data formatted so that the user can view it on their terminal. 【0838】 Step 5: 【0839】 The user reviews the results and, if necessary, enters additional information such as the purchase date and price. This input is data that the user manually enters into their device, and it is output as data ready to be sent to the server. 【0840】 Step 6: 【0841】 The terminal sends additional purchase information to the server. The entered information includes the purchase date and price, which is sent to the server as output and recorded in the database. 【0842】 Step 7: 【0843】 The server generates a declaration document using a generative AI model based on the recorded information. The input is the stored information, and the AI ​​model creates the optimal declaration document based on the prompt text. The output is the final declaration document. 【0844】 Step 8: 【0845】 On the device, an emotion analysis engine analyzes the user's voice and facial expressions. The input is the user's real-time voice and facial expression data, and based on the analysis results, it displays necessary support messages. The output is the support message the user receives. 【0846】 This will allow users to efficiently manage their information after purchasing a product and be supported in completing the necessary declaration procedures. 【0847】 (Application Example 2) 【0848】 Next, we will explain application example 2. In the following explanation, the data processing device 12 will be referred to as the "server" and the robot 414 as the "terminal". 【0849】 There is a need to easily manage product purchase information using barcodes, reduce the burden of tax filing procedures, and provide appropriate support based on the user's emotional state at the time of use. Traditional procedures have been cumbersome, involving the creation of tax forms and the recording of information, and have lacked emotionally-based support. 【0850】 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 2 is realized by the following means. 【0851】 In this invention, the server includes imaging means for reading product barcodes, communication means for transmitting data to a data processing device, and emotion analysis means for detecting the user's emotional state and providing support messages. This allows users to easily manage product purchase information and perform tax filing procedures without stress while receiving support tailored to their emotions. 【0852】 A "product barcode" is a code containing identification information, consisting of a series of lines or patterns, that is attached to a product. 【0853】 "Imaging means" refers to a device or function for acquiring an image of an object using a camera, scanner, or the like. 【0854】 "Communication means" refers to a method or device for transmitting data from one point to another. 【0855】 A "data processing device" is a computer or related system used to analyze received information and perform necessary operations. 【0856】 "Discrimination means" refers to a function or device for evaluating whether something meets specific conditions based on given information. 【0857】 "Recording means" refers to a device or function for storing acquired information and making it available for later reference. 【0858】 "Generation means" refers to a device or function for creating new data or documents based on input information. 【0859】 "Output means" refers to a device or function for displaying processed information in a format that can be recognized by the user. 【0860】 "Emotional analysis means" refers to a function or device that analyzes a user's facial expressions, voice, etc., to infer their emotional state. 【0861】 A "product data repository" is a database that stores detailed information about various products. 【0862】 A "machine learning model" is an autonomous learning program that analyzes data patterns and makes predictions and decisions. 【0863】 To implement the invention, an imaging device is required as a means of reading the product's barcode. This device captures the product's barcode using hardware such as a smartphone camera. The barcode information is transmitted to a data processing device via a communication means. This device refers to a data repository and determines whether the product in question is subject to taxation. 【0864】 When the data processing device receives the identification result based on barcode information, it records the information along with the purchase date and amount entered by the user. Based on this information, a machine learning model is used to generate a tax return statement. The generated statement is presented to the user through an output device. 【0865】 Furthermore, user emotion analysis is performed on the device, and the emotional state is evaluated using data obtained from imaging devices and voice input. Based on this emotion analysis, appropriate support messages are displayed on the interface to improve the user experience. 【0866】 As a concrete example, when a user purchases cold medicine and scans its barcode with their smartphone, the data processing unit identifies it as a product eligible for the self-medication tax deduction. The user then enters the purchase date ("December 1, 2023") and the amount ("2,000 yen"), and a declaration form is automatically generated. If the user becomes confused during the process, sentiment analysis provides necessary guidance. 【0867】 An example of a prompt message is: "When a user purchases medicine, they scan a barcode and enter details, after which the AI ​​generates a tax declaration form. The system analyzes the user's emotions during use and provides support if needed. This is implemented through a smartphone app." 【0868】 The flow of a specific process in Application Example 2 will be explained using Figure 14. 【0869】 Step 1: 【0870】 The user scans the product's barcode using their smartphone. The input is a barcode image, which is read by the imaging device. The output is barcode information. 【0871】 Step 2: 【0872】 The terminal transmits the acquired barcode information to the data processing device using a communication method. The input is barcode information, which is sent to the server via communication. The output is the barcode information received by the server. 【0873】 Step 3: 【0874】 The server analyzes the received barcode information by referring to the product data repository to determine whether the product is subject to taxation. The input is barcode information, and data retrieval and matching calculations are performed in conjunction with the determination. The output is the determination result. 【0875】 Step 4: 【0876】 The server returns the determination result to the terminal and displays a form for the user to enter the purchase date and amount. The input is the determination result, and the output is what the user sees. 【0877】 Step 5: 【0878】 The user enters the purchase date and amount. The input consists of the purchase date and amount. The output is this information stored on the device. 【0879】 Step 6: 【0880】 The terminal sends the entered purchase date, amount, and judgment result to the server. The input is user-generated information sent to the server via communication. The output is information stored on the server. 【0881】 Step 7: 【0882】 The server generates a tax return statement using a generative AI model based on the information it receives. The input is a complete set of purchase information, and the AI ​​performs data calculations and optimization processing. The output is the generated tax return statement. 【0883】 Step 8: 【0884】 The server sends the generated declaration statement to the terminal and outputs it for the user to review. The input is the generated declaration statement, and the output is the document displayed on the terminal's screen. 【0885】 Step 9: 【0886】 The device uses a camera and microphone to identify the user's emotions and processes them using emotion analysis tools. The input consists of audio and video data from the user, which is then processed using an emotion analysis algorithm. The output is the user's emotional state. 【0887】 Step 10: 【0888】 The device displays necessary support messages based on the emotion analysis results. The input is the emotional state, and the output is the guidance and support messages displayed on the screen. 【0889】 The specific processing unit 290 transmits the result of the specific processing to the robot 414. In the robot 414, the control unit 46A causes the speaker 240 and the controlled object 443 to output the result of the specific processing. The microphone 238 acquires audio indicating user input for the result of the specific processing. The control unit 46A transmits the audio data indicating user input acquired by the microphone 238 to the data processing unit 12. In the data processing unit 12, the specific processing unit 290 acquires the audio data. 【0890】 Data generation model 58 is a type of so-called generative AI (Artificial Intelligence). One example of data generation model 58 is ChatGPT (Internet search<URL: https: / / openai.com / blog / chatgpt> ), Gemini (Internet search) <url: https: gemini.google.com ?hl="ja">Examples of generative AI include the following. The data generation model 58 is obtained by performing deep learning on a neural network. The data generation model 58 is input with prompts containing instructions, and with inference data such as audio data representing speech, text data representing text, and image data representing images. The data generation model 58 infers from the input inference data according to the instructions indicated by the prompts, and outputs the inference results in data formats such as audio data and text data. Here, inference refers to, for example, analysis, classification, prediction, and / or summarization. 【0891】 In the above embodiment, an example was given in which the specific processing is performed by the data processing device 12, but the technology of this disclosure is not limited thereto, and the specific processing may also be performed by the robot 414. 【0892】 Furthermore, the emotion identification model 59, acting as an emotion engine, may determine the user's emotion according to a specific mapping. Specifically, the emotion identification model 59 may determine the user's emotion according to a specific mapping, which is an emotion map (see Figure 9). Similarly, the emotion identification model 59 may also determine the robot's emotion, and the identification processing unit 290 may perform identification processing using the robot's emotion. 【0893】 Figure 9 shows an emotion map 400 in which multiple emotions are mapped. In the emotion map 400, emotions are arranged in concentric circles radiating from the center. The closer to the center of the concentric circles, the more primitive the emotions are located. Further out of the concentric circles, emotions representing states and actions arising from mental states are located. Emotion is a concept that includes feelings and mental states. On the left side of the concentric circles, emotions that are generally generated from reactions occurring in the brain are located. On the right side of the concentric circles, emotions that are generally induced by situational judgment are located. Above and below the concentric circles, emotions that are generally generated from reactions occurring in the brain and induced by situational judgment are located. In addition, the emotion of "pleasure" is located on the upper side of the concentric circles, and the emotion of "displeasure" is located on the lower side. Thus, in the emotion map 400, multiple emotions are mapped based on the structure in which emotions arise, and emotions that are likely to occur simultaneously are mapped close together. 【0894】 These emotions are distributed at the 3 o'clock position on the Emotion Map 400, and usually fluctuate between feelings of security and anxiety. In the right half of the Emotion Map 400, situational awareness takes precedence over internal feelings, resulting in a calm impression. 【0895】 The inside of the Emotion Map 400 represents inner thoughts, while the outside represents actions. Therefore, the further you go from the outside of the Emotion Map 400, the more visible (expressed in actions) your emotions become. 【0896】 Here, human emotions are based on various balances, such as posture and blood sugar levels. When these balances deviate from the ideal, it results in discomfort, and when they approach the ideal, it results in pleasure. Similarly, in robots, cars, motorcycles, etc., emotions can be created based on various balances, such as posture and battery level. When these balances deviate from the ideal, it results in discomfort, and when they approach the ideal, it results in pleasure. The emotion map can be generated, for example, based on Dr. Mitsuyoshi's emotion map (Research on a system for analyzing brain physiological signals of speech emotion recognition and emotion, Tokushima University, doctoral dissertation: https: / / ci.nii.ac.jp / naid / 500000375379). The left half of the emotion map contains emotions belonging to a region called "response," where sensation is dominant. The right half of the emotion map contains emotions belonging to a region called "situation," where situational awareness is dominant. 【0897】 The emotion map defines two emotions that promote learning. One is the emotion around the middle of the negative "repentance" and "reflection" on the situation side. In other words, it is when the robot experiences negative emotions such as "I never want to feel this way again" or "I don't want to be scolded again." The other is the emotion around the positive "desire" on the reaction side. In other words, it is when the robot has positive feelings such as "I want more" or "I want to know more." 【0898】 The emotion identification model 59 inputs user input into a pre-trained neural network, obtains emotion values ​​representing each emotion shown in the emotion map 400, and determines the user's emotion. This neural network is pre-trained based on multiple training data sets, which are combinations of user input and emotion values ​​representing each emotion shown in the emotion map 400. Furthermore, this neural network is trained so that emotions located close together have similar values, as shown in the emotion map 900 in Figure 10. Figure 10 shows an example where multiple emotions such as "reassured," "calm," and "confident" have similar emotion values. 【0899】 The above description primarily focuses on the functions of the data processing device 12 in relation to this disclosure. However, the system related to this disclosure is not necessarily implemented on a server. The system related to this disclosure may be implemented as a general information processing system. This disclosure may be implemented, for example, as a software program that runs on a personal computer or as an application that runs on a smartphone. The method related to this disclosure may be provided to users in SaaS (Software as a Service) format. 【0900】 In the above embodiment, an example was given in which a specific process is performed by a single computer 22. However, the technology of this disclosure is not limited thereto, and a distributed processing of the specific process may be performed by multiple computers, including computer 22. For example, a data generation model 58 may be provided in an external device of the data processing device 12, and the external device may generate data according to the input data. 【0901】 In the above embodiment, an example was given in which the specific processing program 56 is stored in the storage 32, but the technology of this disclosure is not limited thereto. For example, the specific processing program 56 may be stored in a portable, computer-readable, non-temporary storage medium such as a USB (Universal Serial Bus) memory. The specific processing program 56 stored in the non-temporary storage medium is installed in the computer 22 of the data processing device 12. The processor 28 executes specific processing according to the specific processing program 56. 【0902】 Alternatively, the specific processing program 56 may be stored in a storage device such as a server connected to the data processing device 12 via the network 54, and the specific processing program 56 may be downloaded and installed on the computer 22 in response to a request from the data processing device 12. 【0903】 Furthermore, it is not necessary to store the entirety of the specific processing program 56 in a storage device such as a server connected to the data processing device 12 via the network 54, or to store the entirety of the specific processing program 56 in the storage 32; it is acceptable to store only a portion of the specific processing program 56. 【0904】 The following types of processors can be used as hardware resources to perform specific processing. Examples of processors include a CPU, a general-purpose processor that functions as a hardware resource to perform specific processing by executing software, i.e., a program. Other examples of processors include dedicated electrical circuits, such as FPGAs (Field-Programmable Gate Arrays), PLDs (Programmable Logic Devices), or ASICs (Application Specific Integrated Circuits), which have circuit configurations specifically designed to perform specific processing. All of these processors have built-in or connected memory, and all of them perform specific processing by using memory. 【0905】 The hardware resource that performs a specific process may consist of one of these various processors, or it may consist of a combination of two or more processors of the same or different types (for example, a combination of multiple FPGAs, or a combination of a CPU and an FPGA). Alternatively, the hardware resource that performs a specific process may consist of a single processor. 【0906】 Examples of configurations using a single processor include, firstly, a configuration in which one or more CPUs and software are combined to form a single processor, and this processor functions as a hardware resource that performs a specific process. Secondly, there is a configuration using a processor that realizes the functions of the entire system, including multiple hardware resources that perform a specific process, on a single IC chip, as exemplified by SoCs (System-on-a-chip). In this way, a specific process is realized using one or more of the above types of processors as hardware resources. 【0907】 Furthermore, the hardware structure of these various processors can more specifically utilize electrical circuits that combine circuit elements such as semiconductor devices. Also, the specific processing described above is merely an example. Therefore, it goes without saying that unnecessary steps can be deleted, new steps added, or the processing order rearranged, as long as it does not deviate from the main purpose. 【0908】 The descriptions and illustrations presented above are detailed explanations of the technical aspects of this disclosure and are merely examples of the technical aspects. For example, the above descriptions of the structure, function, operation, and effect are examples of the structure, function, operation, and effect of the technical aspects of this disclosure. Therefore, it goes without saying that you may delete unnecessary parts, add new elements, or replace elements in the descriptions and illustrations presented above, as long as you do not deviate from the essence of the technical aspects of this disclosure. Furthermore, in order to avoid confusion and facilitate understanding of the technical aspects of this disclosure, explanations of common technical knowledge and the like that do not require special explanation to enable the implementation of the technical aspects of this disclosure have been omitted from the descriptions and illustrations presented above. 【0909】 All documents, patent applications, and technical standards described herein are incorporated by reference to the same extent as if each individual document, patent application, and technical standard were specifically and individually noted as being incorporated by reference. 【0910】 The following is further disclosed regarding the embodiments described above. 【0911】 (Claim 1) 【0912】 An imaging device for reading barcodes on pharmaceuticals, 【0913】 A communication means for transmitting scanned barcode information to a remote server, 【0914】 The server has a means for determining whether a pharmaceutical product is eligible for the self-medication tax deduction based on barcode information, 【0915】 A recording means for obtaining the discrimination result and recording it together with the purchase date and amount, 【0916】 A generation method for automatically generating a self-medication tax return statement based on recorded information, 【0917】 A system that includes an output mechanism for presenting and printing the generated declaration statement to the user. 【0918】 (Claim 2) 【0919】 The system according to claim 1, wherein the discrimination means is a means for acquiring information in cooperation with a pharmaceutical database. 【0920】 (Claim 3) 【0921】 The system according to claim 1, wherein the generation means comprises means for optimizing the format of the declaration form using an artificial intelligence model. 【0922】 "Example 1" 【0923】 (Claim 1) 【0924】 As a means of reading information, a device for acquiring the information code, 【0925】 A communication means for transmitting acquired information to computing resources, 【0926】 A means of identifying whether a substance is eligible for a reward system based on information using computing resources, 【0927】 A storage means for obtaining identification results and storing them together with the date and time of the transaction and the consideration, 【0928】 A configuration means for automatically generating application documents for a reward system based on stored information, 【0929】 A system including output means for presenting, displaying, and printing generated application documents to users. 【0930】 (Claim 2) 【0931】 The system according to claim 1, wherein the identification means is a means for acquiring information in cooperation with a material information storage. 【0932】 (Claim 3) 【0933】 The system according to claim 1, wherein the configuration means comprises means for optimizing the format of an application document using an intelligent machine model. 【0934】 "Application Example 1" 【0935】 (Claim 1) 【0936】 An imaging device for reading barcodes on pharmaceuticals, 【0937】 A communication means for transmitting scanned barcode information to a remote data processing device, 【0938】 A data processing device includes a determination means that determines whether a pharmaceutical product is eligible for the self-medication tax deduction based on barcode information, 【0939】 A recording means for obtaining the discrimination result and recording it together with the purchase date and amount, 【0940】 A generation method for automatically generating a self-medication tax return statement based on recorded information, 【0941】 An output method that presents and prints the generated declaration statement to the user, 【0942】 A system that includes a calculation mechanism to automatically calculate the settlement amount after tax deductions and notify the user. 【0943】 (Claim 2) 【0944】 The system according to claim 1, wherein the discrimination means is a means for acquiring information in cooperation with a pharmaceutical information database. 【0945】 (Claim 3) 【0946】 The system according to claim 1, wherein the generation means comprises means for optimizing the format of the declaration form using a generation AI model. 【0947】 "Example 2 of combining an emotion engine" 【0948】 (Claim 1) 【0949】 An imaging device means for reading product identification codes, 【0950】 A communication device means for transmitting the read product identification information to a remote information processing device, 【0951】 The information processing device includes a determination function that determines whether a product is subject to regulation based on product identification information, 【0952】 A recording device means that acquires the judgment result and stores it together with the acquisition date and price, 【0953】 A generation function means that automatically generates regulatory declaration documents based on stored information, 【0954】 A system that includes an output function to display and present the generated declaration document to the user. 【0955】 (Claim 2) 【0956】 The system according to claim 1, wherein the judgment function has the ability to acquire information in cooperation with data resources. 【0957】 (Claim 3) 【0958】 The system according to claim 1, wherein the generation function includes means for optimizing the format of a document using a machine learning model. 【0959】 "Application example 2 when combining with an emotional engine" 【0960】 (Claim 1) 【0961】 An imaging means for reading the barcode of a product, 【0962】 A communication means for transmitting scanned barcode information to a remote data processing device, 【0963】 A data processing device includes a determination means for determining whether a product is subject to taxation based on barcode information, 【0964】 A recording means for obtaining the discrimination result and recording it together with the transaction date and amount, 【0965】 A generation means for automatically generating tax return statements based on recorded information, 【0966】 An output method that presents and prints the generated declaration statement to the user, 【0967】 A system that includes an emotion analysis means for detecting the user's emotional state and providing supportive messages. 【0968】 (Claim 2) 【0969】 The system according to claim 1, wherein the discrimination means is a means for acquiring information in cooperation with a product data repository. 【0970】 (Claim 3) 【0971】 The system according to claim 1, wherein the generation means comprises means for optimizing the format of the declaration form using a machine learning model. [Explanation of symbols] 【0972】 10, 210, 310, 410 Data Processing Systems 12 Data Processing Devices 14 Smart Devices 214 Smart Glasses 314 Headset-type terminal 414 Robots< / url:> < / url:> < / url:> < / url:>

Claims

[Claim 1] An imaging device for reading barcodes on pharmaceuticals, A communication means for transmitting scanned barcode information to a remote server, The server has a means for determining whether a pharmaceutical product is eligible for the self-medication tax deduction based on barcode information, A recording means for obtaining the discrimination result and recording it together with the purchase date and amount, A generation method for automatically generating a self-medication tax return statement based on recorded information, A system that includes an output mechanism for presenting and printing the generated declaration statement to the user. [Claim 2] The system according to claim 1, wherein the discrimination means is a means for acquiring information in cooperation with a pharmaceutical database. [Claim 3] The system according to claim 1, wherein the generation means comprises means for optimizing the format of the declaration form using an artificial intelligence model.