System

A system for households to input details and manage emergency supplies efficiently, calculating needs, generating purchase links, and tracking expiration dates, addresses the challenge of inadequate emergency supply management.

JP2026037277APending Publication Date: 2026-03-06SOFTBANK GROUP CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2024140302
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2026-03-06

AI Technical Summary

Technical Problem

Households face challenges in accurately determining necessary supplies for emergencies based on their circumstances and efficiently managing stockpiles, including expiration dates, which current systems fail to address comprehensively.

Method used

A system that allows users to input address, living environment, and family composition information, calculates necessary stockpiles, generates purchase links, tracks expiration dates, and sends alerts, providing comprehensive support from purchasing to managing stockpiles.

Benefits of technology

Enables efficient and optimized stockpile management by suggesting appropriate supplies, facilitating easy purchase and timely updates, ensuring households are well-prepared for emergencies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026037277000001_ABST
    Figure 2026037277000001_ABST
Patent Text Reader

Abstract

A system is provided.SOLUTION: A system comprising: means for inputting address information, residential environment information, family composition information, and stocking period information; means for storing the inputted information in a database; means for calculating a necessary stocking item list based on the stored information; means for generating and displaying the calculated stocking item list; means for generating a purchase link or purchase information based on a user's selection; means for tracking a use-by date or an expiration date of a stocking item and generating an alert; and means for notifying the user of the generated alert.SELECTED DRAWING: Figure 1
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 technology]

[0002] Patent document 1 discloses a persona chatbot control method performed by at least one processor, the method including the steps of receiving a user utterance, adding the user utterance to a prompt including an instruction sentence related to a description of the chatbot 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 Publication No. 2022-180282 Summary of the Invention [Problem to be solved by the invention]

[0004] Securing adequate stockpiles of supplies in preparation for disasters and emergencies is an important issue for many households. However, accurately determining the necessary supplies based on each household's circumstances and needs and efficiently purchasing and managing them is not easy. Factors such as family composition, living environment, and the required stockpile period will determine the types and quantities of supplies needed, so a system that can efficiently calculate and recommend these is needed. Furthermore, there is a lack of mechanisms for managing expiration dates and promoting timely replacement of stockpiles. Therefore, there is a need for a system that provides optimal stockpile plans for each household and provides comprehensive support for everything from purchasing to managing and updating stockpiles. [Means for solving the problem]

[0005] The present invention solves the above-mentioned problems by providing a system including means for inputting address information, living environment information, family composition information, and stockpiling period information, means for saving the input information in a database, means for calculating a list of necessary stockpiles based on the saved information, means for generating and displaying the calculated list of stockpiles, means for generating a purchase link or purchase information based on a user's selection, means for tracking expiration dates or best-before dates of stockpiled items and generating alerts, and means for notifying the user of the generated alerts.

[0006] Specifically, users enter their address, living environment, family composition, and stockpiling period through the system. The entered information is stored in a database, and a list of necessary stockpiles is calculated based on this information. The stockpiled goods list is displayed to the user, who can select and purchase the items they want. In addition, the system automatically generates an alert to notify the user when the expiration date or best-before-use date of a stockpiled item approaches. This makes it possible to efficiently secure and manage the appropriate stockpiles for each household, and to maintain them in optimal condition at all times.

[0007] "Address information" is information that indicates the specific physical location where a user resides.

[0008] "Living environment information" is information that indicates the characteristics of the living environment in which the user lives, and includes details such as whether the house is a detached house, an apartment building, whether the house has a garden, etc.

[0009] "Family composition information" is information indicating the number of people in the user's household and the age composition of each member.

[0010] "Stockpile period information" is information indicating how long a user needs to prepare stockpiles.

[0011] A "database" is a system for systematically storing and managing input information.

[0012] The "stockpile item list" is a list showing the types and quantities of specific stockpile items that the user needs based on the calculation results.

[0013] A "purchase link" is a link on the web that allows a user to actually purchase the suggested stockpile item.

[0014] A "use by" date is a date and time within which a stockpile should be consumed or used.

[0015] An "alert" is a message or warning that notifies a user when a particular condition is met. [Brief explanation of the drawings]

[0016] [Figure 1] 1 is a conceptual diagram showing an example of the configuration of a data processing system according to a first embodiment. [Figure 2] 1 is a conceptual diagram showing an example of main functions of a data processing device and a smart device according to a first embodiment. [Figure 3] FIG. 10 is a conceptual diagram showing an example of the configuration of a data processing system according to a second embodiment. [Figure 4] FIG. 10 is a conceptual diagram showing an example of main functions of a data processing device and smart glasses according to a second embodiment. [Figure 5] FIG. 10 is a conceptual diagram showing an example of the configuration of a data processing system according to a third embodiment. [Figure 6] FIG. 11 is a conceptual diagram showing an example of main functions of a data processing device and a headset-type terminal according to a third embodiment. [Figure 7] FIG. 10 is a conceptual diagram showing an example of the configuration of a data processing system according to a fourth embodiment. [Figure 8] FIG. 10 is a conceptual diagram showing an example of main functions of a data processing device and a robot according to a fourth embodiment. [Figure 9] 1 shows an emotion map onto which multiple emotions are mapped. [Figure 10] 1 shows an emotion map onto which multiple emotions are mapped. [Figure 11] FIG. 3 is a sequence diagram showing a processing flow of the data processing system according to the first embodiment. [Figure 12] FIG. 10 is a sequence diagram showing the flow of processing in the data processing system in Application Example 1. [Figure 13] FIG. 10 is a sequence diagram showing the flow of processing in the data processing system according to the second embodiment when an emotion engine is combined. [Figure 14] FIG. 10 is a sequence diagram showing the flow of processing in the data processing system in Application Example 2 when an emotion engine is combined. DETAILED DESCRIPTION OF THE INVENTION

[0017] An example of an embodiment of a system according to the technology of the present disclosure will be described below with reference to the accompanying drawings.

[0018] First, the terms used in the following description will be explained.

[0019] In the following embodiments, a coded processor (hereinafter simply referred to as a "processor") may be a single arithmetic device or a combination of multiple arithmetic devices. Furthermore, a processor may be a single type of arithmetic device or a combination of multiple types of arithmetic devices. Examples of arithmetic devices include a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), a GPGPU (General-Purpose computing on Graphics Processing Units), and an APU (Accelerated Processing Unit).

[0020] In the following embodiments, a coded RAM (Random Access Memory) is a memory in which information is temporarily stored and is used as a working memory by a processor.

[0021] In the following embodiments, the coded storage is one or more non-volatile storage devices that store various programs, various parameters, etc. Examples of non-volatile storage devices include flash memory (SSD (Solid State Drive)), magnetic disks (e.g., hard disks), and magnetic tapes.

[0022] In the following embodiments, a communication I / F (Interface) with a symbol is an interface including a communication processor, an antenna, etc. The communication I / F controls communication between multiple computers. Examples of communication standards applied to the communication I / F include wireless communication standards including 5G (5th Generation Mobile Communication System), Wi-Fi (registered trademark), Bluetooth (registered trademark), etc.

[0023] In the following embodiments, "A and / or B" is synonymous with "at least one of A and B." In other words, "A and / or B" means that it may be only A, only B, or a combination of A and B. Furthermore, in this specification, the same concept as "A and / or B" is also applied when three or more things are expressed connected by "and / or."

[0024] [First embodiment]

[0025] FIG. 1 shows an example of the configuration of a data processing system 10 according to the first embodiment.

[0026] 1, a 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.

[0027] The data processing device 12 includes a computer 22, a database 24, and a communication I / F 26. The computer 22 is an example of a "computer" according to the technology of the present disclosure. The computer 22 includes a processor 28, a RAM 30, and a storage 32. The processor 28, the RAM 30, and the storage 32 are connected to a bus 34. The database 24 and the communication I / F 26 are also connected to the bus 34. The communication I / F 26 is connected to a network 54. Examples of the network 54 include a WAN (Wide Area Network) and / or a LAN (Local Area Network).

[0028] The smart device 14 includes a computer 36, a reception device 38, an output device 40, a camera 42, and a communication I / F 44. The computer 36 includes a processor 46, a RAM 48, and a storage 50. The processor 46, the RAM 48, and the storage 50 are connected to a bus 52. The reception device 38, the output device 40, and the camera 42 are also connected to the bus 52.

[0029] The reception device 38 includes a touch panel 38A, a microphone 38B, and the like, and receives user input. The touch panel 38A detects contact with an indicator (for example, a pen or a finger) to receive user input by the touch of the indicator. The microphone 38B detects the user's voice to receive user input by voice. The control unit 46A transmits data indicating the user input received by the touch panel 38A and the 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.

[0030] 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 of expression that the user 20 can perceive (for example, audio and / or text). The display 40A displays visible information such as text and images in accordance with instructions from the processor 46. The speaker 40B outputs audio in accordance with instructions from the processor 46. The camera 42 is a compact digital camera equipped with an optical system including a lens, aperture, and shutter, and an imaging element such as a CMOS (Complementary Metal-Oxide-Semiconductor) image sensor or a CCD (Charge Coupled Device) image sensor.

[0031] The communication I / F 44 is connected to a network 54. The communication I / Fs 44 and 26 control the exchange of various information between the processor 46 and the processor 28 via the network 54.

[0032] FIG. 2 shows an example of the main functions of the data processing device 12 and the smart device 14.

[0033] 2, in the data processing device 12, a specific process 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" according to the technology of the present 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 process 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.

[0034] The storage 32 stores a data generation model 58 and an emotion identification model 59. The data generation model 58 and the emotion identification model 59 are used by the identification processing unit 290.

[0035] In the smart device 14, the processor 46 performs the reception output process. The storage 50 stores a reception output program 60. The reception output program 60 is used in conjunction with the 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 process is realized by the processor 46 operating as the control unit 46A in accordance with the reception output program 60 executed on the RAM 48.

[0036] Next, a description will be given of the specific processing performed by the specific processing unit 290 of the data processing device 12. In the following description, the data processing device 12 will be referred to as a "server" and the smart device 14 will be referred to as a "terminal."

[0037] This system proposes necessary emergency supplies based on address information, living environment information, family composition information, and stockpile period information registered by users, and supports them from purchase to operation. This system realizes various functions by exchanging information between the server, terminals (PCs, smartphones, tablets, etc.), and users.

[0038] Registering user information

[0039] Users access the app or web system and enter their address, living environment, family composition, and stockpiling period. For example, if a user lives in Tokyo, they enter "Tokyo" as their address information, and enter that they live in a detached house with a garden as living environment information. They can enter two adults and one child as their family composition and specify two weeks as the stockpiling period.

[0040] The terminal generates a request to transmit the input information to the server.

[0041] The server stores the received user information in a database and sends a message confirming the completion of registration to the terminal.

[0042] Suggestions for stockpiling supplies

[0043] The server retrieves the user's registration information from the database and calculates the necessary supplies based on the information entered. For example, it calculates that the user's family will need 20 kg of rice, 40 liters of water, and 20 cans of food to last for two weeks.

[0044] The server generates a list of stockpiles from the calculation results and transmits this list to the terminal.

[0045] The terminal displays the sent stockpile list to the user, and the user can check the stockpile list.

[0046] Purchase Support

[0047] Users can select the items they want to stockpile from a list of suggestions, for example, 20 kg of rice and 40 liters of water.

[0048] The terminal transmits a list of the selected stockpiles to the server.

[0049] The server generates a purchase link or purchase information for the selected stockpile item, for example, a link that says, "Click here to buy 20 kg of rice or 40 liters of water at online store A."

[0050] The server sends a response containing these purchase links to the terminal, which then displays the links to the user. The user can easily purchase the stockpiles by clicking the displayed links.

[0051] Operational support

[0052] The server tracks the expiration dates or expiry dates of stockpiled items registered in the database. For example, rice has a one-year expiration date, while water has a six-month expiration date.

[0053] When the expiration date approaches, the server automatically generates an alert, creating a message such as "The expiration date of your registered rice is approaching."

[0054] The server sends this alert message to the terminal, which then notifies the user, who can then take appropriate action to update their stockpile if necessary.

[0055] In this way, this system provides comprehensive support, from registering user information to suggesting stockpiles, purchasing support, and operational support, allowing each household to efficiently manage their stockpiles.

[0056] The processing flow will be explained below.

[0057] Step 1:

[0058] User: Launch the app or web system and enter address information, living environment information, family composition information, and stockpile period information on the initial setup screen.

[0059] Step 2:

[0060] Terminal: Generates a request to send the entered user information to the server.

[0061] Step 3:

[0062] Terminal: Sends the request to the server.

[0063] Step 4:

[0064] Server: Stores the received user information in a database.

[0065] Step 5:

[0066] Server: Generate a confirmation message confirming user registration completion.

[0067] Step 6:

[0068] Server: Sends a confirmation message to the device.

[0069] Step 7:

[0070] Terminal: Display a confirmation message to the user.

[0071] Step 8:

[0072] Server: Retrieves user information from the database.

[0073] Step 9:

[0074] Server: Calculates the list of necessary supplies based on the user's registration information.

[0075] Example: Calculate a two-week supply of 20 kg of rice, 40 liters of water, 20 cans of food, etc.

[0076] Step 10:

[0077] Server: Generates the calculated stockpile list.

[0078] Step 11:

[0079] Server: Generates a response to send the stockpile list to the device.

[0080] Step 12:

[0081] Server: Sends the response to the device.

[0082] Step 13:

[0083] Terminal: Receives the stockpile list and displays it to the user.

[0084] Step 14:

[0085] User: Select the item they want to purchase from the suggested list.

[0086] Example: Select "20 kg of rice" and "40 liters of water".

[0087] Step 15:

[0088] Terminal: Generates a request to send the user's selection information to the server.

[0089] Step 16:

[0090] Terminal: Sends the request to the server.

[0091] Step 17:

[0092] Server: Generates a purchase link or instructions based on the received selection information.

[0093] Step 18:

[0094] Server: Generate a response containing a purchase link and purchase information.

[0095] Step 19:

[0096] Server: Sends the response to the device.

[0097] Step 20:

[0098] Device: Display the purchase link and purchase information to the user.

[0099] Step 21:

[0100] Server: Periodically checks the expiration dates or expiry dates of stockpiled items registered in the database.

[0101] Step 22:

[0102] Server: Generates alerts for expiring supplies.

[0103] For example: "The rice is nearing its expiration date."

[0104] Step 23:

[0105] Server: Generates a response to send an alert message to the device.

[0106] Step 24:

[0107] Server: Sends the response to the device.

[0108] Step 25:

[0109] Terminal: Notify the user of the alert message.

[0110] Step 26:

[0111] User: Update their supplies as needed through the app.

[0112] Example 1

[0113] Next, a description will be given of Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the smart device 14 will be referred to as a "terminal."

[0114] It is important to systematically manage the stockpiles necessary for disaster prevention and countermeasures at home and in facilities, but selecting the appropriate stockpiles is difficult because the types and quantities of stockpiles needed vary depending on the region, living environment, family composition, etc. In addition, purchasing the selected stockpiles and managing their expiration dates can be cumbersome, often placing a burden on users. Currently, there are few systems that comprehensively solve these issues, so a system that allows users to efficiently manage stockpiles is needed.

[0115] The specific processing by the specific processing unit 290 of the data processing device 12 in the first embodiment is realized by the following means.

[0116] In this invention, the server includes terminal means for inputting address information, living environment information, family composition information, and stockpiling period information and transmitting this information to the server, server means for saving the input information in a database, means for retrieving the saved information from the database and calculating a list of necessary stockpiles, means for generating the calculated list of stockpiles and sending it to the terminal for display, means for generating a purchase link or purchase information based on a user's selection, means for sending the generated purchase link or purchase information to the terminal for display so that the user can complete the purchase procedure, means for tracking the expiration dates or best-before dates of stockpiled items and generating an alert when the expiration date approaches, and means for sending the generated alert to the terminal to notify the user. This allows users to select appropriate stockpiles based on individual conditions such as address information and family composition, and to centrally purchase and manage them.

[0117] "Address information" is geographical data of the location where the user resides, including the city, ward, town, village, prefecture, and specific address.

[0118] "Living environment information" is information about the physical environment of a residence, including details such as whether it is a detached house or an apartment, and whether it has a garden.

[0119] "Family composition information" is information showing details of the members belonging to the user's household, including, for example, the number of adults and children, and their age groups.

[0120] "Stockpile period information" is information indicating the period for which supplies are required to be stored as spares, and specifies the period for which stockpile is required, such as one week, two weeks, or one month.

[0121] "Terminal means" refers to devices that allow users to input information or receive and display data from a server, and primarily includes PCs, smartphones, tablets, etc.

[0122] "Server means" refers to a central processing unit for receiving information sent by users and storing it in a database.

[0123] A "database" refers to an information system for systematically storing and managing information such as a user's address, living environment, family structure, and stockpile period.

[0124] The "stockpile list" shows a list of necessary supplies calculated based on conditions specified by the user.

[0125] "Purchase Links or Information" includes online shop links and necessary purchase information for purchasing selected stockpiles.

[0126] "Use by date or expiry date" is data indicating the period during which stockpiled goods can maintain their quality, after which it is no longer recommended for use.

[0127] "Alert" refers to a warning message that notifies the user when the expiration date or expiry date of a stockpile item is approaching.

[0128] This system suggests necessary emergency supplies based on address information, living environment information, family composition information, and stockpile period information registered by users, and supports them from purchase to operation. This system operates by exchanging information mainly between a server, terminals (PCs, smartphones, tablets, etc.), and users.

[0129] Registering and saving user information

[0130] Using a web or mobile app, users enter information such as their address, living environment, family composition, and stockpiling period. For example, a user might enter "Tokyo," "detached house," "with garden," "two adults, one child," and "two weeks' stockpiling period."

[0131] The terminal collects this input information and generates a request to send to the server, where the input information is sent in an appropriate format.

[0132] The server stores the received user information in a database. A confirmation message indicating the completion of registration is generated and sent from the server to the terminal. The terminal displays the confirmation message to the user, informing them that "registration of information has been completed."

[0133] Suggestions for stockpiling supplies

[0134] The server retrieves the user's registration information from the database and calculates the necessary supplies based on the entered information. For example, it uses a specific algorithm to obtain a calculation result such as "20 kg of rice, 40 liters of water, and 20 cans of food for two weeks."

[0135] The server generates a list of emergency supplies based on the calculation results and transmits the list to the terminal, which then displays the received emergency supply list to the user so that the user can check the list.

[0136] Purchase Support

[0137] The user selects the items they want to purchase from the stockpile list, for example, "20 kg of rice" and "40 liters of water."

[0138] The terminal transmits information about the selected stockpile items as a request to the server.

[0139] The server generates a purchase link for the selected emergency supplies. For example, a link such as "Click here for 20 kg of rice or 40 liters of water at online store A" is generated. A response containing this link is sent from the server to the terminal, which displays it to the user. The user can click the link to easily purchase the emergency supplies from the online store.

[0140] Operational support

[0141] The server runs scheduled jobs to track expiration dates and best-before dates for stockpiled items stored in a database. For example, information such as "rice has a best-before date of one year, water has a best-before date of six months" is stored in the database.

[0142] When the expiration date approaches, the server generates an alert, for example, a message saying "The expiration date of the registered rice is approaching."

[0143] The server sends an alert message to the device, which then notifies the user, who can then update or purchase supplies.

[0144] Specific examples

[0145] For example, suppose a user inputs the following information into the system: address is "Tokyo," living environment is "detached house with garden," family composition is "2 adults, 1 child," and stockpile period is "2 weeks."

[0146] Example prompt sentence:

[0147] Please suggest the supplies needed for a two-week emergency stockpile for a family of two adults and one child living in Tokyo. Please also provide a link to where you can purchase the suggested supplies.

[0148] When this prompt is fed into a generative AI model, it outputs a suggested list of supplies you need to stock up on and links to purchase them.

[0149] This system comprehensively covers the entire process from registering user information to suggesting stockpiles, purchasing support, and operational support, enabling efficient stockpile management for each household.

[0150] The flow of the identification process in the first embodiment will be described with reference to FIG.

[0151] Step 1:

[0152] Users launch the web or mobile app, create an account, and log in. After logging in, users enter their address information, living environment information, family composition information, and stockpile period information. Specifically, they enter "Tokyo," "detached house," "with garden," "2 adults, 1 child," and "stockpile period of 2 weeks." This is the input information.

[0153] Step 2:

[0154] The terminal checks the information entered by the user in real time to ensure that all required fields have been entered correctly. If there are no errors, it generates a request to send the entered information to the server. This request includes the address information, living environment information, family composition information, and stockpile period information entered by the user. This is the process of sending the entered information to the server.

[0155] Step 3:

[0156] The server receives the information sent from the device. It processes the received information to store it in the database. At this time, the input information is converted into an appropriate format and stored in the database. For example, the database may store information such as "Address: Tokyo, Living environment: Detached house with garden, Family composition: 2 adults, 1 child, Stockpile period: 2 weeks." After the information has been stored, it generates a confirmation message that registration is complete and sends it to the device as a response.

[0157] Step 4:

[0158] The terminal receives a confirmation message from the server that registration has been completed, and displays a notification to the user such as "Information registration has been completed." This allows the user to confirm that the information has been registered correctly.

[0159] Step 5:

[0160] The server retrieves registered user information from the database. Based on this information, it performs data calculations to calculate the necessary supplies. Specifically, it calculates that "20 kg of rice, 40 liters of water, and 20 cans of food will be needed for two weeks." A specific algorithm is used for the calculation. This is the calculation result.

[0161] Step 6:

[0162] The server generates a list of supplies based on the calculation results and sends this list to the terminal. The list includes the necessary supplies and their quantities. For example, a list such as "20 kg of rice, 40 liters of water, and 20 cans of food" may be generated.

[0163] Step 7:

[0164] The terminal receives the list of stockpiled items sent from the server and displays it to the user, who can check the list and understand the contents of the stockpiled items displayed.

[0165] Step 8:

[0166] The user selects the items they want to purchase from the displayed list of stockpiled goods. For example, they select "20 kg of rice" and "40 liters of water." This becomes the user's selection information.

[0167] Step 9:

[0168] The terminal generates a request to transmit the user's selection information to the server, the request including the information on the stockpile items selected by the user.

[0169] Step 10:

[0170] The server receives information about the stockpile items selected by the user and generates a purchase link for that item. For example, it generates a link that reads, "Click here to purchase 20 kg of rice or 40 liters of water from online store A." This link is generated as a response.

[0171] Step 11:

[0172] The terminal displays the purchase link received from the server to the user, who can click the displayed link to access the online store and easily purchase the selected stockpile item.

[0173] Step 12:

[0174] The server runs a scheduled job to track the expiration dates and use-by dates of stockpiled items stored in the database. For example, information such as "rice expires in one year, and water expires in six months" is stored in the database. This is the configuration information for data tracking.

[0175] Step 13:

[0176] When the expiration date approaches, the server generates an alert. For example, it creates a message saying, "The expiration date of the registered rice is approaching." This is the alert information.

[0177] Step 14:

[0178] The server sends the generated alert to the terminal, and the terminal notifies the user of the alert. The user receives the notification and can update or purchase stockpiles as necessary.

[0179] (Application example 1)

[0180] Next, a description will be given of Application Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the smart device 14 will be referred to as a "terminal."

[0181] In modern households, it is important to stockpile supplies in preparation for disasters. However, many people find it difficult to accurately grasp the types and quantities of supplies needed and manage them appropriately. Furthermore, purchasing supplies and managing their expiration dates can be time-consuming, resulting in insufficient supplies. Furthermore, supplies often go to waste when they expire. To solve these problems, a system is needed that allows users to easily and effectively manage their stockpiles.

[0182] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 1 is realized by the following means.

[0183] In this invention, the server includes means for inputting address information, living environment information, family composition information, and stockpile period information, means for saving the input information in a database, means for calculating a list of necessary stockpiles based on the saved information, means for generating and displaying the calculated list of stockpiles, means for generating a purchase link or purchase information based on a user's selection, means for tracking expiration dates or best-before dates of stockpiles and generating alerts, means for notifying the user of the generated alerts, means for linking with a delivery service to enable the user to easily purchase stockpiles, means for automatically updating information on purchased stockpiles in the database, means for tracking and analyzing stockpile purchase history, and means for recommending necessary stockpiles based on the analysis. This enables users to easily select, purchase, and manage appropriate stockpiles according to their family composition and living environment.

[0184] "Address information" is information entered by the user to identify the place of residence.

[0185] "Living environment information" is information about the type of residence of the user and the surrounding conditions.

[0186] "Family composition information" is information relating to the composition of people in the user's household.

[0187] The "stockpiling period information" is information indicating the target period for which the user intends to stockpile.

[0188] A "database" is a system that stores and manages information entered by users and provides necessary information.

[0189] The "stockpile list" is a list of necessary stockpiles calculated based on the user's registered information.

[0190] "Purchase Link" is a link to an online store or delivery service where users can purchase emergency supplies.

[0191] An "alert" is a warning message that notifies you that the expiration date or expiry date of a stockpile item is approaching.

[0192] The "delivery service" is a service that delivers stockpiled items selected by the user to the user's home.

[0193] "Purchase history" is a record of stockpiled items that a user has purchased in the past.

[0194] "Analysis" is the process of finding patterns based on data and recommending necessary supplies.

[0195] The "recommendation means" is a method for suggesting appropriate stockpiles to the user based on the analysis results.

[0196] This system proposes necessary emergency supplies based on address information, living environment information, family composition information, and stockpile period information registered by users, and supports them from purchase to operation. This system realizes various functions by exchanging information between the server, terminals (PCs, smartphones, tablets, etc.), and users.

[0197] Registering user information

[0198] Users access the app or web system and enter their address, living environment, family composition, and stockpiling period. For example, if a user lives in Tokyo, they would enter "Tokyo" as their address information and enter that they live in a detached house with a garden as living environment information. They can enter two adults and one child as their family composition and specify two weeks as the stockpiling period.

[0199] The terminal generates a request to transmit the input information to the server.

[0200] The server stores the received user information in a database and sends a message confirming the completion of registration to the terminal.

[0201] Suggestions for stockpiling supplies

[0202] The server retrieves the user's registration information from the database and calculates the necessary supplies based on the entered information. For example, it calculates that the user's family will need 20 kg of rice, 40 liters of water, 20 cans of food, etc. to survive for two weeks. From the calculation results, the server generates a list of supplies and sends this list to the terminal.

[0203] The terminal displays the sent stockpile list to the user, and the user can check the stockpile list.

[0204] Purchase Support

[0205] The user selects the desired stockpile items from the list of suggestions. For example, they can select 20 kg of rice and 40 liters of water. The terminal then sends the list of selected stockpile items to the server.

[0206] The server generates a purchase link or purchase information for the selected stockpile item, for example, a link that says, "Click here to purchase 20 kg of rice or 40 liters of water from online store A." The server sends a response containing these purchase links to the terminal, which displays the links to the user. The user can easily purchase the stockpile item by clicking the displayed link.

[0207] Operational support

[0208] The server tracks the expiration dates or best-before dates of stockpiled items registered in the database. For example, the expiration date for rice is recorded as one year, and the expiration date for water as six months. When the expiration date approaches, the server automatically generates an alert, creating a message such as "The expiration date of your registered rice is approaching." The server then sends this alert message to the device, which notifies the user. The user receives the notification and can take appropriate action to update the stockpiled items as needed.

[0209] Collaboration with food delivery services

[0210] In this invention, a food delivery service is linked to the system so that the user can easily purchase the emergency supplies they have selected from the food delivery service. The emergency supplies selected by the user are sent to a server, which then sends the information to the delivery service. The delivery service then delivers the corresponding emergency supplies to the user. This allows the user to easily secure the emergency supplies they need.

[0211] Program processing explanation

[0212] The server stores user information using a database management system (e.g., MySQL (registered trademark), PostgreSQL) and implements an algorithm to calculate stockpiles based on the user information. To suggest appropriate stockpiles, the calculated stockpiles list is sent to the device via an application server (e.g., Node.js, Django). Purchase links are obtained from an external API (e.g., a food delivery service API) and presented to the user. Firebase Cloud Messaging (FCM) and Apple Push Notification Service (APNs) are used as notification services.

[0213] Specific examples

[0214] For example, if a user living in Tokyo registers their information with the app, they will enter that their family consists of two adults and one child. The app will suggest 20 kg of rice, 40 liters of water, and 20 cans of food as a two-week supply. If the user selects 20 kg of rice and 40 liters of water from these suggested items, the app will provide a link to purchase them from an online store or food delivery service. Additionally, when the rice is nearing its expiration date, the app will send a notification informing them that "The expiration date for the registered rice is approaching."

[0215] Prompt Sentence Examples

[0216] "Imagine an application where a user registers their address, living environment, family composition, and stockpiling period information, and the app automatically suggests the food they need to stockpile, and helps them easily purchase the food they want from a food delivery service. Specifically, the system calculates and displays suggested foods from a database, then generates a purchase link and sends notifications when the expiration date is approaching."

[0217] The flow of the specific processing in the application example 1 will be described with reference to FIG.

[0218] Step 1:

[0219] Users access the app or web system and enter address information, living environment information, family composition information, and stockpile period information.

[0220] Input: The user enters information such as address, living environment, family composition, and storage period.

[0221] How it works: The user enters the necessary information into the app's input form and presses the submit button.

[0222] Output: The entered information is saved on the device and the next step is taken.

[0223] Step 2:

[0224] The terminal generates a request to transmit the input information to the server.

[0225] Input: User information entered into the input form.

[0226] Data processing: Converts input information into a format suitable for communication, such as JSON format.

[0227] Operation: After the send button is pressed, the terminal sends the user's input information as a request to the server.

[0228] Output: A user information request is sent to the server.

[0229] Step 3:

[0230] The server stores the received user information in a database and sends a message confirming the completion of registration to the terminal.

[0231] Input: User information request sent from the terminal.

[0232] Data calculation: The process of storing user information in the database.

[0233] Behavior: The server parses the information it receives, stores it in a database, and generates a message indicating that registration is complete.

[0234] Output: A confirmation message is sent to the device confirming successful registration.

[0235] Step 4:

[0236] The server retrieves the user's registration information from the database and calculates the necessary supplies.

[0237] Input: User information stored in the database.

[0238] Data calculation: Based on user information, calculate the type and quantity of stockpiled items required according to calculation rules.

[0239] How it works: The server uses algorithms to calculate what supplies you need based on your user information, such as how much food, water, and other essentials you need based on your family size and living environment.

[0240] Output: Calculated stockpile list.

[0241] Step 5:

[0242] The server generates a stockpile list and transmits it to the terminal.

[0243] Input: Calculated stockpile list.

[0244] Data processing: Convert the stockpile list into a format that is easy for users to view.

[0245] How it works: The server lists the calculation results, converts them into a format that is easily understandable to the user, and sends them to the terminal.

[0246] Output: The stockpile list is displayed on the terminal.

[0247] Step 6:

[0248] The user selects the necessary supplies from the list of suggested supplies.

[0249] Input: Proposed stockpile list.

[0250] How it works: The user reviews the list and selects the supplies they need.

[0251] Output: A list of selected stockpiles.

[0252] Step 7:

[0253] The terminal transmits the selected stockpile item list to the server.

[0254] Input: A list of supplies selected by the user.

[0255] Data processing: Convert the selected stockpile list into the request format.

[0256] Operation: The device sends the selected stockpile list to the server.

[0257] Output: The list of selected items is sent to the server.

[0258] Step 8:

[0259] The server generates a purchase link for the selected stockpile item and transmits it to the terminal.

[0260] Input: Selected stockpile list.

[0261] Data Calculation: Uses external APIs to generate purchase links.

[0262] How it works: The server generates a purchase link for each item based on the list of selected items. For example, it obtains the purchase link using a food delivery service's API.

[0263] Output: A purchase link will be displayed on the device.

[0264] Step 9:

[0265] The server tracks use-by or expiry dates for stockpiled items registered in the database and generates alerts.

[0266] Input: Stockpile information stored in the database.

[0267] Data calculation: Check the expiry date or expiration date of each stockpile item and generate an alert if the expiry date is approaching.

[0268] How it works: The server periodically checks the database and generates alert messages for supplies that are about to expire.

[0269] Output: The generated alert message.

[0270] Step 10:

[0271] The generated alert is notified to the terminal, which then notifies the user.

[0272] Input: The generated alert message.

[0273] Data processing: Converting messages into a format that can be displayed to the user.

[0274] How it works: The server generates an alert and sends it to the device, which then displays the notification to the user. This uses Firebase Cloud Messaging (FCM) and Apple Push Notification Service (APNs).

[0275] Output: An alert message is displayed to the user.

[0276] Furthermore, an emotion engine that estimates the user's emotion may be combined. That is, the identification processing unit 290 may estimate the user's emotion using the emotion identification model 59 and perform identification processing using the user's emotion.

[0277] This system suggests necessary emergency supplies based on address information, living environment information, family composition information, and stockpile period information registered by the user, and supports the process from purchase to operation. Furthermore, by combining it with an emotion engine that recognizes the user's emotions, it is possible to make appropriate suggestions and notifications based on the user's emotions. This system realizes various functions by exchanging information between the server, terminals (PCs, smartphones, tablets, etc.), and the user.

[0278] Registering user information

[0279] Users access the app or web system and enter their address, living environment, family composition, and stockpiling period. For example, if a user lives in Tokyo, they enter "Tokyo" as their address information, and enter that they live in a detached house with a garden as living environment information. They can enter two adults and one child as their family composition and specify two weeks as the stockpiling period.

[0280] The terminal generates a request to transmit the input information to the server.

[0281] The server stores the received user information in a database and sends a message confirming the completion of registration to the terminal.

[0282] Suggestions for stockpiling supplies

[0283] The server retrieves the user's registration information from the database and calculates the necessary supplies based on the information entered. For example, it calculates that the user's family will need 20 kg of rice, 40 liters of water, and 20 cans of food to last for two weeks.

[0284] The server generates a list of stockpiles from the calculation results and transmits this list to the terminal.

[0285] The terminal displays the sent stockpile list to the user, and the user can check the stockpile list.

[0286] Purchase Support

[0287] Users can select the items they want to stockpile from a list of suggestions, for example, 20 kg of rice and 40 liters of water.

[0288] The terminal transmits a list of the selected stockpiles to the server.

[0289] The server generates a purchase link or purchase information for the selected stockpile item, for example, a link that says, "Click here to buy 20 kg of rice or 40 liters of water at online store A."

[0290] The server sends a response containing these purchase links to the terminal, which then displays the links to the user. The user can easily purchase the stockpiles by clicking the displayed links.

[0291] Operational support

[0292] The server tracks the expiration dates or expiry dates of stockpiled items registered in the database. For example, rice has a one-year expiration date, while water has a six-month expiration date.

[0293] When the expiration date approaches, the server automatically generates an alert, creating a message such as "The expiration date of your registered rice is approaching."

[0294] The server sends this alert message to the terminal, which then notifies the user, who can then take appropriate action to update their stockpile if necessary.

[0295] Utilizing the Emotion Engine

[0296] The device is equipped with an emotion engine that recognizes emotions from the user's facial expressions and voice during input and operation. This emotion engine can acquire emotion data such as whether the user is feeling stressed or relaxed.

[0297] The server stores the recognized emotion data in a database, for example, if the user is feeling stressed, it records that information.

[0298] The server can tailor the suggested emergency supplies list based on the recognized emotion data, for example, suggesting easier emergency supplies if the user is feeling stressed.

[0299] The content and tone of alert messages can also be adjusted based on emotional data. For example, when a user is relaxed, alert messages can be displayed in a softer tone.

[0300] In this way, this system provides comprehensive support, from registering user information to suggesting stockpiles, purchasing support, operational support, and even adjusting suggestions and notifications using emotion recognition, allowing each household to efficiently manage their stockpiles.

[0301] The processing flow will be explained below.

[0302] Step 1:

[0303] The user launches the app or web system and enters address information, living environment information, family composition information, and stockpile period information on the initial setup screen.

[0304] Step 2:

[0305] The terminal generates a request to transmit the input user information to the server.

[0306] Step 3:

[0307] The terminal sends a request to the server.

[0308] Step 4:

[0309] The server stores the received user information in a database.

[0310] Step 5:

[0311] The server generates a confirmation message confirming the completion of user information registration.

[0312] Step 6:

[0313] The server sends a confirmation message to the terminal.

[0314] Step 7:

[0315] The terminal displays a confirmation message to the user.

[0316] Step 8:

[0317] The server retrieves the user information from the database.

[0318] Step 9:

[0319] The server calculates a list of necessary supplies based on the user's registration information.

[0320] Example: Calculate a two-week supply of 20 kg of rice, 40 liters of water, 20 cans of food, etc.

[0321] Step 10:

[0322] The server generates a calculated stockpile list.

[0323] Step 11:

[0324] The server generates a response for transmitting the stockpile list to the terminal.

[0325] Step 12:

[0326] The server sends a response to the terminal.

[0327] Step 13:

[0328] The terminal receives the stockpile list and displays it to the user.

[0329] Step 14:

[0330] The user selects the items they wish to purchase from the suggested list.

[0331] Example: Select 20 kg of rice and 40 liters of water.

[0332] Step 15:

[0333] The terminal generates a request to transmit the user's selection information to the server.

[0334] Step 16:

[0335] The terminal sends a request to the server.

[0336] Step 17:

[0337] The server generates a purchase link or method based on the received selection information.

[0338] Step 18:

[0339] The server generates a response that includes a purchase link and purchase information.

[0340] Step 19:

[0341] The server sends a response to the terminal.

[0342] Step 20:

[0343] The terminal displays the purchase link and purchase information to the user.

[0344] Step 21:

[0345] The server periodically checks the expiration dates or expiry dates of stockpiled items registered in the database.

[0346] Step 22:

[0347] The server generates alerts for supplies that are about to expire.

[0348] Example: The rice is nearing its expiration date.

[0349] Step 23:

[0350] The server generates a response for sending an alert message to the terminal.

[0351] Step 24:

[0352] The server sends a response to the terminal.

[0353] Step 25:

[0354] The terminal notifies the user of the alert message.

[0355] Step 26:

[0356] Users can update their stockpiles as needed through the app.

[0357] Step 27:

[0358] The device uses an emotion engine to recognize the user's input, facial expressions, and voice during operation.

[0359] Step 28:

[0360] The terminal transmits the recognized emotion data to the server.

[0361] Step 29:

[0362] The server stores the emotion data in a database.

[0363] Step 30:

[0364] The server recalculates the suggested stockpile list based on the recognized emotion data.

[0365] Step 31:

[0366] The server generates an adjusted stockpile list and transmits it to the terminal.

[0367] Step 32:

[0368] The terminal receives the adjusted stockpile list and displays it to the user.

[0369] Step 33:

[0370] The server implements a mechanism for adjusting the tone and content of the alert message based on the emotion data.

[0371] Step 34:

[0372] The server generates and sends a tailored alert message to the terminal.

[0373] Step 35:

[0374] The terminal notifies the user of the adjusted alert message.

[0375] Example 2

[0376] Next, a description will be given of Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the smart device 14 will be referred to as a "terminal."

[0377] Conventional emergency supply management systems suggest necessary emergency supplies based on input such as address information, living environment information, family composition information, and stockpile period information, but many of these systems do not take into account the user's emotional state. As a result, they are unable to provide optimal suggestions to reduce the user's stress and anxiety, and do not sufficiently improve the user experience. Furthermore, even if there is a function to track the expiration dates of emergency supplies, the notifications do not take the user's emotions into consideration, which can increase the user's burden.

[0378] The specific processing by the specific processing unit 290 of the data processing device 12 in the second embodiment is realized by the following means.

[0379] In this invention, the server includes means for inputting address information, living environment information, family composition information, and stockpiling period information, means for saving the input information in a database, means for calculating a list of necessary stockpiles based on the saved information, means for generating and displaying the calculated stockpiling list, means for generating a purchase link or purchase information based on a user's selection, means for tracking expiration dates or best-before dates of stockpiled items and generating alerts, means for notifying the user of the generated alerts, means for recognizing the user's emotions and adjusting the suggested contents of the stockpiling list and alert messages based on the recognized emotions, and means for saving the emotion data in a database. This enables appropriate stockpiling item suggestions and notifications to be made taking into account the user's emotional state, improving the user experience and reducing the burden on the user.

[0380] "Address information" refers to information about the specific area or place where the user resides.

[0381] "Living environment information" refers to information about the physical environment and surroundings in which the user lives. For example, it includes information about whether the house is a detached house with a garden.

[0382] "Family composition information" refers to information about the number and relationships of a user's family members. For example, a family may include two adults and one child.

[0383] "Stockpile period information" refers to information about the period for which the user needs to prepare stockpiles. For example, it includes information that a two-week supply of stockpiles is required.

[0384] A "database" is a system for organizing and storing input information, calculation results, emotional data, etc.

[0385] The "stockpile list" is a list that indicates the specific types and quantities of necessary stockpile items that are recommended to the user.

[0386] An "emotion engine" is software or hardware that recognizes emotions from a user's facial expressions, voice, etc.

[0387] An "alert" is a message that alerts or notifies the user.

[0388] "Purchase Link" means a URL or connection information that allows a User to purchase an emergency supply item online.

[0389] An "HTTP request" is a communication method used by a terminal to request a specific process from a server.

[0390] The "JSON format" is a lightweight data exchange format for representing data in text.

[0391] The present invention is a system that allows users to input address information, living environment information, family composition information, and stockpiling period information, and based on that information, suggests necessary stockpiles and supports them from purchase to operation. Furthermore, it aims to improve the user experience by utilizing an emotion engine that recognizes the user's emotions and making suggestions and notifications according to the user's emotional state. Specific embodiments are described below.

[0392] Registering user information

[0393] The user accesses the app or web system and enters their address, living environment, family composition, and stockpiling period. For example, suppose the user enters "Tokyo," lives in a detached house, has a family of "two adults and one child," and has a stockpiling period of "two weeks."

[0394] The device generates an HTTP request to send this input information to the server in JSON format. For example, the input information is included in the request in the following format:

[0395] json

[0396] {"address": "Tokyo", "livingEnvironment": "Detached house", "familyStructure": "2 adults and 1 child", "stockpileDuration": "2 weeks"}

[0397] The server will then parse the information appropriately and store it in a MySQL database, for example by executing an INSERT statement to store the data as follows:

[0398] sql

[0399] INSERT INTO user_info (address, living_environment, family_structure, stockpile_duration) VALUES ("Tokyo", "Detached house", "2 adults and 1 child", "2 weeks")

[0400] The server generates a JSON message confirming the completion of registration and sends it to the device. For example, it returns a response like this:

[0401] json

[0402] {"status": "success", "message": "Registration completed"}

[0403] The terminal displays the received message to the user, for example, a pop-up message saying "User information registration completed."

[0404] Suggestions for stockpiling supplies

[0405] The server retrieves the user's registration information from the database and calculates the necessary supplies based on that information. For example, it calculates that a family needs 20 kg of rice, 40 liters of water, and 20 cans of food to survive for two weeks.

[0406] Using the calculation results, the server generates a stockpile list in JSON format and sends it to the terminal. The response is as follows:

[0407] json

[0408] {"status": "success", "stockpile_list": {"rice": "20kg", "water": "40L", "canned_food": "20 pieces"}}

[0409] The device displays the received list of stockpiled items to the user. For example, the app screen might show a list such as "Rice: 20 kg, Water: 40 L, Canned goods: 20."

[0410] Purchase Support

[0411] The user selects the desired stockpile items from the list of suggestions, for example, 20 kg of rice and 40 liters of water.

[0412] The device sends the list of selected stockpiles in JSON format to the server, as follows:

[0413] json

[0414] {"selected_items": {"rice": "20kg", "water": "40L"}}

[0415] The server generates a purchase link for the selected stockpile item, for example, "20 kg of rice here, 40 liters of water here at Online Store A." The server sends a response containing these purchase links to the terminal in JSON format:

[0416] json

[0417] {"links": [{"item": "Rice 20kg", "url": "http: / / storeA.com / rice20kg"}, {"item": "Water 40L", "url": "http: / / storeA.com / water40L"}]}

[0418] The device displays a purchase link to the user. For example, it displays a link such as "Click here for 20 kg of rice" or "Click here for 40 L of water" and makes it clickable by the user.

[0419] Operational support

[0420] The server tracks the expiration dates or expiry dates of the stockpiled items in the database, for example by periodically checking the expiration date of each stockpile item stored in a MySQL database.

[0421] When the expiration date approaches, the server automatically generates an alert message, such as "The expiration date of the registered rice is approaching." The generated alert message is sent to the terminal in JSON format:

[0422] json

[0423] {"alert": "The expiration date of your registered rice is approaching"}

[0424] The device will display this alert message to the user as a pop-up notification, for example, a notification at the top of the screen saying, "The expiration date of your registered rice is approaching."

[0425] Utilizing the Emotion Engine

[0426] The device activates an emotion engine to recognize emotions from the user's facial expressions and voice during input and operation. This engine captures the user's facial expressions and voice using a camera and microphone and analyzes them using an AI model.

[0427] The device sends the recognized emotion data in JSON format to the server. Example of the sent content:

[0428] json

[0429] {"emotion": "stress"}

[0430] The server stores the recognized emotion data in a database, for example by executing the following SQL query:

[0431] sql

[0432] INSERT INTO emotion_data (user_id, emotion) VALUES (?, "stress")

[0433] The server adjusts the suggested stockpile items based on the emotional data. For example, if the user is feeling stressed, it suggests easier-to-prepare items (such as instant foods).

[0434] The content and tone of the alert message are also adjusted based on the user's emotional state. For example, when the user is relaxed, a softer tone will be displayed saying, "Don't worry! The expiration date for your registered rice is approaching."

[0435] Example prompts to input to the generative AI model

[0436] Generate a suggested stockpile list for the user based on the following information:

[0437] Address: Tokyo

[0438] Living environment: Detached house with garden

[0439] Family composition: 2 adults, 1 child

[0440] Stockpile period: 2 weeks

[0441] If users are feeling stressed, suggest some easy-to-prepare supplies.

[0442] The flow of the identification process in the second embodiment will be described with reference to FIG.

[0443] Step 1:

[0444] Users access the app or web system and enter their address, living environment, family composition, and stockpiling period. For example, they enter "Tokyo" as the address, "detached house with a garden" as the living environment, "two adults and one child" as the family composition, and "two weeks" as the stockpiling period. This information becomes the basic data for suggesting stockpiled items.

[0445] Step 2:

[0446] The device generates an HTTP request to send the information entered by the user to the server in JSON format. For example, the request is generated in the following format: {"address": "Tokyo", "livingEnvironment": "detached house", "familyStructure": "2 adults and 1 child", "stockpileDuration": "2 weeks"}. This ensures that the entered information is transferred appropriately.

[0447] Step 3:

[0448] The server parses the information it receives and stores it in a MySQL database by executing the following SQL query: INSERT INTO user_info (address, living_environment, family_structure, stockpile_duration) VALUES ("Tokyo", "Single-family home", "2 adults and 1 child", "2 weeks"). The user information is then stored securely in the database.

[0449] Step 4:

[0450] The server generates a confirmation message in JSON format to confirm the completion of registration and sends it to the terminal. For example, it notifies the user of success by generating a response such as {"status": "success", "message": "Registration completed"}. This allows the user to confirm that the information has been registered correctly.

[0451] Step 5:

[0452] The terminal displays the received confirmation message to the user. Specifically, it displays a pop-up message saying "User information registration completed," allowing the user to proceed to the next action.

[0453] Step 6:

[0454] The server retrieves the user's registration information from the database. For example, it executes the SQL query SELECT FROM user_info WHERE user_id = ? to retrieve the stored user information. By analyzing this information, it obtains the basic data for calculating the necessary supplies.

[0455] Step 7:

[0456] The server calculates the necessary supplies based on the acquired user information. For example, it calculates that a family needs 20 kg of rice, 40 liters of water, and 20 cans of food to survive for two weeks. The calculation logic used is based on multivariate analysis and prescribed rules.

[0457] Step 8:

[0458] The server generates a stockpile list based on the calculation results. For example, it generates JSON data such as {"rice": "20kg", "water": "40L", "canned_food": "20 units"} and sends it to the terminal. This presents a specific stockpile list to the user.

[0459] Step 9:

[0460] The device displays the received list of stockpiles to the user. For example, a list such as "Rice: 20 kg, Water: 40 L, Canned goods: 20" may be displayed on the screen so that the user can check the contents.

[0461] Step 10:

[0462] The user selects the stockpile items they want from the displayed list of suggestions. For example, by tapping and selecting 20 kg of rice and 40 liters of water, they confirm the stockpile items they want to purchase.

[0463] Step 11:

[0464] The terminal sends the list of selected stockpiled items to the server in JSON format. The contents of the message are sent to the server in the format {"selected_items": {"rice": "20kg", "water": "40L"}}. This conveys the user's purchase preferences to the server.

[0465] Step 12:

[0466] The server generates a purchase link for the selected stockpile item. For example, it creates a link that says, "Click here to purchase 20 kg of rice and 40 liters of water from online store A," and prepares the purchase information. This ensures that the user can purchase the stockpile item they need.

[0467] Step 13:

[0468] The server sends the generated purchase link in JSON format to the terminal. An example response is in the format {"links": [{"item": "20kg of rice", "url": "http: / / storeA.com / rice20kg"}, {"item": "40L of water", "url": "http: / / storeA.com / water40L"}]}. This allows the user to easily purchase emergency supplies.

[0469] Step 14:

[0470] The device will display the purchase link to the user. For example, a link such as "Click here for 20 kg of rice" or "Click here for 40 L of water" will be displayed, and the user can click it to proceed with the purchase.

[0471] Step 15:

[0472] The server tracks the expiration dates or best-before dates of the stockpiled items in a database, for example by periodically checking the expiration date of each stockpile item stored in a MySQL database. This information is managed by a scheduler or by running periodic queries.

[0473] Step 16:

[0474] The server generates an alert when the expiration date approaches. For example, it creates a message saying, "The expiration date of the registered rice is approaching." The generated alert is notified to the user.

[0475] Step 17:

[0476] The server sends the generated alert message to the terminal in JSON format. For example, it sends it in the format {"alert": "The expiration date of the registered rice is approaching"}. This allows the user to take action at the appropriate time.

[0477] Step 18:

[0478] The device displays the received alert message to the user as a pop-up notification. For example, a notification saying "The expiration date of your registered rice is approaching" is displayed at the top of the screen.

[0479] Step 19:

[0480] The device activates an emotion engine that recognizes emotions from the user's input, facial expressions, and voice during operation, and analyzes the user's stress and relaxation state in real time.

[0481] Step 20:

[0482] The device sends the recognized emotion data to the server in JSON format. An example of the sent content is {"emotion": "stress"}. This notifies the server of the user's emotional state.

[0483] Step 21:

[0484] The server stores the emotion data in a database, for example, by executing the SQL query INSERT INTO emotion_data (user_id, emotion) VALUES (?, "stress").

[0485] Step 22:

[0486] The server adjusts the suggested emergency supplies list based on the emotional data. For example, if the user is feeling stressed, it will suggest emergency supplies that can be easily prepared. This improves the user experience.

[0487] Step 23:

[0488] The server adjusts the content and tone of the alert message based on the user's emotional state. For example, if the user is relaxed, it generates a soft message saying, "Don't worry! The expiration date of your registered rice is approaching."

[0489] (Application example 2)

[0490] Next, a description will be given of Application Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the smart device 14 will be referred to as a "terminal."

[0491] Conventional stockpile management systems specialize in proposing stockpile lists, supporting purchases, and managing expiration dates, but they have the problem of being unable to respond flexibly to the user's emotional state. There is also a need for a system that can reduce user stress and manage stockpile management more efficiently.

[0492] The specification processing by the specification processing unit 290 of the data processing device 12 in Application Example 2 is realized by the following means. In this invention, the server includes means for inputting address information, living environment information, family composition information, and stockpiling period information, means for saving the input information in a database, means for calculating a list of necessary stockpiles based on the saved information, means for generating and displaying the calculated stockpiling list, means for generating a purchase link or purchase information based on a user's selection, means for tracking the expiration dates or best-before dates of stockpiled items and generating an alert, means for notifying the user of the generated alert, means for recognizing the user's emotions and acquiring emotion data, and means for adjusting the suggested content of the stockpiling list and notifications based on the acquired emotion data. This enables flexible stockpiling item suggestions and notifications to be made according to the user's emotional state.

[0493] "Address information" is data that indicates details of the place where the user resides.

[0494] "Living environment information" is data relating to the type of house where the user lives and the surrounding environment.

[0495] "Family composition information" is data indicating the number of family members of a user, their age groups, and the relationships between each member.

[0496] "Stockpile period information" is data indicating a period for calculating the amount of supplies required for a certain period.

[0497] "Input means" refers to an interface that allows a user to provide the required information to the system.

[0498] "Means for storing in a database" refers to a digital storage system for securely storing information provided by users.

[0499] "Means for calculating the stockpile list" refers to an algorithm for calculating the types and quantities of supplies needed based on input information.

[0500] "Display means" refers to a display or screen for visually presenting the calculated stockpile list to the user.

[0501] "Means for generating purchasing links or purchasing information" refers to a system that provides links or information that allows users to easily purchase needed supplies.

[0502] "Means for tracking expiration dates or best-before dates and generating alerts" refers to a system that monitors expiration dates on stockpiled items and notifies users when the expiration date is approaching.

[0503] "Means for recognizing emotions and acquiring emotional data" refers to a system that analyzes a user's facial expressions and voice to identify their emotional state and collect that data.

[0504] "Means for adjusting the suggestions and notifications for the stockpile list based on emotional data" refers to a system that changes the suggestions and notification methods according to the acquired emotional data, providing the user with the most appropriate information.

[0505] The system embodying this invention suggests necessary stockpiles based on user information and supports everything from purchase to operation. It also incorporates an emotion engine that recognizes the user's emotions and makes appropriate suggestions and notifications. This system realizes various functions by exchanging information between the server, terminals (smartphones, tablets, etc.), and users.

[0506] Registering user information

[0507] Using a smartphone or tablet, users input address information, living environment information, family composition information, and stockpiling period information into the application. This information is sent from the device to the server and stored in a database. For example, if a user lives in Tokyo, they would enter "Tokyo" as their "address information" and the fact that they live in a detached house as their "living environment information." They can enter two adults and one child as their family composition and specify two weeks as the stockpiling period.

[0508] Suggestions for stockpiling supplies

[0509] The server calculates an appropriate emergency supply list based on user information stored in the database. For example, the server calculates the amount of rice, water, and canned goods needed for a family of two adults and one child living in Tokyo to survive for two weeks. The calculated emergency supply list is sent to the device and displayed to the user.

[0510] Purchase Support

[0511] The user selects the desired items from the list of suggested stockpiles and enters them into the device. The selected stockpiles are sent to the server, and a purchase link and purchase information are generated. For example, a link such as "20 kg of rice here, 40 liters of water here from online store A" is generated and displayed on the device. The user can easily purchase the stockpiles by clicking on the displayed link.

[0512] Operational support

[0513] The server tracks the expiration dates or best-before dates of the stockpiled items registered in the database and generates alerts when the expiration date approaches. The alerts are notified to the user in the form of "The expiration date of your registered rice is approaching." Users can receive the notification and take appropriate action to update their stockpiles if necessary.

[0514] Utilizing the Emotion Engine

[0515] The device is equipped with an emotion engine that uses a camera and microphone to recognize emotions from the user's facial expressions and voice. For example, if the user is feeling stressed, the emotion data is sent to the server. The server can then adjust the suggested items in the emergency supplies list based on the acquired emotion data. Specifically, if the user is feeling stressed, the server will suggest emergency supplies that are easier to prepare. The server can also adjust the content and tone of alert messages based on the emotion data. When the user is relaxed, the alert message is displayed in a softer tone.

[0516] Main technologies and libraries used

[0517] Hardware: Smartphone, tablet (with built-in camera and microphone)

[0518] software:

[0519] User Interface:React Native

[0520] Backend: Node.js, Express

[0521] Database: MongoDB

[0522] Emotion engine: Facial recognition and speech recognition APIs (e.g., Amazon Rekognition, Google® Speech-to-Text)

[0523] Communication: Socket.IO

[0524] Prompt Sentence Examples

[0525] Please input the user's address information, living environment information, family composition information, and stockpiling period information, and suggest a list of necessary supplies. Also, please analyze the user's emotional state and notify them accordingly.

[0526] The above is an embodiment of the present invention.

[0527] The flow of the specific processing in the application example 2 will be described with reference to FIG.

[0528] Step 1:

[0529] The user opens the application on their smartphone or tablet and enters address information, living environment information, family composition information, and stockpile period information. This information is entered into a form on the device and sent to the server by pressing the send button. The entered information will be in a format such as "Tokyo, detached house, 2 adults, 1 child, 2 weeks."

[0530] Step 2:

[0531] The information sent from the device reaches the server, which saves it in a database. MongoDB is used for saving the information, and the information is stored in a structured format (for example, JSON). After saving, the server generates a message confirming registration and sends it to the device. The input is address, living environment, family composition, and storage period information, and the output is a message confirming registration completion.

[0532] Step 3:

[0533] The server calculates a list of necessary supplies based on user information stored in the database. A specific algorithm is used for the calculation, determining the type and amount of supplies to stockpile based on calculation criteria such as "10 kg of rice and 20 liters of water per adult." The results of this calculation are generated as a list and sent to the terminal. The input is user information, and the output is the list of supplies.

[0534] Step 4:

[0535] The terminal displays the received stockpile list to the user. The user selects the desired stockpile item from the displayed list and inputs the selection information into the terminal. The input is the stockpile item list, and the output is the selected stockpile item information.

[0536] Step 5:

[0537] The selected stockpile product information sent from the device is received by the server, which then generates a purchase link or purchase information based on this information. Link generation uses information from external APIs and online stores. For example, a link is created in the format "20 kg of rice here, 40 liters of water here." The input is the selected stockpile product information, and the output is the purchase link or purchase information.

[0538] Step 6:

[0539] The generated purchase link or purchase information is sent to the terminal, which displays it to the user. By clicking the link, the user can access the online store and easily purchase the necessary supplies. The input is the purchase link or purchase information, and the output is the display of the link.

[0540] Step 7:

[0541] The server tracks the expiration dates or best-before dates of stockpiled items registered in the database. When the expiration date approaches, the server automatically generates an alert to notify the user. For example, it creates a message such as "The expiration date of your registered rice is approaching." The input is stockpiled item information, and the output is an alert message.

[0542] Step 8:

[0543] The device is equipped with an emotion engine that uses a camera and microphone to recognize emotions from the user's facial expressions and voice. This uses a facial recognition API and a voice recognition API. For example, if the user is feeling stressed, emotion data is generated and sent to the server. The input is the user's facial expressions and voice, and the output is emotion data.

[0544] Step 9:

[0545] The server adjusts the emergency supply list suggestions and notifications based on the acquired emotion data. For example, if the user is feeling stressed, the server will suggest emergency supplies that can be easily prepared and display notifications in a softer tone. The input is emotion data, and the output is the adjusted emergency supply list and notifications.

[0546] The above is a specific processing flow for carrying out the present invention.

[0547] 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 a user input regarding the result of the specific processing. The control unit 46A transmits audio data indicating the 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.

[0548] The data generation model 58 is a so-called generative AI (Artificial Intelligence). An example of the data generation model 58 is ChatGPT (registered trademark) (Internet search engine).<URL: https: / / openai.com / blog / chatgpt> ), Gemini (registered trademark) (Internet search <url: https: gemini.google.com ?hl="ja">) and other generation AIs. The data generation model 58 is obtained by performing deep learning on a neural network. A prompt including an instruction is input to the data generation model 58, and inference data such as voice data indicating voice, text data indicating text, and image data indicating an image is also input. The data generation model 58 performs inference on the input inference data in accordance with the instruction indicated by the prompt, and outputs the inference result in a data format such as voice data and text data. Here, inference refers to, for example, analysis, classification, prediction, and / or summarization.

[0549] In the above embodiment, an example in which the specific process is performed by the data processing device 12 has been given, but the technology of the present disclosure is not limited to this, and the specific process may be performed by the smart device 14.

[0550] [Second embodiment]

[0551] FIG. 3 shows an example of the configuration of a data processing system 210 according to the second embodiment.

[0552] 3, the data processing system 210 includes the data processing device 12 and smart glasses 214. An example of the data processing device 12 is a server.

[0553] The data processing device 12 includes a computer 22, a database 24, and a communication I / F 26. The computer 22 is an example of a "computer" according to the technology of the present disclosure. The computer 22 includes a processor 28, a RAM 30, and a storage 32. The processor 28, the RAM 30, and the storage 32 are connected to a bus 34. The database 24 and the communication I / F 26 are also connected to the bus 34. The communication I / F 26 is connected to a network 54. Examples of the network 54 include a WAN (Wide Area Network) and / or a LAN (Local Area Network).

[0554] The smart glasses 214 include a computer 36, a microphone 238, a speaker 240, a camera 42, and a communication I / F 44. The computer 36 includes a processor 46, a RAM 48, and a storage 50. The processor 46, the RAM 48, and the storage 50 are connected to a bus 52. The microphone 238, the speaker 240, and the camera 42 are also connected to the bus 52.

[0555] The microphone 238 receives instructions and the like from the user 20 by receiving voice uttered by the user 20. The microphone 238 captures the voice uttered by the user 20, converts the captured voice into audio data, and outputs it to the processor 46. The speaker 240 outputs audio in accordance with instructions from the processor 46.

[0556] Camera 42 is a small digital camera equipped with an optical system including a lens, aperture, and shutter, and an imaging element such as a CMOS (Complementary Metal-Oxide-Semiconductor) image sensor or a CCD (Charge Coupled Device) image sensor, and captures images of the surroundings of user 20 (for example, an imaging range defined by an angle of view equivalent to the field of vision of a typical healthy person).

[0557] The communication I / F 44 is connected to a network 54. The communication I / Fs 44 and 26 are responsible for the exchange of various information between the processor 46 and the processor 28 via the network 54. The exchange of various information between the processor 46 and the processor 28 using the communication I / Fs 44 and 26 is carried out in a secure state.

[0558] Fig. 4 shows an example of the main functions of the data processing device 12 and the smart glasses 214. As shown in Fig. 4, in the data processing device 12, a specific process is performed by the processor 28. A specific process program 56 is stored in the storage 32.

[0559] The specific processing program 56 is an example of a "program" according to the technology of the present 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.

[0560] The storage 32 stores a data generation model 58 and an emotion identification model 59. The data generation model 58 and the emotion identification model 59 are used by the identification processing unit 290.

[0561] In the smart glasses 214, the reception output process is performed by the processor 46. A reception output program 60 is stored in the storage 50. 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 process is realized by the processor 46 operating as the control unit 46A in accordance with the reception output program 60 executed on the RAM 48.

[0562] Next, a description will be given of the identification process performed by the identification processing unit 290 of the data processing device 12. 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."

[0563] This system proposes necessary emergency supplies based on address information, living environment information, family composition information, and stockpile period information registered by users, and supports them from purchase to operation. This system realizes various functions by exchanging information between the server, terminals (PCs, smartphones, tablets, etc.), and users.

[0564] Registering user information

[0565] Users access the app or web system and enter their address, living environment, family composition, and stockpiling period. For example, if a user lives in Tokyo, they enter "Tokyo" as their address information, and enter that they live in a detached house with a garden as living environment information. They can enter two adults and one child as their family composition and specify two weeks as the stockpiling period.

[0566] The terminal generates a request to transmit the input information to the server.

[0567] The server stores the received user information in a database and sends a message confirming the completion of registration to the terminal.

[0568] Suggestions for stockpiling supplies

[0569] The server retrieves the user's registration information from the database and calculates the necessary supplies based on the information entered. For example, it calculates that the user's family will need 20 kg of rice, 40 liters of water, and 20 cans of food to last for two weeks.

[0570] The server generates a list of stockpiles from the calculation results and transmits this list to the terminal.

[0571] The terminal displays the sent stockpile list to the user, and the user can check the stockpile list.

[0572] Purchase Support

[0573] Users can select the items they want to stockpile from a list of suggestions, for example, 20 kg of rice and 40 liters of water.

[0574] The terminal transmits a list of the selected stockpiles to the server.

[0575] The server generates a purchase link or purchase information for the selected stockpile item, for example, a link that says, "Click here to buy 20 kg of rice or 40 liters of water at online store A."

[0576] The server sends a response containing these purchase links to the terminal, which then displays the links to the user. The user can easily purchase the stockpiles by clicking the displayed links.

[0577] Operational support

[0578] The server tracks the expiration dates or expiry dates of stockpiled items registered in the database. For example, rice has a one-year expiration date, while water has a six-month expiration date.

[0579] When the expiration date approaches, the server automatically generates an alert, creating a message such as "The expiration date of your registered rice is approaching."

[0580] The server sends this alert message to the terminal, which then notifies the user, who can then take appropriate action to update their stockpile if necessary.

[0581] In this way, this system provides comprehensive support, from registering user information to suggesting stockpiles, purchasing support, and operational support, allowing each household to efficiently manage their stockpiles.

[0582] The processing flow will be explained below.

[0583] Step 1:

[0584] User: Launch the app or web system and enter address information, living environment information, family composition information, and stockpile period information on the initial setup screen.

[0585] Step 2:

[0586] Terminal: Generates a request to send the entered user information to the server.

[0587] Step 3:

[0588] Terminal: Sends the request to the server.

[0589] Step 4:

[0590] Server: Stores the received user information in a database.

[0591] Step 5:

[0592] Server: Generate a confirmation message confirming user registration completion.

[0593] Step 6:

[0594] Server: Sends a confirmation message to the device.

[0595] Step 7:

[0596] Terminal: Display a confirmation message to the user.

[0597] Step 8:

[0598] Server: Retrieves user information from the database.

[0599] Step 9:

[0600] Server: Calculates the list of necessary supplies based on the user's registration information.

[0601] Example: Calculate a two-week supply of 20 kg of rice, 40 liters of water, 20 cans of food, etc.

[0602] Step 10:

[0603] Server: Generates the calculated stockpile list.

[0604] Step 11:

[0605] Server: Generates a response to send the stockpile list to the device.

[0606] Step 12:

[0607] Server: Sends the response to the device.

[0608] Step 13:

[0609] Terminal: Receives the stockpile list and displays it to the user.

[0610] Step 14:

[0611] User: Select the item they want to purchase from the suggested list.

[0612] Example: Select "20 kg of rice" and "40 liters of water".

[0613] Step 15:

[0614] Terminal: Generates a request to send the user's selection information to the server.

[0615] Step 16:

[0616] Terminal: Sends the request to the server.

[0617] Step 17:

[0618] Server: Generates a purchase link or instructions based on the received selection information.

[0619] Step 18:

[0620] Server: Generate a response containing a purchase link and purchase information.

[0621] Step 19:

[0622] Server: Sends the response to the device.

[0623] Step 20:

[0624] Device: Display the purchase link and purchase information to the user.

[0625] Step 21:

[0626] Server: Periodically checks the expiration dates or expiry dates of stockpiled items registered in the database.

[0627] Step 22:

[0628] Server: Generates alerts for expiring supplies.

[0629] For example: "The rice is nearing its expiration date."

[0630] Step 23:

[0631] Server: Generates a response to send an alert message to the device.

[0632] Step 24:

[0633] Server: Sends the response to the device.

[0634] Step 25:

[0635] Terminal: Notify the user of the alert message.

[0636] Step 26:

[0637] User: Update their supplies as needed through the app.

[0638] Example 1

[0639] Next, a description will be given of Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the smart glasses 214 will be referred to as a "terminal."

[0640] It is important to systematically manage the stockpiles necessary for disaster prevention and countermeasures at home and in facilities, but selecting the appropriate stockpiles is difficult because the types and quantities of stockpiles needed vary depending on the region, living environment, family composition, etc. In addition, purchasing the selected stockpiles and managing their expiration dates can be cumbersome, often placing a burden on users. Currently, there are few systems that comprehensively solve these issues, so a system that allows users to efficiently manage stockpiles is needed.

[0641] The specific processing by the specific processing unit 290 of the data processing device 12 in the first embodiment is realized by the following means.

[0642] In this invention, the server includes terminal means for inputting address information, living environment information, family composition information, and stockpiling period information and transmitting this information to the server, server means for saving the input information in a database, means for retrieving the saved information from the database and calculating a list of necessary stockpiles, means for generating the calculated list of stockpiles and sending it to the terminal for display, means for generating a purchase link or purchase information based on a user's selection, means for sending the generated purchase link or purchase information to the terminal for display so that the user can complete the purchase procedure, means for tracking the expiration dates or best-before dates of stockpiled items and generating an alert when the expiration date approaches, and means for sending the generated alert to the terminal to notify the user. This allows users to select appropriate stockpiles based on individual conditions such as address information and family composition, and to centrally purchase and manage them.

[0643] "Address information" is geographical data of the location where the user resides, including the city, ward, town, village, prefecture, and specific address.

[0644] "Living environment information" is information about the physical environment of a residence, including details such as whether it is a detached house or an apartment, and whether it has a garden.

[0645] "Family composition information" is information showing details of the members belonging to the user's household, including, for example, the number of adults and children, and their age groups.

[0646] "Stockpile period information" is information indicating the period for which supplies are required to be stored as spares, and specifies the period for which stockpile is required, such as one week, two weeks, or one month.

[0647] "Terminal means" refers to devices that allow users to input information or receive and display data from a server, and primarily includes PCs, smartphones, tablets, etc.

[0648] "Server means" refers to a central processing unit for receiving information sent by users and storing it in a database.

[0649] A "database" refers to an information system for systematically storing and managing information such as a user's address, living environment, family structure, and stockpile period.

[0650] The "stockpile list" shows a list of necessary supplies calculated based on conditions specified by the user.

[0651] "Purchase Links or Information" includes online shop links and necessary purchase information for purchasing selected stockpiles.

[0652] "Use by date or expiry date" is data indicating the period during which stockpiled goods can maintain their quality, after which it is no longer recommended for use.

[0653] "Alert" refers to a warning message that notifies the user when the expiration date or expiry date of a stockpile item is approaching.

[0654] This system suggests necessary emergency supplies based on address information, living environment information, family composition information, and stockpile period information registered by users, and supports them from purchase to operation. This system operates by exchanging information mainly between a server, terminals (PCs, smartphones, tablets, etc.), and users.

[0655] Registering and saving user information

[0656] Using a web or mobile app, users enter information such as their address, living environment, family composition, and stockpiling period. For example, a user might enter "Tokyo," "detached house," "with garden," "two adults, one child," and "two weeks' stockpiling period."

[0657] The terminal collects this input information and generates a request to send to the server, where the input information is sent in an appropriate format.

[0658] The server stores the received user information in a database. A confirmation message indicating the completion of registration is generated and sent from the server to the terminal. The terminal displays the confirmation message to the user, informing them that "registration of information has been completed."

[0659] Suggestions for stockpiling supplies

[0660] The server retrieves the user's registration information from the database and calculates the necessary supplies based on the entered information. For example, it uses a specific algorithm to obtain a calculation result such as "20 kg of rice, 40 liters of water, and 20 cans of food for two weeks."

[0661] The server generates a list of emergency supplies based on the calculation results and transmits the list to the terminal, which then displays the received emergency supply list to the user so that the user can check the list.

[0662] Purchase Support

[0663] The user selects the items they want to purchase from the stockpile list, for example, "20 kg of rice" and "40 liters of water."

[0664] The terminal transmits information about the selected stockpile items as a request to the server.

[0665] The server generates a purchase link for the selected emergency supplies. For example, a link such as "Click here for 20 kg of rice or 40 liters of water at online store A" is generated. A response containing this link is sent from the server to the terminal, which displays it to the user. The user can click the link to easily purchase the emergency supplies from the online store.

[0666] Operational support

[0667] The server runs scheduled jobs to track expiration dates and best-before dates for stockpiled items stored in a database. For example, information such as "rice has a best-before date of one year, water has a best-before date of six months" is stored in the database.

[0668] When the expiration date approaches, the server generates an alert, for example, a message saying "The expiration date of the registered rice is approaching."

[0669] The server sends an alert message to the device, which then notifies the user, who can then update or purchase supplies.

[0670] Specific examples

[0671] For example, suppose a user inputs the following information into the system: address is "Tokyo," living environment is "detached house with garden," family composition is "2 adults, 1 child," and stockpile period is "2 weeks."

[0672] Example prompt sentence:

[0673] Please suggest the supplies needed for a two-week emergency stockpile for a family of two adults and one child living in Tokyo. Please also provide a link to where you can purchase the suggested supplies.

[0674] When this prompt is fed into a generative AI model, it outputs a suggested list of supplies you need to stock up on and links to purchase them.

[0675] This system comprehensively covers the entire process from registering user information to suggesting stockpiles, purchasing support, and operational support, enabling efficient stockpile management for each household.

[0676] The flow of the identification process in the first embodiment will be described with reference to FIG.

[0677] Step 1:

[0678] Users launch the web or mobile app, create an account, and log in. After logging in, users enter their address information, living environment information, family composition information, and stockpile period information. Specifically, they enter "Tokyo," "detached house," "with garden," "2 adults, 1 child," and "stockpile period of 2 weeks." This is the input information.

[0679] Step 2:

[0680] The terminal checks the information entered by the user in real time to ensure that all required fields have been entered correctly. If there are no errors, it generates a request to send the entered information to the server. This request includes the address information, living environment information, family composition information, and stockpile period information entered by the user. This is the process of sending the entered information to the server.

[0681] Step 3:

[0682] The server receives the information sent from the device. It processes the received information to store it in the database. At this time, the input information is converted into an appropriate format and stored in the database. For example, the database may store information such as "Address: Tokyo, Living environment: Detached house with garden, Family composition: 2 adults, 1 child, Stockpile period: 2 weeks." After the information has been stored, it generates a confirmation message that registration is complete and sends it to the device as a response.

[0683] Step 4:

[0684] The terminal receives a confirmation message from the server that registration has been completed, and displays a notification to the user such as "Information registration has been completed." This allows the user to confirm that the information has been registered correctly.

[0685] Step 5:

[0686] The server retrieves registered user information from the database. Based on this information, it performs data calculations to calculate the necessary supplies. Specifically, it calculates that "20 kg of rice, 40 liters of water, and 20 cans of food will be needed for two weeks." A specific algorithm is used for the calculation. This is the calculation result.

[0687] Step 6:

[0688] The server generates a list of supplies based on the calculation results and sends this list to the terminal. The list includes the necessary supplies and their quantities. For example, a list such as "20 kg of rice, 40 liters of water, and 20 cans of food" may be generated.

[0689] Step 7:

[0690] The terminal receives the list of stockpiled items sent from the server and displays it to the user, who can check the list and understand the contents of the stockpiled items displayed.

[0691] Step 8:

[0692] The user selects the items they want to purchase from the displayed list of stockpiled goods. For example, they select "20 kg of rice" and "40 liters of water." This becomes the user's selection information.

[0693] Step 9:

[0694] The terminal generates a request to transmit the user's selection information to the server, the request including the information on the stockpile items selected by the user.

[0695] Step 10:

[0696] The server receives information about the stockpile items selected by the user and generates a purchase link for that item. For example, it generates a link that reads, "Click here to purchase 20 kg of rice or 40 liters of water from online store A." This link is generated as a response.

[0697] Step 11:

[0698] The terminal displays the purchase link received from the server to the user, who can click the displayed link to access the online store and easily purchase the selected stockpile item.

[0699] Step 12:

[0700] The server runs a scheduled job to track the expiration dates and use-by dates of stockpiled items stored in the database. For example, information such as "rice expires in one year, and water expires in six months" is stored in the database. This is the configuration information for data tracking.

[0701] Step 13:

[0702] When the expiration date approaches, the server generates an alert. For example, it creates a message saying, "The expiration date of the registered rice is approaching." This is the alert information.

[0703] Step 14:

[0704] The server sends the generated alert to the terminal, and the terminal notifies the user of the alert. The user receives the notification and can update or purchase stockpiles as necessary.

[0705] (Application example 1)

[0706] Next, a description will be given of Application Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the smart glasses 214 will be referred to as a "terminal."

[0707] In modern households, it is important to stockpile supplies in preparation for disasters. However, many people find it difficult to accurately grasp the types and quantities of supplies needed and manage them appropriately. Furthermore, purchasing supplies and managing their expiration dates can be time-consuming, resulting in insufficient supplies. Furthermore, supplies often go to waste when they expire. To solve these problems, a system is needed that allows users to easily and effectively manage their stockpiles.

[0708] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 1 is realized by the following means.

[0709] In this invention, the server includes means for inputting address information, living environment information, family composition information, and stockpile period information, means for saving the input information in a database, means for calculating a list of necessary stockpiles based on the saved information, means for generating and displaying the calculated list of stockpiles, means for generating a purchase link or purchase information based on a user's selection, means for tracking expiration dates or best-before dates of stockpiles and generating alerts, means for notifying the user of the generated alerts, means for linking with a delivery service to enable the user to easily purchase stockpiles, means for automatically updating information on purchased stockpiles in the database, means for tracking and analyzing stockpile purchase history, and means for recommending necessary stockpiles based on the analysis. This enables users to easily select, purchase, and manage appropriate stockpiles according to their family composition and living environment.

[0710] "Address information" is information entered by the user to identify the place of residence.

[0711] "Living environment information" is information about the type of residence of the user and the surrounding conditions.

[0712] "Family composition information" is information relating to the composition of people in the user's household.

[0713] The "stockpiling period information" is information indicating the target period for which the user intends to stockpile.

[0714] A "database" is a system that stores and manages information entered by users and provides necessary information.

[0715] The "stockpile list" is a list of necessary stockpiles calculated based on the user's registered information.

[0716] "Purchase Link" is a link to an online store or delivery service where users can purchase emergency supplies.

[0717] An "alert" is a warning message that notifies you that the expiration date or expiry date of a stockpile item is approaching.

[0718] The "delivery service" is a service that delivers stockpiled items selected by the user to the user's home.

[0719] "Purchase history" is a record of stockpiled items that a user has purchased in the past.

[0720] "Analysis" is the process of finding patterns based on data and recommending necessary supplies.

[0721] The "recommendation means" is a method for suggesting appropriate stockpiles to the user based on the analysis results.

[0722] This system proposes necessary emergency supplies based on address information, living environment information, family composition information, and stockpile period information registered by users, and supports them from purchase to operation. This system realizes various functions by exchanging information between the server, terminals (PCs, smartphones, tablets, etc.), and users.

[0723] Registering user information

[0724] Users access the app or web system and enter their address, living environment, family composition, and stockpiling period. For example, if a user lives in Tokyo, they would enter "Tokyo" as their address information and enter that they live in a detached house with a garden as living environment information. They can enter two adults and one child as their family composition and specify two weeks as the stockpiling period.

[0725] The terminal generates a request to transmit the input information to the server.

[0726] The server stores the received user information in a database and sends a message confirming the completion of registration to the terminal.

[0727] Suggestions for stockpiling supplies

[0728] The server retrieves the user's registration information from the database and calculates the necessary supplies based on the entered information. For example, it calculates that the user's family will need 20 kg of rice, 40 liters of water, 20 cans of food, etc. to survive for two weeks. From the calculation results, the server generates a list of supplies and sends this list to the terminal.

[0729] The terminal displays the sent stockpile list to the user, and the user can check the stockpile list.

[0730] Purchase Support

[0731] The user selects the desired stockpile items from the list of suggestions. For example, they can select 20 kg of rice and 40 liters of water. The terminal then sends the list of selected stockpile items to the server.

[0732] The server generates a purchase link or purchase information for the selected stockpile item, for example, a link that says, "Click here to purchase 20 kg of rice or 40 liters of water from online store A." The server sends a response containing these purchase links to the terminal, which displays the links to the user. The user can easily purchase the stockpile item by clicking the displayed link.

[0733] Operational support

[0734] The server tracks the expiration dates or best-before dates of stockpiled items registered in the database. For example, the expiration date for rice is recorded as one year, and the expiration date for water as six months. When the expiration date approaches, the server automatically generates an alert, creating a message such as "The expiration date of your registered rice is approaching." The server then sends this alert message to the device, which notifies the user. The user receives the notification and can take appropriate action to update the stockpiled items as needed.

[0735] Collaboration with food delivery services

[0736] In this invention, a food delivery service is linked to the system so that the user can easily purchase the emergency supplies they have selected from the food delivery service. The emergency supplies selected by the user are sent to a server, which then sends the information to the delivery service. The delivery service then delivers the corresponding emergency supplies to the user. This allows the user to easily secure the emergency supplies they need.

[0737] Program processing explanation

[0738] The server stores user information using a database management system (e.g., MySQL, PostgreSQL) and implements an algorithm to calculate stockpiles based on the user information. To suggest appropriate stockpiles, the calculated stockpiles list is sent to the device via an application server (e.g., Node.js, Django). Purchase links are obtained from an external API (e.g., a food delivery service API) and presented to the user. Notification services include Firebase Cloud Messaging (FCM) and Apple Push Notification Service (APNs).

[0739] Specific examples

[0740] For example, if a user living in Tokyo registers their information with the app, they will enter that their family consists of two adults and one child. The app will suggest 20 kg of rice, 40 liters of water, and 20 cans of food as a two-week supply. If the user selects 20 kg of rice and 40 liters of water from these suggested items, the app will provide a link to purchase them from an online store or food delivery service. Additionally, when the rice is nearing its expiration date, the app will send a notification informing them that "The expiration date for the registered rice is approaching."

[0741] Prompt Sentence Examples

[0742] "Imagine an application where a user registers their address, living environment, family composition, and stockpiling period information, and the app automatically suggests the food they need to stockpile, and helps them easily purchase the food they want from a food delivery service. Specifically, the system calculates and displays suggested foods from a database, then generates a purchase link and sends notifications when the expiration date is approaching."

[0743] The flow of the specific processing in the application example 1 will be described with reference to FIG.

[0744] Step 1:

[0745] Users access the app or web system and enter address information, living environment information, family composition information, and stockpile period information.

[0746] Input: The user enters information such as address, living environment, family composition, and storage period.

[0747] How it works: The user enters the necessary information into the app's input form and presses the submit button.

[0748] Output: The entered information is saved on the device and the next step is taken.

[0749] Step 2:

[0750] The terminal generates a request to transmit the input information to the server.

[0751] Input: User information entered into the input form.

[0752] Data processing: Converts input information into a format suitable for communication, such as JSON format.

[0753] Operation: After the send button is pressed, the terminal sends the user's input information as a request to the server.

[0754] Output: A user information request is sent to the server.

[0755] Step 3:

[0756] The server stores the received user information in a database and sends a message confirming the completion of registration to the terminal.

[0757] Input: User information request sent from the terminal.

[0758] Data calculation: The process of storing user information in the database.

[0759] Behavior: The server parses the information it receives, stores it in a database, and generates a message indicating that registration is complete.

[0760] Output: A confirmation message is sent to the device confirming successful registration.

[0761] Step 4:

[0762] The server retrieves the user's registration information from the database and calculates the necessary supplies.

[0763] Input: User information stored in the database.

[0764] Data calculation: Based on user information, calculate the type and quantity of stockpiled items required according to calculation rules.

[0765] How it works: The server uses algorithms to calculate what supplies you need based on your user information, such as how much food, water, and other essentials you need based on your family size and living environment.

[0766] Output: Calculated stockpile list.

[0767] Step 5:

[0768] The server generates a stockpile list and transmits it to the terminal.

[0769] Input: Calculated stockpile list.

[0770] Data processing: Convert the stockpile list into a format that is easy for users to view.

[0771] How it works: The server lists the calculation results, converts them into a format that is easily understandable to the user, and sends them to the terminal.

[0772] Output: The stockpile list is displayed on the terminal.

[0773] Step 6:

[0774] The user selects the necessary supplies from the list of suggested supplies.

[0775] Input: Proposed stockpile list.

[0776] How it works: The user reviews the list and selects the supplies they need.

[0777] Output: A list of selected stockpiles.

[0778] Step 7:

[0779] The terminal transmits the selected stockpile item list to the server.

[0780] Input: A list of supplies selected by the user.

[0781] Data processing: Convert the selected stockpile list into the request format.

[0782] Operation: The device sends the selected stockpile list to the server.

[0783] Output: The list of selected items is sent to the server.

[0784] Step 8:

[0785] The server generates a purchase link for the selected stockpile item and transmits it to the terminal.

[0786] Input: Selected stockpile list.

[0787] Data Calculation: Uses external APIs to generate purchase links.

[0788] How it works: The server generates a purchase link for each item based on the list of selected items. For example, it obtains the purchase link using a food delivery service's API.

[0789] Output: A purchase link will be displayed on the device.

[0790] Step 9:

[0791] The server tracks use-by or expiry dates for stockpiled items registered in the database and generates alerts.

[0792] Input: Stockpile information stored in the database.

[0793] Data calculation: Check the expiry date or expiration date of each stockpile item and generate an alert if the expiry date is approaching.

[0794] How it works: The server periodically checks the database and generates alert messages for supplies that are about to expire.

[0795] Output: The generated alert message.

[0796] Step 10:

[0797] The generated alert is notified to the terminal, which then notifies the user.

[0798] Input: The generated alert message.

[0799] Data processing: Converting messages into a format that can be displayed to the user.

[0800] How it works: The server generates an alert and sends it to the device, which then displays the notification to the user. This uses Firebase Cloud Messaging (FCM) and Apple Push Notification Service (APNs).

[0801] Output: An alert message is displayed to the user.

[0802] Furthermore, an emotion engine that estimates the user's emotion may be further combined. That is, the identification processing unit 290 may estimate the user's emotion using the emotion identification model 59, and perform identification processing using the user's emotion.

[0803] This system suggests necessary emergency supplies based on address information, living environment information, family composition information, and stockpile period information registered by the user, and supports the process from purchase to operation. Furthermore, by combining it with an emotion engine that recognizes the user's emotions, it is possible to make appropriate suggestions and notifications based on the user's emotions. This system realizes various functions by exchanging information between the server, terminals (PCs, smartphones, tablets, etc.), and the user.

[0804] Registering user information

[0805] Users access the app or web system and enter their address, living environment, family composition, and stockpiling period. For example, if a user lives in Tokyo, they enter "Tokyo" as their address information, and enter that they live in a detached house with a garden as living environment information. They can enter two adults and one child as their family composition and specify two weeks as the stockpiling period.

[0806] The terminal generates a request to transmit the input information to the server.

[0807] The server stores the received user information in a database and sends a message confirming the completion of registration to the terminal.

[0808] Suggestions for stockpiling supplies

[0809] The server retrieves the user's registration information from the database and calculates the necessary supplies based on the information entered. For example, it calculates that the user's family will need 20 kg of rice, 40 liters of water, and 20 cans of food to last for two weeks.

[0810] The server generates a list of stockpiles from the calculation results and transmits this list to the terminal.

[0811] The terminal displays the sent stockpile list to the user, and the user can check the stockpile list.

[0812] Purchase Support

[0813] Users can select the items they want to stockpile from a list of suggestions, for example, 20 kg of rice and 40 liters of water.

[0814] The terminal transmits a list of the selected stockpiles to the server.

[0815] The server generates a purchase link or purchase information for the selected stockpile item, for example, a link that says, "Click here to buy 20 kg of rice or 40 liters of water at online store A."

[0816] The server sends a response containing these purchase links to the terminal, which then displays the links to the user. The user can easily purchase the stockpiles by clicking the displayed links.

[0817] Operational support

[0818] The server tracks the expiration dates or expiry dates of stockpiled items registered in the database. For example, rice has a one-year expiration date, while water has a six-month expiration date.

[0819] When the expiration date approaches, the server automatically generates an alert, creating a message such as "The expiration date of your registered rice is approaching."

[0820] The server sends this alert message to the terminal, which then notifies the user, who can then take appropriate action to update their stockpile if necessary.

[0821] Utilizing the Emotion Engine

[0822] The device is equipped with an emotion engine that recognizes emotions from the user's facial expressions and voice during input and operation. This emotion engine can acquire emotion data such as whether the user is feeling stressed or relaxed.

[0823] The server stores the recognized emotion data in a database, for example, if the user is feeling stressed, it records that information.

[0824] The server can tailor the suggested emergency supplies list based on the recognized emotion data, for example, suggesting easier emergency supplies if the user is feeling stressed.

[0825] The content and tone of alert messages can also be adjusted based on emotional data. For example, when a user is relaxed, alert messages can be displayed in a softer tone.

[0826] In this way, this system provides comprehensive support, from registering user information to suggesting stockpiles, purchasing support, operational support, and even adjusting suggestions and notifications using emotion recognition, allowing each household to efficiently manage their stockpiles.

[0827] The processing flow will be explained below.

[0828] Step 1:

[0829] The user launches the app or web system and enters address information, living environment information, family composition information, and stockpile period information on the initial setup screen.

[0830] Step 2:

[0831] The terminal generates a request to transmit the input user information to the server.

[0832] Step 3:

[0833] The terminal sends a request to the server.

[0834] Step 4:

[0835] The server stores the received user information in a database.

[0836] Step 5:

[0837] The server generates a confirmation message confirming the completion of user information registration.

[0838] Step 6:

[0839] The server sends a confirmation message to the terminal.

[0840] Step 7:

[0841] The terminal displays a confirmation message to the user.

[0842] Step 8:

[0843] The server retrieves the user information from the database.

[0844] Step 9:

[0845] The server calculates a list of necessary supplies based on the user's registration information.

[0846] Example: Calculate a two-week supply of 20 kg of rice, 40 liters of water, 20 cans of food, etc.

[0847] Step 10:

[0848] The server generates a calculated stockpile list.

[0849] Step 11:

[0850] The server generates a response for transmitting the stockpile list to the terminal.

[0851] Step 12:

[0852] The server sends a response to the terminal.

[0853] Step 13:

[0854] The terminal receives the stockpile list and displays it to the user.

[0855] Step 14:

[0856] The user selects the items they wish to purchase from the suggested list.

[0857] Example: Select 20 kg of rice and 40 liters of water.

[0858] Step 15:

[0859] The terminal generates a request to transmit the user's selection information to the server.

[0860] Step 16:

[0861] The terminal sends a request to the server.

[0862] Step 17:

[0863] The server generates a purchase link or method based on the received selection information.

[0864] Step 18:

[0865] The server generates a response that includes a purchase link and purchase information.

[0866] Step 19:

[0867] The server sends a response to the terminal.

[0868] Step 20:

[0869] The terminal displays the purchase link and purchase information to the user.

[0870] Step 21:

[0871] The server periodically checks the expiration dates or expiry dates of stockpiled items registered in the database.

[0872] Step 22:

[0873] The server generates alerts for supplies that are about to expire.

[0874] Example: The rice is nearing its expiration date.

[0875] Step 23:

[0876] The server generates a response for sending an alert message to the terminal.

[0877] Step 24:

[0878] The server sends a response to the terminal.

[0879] Step 25:

[0880] The terminal notifies the user of the alert message.

[0881] Step 26:

[0882] Users can update their stockpiles as needed through the app.

[0883] Step 27:

[0884] The device uses an emotion engine to recognize the user's input, facial expressions, and voice during operation.

[0885] Step 28:

[0886] The terminal transmits the recognized emotion data to the server.

[0887] Step 29:

[0888] The server stores the emotion data in a database.

[0889] Step 30:

[0890] The server recalculates the suggested stockpile list based on the recognized emotion data.

[0891] Step 31:

[0892] The server generates an adjusted stockpile list and transmits it to the terminal.

[0893] Step 32:

[0894] The terminal receives the adjusted stockpile list and displays it to the user.

[0895] Step 33:

[0896] The server implements a mechanism for adjusting the tone and content of the alert message based on the emotion data.

[0897] Step 34:

[0898] The server generates and sends a tailored alert message to the terminal.

[0899] Step 35:

[0900] The terminal notifies the user of the adjusted alert message.

[0901] Example 2

[0902] Next, a description will be given of Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the smart glasses 214 will be referred to as a "terminal."

[0903] Conventional emergency supply management systems suggest necessary emergency supplies based on input such as address information, living environment information, family composition information, and stockpile period information, but many of these systems do not take into account the user's emotional state. As a result, they are unable to provide optimal suggestions to reduce the user's stress and anxiety, and do not sufficiently improve the user experience. Furthermore, even if there is a function to track the expiration dates of emergency supplies, the notifications do not take the user's emotions into consideration, which can increase the user's burden.

[0904] The specific processing by the specific processing unit 290 of the data processing device 12 in the second embodiment is realized by the following means.

[0905] In this invention, the server includes means for inputting address information, living environment information, family composition information, and stockpiling period information, means for saving the input information in a database, means for calculating a list of necessary stockpiles based on the saved information, means for generating and displaying the calculated stockpiling list, means for generating a purchase link or purchase information based on a user's selection, means for tracking expiration dates or best-before dates of stockpiled items and generating alerts, means for notifying the user of the generated alerts, means for recognizing the user's emotions and adjusting the suggested contents of the stockpiling list and alert messages based on the recognized emotions, and means for saving the emotion data in a database. This enables appropriate stockpiling item suggestions and notifications to be made taking into account the user's emotional state, improving the user experience and reducing the burden on the user.

[0906] "Address information" refers to information about the specific area or place where the user resides.

[0907] "Living environment information" refers to information about the physical environment and surroundings in which the user lives. For example, it includes information about whether the house is a detached house with a garden.

[0908] "Family composition information" refers to information about the number and relationships of a user's family members. For example, a family may include two adults and one child.

[0909] "Stockpile period information" refers to information about the period for which the user needs to prepare stockpiles. For example, it includes information that a two-week supply of stockpiles is required.

[0910] A "database" is a system for organizing and storing input information, calculation results, emotional data, etc.

[0911] The "stockpile list" is a list that indicates the specific types and quantities of necessary stockpile items that are recommended to the user.

[0912] An "emotion engine" is software or hardware that recognizes emotions from a user's facial expressions, voice, etc.

[0913] An "alert" is a message that alerts or notifies the user.

[0914] "Purchase Link" means a URL or connection information that allows a User to purchase an emergency supply item online.

[0915] An "HTTP request" is a communication method used by a terminal to request a specific process from a server.

[0916] The "JSON format" is a lightweight data exchange format for representing data in text.

[0917] The present invention is a system that allows users to input address information, living environment information, family composition information, and stockpiling period information, and based on that information, suggests necessary stockpiles and supports them from purchase to operation. Furthermore, it aims to improve the user experience by utilizing an emotion engine that recognizes the user's emotions and making suggestions and notifications according to the user's emotional state. Specific embodiments are described below.

[0918] Registering user information

[0919] The user accesses the app or web system and enters their address, living environment, family composition, and stockpiling period. For example, suppose the user enters "Tokyo," lives in a detached house, has a family of "two adults and one child," and has a stockpiling period of "two weeks."

[0920] The device generates an HTTP request to send this input information to the server in JSON format. For example, the input information is included in the request in the following format:

[0921] json

[0922] {"address": "Tokyo", "livingEnvironment": "Detached house", "familyStructure": "2 adults and 1 child", "stockpileDuration": "2 weeks"}

[0923] The server will then parse the information appropriately and store it in a MySQL database, for example by executing an INSERT statement to store the data as follows:

[0924] sql

[0925] INSERT INTO user_info (address, living_environment, family_structure, stockpile_duration) VALUES ("Tokyo", "Detached house", "2 adults and 1 child", "2 weeks")

[0926] The server generates a JSON message confirming the completion of registration and sends it to the device. For example, it returns a response like this:

[0927] json

[0928] {"status": "success", "message": "Registration completed"}

[0929] The terminal displays the received message to the user, for example, a pop-up message saying "User information registration completed."

[0930] Suggestions for stockpiling supplies

[0931] The server retrieves the user's registration information from the database and calculates the necessary supplies based on that information. For example, it calculates that a family needs 20 kg of rice, 40 liters of water, and 20 cans of food to survive for two weeks.

[0932] Using the calculation results, the server generates a stockpile list in JSON format and sends it to the terminal. The response is as follows:

[0933] json

[0934] {"status": "success", "stockpile_list": {"rice": "20kg", "water": "40L", "canned_food": "20 pieces"}}

[0935] The device displays the received list of stockpiled items to the user. For example, the app screen might show a list such as "Rice: 20 kg, Water: 40 L, Canned goods: 20."

[0936] Purchase Support

[0937] The user selects the desired stockpile items from the list of suggestions, for example, 20 kg of rice and 40 liters of water.

[0938] The device sends the list of selected stockpiles in JSON format to the server, as follows:

[0939] json

[0940] {"selected_items": {"rice": "20kg", "water": "40L"}}

[0941] The server generates a purchase link for the selected stockpile item, for example, "20 kg of rice here, 40 liters of water here at Online Store A." The server sends a response containing these purchase links to the terminal in JSON format:

[0942] json

[0943] {"links": [{"item": "Rice 20kg", "url": "http: / / storeA.com / rice20kg"}, {"item": "Water 40L", "url": "http: / / storeA.com / water40L"}]}

[0944] The device displays a purchase link to the user. For example, it displays a link such as "Click here for 20 kg of rice" or "Click here for 40 L of water" and makes it clickable by the user.

[0945] Operational support

[0946] The server tracks the expiration dates or expiry dates of the stockpiled items in the database, for example by periodically checking the expiration date of each stockpile item stored in a MySQL database.

[0947] When the expiration date approaches, the server automatically generates an alert message, such as "The expiration date of the registered rice is approaching." The generated alert message is sent to the terminal in JSON format:

[0948] json

[0949] {"alert": "The expiration date of your registered rice is approaching"}

[0950] The device will display this alert message to the user as a pop-up notification, for example, a notification at the top of the screen saying, "The expiration date of your registered rice is approaching."

[0951] Utilizing the Emotion Engine

[0952] The device activates an emotion engine to recognize emotions from the user's facial expressions and voice during input and operation. This engine captures the user's facial expressions and voice using a camera and microphone and analyzes them using an AI model.

[0953] The device sends the recognized emotion data in JSON format to the server. Example of the sent content:

[0954] json

[0955] {"emotion": "stress"}

[0956] The server stores the recognized emotion data in a database, for example by executing the following SQL query:

[0957] sql

[0958] INSERT INTO emotion_data (user_id, emotion) VALUES (?, "stress")

[0959] The server adjusts the suggested stockpile items based on the emotional data. For example, if the user is feeling stressed, it suggests easier-to-prepare items (such as instant foods).

[0960] The content and tone of the alert message are also adjusted based on the user's emotional state. For example, when the user is relaxed, a softer tone will be displayed saying, "Don't worry! The expiration date for your registered rice is approaching."

[0961] Example prompts to input to the generative AI model

[0962] Generate a suggested stockpile list for the user based on the following information:

[0963] Address: Tokyo

[0964] Living environment: Detached house with garden

[0965] Family composition: 2 adults, 1 child

[0966] Stockpile period: 2 weeks

[0967] If users are feeling stressed, suggest some easy-to-prepare supplies.

[0968] The flow of the identification process in the second embodiment will be described with reference to FIG.

[0969] Step 1:

[0970] Users access the app or web system and enter their address, living environment, family composition, and stockpiling period. For example, they enter "Tokyo" as the address, "detached house with a garden" as the living environment, "two adults and one child" as the family composition, and "two weeks" as the stockpiling period. This information becomes the basic data for suggesting stockpiled items.

[0971] Step 2:

[0972] The device generates an HTTP request to send the information entered by the user to the server in JSON format. For example, the request is generated in the following format: {"address": "Tokyo", "livingEnvironment": "detached house", "familyStructure": "2 adults and 1 child", "stockpileDuration": "2 weeks"}. This ensures that the entered information is transferred appropriately.

[0973] Step 3:

[0974] The server parses the information it receives and stores it in a MySQL database by executing the following SQL query: INSERT INTO user_info (address, living_environment, family_structure, stockpile_duration) VALUES ("Tokyo", "Single-family home", "2 adults and 1 child", "2 weeks"). The user information is then stored securely in the database.

[0975] Step 4:

[0976] The server generates a confirmation message in JSON format to confirm the completion of registration and sends it to the terminal. For example, it notifies the user of success by generating a response such as {"status": "success", "message": "Registration completed"}. This allows the user to confirm that the information has been registered correctly.

[0977] Step 5:

[0978] The terminal displays the received confirmation message to the user. Specifically, it displays a pop-up message saying "User information registration completed," allowing the user to proceed to the next action.

[0979] Step 6:

[0980] The server retrieves the user's registration information from the database. For example, it executes the SQL query SELECT FROM user_info WHERE user_id = ? to retrieve the stored user information. By analyzing this information, it obtains the basic data for calculating the necessary supplies.

[0981] Step 7:

[0982] The server calculates the necessary supplies based on the acquired user information. For example, it calculates that a family needs 20 kg of rice, 40 liters of water, and 20 cans of food to survive for two weeks. The calculation logic used is based on multivariate analysis and prescribed rules.

[0983] Step 8:

[0984] The server generates a stockpile list based on the calculation results. For example, it generates JSON data such as {"rice": "20kg", "water": "40L", "canned_food": "20 units"} and sends it to the terminal. This presents a specific stockpile list to the user.

[0985] Step 9:

[0986] The device displays the received list of stockpiles to the user. For example, a list such as "Rice: 20 kg, Water: 40 L, Canned goods: 20" may be displayed on the screen so that the user can check the contents.

[0987] Step 10:

[0988] The user selects the stockpile items they want from the displayed list of suggestions. For example, by tapping and selecting 20 kg of rice and 40 liters of water, they confirm the stockpile items they want to purchase.

[0989] Step 11:

[0990] The terminal sends the list of selected stockpiled items to the server in JSON format. The contents of the message are sent to the server in the format {"selected_items": {"rice": "20kg", "water": "40L"}}. This conveys the user's purchase preferences to the server.

[0991] Step 12:

[0992] The server generates a purchase link for the selected stockpile item. For example, it creates a link that says, "Click here to purchase 20 kg of rice and 40 liters of water from online store A," and prepares the purchase information. This ensures that the user can purchase the stockpile item they need.

[0993] Step 13:

[0994] The server sends the generated purchase link in JSON format to the terminal. An example response is in the format {"links": [{"item": "20kg of rice", "url": "http: / / storeA.com / rice20kg"}, {"item": "40L of water", "url": "http: / / storeA.com / water40L"}]}. This allows the user to easily purchase emergency supplies.

[0995] Step 14:

[0996] The device will display the purchase link to the user. For example, a link such as "Click here for 20 kg of rice" or "Click here for 40 L of water" will be displayed, and the user can click it to proceed with the purchase.

[0997] Step 15:

[0998] The server tracks the expiration dates or best-before dates of the stockpiled items in a database, for example by periodically checking the expiration date of each stockpile item stored in a MySQL database. This information is managed by a scheduler or by running periodic queries.

[0999] Step 16:

[1000] The server generates an alert when the expiration date approaches. For example, it creates a message saying, "The expiration date of the registered rice is approaching." The generated alert is notified to the user.

[1001] Step 17:

[1002] The server sends the generated alert message to the terminal in JSON format. For example, it sends it in the format {"alert": "The expiration date of the registered rice is approaching"}. This allows the user to take action at the appropriate time.

[1003] Step 18:

[1004] The device displays the received alert message to the user as a pop-up notification. For example, a notification saying "The expiration date of your registered rice is approaching" is displayed at the top of the screen.

[1005] Step 19:

[1006] The device activates an emotion engine that recognizes emotions from the user's input, facial expressions, and voice during operation, and analyzes the user's stress and relaxation state in real time.

[1007] Step 20:

[1008] The device sends the recognized emotion data to the server in JSON format. An example of the sent content is {"emotion": "stress"}. This notifies the server of the user's emotional state.

[1009] Step 21:

[1010] The server stores the emotion data in a database, for example, by executing the SQL query INSERT INTO emotion_data (user_id, emotion) VALUES (?, "stress").

[1011] Step 22:

[1012] The server adjusts the suggested emergency supplies list based on the emotional data. For example, if the user is feeling stressed, it will suggest emergency supplies that can be easily prepared. This improves the user experience.

[1013] Step 23:

[1014] The server adjusts the content and tone of the alert message based on the user's emotional state. For example, if the user is relaxed, it generates a soft message saying, "Don't worry! The expiration date of your registered rice is approaching."

[1015] (Application example 2)

[1016] Next, a description will be given of Application Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the smart glasses 214 will be referred to as a "terminal."

[1017] Conventional stockpile management systems specialize in proposing stockpile lists, supporting purchases, and managing expiration dates, but they have the problem of being unable to respond flexibly to the user's emotional state. There is also a need for a system that can reduce user stress and manage stockpile management more efficiently.

[1018] The specification processing by the specification processing unit 290 of the data processing device 12 in Application Example 2 is realized by the following means. In this invention, the server includes means for inputting address information, living environment information, family composition information, and stockpiling period information, means for saving the input information in a database, means for calculating a list of necessary stockpiles based on the saved information, means for generating and displaying the calculated stockpiling list, means for generating a purchase link or purchase information based on a user's selection, means for tracking the expiration dates or best-before dates of stockpiled items and generating an alert, means for notifying the user of the generated alert, means for recognizing the user's emotions and acquiring emotion data, and means for adjusting the suggested content of the stockpiling list and notifications based on the acquired emotion data. This enables flexible stockpiling item suggestions and notifications to be made according to the user's emotional state.

[1019] "Address information" is data that indicates details of the place where the user resides.

[1020] "Living environment information" is data relating to the type of house where the user lives and the surrounding environment.

[1021] "Family composition information" is data indicating the number of family members of a user, their age groups, and the relationships between each member.

[1022] "Stockpile period information" is data indicating a period for calculating the amount of supplies required for a certain period.

[1023] "Input means" refers to an interface that allows a user to provide the required information to the system.

[1024] "Means for storing in a database" refers to a digital storage system for securely storing information provided by users.

[1025] "Means for calculating the stockpile list" refers to an algorithm for calculating the types and quantities of supplies needed based on input information.

[1026] "Display means" refers to a display or screen for visually presenting the calculated stockpile list to the user.

[1027] "Means for generating purchasing links or purchasing information" refers to a system that provides links or information that allows users to easily purchase needed supplies.

[1028] "Means for tracking expiration dates or best-before dates and generating alerts" refers to a system that monitors expiration dates on stockpiled items and notifies users when the expiration date is approaching.

[1029] "Means for recognizing emotions and acquiring emotional data" refers to a system that analyzes a user's facial expressions and voice to identify their emotional state and collect that data.

[1030] "Means for adjusting the suggestions and notifications for the stockpile list based on emotional data" refers to a system that changes the suggestions and notification methods according to the acquired emotional data, providing the user with the most appropriate information.

[1031] The system embodying this invention suggests necessary stockpiles based on user information and supports everything from purchase to operation. It also incorporates an emotion engine that recognizes the user's emotions and makes appropriate suggestions and notifications. This system realizes various functions by exchanging information between the server, terminals (smartphones, tablets, etc.), and users.

[1032] Registering user information

[1033] Using a smartphone or tablet, users input address information, living environment information, family composition information, and stockpiling period information into the application. This information is sent from the device to the server and stored in a database. For example, if a user lives in Tokyo, they would enter "Tokyo" as their "address information" and the fact that they live in a detached house as their "living environment information." They can enter two adults and one child as their family composition and specify two weeks as the stockpiling period.

[1034] Suggestions for stockpiling supplies

[1035] The server calculates an appropriate emergency supply list based on user information stored in the database. For example, the server calculates the amount of rice, water, and canned goods needed for a family of two adults and one child living in Tokyo to survive for two weeks. The calculated emergency supply list is sent to the device and displayed to the user.

[1036] Purchase Support

[1037] The user selects the desired items from the list of suggested stockpiles and enters them into the device. The selected stockpiles are sent to the server, and a purchase link and purchase information are generated. For example, a link such as "20 kg of rice here, 40 liters of water here from online store A" is generated and displayed on the device. The user can easily purchase the stockpiles by clicking on the displayed link.

[1038] Operational support

[1039] The server tracks the expiration dates or best-before dates of the stockpiled items registered in the database and generates alerts when the expiration date approaches. The alerts are notified to the user in the form of "The expiration date of your registered rice is approaching." Users can receive the notification and take appropriate action to update their stockpiles if necessary.

[1040] Utilizing the Emotion Engine

[1041] The device is equipped with an emotion engine that uses a camera and microphone to recognize emotions from the user's facial expressions and voice. For example, if the user is feeling stressed, the emotion data is sent to the server. The server can then adjust the suggested items in the emergency supplies list based on the acquired emotion data. Specifically, if the user is feeling stressed, the server will suggest emergency supplies that are easier to prepare. The server can also adjust the content and tone of alert messages based on the emotion data. When the user is relaxed, the alert message is displayed in a softer tone.

[1042] Main technologies and libraries used

[1043] Hardware: Smartphone, tablet (with built-in camera and microphone)

[1044] software:

[1045] User Interface:React Native

[1046] Backend: Node.js, Express

[1047] Database: MongoDB

[1048] Emotion engine: Facial recognition and speech recognition APIs (e.g., Amazon Rekognition, Google Speech-to-Text)

[1049] Communication: Socket.IO

[1050] Prompt Sentence Examples

[1051] Please input the user's address information, living environment information, family composition information, and stockpiling period information, and suggest a list of necessary supplies. Also, please analyze the user's emotional state and notify them accordingly.

[1052] The above is an embodiment of the present invention.

[1053] The flow of the specific processing in the application example 2 will be described with reference to FIG.

[1054] Step 1:

[1055] The user opens the application on their smartphone or tablet and enters address information, living environment information, family composition information, and stockpile period information. This information is entered into a form on the device and sent to the server by pressing the send button. The entered information will be in a format such as "Tokyo, detached house, 2 adults, 1 child, 2 weeks."

[1056] Step 2:

[1057] The information sent from the device reaches the server, which saves it in a database. MongoDB is used for saving the information, and the information is stored in a structured format (for example, JSON). After saving, the server generates a message confirming registration and sends it to the device. The input is address, living environment, family composition, and storage period information, and the output is a message confirming registration completion.

[1058] Step 3:

[1059] The server calculates a list of necessary supplies based on user information stored in the database. A specific algorithm is used for the calculation, determining the type and amount of supplies to stockpile based on calculation criteria such as "10 kg of rice and 20 liters of water per adult." The results of this calculation are generated as a list and sent to the terminal. The input is user information, and the output is the list of supplies.

[1060] Step 4:

[1061] The terminal displays the received stockpile list to the user. The user selects the desired stockpile item from the displayed list and inputs the selection information into the terminal. The input is the stockpile item list, and the output is the selected stockpile item information.

[1062] Step 5:

[1063] The selected stockpile product information sent from the device is received by the server, which then generates a purchase link or purchase information based on this information. Link generation uses information from external APIs and online stores. For example, a link is created in the format "20 kg of rice here, 40 liters of water here." The input is the selected stockpile product information, and the output is the purchase link or purchase information.

[1064] Step 6:

[1065] The generated purchase link or purchase information is sent to the terminal, which displays it to the user. By clicking the link, the user can access the online store and easily purchase the necessary supplies. The input is the purchase link or purchase information, and the output is the display of the link.

[1066] Step 7:

[1067] The server tracks the expiration dates or best-before dates of stockpiled items registered in the database. When the expiration date approaches, the server automatically generates an alert to notify the user. For example, it creates a message such as "The expiration date of your registered rice is approaching." The input is stockpiled item information, and the output is an alert message.

[1068] Step 8:

[1069] The device is equipped with an emotion engine that uses a camera and microphone to recognize emotions from the user's facial expressions and voice. This uses a facial recognition API and a voice recognition API. For example, if the user is feeling stressed, emotion data is generated and sent to the server. The input is the user's facial expressions and voice, and the output is emotion data.

[1070] Step 9:

[1071] The server adjusts the emergency supply list suggestions and notifications based on the acquired emotion data. For example, if the user is feeling stressed, the server will suggest emergency supplies that can be easily prepared and display notifications in a softer tone. The input is emotion data, and the output is the adjusted emergency supply list and notifications.

[1072] The above is a specific processing flow for carrying out the present invention.

[1073] 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 a user input regarding the result of the specific processing. The control unit 46A transmits audio data indicating the user input acquired by the microphone 238 to the data processing device 12. In the data processing device 12, the specific processing unit 290 acquires the audio data.

[1074] The data generation model 58 is a so-called generative AI (Artificial Intelligence). An example of the data generation model 58 is ChatGPT (Internet Search<URL: https: / / openai.com / blog / chatgpt> ), Gemini (Internet search <url: https: gemini.google.com ?hl="ja">) and other generation AIs. The data generation model 58 is obtained by performing deep learning on a neural network. A prompt including an instruction is input to the data generation model 58, and inference data such as voice data indicating voice, text data indicating text, and image data indicating an image is also input. The data generation model 58 performs inference on the input inference data in accordance with the instruction indicated by the prompt, and outputs the inference result in a data format such as voice data and text data. Here, inference refers to, for example, analysis, classification, prediction, and / or summarization.

[1075] In the above embodiment, an example in which the specific processing is performed by the data processing device 12 has been given, but the technology of the present disclosure is not limited to this, and the specific processing may be performed by the smart glasses 214.

[1076] [Third embodiment]

[1077] FIG. 5 shows an example of the configuration of a data processing system 310 according to the third embodiment.

[1078] 5, the data processing system 310 includes the data processing device 12 and a headset terminal 314. An example of the data processing device 12 is a server.

[1079] The data processing device 12 includes a computer 22, a database 24, and a communication I / F 26. The computer 22 is an example of a "computer" according to the technology of the present disclosure. The computer 22 includes a processor 28, a RAM 30, and a storage 32. The processor 28, the RAM 30, and the storage 32 are connected to a bus 34. The database 24 and the communication I / F 26 are also connected to the bus 34. The communication I / F 26 is connected to a network 54. Examples of the network 54 include a WAN (Wide Area Network) and / or a LAN (Local Area Network).

[1080] The headset type terminal 314 includes a computer 36, a microphone 238, a speaker 240, a camera 42, a communication I / F 44, and a display 343. The computer 36 includes a processor 46, a RAM 48, and a storage 50. The processor 46, the RAM 48, and the storage 50 are connected to a bus 52. The microphone 238, the speaker 240, the camera 42, and the display 343 are also connected to the bus 52.

[1081] The microphone 238 receives instructions and the like from the user 20 by receiving voice uttered by the user 20. The microphone 238 captures the voice uttered by the user 20, converts the captured voice into audio data, and outputs it to the processor 46. The speaker 240 outputs audio in accordance with instructions from the processor 46.

[1082] Camera 42 is a small digital camera equipped with an optical system including a lens, aperture, and shutter, and an imaging element such as a CMOS (Complementary Metal-Oxide-Semiconductor) image sensor or a CCD (Charge Coupled Device) image sensor, and captures images of the surroundings of user 20 (for example, an imaging range defined by an angle of view equivalent to the field of vision of a typical healthy person).

[1083] The communication I / F 44 is connected to a network 54. The communication I / Fs 44 and 26 are responsible for the exchange of various information between the processor 46 and the processor 28 via the network 54. The exchange of various information between the processor 46 and the processor 28 using the communication I / Fs 44 and 26 is carried out in a secure state.

[1084] Fig. 6 shows an example of the main functions of the data processing device 12 and the headset type terminal 314. As shown in Fig. 6, in the data processing device 12, a specific process is performed by the processor 28. A specific process program 56 is stored in the storage 32.

[1085] The specific processing program 56 is an example of a "program" according to the technology of the present 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.

[1086] The storage 32 stores a data generation model 58 and an emotion identification model 59. The data generation model 58 and the emotion identification model 59 are used by the identification processing unit 290.

[1087] In the headset type terminal 314, a reception output process is performed by the processor 46. A reception output program 60 is stored in the storage 50. 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 process is realized by the processor 46 operating as the control unit 46A in accordance with the reception output program 60 executed on the RAM 48.

[1088] Next, a description will be given of the identification process performed by the identification processing unit 290 of the data processing device 12. 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."

[1089] This system proposes necessary emergency supplies based on address information, living environment information, family composition information, and stockpile period information registered by users, and supports them from purchase to operation. This system realizes various functions by exchanging information between the server, terminals (PCs, smartphones, tablets, etc.), and users.

[1090] Registering user information

[1091] Users access the app or web system and enter their address, living environment, family composition, and stockpiling period. For example, if a user lives in Tokyo, they enter "Tokyo" as their address information, and enter that they live in a detached house with a garden as living environment information. They can enter two adults and one child as their family composition and specify two weeks as the stockpiling period.

[1092] The terminal generates a request to transmit the input information to the server.

[1093] The server stores the received user information in a database and sends a message confirming the completion of registration to the terminal.

[1094] Suggestions for stockpiling supplies

[1095] The server retrieves the user's registration information from the database and calculates the necessary supplies based on the information entered. For example, it calculates that the user's family will need 20 kg of rice, 40 liters of water, and 20 cans of food to last for two weeks.

[1096] The server generates a list of stockpiles from the calculation results and transmits this list to the terminal.

[1097] The terminal displays the sent stockpile list to the user, and the user can check the stockpile list.

[1098] Purchase Support

[1099] Users can select the items they want to stockpile from a list of suggestions, for example, 20 kg of rice and 40 liters of water.

[1100] The terminal transmits a list of the selected stockpiles to the server.

[1101] The server generates a purchase link or purchase information for the selected stockpile item, for example, a link that says, "Click here to buy 20 kg of rice or 40 liters of water at online store A."

[1102] The server sends a response containing these purchase links to the terminal, which then displays the links to the user. The user can easily purchase the stockpiles by clicking the displayed links.

[1103] Operational support

[1104] The server tracks the expiration dates or expiry dates of stockpiled items registered in the database. For example, rice has a one-year expiration date, while water has a six-month expiration date.

[1105] When the expiration date approaches, the server automatically generates an alert, creating a message such as "The expiration date of your registered rice is approaching."

[1106] The server sends this alert message to the terminal, which then notifies the user, who can then take appropriate action to update their stockpile if necessary.

[1107] In this way, this system provides comprehensive support, from registering user information to suggesting stockpiles, purchasing support, and operational support, allowing each household to efficiently manage their stockpiles.

[1108] The processing flow will be explained below.

[1109] Step 1:

[1110] User: Launch the app or web system and enter address information, living environment information, family composition information, and stockpile period information on the initial setup screen.

[1111] Step 2:

[1112] Terminal: Generates a request to send the entered user information to the server.

[1113] Step 3:

[1114] Terminal: Sends the request to the server.

[1115] Step 4:

[1116] Server: Stores the received user information in a database.

[1117] Step 5:

[1118] Server: Generate a confirmation message confirming user registration completion.

[1119] Step 6:

[1120] Server: Sends a confirmation message to the device.

[1121] Step 7:

[1122] Terminal: Display a confirmation message to the user.

[1123] Step 8:

[1124] Server: Retrieves user information from the database.

[1125] Step 9:

[1126] Server: Calculates the list of necessary supplies based on the user's registration information.

[1127] Example: Calculate a two-week supply of 20 kg of rice, 40 liters of water, 20 cans of food, etc.

[1128] Step 10:

[1129] Server: Generates the calculated stockpile list.

[1130] Step 11:

[1131] Server: Generates a response to send the stockpile list to the device.

[1132] Step 12:

[1133] Server: Sends the response to the device.

[1134] Step 13:

[1135] Terminal: Receives the stockpile list and displays it to the user.

[1136] Step 14:

[1137] User: Select the item they want to purchase from the suggested list.

[1138] Example: Select "20 kg of rice" and "40 liters of water".

[1139] Step 15:

[1140] Terminal: Generates a request to send the user's selection information to the server.

[1141] Step 16:

[1142] Terminal: Sends the request to the server.

[1143] Step 17:

[1144] Server: Generates a purchase link or instructions based on the received selection information.

[1145] Step 18:

[1146] Server: Generate a response containing a purchase link and purchase information.

[1147] Step 19:

[1148] Server: Sends the response to the device.

[1149] Step 20:

[1150] Device: Display the purchase link and purchase information to the user.

[1151] Step 21:

[1152] Server: Periodically checks the expiration dates or expiry dates of stockpiled items registered in the database.

[1153] Step 22:

[1154] Server: Generates alerts for expiring supplies.

[1155] For example: "The rice is nearing its expiration date."

[1156] Step 23:

[1157] Server: Generates a response to send an alert message to the device.

[1158] Step 24:

[1159] Server: Sends the response to the device.

[1160] Step 25:

[1161] Terminal: Notify the user of the alert message.

[1162] Step 26:

[1163] User: Update their supplies as needed through the app.

[1164] Example 1

[1165] Next, a description will be given of Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the headset type terminal 314 will be referred to as a "terminal."

[1166] It is important to systematically manage the stockpiles necessary for disaster prevention and countermeasures at home and in facilities, but selecting the appropriate stockpiles is difficult because the types and quantities of stockpiles needed vary depending on the region, living environment, family composition, etc. In addition, purchasing the selected stockpiles and managing their expiration dates can be cumbersome, often placing a burden on users. Currently, there are few systems that comprehensively solve these issues, so a system that allows users to efficiently manage stockpiles is needed.

[1167] The specific processing by the specific processing unit 290 of the data processing device 12 in the first embodiment is realized by the following means.

[1168] In this invention, the server includes terminal means for inputting address information, living environment information, family composition information, and stockpiling period information and transmitting this information to the server, server means for saving the input information in a database, means for retrieving the saved information from the database and calculating a list of necessary stockpiles, means for generating the calculated list of stockpiles and sending it to the terminal for display, means for generating a purchase link or purchase information based on a user's selection, means for sending the generated purchase link or purchase information to the terminal for display so that the user can complete the purchase procedure, means for tracking the expiration dates or best-before dates of stockpiled items and generating an alert when the expiration date approaches, and means for sending the generated alert to the terminal to notify the user. This allows users to select appropriate stockpiles based on individual conditions such as address information and family composition, and to centrally purchase and manage them.

[1169] "Address information" is geographical data of the location where the user resides, including the city, ward, town, village, prefecture, and specific address.

[1170] "Living environment information" is information about the physical environment of a residence, including details such as whether it is a detached house or an apartment, and whether it has a garden.

[1171] "Family composition information" is information showing details of the members belonging to the user's household, including, for example, the number of adults and children, and their age groups.

[1172] "Stockpile period information" is information indicating the period for which supplies are required to be stored as spares, and specifies the period for which stockpile is required, such as one week, two weeks, or one month.

[1173] "Terminal means" refers to devices that allow users to input information or receive and display data from a server, and primarily includes PCs, smartphones, tablets, etc.

[1174] "Server means" refers to a central processing unit for receiving information sent by users and storing it in a database.

[1175] A "database" refers to an information system for systematically storing and managing information such as a user's address, living environment, family structure, and stockpile period.

[1176] The "stockpile list" shows a list of necessary supplies calculated based on conditions specified by the user.

[1177] "Purchase Links or Information" includes online shop links and necessary purchase information for purchasing selected stockpiles.

[1178] "Use by date or expiry date" is data indicating the period during which stockpiled goods can maintain their quality, after which it is no longer recommended for use.

[1179] "Alert" refers to a warning message that notifies the user when the expiration date or expiry date of a stockpile item is approaching.

[1180] This system suggests necessary emergency supplies based on address information, living environment information, family composition information, and stockpile period information registered by users, and supports them from purchase to operation. This system operates by exchanging information mainly between a server, terminals (PCs, smartphones, tablets, etc.), and users.

[1181] Registering and saving user information

[1182] Using a web or mobile app, users enter information such as their address, living environment, family composition, and stockpiling period. For example, a user might enter "Tokyo," "detached house," "with garden," "two adults, one child," and "two weeks' stockpiling period."

[1183] The terminal collects this input information and generates a request to send to the server, where the input information is sent in an appropriate format.

[1184] The server stores the received user information in a database. A confirmation message indicating the completion of registration is generated and sent from the server to the terminal. The terminal displays the confirmation message to the user, informing them that "registration of information has been completed."

[1185] Suggestions for stockpiling supplies

[1186] The server retrieves the user's registration information from the database and calculates the necessary supplies based on the entered information. For example, it uses a specific algorithm to obtain a calculation result such as "20 kg of rice, 40 liters of water, and 20 cans of food for two weeks."

[1187] The server generates a list of emergency supplies based on the calculation results and transmits the list to the terminal, which then displays the received emergency supply list to the user so that the user can check the list.

[1188] Purchase Support

[1189] The user selects the items they want to purchase from the stockpile list, for example, "20 kg of rice" and "40 liters of water."

[1190] The terminal transmits information about the selected stockpile items as a request to the server.

[1191] The server generates a purchase link for the selected emergency supplies. For example, a link such as "Click here for 20 kg of rice or 40 liters of water at online store A" is generated. A response containing this link is sent from the server to the terminal, which displays it to the user. The user can click the link to easily purchase the emergency supplies from the online store.

[1192] Operational support

[1193] The server runs scheduled jobs to track expiration dates and best-before dates for stockpiled items stored in a database. For example, information such as "rice has a best-before date of one year, water has a best-before date of six months" is stored in the database.

[1194] When the expiration date approaches, the server generates an alert, for example, a message saying "The expiration date of the registered rice is approaching."

[1195] The server sends an alert message to the device, which then notifies the user, who can then update or purchase supplies.

[1196] Specific examples

[1197] For example, suppose a user inputs the following information into the system: address is "Tokyo," living environment is "detached house with garden," family composition is "2 adults, 1 child," and stockpile period is "2 weeks."

[1198] Example prompt sentence:

[1199] Please suggest the supplies needed for a two-week emergency stockpile for a family of two adults and one child living in Tokyo. Please also provide a link to where you can purchase the suggested supplies.

[1200] When this prompt is fed into a generative AI model, it outputs a suggested list of supplies you need to stock up on and links to purchase them.

[1201] This system comprehensively covers the entire process from registering user information to suggesting stockpiles, purchasing support, and operational support, enabling efficient stockpile management for each household.

[1202] The flow of the identification process in the first embodiment will be described with reference to FIG.

[1203] Step 1:

[1204] Users launch the web or mobile app, create an account, and log in. After logging in, users enter their address information, living environment information, family composition information, and stockpile period information. Specifically, they enter "Tokyo," "detached house," "with garden," "2 adults, 1 child," and "stockpile period of 2 weeks." This is the input information.

[1205] Step 2:

[1206] The terminal checks the information entered by the user in real time to ensure that all required fields have been entered correctly. If there are no errors, it generates a request to send the entered information to the server. This request includes the address information, living environment information, family composition information, and stockpile period information entered by the user. This is the process of sending the entered information to the server.

[1207] Step 3:

[1208] The server receives the information sent from the device. It processes the received information to store it in the database. At this time, the input information is converted into an appropriate format and stored in the database. For example, the database may store information such as "Address: Tokyo, Living environment: Detached house with garden, Family composition: 2 adults, 1 child, Stockpile period: 2 weeks." After the information has been stored, it generates a confirmation message that registration is complete and sends it to the device as a response.

[1209] Step 4:

[1210] The terminal receives a confirmation message from the server that registration has been completed, and displays a notification to the user such as "Information registration has been completed." This allows the user to confirm that the information has been registered correctly.

[1211] Step 5:

[1212] The server retrieves registered user information from the database. Based on this information, it performs data calculations to calculate the necessary supplies. Specifically, it calculates that "20 kg of rice, 40 liters of water, and 20 cans of food will be needed for two weeks." A specific algorithm is used for the calculation. This is the calculation result.

[1213] Step 6:

[1214] The server generates a list of supplies based on the calculation results and sends this list to the terminal. The list includes the necessary supplies and their quantities. For example, a list such as "20 kg of rice, 40 liters of water, and 20 cans of food" may be generated.

[1215] Step 7:

[1216] The terminal receives the list of stockpiled items sent from the server and displays it to the user, who can check the list and understand the contents of the stockpiled items displayed.

[1217] Step 8:

[1218] The user selects the items they want to purchase from the displayed list of stockpiled goods. For example, they select "20 kg of rice" and "40 liters of water." This becomes the user's selection information.

[1219] Step 9:

[1220] The terminal generates a request to transmit the user's selection information to the server, the request including the information on the stockpile items selected by the user.

[1221] Step 10:

[1222] The server receives information about the stockpile items selected by the user and generates a purchase link for that item. For example, it generates a link that reads, "Click here to purchase 20 kg of rice or 40 liters of water from online store A." This link is generated as a response.

[1223] Step 11:

[1224] The terminal displays the purchase link received from the server to the user, who can click the displayed link to access the online store and easily purchase the selected stockpile item.

[1225] Step 12:

[1226] The server runs a scheduled job to track the expiration dates and use-by dates of stockpiled items stored in the database. For example, information such as "rice expires in one year, and water expires in six months" is stored in the database. This is the configuration information for data tracking.

[1227] Step 13:

[1228] When the expiration date approaches, the server generates an alert. For example, it creates a message saying, "The expiration date of the registered rice is approaching." This is the alert information.

[1229] Step 14:

[1230] The server sends the generated alert to the terminal, and the terminal notifies the user of the alert. The user receives the notification and can update or purchase stockpiles as necessary.

[1231] (Application example 1)

[1232] Next, a description will be given of Application Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the headset type terminal 314 will be referred to as a "terminal."

[1233] In modern households, it is important to stockpile supplies in preparation for disasters. However, many people find it difficult to accurately grasp the types and quantities of supplies needed and manage them appropriately. Furthermore, purchasing supplies and managing their expiration dates can be time-consuming, resulting in insufficient supplies. Furthermore, supplies often go to waste when they expire. To solve these problems, a system is needed that allows users to easily and effectively manage their stockpiles.

[1234] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 1 is realized by the following means.

[1235] In this invention, the server includes means for inputting address information, living environment information, family composition information, and stockpile period information, means for saving the input information in a database, means for calculating a list of necessary stockpiles based on the saved information, means for generating and displaying the calculated list of stockpiles, means for generating a purchase link or purchase information based on a user's selection, means for tracking expiration dates or best-before dates of stockpiles and generating alerts, means for notifying the user of the generated alerts, means for linking with a delivery service to enable the user to easily purchase stockpiles, means for automatically updating information on purchased stockpiles in the database, means for tracking and analyzing stockpile purchase history, and means for recommending necessary stockpiles based on the analysis. This enables users to easily select, purchase, and manage appropriate stockpiles according to their family composition and living environment.

[1236] "Address information" is information entered by the user to identify the place of residence.

[1237] "Living environment information" is information about the type of residence of the user and the surrounding conditions.

[1238] "Family composition information" is information relating to the composition of people in the user's household.

[1239] The "stockpiling period information" is information indicating the target period for which the user intends to stockpile.

[1240] A "database" is a system that stores and manages information entered by users and provides necessary information.

[1241] The "stockpile list" is a list of necessary stockpiles calculated based on the user's registered information.

[1242] "Purchase Link" is a link to an online store or delivery service where users can purchase emergency supplies.

[1243] An "alert" is a warning message that notifies you that the expiration date or expiry date of a stockpile item is approaching.

[1244] The "delivery service" is a service that delivers stockpiled items selected by the user to the user's home.

[1245] "Purchase history" is a record of stockpiled items that a user has purchased in the past.

[1246] "Analysis" is the process of finding patterns based on data and recommending necessary supplies.

[1247] The "recommendation means" is a method for suggesting appropriate stockpiles to the user based on the analysis results.

[1248] This system proposes necessary emergency supplies based on address information, living environment information, family composition information, and stockpile period information registered by users, and supports them from purchase to operation. This system realizes various functions by exchanging information between the server, terminals (PCs, smartphones, tablets, etc.), and users.

[1249] Registering user information

[1250] Users access the app or web system and enter their address, living environment, family composition, and stockpiling period. For example, if a user lives in Tokyo, they would enter "Tokyo" as their address information and enter that they live in a detached house with a garden as living environment information. They can enter two adults and one child as their family composition and specify two weeks as the stockpiling period.

[1251] The terminal generates a request to transmit the input information to the server.

[1252] The server stores the received user information in a database and sends a message confirming the completion of registration to the terminal.

[1253] Suggestions for stockpiling supplies

[1254] The server retrieves the user's registration information from the database and calculates the necessary supplies based on the entered information. For example, it calculates that the user's family will need 20 kg of rice, 40 liters of water, 20 cans of food, etc. to survive for two weeks. From the calculation results, the server generates a list of supplies and sends this list to the terminal.

[1255] The terminal displays the sent stockpile list to the user, and the user can check the stockpile list.

[1256] Purchase Support

[1257] The user selects the desired stockpile items from the list of suggestions. For example, they can select 20 kg of rice and 40 liters of water. The terminal then sends the list of selected stockpile items to the server.

[1258] The server generates a purchase link or purchase information for the selected stockpile item, for example, a link that says, "Click here to purchase 20 kg of rice or 40 liters of water from online store A." The server sends a response containing these purchase links to the terminal, which displays the links to the user. The user can easily purchase the stockpile item by clicking the displayed link.

[1259] Operational support

[1260] The server tracks the expiration dates or best-before dates of stockpiled items registered in the database. For example, the expiration date for rice is recorded as one year, and the expiration date for water as six months. When the expiration date approaches, the server automatically generates an alert, creating a message such as "The expiration date of your registered rice is approaching." The server then sends this alert message to the device, which notifies the user. The user receives the notification and can take appropriate action to update the stockpiled items as needed.

[1261] Collaboration with food delivery services

[1262] In this invention, a food delivery service is linked to the system so that the user can easily purchase the emergency supplies they have selected from the food delivery service. The emergency supplies selected by the user are sent to a server, which then sends the information to the delivery service. The delivery service then delivers the corresponding emergency supplies to the user. This allows the user to easily secure the emergency supplies they need.

[1263] Program processing explanation

[1264] The server stores user information using a database management system (e.g., MySQL, PostgreSQL) and implements an algorithm to calculate stockpiles based on the user information. To suggest appropriate stockpiles, the calculated stockpiles list is sent to the device via an application server (e.g., Node.js, Django). Purchase links are obtained from an external API (e.g., a food delivery service API) and presented to the user. Notification services include Firebase Cloud Messaging (FCM) and Apple Push Notification Service (APNs).

[1265] Specific examples

[1266] For example, if a user living in Tokyo registers their information with the app, they will enter that their family consists of two adults and one child. The app will suggest 20 kg of rice, 40 liters of water, and 20 cans of food as a two-week supply. If the user selects 20 kg of rice and 40 liters of water from these suggested items, the app will provide a link to purchase them from an online store or food delivery service. Additionally, when the rice is nearing its expiration date, the app will send a notification informing them that "The expiration date for the registered rice is approaching."

[1267] Prompt Sentence Examples

[1268] "Imagine an application where a user registers their address, living environment, family composition, and stockpiling period information, and the app automatically suggests the food they need to stockpile, and helps them easily purchase the food they want from a food delivery service. Specifically, the system calculates and displays suggested foods from a database, then generates a purchase link and sends notifications when the expiration date is approaching."

[1269] The flow of the specific processing in the application example 1 will be described with reference to FIG.

[1270] Step 1:

[1271] Users access the app or web system and enter address information, living environment information, family composition information, and stockpile period information.

[1272] Input: The user enters information such as address, living environment, family composition, and storage period.

[1273] How it works: The user enters the necessary information into the app's input form and presses the submit button.

[1274] Output: The entered information is saved on the device and the next step is taken.

[1275] Step 2:

[1276] The terminal generates a request to transmit the input information to the server.

[1277] Input: User information entered into the input form.

[1278] Data processing: Converts input information into a format suitable for communication, such as JSON format.

[1279] Operation: After the send button is pressed, the terminal sends the user's input information as a request to the server.

[1280] Output: A user information request is sent to the server.

[1281] Step 3:

[1282] The server stores the received user information in a database and sends a message confirming the completion of registration to the terminal.

[1283] Input: User information request sent from the terminal.

[1284] Data calculation: The process of storing user information in the database.

[1285] Behavior: The server parses the information it receives, stores it in a database, and generates a message indicating that registration is complete.

[1286] Output: A confirmation message is sent to the device confirming successful registration.

[1287] Step 4:

[1288] The server retrieves the user's registration information from the database and calculates the necessary supplies.

[1289] Input: User information stored in the database.

[1290] Data calculation: Based on user information, calculate the type and quantity of stockpiled items required according to calculation rules.

[1291] How it works: The server uses algorithms to calculate what supplies you need based on your user information, such as how much food, water, and other essentials you need based on your family size and living environment.

[1292] Output: Calculated stockpile list.

[1293] Step 5:

[1294] The server generates a stockpile list and transmits it to the terminal.

[1295] Input: Calculated stockpile list.

[1296] Data processing: Convert the stockpile list into a format that is easy for users to view.

[1297] How it works: The server lists the calculation results, converts them into a format that is easily understandable to the user, and sends them to the terminal.

[1298] Output: The stockpile list is displayed on the terminal.

[1299] Step 6:

[1300] The user selects the necessary supplies from the list of suggested supplies.

[1301] Input: Proposed stockpile list.

[1302] How it works: The user reviews the list and selects the supplies they need.

[1303] Output: A list of selected stockpiles.

[1304] Step 7:

[1305] The terminal transmits the selected stockpile item list to the server.

[1306] Input: A list of supplies selected by the user.

[1307] Data processing: Convert the selected stockpile list into the request format.

[1308] Operation: The device sends the selected stockpile list to the server.

[1309] Output: The list of selected items is sent to the server.

[1310] Step 8:

[1311] The server generates a purchase link for the selected stockpile item and transmits it to the terminal.

[1312] Input: Selected stockpile list.

[1313] Data Calculation: Uses external APIs to generate purchase links.

[1314] How it works: The server generates a purchase link for each item based on the list of selected items. For example, it obtains the purchase link using a food delivery service's API.

[1315] Output: A purchase link will be displayed on the device.

[1316] Step 9:

[1317] The server tracks use-by or expiry dates for stockpiled items registered in the database and generates alerts.

[1318] Input: Stockpile information stored in the database.

[1319] Data calculation: Check the expiry date or expiration date of each stockpile item and generate an alert if the expiry date is approaching.

[1320] How it works: The server periodically checks the database and generates alert messages for supplies that are about to expire.

[1321] Output: The generated alert message.

[1322] Step 10:

[1323] The generated alert is notified to the terminal, which then notifies the user.

[1324] Input: The generated alert message.

[1325] Data processing: Converting messages into a format that can be displayed to the user.

[1326] How it works: The server generates an alert and sends it to the device, which then displays the notification to the user. This uses Firebase Cloud Messaging (FCM) and Apple Push Notification Service (APNs).

[1327] Output: An alert message is displayed to the user.

[1328] Furthermore, an emotion engine that estimates the user's emotion may be further combined. That is, the identification processing unit 290 may estimate the user's emotion using the emotion identification model 59, and perform identification processing using the user's emotion.

[1329] This system suggests necessary emergency supplies based on address information, living environment information, family composition information, and stockpile period information registered by the user, and supports the process from purchase to operation. Furthermore, by combining it with an emotion engine that recognizes the user's emotions, it is possible to make appropriate suggestions and notifications based on the user's emotions. This system realizes various functions by exchanging information between the server, terminals (PCs, smartphones, tablets, etc.), and the user.

[1330] Registering user information

[1331] Users access the app or web system and enter their address, living environment, family composition, and stockpiling period. For example, if a user lives in Tokyo, they enter "Tokyo" as their address information, and enter that they live in a detached house with a garden as living environment information. They can enter two adults and one child as their family composition and specify two weeks as the stockpiling period.

[1332] The terminal generates a request to transmit the input information to the server.

[1333] The server stores the received user information in a database and sends a message confirming the completion of registration to the terminal.

[1334] Suggestions for stockpiling supplies

[1335] The server retrieves the user's registration information from the database and calculates the necessary supplies based on the information entered. For example, it calculates that the user's family will need 20 kg of rice, 40 liters of water, and 20 cans of food to last for two weeks.

[1336] The server generates a list of stockpiles from the calculation results and transmits this list to the terminal.

[1337] The terminal displays the sent stockpile list to the user, and the user can check the stockpile list.

[1338] Purchase Support

[1339] Users can select the items they want to stockpile from a list of suggestions, for example, 20 kg of rice and 40 liters of water.

[1340] The terminal transmits a list of the selected stockpiles to the server.

[1341] The server generates a purchase link or purchase information for the selected stockpile item, for example, a link that says, "Click here to buy 20 kg of rice or 40 liters of water at online store A."

[1342] The server sends a response containing these purchase links to the terminal, which then displays the links to the user. The user can easily purchase the stockpiles by clicking the displayed links.

[1343] Operational support

[1344] The server tracks the expiration dates or expiry dates of stockpiled items registered in the database. For example, rice has a one-year expiration date, while water has a six-month expiration date.

[1345] When the expiration date approaches, the server automatically generates an alert, creating a message such as "The expiration date of your registered rice is approaching."

[1346] The server sends this alert message to the terminal, which then notifies the user, who can then take appropriate action to update their stockpile if necessary.

[1347] Utilizing the Emotion Engine

[1348] The device is equipped with an emotion engine that recognizes emotions from the user's facial expressions and voice during input and operation. This emotion engine can acquire emotion data such as whether the user is feeling stressed or relaxed.

[1349] The server stores the recognized emotion data in a database, for example, if the user is feeling stressed, it records that information.

[1350] The server can tailor the suggested emergency supplies list based on the recognized emotion data, for example, suggesting easier emergency supplies if the user is feeling stressed.

[1351] The content and tone of alert messages can also be adjusted based on emotional data. For example, when a user is relaxed, alert messages can be displayed in a softer tone.

[1352] In this way, this system provides comprehensive support, from registering user information to suggesting stockpiles, purchasing support, operational support, and even adjusting suggestions and notifications using emotion recognition, allowing each household to efficiently manage their stockpiles.

[1353] The processing flow will be explained below.

[1354] Step 1:

[1355] The user launches the app or web system and enters address information, living environment information, family composition information, and stockpile period information on the initial setup screen.

[1356] Step 2:

[1357] The terminal generates a request to transmit the input user information to the server.

[1358] Step 3:

[1359] The terminal sends a request to the server.

[1360] Step 4:

[1361] The server stores the received user information in a database.

[1362] Step 5:

[1363] The server generates a confirmation message confirming the completion of user information registration.

[1364] Step 6:

[1365] The server sends a confirmation message to the terminal.

[1366] Step 7:

[1367] The terminal displays a confirmation message to the user.

[1368] Step 8:

[1369] The server retrieves the user information from the database.

[1370] Step 9:

[1371] The server calculates a list of necessary supplies based on the user's registration information.

[1372] Example: Calculate a two-week supply of 20 kg of rice, 40 liters of water, 20 cans of food, etc.

[1373] Step 10:

[1374] The server generates a calculated stockpile list.

[1375] Step 11:

[1376] The server generates a response for transmitting the stockpile list to the terminal.

[1377] Step 12:

[1378] The server sends a response to the terminal.

[1379] Step 13:

[1380] The terminal receives the stockpile list and displays it to the user.

[1381] Step 14:

[1382] The user selects the items they wish to purchase from the suggested list.

[1383] Example: Select 20 kg of rice and 40 liters of water.

[1384] Step 15:

[1385] The terminal generates a request to transmit the user's selection information to the server.

[1386] Step 16:

[1387] The terminal sends a request to the server.

[1388] Step 17:

[1389] The server generates a purchase link or method based on the received selection information.

[1390] Step 18:

[1391] The server generates a response that includes a purchase link and purchase information.

[1392] Step 19:

[1393] The server sends a response to the terminal.

[1394] Step 20:

[1395] The terminal displays the purchase link and purchase information to the user.

[1396] Step 21:

[1397] The server periodically checks the expiration dates or expiry dates of stockpiled items registered in the database.

[1398] Step 22:

[1399] The server generates alerts for supplies that are about to expire.

[1400] Example: The rice is nearing its expiration date.

[1401] Step 23:

[1402] The server generates a response for sending an alert message to the terminal.

[1403] Step 24:

[1404] The server sends a response to the terminal.

[1405] Step 25:

[1406] The terminal notifies the user of the alert message.

[1407] Step 26:

[1408] Users can update their stockpiles as needed through the app.

[1409] Step 27:

[1410] The device uses an emotion engine to recognize the user's input, facial expressions, and voice during operation.

[1411] Step 28:

[1412] The terminal transmits the recognized emotion data to the server.

[1413] Step 29:

[1414] The server stores the emotion data in a database.

[1415] Step 30:

[1416] The server recalculates the suggested stockpile list based on the recognized emotion data.

[1417] Step 31:

[1418] The server generates an adjusted stockpile list and transmits it to the terminal.

[1419] Step 32:

[1420] The terminal receives the adjusted stockpile list and displays it to the user.

[1421] Step 33:

[1422] The server implements a mechanism for adjusting the tone and content of the alert message based on the emotion data.

[1423] Step 34:

[1424] The server generates and sends a tailored alert message to the terminal.

[1425] Step 35:

[1426] The terminal notifies the user of the adjusted alert message.

[1427] Example 2

[1428] Next, a description will be given of Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the headset type terminal 314 will be referred to as a "terminal."

[1429] Conventional emergency supply management systems suggest necessary emergency supplies based on input such as address information, living environment information, family composition information, and stockpile period information, but many of these systems do not take into account the user's emotional state. As a result, they are unable to provide optimal suggestions to reduce the user's stress and anxiety, and do not sufficiently improve the user experience. Furthermore, even if there is a function to track the expiration dates of emergency supplies, the notifications do not take the user's emotions into consideration, which can increase the user's burden.

[1430] The specific processing by the specific processing unit 290 of the data processing device 12 in the second embodiment is realized by the following means.

[1431] In this invention, the server includes means for inputting address information, living environment information, family composition information, and stockpiling period information, means for saving the input information in a database, means for calculating a list of necessary stockpiles based on the saved information, means for generating and displaying the calculated stockpiling list, means for generating a purchase link or purchase information based on a user's selection, means for tracking expiration dates or best-before dates of stockpiled items and generating alerts, means for notifying the user of the generated alerts, means for recognizing the user's emotions and adjusting the suggested contents of the stockpiling list and alert messages based on the recognized emotions, and means for saving the emotion data in a database. This enables appropriate stockpiling item suggestions and notifications to be made taking into account the user's emotional state, improving the user experience and reducing the burden on the user.

[1432] "Address information" refers to information about the specific area or place where the user resides.

[1433] "Living environment information" refers to information about the physical environment and surroundings in which the user lives. For example, it includes information about whether the house is a detached house with a garden.

[1434] "Family composition information" refers to information about the number and relationships of a user's family members. For example, a family may include two adults and one child.

[1435] "Stockpile period information" refers to information about the period for which the user needs to prepare stockpiles. For example, it includes information that a two-week supply of stockpiles is required.

[1436] A "database" is a system for organizing and storing input information, calculation results, emotional data, etc.

[1437] The "stockpile list" is a list that indicates the specific types and quantities of necessary stockpile items that are recommended to the user.

[1438] An "emotion engine" is software or hardware that recognizes emotions from a user's facial expressions, voice, etc.

[1439] An "alert" is a message that alerts or notifies the user.

[1440] "Purchase Link" means a URL or connection information that allows a User to purchase an emergency supply item online.

[1441] An "HTTP request" is a communication method used by a terminal to request a specific process from a server.

[1442] The "JSON format" is a lightweight data exchange format for representing data in text.

[1443] The present invention is a system that allows users to input address information, living environment information, family composition information, and stockpiling period information, and based on that information, suggests necessary stockpiles and supports them from purchase to operation. Furthermore, it aims to improve the user experience by utilizing an emotion engine that recognizes the user's emotions and making suggestions and notifications according to the user's emotional state. Specific embodiments are described below.

[1444] Registering user information

[1445] The user accesses the app or web system and enters their address, living environment, family composition, and stockpiling period. For example, suppose the user enters "Tokyo," lives in a detached house, has a family of "two adults and one child," and has a stockpiling period of "two weeks."

[1446] The device generates an HTTP request to send this input information to the server in JSON format. For example, the input information is included in the request in the following format:

[1447] json

[1448] {"address": "Tokyo", "livingEnvironment": "Detached house", "familyStructure": "2 adults and 1 child", "stockpileDuration": "2 weeks"}

[1449] The server will then parse the information appropriately and store it in a MySQL database, for example by executing an INSERT statement to store the data as follows:

[1450] sql

[1451] INSERT INTO user_info (address, living_environment, family_structure, stockpile_duration) VALUES ("Tokyo", "Detached house", "2 adults and 1 child", "2 weeks")

[1452] The server generates a JSON message confirming the completion of registration and sends it to the device. For example, it returns a response like this:

[1453] json

[1454] {"status": "success", "message": "Registration completed"}

[1455] The terminal displays the received message to the user, for example, a pop-up message saying "User information registration completed."

[1456] Suggestions for stockpiling supplies

[1457] The server retrieves the user's registration information from the database and calculates the necessary supplies based on that information. For example, it calculates that a family needs 20 kg of rice, 40 liters of water, and 20 cans of food to survive for two weeks.

[1458] Using the calculation results, the server generates a stockpile list in JSON format and sends it to the terminal. The response is as follows:

[1459] json

[1460] {"status": "success", "stockpile_list": {"rice": "20kg", "water": "40L", "canned_food": "20 pieces"}}

[1461] The device displays the received list of stockpiled items to the user. For example, the app screen might show a list such as "Rice: 20 kg, Water: 40 L, Canned goods: 20."

[1462] Purchase Support

[1463] The user selects the desired stockpile items from the list of suggestions, for example, 20 kg of rice and 40 liters of water.

[1464] The device sends the list of selected stockpiles in JSON format to the server, as follows:

[1465] json

[1466] {"selected_items": {"rice": "20kg", "water": "40L"}}

[1467] The server generates a purchase link for the selected stockpile item, for example, "20 kg of rice here, 40 liters of water here at Online Store A." The server sends a response containing these purchase links to the terminal in JSON format:

[1468] json

[1469] {"links": [{"item": "Rice 20kg", "url": "http: / / storeA.com / rice20kg"}, {"item": "Water 40L", "url": "http: / / storeA.com / water40L"}]}

[1470] The device displays a purchase link to the user. For example, it displays a link such as "Click here for 20 kg of rice" or "Click here for 40 L of water" and makes it clickable by the user.

[1471] Operational support

[1472] The server tracks the expiration dates or expiry dates of the stockpiled items in the database, for example by periodically checking the expiration date of each stockpile item stored in a MySQL database.

[1473] When the expiration date approaches, the server automatically generates an alert message, such as "The expiration date of the registered rice is approaching." The generated alert message is sent to the terminal in JSON format:

[1474] json

[1475] {"alert": "The expiration date of your registered rice is approaching"}

[1476] The device will display this alert message to the user as a pop-up notification, for example, a notification at the top of the screen saying, "The expiration date of your registered rice is approaching."

[1477] Utilizing the Emotion Engine

[1478] The device activates an emotion engine to recognize emotions from the user's facial expressions and voice during input and operation. This engine captures the user's facial expressions and voice using a camera and microphone and analyzes them using an AI model.

[1479] The device sends the recognized emotion data in JSON format to the server. Example of the sent content:

[1480] json

[1481] {"emotion": "stress"}

[1482] The server stores the recognized emotion data in a database, for example by executing the following SQL query:

[1483] sql

[1484] INSERT INTO emotion_data (user_id, emotion) VALUES (?, "stress")

[1485] The server adjusts the suggested stockpile items based on the emotional data. For example, if the user is feeling stressed, it suggests easier-to-prepare items (such as instant foods).

[1486] The content and tone of the alert message are also adjusted based on the user's emotional state. For example, when the user is relaxed, a softer tone will be displayed saying, "Don't worry! The expiration date for your registered rice is approaching."

[1487] Example prompts to input to the generative AI model

[1488] Generate a suggested stockpile list for the user based on the following information:

[1489] Address: Tokyo

[1490] Living environment: Detached house with garden

[1491] Family composition: 2 adults, 1 child

[1492] Stockpile period: 2 weeks

[1493] If users are feeling stressed, suggest some easy-to-prepare supplies.

[1494] The flow of the identification process in the second embodiment will be described with reference to FIG.

[1495] Step 1:

[1496] Users access the app or web system and enter their address, living environment, family composition, and stockpiling period. For example, they enter "Tokyo" as the address, "detached house with a garden" as the living environment, "two adults and one child" as the family composition, and "two weeks" as the stockpiling period. This information becomes the basic data for suggesting stockpiled items.

[1497] Step 2:

[1498] The device generates an HTTP request to send the information entered by the user to the server in JSON format. For example, the request is generated in the following format: {"address": "Tokyo", "livingEnvironment": "detached house", "familyStructure": "2 adults and 1 child", "stockpileDuration": "2 weeks"}. This ensures that the entered information is transferred appropriately.

[1499] Step 3:

[1500] The server parses the information it receives and stores it in a MySQL database by executing the following SQL query: INSERT INTO user_info (address, living_environment, family_structure, stockpile_duration) VALUES ("Tokyo", "Single-family home", "2 adults and 1 child", "2 weeks"). The user information is then stored securely in the database.

[1501] Step 4:

[1502] The server generates a confirmation message in JSON format to confirm the completion of registration and sends it to the terminal. For example, it notifies the user of success by generating a response such as {"status": "success", "message": "Registration completed"}. This allows the user to confirm that the information has been registered correctly.

[1503] Step 5:

[1504] The terminal displays the received confirmation message to the user. Specifically, it displays a pop-up message saying "User information registration completed," allowing the user to proceed to the next action.

[1505] Step 6:

[1506] The server retrieves the user's registration information from the database. For example, it executes the SQL query SELECT FROM user_info WHERE user_id = ? to retrieve the stored user information. By analyzing this information, it obtains the basic data for calculating the necessary supplies.

[1507] Step 7:

[1508] The server calculates the necessary supplies based on the acquired user information. For example, it calculates that a family needs 20 kg of rice, 40 liters of water, and 20 cans of food to survive for two weeks. The calculation logic used is based on multivariate analysis and prescribed rules.

[1509] Step 8:

[1510] The server generates a stockpile list based on the calculation results. For example, it generates JSON data such as {"rice": "20kg", "water": "40L", "canned_food": "20 units"} and sends it to the terminal. This presents a specific stockpile list to the user.

[1511] Step 9:

[1512] The device displays the received list of stockpiles to the user. For example, a list such as "Rice: 20 kg, Water: 40 L, Canned goods: 20" may be displayed on the screen so that the user can check the contents.

[1513] Step 10:

[1514] The user selects the stockpile items they want from the displayed list of suggestions. For example, by tapping and selecting 20 kg of rice and 40 liters of water, they confirm the stockpile items they want to purchase.

[1515] Step 11:

[1516] The terminal sends the list of selected stockpiled items to the server in JSON format. The contents of the message are sent to the server in the format {"selected_items": {"rice": "20kg", "water": "40L"}}. This conveys the user's purchase preferences to the server.

[1517] Step 12:

[1518] The server generates a purchase link for the selected stockpile item. For example, it creates a link that says, "Click here to purchase 20 kg of rice and 40 liters of water from online store A," and prepares the purchase information. This ensures that the user can purchase the stockpile item they need.

[1519] Step 13:

[1520] The server sends the generated purchase link in JSON format to the terminal. An example response is in the format {"links": [{"item": "20kg of rice", "url": "http: / / storeA.com / rice20kg"}, {"item": "40L of water", "url": "http: / / storeA.com / water40L"}]}. This allows the user to easily purchase emergency supplies.

[1521] Step 14:

[1522] The device will display the purchase link to the user. For example, a link such as "Click here for 20 kg of rice" or "Click here for 40 L of water" will be displayed, and the user can click it to proceed with the purchase.

[1523] Step 15:

[1524] The server tracks the expiration dates or best-before dates of the stockpiled items in a database, for example by periodically checking the expiration date of each stockpile item stored in a MySQL database. This information is managed by a scheduler or by running periodic queries.

[1525] Step 16:

[1526] The server generates an alert when the expiration date approaches. For example, it creates a message saying, "The expiration date of the registered rice is approaching." The generated alert is notified to the user.

[1527] Step 17:

[1528] The server sends the generated alert message to the terminal in JSON format. For example, it sends it in the format {"alert": "The expiration date of the registered rice is approaching"}. This allows the user to take action at the appropriate time.

[1529] Step 18:

[1530] The device displays the received alert message to the user as a pop-up notification. For example, a notification saying "The expiration date of your registered rice is approaching" is displayed at the top of the screen.

[1531] Step 19:

[1532] The device activates an emotion engine that recognizes emotions from the user's input, facial expressions, and voice during operation, and analyzes the user's stress and relaxation state in real time.

[1533] Step 20:

[1534] The device sends the recognized emotion data to the server in JSON format. An example of the sent content is {"emotion": "stress"}. This notifies the server of the user's emotional state.

[1535] Step 21:

[1536] The server stores the emotion data in a database, for example, by executing the SQL query INSERT INTO emotion_data (user_id, emotion) VALUES (?, "stress").

[1537] Step 22:

[1538] The server adjusts the suggested emergency supplies list based on the emotional data. For example, if the user is feeling stressed, it will suggest emergency supplies that can be easily prepared. This improves the user experience.

[1539] Step 23:

[1540] The server adjusts the content and tone of the alert message based on the user's emotional state. For example, if the user is relaxed, it generates a soft message saying, "Don't worry! The expiration date of your registered rice is approaching."

[1541] (Application example 2)

[1542] Next, a description will be given of Application Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the headset type terminal 314 will be referred to as a "terminal."

[1543] Conventional stockpile management systems specialize in proposing stockpile lists, supporting purchases, and managing expiration dates, but they have the problem of being unable to respond flexibly to the user's emotional state. There is also a need for a system that can reduce user stress and manage stockpile management more efficiently.

[1544] The specification processing by the specification processing unit 290 of the data processing device 12 in Application Example 2 is realized by the following means. In this invention, the server includes means for inputting address information, living environment information, family composition information, and stockpiling period information, means for saving the input information in a database, means for calculating a list of necessary stockpiles based on the saved information, means for generating and displaying the calculated stockpiling list, means for generating a purchase link or purchase information based on a user's selection, means for tracking the expiration dates or best-before dates of stockpiled items and generating an alert, means for notifying the user of the generated alert, means for recognizing the user's emotions and acquiring emotion data, and means for adjusting the suggested content of the stockpiling list and notifications based on the acquired emotion data. This enables flexible stockpiling item suggestions and notifications to be made according to the user's emotional state.

[1545] "Address information" is data that indicates details of the place where the user resides.

[1546] "Living environment information" is data relating to the type of house where the user lives and the surrounding environment.

[1547] "Family composition information" is data indicating the number of family members of a user, their age groups, and the relationships between each member.

[1548] "Stockpile period information" is data indicating a period for calculating the amount of supplies required for a certain period.

[1549] "Input means" refers to an interface that allows a user to provide the required information to the system.

[1550] "Means for storing in a database" refers to a digital storage system for securely storing information provided by users.

[1551] "Means for calculating the stockpile list" refers to an algorithm for calculating the types and quantities of supplies needed based on input information.

[1552] "Display means" refers to a display or screen for visually presenting the calculated stockpile list to the user.

[1553] "Means for generating purchasing links or purchasing information" refers to a system that provides links or information that allows users to easily purchase needed supplies.

[1554] "Means for tracking expiration dates or best-before dates and generating alerts" refers to a system that monitors expiration dates on stockpiled items and notifies users when the expiration date is approaching.

[1555] "Means for recognizing emotions and acquiring emotional data" refers to a system that analyzes a user's facial expressions and voice to identify their emotional state and collect that data.

[1556] "Means for adjusting the suggestions and notifications for the stockpile list based on emotional data" refers to a system that changes the suggestions and notification methods according to the acquired emotional data, providing the user with the most appropriate information.

[1557] The system embodying this invention suggests necessary stockpiles based on user information and supports everything from purchase to operation. It also incorporates an emotion engine that recognizes the user's emotions and makes appropriate suggestions and notifications. This system realizes various functions by exchanging information between the server, terminals (smartphones, tablets, etc.), and users.

[1558] Registering user information

[1559] Using a smartphone or tablet, users input address information, living environment information, family composition information, and stockpiling period information into the application. This information is sent from the device to the server and stored in a database. For example, if a user lives in Tokyo, they would enter "Tokyo" as their "address information" and the fact that they live in a detached house as their "living environment information." They can enter two adults and one child as their family composition and specify two weeks as the stockpiling period.

[1560] Suggestions for stockpiling supplies

[1561] The server calculates an appropriate emergency supply list based on user information stored in the database. For example, the server calculates the amount of rice, water, and canned goods needed for a family of two adults and one child living in Tokyo to survive for two weeks. The calculated emergency supply list is sent to the device and displayed to the user.

[1562] Purchase Support

[1563] The user selects the desired items from the list of suggested stockpiles and enters them into the device. The selected stockpiles are sent to the server, and a purchase link and purchase information are generated. For example, a link such as "20 kg of rice here, 40 liters of water here from online store A" is generated and displayed on the device. The user can easily purchase the stockpiles by clicking on the displayed link.

[1564] Operational support

[1565] The server tracks the expiration dates or best-before dates of the stockpiled items registered in the database and generates alerts when the expiration date approaches. The alerts are notified to the user in the form of "The expiration date of your registered rice is approaching." Users can receive the notification and take appropriate action to update their stockpiles if necessary.

[1566] Utilizing the Emotion Engine

[1567] The device is equipped with an emotion engine that uses a camera and microphone to recognize emotions from the user's facial expressions and voice. For example, if the user is feeling stressed, the emotion data is sent to the server. The server can then adjust the suggested items in the emergency supplies list based on the acquired emotion data. Specifically, if the user is feeling stressed, the server will suggest emergency supplies that are easier to prepare. The server can also adjust the content and tone of alert messages based on the emotion data. When the user is relaxed, the alert message is displayed in a softer tone.

[1568] Main technologies and libraries used

[1569] Hardware: Smartphone, tablet (with built-in camera and microphone)

[1570] software:

[1571] User Interface:React Native

[1572] Backend: Node.js, Express

[1573] Database: MongoDB

[1574] Emotion engine: Facial recognition and speech recognition APIs (e.g., Amazon Rekognition, Google Speech-to-Text)

[1575] Communication: Socket.IO

[1576] Prompt Sentence Examples

[1577] Please input the user's address information, living environment information, family composition information, and stockpiling period information, and suggest a list of necessary supplies. Also, please analyze the user's emotional state and notify them accordingly.

[1578] The above is an embodiment of the present invention.

[1579] The flow of the specific processing in the application example 2 will be described with reference to FIG.

[1580] Step 1:

[1581] The user opens the application on their smartphone or tablet and enters address information, living environment information, family composition information, and stockpile period information. This information is entered into a form on the device and sent to the server by pressing the send button. The entered information will be in a format such as "Tokyo, detached house, 2 adults, 1 child, 2 weeks."

[1582] Step 2:

[1583] The information sent from the device reaches the server, which saves it in a database. MongoDB is used for saving the information, and the information is stored in a structured format (for example, JSON). After saving, the server generates a message confirming registration and sends it to the device. The input is address, living environment, family composition, and storage period information, and the output is a message confirming registration completion.

[1584] Step 3:

[1585] The server calculates a list of necessary supplies based on user information stored in the database. A specific algorithm is used for the calculation, determining the type and amount of supplies to stockpile based on calculation criteria such as "10 kg of rice and 20 liters of water per adult." The results of this calculation are generated as a list and sent to the terminal. The input is user information, and the output is the list of supplies.

[1586] Step 4:

[1587] The terminal displays the received stockpile list to the user. The user selects the desired stockpile item from the displayed list and inputs the selection information into the terminal. The input is the stockpile item list, and the output is the selected stockpile item information.

[1588] Step 5:

[1589] The selected stockpile product information sent from the device is received by the server, which then generates a purchase link or purchase information based on this information. Link generation uses information from external APIs and online stores. For example, a link is created in the format "20 kg of rice here, 40 liters of water here." The input is the selected stockpile product information, and the output is the purchase link or purchase information.

[1590] Step 6:

[1591] The generated purchase link or purchase information is sent to the terminal, which displays it to the user. By clicking the link, the user can access the online store and easily purchase the necessary supplies. The input is the purchase link or purchase information, and the output is the display of the link.

[1592] Step 7:

[1593] The server tracks the expiration dates or best-before dates of stockpiled items registered in the database. When the expiration date approaches, the server automatically generates an alert to notify the user. For example, it creates a message such as "The expiration date of your registered rice is approaching." The input is stockpiled item information, and the output is an alert message.

[1594] Step 8:

[1595] The device is equipped with an emotion engine that uses a camera and microphone to recognize emotions from the user's facial expressions and voice. This uses a facial recognition API and a voice recognition API. For example, if the user is feeling stressed, emotion data is generated and sent to the server. The input is the user's facial expressions and voice, and the output is emotion data.

[1596] Step 9:

[1597] The server adjusts the emergency supply list suggestions and notifications based on the acquired emotion data. For example, if the user is feeling stressed, the server will suggest emergency supplies that can be easily prepared and display notifications in a softer tone. The input is emotion data, and the output is the adjusted emergency supply list and notifications.

[1598] The above is a specific processing flow for carrying out the present invention.

[1599] The specific processing unit 290 transmits the result of the specific processing to the headset type terminal 314. In the headset type terminal 314, the control unit 46A causes the speaker 240 and the display 343 to output the result of the specific processing. The microphone 238 acquires audio indicating a user input regarding the result of the specific processing. The control unit 46A transmits audio data indicating the user input acquired by the microphone 238 to the data processing device 12. In the data processing device 12, the specific processing unit 290 acquires the audio data.

[1600] The data generation model 58 is a so-called generative AI (Artificial Intelligence). An example of the data generation model 58 is ChatGPT (Internet Search<URL: https: / / openai.com / blog / chatgpt> ), Gemini (Internet search <url: https: gemini.google.com ?hl="ja">) and other generation AIs. The data generation model 58 is obtained by performing deep learning on a neural network. A prompt including an instruction is input to the data generation model 58, and inference data such as voice data indicating voice, text data indicating text, and image data indicating an image is also input. The data generation model 58 performs inference on the input inference data in accordance with the instruction indicated by the prompt, and outputs the inference result in a data format such as voice data and text data. Here, inference refers to, for example, analysis, classification, prediction, and / or summarization.

[1601] 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 the present disclosure is not limited to this, and the specific processing may be performed by the headset type terminal 314.

[1602] [Fourth embodiment]

[1603] FIG. 7 shows an example of the configuration of a data processing system 410 according to the fourth embodiment.

[1604] 7, a 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.

[1605] The data processing device 12 includes a computer 22, a database 24, and a communication I / F 26. The computer 22 is an example of a "computer" according to the technology of the present disclosure. The computer 22 includes a processor 28, a RAM 30, and a storage 32. The processor 28, the RAM 30, and the storage 32 are connected to a bus 34. The database 24 and the communication I / F 26 are also connected to the bus 34. The communication I / F 26 is connected to a network 54. Examples of the network 54 include a WAN (Wide Area Network) and / or a LAN (Local Area Network).

[1606] The robot 414 includes a computer 36, a microphone 238, a speaker 240, a camera 42, a communication I / F 44, and a control target 443. The computer 36 includes a processor 46, a RAM 48, and a storage 50. The processor 46, the RAM 48, and the storage 50 are connected to a bus 52. The microphone 238, the speaker 240, the camera 42, and the control target 443 are also connected to the bus 52.

[1607] The microphone 238 receives instructions and the like from the user 20 by receiving voice uttered by the user 20. The microphone 238 captures the voice uttered by the user 20, converts the captured voice into audio data, and outputs it to the processor 46. The speaker 240 outputs audio in accordance with instructions from the processor 46.

[1608] Camera 42 is a small digital camera equipped with an optical system including a lens, aperture, and shutter, and an imaging element such as a CMOS (Complementary Metal-Oxide-Semiconductor) image sensor or a CCD (Charge Coupled Device) image sensor, and captures images of the surroundings of user 20 (for example, an imaging range defined by an angle of view equivalent to the field of vision of a typical healthy person).

[1609] The communication I / F 44 is connected to a network 54. The communication I / Fs 44 and 26 are responsible for the exchange of various information between the processor 46 and the processor 28 via the network 54. The exchange of various information between the processor 46 and the processor 28 using the communication I / Fs 44 and 26 is carried out in a secure state.

[1610] The control object 443 includes a display device, LEDs in the eyes, and motors for driving 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 emotions of the robot 414 can be expressed by controlling these motors. In addition, the facial expressions of the robot 414 can also be expressed by controlling the light emission state of the LEDs in the eyes of the robot 414.

[1611] Fig. 8 shows an example of the main functions of the data processing device 12 and the robot 414. As shown in Fig. 8, in the data processing device 12, a specific process is performed by the processor 28. A specific process program 56 is stored in the storage 32.

[1612] The specific processing program 56 is an example of a "program" according to the technology of the present 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.

[1613] The storage 32 stores a data generation model 58 and an emotion identification model 59. The data generation model 58 and the emotion identification model 59 are used by the identification processing unit 290.

[1614] In the robot 414, the processor 46 performs the reception output process. A reception output program 60 is stored in the storage 50. 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 process is realized by the processor 46 operating as the control unit 46A in accordance with the reception output program 60 executed on the RAM 48.

[1615] Next, a description will be given of the specific processing performed by the specific processing unit 290 of the data processing device 12. In the following description, the data processing device 12 will be referred to as a "server" and the robot 414 will be referred to as a "terminal."

[1616] This system proposes necessary emergency supplies based on address information, living environment information, family composition information, and stockpile period information registered by users, and supports them from purchase to operation. This system realizes various functions by exchanging information between the server, terminals (PCs, smartphones, tablets, etc.), and users.

[1617] Registering user information

[1618] Users access the app or web system and enter their address, living environment, family composition, and stockpiling period. For example, if a user lives in Tokyo, they enter "Tokyo" as their address information, and enter that they live in a detached house with a garden as living environment information. They can enter two adults and one child as their family composition and specify two weeks as the stockpiling period.

[1619] The terminal generates a request to transmit the input information to the server.

[1620] The server stores the received user information in a database and sends a message confirming the completion of registration to the terminal.

[1621] Suggestions for stockpiling supplies

[1622] The server retrieves the user's registration information from the database and calculates the necessary supplies based on the information entered. For example, it calculates that the user's family will need 20 kg of rice, 40 liters of water, and 20 cans of food to last for two weeks.

[1623] The server generates a list of stockpiles from the calculation results and transmits this list to the terminal.

[1624] The terminal displays the sent stockpile list to the user, and the user can check the stockpile list.

[1625] Purchase Support

[1626] Users can select the items they want to stockpile from a list of suggestions, for example, 20 kg of rice and 40 liters of water.

[1627] The terminal transmits a list of the selected stockpiles to the server.

[1628] The server generates a purchase link or purchase information for the selected stockpile item, for example, a link that says, "Click here to buy 20 kg of rice or 40 liters of water at online store A."

[1629] The server sends a response containing these purchase links to the terminal, which then displays the links to the user. The user can easily purchase the stockpiles by clicking the displayed links.

[1630] Operational support

[1631] The server tracks the expiration dates or expiry dates of stockpiled items registered in the database. For example, rice has a one-year expiration date, while water has a six-month expiration date.

[1632] When the expiration date approaches, the server automatically generates an alert, creating a message such as "The expiration date of your registered rice is approaching."

[1633] The server sends this alert message to the terminal, which then notifies the user, who can then take appropriate action to update their stockpile if necessary.

[1634] In this way, this system provides comprehensive support, from registering user information to suggesting stockpiles, purchasing support, and operational support, allowing each household to efficiently manage their stockpiles.

[1635] The processing flow will be explained below.

[1636] Step 1:

[1637] User: Launch the app or web system and enter address information, living environment information, family composition information, and stockpile period information on the initial setup screen.

[1638] Step 2:

[1639] Terminal: Generates a request to send the entered user information to the server.

[1640] Step 3:

[1641] Terminal: Sends the request to the server.

[1642] Step 4:

[1643] Server: Stores the received user information in a database.

[1644] Step 5:

[1645] Server: Generate a confirmation message confirming user registration completion.

[1646] Step 6:

[1647] Server: Sends a confirmation message to the device.

[1648] Step 7:

[1649] Terminal: Display a confirmation message to the user.

[1650] Step 8:

[1651] Server: Retrieves user information from the database.

[1652] Step 9:

[1653] Server: Calculates the list of necessary supplies based on the user's registration information.

[1654] Example: Calculate a two-week supply of 20 kg of rice, 40 liters of water, 20 cans of food, etc.

[1655] Step 10:

[1656] Server: Generates the calculated stockpile list.

[1657] Step 11:

[1658] Server: Generates a response to send the stockpile list to the device.

[1659] Step 12:

[1660] Server: Sends the response to the device.

[1661] Step 13:

[1662] Terminal: Receives the stockpile list and displays it to the user.

[1663] Step 14:

[1664] User: Select the item they want to purchase from the suggested list.

[1665] Example: Select "20 kg of rice" and "40 liters of water".

[1666] Step 15:

[1667] Terminal: Generates a request to send the user's selection information to the server.

[1668] Step 16:

[1669] Terminal: Sends the request to the server.

[1670] Step 17:

[1671] Server: Generates a purchase link or instructions based on the received selection information.

[1672] Step 18:

[1673] Server: Generate a response containing a purchase link and purchase information.

[1674] Step 19:

[1675] Server: Sends the response to the device.

[1676] Step 20:

[1677] Device: Display the purchase link and purchase information to the user.

[1678] Step 21:

[1679] Server: Periodically checks the expiration dates or expiry dates of stockpiled items registered in the database.

[1680] Step 22:

[1681] Server: Generates alerts for expiring supplies.

[1682] For example: "The rice is nearing its expiration date."

[1683] Step 23:

[1684] Server: Generates a response to send an alert message to the device.

[1685] Step 24:

[1686] Server: Sends the response to the device.

[1687] Step 25:

[1688] Terminal: Notify the user of the alert message.

[1689] Step 26:

[1690] User: Update their supplies as needed through the app.

[1691] Example 1

[1692] Next, a description will be given of Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the robot 414 will be referred to as a "terminal."

[1693] It is important to systematically manage the stockpiles necessary for disaster prevention and countermeasures at home and in facilities, but selecting the appropriate stockpiles is difficult because the types and quantities of stockpiles needed vary depending on the region, living environment, family composition, etc. In addition, purchasing the selected stockpiles and managing their expiration dates can be cumbersome, often placing a burden on users. Currently, there are few systems that comprehensively solve these issues, so a system that allows users to efficiently manage stockpiles is needed.

[1694] The specific processing by the specific processing unit 290 of the data processing device 12 in the first embodiment is realized by the following means.

[1695] In this invention, the server includes terminal means for inputting address information, living environment information, family composition information, and stockpiling period information and transmitting this information to the server, server means for saving the input information in a database, means for retrieving the saved information from the database and calculating a list of necessary stockpiles, means for generating the calculated list of stockpiles and sending it to the terminal for display, means for generating a purchase link or purchase information based on a user's selection, means for sending the generated purchase link or purchase information to the terminal for display so that the user can complete the purchase procedure, means for tracking the expiration dates or best-before dates of stockpiled items and generating an alert when the expiration date approaches, and means for sending the generated alert to the terminal to notify the user. This allows users to select appropriate stockpiles based on individual conditions such as address information and family composition, and to centrally purchase and manage them.

[1696] "Address information" is geographical data of the location where the user resides, including the city, ward, town, village, prefecture, and specific address.

[1697] "Living environment information" is information about the physical environment of a residence, including details such as whether it is a detached house or an apartment, and whether it has a garden.

[1698] "Family composition information" is information showing details of the members belonging to the user's household, including, for example, the number of adults and children, and their age groups.

[1699] "Stockpile period information" is information indicating the period for which supplies are required to be stored as spares, and specifies the period for which stockpile is required, such as one week, two weeks, or one month.

[1700] "Terminal means" refers to devices that allow users to input information or receive and display data from a server, and primarily includes PCs, smartphones, tablets, etc.

[1701] "Server means" refers to a central processing unit for receiving information sent by users and storing it in a database.

[1702] A "database" refers to an information system for systematically storing and managing information such as a user's address, living environment, family structure, and stockpile period.

[1703] The "stockpile list" shows a list of necessary supplies calculated based on conditions specified by the user.

[1704] "Purchase Links or Information" includes online shop links and necessary purchase information for purchasing selected stockpiles.

[1705] "Use by date or expiry date" is data indicating the period during which stockpiled goods can maintain their quality, after which it is no longer recommended for use.

[1706] "Alert" refers to a warning message that notifies the user when the expiration date or expiry date of a stockpile item is approaching.

[1707] This system suggests necessary emergency supplies based on address information, living environment information, family composition information, and stockpile period information registered by users, and supports them from purchase to operation. This system operates by exchanging information mainly between a server, terminals (PCs, smartphones, tablets, etc.), and users.

[1708] Registering and saving user information

[1709] Using a web or mobile app, users enter information such as their address, living environment, family composition, and stockpiling period. For example, a user might enter "Tokyo," "detached house," "with garden," "two adults, one child," and "two weeks' stockpiling period."

[1710] The terminal collects this input information and generates a request to send to the server, where the input information is sent in an appropriate format.

[1711] The server stores the received user information in a database. A confirmation message indicating the completion of registration is generated and sent from the server to the terminal. The terminal displays the confirmation message to the user, informing them that "registration of information has been completed."

[1712] Suggestions for stockpiling supplies

[1713] The server retrieves the user's registration information from the database and calculates the necessary supplies based on the entered information. For example, it uses a specific algorithm to obtain a calculation result such as "20 kg of rice, 40 liters of water, and 20 cans of food for two weeks."

[1714] The server generates a list of emergency supplies based on the calculation results and transmits the list to the terminal, which then displays the received emergency supply list to the user so that the user can check the list.

[1715] Purchase Support

[1716] The user selects the items they want to purchase from the stockpile list, for example, "20 kg of rice" and "40 liters of water."

[1717] The terminal transmits information about the selected stockpile items as a request to the server.

[1718] The server generates a purchase link for the selected emergency supplies. For example, a link such as "Click here for 20 kg of rice or 40 liters of water at online store A" is generated. A response containing this link is sent from the server to the terminal, which displays it to the user. The user can click the link to easily purchase the emergency supplies from the online store.

[1719] Operational support

[1720] The server runs scheduled jobs to track expiration dates and best-before dates for stockpiled items stored in a database. For example, information such as "rice has a best-before date of one year, water has a best-before date of six months" is stored in the database.

[1721] When the expiration date approaches, the server generates an alert, for example, a message saying "The expiration date of the registered rice is approaching."

[1722] The server sends an alert message to the device, which then notifies the user, who can then update or purchase supplies.

[1723] Specific examples

[1724] For example, suppose a user inputs the following information into the system: address is "Tokyo," living environment is "detached house with garden," family composition is "2 adults, 1 child," and stockpile period is "2 weeks."

[1725] Example prompt sentence:

[1726] Please suggest the supplies needed for a two-week emergency stockpile for a family of two adults and one child living in Tokyo. Please also provide a link to where you can purchase the suggested supplies.

[1727] When this prompt is fed into a generative AI model, it outputs a suggested list of supplies you need to stock up on and links to purchase them.

[1728] This system comprehensively covers the entire process from registering user information to suggesting stockpiles, purchasing support, and operational support, enabling efficient stockpile management for each household.

[1729] The flow of the identification process in the first embodiment will be described with reference to FIG.

[1730] Step 1:

[1731] Users launch the web or mobile app, create an account, and log in. After logging in, users enter their address information, living environment information, family composition information, and stockpile period information. Specifically, they enter "Tokyo," "detached house," "with garden," "2 adults, 1 child," and "stockpile period of 2 weeks." This is the input information.

[1732] Step 2:

[1733] The terminal checks the information entered by the user in real time to ensure that all required fields have been entered correctly. If there are no errors, it generates a request to send the entered information to the server. This request includes the address information, living environment information, family composition information, and stockpile period information entered by the user. This is the process of sending the entered information to the server.

[1734] Step 3:

[1735] The server receives the information sent from the device. It processes the received information to store it in the database. At this time, the input information is converted into an appropriate format and stored in the database. For example, the database may store information such as "Address: Tokyo, Living environment: Detached house with garden, Family composition: 2 adults, 1 child, Stockpile period: 2 weeks." After the information has been stored, it generates a confirmation message that registration is complete and sends it to the device as a response.

[1736] Step 4:

[1737] The terminal receives a confirmation message from the server that registration has been completed, and displays a notification to the user such as "Information registration has been completed." This allows the user to confirm that the information has been registered correctly.

[1738] Step 5:

[1739] The server retrieves registered user information from the database. Based on this information, it performs data calculations to calculate the necessary supplies. Specifically, it calculates that "20 kg of rice, 40 liters of water, and 20 cans of food will be needed for two weeks." A specific algorithm is used for the calculation. This is the calculation result.

[1740] Step 6:

[1741] The server generates a list of supplies based on the calculation results and sends this list to the terminal. The list includes the necessary supplies and their quantities. For example, a list such as "20 kg of rice, 40 liters of water, and 20 cans of food" may be generated.

[1742] Step 7:

[1743] The terminal receives the list of stockpiled items sent from the server and displays it to the user, who can check the list and understand the contents of the stockpiled items displayed.

[1744] Step 8:

[1745] The user selects the items they want to purchase from the displayed list of stockpiled goods. For example, they select "20 kg of rice" and "40 liters of water." This becomes the user's selection information.

[1746] Step 9:

[1747] The terminal generates a request to transmit the user's selection information to the server, the request including the information on the stockpile items selected by the user.

[1748] Step 10:

[1749] The server receives information about the stockpile items selected by the user and generates a purchase link for that item. For example, it generates a link that reads, "Click here to purchase 20 kg of rice or 40 liters of water from online store A." This link is generated as a response.

[1750] Step 11:

[1751] The terminal displays the purchase link received from the server to the user, who can click the displayed link to access the online store and easily purchase the selected stockpile item.

[1752] Step 12:

[1753] The server runs a scheduled job to track the expiration dates and use-by dates of stockpiled items stored in the database. For example, information such as "rice expires in one year, and water expires in six months" is stored in the database. This is the configuration information for data tracking.

[1754] Step 13:

[1755] When the expiration date approaches, the server generates an alert. For example, it creates a message saying, "The expiration date of the registered rice is approaching." This is the alert information.

[1756] Step 14:

[1757] The server sends the generated alert to the terminal, and the terminal notifies the user of the alert. The user receives the notification and can update or purchase stockpiles as necessary.

[1758] (Application example 1)

[1759] Next, a description will be given of Application Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the robot 414 will be referred to as a "terminal."

[1760] In modern households, it is important to stockpile supplies in preparation for disasters. However, many people find it difficult to accurately grasp the types and quantities of supplies needed and manage them appropriately. Furthermore, purchasing supplies and managing their expiration dates can be time-consuming, resulting in insufficient supplies. Furthermore, supplies often go to waste when they expire. To solve these problems, a system is needed that allows users to easily and effectively manage their stockpiles.

[1761] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 1 is realized by the following means.

[1762] In this invention, the server includes means for inputting address information, living environment information, family composition information, and stockpile period information, means for saving the input information in a database, means for calculating a list of necessary stockpiles based on the saved information, means for generating and displaying the calculated list of stockpiles, means for generating a purchase link or purchase information based on a user's selection, means for tracking expiration dates or best-before dates of stockpiles and generating alerts, means for notifying the user of the generated alerts, means for linking with a delivery service to enable the user to easily purchase stockpiles, means for automatically updating information on purchased stockpiles in the database, means for tracking and analyzing stockpile purchase history, and means for recommending necessary stockpiles based on the analysis. This enables users to easily select, purchase, and manage appropriate stockpiles according to their family composition and living environment.

[1763] "Address information" is information entered by the user to identify the place of residence.

[1764] "Living environment information" is information about the type of residence of the user and the surrounding conditions.

[1765] "Family composition information" is information relating to the composition of people in the user's household.

[1766] The "stockpiling period information" is information indicating the target period for which the user intends to stockpile.

[1767] A "database" is a system that stores and manages information entered by users and provides necessary information.

[1768] The "stockpile list" is a list of necessary stockpiles calculated based on the user's registered information.

[1769] "Purchase Link" is a link to an online store or delivery service where users can purchase emergency supplies.

[1770] An "alert" is a warning message that notifies you that the expiration date or expiry date of a stockpile item is approaching.

[1771] The "delivery service" is a service that delivers stockpiled items selected by the user to the user's home.

[1772] "Purchase history" is a record of stockpiled items that a user has purchased in the past.

[1773] "Analysis" is the process of finding patterns based on data and recommending necessary supplies.

[1774] The "recommendation means" is a method for suggesting appropriate stockpiles to the user based on the analysis results.

[1775] This system proposes necessary emergency supplies based on address information, living environment information, family composition information, and stockpile period information registered by users, and supports them from purchase to operation. This system realizes various functions by exchanging information between the server, terminals (PCs, smartphones, tablets, etc.), and users.

[1776] Registering user information

[1777] Users access the app or web system and enter their address, living environment, family composition, and stockpiling period. For example, if a user lives in Tokyo, they would enter "Tokyo" as their address information and enter that they live in a detached house with a garden as living environment information. They can enter two adults and one child as their family composition and specify two weeks as the stockpiling period.

[1778] The terminal generates a request to transmit the input information to the server.

[1779] The server stores the received user information in a database and sends a message confirming the completion of registration to the terminal.

[1780] Suggestions for stockpiling supplies

[1781] The server retrieves the user's registration information from the database and calculates the necessary supplies based on the entered information. For example, it calculates that the user's family will need 20 kg of rice, 40 liters of water, 20 cans of food, etc. to survive for two weeks. From the calculation results, the server generates a list of supplies and sends this list to the terminal.

[1782] The terminal displays the sent stockpile list to the user, and the user can check the stockpile list.

[1783] Purchase Support

[1784] The user selects the desired stockpile items from the list of suggestions. For example, they can select 20 kg of rice and 40 liters of water. The terminal then sends the list of selected stockpile items to the server.

[1785] The server generates a purchase link or purchase information for the selected stockpile item, for example, a link that says, "Click here to purchase 20 kg of rice or 40 liters of water from online store A." The server sends a response containing these purchase links to the terminal, which displays the links to the user. The user can easily purchase the stockpile item by clicking the displayed link.

[1786] Operational support

[1787] The server tracks the expiration dates or best-before dates of stockpiled items registered in the database. For example, the expiration date for rice is recorded as one year, and the expiration date for water as six months. When the expiration date approaches, the server automatically generates an alert, creating a message such as "The expiration date of your registered rice is approaching." The server then sends this alert message to the device, which notifies the user. The user receives the notification and can take appropriate action to update the stockpiled items as needed.

[1788] Collaboration with food delivery services

[1789] In this invention, a food delivery service is linked to the system so that the user can easily purchase the emergency supplies they have selected from the food delivery service. The emergency supplies selected by the user are sent to a server, which then sends the information to the delivery service. The delivery service then delivers the corresponding emergency supplies to the user. This allows the user to easily secure the emergency supplies they need.

[1790] Program processing explanation

[1791] The server stores user information using a database management system (e.g., MySQL, PostgreSQL) and implements an algorithm to calculate stockpiles based on the user information. To suggest appropriate stockpiles, the calculated stockpiles list is sent to the device via an application server (e.g., Node.js, Django). Purchase links are obtained from an external API (e.g., a food delivery service API) and presented to the user. Notification services include Firebase Cloud Messaging (FCM) and Apple Push Notification Service (APNs).

[1792] Specific examples

[1793] For example, if a user living in Tokyo registers their information with the app, they will enter that their family consists of two adults and one child. The app will suggest 20 kg of rice, 40 liters of water, and 20 cans of food as a two-week supply. If the user selects 20 kg of rice and 40 liters of water from these suggested items, the app will provide a link to purchase them from an online store or food delivery service. Additionally, when the rice is nearing its expiration date, the app will send a notification informing them that "The expiration date for the registered rice is approaching."

[1794] Prompt Sentence Examples

[1795] "Imagine an application where a user registers their address, living environment, family composition, and stockpiling period information, and the app automatically suggests the food they need to stockpile, and helps them easily purchase the food they want from a food delivery service. Specifically, the system calculates and displays suggested foods from a database, then generates a purchase link and sends notifications when the expiration date is approaching."

[1796] The flow of the specific processing in the application example 1 will be described with reference to FIG.

[1797] Step 1:

[1798] Users access the app or web system and enter address information, living environment information, family composition information, and stockpile period information.

[1799] Input: The user enters information such as address, living environment, family composition, and storage period.

[1800] How it works: The user enters the necessary information into the app's input form and presses the submit button.

[1801] Output: The entered information is saved on the device and the next step is taken.

[1802] Step 2:

[1803] The terminal generates a request to transmit the input information to the server.

[1804] Input: User information entered into the input form.

[1805] Data processing: Converts input information into a format suitable for communication, such as JSON format.

[1806] Operation: After the send button is pressed, the terminal sends the user's input information as a request to the server.

[1807] Output: A user information request is sent to the server.

[1808] Step 3:

[1809] The server stores the received user information in a database and sends a message confirming the completion of registration to the terminal.

[1810] Input: User information request sent from the terminal.

[1811] Data calculation: The process of storing user information in the database.

[1812] Behavior: The server parses the information it receives, stores it in a database, and generates a message indicating that registration is complete.

[1813] Output: A confirmation message is sent to the device confirming successful registration.

[1814] Step 4:

[1815] The server retrieves the user's registration information from the database and calculates the necessary supplies.

[1816] Input: User information stored in the database.

[1817] Data calculation: Based on user information, calculate the type and quantity of stockpiled items required according to calculation rules.

[1818] How it works: The server uses algorithms to calculate what supplies you need based on your user information, such as how much food, water, and other essentials you need based on your family size and living environment.

[1819] Output: Calculated stockpile list.

[1820] Step 5:

[1821] The server generates a stockpile list and transmits it to the terminal.

[1822] Input: Calculated stockpile list.

[1823] Data processing: Convert the stockpile list into a format that is easy for users to view.

[1824] How it works: The server lists the calculation results, converts them into a format that is easily understandable to the user, and sends them to the terminal.

[1825] Output: The stockpile list is displayed on the terminal.

[1826] Step 6:

[1827] The user selects the necessary supplies from the list of suggested supplies.

[1828] Input: Proposed stockpile list.

[1829] How it works: The user reviews the list and selects the supplies they need.

[1830] Output: A list of selected stockpiles.

[1831] Step 7:

[1832] The terminal transmits the selected stockpile item list to the server.

[1833] Input: A list of supplies selected by the user.

[1834] Data processing: Convert the selected stockpile list into the request format.

[1835] Operation: The device sends the selected stockpile list to the server.

[1836] Output: The list of selected items is sent to the server.

[1837] Step 8:

[1838] The server generates a purchase link for the selected stockpile item and transmits it to the terminal.

[1839] Input: Selected stockpile list.

[1840] Data Calculation: Uses external APIs to generate purchase links.

[1841] How it works: The server generates a purchase link for each item based on the list of selected items. For example, it obtains the purchase link using a food delivery service's API.

[1842] Output: A purchase link will be displayed on the device.

[1843] Step 9:

[1844] The server tracks use-by or expiry dates for stockpiled items registered in the database and generates alerts.

[1845] Input: Stockpile information stored in the database.

[1846] Data calculation: Check the expiry date or expiration date of each stockpile item and generate an alert if the expiry date is approaching.

[1847] How it works: The server periodically checks the database and generates alert messages for supplies that are about to expire.

[1848] Output: The generated alert message.

[1849] Step 10:

[1850] The generated alert is notified to the terminal, which then notifies the user.

[1851] Input: The generated alert message.

[1852] Data processing: Converting messages into a format that can be displayed to the user.

[1853] How it works: The server generates an alert and sends it to the device, which then displays the notification to the user. This uses Firebase Cloud Messaging (FCM) and Apple Push Notification Service (APNs).

[1854] Output: An alert message is displayed to the user.

[1855] Furthermore, an emotion engine that estimates the user's emotion may be further combined. That is, the identification processing unit 290 may estimate the user's emotion using the emotion identification model 59, and perform identification processing using the user's emotion.

[1856] This system suggests necessary emergency supplies based on address information, living environment information, family composition information, and stockpile period information registered by the user, and supports the process from purchase to operation. Furthermore, by combining it with an emotion engine that recognizes the user's emotions, it is possible to make appropriate suggestions and notifications based on the user's emotions. This system realizes various functions by exchanging information between the server, terminals (PCs, smartphones, tablets, etc.), and the user.

[1857] Registering user information

[1858] Users access the app or web system and enter their address, living environment, family composition, and stockpiling period. For example, if a user lives in Tokyo, they enter "Tokyo" as their address information, and enter that they live in a detached house with a garden as living environment information. They can enter two adults and one child as their family composition and specify two weeks as the stockpiling period.

[1859] The terminal generates a request to transmit the input information to the server.

[1860] The server stores the received user information in a database and sends a message confirming the completion of registration to the terminal.

[1861] Suggestions for stockpiling supplies

[1862] The server retrieves the user's registration information from the database and calculates the necessary supplies based on the information entered. For example, it calculates that the user's family will need 20 kg of rice, 40 liters of water, and 20 cans of food to last for two weeks.

[1863] The server generates a list of stockpiles from the calculation results and transmits this list to the terminal.

[1864] The terminal displays the sent stockpile list to the user, and the user can check the stockpile list.

[1865] Purchase Support

[1866] Users can select the items they want to stockpile from a list of suggestions, for example, 20 kg of rice and 40 liters of water.

[1867] The terminal transmits a list of the selected stockpiles to the server.

[1868] The server generates a purchase link or purchase information for the selected stockpile item, for example, a link that says, "Click here to buy 20 kg of rice or 40 liters of water at online store A."

[1869] The server sends a response containing these purchase links to the terminal, which then displays the links to the user. The user can easily purchase the stockpiles by clicking the displayed links.

[1870] Operational support

[1871] The server tracks the expiration dates or expiry dates of stockpiled items registered in the database. For example, rice has a one-year expiration date, while water has a six-month expiration date.

[1872] When the expiration date approaches, the server automatically generates an alert, creating a message such as "The expiration date of your registered rice is approaching."

[1873] The server sends this alert message to the terminal, which then notifies the user, who can then take appropriate action to update their stockpile if necessary.

[1874] Utilizing the Emotion Engine

[1875] The device is equipped with an emotion engine that recognizes emotions from the user's facial expressions and voice during input and operation. This emotion engine can acquire emotion data such as whether the user is feeling stressed or relaxed.

[1876] The server stores the recognized emotion data in a database, for example, if the user is feeling stressed, it records that information.

[1877] The server can tailor the suggested emergency supplies list based on the recognized emotion data, for example, suggesting easier emergency supplies if the user is feeling stressed.

[1878] The content and tone of alert messages can also be adjusted based on emotional data. For example, when a user is relaxed, alert messages can be displayed in a softer tone.

[1879] In this way, this system provides comprehensive support, from registering user information to suggesting stockpiles, purchasing support, operational support, and even adjusting suggestions and notifications using emotion recognition, allowing each household to efficiently manage their stockpiles.

[1880] The processing flow will be explained below.

[1881] Step 1:

[1882] The user launches the app or web system and enters address information, living environment information, family composition information, and stockpile period information on the initial setup screen.

[1883] Step 2:

[1884] The terminal generates a request to transmit the input user information to the server.

[1885] Step 3:

[1886] The terminal sends a request to the server.

[1887] Step 4:

[1888] The server stores the received user information in a database.

[1889] Step 5:

[1890] The server generates a confirmation message confirming the completion of user information registration.

[1891] Step 6:

[1892] The server sends a confirmation message to the terminal.

[1893] Step 7:

[1894] The terminal displays a confirmation message to the user.

[1895] Step 8:

[1896] The server retrieves the user information from the database.

[1897] Step 9:

[1898] The server calculates a list of necessary supplies based on the user's registration information.

[1899] Example: Calculate a two-week supply of 20 kg of rice, 40 liters of water, 20 cans of food, etc.

[1900] Step 10:

[1901] The server generates a calculated stockpile list.

[1902] Step 11:

[1903] The server generates a response for transmitting the stockpile list to the terminal.

[1904] Step 12:

[1905] The server sends a response to the terminal.

[1906] Step 13:

[1907] The terminal receives the stockpile list and displays it to the user.

[1908] Step 14:

[1909] The user selects the items they wish to purchase from the suggested list.

[1910] Example: Select 20 kg of rice and 40 liters of water.

[1911] Step 15:

[1912] The terminal generates a request to transmit the user's selection information to the server.

[1913] Step 16:

[1914] The terminal sends a request to the server.

[1915] Step 17:

[1916] The server generates a purchase link or method based on the received selection information.

[1917] Step 18:

[1918] The server generates a response that includes a purchase link and purchase information.

[1919] Step 19:

[1920] The server sends a response to the terminal.

[1921] Step 20:

[1922] The terminal displays the purchase link and purchase information to the user.

[1923] Step 21:

[1924] The server periodically checks the expiration dates or expiry dates of stockpiled items registered in the database.

[1925] Step 22:

[1926] The server generates alerts for supplies that are about to expire.

[1927] Example: The rice is nearing its expiration date.

[1928] Step 23:

[1929] The server generates a response for sending an alert message to the terminal.

[1930] Step 24:

[1931] The server sends a response to the terminal.

[1932] Step 25:

[1933] The terminal notifies the user of the alert message.

[1934] Step 26:

[1935] Users can update their stockpiles as needed through the app.

[1936] Step 27:

[1937] The device uses an emotion engine to recognize the user's input, facial expressions, and voice during operation.

[1938] Step 28:

[1939] The terminal transmits the recognized emotion data to the server.

[1940] Step 29:

[1941] The server stores the emotion data in a database.

[1942] Step 30:

[1943] The server recalculates the suggested stockpile list based on the recognized emotion data.

[1944] Step 31:

[1945] The server generates an adjusted stockpile list and transmits it to the terminal.

[1946] Step 32:

[1947] The terminal receives the adjusted stockpile list and displays it to the user.

[1948] Step 33:

[1949] The server implements a mechanism for adjusting the tone and content of the alert message based on the emotion data.

[1950] Step 34:

[1951] The server generates and sends a tailored alert message to the terminal.

[1952] Step 35:

[1953] The terminal notifies the user of the adjusted alert message.

[1954] Example 2

[1955] Next, a description will be given of Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the robot 414 will be referred to as a "terminal."

[1956] Conventional emergency supply management systems suggest necessary emergency supplies based on input such as address information, living environment information, family composition information, and stockpile period information, but many of these systems do not take into account the user's emotional state. As a result, they are unable to provide optimal suggestions to reduce the user's stress and anxiety, and do not sufficiently improve the user experience. Furthermore, even if there is a function to track the expiration dates of emergency supplies, the notifications do not take the user's emotions into consideration, which can increase the user's burden.

[1957] The specific processing by the specific processing unit 290 of the data processing device 12 in the second embodiment is realized by the following means.

[1958] In this invention, the server includes means for inputting address information, living environment information, family composition information, and stockpiling period information, means for saving the input information in a database, means for calculating a list of necessary stockpiles based on the saved information, means for generating and displaying the calculated stockpiling list, means for generating a purchase link or purchase information based on a user's selection, means for tracking expiration dates or best-before dates of stockpiled items and generating alerts, means for notifying the user of the generated alerts, means for recognizing the user's emotions and adjusting the suggested contents of the stockpiling list and alert messages based on the recognized emotions, and means for saving the emotion data in a database. This enables appropriate stockpiling item suggestions and notifications to be made taking into account the user's emotional state, improving the user experience and reducing the burden on the user.

[1959] "Address information" refers to information about the specific area or place where the user resides.

[1960] "Living environment information" refers to information about the physical environment and surroundings in which the user lives. For example, it includes information about whether the house is a detached house with a garden.

[1961] "Family composition information" refers to information about the number and relationships of a user's family members. For example, a family may include two adults and one child.

[1962] "Stockpile period information" refers to information about the period for which the user needs to prepare stockpiles. For example, it includes information that a two-week supply of stockpiles is required.

[1963] A "database" is a system for organizing and storing input information, calculation results, emotional data, etc.

[1964] The "stockpile list" is a list that indicates the specific types and quantities of necessary stockpile items that are recommended to the user.

[1965] An "emotion engine" is software or hardware that recognizes emotions from a user's facial expressions, voice, etc.

[1966] An "alert" is a message that alerts or notifies the user.

[1967] "Purchase Link" means a URL or connection information that allows a User to purchase an emergency supply item online.

[1968] An "HTTP request" is a communication method used by a terminal to request a specific process from a server.

[1969] The "JSON format" is a lightweight data exchange format for representing data in text.

[1970] The present invention is a system that allows users to input address information, living environment information, family composition information, and stockpiling period information, and based on that information, suggests necessary stockpiles and supports them from purchase to operation. Furthermore, it aims to improve the user experience by utilizing an emotion engine that recognizes the user's emotions and making suggestions and notifications according to the user's emotional state. Specific embodiments are described below.

[1971] Registering user information

[1972] The user accesses the app or web system and enters their address, living environment, family composition, and stockpiling period. For example, suppose the user enters "Tokyo," lives in a detached house, has a family of "two adults and one child," and has a stockpiling period of "two weeks."

[1973] The device generates an HTTP request to send this input information to the server in JSON format. For example, the input information is included in the request in the following format:

[1974] json

[1975] {"address": "Tokyo", "livingEnvironment": "Detached house", "familyStructure": "2 adults and 1 child", "stockpileDuration": "2 weeks"}

[1976] The server will then parse the information appropriately and store it in a MySQL database, for example by executing an INSERT statement to store the data as follows:

[1977] sql

[1978] INSERT INTO user_info (address, living_environment, family_structure, stockpile_duration) VALUES ("Tokyo", "Detached house", "2 adults and 1 child", "2 weeks")

[1979] The server generates a JSON message confirming the completion of registration and sends it to the device. For example, it returns a response like this:

[1980] json

[1981] {"status": "success", "message": "Registration completed"}

[1982] The terminal displays the received message to the user, for example, a pop-up message saying "User information registration completed."

[1983] Suggestions for stockpiling supplies

[1984] The server retrieves the user's registration information from the database and calculates the necessary supplies based on that information. For example, it calculates that a family needs 20 kg of rice, 40 liters of water, and 20 cans of food to survive for two weeks.

[1985] Using the calculation results, the server generates a stockpile list in JSON format and sends it to the terminal. The response is as follows:

[1986] json

[1987] {"status": "success", "stockpile_list": {"rice": "20kg", "water": "40L", "canned_food": "20 pieces"}}

[1988] The device displays the received list of stockpiled items to the user. For example, the app screen might show a list such as "Rice: 20 kg, Water: 40 L, Canned goods: 20."

[1989] Purchase Support

[1990] The user selects the desired stockpile items from the list of suggestions, for example, 20 kg of rice and 40 liters of water.

[1991] The device sends the list of selected stockpiles in JSON format to the server, as follows:

[1992] json

[1993] {"selected_items": {"rice": "20kg", "water": "40L"}}

[1994] The server generates a purchase link for the selected stockpile item, for example, "20 kg of rice here, 40 liters of water here at Online Store A." The server sends a response containing these purchase links to the terminal in JSON format:

[1995] json

[1996] {"links": [{"item": "Rice 20kg", "url": "http: / / storeA.com / rice20kg"}, {"item": "Water 40L", "url": "http: / / storeA.com / water40L"}]}

[1997] The device displays a purchase link to the user. For example, it displays a link such as "Click here for 20 kg of rice" or "Click here for 40 L of water" and makes it clickable by the user.

[1998] Operational support

[1999] The server tracks the expiration dates or expiry dates of the stockpiled items in the database, for example by periodically checking the expiration date of each stockpile item stored in a MySQL database.

[2000] When the expiration date approaches, the server automatically generates an alert message, such as "The expiration date of the registered rice is approaching." The generated alert message is sent to the terminal in JSON format:

[2001] json

[2002] {"alert": "The expiration date of your registered rice is approaching"}

[2003] The device will display this alert message to the user as a pop-up notification, for example, a notification at the top of the screen saying, "The expiration date of your registered rice is approaching."

[2004] Utilizing the Emotion Engine

[2005] The device activates an emotion engine to recognize emotions from the user's facial expressions and voice during input and operation. This engine captures the user's facial expressions and voice using a camera and microphone and analyzes them using an AI model.

[2006] The device sends the recognized emotion data in JSON format to the server. Example of the sent content:

[2007] json

[2008] {"emotion": "stress"}

[2009] The server stores the recognized emotion data in a database, for example by executing the following SQL query:

[2010] sql

[2011] INSERT INTO emotion_data (user_id, emotion) VALUES (?, "stress")

[2012] The server adjusts the suggested stockpile items based on the emotional data. For example, if the user is feeling stressed, it suggests easier-to-prepare items (such as instant foods).

[2013] The content and tone of the alert message are also adjusted based on the user's emotional state. For example, when the user is relaxed, a softer tone will be displayed saying, "Don't worry! The expiration date for your registered rice is approaching."

[2014] Example prompts to input to the generative AI model

[2015] Generate a suggested stockpile list for the user based on the following information:

[2016] Address: Tokyo

[2017] Living environment: Detached house with garden

[2018] Family composition: 2 adults, 1 child

[2019] Stockpile period: 2 weeks

[2020] If users are feeling stressed, suggest some easy-to-prepare supplies.

[2021] The flow of the identification process in the second embodiment will be described with reference to FIG.

[2022] Step 1:

[2023] Users access the app or web system and enter their address, living environment, family composition, and stockpiling period. For example, they enter "Tokyo" as the address, "detached house with a garden" as the living environment, "two adults and one child" as the family composition, and "two weeks" as the stockpiling period. This information becomes the basic data for suggesting stockpiled items.

[2024] Step 2:

[2025] The device generates an HTTP request to send the information entered by the user to the server in JSON format. For example, the request is generated in the following format: {"address": "Tokyo", "livingEnvironment": "detached house", "familyStructure": "2 adults and 1 child", "stockpileDuration": "2 weeks"}. This ensures that the entered information is transferred appropriately.

[2026] Step 3:

[2027] The server parses the information it receives and stores it in a MySQL database by executing the following SQL query: INSERT INTO user_info (address, living_environment, family_structure, stockpile_duration) VALUES ("Tokyo", "Single-family home", "2 adults and 1 child", "2 weeks"). The user information is then stored securely in the database.

[2028] Step 4:

[2029] The server generates a confirmation message in JSON format to confirm the completion of registration and sends it to the terminal. For example, it notifies the user of success by generating a response such as {"status": "success", "message": "Registration completed"}. This allows the user to confirm that the information has been registered correctly.

[2030] Step 5:

[2031] The terminal displays the received confirmation message to the user. Specifically, it displays a pop-up message saying "User information registration completed," allowing the user to proceed to the next action.

[2032] Step 6:

[2033] The server retrieves the user's registration information from the database. For example, it executes the SQL query SELECT FROM user_info WHERE user_id = ? to retrieve the stored user information. By analyzing this information, it obtains the basic data for calculating the necessary supplies.

[2034] Step 7:

[2035] The server calculates the necessary supplies based on the acquired user information. For example, it calculates that a family needs 20 kg of rice, 40 liters of water, and 20 cans of food to survive for two weeks. The calcula...

Claims

1. A means for inputting address information, living environment information, family composition information, and stockpiling period information; a means for storing the entered information in a database; A means for calculating a list of necessary supplies based on the stored information; means for generating and displaying the calculated stockpile list; means for generating a purchase link or purchase information based on a user selection; a means of tracking and generating alerts for use-by or expiry dates on stockpiled items; The system includes a means for notifying a user of a generated alert.

2. 2. The system according to claim 1, further comprising means for calculating the quantity of necessary stockpiles based on the input address information, living environment information, family structure information, and stockpiling period information.

3. The system of claim 1 , further comprising means for displaying the generated stockpile list and a purchase link to the user.

Citation Information

Patent Citations

  • Persona chatbot control method and system

    JP2022180282A