System
The system addresses the need for empathetic and anonymous mental health support by generating personalized responses and advice, reducing user stress and improving mental well-being.
Patent Information
- Application Number
- JP2024126348
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-08-01
- Publication Date
- 2026-02-13
AI Technical Summary
Modern society faces challenges in providing individuals with effective means to discuss mental health concerns, seek emotional support, and receive empathetic responses while maintaining anonymity and avoiding complex interpersonal relationships.
A system that receives and analyzes user input, generates empathetic responses and appropriate advice, and presents them through selected avatars, while saving dialogue history and emotional state updates, allowing users to safely express their feelings and receive support.
The system enables users to reduce stress and worries by providing empathetic and personalized responses, supporting their mental health through anonymous interaction and effective advice.
Smart Images

Figure 2026024027000001_ABST
Abstract
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] In modern society, many business professionals and young people are burdened with stress and worries in their busy daily lives. However, they face challenges such as difficulty in finding a suitable person to talk to, or time constraints that prevent them from seeking professional advice. There is also a need to avoid privacy concerns and complex interpersonal relationships. Given this situation, there is a demand for new methods that can help users organize their thoughts and provide emotional support. [Means for solving the problem]
[0005] To solve the above problems, the present invention provides a system that receives and analyzes input data from a user, and generates and presents empathetic responses and appropriate advice. The system of the present invention has the functions of presenting multiple avatars that the user can select, saving the selected avatar in the user's profile, and conducting a dialogue using that avatar. It also has the functions of saving dialogue history and session information, updating the user's emotional state, and receiving and saving feedback from the user, thereby realizing a system that supports the user's mental health.
[0006] "User" refers to a person who uses the system.
[0007] "Input data" refers to information such as text or voice that a user sends to a system.
[0008] "Means for receiving" refers to devices or software that have the function of acquiring input data and incorporating it into the system.
[0009] "Means for analysis" refers to devices or software that analyze received input data, understand its contents, and use them for further processing.
[0010] An "empathetic response" refers to a response that is designed to empathize with the user's emotions and demonstrate understanding.
[0011] "Advice" refers to a response that provides a solution or advice to the user's worries or problems.
[0012] "Presenting means" refers to a device or software that has the function of displaying or conveying the generated empathetic response or advice to the user.
[0013] An "avatar" refers to a character or icon that can be selected by a user and is used as the user's alter ego during interaction.
[0014] A "profile" refers to a collection of information associated with a user, including an avatar and history.
[0015] "Interaction history" refers to a record of past interactions between a user and a system.
[0016] "Session Information" refers to data about a particular interactive session, including start time, end time, and content exchanged.
[0017] "Emotional state" refers to information that indicates the user's current emotional or psychological state.
[0018] "Feedback" refers to the evaluations and opinions provided by users after using the system. [Brief explanation of the drawings]
[0019] [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
[0020] 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.
[0021] First, the terms used in the following description will be explained.
[0022] 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).
[0023] 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.
[0024] 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.
[0025] 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.
[0026] 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."
[0027] [First embodiment]
[0028] FIG. 1 shows an example of the configuration of a data processing system 10 according to the first embodiment.
[0029] 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.
[0030] 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).
[0031] 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.
[0032] 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.
[0033] 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.
[0034] 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.
[0035] FIG. 2 shows an example of the main functions of the data processing device 12 and the smart device 14.
[0036] 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.
[0037] 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.
[0038] 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.
[0039] 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."
[0040] The present invention relates to a system that receives input data from a user, generates empathetic responses and appropriate advice, and presents them to the user. The purpose of this system is to reduce the user's stress and worries and provide emotional support.
[0041] System Configuration
[0042] The system mainly consists of the following elements:
[0043] User terminal
[0044] server
[0045] Database
[0046] Application Software
[0047] Operation overview
[0048] 1. User Registration
[0049] The user accesses the registration form on the terminal, enters a nickname and password, and submits it. The terminal sends the input data to the server, which generates a new user ID and stores it in the database. After registration is complete, the terminal receives the user ID and displays it to the user.
[0050] Example: A user enters "Tanaka" and "password123" and clicks the submit button. The server generates a new user ID (e.g., user1234) and stores it in the database along with the hash of "Tanaka" and "password123".
[0051] 2. Avatar selection
[0052] The server sends a list of available avatars to the device, which displays them to the user. The user selects the desired avatar and sends the selection to the server via the device. The server saves the selected avatar in the user's profile.
[0053] Example: A user selects a cat avatar and sends it to the server. The server associates the cat avatar with user ID user1234 and saves it.
[0054] 3. Start the dialogue
[0055] When the user clicks the "Start Dialogue" button, the device sends a dialogue start request to the server. The server prepares the generative AI model, generates an initial dialogue message, and sends it to the device. The device displays the initial message to the user and waits for user input.
[0056] Example: The server generates an initial message saying "Hello, how are you today?" and sends it to the terminal, which displays it to the user.
[0057] 4. Offering empathy and advice
[0058] When a user inputs their concerns and clicks the send button, the device sends the input to the server. The server analyzes the input, generates an empathetic response and appropriate advice, and sends it to the device, which then displays it to the user.
[0059] Example: When a user inputs "I'm under a lot of pressure from my boss at work and it's tough," the server generates a response saying "That's really tough. Thank you for your hard work. It's important to praise yourself first," and sends it to the terminal. The terminal then displays this to the user.
[0060] 5. Closing the Dialogue and Recording
[0061] When the user indicates their intention to end the dialogue and clicks the dialogue end button, the terminal sends a dialogue end request to the server. The server saves the session information and dialogue history in a database and sends an end message to the terminal. The terminal displays a feedback form, allowing the user to provide feedback on the dialogue.
[0062] Example: A user types "I'm done for today," and the server stores the session information and interaction history. The device sends feedback such as "That was very helpful" to the server, and the server stores this feedback in a database.
[0063] System Effects
[0064] By using this system, users can safely express their feelings and organize their thoughts while maintaining anonymity. Furthermore, by using a generative AI model, it is possible to provide empathetic and appropriate responses to users. As a result, it is possible to reduce users' daily stress and worries and support their mental health.
[0065] The above is a description of the mode for carrying out the present invention. The present invention is a system that provides important support to people who are stressed or troubled in modern society.
[0066] The processing flow will be explained below.
[0067] Step 1:
[0068] The user accesses the registration form on the terminal and enters a nickname and password.
[0069] Step 2:
[0070] The device sends the entered nickname and password to the server.
[0071] Step 3:
[0072] The server receives the submitted data, generates a new user ID and saves it in the database.
[0073] Step 4:
[0074] The server returns the new user ID to the terminal, and the terminal displays a registration completion message.
[0075] Step 5:
[0076] The server generates a list of available avatars and sends it to the device.
[0077] Step 6:
[0078] The terminal displays a list of avatars to the user, and the user selects the avatar they want.
[0079] Step 7:
[0080] The terminal sends the selected avatar information to the server, which stores it in the user's profile.
[0081] Step 8:
[0082] The user clicks the "Start conversation" button, and the terminal sends a conversation start request to the server.
[0083] Step 9:
[0084] The server prepares the generative AI model, generates an initial message, and sends it to the terminal.
[0085] Step 10:
[0086] The terminal displays an initial message to the user, and the user inputs the content of the consultation.
[0087] Step 11:
[0088] The user enters the consultation details and clicks the send button.
[0089] Step 12:
[0090] The terminal transmits the input consultation content to the server.
[0091] Step 13:
[0092] The server analyzes the consultation content and generates an empathetic response and appropriate advice.
[0093] Step 14:
[0094] The server sends the generated responses and advice to the terminal, which displays them to the user.
[0095] Step 15:
[0096] The user chooses whether to continue or end the interaction.
[0097] Step 16:
[0098] When the user indicates his / her intention to end the dialogue, the terminal transmits a dialogue end request to the server.
[0099] Step 17:
[0100] The server saves the session information and the dialogue history and sends a termination message to the terminal.
[0101] Step 18:
[0102] The terminal displays a feedback form and the user enters the feedback.
[0103] Step 19:
[0104] The terminal sends the feedback information to the server, which stores it in a database.
[0105] Example 1
[0106] 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."
[0107] In modern society, many people suffer from stress and worries, but there are insufficient means to relieve them. In particular, there is a need for a system that provides appropriate advice and empathetic responses while maintaining anonymity. The lack of such a system makes it difficult for users to find a place to discuss their mental worries. Furthermore, there is a lack of effective means to provide users with emotional support and maintain and improve their mental health.
[0108] 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.
[0109] In this invention, the server includes means for receiving input data from a user, means for analyzing the input data and generating an empathetic response and appropriate advice, means for presenting the empathetic response and advice to the user, means for receiving the user's registration information and generating and saving a new user ID, means for notifying the user of the generated user ID, means for receiving a session start request and generating an initial message, means for saving session information and a dialogue history, and means for saving the dialogue history and feedback at the end of the session. This provides an environment where users can safely seek advice about their mental worries while maintaining anonymity, making it possible to reduce users' everyday stress and worries and support their mental health.
[0110] A "user" is someone who uses the system to consult or interact with others.
[0111] "Input data" refers to text or information that a user enters into a system.
[0112] An "empathetic response" refers to a response that shows understanding of the user's feelings and situation and provides a sense of security.
[0113] "Appropriate advice" refers to providing specific and practical solutions or advice to users' problems or concerns.
[0114] "Profile" refers to data that includes personal information such as a user's avatar and registration information.
[0115] "Avatar" refers to an individual character or icon that a user can select.
[0116] "Dialogue history" refers to data that stores the contents of past dialogues exchanged between a user and a system.
[0117] "Session Information" refers to information relating to a particular interactive session (e.g., start time, end time, content of the interaction, etc.).
[0118] "Feedback" refers to user evaluations and opinions about the system and its responses.
[0119] A "generative AI model" refers to an artificial intelligence model that analyzes user input data and generates empathetic responses and appropriate advice.
[0120] The present invention relates to a system that receives input data from a user, generates an empathetic response and appropriate advice, and presents it to the user. This system is mainly composed of the following elements:
[0121] 1. User device (PC, smartphone, tablet, etc.)
[0122] 2. Server (preferably with high-performance data processing capabilities)
[0123] 3. Database (MySQL, PostgreSQL, etc.)
[0124] 4. Application software (HTML, CSS, JavaScript, Python, Node.js, etc.)
[0125] 5. Generative AI models (using APIs such as GPT-3)
[0126] System Configuration
[0127] The system operates via a user terminal, a server, and a database. The user terminal functions as an interface for sending data entered by the user and the contents of the dialogue to the server. The server analyzes the received data, connects with the database, and generates empathetic responses and appropriate advice. The generated results are then sent to the user terminal and presented to the user.
[0128] Operation overview
[0129] User Registration
[0130] First, the user accesses the registration form on the terminal, enters a nickname and password, and submits it. The terminal sends the input data to the server. The server generates a new user ID and stores the nickname and hashed password in a database. After registration is complete, the server sends the generated user ID to the terminal, which displays it to the user.
[0131] Avatar Selection
[0132] The server then sends a list of available avatars to the device, which displays it to the user. The user selects the desired avatar and sends the selection to the server via the device. The server then saves the selected avatar in the user's profile.
[0133] Start a dialogue
[0134] When the user clicks the "Start Dialogue" button, the device sends a dialogue start request to the server. The server launches the generative AI model, generates an initial dialogue message, and sends it to the device. The device displays the initial message to the user and waits for the user's input. Specific examples of prompt sentences are as follows:
[0135] "Hello, how are you today?"
[0136] Offering empathy and advice
[0137] When the user enters the content of their inquiry and clicks the send button, the device sends the input content to the server. The server uses a generative AI model to analyze the input content and generate an empathetic response and appropriate advice. The generated response is sent to the device and displayed to the user. Specific examples of prompt sentences are as follows:
[0138] User input: "I feel a lot of pressure from my boss at work."
[0139] Server response: "That's really tough. Thank you for your hard work. It's important to give yourself a pat on the back."
[0140] Ending the conversation and recording
[0141] When the user indicates their intention to end the dialogue and clicks the dialogue end button, the terminal sends a dialogue end request to the server. The server saves the session information and dialogue history in a database. The server then sends an end message to the terminal, which displays a feedback form. The user enters dialogue feedback, which is sent to the server and then saved in the database.
[0142] Through these steps, users can safely discuss their mental health concerns and receive empathy and advice while maintaining anonymity. By utilizing generative AI models, the system can provide high-quality, personalized responses. This can help reduce users' everyday stress and worries and support their mental health.
[0143] The flow of the identification process in the first embodiment will be described with reference to FIG.
[0144] Step 1: Processing user registration
[0145] Input: The user enters a nickname and password into the registration form on the device and clicks the submit button.
[0146] Operation: The device sends the entered nickname and password to the server.
[0147] Data processing and calculation: The server receives the received data and hashes the password, then generates a new user ID and stores the nickname and hashed password in the database.
[0148] Output: The server sends the generated user ID to the terminal.
[0149] Specific operation: The server generates a user ID called "user1234", saves it, and sends it to the terminal, which then displays it to the user.
[0150] Step 2: Handling avatar selection
[0151] Input: The server sends a list of available avatars to the device. The user selects the desired avatar from the list.
[0152] Operation: The device sends the user's selected avatar information to the server.
[0153] Data processing and calculation: The server stores the selected avatar in the user profile.
[0154] Output: The selected avatar is reflected in the user profile.
[0155] Specific operation: The user selects a cat avatar, and the device sends the selection information to the server. The server saves the cat avatar for user ID user1234.
[0156] Step 3: Handling the conversation start
[0157] Input: User clicks the "Start Interaction" button.
[0158] Operation: The terminal sends a dialogue initiation request to the server.
[0159] Data processing and calculation: The server launches the generative AI model and generates the initial dialogue message.
[0160] Output: The server sends the generated initial message to the terminal.
[0161] Specific operation: The server generates a message saying "Hello, how are you today?" and sends it to the terminal, which displays it to the user.
[0162] Step 4: Process empathy and advice-giving
[0163] Input: The user inputs the consultation content and clicks the send button.
[0164] Operation: The terminal sends the input to the server.
[0165] Data processing and calculation: The server uses a generative AI model to analyze the input and generate empathetic responses and appropriate advice.
[0166] Output: The server sends the generated response to the terminal.
[0167] Specific operation: The user enters "I'm under a lot of pressure from my boss at work and it's tough" and clicks the send button. The server analyzes this, generates a response saying "That's really tough. Thank you for your hard work. It's important to praise yourself first," and sends it to the device. The device then displays this to the user.
[0168] Step 5: End the interaction and handle the recording
[0169] Input: The user clicks the end of interaction button.
[0170] Operation: The terminal sends a dialogue termination request to the server.
[0171] Data processing and calculation: The server saves the session information and the conversation history in a database. Then, it generates an end message and ends the conversation.
[0172] Output: The server sends a finishing message and a feedback form to the terminal.
[0173] Specific operation: The user enters "I'm done for today" and sends a dialogue termination request to the server. The server saves the dialogue history in a database and sends a termination message and a feedback form to the terminal. The terminal displays the feedback form to the user. The user enters feedback, which is sent to the server and stored in the database.
[0174] (Application example 1)
[0175] 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."
[0176] In modern society, the number of people experiencing security-related stress and anxiety is steadily increasing. This burden is particularly significant in workplaces where security management is required, and it is highly likely to negatively impact mental health. However, systems and services for quickly and appropriately alleviating this stress and anxiety have yet to be fully developed. Therefore, an objective of the present invention is to provide a system that provides empathetic responses, appropriate advice, and psychological support to users experiencing security-related stress and anxiety.
[0177] 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.
[0178] In this invention, the server includes means for receiving input data from a user, means for analyzing the input data and utilizing a generative AI model to generate an empathetic response and appropriate advice, means for presenting the empathetic response and advice to the user, and a database containing prompt sentences for generating empathetic responses and advice for security-related stress or anxiety, thereby enabling prompt and appropriate psychological support to be provided to users experiencing security-related stress or anxiety.
[0179] "User" refers to any individual or entity that uses the system.
[0180] "Input data" refers to information provided by a user to a system.
[0181] A "generative AI model" refers to an artificial intelligence model that analyzes user input data and generates empathetic responses and appropriate advice.
[0182] An "empathetic response" refers to a response that is sympathetic to the user's feelings and shows understanding.
[0183] "Appropriate advice" refers to specific and useful advice that addresses the user's situation or concerns.
[0184] "Prompts" refer to standardized statements or instructions that generative AI models use to generate empathetic responses and advice.
[0185] "Database" refers to a system for storing data such as user information, dialogue history, and prompts.
[0186] "Virtual character" refers to a character that resembles a fictional person or animal that can be selected by the user.
[0187] "Dialogue history" refers to a record of interactions between a user and a system.
[0188] "Session Information" refers to information about a particular interactive session.
[0189] The present invention relates to a system for providing empathetic responses and appropriate advice to users experiencing security-related stress or anxiety. The system consists of a user terminal, a server, a database, a generative AI model, and a database containing prompt sentences.
[0190] System Configuration
[0191] 1. User Device
[0192] The user terminal is a device that the user directly uses, such as a smartphone or a head-mounted display (HMD). The user terminal inputs consultation details about security-related stress and worries, and sends and receives data to and from the system.
[0193] 2. Server
[0194] The server receives input data sent from the user's device, analyzes it based on the generative AI model, generates empathetic responses and appropriate advice as the analysis results, and sends them back to the user's device. It also references a database containing security-related prompts.
[0195] 3. Database
[0196] The database is a system that stores user information, interaction history, session information, prompts, etc. In particular, it contains prompts that address security-related stress and concerns, which are used by the generative AI model to generate responses.
[0197] Operation overview
[0198] 1. User Registration
[0199] A user registers by entering a nickname and password on the user's device. The device sends this information to the server. The server generates a new user ID and stores it in the database. Once registration is complete, the user ID is sent back to the device.
[0200] 2. Avatar selection
[0201] The server sends a list of available virtual characters to the user's device and displays it. The user selects the desired virtual character and sends the information to the server. The server saves the selected virtual character in the user's profile.
[0202] 3. Start the dialogue
[0203] When the user starts a dialogue on the terminal, the server prepares the generative AI model and generates an initial dialogue message, which is displayed on the user terminal and waits for the user's input.
[0204] 4. Offering empathy and advice
[0205] When a user inputs and submits their consultation, the device sends the content to the server. The server uses a generative AI model to analyze the input content and generate empathetic responses and advice using appropriate prompts. This is then sent to the user's device and displayed to the user.
[0206] As a specific example, if a user types, "I can't sleep lately because there have been so many unauthorized accesses to my company's systems," the server will generate a response such as, "That's a very stressful situation. First of all, it's important that you consult with an expert. And conducting regular risk assessments may also give you peace of mind," and send it to the user's device.
[0207] 5. Closing the Dialogue and Recording
[0208] When the user wishes to end the dialogue, the terminal sends a request to the server. The server stores the dialogue history and session information in a database and sends an end message to the user terminal. At the same time, a feedback form is displayed so that the user can provide feedback on the dialogue.
[0209] Hardware and software used
[0210] Hardware: Smartphone, Head-Mounted Display (HMD)
[0211] software:
[0212] OpenAI API (text-davinci-003)
[0213] Flask (Python web framework)
[0214] Database systems (such as MongoDB)
[0215] Prompt Sentence Examples
[0216] Below are some example prompts to use with generative AI models:
[0217] "Please provide empathetic and appropriate advice to users who are concerned about security."
[0218] "Please empathize and provide reassuring advice to users who are losing sleep over security issues."
[0219] The flow of the specific processing in the application example 1 will be described with reference to FIG.
[0220] Step 1:
[0221] The user enters a nickname and password using the user terminal to register.
[0222] Input: Nickname and Password
[0223] Specific operation: A user accesses the registration form, enters a nickname (e.g., "Tanaka") and a password (e.g., "password123"), and clicks the submit button.
[0224] Output: The server generates a new user ID (e.g. user1234) and stores it in the database along with the nickname and password hash.
[0225] Step 2:
[0226] The user terminal receives the list of available virtual characters provided by the server and displays it to the user.
[0227] Input: A list of virtual characters provided by the server
[0228] Specific operation: The server retrieves a list of virtual characters stored in the database and sends it to the user's device. The user's device displays the list and the user can select the desired virtual character.
[0229] Output: The information about the virtual character selected by the user is sent to the server, which stores it in the user's profile.
[0230] Step 3:
[0231] The user clicks the "Start conversation" button on the user terminal and receives the initial conversation message generated by the server.
[0232] Input: A request from the user to start a conversation
[0233] Specific operation: The user clicks the dialogue start button, and the terminal sends the request to the server. The server generates an initial dialogue message (e.g., "Hello, how can I help you? Please talk to me.") and sends it to the user terminal.
[0234] Output: An initial message is displayed on the user's terminal.
[0235] Step 4:
[0236] The user inputs their concerns and sends them to the server, which uses a generative AI model to analyze the input and generate an empathetic response and appropriate advice.
[0237] Input: User's consultation (e.g., "Recently, there have been frequent unauthorized accesses to our company's systems, and I can't sleep.")
[0238] How it works: The user enters their consultation content and clicks the send button, and the device sends the content to the server. The server uses a generative AI model to analyze the input content and generate an empathetic response and advice using prompt sentences (e.g., "That's a very stressful situation. It's important to consult a professional first.").
[0239] Output: The generated empathetic responses and advice are sent to the user's terminal and displayed to the user.
[0240] Step 5:
[0241] When the user wishes to end the dialogue, he clicks the dialogue end button. The server saves the dialogue history and session information and sends an end message to the user terminal.
[0242] Input: User request to terminate the dialogue
[0243] Specific operation: The user clicks the dialogue termination button, and the terminal sends the request to the server. The server saves the dialogue history and session information in a database and sends an end message to the user's terminal. At the same time, a feedback form is displayed, allowing the user to provide feedback on the dialogue.
[0244] Output: Interaction history and session information are stored in a database and feedback is sent to the server.
[0245] 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.
[0246] The present invention relates to a system that receives user input data, generates empathetic responses and appropriate advice, and presents them to the user. The present invention also aims to provide responses and advice that reflect the user's emotional state by combining it with an emotion engine that recognizes the user's emotions from the input data.
[0247] System Configuration
[0248] The system mainly consists of the following elements:
[0249] User terminal
[0250] server
[0251] Database
[0252] Emotion Engine
[0253] Application Software
[0254] Operation overview
[0255] 1. User Registration
[0256] The user accesses the registration form on the terminal, enters a nickname and password, and submits it. The terminal sends the input data to the server, which generates a new user ID and stores it in the database. After registration is complete, the terminal receives the user ID and displays it to the user.
[0257] Example: A user enters "Tanaka" and "password123" and clicks the submit button. The server generates a new user ID (e.g., user1234) and stores it in the database along with the hash of "Tanaka" and "password123".
[0258] 2. Avatar selection
[0259] The server sends a list of available avatars to the device, which displays them to the user. The user selects the desired avatar and sends the selection to the server via the device. The server saves the selected avatar in the user's profile.
[0260] Example: A user selects a cat avatar and sends it to the server. The server associates the cat avatar with user ID user1234 and saves it.
[0261] 3. Start the dialogue
[0262] When the user clicks the "Start Dialogue" button, the device sends a dialogue start request to the server. The server prepares the generative AI model, generates an initial dialogue message, and sends it to the device. The device displays the initial message to the user and waits for user input.
[0263] Example: The server generates an initial message saying "Hello, how are you today?" and sends it to the terminal, which displays it to the user.
[0264] 4. Recognizing emotions and providing empathetic responses
[0265] When the user inputs the content of their consultation and clicks the send button, the device sends the input to the server. The server uses an emotion engine to analyze the user's emotions from the input, and generates an empathetic response and appropriate advice based on that. This is then sent to the device and displayed to the user.
[0266] Example: When a user inputs "I'm under a lot of pressure from my boss at work and it's tough," the emotion engine recognizes that the user is feeling stressed. The server generates a response saying, "That's really tough. Thank you for your hard work. It's important to praise yourself first," and sends it to the device. The device then displays this to the user.
[0267] 5. Closing the Dialogue and Recording
[0268] When the user indicates their intention to end the dialogue and clicks the dialogue end button, the terminal sends a dialogue end request to the server. The server saves the session information and dialogue history in a database and sends an end message to the terminal. The terminal displays a feedback form, allowing the user to provide feedback on the dialogue.
[0269] Example: A user types "I'm done for today," and the server stores the session information and interaction history. The device sends feedback such as "That was very helpful" to the server, and the server stores this feedback in a database.
[0270] System Effects
[0271] By using this system, users can safely express their feelings and organize their thoughts while maintaining anonymity. Furthermore, by using an emotion engine, it is possible to accurately recognize the user's emotional state and provide empathetic responses and appropriate advice based on that. As a result, it is possible to reduce the user's daily stress and worries and support their mental health.
[0272] The above is a description of the embodiment of the present invention. The present invention is a system that provides appropriate support while being sensitive to the user's emotions.
[0273] The processing flow will be explained below.
[0274] The present invention relates to a system that receives user input data, generates empathetic responses and appropriate advice, and analyzes the user's emotional state using an emotion engine. The operation of the entire system is explained below, broken down into specific processing steps.
[0275] User Registration
[0276] Step 1:
[0277] The user accesses the registration form on the terminal and enters a nickname and password.
[0278] Step 2:
[0279] The device sends the entered nickname and password to the server.
[0280] Step 3:
[0281] The server receives the submitted data, generates a new user ID, and stores the nickname and hashed password in the database.
[0282] Step 4:
[0283] The server returns the new user ID to the terminal, and the terminal displays a registration completion message.
[0284] Avatar Selection
[0285] Step 5:
[0286] The server generates a list of available avatars and sends it to the device.
[0287] Step 6:
[0288] The device displays a list of avatars to the user.
[0289] Step 7:
[0290] The user selects the desired avatar and transmits the selection result from the terminal to the server.
[0291] Step 8:
[0292] The server stores the selected avatar information in the user's profile.
[0293] Start a dialogue
[0294] Step 9:
[0295] The user clicks the "Start conversation" button.
[0296] Step 10:
[0297] The terminal sends a dialogue initiation request to the server.
[0298] Step 11:
[0299] The server prepares the generative AI model, generates initial dialogue messages, and sends them to the terminal.
[0300] Step 12:
[0301] The terminal displays a welcome message to the user and waits for user input.
[0302] Recognizing emotions and providing empathetic responses
[0303] Step 13:
[0304] The user enters the consultation details and clicks the send button.
[0305] Step 14:
[0306] The terminal transmits the input consultation content to the server.
[0307] Step 15:
[0308] The server passes the input to the emotion engine, which then analyzes the user's emotions.
[0309] Step 16:
[0310] The emotion engine sends the emotion recognition results back to the server.
[0311] Step 17:
[0312] The server generates empathetic responses and appropriate advice based on the recognized emotions.
[0313] Step 18:
[0314] The server sends the generated response and advice to the terminal.
[0315] Step 19:
[0316] The terminal displays this to the user and waits for further input.
[0317] Example: When a user inputs "I'm under a lot of pressure from my boss at work and it's stressful," the emotion engine recognizes that the user is feeling stressed. The server generates a response saying, "That's really tough. Thank you for your hard work. It's important to praise yourself first," and sends it to the device. The device then displays this to the user.
[0318] Ending the conversation and recording
[0319] Step 20:
[0320] The user indicates their intention to end the dialogue and clicks the dialogue end button.
[0321] Step 21:
[0322] The terminal sends a dialogue termination request to the server.
[0323] Step 22:
[0324] The server stores session information and interaction history in a database.
[0325] Step 23:
[0326] The server sends a dialogue termination message to the terminal, which displays it to the user.
[0327] Step 24:
[0328] The terminal displays a feedback form and the user enters the feedback.
[0329] Step 25:
[0330] The terminal sends feedback information to the server.
[0331] Step 26:
[0332] The server stores the feedback information in a database.
[0333] This allows users to reduce everyday stress and worries and support their mental health through empathetic dialogue that is sensitive to their emotions.
[0334] Example 2
[0335] 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."
[0336] In modern society, users need a means to safely vent their feelings and worries and organize their thoughts while maintaining anonymity. It is also important to accurately recognize the user's emotions and provide empathetic responses and appropriate advice. However, few existing systems can adequately meet these needs.
[0337] 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.
[0338] In this invention, the server includes means for receiving input data from a user, means for analyzing the input data and generating an empathetic response and appropriate advice, means for using an emotion engine for the analysis and recognizing the user's emotions, and means for presenting the empathetic response and advice to the user. This makes it possible to accurately recognize the user's emotions and provide responses and advice that are in tune with their emotions.
[0339] "Input data" refers to information provided by a user to a system, and may be in the form of text, voice, or other information.
[0340] An "emotion engine" is a software module for analyzing user emotions from input data.
[0341] An "empathetic response" refers to a reply that is sympathetic to the user's feelings, and is a message that appropriately reflects the user's feelings.
[0342] "Appropriate advice" is constructive suggestions and encouragement provided based on the user's consultation content and emotional state.
[0343] "User ID" means a unique identifier generated by the system and used to identify a User.
[0344] An "avatar" is a user-selectable character icon used to visually represent interactions with the system.
[0345] A "dialogue history" is a record of all messages exchanged between a user and the system.
[0346] "Session information" is detailed information about a particular interactive session, including start time, end time, participating user IDs, etc.
[0347] "Feedback" refers to a user providing feedback or opinions about their interaction with the system.
[0348] A "generative AI model" is a model that uses artificial intelligence to generate messages in response to user input.
[0349] MODE FOR CARRYING OUT THE INVENTION
[0350] The present invention relates to a system that receives user input data, generates empathetic responses and appropriate advice, and presents them to the user. Furthermore, the present invention aims to provide responses and advice that reflect the user's emotional state by combining an emotion engine that recognizes the user's emotions from the input data.
[0351] System Configuration
[0352] The system mainly consists of the following elements:
[0353] User device (e.g. PC, smartphone)
[0354] server
[0355] Database
[0356] Emotion Engine
[0357] Application Software
[0358] Operation overview
[0359] User Registration
[0360] The user accesses the registration form on the terminal, enters a nickname and password, and submits it. The terminal sends the input data to the server, which generates a new user ID and stores it in the database. Once user registration is complete, the terminal receives the generated user ID and presents it to the user.
[0361] Examples:
[0362] If the user enters "Tanaka" and "password123" and clicks the submit button, the server will generate a new user ID (e.g. user1234) and store the hash of "Tanaka" and "password123" in the database.
[0363] Avatar Selection
[0364] The server sends a list of available avatars to the device, which displays them to the user. The user selects the desired avatar and sends the selection information via the device to the server. The server saves the selected avatar in the user's profile.
[0365] Examples:
[0366] When the user selects a cat avatar and sends it to the server, the server associates the cat avatar with the user ID user1234 and saves it.
[0367] Start a dialogue
[0368] When the user clicks the "Start Dialogue" button, the device sends a dialogue start request to the server. The server prepares the generative AI model, generates an initial dialogue message, and sends it to the device. The device then displays the initial message to the user and waits for user input.
[0369] Examples:
[0370] The server generates a welcome message saying "Hello, how are you today?" and sends it to the terminal, which displays it to the user.
[0371] Recognizing emotions and providing empathetic responses
[0372] When a user inputs their concerns and clicks the send button, the device sends the input to the server. The server uses an emotion engine to analyze the user's emotions from the input, and generates an empathetic response and appropriate advice based on that. This is then sent to the device and displayed to the user.
[0373] Examples:
[0374] When a user inputs "I'm under a lot of pressure from my boss at work and it's tough," the emotion engine recognizes that the user is feeling stressed. The server generates a response saying, "That's really tough. Thank you for your hard work. It's important to praise yourself first," and sends it to the device. The device then displays this to the user.
[0375] Ending the conversation and recording
[0376] When the user indicates their intention to end the dialogue and clicks the dialogue end button, the terminal sends a dialogue end request to the server. The server saves the session information and dialogue history in a database and sends an end message to the terminal. The terminal displays a feedback form, allowing the user to provide feedback on the dialogue.
[0377] Examples:
[0378] The user types "I'm done for today," and the server saves the session information and interaction history. The device sends feedback to the server, saying "That was very helpful," and the server saves this feedback in a database.
[0379] Prompt Sentence Examples
[0380] "Generate an empathetic response when a user types, 'I'm under a lot of pressure from my boss at work.'"
[0381] This system allows users to express their feelings with confidence and receive appropriate support that is sensitive to their emotions.
[0382] The flow of the identification process in the second embodiment will be described with reference to FIG.
[0383] Step 1:
[0384] User visits registration form
[0385] Input: The user accesses the registration form on the device and enters their nickname and password.
[0386] What happens: A user accesses a form and enters the appropriate information.
[0387] Output: The nickname and password are saved as input data on the device.
[0388] Step 2:
[0389] User enters nickname and password and submits
[0390] Input: The user submits the input data by clicking the submit button.
[0391] Operation: The terminal sends the entered data to the server.
[0392] Output: The input data is sent to the server.
[0393] Step 3:
[0394] The server generates a new user ID
[0395] Input: The server receives the nickname and password.
[0396] What it does: The server generates a new user ID and stores the nickname and password hash in the database.
[0397] Output: A new user ID is generated and the information is saved in the database.
[0398] Step 4:
[0399] The device receives and displays the user ID.
[0400] Input: The user ID generated by the server is sent to the terminal.
[0401] Action: The terminal receives the user ID and displays it to the user.
[0402] Output: The user ID is displayed to the user.
[0403] Step 5:
[0404] The server sends a list of available avatars
[0405] Input: The server retrieves a list of available avatars from the database.
[0406] Operation: The server sends a list of avatars to the device.
[0407] Output: The list of avatars is sent to the device.
[0408] Step 6:
[0409] The device displays a list of avatars to the user.
[0410] Input: A list of avatars will be sent to the device.
[0411] Behavior: The device displays a list of avatars to the user.
[0412] Output: The user can see the list of avatars.
[0413] Step 7:
[0414] User selects desired avatar
[0415] Input: The user selects the desired avatar and enters the selection on the device.
[0416] Operation: The device sends the selection information to the server.
[0417] Output: The selected avatar information is sent to the server.
[0418] Step 8:
[0419] The server saves the selected avatar
[0420] Input: The server receives the selected avatar information.
[0421] How it works: The server associates the selected avatar with the user ID and stores it in the database.
[0422] Output: Avatar information is saved in the database.
[0423] Step 9:
[0424] User clicks the Start button
[0425] Input: The user clicks the "Start conversation" button on the terminal.
[0426] Operation: The terminal sends a dialogue initiation request to the server.
[0427] Output: A conversation initiation request is sent to the server.
[0428] Step 10:
[0429] The server prepares the generative AI model
[0430] Input: A request to start a conversation is received.
[0431] How it works: The server prepares the generative AI model and generates the initial dialogue messages.
[0432] Output: An initial message is generated.
[0433] Step 11:
[0434] The terminal displays a welcome message to the user.
[0435] Input: An initial message generated by the server is sent to the terminal.
[0436] Action: The terminal displays this message to the user.
[0437] Output: The user can see the initial message.
[0438] Step 12:
[0439] The user enters the details of the consultation and submits
[0440] Input: The user enters the content of their inquiry and clicks the send button.
[0441] Operation: The device sends the consultation details to the server.
[0442] Output: The consultation content is sent to the server.
[0443] Step 13:
[0444] The server analyzes emotions using an emotion engine
[0445] Input: The server receives the consultation content.
[0446] How it works: The emotion engine is used to analyze the user's emotions from the consultation content.
[0447] Output: The user's emotional state is analyzed.
[0448] Step 14:
[0449] The server generates empathetic responses and advice
[0450] Input: Based on sentiment analysis results.
[0451] How it works: The server generates an empathetic response and appropriate advice.
[0452] Output: An empathetic response and advice is generated.
[0453] Step 15:
[0454] The terminal displays the response to the user
[0455] Input: The response generated by the server is sent to the device.
[0456] Action: The terminal displays the response to the user.
[0457] Output: The user receives an empathetic response and advice.
[0458] Step 16:
[0459] User clicks the end button
[0460] Input: The user indicates their intention to end the dialogue by clicking the End Dialogue button.
[0461] Action: The terminal sends a dialogue termination request to the server.
[0462] Output: A request to terminate the conversation is sent to the server.
[0463] Step 17:
[0464] The server stores session information and interaction history
[0465] Input: A request to terminate the conversation is received.
[0466] How it works: The server stores session information and interaction history in a database.
[0467] Output: Interaction history and session information is saved.
[0468] Step 18:
[0469] The device displays the feedback form
[0470] Input: The server sends a conversation termination message.
[0471] Action: The terminal displays a feedback form.
[0472] Output: The feedback form is displayed to the user.
[0473] Step 19:
[0474] User enters and submits feedback
[0475] Input: User enters feedback and clicks submit button.
[0476] Action: The device sends feedback to the server.
[0477] Output: Feedback is sent to the server.
[0478] Step 20:
[0479] The server stores the feedback
[0480] Input: Receive feedback.
[0481] How it works: The server stores the feedback in a database.
[0482] Output: The feedback is saved.
[0483] (Application example 2)
[0484] 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."
[0485] Users working in security-related jobs are prone to experiencing mental stress and mental health issues on a daily basis. However, conventional systems face challenges in properly analyzing users' emotional states and providing individualized support. Furthermore, they lack a mechanism for providing a place where users can seek advice anonymously and safely. As a result, mental health management for users working in security-related jobs is inadequate, which can lead to problems such as reduced work efficiency and employee resignations.
[0486] The specific processing by the specific 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 receiving input data from a user, means for analyzing the input data and generating an empathetic response and appropriate advice, means for presenting the empathetic response and advice to the user, means having an emotion analysis engine that analyzes the user's emotional state and reflects it in the response, and means for providing psychological support to users working in security-related jobs. This enables users working in security-related jobs to talk about their feelings in peace and reduce mental stress.
[0487] "Means for receiving input data from the user" refers to a mechanism by which the system acquires text data, voice data, etc. input by the user.
[0488] The "means for analyzing the input data and generating an empathetic response and appropriate advice" is a function that analyzes the acquired user input data and generates an empathetic message or advice that is appropriate to the user's emotions and situation.
[0489] The "means for presenting an empathetic response and advice to a user" refers to a means for displaying or conveying the generated empathetic message or advice to a user.
[0490] "Means for having an emotion analysis engine that analyzes the user's emotional state and reflects it in the response" refers to a system that uses algorithms and models to analyze emotions from data entered by the user and generate a response appropriate to those emotions.
[0491] The "means for providing psychological support to users working in security-related fields" is a function that performs emotion analysis and provides advice to support the mental health of users working in security-related fields.
[0492] "Means for presenting multiple avatars that the user can select" is a function that allows the user to select the one they like from multiple characters or icons.
[0493] The "means for saving the selected avatar in the user's profile" is a function for recording the avatar selected by the user as the profile information of the user.
[0494] "Means for interacting with a user using an avatar" is a function for communicating with a user using an avatar selected by the user.
[0495] The "means for saving user interaction history and session information" is a function for recording the contents of past interactions with a user and session information in a database.
[0496] The "means for updating the user's emotional state based on the dialogue history and session information" is a function for periodically reevaluating and updating the user's emotional state based on the content of past dialogues and session information.
[0497] The "means for receiving and storing feedback from users" is a function for receiving and recording ratings and comments from users.
[0498] The system for implementing this invention includes a user terminal, a server, a database, an emotion analysis engine, and application software. The components and operations of the system will be described below.
[0499] User terminal
[0500] The user terminal is a mobile device such as a smartphone or tablet, which has a front-end application developed using React Native installed on it. Through this application, users can provide input data and receive empathetic responses and advice.
[0501] server
[0502] The server includes a backend built using Node.js and Express. The server processes data received from users and works with a sentiment analysis engine and generative AI models to generate appropriate responses. The server also connects to a database such as MySQL or PostgreSQL to store user profile information, interaction history, and emotional state.
[0503] Sentiment Analysis Engine
[0504] The sentiment analysis engine includes a sentiment analysis model using TensorFlow and Keras. This engine is implemented in Python and analyzes user input data to recognize their emotional state. For example, if a user inputs "Recently, I've been feeling very stressed at work," the sentiment analysis engine will recognize that the user is feeling stressed.
[0505] Application Software
[0506] The application software runs on the user terminal and provides functions such as user registration, avatar selection, dialogue initiation and termination, and feedback collection.
[0507] Operation overview
[0508] 1. User registration: The user accesses the registration form on the smartphone app and enters the required information. Once registration is complete, the server generates a new user ID and stores it in the database.
[0509] Example: A user enters "Tanaka" and "password123" and clicks the submit button. The server generates a new user ID (e.g., user1234) and saves it in the database.
[0510] 2. Avatar selection: The server sends a list of available avatars to the device, which displays them to the user. The user selects the desired avatar and sends it to the server.
[0511] Example: A user selects a cat avatar and sends it to the server, which associates the cat avatar with user ID user1234 and saves it.
[0512] 3. Start dialogue: The user clicks the "Start dialogue" button, and the device sends a dialogue start request to the server. The server prepares the generative AI model, generates the initial dialogue message, and sends it to the device.
[0513] Example: The server generates an initial message saying "Hello, how are you today?" and sends it to the device.
[0514] 4. Emotion recognition and provision of empathetic responses: When a user enters their consultation details and clicks the send button, the device sends the input to the server. The server uses an emotion engine to analyze the user's emotions from the input, and based on that, generates an empathetic response and appropriate advice, which is then sent to the device.
[0515] Example: When a user inputs "I'm under a lot of pressure from my boss at work and it's tough," the emotion engine recognizes that the user is feeling stressed. The server generates a response saying, "That's really tough. Thank you for your hard work. It's important to praise yourself first," and sends it to the device.
[0516] 5. Ending the dialogue and recording: When the user indicates their intention to end the dialogue and clicks the End dialogue button, the terminal sends a dialogue termination request to the server. The server saves the session information and dialogue history in a database and sends an end message to the terminal. The user fills in a feedback form, which is also saved in the database.
[0517] Example: The user types "I'm done for today" and the server stores the session information and interaction history. The device sends feedback such as "That was very helpful" to the server, which stores this feedback in a database.
[0518] In this way, users working in security-related fields can receive empathetic responses and advice that are in line with their emotional state, allowing them to feel safe expressing their feelings and reducing mental stress.
[0519] The flow of the specific processing in the application example 2 will be described with reference to FIG.
[0520] Step 1: User Registration
[0521] A user accesses the registration form of a smartphone app and enters a nickname and password. The entered data (nickname and password) is sent from the device to the server. The server generates a new user ID and stores a hash of this ID, nickname, and password in a database. Once registration is complete, the server returns the generated user ID to the device, which displays it to the user.
[0522] Input: Nickname, Password
[0523] Data processing: Nickname and password hashing, user ID generation
[0524] Output: Return of user ID
[0525] Step 2: Choose your avatar
[0526] The server sends a list of available avatars to the device, which displays the list to the user, who selects the desired avatar, and the selection is sent from the device to the server, which saves the selected avatar in the user's profile.
[0527] Input: Avatar selection information
[0528] Data processing: Saving avatar information to user profile
[0529] Output: Updated profile information
[0530] Step 3: Start a conversation
[0531] The user clicks the "Start Dialogue" button to send a dialogue start request from the device to the server. The server prepares the generative AI model, generates an initial dialogue message, and sends it to the device, which then displays it to the user.
[0532] Input: Dialogue start request
[0533] Data processing: Preparation of generative AI model, generation of initial messages
[0534] Output: Initial dialogue message
[0535] Step 4: Recognize emotions and provide empathic responses
[0536] The user enters the content of their consultation and clicks the send button. This input is sent from the device to the server. The server passes this input data to an emotion analysis engine, which analyzes the user's emotions. Based on the analysis results, the generative AI model generates an empathetic response and appropriate advice, which is sent to the device. The device then displays it to the user.
[0537] Input: Consultation details
[0538] Data processing: sentiment analysis, empathetic response and advice generation
[0539] Output: Empathic response and advice message
[0540] Step 5: End the conversation and record
[0541] The user indicates their intention to end the dialogue and clicks the dialogue end button. A dialogue end request is sent from the terminal to the server. The server saves the session information and dialogue history in a database and sends an end message to the terminal. In addition, the terminal displays a feedback form to the user, and the user enters feedback into the form. The entered feedback is sent to the server, which saves it in a database.
[0542] Input: Dialogue termination request, feedback
[0543] Data processing: saving session information and dialogue history, recording feedback
[0544] Output: Exit message, saved feedback
[0545] 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.
[0546] 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.
[0547] 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.
[0548] [Second embodiment]
[0549] FIG. 3 shows an example of the configuration of a data processing system 210 according to the second embodiment.
[0550] 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.
[0551] 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).
[0552] 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.
[0553] 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.
[0554] 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).
[0555] 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.
[0556] 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.
[0557] 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.
[0558] 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.
[0559] 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.
[0560] 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."
[0561] The present invention relates to a system that receives input data from a user, generates empathetic responses and appropriate advice, and presents them to the user. The purpose of this system is to reduce the user's stress and worries and provide emotional support.
[0562] System Configuration
[0563] The system mainly consists of the following elements:
[0564] User terminal
[0565] server
[0566] Database
[0567] Application Software
[0568] Operation overview
[0569] 1. User Registration
[0570] The user accesses the registration form on the terminal, enters a nickname and password, and submits it. The terminal sends the input data to the server, which generates a new user ID and stores it in the database. After registration is complete, the terminal receives the user ID and displays it to the user.
[0571] Example: A user enters "Tanaka" and "password123" and clicks the submit button. The server generates a new user ID (e.g., user1234) and stores it in the database along with the hash of "Tanaka" and "password123".
[0572] 2. Avatar selection
[0573] The server sends a list of available avatars to the device, which displays them to the user. The user selects the desired avatar and sends the selection to the server via the device. The server saves the selected avatar in the user's profile.
[0574] Example: A user selects a cat avatar and sends it to the server. The server associates the cat avatar with user ID user1234 and saves it.
[0575] 3. Start the dialogue
[0576] When the user clicks the "Start Dialogue" button, the device sends a dialogue start request to the server. The server prepares the generative AI model, generates an initial dialogue message, and sends it to the device. The device displays the initial message to the user and waits for user input.
[0577] Example: The server generates an initial message saying "Hello, how are you today?" and sends it to the terminal, which displays it to the user.
[0578] 4. Offering empathy and advice
[0579] When a user inputs their concerns and clicks the send button, the device sends the input to the server. The server analyzes the input, generates an empathetic response and appropriate advice, and sends it to the device, which then displays it to the user.
[0580] Example: When a user inputs "I'm under a lot of pressure from my boss at work and it's tough," the server generates a response saying "That's really tough. Thank you for your hard work. It's important to praise yourself first," and sends it to the terminal. The terminal then displays this to the user.
[0581] 5. Closing the Dialogue and Recording
[0582] When the user indicates their intention to end the dialogue and clicks the dialogue end button, the terminal sends a dialogue end request to the server. The server saves the session information and dialogue history in a database and sends an end message to the terminal. The terminal displays a feedback form, allowing the user to provide feedback on the dialogue.
[0583] Example: A user types "I'm done for today," and the server stores the session information and interaction history. The device sends feedback such as "That was very helpful" to the server, and the server stores this feedback in a database.
[0584] System Effects
[0585] By using this system, users can safely express their feelings and organize their thoughts while maintaining anonymity. Furthermore, by using a generative AI model, it is possible to provide empathetic and appropriate responses to users. As a result, it is possible to reduce users' daily stress and worries and support their mental health.
[0586] The above is a description of the mode for carrying out the present invention. The present invention is a system that provides important support to people who are stressed or troubled in modern society.
[0587] The processing flow will be explained below.
[0588] Step 1:
[0589] The user accesses the registration form on the terminal and enters a nickname and password.
[0590] Step 2:
[0591] The device sends the entered nickname and password to the server.
[0592] Step 3:
[0593] The server receives the submitted data, generates a new user ID and saves it in the database.
[0594] Step 4:
[0595] The server returns the new user ID to the terminal, and the terminal displays a registration completion message.
[0596] Step 5:
[0597] The server generates a list of available avatars and sends it to the device.
[0598] Step 6:
[0599] The terminal displays a list of avatars to the user, and the user selects the avatar they want.
[0600] Step 7:
[0601] The terminal sends the selected avatar information to the server, which stores it in the user's profile.
[0602] Step 8:
[0603] The user clicks the "Start conversation" button, and the terminal sends a conversation start request to the server.
[0604] Step 9:
[0605] The server prepares the generative AI model, generates an initial message, and sends it to the terminal.
[0606] Step 10:
[0607] The terminal displays an initial message to the user, and the user inputs the content of the consultation.
[0608] Step 11:
[0609] The user enters the consultation details and clicks the send button.
[0610] Step 12:
[0611] The terminal transmits the input consultation content to the server.
[0612] Step 13:
[0613] The server analyzes the consultation content and generates an empathetic response and appropriate advice.
[0614] Step 14:
[0615] The server sends the generated responses and advice to the terminal, which displays them to the user.
[0616] Step 15:
[0617] The user chooses whether to continue or end the interaction.
[0618] Step 16:
[0619] When the user indicates his / her intention to end the dialogue, the terminal transmits a dialogue end request to the server.
[0620] Step 17:
[0621] The server saves the session information and the dialogue history and sends a termination message to the terminal.
[0622] Step 18:
[0623] The terminal displays a feedback form and the user enters the feedback.
[0624] Step 19:
[0625] The terminal sends the feedback information to the server, which stores it in a database.
[0626] Example 1
[0627] 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."
[0628] In modern society, many people suffer from stress and worries, but there are insufficient means to relieve them. In particular, there is a need for a system that provides appropriate advice and empathetic responses while maintaining anonymity. The lack of such a system makes it difficult for users to find a place to discuss their mental worries. Furthermore, there is a lack of effective means to provide users with emotional support and maintain and improve their mental health.
[0629] 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.
[0630] In this invention, the server includes means for receiving input data from a user, means for analyzing the input data and generating an empathetic response and appropriate advice, means for presenting the empathetic response and advice to the user, means for receiving the user's registration information and generating and saving a new user ID, means for notifying the user of the generated user ID, means for receiving a session start request and generating an initial message, means for saving session information and a dialogue history, and means for saving the dialogue history and feedback at the end of the session. This provides an environment where users can safely seek advice about their mental worries while maintaining anonymity, making it possible to reduce users' everyday stress and worries and support their mental health.
[0631] A "user" is someone who uses the system to consult or interact with others.
[0632] "Input data" refers to text or information that a user enters into a system.
[0633] An "empathetic response" refers to a response that shows understanding of the user's feelings and situation and provides a sense of security.
[0634] "Appropriate advice" refers to providing specific and practical solutions or advice to users' problems or concerns.
[0635] "Profile" refers to data that includes personal information such as a user's avatar and registration information.
[0636] "Avatar" refers to an individual character or icon that a user can select.
[0637] "Dialogue history" refers to data that stores the contents of past dialogues exchanged between a user and a system.
[0638] "Session Information" refers to information relating to a particular interactive session (e.g., start time, end time, content of the interaction, etc.).
[0639] "Feedback" refers to user evaluations and opinions about the system and its responses.
[0640] A "generative AI model" refers to an artificial intelligence model that analyzes user input data and generates empathetic responses and appropriate advice.
[0641] The present invention relates to a system that receives input data from a user, generates an empathetic response and appropriate advice, and presents it to the user. This system is mainly composed of the following elements:
[0642] 1. User device (PC, smartphone, tablet, etc.)
[0643] 2. Server (preferably with high-performance data processing capabilities)
[0644] 3. Database (MySQL, PostgreSQL, etc.)
[0645] 4. Application software (HTML, CSS, JavaScript, Python, Node.js, etc.)
[0646] 5. Generative AI models (using APIs such as GPT-3)
[0647] System Configuration
[0648] The system operates via a user terminal, a server, and a database. The user terminal functions as an interface for sending data entered by the user and the contents of the dialogue to the server. The server analyzes the received data, connects with the database, and generates empathetic responses and appropriate advice. The generated results are then sent to the user terminal and presented to the user.
[0649] Operation overview
[0650] User Registration
[0651] First, the user accesses the registration form on the terminal, enters a nickname and password, and submits it. The terminal sends the input data to the server. The server generates a new user ID and stores the nickname and hashed password in a database. After registration is complete, the server sends the generated user ID to the terminal, which displays it to the user.
[0652] Avatar Selection
[0653] The server then sends a list of available avatars to the device, which displays it to the user. The user selects the desired avatar and sends the selection to the server via the device. The server then saves the selected avatar in the user's profile.
[0654] Start a dialogue
[0655] When the user clicks the "Start Dialogue" button, the device sends a dialogue start request to the server. The server launches the generative AI model, generates an initial dialogue message, and sends it to the device. The device displays the initial message to the user and waits for the user's input. Specific examples of prompt sentences are as follows:
[0656] "Hello, how are you today?"
[0657] Offering empathy and advice
[0658] When the user enters the content of their inquiry and clicks the send button, the device sends the input content to the server. The server uses a generative AI model to analyze the input content and generate an empathetic response and appropriate advice. The generated response is sent to the device and displayed to the user. Specific examples of prompt sentences are as follows:
[0659] User input: "I feel a lot of pressure from my boss at work."
[0660] Server response: "That's really tough. Thank you for your hard work. It's important to give yourself a pat on the back."
[0661] Ending the conversation and recording
[0662] When the user indicates their intention to end the dialogue and clicks the dialogue end button, the terminal sends a dialogue end request to the server. The server saves the session information and dialogue history in a database. The server then sends an end message to the terminal, which displays a feedback form. The user enters dialogue feedback, which is sent to the server and then saved in the database.
[0663] Through these steps, users can safely discuss their mental health concerns and receive empathy and advice while maintaining anonymity. By utilizing generative AI models, the system can provide high-quality, personalized responses. This can help reduce users' everyday stress and worries and support their mental health.
[0664] The flow of the identification process in the first embodiment will be described with reference to FIG.
[0665] Step 1: Processing user registration
[0666] Input: The user enters a nickname and password into the registration form on the device and clicks the submit button.
[0667] Operation: The device sends the entered nickname and password to the server.
[0668] Data processing and calculation: The server receives the received data and hashes the password, then generates a new user ID and stores the nickname and hashed password in the database.
[0669] Output: The server sends the generated user ID to the terminal.
[0670] Specific operation: The server generates a user ID called "user1234", saves it, and sends it to the terminal, which then displays it to the user.
[0671] Step 2: Handling avatar selection
[0672] Input: The server sends a list of available avatars to the device. The user selects the desired avatar from the list.
[0673] Operation: The device sends the user's selected avatar information to the server.
[0674] Data processing and calculation: The server stores the selected avatar in the user profile.
[0675] Output: The selected avatar is reflected in the user profile.
[0676] Specific operation: The user selects a cat avatar, and the device sends the selection information to the server. The server saves the cat avatar for user ID user1234.
[0677] Step 3: Handling the conversation start
[0678] Input: User clicks the "Start Interaction" button.
[0679] Operation: The terminal sends a dialogue initiation request to the server.
[0680] Data processing and calculation: The server launches the generative AI model and generates the initial dialogue message.
[0681] Output: The server sends the generated initial message to the terminal.
[0682] Specific operation: The server generates a message saying "Hello, how are you today?" and sends it to the terminal, which displays it to the user.
[0683] Step 4: Process empathy and advice-giving
[0684] Input: The user inputs the consultation content and clicks the send button.
[0685] Operation: The terminal sends the input to the server.
[0686] Data processing and calculation: The server uses a generative AI model to analyze the input and generate empathetic responses and appropriate advice.
[0687] Output: The server sends the generated response to the terminal.
[0688] Specific operation: The user enters "I'm under a lot of pressure from my boss at work and it's tough" and clicks the send button. The server analyzes this, generates a response saying "That's really tough. Thank you for your hard work. It's important to praise yourself first," and sends it to the device. The device then displays this to the user.
[0689] Step 5: End the interaction and handle the recording
[0690] Input: The user clicks the end of interaction button.
[0691] Operation: The terminal sends a dialogue termination request to the server.
[0692] Data processing and calculation: The server saves the session information and the conversation history in a database. Then, it generates an end message and ends the conversation.
[0693] Output: The server sends a finishing message and a feedback form to the terminal.
[0694] Specific operation: The user enters "I'm done for today" and sends a dialogue termination request to the server. The server saves the dialogue history in a database and sends a termination message and a feedback form to the terminal. The terminal displays the feedback form to the user. The user enters feedback, which is sent to the server and stored in the database.
[0695] (Application example 1)
[0696] 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."
[0697] In modern society, the number of people experiencing security-related stress and anxiety is steadily increasing. This burden is particularly significant in workplaces where security management is required, and it is highly likely to negatively impact mental health. However, systems and services for quickly and appropriately alleviating this stress and anxiety have yet to be fully developed. Therefore, an objective of the present invention is to provide a system that provides empathetic responses, appropriate advice, and psychological support to users experiencing security-related stress and anxiety.
[0698] 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.
[0699] In this invention, the server includes means for receiving input data from a user, means for analyzing the input data and utilizing a generative AI model to generate an empathetic response and appropriate advice, means for presenting the empathetic response and advice to the user, and a database containing prompt sentences for generating empathetic responses and advice for security-related stress or anxiety, thereby enabling prompt and appropriate psychological support to be provided to users experiencing security-related stress or anxiety.
[0700] "User" refers to any individual or entity that uses the system.
[0701] "Input data" refers to information provided by a user to a system.
[0702] A "generative AI model" refers to an artificial intelligence model that analyzes user input data and generates empathetic responses and appropriate advice.
[0703] An "empathetic response" refers to a response that is sympathetic to the user's feelings and shows understanding.
[0704] "Appropriate advice" refers to specific and useful advice that addresses the user's situation or concerns.
[0705] "Prompts" refer to standardized statements or instructions that generative AI models use to generate empathetic responses and advice.
[0706] "Database" refers to a system for storing data such as user information, dialogue history, and prompts.
[0707] "Virtual character" refers to a character that resembles a fictional person or animal that can be selected by the user.
[0708] "Dialogue history" refers to a record of interactions between a user and a system.
[0709] "Session Information" refers to information about a particular interactive session.
[0710] The present invention relates to a system for providing empathetic responses and appropriate advice to users experiencing security-related stress or anxiety. The system consists of a user terminal, a server, a database, a generative AI model, and a database containing prompt sentences.
[0711] System Configuration
[0712] 1. User Device
[0713] The user terminal is a device that the user directly uses, such as a smartphone or a head-mounted display (HMD). The user terminal inputs consultation details about security-related stress and worries, and sends and receives data to and from the system.
[0714] 2. Server
[0715] The server receives input data sent from the user's device, analyzes it based on the generative AI model, generates empathetic responses and appropriate advice as the analysis results, and sends them back to the user's device. It also references a database containing security-related prompts.
[0716] 3. Database
[0717] The database is a system that stores user information, interaction history, session information, prompts, etc. In particular, it contains prompts that address security-related stress and concerns, which are used by the generative AI model to generate responses.
[0718] Operation overview
[0719] 1. User Registration
[0720] A user registers by entering a nickname and password on the user's device. The device sends this information to the server. The server generates a new user ID and stores it in the database. Once registration is complete, the user ID is sent back to the device.
[0721] 2. Avatar selection
[0722] The server sends a list of available virtual characters to the user's device and displays it. The user selects the desired virtual character and sends the information to the server. The server saves the selected virtual character in the user's profile.
[0723] 3. Start the dialogue
[0724] When the user starts a dialogue on the terminal, the server prepares the generative AI model and generates an initial dialogue message, which is displayed on the user terminal and waits for the user's input.
[0725] 4. Offering empathy and advice
[0726] When a user inputs and submits their consultation, the device sends the content to the server. The server uses a generative AI model to analyze the input content and generate empathetic responses and advice using appropriate prompts. This is then sent to the user's device and displayed to the user.
[0727] As a specific example, if a user types, "I can't sleep lately because there have been so many unauthorized accesses to my company's systems," the server will generate a response such as, "That's a very stressful situation. First of all, it's important that you consult with an expert. And conducting regular risk assessments may also give you peace of mind," and send it to the user's device.
[0728] 5. Closing the Dialogue and Recording
[0729] When the user wishes to end the dialogue, the terminal sends a request to the server. The server stores the dialogue history and session information in a database and sends an end message to the user terminal. At the same time, a feedback form is displayed so that the user can provide feedback on the dialogue.
[0730] Hardware and software used
[0731] Hardware: Smartphone, Head-Mounted Display (HMD)
[0732] software:
[0733] OpenAI API (text-davinci-003)
[0734] Flask (Python web framework)
[0735] Database systems (such as MongoDB)
[0736] Prompt Sentence Examples
[0737] Below are some example prompts to use with generative AI models:
[0738] "Please provide empathetic and appropriate advice to users who are concerned about security."
[0739] "Please empathize and provide reassuring advice to users who are losing sleep over security issues."
[0740] The flow of the specific processing in the application example 1 will be described with reference to FIG.
[0741] Step 1:
[0742] The user enters a nickname and password using the user terminal to register.
[0743] Input: Nickname and Password
[0744] Specific operation: A user accesses the registration form, enters a nickname (e.g., "Tanaka") and a password (e.g., "password123"), and clicks the submit button.
[0745] Output: The server generates a new user ID (e.g. user1234) and stores it in the database along with the nickname and password hash.
[0746] Step 2:
[0747] The user terminal receives the list of available virtual characters provided by the server and displays it to the user.
[0748] Input: A list of virtual characters provided by the server
[0749] Specific operation: The server retrieves a list of virtual characters stored in the database and sends it to the user's device. The user's device displays the list and the user can select the desired virtual character.
[0750] Output: The information about the virtual character selected by the user is sent to the server, which stores it in the user's profile.
[0751] Step 3:
[0752] The user clicks the "Start conversation" button on the user terminal and receives the initial conversation message generated by the server.
[0753] Input: A request from the user to start a conversation
[0754] Specific operation: The user clicks the dialogue start button, and the terminal sends the request to the server. The server generates an initial dialogue message (e.g., "Hello, how can I help you? Please talk to me.") and sends it to the user terminal.
[0755] Output: An initial message is displayed on the user's terminal.
[0756] Step 4:
[0757] The user inputs their concerns and sends them to the server, which uses a generative AI model to analyze the input and generate an empathetic response and appropriate advice.
[0758] Input: User's consultation (e.g., "Recently, there have been frequent unauthorized accesses to our company's systems, and I can't sleep.")
[0759] How it works: The user enters their consultation content and clicks the send button, and the device sends the content to the server. The server uses a generative AI model to analyze the input content and generate an empathetic response and advice using prompt sentences (e.g., "That's a very stressful situation. It's important to consult a professional first.").
[0760] Output: The generated empathetic responses and advice are sent to the user's terminal and displayed to the user.
[0761] Step 5:
[0762] When the user wishes to end the dialogue, he clicks the dialogue end button. The server saves the dialogue history and session information and sends an end message to the user terminal.
[0763] Input: User request to terminate the dialogue
[0764] Specific operation: The user clicks the dialogue termination button, and the terminal sends the request to the server. The server saves the dialogue history and session information in a database and sends an end message to the user's terminal. At the same time, a feedback form is displayed, allowing the user to provide feedback on the dialogue.
[0765] Output: Interaction history and session information are stored in a database and feedback is sent to the server.
[0766] 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.
[0767] The present invention relates to a system that receives user input data, generates empathetic responses and appropriate advice, and presents them to the user. The present invention also aims to provide responses and advice that reflect the user's emotional state by combining it with an emotion engine that recognizes the user's emotions from the input data.
[0768] System Configuration
[0769] The system mainly consists of the following elements:
[0770] User terminal
[0771] server
[0772] Database
[0773] Emotion Engine
[0774] Application Software
[0775] Operation overview
[0776] 1. User Registration
[0777] The user accesses the registration form on the terminal, enters a nickname and password, and submits it. The terminal sends the input data to the server, which generates a new user ID and stores it in the database. After registration is complete, the terminal receives the user ID and displays it to the user.
[0778] Example: A user enters "Tanaka" and "password123" and clicks the submit button. The server generates a new user ID (e.g., user1234) and stores it in the database along with the hash of "Tanaka" and "password123".
[0779] 2. Avatar selection
[0780] The server sends a list of available avatars to the device, which displays them to the user. The user selects the desired avatar and sends the selection to the server via the device. The server saves the selected avatar in the user's profile.
[0781] Example: A user selects a cat avatar and sends it to the server. The server associates the cat avatar with user ID user1234 and saves it.
[0782] 3. Start the dialogue
[0783] When the user clicks the "Start Dialogue" button, the device sends a dialogue start request to the server. The server prepares the generative AI model, generates an initial dialogue message, and sends it to the device. The device displays the initial message to the user and waits for user input.
[0784] Example: The server generates an initial message saying "Hello, how are you today?" and sends it to the terminal, which displays it to the user.
[0785] 4. Recognizing emotions and providing empathetic responses
[0786] When the user inputs the content of their consultation and clicks the send button, the device sends the input to the server. The server uses an emotion engine to analyze the user's emotions from the input, and generates an empathetic response and appropriate advice based on that. This is then sent to the device and displayed to the user.
[0787] Example: When a user inputs "I'm under a lot of pressure from my boss at work and it's tough," the emotion engine recognizes that the user is feeling stressed. The server generates a response saying, "That's really tough. Thank you for your hard work. It's important to praise yourself first," and sends it to the device. The device then displays this to the user.
[0788] 5. Closing the Dialogue and Recording
[0789] When the user indicates their intention to end the dialogue and clicks the dialogue end button, the terminal sends a dialogue end request to the server. The server saves the session information and dialogue history in a database and sends an end message to the terminal. The terminal displays a feedback form, allowing the user to provide feedback on the dialogue.
[0790] Example: A user types "I'm done for today," and the server stores the session information and interaction history. The device sends feedback such as "That was very helpful" to the server, and the server stores this feedback in a database.
[0791] System Effects
[0792] By using this system, users can safely express their feelings and organize their thoughts while maintaining anonymity. Furthermore, by using an emotion engine, it is possible to accurately recognize the user's emotional state and provide empathetic responses and appropriate advice based on that. As a result, it is possible to reduce the user's daily stress and worries and support their mental health.
[0793] The above is a description of the embodiment of the present invention. The present invention is a system that provides appropriate support while being sensitive to the user's emotions.
[0794] The processing flow will be explained below.
[0795] The present invention relates to a system that receives user input data, generates empathetic responses and appropriate advice, and analyzes the user's emotional state using an emotion engine. The operation of the entire system is explained below, broken down into specific processing steps.
[0796] User Registration
[0797] Step 1:
[0798] The user accesses the registration form on the terminal and enters a nickname and password.
[0799] Step 2:
[0800] The device sends the entered nickname and password to the server.
[0801] Step 3:
[0802] The server receives the submitted data, generates a new user ID, and stores the nickname and hashed password in the database.
[0803] Step 4:
[0804] The server returns the new user ID to the terminal, and the terminal displays a registration completion message.
[0805] Avatar Selection
[0806] Step 5:
[0807] The server generates a list of available avatars and sends it to the device.
[0808] Step 6:
[0809] The device displays a list of avatars to the user.
[0810] Step 7:
[0811] The user selects the desired avatar and transmits the selection result from the terminal to the server.
[0812] Step 8:
[0813] The server stores the selected avatar information in the user's profile.
[0814] Start a dialogue
[0815] Step 9:
[0816] The user clicks the "Start conversation" button.
[0817] Step 10:
[0818] The terminal sends a dialogue initiation request to the server.
[0819] Step 11:
[0820] The server prepares the generative AI model, generates initial dialogue messages, and sends them to the terminal.
[0821] Step 12:
[0822] The terminal displays a welcome message to the user and waits for user input.
[0823] Recognizing emotions and providing empathetic responses
[0824] Step 13:
[0825] The user enters the consultation details and clicks the send button.
[0826] Step 14:
[0827] The terminal transmits the input consultation content to the server.
[0828] Step 15:
[0829] The server passes the input to the emotion engine, which then analyzes the user's emotions.
[0830] Step 16:
[0831] The emotion engine sends the emotion recognition results back to the server.
[0832] Step 17:
[0833] The server generates empathetic responses and appropriate advice based on the recognized emotions.
[0834] Step 18:
[0835] The server sends the generated response and advice to the terminal.
[0836] Step 19:
[0837] The terminal displays this to the user and waits for further input.
[0838] Example: When a user inputs "I'm under a lot of pressure from my boss at work and it's stressful," the emotion engine recognizes that the user is feeling stressed. The server generates a response saying, "That's really tough. Thank you for your hard work. It's important to praise yourself first," and sends it to the device. The device then displays this to the user.
[0839] Ending the conversation and recording
[0840] Step 20:
[0841] The user indicates their intention to end the dialogue and clicks the dialogue end button.
[0842] Step 21:
[0843] The terminal sends a dialogue termination request to the server.
[0844] Step 22:
[0845] The server stores session information and interaction history in a database.
[0846] Step 23:
[0847] The server sends a dialogue termination message to the terminal, which displays it to the user.
[0848] Step 24:
[0849] The terminal displays a feedback form and the user enters the feedback.
[0850] Step 25:
[0851] The terminal sends feedback information to the server.
[0852] Step 26:
[0853] The server stores the feedback information in a database.
[0854] This allows users to reduce everyday stress and worries and support their mental health through empathetic dialogue that is sensitive to their emotions.
[0855] Example 2
[0856] 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."
[0857] In modern society, users need a means to safely vent their feelings and worries and organize their thoughts while maintaining anonymity. It is also important to accurately recognize the user's emotions and provide empathetic responses and appropriate advice. However, few existing systems can adequately meet these needs.
[0858] 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.
[0859] In this invention, the server includes means for receiving input data from a user, means for analyzing the input data and generating an empathetic response and appropriate advice, means for using an emotion engine for the analysis and recognizing the user's emotions, and means for presenting the empathetic response and advice to the user. This makes it possible to accurately recognize the user's emotions and provide responses and advice that are in tune with their emotions.
[0860] "Input data" refers to information provided by a user to a system, and may be in the form of text, voice, or other information.
[0861] An "emotion engine" is a software module for analyzing user emotions from input data.
[0862] An "empathetic response" refers to a reply that is sympathetic to the user's feelings, and is a message that appropriately reflects the user's feelings.
[0863] "Appropriate advice" is constructive suggestions and encouragement provided based on the user's consultation content and emotional state.
[0864] "User ID" means a unique identifier generated by the system and used to identify a User.
[0865] An "avatar" is a user-selectable character icon used to visually represent interactions with the system.
[0866] A "dialogue history" is a record of all messages exchanged between a user and the system.
[0867] "Session information" is detailed information about a particular interactive session, including start time, end time, participating user IDs, etc.
[0868] "Feedback" refers to a user providing feedback or opinions about their interaction with the system.
[0869] A "generative AI model" is a model that uses artificial intelligence to generate messages in response to user input.
[0870] MODE FOR CARRYING OUT THE INVENTION
[0871] The present invention relates to a system that receives user input data, generates empathetic responses and appropriate advice, and presents them to the user. Furthermore, the present invention aims to provide responses and advice that reflect the user's emotional state by combining an emotion engine that recognizes the user's emotions from the input data.
[0872] System Configuration
[0873] The system mainly consists of the following elements:
[0874] User device (e.g. PC, smartphone)
[0875] server
[0876] Database
[0877] Emotion Engine
[0878] Application Software
[0879] Operation overview
[0880] User Registration
[0881] The user accesses the registration form on the terminal, enters a nickname and password, and submits it. The terminal sends the input data to the server, which generates a new user ID and stores it in the database. Once user registration is complete, the terminal receives the generated user ID and presents it to the user.
[0882] Examples:
[0883] If the user enters "Tanaka" and "password123" and clicks the submit button, the server will generate a new user ID (e.g. user1234) and store the hash of "Tanaka" and "password123" in the database.
[0884] Avatar Selection
[0885] The server sends a list of available avatars to the device, which displays them to the user. The user selects the desired avatar and sends the selection information via the device to the server. The server saves the selected avatar in the user's profile.
[0886] Examples:
[0887] When the user selects a cat avatar and sends it to the server, the server associates the cat avatar with the user ID user1234 and saves it.
[0888] Start a dialogue
[0889] When the user clicks the "Start Dialogue" button, the device sends a dialogue start request to the server. The server prepares the generative AI model, generates an initial dialogue message, and sends it to the device. The device then displays the initial message to the user and waits for user input.
[0890] Examples:
[0891] The server generates a welcome message saying "Hello, how are you today?" and sends it to the terminal, which displays it to the user.
[0892] Recognizing emotions and providing empathetic responses
[0893] When a user inputs their concerns and clicks the send button, the device sends the input to the server. The server uses an emotion engine to analyze the user's emotions from the input, and generates an empathetic response and appropriate advice based on that. This is then sent to the device and displayed to the user.
[0894] Examples:
[0895] When a user inputs "I'm under a lot of pressure from my boss at work and it's tough," the emotion engine recognizes that the user is feeling stressed. The server generates a response saying, "That's really tough. Thank you for your hard work. It's important to praise yourself first," and sends it to the device. The device then displays this to the user.
[0896] Ending the conversation and recording
[0897] When the user indicates their intention to end the dialogue and clicks the dialogue end button, the terminal sends a dialogue end request to the server. The server saves the session information and dialogue history in a database and sends an end message to the terminal. The terminal displays a feedback form, allowing the user to provide feedback on the dialogue.
[0898] Examples:
[0899] The user types "I'm done for today," and the server saves the session information and interaction history. The device sends feedback to the server, saying "That was very helpful," and the server saves this feedback in a database.
[0900] Prompt Sentence Examples
[0901] "Generate an empathetic response when a user types, 'I'm under a lot of pressure from my boss at work.'"
[0902] This system allows users to express their feelings with confidence and receive appropriate support that is sensitive to their emotions.
[0903] The flow of the identification process in the second embodiment will be described with reference to FIG.
[0904] Step 1:
[0905] User visits registration form
[0906] Input: The user accesses the registration form on the device and enters their nickname and password.
[0907] What happens: A user accesses a form and enters the appropriate information.
[0908] Output: The nickname and password are saved as input data on the device.
[0909] Step 2:
[0910] User enters nickname and password and submits
[0911] Input: The user submits the input data by clicking the submit button.
[0912] Operation: The terminal sends the entered data to the server.
[0913] Output: The input data is sent to the server.
[0914] Step 3:
[0915] The server generates a new user ID
[0916] Input: The server receives the nickname and password.
[0917] What it does: The server generates a new user ID and stores the nickname and password hash in the database.
[0918] Output: A new user ID is generated and the information is saved in the database.
[0919] Step 4:
[0920] The device receives and displays the user ID.
[0921] Input: The user ID generated by the server is sent to the terminal.
[0922] Action: The terminal receives the user ID and displays it to the user.
[0923] Output: The user ID is displayed to the user.
[0924] Step 5:
[0925] The server sends a list of available avatars
[0926] Input: The server retrieves a list of available avatars from the database.
[0927] Operation: The server sends a list of avatars to the device.
[0928] Output: The list of avatars is sent to the device.
[0929] Step 6:
[0930] The device displays a list of avatars to the user.
[0931] Input: A list of avatars will be sent to the device.
[0932] Behavior: The device displays a list of avatars to the user.
[0933] Output: The user can see the list of avatars.
[0934] Step 7:
[0935] User selects desired avatar
[0936] Input: The user selects the desired avatar and enters the selection on the device.
[0937] Operation: The device sends the selection information to the server.
[0938] Output: The selected avatar information is sent to the server.
[0939] Step 8:
[0940] The server saves the selected avatar
[0941] Input: The server receives the selected avatar information.
[0942] How it works: The server associates the selected avatar with the user ID and stores it in the database.
[0943] Output: Avatar information is saved in the database.
[0944] Step 9:
[0945] User clicks the Start button
[0946] Input: The user clicks the "Start conversation" button on the terminal.
[0947] Operation: The terminal sends a dialogue initiation request to the server.
[0948] Output: A conversation initiation request is sent to the server.
[0949] Step 10:
[0950] The server prepares the generative AI model
[0951] Input: A request to start a conversation is received.
[0952] How it works: The server prepares the generative AI model and generates the initial dialogue messages.
[0953] Output: An initial message is generated.
[0954] Step 11:
[0955] The terminal displays a welcome message to the user.
[0956] Input: An initial message generated by the server is sent to the terminal.
[0957] Action: The terminal displays this message to the user.
[0958] Output: The user can see the initial message.
[0959] Step 12:
[0960] The user enters the details of the consultation and submits
[0961] Input: The user enters the content of their inquiry and clicks the send button.
[0962] Operation: The device sends the consultation details to the server.
[0963] Output: The consultation content is sent to the server.
[0964] Step 13:
[0965] The server analyzes emotions using an emotion engine
[0966] Input: The server receives the consultation content.
[0967] How it works: The emotion engine is used to analyze the user's emotions from the consultation content.
[0968] Output: The user's emotional state is analyzed.
[0969] Step 14:
[0970] The server generates empathetic responses and advice
[0971] Input: Based on sentiment analysis results.
[0972] How it works: The server generates an empathetic response and appropriate advice.
[0973] Output: An empathetic response and advice is generated.
[0974] Step 15:
[0975] The terminal displays the response to the user
[0976] Input: The response generated by the server is sent to the device.
[0977] Action: The terminal displays the response to the user.
[0978] Output: The user receives an empathetic response and advice.
[0979] Step 16:
[0980] User clicks the end button
[0981] Input: The user indicates their intention to end the dialogue by clicking the End Dialogue button.
[0982] Action: The terminal sends a dialogue termination request to the server.
[0983] Output: A request to terminate the conversation is sent to the server.
[0984] Step 17:
[0985] The server stores session information and interaction history
[0986] Input: A request to terminate the conversation is received.
[0987] How it works: The server stores session information and interaction history in a database.
[0988] Output: Interaction history and session information is saved.
[0989] Step 18:
[0990] The device displays the feedback form
[0991] Input: The server sends a conversation termination message.
[0992] Action: The terminal displays a feedback form.
[0993] Output: The feedback form is displayed to the user.
[0994] Step 19:
[0995] User enters and submits feedback
[0996] Input: User enters feedback and clicks submit button.
[0997] Action: The device sends feedback to the server.
[0998] Output: Feedback is sent to the server.
[0999] Step 20:
[1000] The server stores the feedback
[1001] Input: Receive feedback.
[1002] How it works: The server stores the feedback in a database.
[1003] Output: The feedback is saved.
[1004] (Application example 2)
[1005] 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."
[1006] Users working in security-related jobs are prone to experiencing mental stress and mental health issues on a daily basis. However, conventional systems face challenges in properly analyzing users' emotional states and providing individualized support. Furthermore, they lack a mechanism for providing a place where users can seek advice anonymously and safely. As a result, mental health management for users working in security-related jobs is inadequate, which can lead to problems such as reduced work efficiency and employee resignations.
[1007] The specific processing by the specific 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 receiving input data from a user, means for analyzing the input data and generating an empathetic response and appropriate advice, means for presenting the empathetic response and advice to the user, means having an emotion analysis engine that analyzes the user's emotional state and reflects it in the response, and means for providing psychological support to users working in security-related jobs. This enables users working in security-related jobs to talk about their feelings in peace and reduce mental stress.
[1008] "Means for receiving input data from the user" refers to a mechanism by which the system acquires text data, voice data, etc. input by the user.
[1009] The "means for analyzing the input data and generating an empathetic response and appropriate advice" is a function that analyzes the acquired user input data and generates an empathetic message or advice that is appropriate to the user's emotions and situation.
[1010] The "means for presenting an empathetic response and advice to a user" refers to a means for displaying or conveying the generated empathetic message or advice to a user.
[1011] "Means for having an emotion analysis engine that analyzes the user's emotional state and reflects it in the response" refers to a system that uses algorithms and models to analyze emotions from data entered by the user and generate a response appropriate to those emotions.
[1012] The "means for providing psychological support to users working in security-related fields" is a function that performs emotion analysis and provides advice to support the mental health of users working in security-related fields.
[1013] "Means for presenting multiple avatars that the user can select" is a function that allows the user to select the one they like from multiple characters or icons.
[1014] The "means for saving the selected avatar in the user's profile" is a function for recording the avatar selected by the user as the profile information of the user.
[1015] "Means for interacting with a user using an avatar" is a function for communicating with a user using an avatar selected by the user.
[1016] The "means for saving user interaction history and session information" is a function for recording the contents of past interactions with a user and session information in a database.
[1017] The "means for updating the user's emotional state based on the dialogue history and session information" is a function for periodically reevaluating and updating the user's emotional state based on the content of past dialogues and session information.
[1018] The "means for receiving and storing feedback from users" is a function for receiving and recording ratings and comments from users.
[1019] The system for implementing this invention includes a user terminal, a server, a database, an emotion analysis engine, and application software. The components and operations of the system will be described below.
[1020] User terminal
[1021] The user terminal is a mobile device such as a smartphone or tablet, which has a front-end application developed using React Native installed on it. Through this application, users can provide input data and receive empathetic responses and advice.
[1022] server
[1023] The server includes a backend built using Node.js and Express. The server processes data received from users and works with a sentiment analysis engine and generative AI models to generate appropriate responses. The server also connects to a database such as MySQL or PostgreSQL to store user profile information, interaction history, and emotional state.
[1024] Sentiment Analysis Engine
[1025] The sentiment analysis engine includes a sentiment analysis model using TensorFlow and Keras. This engine is implemented in Python and analyzes user input data to recognize their emotional state. For example, if a user inputs "Recently, I've been feeling very stressed at work," the sentiment analysis engine will recognize that the user is feeling stressed.
[1026] Application Software
[1027] The application software runs on the user terminal and provides functions such as user registration, avatar selection, dialogue initiation and termination, and feedback collection.
[1028] Operation overview
[1029] 1. User registration: The user accesses the registration form on the smartphone app and enters the required information. Once registration is complete, the server generates a new user ID and stores it in the database.
[1030] Example: A user enters "Tanaka" and "password123" and clicks the submit button. The server generates a new user ID (e.g., user1234) and saves it in the database.
[1031] 2. Avatar selection: The server sends a list of available avatars to the device, which displays them to the user. The user selects the desired avatar and sends it to the server.
[1032] Example: A user selects a cat avatar and sends it to the server, which associates the cat avatar with user ID user1234 and saves it.
[1033] 3. Start dialogue: The user clicks the "Start dialogue" button, and the device sends a dialogue start request to the server. The server prepares the generative AI model, generates the initial dialogue message, and sends it to the device.
[1034] Example: The server generates an initial message saying "Hello, how are you today?" and sends it to the device.
[1035] 4. Emotion recognition and provision of empathetic responses: When a user enters their consultation details and clicks the send button, the device sends the input to the server. The server uses an emotion engine to analyze the user's emotions from the input, and based on that, generates an empathetic response and appropriate advice, which is then sent to the device.
[1036] Example: When a user inputs "I'm under a lot of pressure from my boss at work and it's tough," the emotion engine recognizes that the user is feeling stressed. The server generates a response saying, "That's really tough. Thank you for your hard work. It's important to praise yourself first," and sends it to the device.
[1037] 5. Ending the dialogue and recording: When the user indicates their intention to end the dialogue and clicks the End dialogue button, the terminal sends a dialogue termination request to the server. The server saves the session information and dialogue history in a database and sends an end message to the terminal. The user fills in a feedback form, which is also saved in the database.
[1038] Example: The user types "I'm done for today" and the server stores the session information and interaction history. The device sends feedback such as "That was very helpful" to the server, which stores this feedback in a database.
[1039] In this way, users working in security-related fields can receive empathetic responses and advice that are in line with their emotional state, allowing them to feel safe expressing their feelings and reducing mental stress.
[1040] The flow of the specific processing in the application example 2 will be described with reference to FIG.
[1041] Step 1: User Registration
[1042] A user accesses the registration form of a smartphone app and enters a nickname and password. The entered data (nickname and password) is sent from the device to the server. The server generates a new user ID and stores a hash of this ID, nickname, and password in a database. Once registration is complete, the server returns the generated user ID to the device, which displays it to the user.
[1043] Input: Nickname, Password
[1044] Data processing: Nickname and password hashing, user ID generation
[1045] Output: Return of user ID
[1046] Step 2: Choose your avatar
[1047] The server sends a list of available avatars to the device, which displays the list to the user, who selects the desired avatar, and the selection is sent from the device to the server, which saves the selected avatar in the user's profile.
[1048] Input: Avatar selection information
[1049] Data processing: Saving avatar information to user profile
[1050] Output: Updated profile information
[1051] Step 3: Start a conversation
[1052] The user clicks the "Start Dialogue" button to send a dialogue start request from the device to the server. The server prepares the generative AI model, generates an initial dialogue message, and sends it to the device, which then displays it to the user.
[1053] Input: Dialogue start request
[1054] Data processing: Preparation of generative AI model, generation of initial messages
[1055] Output: Initial dialogue message
[1056] Step 4: Recognize emotions and provide empathic responses
[1057] The user enters the content of their consultation and clicks the send button. This input is sent from the device to the server. The server passes this input data to an emotion analysis engine, which analyzes the user's emotions. Based on the analysis results, the generative AI model generates an empathetic response and appropriate advice, which is sent to the device. The device then displays it to the user.
[1058] Input: Consultation details
[1059] Data processing: sentiment analysis, empathetic response and advice generation
[1060] Output: Empathic response and advice message
[1061] Step 5: End the conversation and record
[1062] The user indicates their intention to end the dialogue and clicks the dialogue end button. A dialogue end request is sent from the terminal to the server. The server saves the session information and dialogue history in a database and sends an end message to the terminal. In addition, the terminal displays a feedback form to the user, and the user enters feedback into the form. The entered feedback is sent to the server, which saves it in a database.
[1063] Input: Dialogue termination request, feedback
[1064] Data processing: saving session information and dialogue history, recording feedback
[1065] Output: Exit message, saved feedback
[1066] 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.
[1067] 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.
[1068] 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.
[1069] [Third embodiment]
[1070] FIG. 5 shows an example of the configuration of a data processing system 310 according to the third embodiment.
[1071] 5, the data processing system 310 includes the data processing device 12 and a headset type terminal 314. An example of the data processing device 12 is a server.
[1072] 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).
[1073] 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.
[1074] 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.
[1075] 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).
[1076] 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.
[1077] 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.
[1078] 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.
[1079] 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.
[1080] 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.
[1081] 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."
[1082] The present invention relates to a system that receives input data from a user, generates empathetic responses and appropriate advice, and presents them to the user. The purpose of this system is to reduce the user's stress and worries and provide emotional support.
[1083] System Configuration
[1084] The system mainly consists of the following elements:
[1085] User terminal
[1086] server
[1087] Database
[1088] Application Software
[1089] Operation overview
[1090] 1. User Registration
[1091] The user accesses the registration form on the terminal, enters a nickname and password, and submits it. The terminal sends the input data to the server, which generates a new user ID and stores it in the database. After registration is complete, the terminal receives the user ID and displays it to the user.
[1092] Example: A user enters "Tanaka" and "password123" and clicks the submit button. The server generates a new user ID (e.g., user1234) and stores it in the database along with the hash of "Tanaka" and "password123".
[1093] 2. Avatar selection
[1094] The server sends a list of available avatars to the device, which displays them to the user. The user selects the desired avatar and sends the selection to the server via the device. The server saves the selected avatar in the user's profile.
[1095] Example: A user selects a cat avatar and sends it to the server. The server associates the cat avatar with user ID user1234 and saves it.
[1096] 3. Start the dialogue
[1097] When the user clicks the "Start Dialogue" button, the device sends a dialogue start request to the server. The server prepares the generative AI model, generates an initial dialogue message, and sends it to the device. The device displays the initial message to the user and waits for user input.
[1098] Example: The server generates an initial message saying "Hello, how are you today?" and sends it to the terminal, which displays it to the user.
[1099] 4. Offering empathy and advice
[1100] When a user inputs their concerns and clicks the send button, the device sends the input to the server. The server analyzes the input, generates an empathetic response and appropriate advice, and sends it to the device, which then displays it to the user.
[1101] Example: When a user inputs "I'm under a lot of pressure from my boss at work and it's tough," the server generates a response saying "That's really tough. Thank you for your hard work. It's important to praise yourself first," and sends it to the terminal. The terminal then displays this to the user.
[1102] 5. Closing the Dialogue and Recording
[1103] When the user indicates their intention to end the dialogue and clicks the dialogue end button, the terminal sends a dialogue end request to the server. The server saves the session information and dialogue history in a database and sends an end message to the terminal. The terminal displays a feedback form, allowing the user to provide feedback on the dialogue.
[1104] Example: A user types "I'm done for today," and the server stores the session information and interaction history. The device sends feedback such as "That was very helpful" to the server, and the server stores this feedback in a database.
[1105] System Effects
[1106] By using this system, users can safely express their feelings and organize their thoughts while maintaining anonymity. Furthermore, by using a generative AI model, it is possible to provide empathetic and appropriate responses to users. As a result, it is possible to reduce users' daily stress and worries and support their mental health.
[1107] The above is a description of the mode for carrying out the present invention. The present invention is a system that provides important support to people who are stressed or troubled in modern society.
[1108] The processing flow will be explained below.
[1109] Step 1:
[1110] The user accesses the registration form on the terminal and enters a nickname and password.
[1111] Step 2:
[1112] The device sends the entered nickname and password to the server.
[1113] Step 3:
[1114] The server receives the submitted data, generates a new user ID and saves it in the database.
[1115] Step 4:
[1116] The server returns the new user ID to the terminal, and the terminal displays a registration completion message.
[1117] Step 5:
[1118] The server generates a list of available avatars and sends it to the device.
[1119] Step 6:
[1120] The terminal displays a list of avatars to the user, and the user selects the avatar they want.
[1121] Step 7:
[1122] The terminal sends the selected avatar information to the server, which stores it in the user's profile.
[1123] Step 8:
[1124] The user clicks the "Start conversation" button, and the terminal sends a conversation start request to the server.
[1125] Step 9:
[1126] The server prepares the generative AI model, generates an initial message, and sends it to the terminal.
[1127] Step 10:
[1128] The terminal displays an initial message to the user, and the user inputs the content of the consultation.
[1129] Step 11:
[1130] The user enters the consultation details and clicks the send button.
[1131] Step 12:
[1132] The terminal transmits the input consultation content to the server.
[1133] Step 13:
[1134] The server analyzes the consultation content and generates an empathetic response and appropriate advice.
[1135] Step 14:
[1136] The server sends the generated responses and advice to the terminal, which displays them to the user.
[1137] Step 15:
[1138] The user chooses whether to continue or end the interaction.
[1139] Step 16:
[1140] When the user indicates his / her intention to end the dialogue, the terminal transmits a dialogue end request to the server.
[1141] Step 17:
[1142] The server saves the session information and the dialogue history and sends a termination message to the terminal.
[1143] Step 18:
[1144] The terminal displays a feedback form and the user enters the feedback.
[1145] Step 19:
[1146] The terminal sends the feedback information to the server, which stores it in a database.
[1147] Example 1
[1148] 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."
[1149] In modern society, many people suffer from stress and worries, but there are insufficient means to relieve them. In particular, there is a need for a system that provides appropriate advice and empathetic responses while maintaining anonymity. The lack of such a system makes it difficult for users to find a place to discuss their mental worries. Furthermore, there is a lack of effective means to provide users with emotional support and maintain and improve their mental health.
[1150] 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.
[1151] In this invention, the server includes means for receiving input data from a user, means for analyzing the input data and generating an empathetic response and appropriate advice, means for presenting the empathetic response and advice to the user, means for receiving the user's registration information and generating and saving a new user ID, means for notifying the user of the generated user ID, means for receiving a session start request and generating an initial message, means for saving session information and a dialogue history, and means for saving the dialogue history and feedback at the end of the session. This provides an environment where users can safely seek advice about their mental worries while maintaining anonymity, making it possible to reduce users' everyday stress and worries and support their mental health.
[1152] A "user" is someone who uses the system to consult or interact with others.
[1153] "Input data" refers to text or information that a user enters into a system.
[1154] An "empathetic response" refers to a response that shows understanding of the user's feelings and situation and provides a sense of security.
[1155] "Appropriate advice" refers to providing specific and practical solutions or advice to users' problems or concerns.
[1156] "Profile" refers to data that includes personal information such as a user's avatar and registration information.
[1157] "Avatar" refers to an individual character or icon that a user can select.
[1158] "Dialogue history" refers to data that stores the contents of past dialogues exchanged between a user and a system.
[1159] "Session Information" refers to information relating to a particular interactive session (e.g., start time, end time, content of the interaction, etc.).
[1160] "Feedback" refers to user evaluations and opinions about the system and its responses.
[1161] A "generative AI model" refers to an artificial intelligence model that analyzes user input data and generates empathetic responses and appropriate advice.
[1162] The present invention relates to a system that receives input data from a user, generates an empathetic response and appropriate advice, and presents it to the user. This system is mainly composed of the following elements:
[1163] 1. User device (PC, smartphone, tablet, etc.)
[1164] 2. Server (preferably with high-performance data processing capabilities)
[1165] 3. Database (MySQL, PostgreSQL, etc.)
[1166] 4. Application software (HTML, CSS, JavaScript, Python, Node.js, etc.)
[1167] 5. Generative AI models (using APIs such as GPT-3)
[1168] System Configuration
[1169] The system operates via a user terminal, a server, and a database. The user terminal functions as an interface for sending data entered by the user and the contents of the dialogue to the server. The server analyzes the received data, connects with the database, and generates empathetic responses and appropriate advice. The generated results are then sent to the user terminal and presented to the user.
[1170] Operation overview
[1171] User Registration
[1172] First, the user accesses the registration form on the terminal, enters a nickname and password, and submits it. The terminal sends the input data to the server. The server generates a new user ID and stores the nickname and hashed password in a database. After registration is complete, the server sends the generated user ID to the terminal, which displays it to the user.
[1173] Avatar Selection
[1174] The server then sends a list of available avatars to the device, which displays it to the user. The user selects the desired avatar and sends the selection to the server via the device. The server then saves the selected avatar in the user's profile.
[1175] Start a dialogue
[1176] When the user clicks the "Start Dialogue" button, the device sends a dialogue start request to the server. The server launches the generative AI model, generates an initial dialogue message, and sends it to the device. The device displays the initial message to the user and waits for the user's input. Specific examples of prompt sentences are as follows:
[1177] "Hello, how are you today?"
[1178] Offering empathy and advice
[1179] When the user enters the content of their inquiry and clicks the send button, the device sends the input content to the server. The server uses a generative AI model to analyze the input content and generate an empathetic response and appropriate advice. The generated response is sent to the device and displayed to the user. Specific examples of prompt sentences are as follows:
[1180] User input: "I feel a lot of pressure from my boss at work."
[1181] Server response: "That's really tough. Thank you for your hard work. It's important to give yourself a pat on the back."
[1182] Ending the conversation and recording
[1183] When the user indicates their intention to end the dialogue and clicks the dialogue end button, the terminal sends a dialogue end request to the server. The server saves the session information and dialogue history in a database. The server then sends an end message to the terminal, which displays a feedback form. The user enters dialogue feedback, which is sent to the server and then saved in the database.
[1184] Through these steps, users can safely discuss their mental health concerns and receive empathy and advice while maintaining anonymity. By utilizing generative AI models, the system can provide high-quality, personalized responses. This can help reduce users' everyday stress and worries and support their mental health.
[1185] The flow of the identification process in the first embodiment will be described with reference to FIG.
[1186] Step 1: Processing user registration
[1187] Input: The user enters a nickname and password into the registration form on the device and clicks the submit button.
[1188] Operation: The device sends the entered nickname and password to the server.
[1189] Data processing and calculation: The server receives the received data and hashes the password, then generates a new user ID and stores the nickname and hashed password in the database.
[1190] Output: The server sends the generated user ID to the terminal.
[1191] Specific operation: The server generates a user ID called "user1234", saves it, and sends it to the terminal, which then displays it to the user.
[1192] Step 2: Handling avatar selection
[1193] Input: The server sends a list of available avatars to the device. The user selects the desired avatar from the list.
[1194] Operation: The device sends the user's selected avatar information to the server.
[1195] Data processing and calculation: The server stores the selected avatar in the user profile.
[1196] Output: The selected avatar is reflected in the user profile.
[1197] Specific operation: The user selects a cat avatar, and the device sends the selection information to the server. The server saves the cat avatar for user ID user1234.
[1198] Step 3: Handling the conversation start
[1199] Input: User clicks the "Start Interaction" button.
[1200] Operation: The terminal sends a dialogue initiation request to the server.
[1201] Data processing and calculation: The server launches the generative AI model and generates the initial dialogue message.
[1202] Output: The server sends the generated initial message to the terminal.
[1203] Specific operation: The server generates a message saying "Hello, how are you today?" and sends it to the terminal, which displays it to the user.
[1204] Step 4: Process empathy and advice-giving
[1205] Input: The user inputs the consultation content and clicks the send button.
[1206] Operation: The terminal sends the input to the server.
[1207] Data processing and calculation: The server uses a generative AI model to analyze the input and generate empathetic responses and appropriate advice.
[1208] Output: The server sends the generated response to the terminal.
[1209] Specific operation: The user enters "I'm under a lot of pressure from my boss at work and it's tough" and clicks the send button. The server analyzes this, generates a response saying "That's really tough. Thank you for your hard work. It's important to praise yourself first," and sends it to the device. The device then displays this to the user.
[1210] Step 5: End the interaction and handle the recording
[1211] Input: The user clicks the end of interaction button.
[1212] Operation: The terminal sends a dialogue termination request to the server.
[1213] Data processing and calculation: The server saves the session information and the conversation history in a database. Then, it generates an end message and ends the conversation.
[1214] Output: The server sends a finishing message and a feedback form to the terminal.
[1215] Specific operation: The user enters "I'm done for today" and sends a dialogue termination request to the server. The server saves the dialogue history in a database and sends a termination message and a feedback form to the terminal. The terminal displays the feedback form to the user. The user enters feedback, which is sent to the server and stored in the database.
[1216] (Application example 1)
[1217] 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."
[1218] In modern society, the number of people experiencing security-related stress and anxiety is steadily increasing. This burden is particularly significant in workplaces where security management is required, and it is highly likely to negatively impact mental health. However, systems and services for quickly and appropriately alleviating this stress and anxiety have yet to be fully developed. Therefore, an objective of the present invention is to provide a system that provides empathetic responses, appropriate advice, and psychological support to users experiencing security-related stress and anxiety.
[1219] 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.
[1220] In this invention, the server includes means for receiving input data from a user, means for analyzing the input data and utilizing a generative AI model to generate an empathetic response and appropriate advice, means for presenting the empathetic response and advice to the user, and a database containing prompt sentences for generating empathetic responses and advice for security-related stress or anxiety, thereby enabling prompt and appropriate psychological support to be provided to users experiencing security-related stress or anxiety.
[1221] "User" refers to any individual or entity that uses the system.
[1222] "Input data" refers to information provided by a user to a system.
[1223] A "generative AI model" refers to an artificial intelligence model that analyzes user input data and generates empathetic responses and appropriate advice.
[1224] An "empathetic response" refers to a response that is sympathetic to the user's feelings and shows understanding.
[1225] "Appropriate advice" refers to specific and useful advice that addresses the user's situation or concerns.
[1226] "Prompts" refer to standardized statements or instructions that generative AI models use to generate empathetic responses and advice.
[1227] "Database" refers to a system for storing data such as user information, dialogue history, and prompts.
[1228] "Virtual character" refers to a character that resembles a fictional person or animal that can be selected by the user.
[1229] "Dialogue history" refers to a record of interactions between a user and a system.
[1230] "Session Information" refers to information about a particular interactive session.
[1231] The present invention relates to a system for providing empathetic responses and appropriate advice to users experiencing security-related stress or anxiety. The system consists of a user terminal, a server, a database, a generative AI model, and a database containing prompt sentences.
[1232] System Configuration
[1233] 1. User Device
[1234] The user terminal is a device that the user directly uses, such as a smartphone or a head-mounted display (HMD). The user terminal inputs consultation details about security-related stress and worries, and sends and receives data to and from the system.
[1235] 2. Server
[1236] The server receives input data sent from the user's device, analyzes it based on the generative AI model, generates empathetic responses and appropriate advice as the analysis results, and sends them back to the user's device. It also references a database containing security-related prompts.
[1237] 3. Database
[1238] The database is a system that stores user information, interaction history, session information, prompts, etc. In particular, it contains prompts that address security-related stress and concerns, which are used by the generative AI model to generate responses.
[1239] Operation overview
[1240] 1. User Registration
[1241] A user registers by entering a nickname and password on the user's device. The device sends this information to the server. The server generates a new user ID and stores it in the database. Once registration is complete, the user ID is sent back to the device.
[1242] 2. Avatar selection
[1243] The server sends a list of available virtual characters to the user's device and displays it. The user selects the desired virtual character and sends the information to the server. The server saves the selected virtual character in the user's profile.
[1244] 3. Start the dialogue
[1245] When the user starts a dialogue on the terminal, the server prepares the generative AI model and generates an initial dialogue message, which is displayed on the user terminal and waits for the user's input.
[1246] 4. Offering empathy and advice
[1247] When a user inputs and submits their consultation, the device sends the content to the server. The server uses a generative AI model to analyze the input content and generate empathetic responses and advice using appropriate prompts. This is then sent to the user's device and displayed to the user.
[1248] As a specific example, if a user types, "I can't sleep lately because there have been so many unauthorized accesses to my company's systems," the server will generate a response such as, "That's a very stressful situation. First of all, it's important that you consult with an expert. And conducting regular risk assessments may also give you peace of mind," and send it to the user's device.
[1249] 5. Closing the Dialogue and Recording
[1250] When the user wishes to end the dialogue, the terminal sends a request to the server. The server stores the dialogue history and session information in a database and sends an end message to the user terminal. At the same time, a feedback form is displayed so that the user can provide feedback on the dialogue.
[1251] Hardware and software used
[1252] Hardware: Smartphone, Head-Mounted Display (HMD)
[1253] software:
[1254] OpenAI API (text-davinci-003)
[1255] Flask (Python web framework)
[1256] Database systems (such as MongoDB)
[1257] Prompt Sentence Examples
[1258] Below are some example prompts to use with generative AI models:
[1259] "Please provide empathetic and appropriate advice to users who are concerned about security."
[1260] "Please empathize and provide reassuring advice to users who are losing sleep over security issues."
[1261] The flow of the specific processing in the application example 1 will be described with reference to FIG.
[1262] Step 1:
[1263] The user enters a nickname and password using the user terminal to register.
[1264] Input: Nickname and Password
[1265] Specific operation: A user accesses the registration form, enters a nickname (e.g., "Tanaka") and a password (e.g., "password123"), and clicks the submit button.
[1266] Output: The server generates a new user ID (e.g. user1234) and stores it in the database along with the nickname and password hash.
[1267] Step 2:
[1268] The user terminal receives the list of available virtual characters provided by the server and displays it to the user.
[1269] Input: A list of virtual characters provided by the server
[1270] Specific operation: The server retrieves a list of virtual characters stored in the database and sends it to the user's device. The user's device displays the list and the user can select the desired virtual character.
[1271] Output: The information about the virtual character selected by the user is sent to the server, which stores it in the user's profile.
[1272] Step 3:
[1273] The user clicks the "Start conversation" button on the user terminal and receives the initial conversation message generated by the server.
[1274] Input: A request from the user to start a conversation
[1275] Specific operation: The user clicks the dialogue start button, and the terminal sends the request to the server. The server generates an initial dialogue message (e.g., "Hello, how can I help you? Please talk to me.") and sends it to the user terminal.
[1276] Output: An initial message is displayed on the user's terminal.
[1277] Step 4:
[1278] The user inputs their concerns and sends them to the server, which uses a generative AI model to analyze the input and generate an empathetic response and appropriate advice.
[1279] Input: User's consultation (e.g., "Recently, there have been frequent unauthorized accesses to our company's systems, and I can't sleep.")
[1280] How it works: The user enters their consultation content and clicks the send button, and the device sends the content to the server. The server uses a generative AI model to analyze the input content and generate an empathetic response and advice using prompt sentences (e.g., "That's a very stressful situation. It's important to consult a professional first.").
[1281] Output: The generated empathetic responses and advice are sent to the user's terminal and displayed to the user.
[1282] Step 5:
[1283] When the user wishes to end the dialogue, he clicks the dialogue end button. The server saves the dialogue history and session information and sends an end message to the user terminal.
[1284] Input: User request to terminate the dialogue
[1285] Specific operation: The user clicks the dialogue termination button, and the terminal sends the request to the server. The server saves the dialogue history and session information in a database and sends an end message to the user's terminal. At the same time, a feedback form is displayed, allowing the user to provide feedback on the dialogue.
[1286] Output: Interaction history and session information are stored in a database and feedback is sent to the server.
[1287] 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.
[1288] The present invention relates to a system that receives user input data, generates empathetic responses and appropriate advice, and presents them to the user. The present invention also aims to provide responses and advice that reflect the user's emotional state by combining it with an emotion engine that recognizes the user's emotions from the input data.
[1289] System Configuration
[1290] The system mainly consists of the following elements:
[1291] User terminal
[1292] server
[1293] Database
[1294] Emotion Engine
[1295] Application Software
[1296] Operation overview
[1297] 1. User Registration
[1298] The user accesses the registration form on the terminal, enters a nickname and password, and submits it. The terminal sends the input data to the server, which generates a new user ID and stores it in the database. After registration is complete, the terminal receives the user ID and displays it to the user.
[1299] Example: A user enters "Tanaka" and "password123" and clicks the submit button. The server generates a new user ID (e.g., user1234) and stores it in the database along with the hash of "Tanaka" and "password123".
[1300] 2. Avatar selection
[1301] The server sends a list of available avatars to the device, which displays them to the user. The user selects the desired avatar and sends the selection to the server via the device. The server saves the selected avatar in the user's profile.
[1302] Example: A user selects a cat avatar and sends it to the server. The server associates the cat avatar with user ID user1234 and saves it.
[1303] 3. Start the dialogue
[1304] When the user clicks the "Start Dialogue" button, the device sends a dialogue start request to the server. The server prepares the generative AI model, generates an initial dialogue message, and sends it to the device. The device displays the initial message to the user and waits for user input.
[1305] Example: The server generates an initial message saying "Hello, how are you today?" and sends it to the terminal, which displays it to the user.
[1306] 4. Recognizing emotions and providing empathetic responses
[1307] When the user inputs the content of their consultation and clicks the send button, the device sends the input to the server. The server uses an emotion engine to analyze the user's emotions from the input, and generates an empathetic response and appropriate advice based on that. This is then sent to the device and displayed to the user.
[1308] Example: When a user inputs "I'm under a lot of pressure from my boss at work and it's tough," the emotion engine recognizes that the user is feeling stressed. The server generates a response saying, "That's really tough. Thank you for your hard work. It's important to praise yourself first," and sends it to the device. The device then displays this to the user.
[1309] 5. Closing the Dialogue and Recording
[1310] When the user indicates their intention to end the dialogue and clicks the dialogue end button, the terminal sends a dialogue end request to the server. The server saves the session information and dialogue history in a database and sends an end message to the terminal. The terminal displays a feedback form, allowing the user to provide feedback on the dialogue.
[1311] Example: A user types "I'm done for today," and the server stores the session information and interaction history. The device sends feedback such as "That was very helpful" to the server, and the server stores this feedback in a database.
[1312] System Effects
[1313] By using this system, users can safely express their feelings and organize their thoughts while maintaining anonymity. Furthermore, by using an emotion engine, it is possible to accurately recognize the user's emotional state and provide empathetic responses and appropriate advice based on that. As a result, it is possible to reduce the user's daily stress and worries and support their mental health.
[1314] The above is a description of the embodiment of the present invention. The present invention is a system that provides appropriate support while being sensitive to the user's emotions.
[1315] The processing flow will be explained below.
[1316] The present invention relates to a system that receives user input data, generates empathetic responses and appropriate advice, and analyzes the user's emotional state using an emotion engine. The operation of the entire system is explained below, broken down into specific processing steps.
[1317] User Registration
[1318] Step 1:
[1319] The user accesses the registration form on the terminal and enters a nickname and password.
[1320] Step 2:
[1321] The device sends the entered nickname and password to the server.
[1322] Step 3:
[1323] The server receives the submitted data, generates a new user ID, and stores the nickname and hashed password in the database.
[1324] Step 4:
[1325] The server returns the new user ID to the terminal, and the terminal displays a registration completion message.
[1326] Avatar Selection
[1327] Step 5:
[1328] The server generates a list of available avatars and sends it to the device.
[1329] Step 6:
[1330] The device displays a list of avatars to the user.
[1331] Step 7:
[1332] The user selects the desired avatar and transmits the selection result from the terminal to the server.
[1333] Step 8:
[1334] The server stores the selected avatar information in the user's profile.
[1335] Start a dialogue
[1336] Step 9:
[1337] The user clicks the "Start conversation" button.
[1338] Step 10:
[1339] The terminal sends a dialogue initiation request to the server.
[1340] Step 11:
[1341] The server prepares the generative AI model, generates initial dialogue messages, and sends them to the terminal.
[1342] Step 12:
[1343] The terminal displays a welcome message to the user and waits for user input.
[1344] Recognizing emotions and providing empathetic responses
[1345] Step 13:
[1346] The user enters the consultation details and clicks the send button.
[1347] Step 14:
[1348] The terminal transmits the input consultation content to the server.
[1349] Step 15:
[1350] The server passes the input to the emotion engine, which then analyzes the user's emotions.
[1351] Step 16:
[1352] The emotion engine sends the emotion recognition results back to the server.
[1353] Step 17:
[1354] The server generates empathetic responses and appropriate advice based on the recognized emotions.
[1355] Step 18:
[1356] The server sends the generated response and advice to the terminal.
[1357] Step 19:
[1358] The terminal displays this to the user and waits for further input.
[1359] Example: When a user inputs "I'm under a lot of pressure from my boss at work and it's stressful," the emotion engine recognizes that the user is feeling stressed. The server generates a response saying, "That's really tough. Thank you for your hard work. It's important to praise yourself first," and sends it to the device. The device then displays this to the user.
[1360] Ending the conversation and recording
[1361] Step 20:
[1362] The user indicates their intention to end the dialogue and clicks the dialogue end button.
[1363] Step 21:
[1364] The terminal sends a dialogue termination request to the server.
[1365] Step 22:
[1366] The server stores session information and interaction history in a database.
[1367] Step 23:
[1368] The server sends a dialogue termination message to the terminal, which displays it to the user.
[1369] Step 24:
[1370] The terminal displays a feedback form and the user enters the feedback.
[1371] Step 25:
[1372] The terminal sends feedback information to the server.
[1373] Step 26:
[1374] The server stores the feedback information in a database.
[1375] This allows users to reduce everyday stress and worries and support their mental health through empathetic dialogue that is sensitive to their emotions.
[1376] Example 2
[1377] 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."
[1378] In modern society, users need a means to safely vent their feelings and worries and organize their thoughts while maintaining anonymity. It is also important to accurately recognize the user's emotions and provide empathetic responses and appropriate advice. However, few existing systems can adequately meet these needs.
[1379] 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.
[1380] In this invention, the server includes means for receiving input data from a user, means for analyzing the input data and generating an empathetic response and appropriate advice, means for using an emotion engine for the analysis and recognizing the user's emotions, and means for presenting the empathetic response and advice to the user. This makes it possible to accurately recognize the user's emotions and provide responses and advice that are in tune with their emotions.
[1381] "Input data" refers to information provided by a user to a system, and may be in the form of text, voice, or other information.
[1382] An "emotion engine" is a software module for analyzing user emotions from input data.
[1383] An "empathetic response" refers to a reply that is sympathetic to the user's feelings, and is a message that appropriately reflects the user's feelings.
[1384] "Appropriate advice" is constructive suggestions and encouragement provided based on the user's consultation content and emotional state.
[1385] "User ID" means a unique identifier generated by the system and used to identify a User.
[1386] An "avatar" is a user-selectable character icon used to visually represent interactions with the system.
[1387] A "dialogue history" is a record of all messages exchanged between a user and the system.
[1388] "Session information" is detailed information about a particular interactive session, including start time, end time, participating user IDs, etc.
[1389] "Feedback" refers to a user providing feedback or opinions about their interaction with the system.
[1390] A "generative AI model" is a model that uses artificial intelligence to generate messages in response to user input.
[1391] MODE FOR CARRYING OUT THE INVENTION
[1392] The present invention relates to a system that receives user input data, generates empathetic responses and appropriate advice, and presents them to the user. Furthermore, the present invention aims to provide responses and advice that reflect the user's emotional state by combining an emotion engine that recognizes the user's emotions from the input data.
[1393] System Configuration
[1394] The system mainly consists of the following elements:
[1395] User device (e.g. PC, smartphone)
[1396] server
[1397] Database
[1398] Emotion Engine
[1399] Application Software
[1400] Operation overview
[1401] User Registration
[1402] The user accesses the registration form on the terminal, enters a nickname and password, and submits it. The terminal sends the input data to the server, which generates a new user ID and stores it in the database. Once user registration is complete, the terminal receives the generated user ID and presents it to the user.
[1403] Examples:
[1404] If the user enters "Tanaka" and "password123" and clicks the submit button, the server will generate a new user ID (e.g. user1234) and store the hash of "Tanaka" and "password123" in the database.
[1405] Avatar Selection
[1406] The server sends a list of available avatars to the device, which displays them to the user. The user selects the desired avatar and sends the selection information via the device to the server. The server saves the selected avatar in the user's profile.
[1407] Examples:
[1408] When the user selects a cat avatar and sends it to the server, the server associates the cat avatar with the user ID user1234 and saves it.
[1409] Start a dialogue
[1410] When the user clicks the "Start Dialogue" button, the device sends a dialogue start request to the server. The server prepares the generative AI model, generates an initial dialogue message, and sends it to the device. The device then displays the initial message to the user and waits for user input.
[1411] Examples:
[1412] The server generates a welcome message saying "Hello, how are you today?" and sends it to the terminal, which displays it to the user.
[1413] Recognizing emotions and providing empathetic responses
[1414] When a user inputs their concerns and clicks the send button, the device sends the input to the server. The server uses an emotion engine to analyze the user's emotions from the input, and generates an empathetic response and appropriate advice based on that. This is then sent to the device and displayed to the user.
[1415] Examples:
[1416] When a user inputs "I'm under a lot of pressure from my boss at work and it's tough," the emotion engine recognizes that the user is feeling stressed. The server generates a response saying, "That's really tough. Thank you for your hard work. It's important to praise yourself first," and sends it to the device. The device then displays this to the user.
[1417] Ending the conversation and recording
[1418] When the user indicates their intention to end the dialogue and clicks the dialogue end button, the terminal sends a dialogue end request to the server. The server saves the session information and dialogue history in a database and sends an end message to the terminal. The terminal displays a feedback form, allowing the user to provide feedback on the dialogue.
[1419] Examples:
[1420] The user types "I'm done for today," and the server saves the session information and interaction history. The device sends feedback to the server, saying "That was very helpful," and the server saves this feedback in a database.
[1421] Prompt Sentence Examples
[1422] "Generate an empathetic response when a user types, 'I'm under a lot of pressure from my boss at work.'"
[1423] This system allows users to express their feelings with confidence and receive appropriate support that is sensitive to their emotions.
[1424] The flow of the identification process in the second embodiment will be described with reference to FIG.
[1425] Step 1:
[1426] User visits registration form
[1427] Input: The user accesses the registration form on the device and enters their nickname and password.
[1428] What happens: A user accesses a form and enters the appropriate information.
[1429] Output: The nickname and password are saved as input data on the device.
[1430] Step 2:
[1431] User enters nickname and password and submits
[1432] Input: The user submits the input data by clicking the submit button.
[1433] Operation: The terminal sends the entered data to the server.
[1434] Output: The input data is sent to the server.
[1435] Step 3:
[1436] The server generates a new user ID
[1437] Input: The server receives the nickname and password.
[1438] What it does: The server generates a new user ID and stores the nickname and password hash in the database.
[1439] Output: A new user ID is generated and the information is saved in the database.
[1440] Step 4:
[1441] The device receives and displays the user ID.
[1442] Input: The user ID generated by the server is sent to the terminal.
[1443] Action: The terminal receives the user ID and displays it to the user.
[1444] Output: The user ID is displayed to the user.
[1445] Step 5:
[1446] The server sends a list of available avatars
[1447] Input: The server retrieves a list of available avatars from the database.
[1448] Operation: The server sends a list of avatars to the device.
[1449] Output: The list of avatars is sent to the device.
[1450] Step 6:
[1451] The device displays a list of avatars to the user.
[1452] Input: A list of avatars will be sent to the device.
[1453] Behavior: The device displays a list of avatars to the user.
[1454] Output: The user can see the list of avatars.
[1455] Step 7:
[1456] User selects desired avatar
[1457] Input: The user selects the desired avatar and enters the selection on the device.
[1458] Operation: The device sends the selection information to the server.
[1459] Output: The selected avatar information is sent to the server.
[1460] Step 8:
[1461] The server saves the selected avatar
[1462] Input: The server receives the selected avatar information.
[1463] How it works: The server associates the selected avatar with the user ID and stores it in the database.
[1464] Output: Avatar information is saved in the database.
[1465] Step 9:
[1466] User clicks the Start button
[1467] Input: The user clicks the "Start conversation" button on the terminal.
[1468] Operation: The terminal sends a dialogue initiation request to the server.
[1469] Output: A conversation initiation request is sent to the server.
[1470] Step 10:
[1471] The server prepares the generative AI model
[1472] Input: A request to start a conversation is received.
[1473] How it works: The server prepares the generative AI model and generates the initial dialogue messages.
[1474] Output: An initial message is generated.
[1475] Step 11:
[1476] The terminal displays a welcome message to the user.
[1477] Input: An initial message generated by the server is sent to the terminal.
[1478] Action: The terminal displays this message to the user.
[1479] Output: The user can see the initial message.
[1480] Step 12:
[1481] The user enters the details of the consultation and submits
[1482] Input: The user enters the content of their inquiry and clicks the send button.
[1483] Operation: The device sends the consultation details to the server.
[1484] Output: The consultation content is sent to the server.
[1485] Step 13:
[1486] The server analyzes emotions using an emotion engine
[1487] Input: The server receives the consultation content.
[1488] How it works: The emotion engine is used to analyze the user's emotions from the consultation content.
[1489] Output: The user's emotional state is analyzed.
[1490] Step 14:
[1491] The server generates empathetic responses and advice
[1492] Input: Based on sentiment analysis results.
[1493] How it works: The server generates an empathetic response and appropriate advice.
[1494] Output: An empathetic response and advice is generated.
[1495] Step 15:
[1496] The terminal displays the response to the user
[1497] Input: The response generated by the server is sent to the device.
[1498] Action: The terminal displays the response to the user.
[1499] Output: The user receives an empathetic response and advice.
[1500] Step 16:
[1501] User clicks the end button
[1502] Input: The user indicates their intention to end the dialogue by clicking the End Dialogue button.
[1503] Action: The terminal sends a dialogue termination request to the server.
[1504] Output: A request to terminate the conversation is sent to the server.
[1505] Step 17:
[1506] The server stores session information and interaction history
[1507] Input: A request to terminate the conversation is received.
[1508] How it works: The server stores session information and interaction history in a database.
[1509] Output: Interaction history and session information is saved.
[1510] Step 18:
[1511] The device displays the feedback form
[1512] Input: The server sends a conversation termination message.
[1513] Action: The terminal displays a feedback form.
[1514] Output: The feedback form is displayed to the user.
[1515] Step 19:
[1516] User enters and submits feedback
[1517] Input: User enters feedback and clicks submit button.
[1518] Action: The device sends feedback to the server.
[1519] Output: Feedback is sent to the server.
[1520] Step 20:
[1521] The server stores the feedback
[1522] Input: Receive feedback.
[1523] How it works: The server stores the feedback in a database.
[1524] Output: The feedback is saved.
[1525] (Application example 2)
[1526] 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."
[1527] Users working in security-related jobs are prone to experiencing mental stress and mental health issues on a daily basis. However, conventional systems face challenges in properly analyzing users' emotional states and providing individualized support. Furthermore, they lack a mechanism for providing a place where users can seek advice anonymously and safely. As a result, mental health management for users working in security-related jobs is inadequate, which can lead to problems such as reduced work efficiency and employee resignations.
[1528] The specific processing by the specific 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 receiving input data from a user, means for analyzing the input data and generating an empathetic response and appropriate advice, means for presenting the empathetic response and advice to the user, means having an emotion analysis engine that analyzes the user's emotional state and reflects it in the response, and means for providing psychological support to users working in security-related jobs. This enables users working in security-related jobs to talk about their feelings in peace and reduce mental stress.
[1529] "Means for receiving input data from the user" refers to a mechanism by which the system acquires text data, voice data, etc. input by the user.
[1530] The "means for analyzing the input data and generating an empathetic response and appropriate advice" is a function that analyzes the acquired user input data and generates an empathetic message or advice that is appropriate to the user's emotions and situation.
[1531] The "means for presenting an empathetic response and advice to a user" refers to a means for displaying or conveying the generated empathetic message or advice to a user.
[1532] "Means for having an emotion analysis engine that analyzes the user's emotional state and reflects it in the response" refers to a system that uses algorithms and models to analyze emotions from data entered by the user and generate a response appropriate to those emotions.
[1533] The "means for providing psychological support to users working in security-related fields" is a function that performs emotion analysis and provides advice to support the mental health of users working in security-related fields.
[1534] "Means for presenting multiple avatars that the user can select" is a function that allows the user to select the one they like from multiple characters or icons.
[1535] The "means for saving the selected avatar in the user's profile" is a function for recording the avatar selected by the user as the profile information of the user.
[1536] "Means for interacting with a user using an avatar" is a function for communicating with a user using an avatar selected by the user.
[1537] The "means for saving user interaction history and session information" is a function for recording the contents of past interactions with a user and session information in a database.
[1538] The "means for updating the user's emotional state based on the dialogue history and session information" is a function for periodically reevaluating and updating the user's emotional state based on the content of past dialogues and session information.
[1539] The "means for receiving and storing feedback from users" is a function for receiving and recording ratings and comments from users.
[1540] The system for implementing this invention includes a user terminal, a server, a database, an emotion analysis engine, and application software. The components and operations of the system will be described below.
[1541] User terminal
[1542] The user terminal is a mobile device such as a smartphone or tablet, which has a front-end application developed using React Native installed on it. Through this application, users can provide input data and receive empathetic responses and advice.
[1543] server
[1544] The server includes a backend built using Node.js and Express. The server processes data received from users and works with a sentiment analysis engine and generative AI models to generate appropriate responses. The server also connects to a database such as MySQL or PostgreSQL to store user profile information, interaction history, and emotional state.
[1545] Sentiment Analysis Engine
[1546] The sentiment analysis engine includes a sentiment analysis model using TensorFlow and Keras. This engine is implemented in Python and analyzes user input data to recognize their emotional state. For example, if a user inputs "Recently, I've been feeling very stressed at work," the sentiment analysis engine will recognize that the user is feeling stressed.
[1547] Application Software
[1548] The application software runs on the user terminal and provides functions such as user registration, avatar selection, dialogue initiation and termination, and feedback collection.
[1549] Operation overview
[1550] 1. User registration: The user accesses the registration form on the smartphone app and enters the required information. Once registration is complete, the server generates a new user ID and stores it in the database.
[1551] Example: A user enters "Tanaka" and "password123" and clicks the submit button. The server generates a new user ID (e.g., user1234) and saves it in the database.
[1552] 2. Avatar selection: The server sends a list of available avatars to the device, which displays them to the user. The user selects the desired avatar and sends it to the server.
[1553] Example: A user selects a cat avatar and sends it to the server, which associates the cat avatar with user ID user1234 and saves it.
[1554] 3. Start dialogue: The user clicks the "Start dialogue" button, and the device sends a dialogue start request to the server. The server prepares the generative AI model, generates the initial dialogue message, and sends it to the device.
[1555] Example: The server generates an initial message saying "Hello, how are you today?" and sends it to the device.
[1556] 4. Emotion recognition and provision of empathetic responses: When a user enters their consultation details and clicks the send button, the device sends the input to the server. The server uses an emotion engine to analyze the user's emotions from the input, and based on that, generates an empathetic response and appropriate advice, which is then sent to the device.
[1557] Example: When a user inputs "I'm under a lot of pressure from my boss at work and it's tough," the emotion engine recognizes that the user is feeling stressed. The server generates a response saying, "That's really tough. Thank you for your hard work. It's important to praise yourself first," and sends it to the device.
[1558] 5. Ending the dialogue and recording: When the user indicates their intention to end the dialogue and clicks the End dialogue button, the terminal sends a dialogue termination request to the server. The server saves the session information and dialogue history in a database and sends an end message to the terminal. The user fills in a feedback form, which is also saved in the database.
[1559] Example: The user types "I'm done for today" and the server stores the session information and interaction history. The device sends feedback such as "That was very helpful" to the server, which stores this feedback in a database.
[1560] In this way, users working in security-related fields can receive empathetic responses and advice that are in line with their emotional state, allowing them to feel safe expressing their feelings and reducing mental stress.
[1561] The flow of the specific processing in the application example 2 will be described with reference to FIG.
[1562] Step 1: User Registration
[1563] A user accesses the registration form of a smartphone app and enters a nickname and password. The entered data (nickname and password) is sent from the device to the server. The server generates a new user ID and stores a hash of this ID, nickname, and password in a database. Once registration is complete, the server returns the generated user ID to the device, which displays it to the user.
[1564] Input: Nickname, Password
[1565] Data processing: Nickname and password hashing, user ID generation
[1566] Output: Return of user ID
[1567] Step 2: Choose your avatar
[1568] The server sends a list of available avatars to the device, which displays the list to the user, who selects the desired avatar, and the selection is sent from the device to the server, which saves the selected avatar in the user's profile.
[1569] Input: Avatar selection information
[1570] Data processing: Saving avatar information to user profile
[1571] Output: Updated profile information
[1572] Step 3: Start a conversation
[1573] The user clicks the "Start Dialogue" button to send a dialogue start request from the device to the server. The server prepares the generative AI model, generates an initial dialogue message, and sends it to the device, which then displays it to the user.
[1574] Input: Dialogue start request
[1575] Data processing: Preparation of generative AI model, generation of initial messages
[1576] Output: Initial dialogue message
[1577] Step 4: Recognize emotions and provide empathic responses
[1578] The user enters the content of their consultation and clicks the send button. This input is sent from the device to the server. The server passes this input data to an emotion analysis engine, which analyzes the user's emotions. Based on the analysis results, the generative AI model generates an empathetic response and appropriate advice, which is sent to the device. The device then displays it to the user.
[1579] Input: Consultation details
[1580] Data processing: sentiment analysis, empathetic response and advice generation
[1581] Output: Empathic response and advice message
[1582] Step 5: End the conversation and record
[1583] The user indicates their intention to end the dialogue and clicks the dialogue end button. A dialogue end request is sent from the terminal to the server. The server saves the session information and dialogue history in a database and sends an end message to the terminal. In addition, the terminal displays a feedback form to the user, and the user enters feedback into the form. The entered feedback is sent to the server, which saves it in a database.
[1584] Input: Dialogue termination request, feedback
[1585] Data processing: saving session information and dialogue history, recording feedback
[1586] Output: Exit message, saved feedback
[1587] 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.
[1588] 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.
[1589] 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.
[1590] [Fourth embodiment]
[1591] FIG. 7 shows an example of the configuration of a data processing system 410 according to the fourth embodiment.
[1592] 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.
[1593] 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).
[1594] 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.
[1595] 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.
[1596] 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).
[1597] 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.
[1598] 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.
[1599] 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.
[1600] 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.
[1601] 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.
[1602] 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.
[1603] 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."
[1604] The present invention relates to a system that receives input data from a user, generates empathetic responses and appropriate advice, and presents them to the user. The purpose of this system is to reduce the user's stress and worries and provide emotional support.
[1605] System Configuration
[1606] The system mainly consists of the following elements:
[1607] User terminal
[1608] server
[1609] Database
[1610] Application Software
[1611] Operation overview
[1612] 1. User Registration
[1613] The user accesses the registration form on the terminal, enters a nickname and password, and submits it. The terminal sends the input data to the server, which generates a new user ID and stores it in the database. After registration is complete, the terminal receives the user ID and displays it to the user.
[1614] Example: A user enters "Tanaka" and "password123" and clicks the submit button. The server generates a new user ID (e.g., user1234) and stores it in the database along with the hash of "Tanaka" and "password123".
[1615] 2. Avatar selection
[1616] The server sends a list of available avatars to the device, which displays them to the user. The user selects the desired avatar and sends the selection to the server via the device. The server saves the selected avatar in the user's profile.
[1617] Example: A user selects a cat avatar and sends it to the server. The server associates the cat avatar with user ID user1234 and saves it.
[1618] 3. Start the dialogue
[1619] When the user clicks the "Start Dialogue" button, the device sends a dialogue start request to the server. The server prepares the generative AI model, generates an initial dialogue message, and sends it to the device. The device displays the initial message to the user and waits for user input.
[1620] Example: The server generates an initial message saying "Hello, how are you today?" and sends it to the terminal, which displays it to the user.
[1621] 4. Offering empathy and advice
[1622] When a user inputs their concerns and clicks the send button, the device sends the input to the server. The server analyzes the input, generates an empathetic response and appropriate advice, and sends it to the device, which then displays it to the user.
[1623] Example: When a user inputs "I'm under a lot of pressure from my boss at work and it's tough," the server generates a response saying "That's really tough. Thank you for your hard work. It's important to praise yourself first," and sends it to the terminal. The terminal then displays this to the user.
[1624] 5. Closing the Dialogue and Recording
[1625] When the user indicates their intention to end the dialogue and clicks the dialogue end button, the terminal sends a dialogue end request to the server. The server saves the session information and dialogue history in a database and sends an end message to the terminal. The terminal displays a feedback form, allowing the user to provide feedback on the dialogue.
[1626] Example: A user types "I'm done for today," and the server stores the session information and interaction history. The device sends feedback such as "That was very helpful" to the server, and the server stores this feedback in a database.
[1627] System Effects
[1628] By using this system, users can safely express their feelings and organize their thoughts while maintaining anonymity. Furthermore, by using a generative AI model, it is possible to provide empathetic and appropriate responses to users. As a result, it is possible to reduce users' daily stress and worries and support their mental health.
[1629] The above is a description of the mode for carrying out the present invention. The present invention is a system that provides important support to people who are stressed or troubled in modern society.
[1630] The processing flow will be explained below.
[1631] Step 1:
[1632] The user accesses the registration form on the terminal and enters a nickname and password.
[1633] Step 2:
[1634] The device sends the entered nickname and password to the server.
[1635] Step 3:
[1636] The server receives the submitted data, generates a new user ID and saves it in the database.
[1637] Step 4:
[1638] The server returns the new user ID to the terminal, and the terminal displays a registration completion message.
[1639] Step 5:
[1640] The server generates a list of available avatars and sends it to the device.
[1641] Step 6:
[1642] The terminal displays a list of avatars to the user, and the user selects the avatar they want.
[1643] Step 7:
[1644] The terminal sends the selected avatar information to the server, which stores it in the user's profile.
[1645] Step 8:
[1646] The user clicks the "Start conversation" button, and the terminal sends a conversation start request to the server.
[1647] Step 9:
[1648] The server prepares the generative AI model, generates an initial message, and sends it to the terminal.
[1649] Step 10:
[1650] The terminal displays an initial message to the user, and the user inputs the content of the consultation.
[1651] Step 11:
[1652] The user enters the consultation details and clicks the send button.
[1653] Step 12:
[1654] The terminal transmits the input consultation content to the server.
[1655] Step 13:
[1656] The server analyzes the consultation content and generates an empathetic response and appropriate advice.
[1657] Step 14:
[1658] The server sends the generated responses and advice to the terminal, which displays them to the user.
[1659] Step 15:
[1660] The user chooses whether to continue or end the interaction.
[1661] Step 16:
[1662] When the user indicates his / her intention to end the dialogue, the terminal transmits a dialogue end request to the server.
[1663] Step 17:
[1664] The server saves the session information and the dialogue history and sends a termination message to the terminal.
[1665] Step 18:
[1666] The terminal displays a feedback form and the user enters the feedback.
[1667] Step 19:
[1668] The terminal sends the feedback information to the server, which stores it in a database.
[1669] Example 1
[1670] 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."
[1671] In modern society, many people suffer from stress and worries, but there are insufficient means to relieve them. In particular, there is a need for a system that provides appropriate advice and empathetic responses while maintaining anonymity. The lack of such a system makes it difficult for users to find a place to discuss their mental worries. Furthermore, there is a lack of effective means to provide users with emotional support and maintain and improve their mental health.
[1672] 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.
[1673] In this invention, the server includes means for receiving input data from a user, means for analyzing the input data and generating an empathetic response and appropriate advice, means for presenting the empathetic response and advice to the user, means for receiving the user's registration information and generating and saving a new user ID, means for notifying the user of the generated user ID, means for receiving a session start request and generating an initial message, means for saving session information and a dialogue history, and means for saving the dialogue history and feedback at the end of the session. This provides an environment where users can safely seek advice about their mental worries while maintaining anonymity, making it possible to reduce users' everyday stress and worries and support their mental health.
[1674] A "user" is someone who uses the system to consult or interact with others.
[1675] "Input data" refers to text or information that a user enters into a system.
[1676] An "empathetic response" refers to a response that shows understanding of the user's feelings and situation and provides a sense of security.
[1677] "Appropriate advice" refers to providing specific and practical solutions or advice to users' problems or concerns.
[1678] "Profile" refers to data that includes personal information such as a user's avatar and registration information.
[1679] "Avatar" refers to an individual character or icon that a user can select.
[1680] "Dialogue history" refers to data that stores the contents of past dialogues exchanged between a user and a system.
[1681] "Session Information" refers to information relating to a particular interactive session (e.g., start time, end time, content of the interaction, etc.).
[1682] "Feedback" refers to user evaluations and opinions about the system and its responses.
[1683] A "generative AI model" refers to an artificial intelligence model that analyzes user input data and generates empathetic responses and appropriate advice.
[1684] The present invention relates to a system that receives input data from a user, generates an empathetic response and appropriate advice, and presents it to the user. This system is mainly composed of the following elements:
[1685] 1. User device (PC, smartphone, tablet, etc.)
[1686] 2. Server (preferably with high-performance data processing capabilities)
[1687] 3. Database (MySQL, PostgreSQL, etc.)
[1688] 4. Application software (HTML, CSS, JavaScript, Python, Node.js, etc.)
[1689] 5. Generative AI models (using APIs such as GPT-3)
[1690] System Configuration
[1691] The system operates via a user terminal, a server, and a database. The user terminal functions as an interface for sending data entered by the user and the contents of the dialogue to the server. The server analyzes the received data, connects with the database, and generates empathetic responses and appropriate advice. The generated results are then sent to the user terminal and presented to the user.
[1692] Operation overview
[1693] User Registration
[1694] First, the user accesses the registration form on the terminal, enters a nickname and password, and submits it. The terminal sends the input data to the server. The server generates a new user ID and stores the nickname and hashed password in a database. After registration is complete, the server sends the generated user ID to the terminal, which displays it to the user.
[1695] Avatar Selection
[1696] The server then sends a list of available avatars to the device, which displays it to the user. The user selects the desired avatar and sends the selection to the server via the device. The server then saves the selected avatar in the user's profile.
[1697] Start a dialogue
[1698] When the user clicks the "Start Dialogue" button, the device sends a dialogue start request to the server. The server launches the generative AI model, generates an initial dialogue message, and sends it to the device. The device displays the initial message to the user and waits for the user's input. Specific examples of prompt sentences are as follows:
[1699] "Hello, how are you today?"
[1700] Offering empathy and advice
[1701] When the user enters the content of their inquiry and clicks the send button, the device sends the input content to the server. The server uses a generative AI model to analyze the input content and generate an empathetic response and appropriate advice. The generated response is sent to the device and displayed to the user. Specific examples of prompt sentences are as follows:
[1702] User input: "I feel a lot of pressure from my boss at work."
[1703] Server response: "That's really tough. Thank you for your hard work. It's important to give yourself a pat on the back."
[1704] Ending the conversation and recording
[1705] When the user indicates their intention to end the dialogue and clicks the dialogue end button, the terminal sends a dialogue end request to the server. The server saves the session information and dialogue history in a database. The server then sends an end message to the terminal, which displays a feedback form. The user enters dialogue feedback, which is sent to the server and then saved in the database.
[1706] Through these steps, users can safely discuss their mental health concerns and receive empathy and advice while maintaining anonymity. By utilizing generative AI models, the system can provide high-quality, personalized responses. This can help reduce users' everyday stress and worries and support their mental health.
[1707] The flow of the identification process in the first embodiment will be described with reference to FIG.
[1708] Step 1: Processing user registration
[1709] Input: The user enters a nickname and password into the registration form on the device and clicks the submit button.
[1710] Operation: The device sends the entered nickname and password to the server.
[1711] Data processing and calculation: The server receives the received data and hashes the password, then generates a new user ID and stores the nickname and hashed password in the database.
[1712] Output: The server sends the generated user ID to the terminal.
[1713] Specific operation: The server generates a user ID called "user1234", saves it, and sends it to the terminal, which then displays it to the user.
[1714] Step 2: Handling avatar selection
[1715] Input: The server sends a list of available avatars to the device. The user selects the desired avatar from the list.
[1716] Operation: The device sends the user's selected avatar information to the server.
[1717] Data processing and calculation: The server stores the selected avatar in the user profile.
[1718] Output: The selected avatar is reflected in the user profile.
[1719] Specific operation: The user selects a cat avatar, and the device sends the selection information to the server. The server saves the cat avatar for user ID user1234.
[1720] Step 3: Handling the conversation start
[1721] Input: User clicks the "Start Interaction" button.
[1722] Operation: The terminal sends a dialogue initiation request to the server.
[1723] Data processing and calculation: The server launches the generative AI model and generates the initial dialogue message.
[1724] Output: The server sends the generated initial message to the terminal.
[1725] Specific operation: The server generates a message saying "Hello, how are you today?" and sends it to the terminal, which displays it to the user.
[1726] Step 4: Process empathy and advice-giving
[1727] Input: The user inputs the consultation content and clicks the send button.
[1728] Operation: The terminal sends the input to the server.
[1729] Data processing and calculation: The server uses a generative AI model to analyze the input and generate empathetic responses and appropriate advice.
[1730] Output: The server sends the generated response to the terminal.
[1731] Specific operation: The user enters "I'm under a lot of pressure from my boss at work and it's tough" and clicks the send button. The server analyzes this, generates a response saying "That's really tough. Thank you for your hard work. It's important to praise yourself first," and sends it to the device. The device then displays this to the user.
[1732] Step 5: End the interaction and handle the recording
[1733] Input: The user clicks the end of interaction button.
[1734] Operation: The terminal sends a dialogue termination request to the server.
[1735] Data processing and calculation: The server saves the session information and the conversation history in a database. Then, it generates an end message and ends the conversation.
[1736] Output: The server sends a finishing message and a feedback form to the terminal.
[1737] Specific operation: The user enters "I'm done for today" and sends a dialogue termination request to the server. The server saves the dialogue history in a database and sends a termination message and a feedback form to the terminal. The terminal displays the feedback form to the user. The user enters feedback, which is sent to the server and stored in the database.
[1738] (Application example 1)
[1739] 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."
[1740] In modern society, the number of people experiencing security-related stress and anxiety is steadily increasing. This burden is particularly significant in workplaces where security management is required, and it is highly likely to negatively impact mental health. However, systems and services for quickly and appropriately alleviating this stress and anxiety have yet to be fully developed. Therefore, an objective of the present invention is to provide a system that provides empathetic responses, appropriate advice, and psychological support to users experiencing security-related stress and anxiety.
[1741] 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.
[1742] In this invention, the server includes means for receiving input data from a user, means for analyzing the input data and utilizing a generative AI model to generate an empathetic response and appropriate advice, means for presenting the empathetic response and advice to the user, and a database containing prompt sentences for generating empathetic responses and advice for security-related stress or anxiety, thereby enabling prompt and appropriate psychological support to be provided to users experiencing security-related stress or anxiety.
[1743] "User" refers to any individual or entity that uses the system.
[1744] "Input data" refers to information provided by a user to a system.
[1745] A "generative AI model" refers to an artificial intelligence model that analyzes user input data and generates empathetic responses and appropriate advice.
[1746] An "empathetic response" refers to a response that is sympathetic to the user's feelings and shows understanding.
[1747] "Appropriate advice" refers to specific and useful advice that addresses the user's situation or concerns.
[1748] "Prompts" refer to standardized statements or instructions that generative AI models use to generate empathetic responses and advice.
[1749] "Database" refers to a system for storing data such as user information, dialogue history, and prompts.
[1750] "Virtual character" refers to a character that resembles a fictional person or animal that can be selected by the user.
[1751] "Dialogue history" refers to a record of interactions between a user and a system.
[1752] "Session Information" refers to information about a particular interactive session.
[1753] The present invention relates to a system for providing empathetic responses and appropriate advice to users experiencing security-related stress or anxiety. The system consists of a user terminal, a server, a database, a generative AI model, and a database containing prompt sentences.
[1754] System Configuration
[1755] 1. User Device
[1756] The user terminal is a device that the user directly uses, such as a smartphone or a head-mounted display (HMD). The user terminal inputs consultation details about security-related stress and worries, and sends and receives data to and from the system.
[1757] 2. Server
[1758] The server receives input data sent from the user's device, analyzes it based on the generative AI model, generates empathetic responses and appropriate advice as the analysis results, and sends them back to the user's device. It also references a database containing security-related prompts.
[1759] 3. Database
[1760] The database is a system that stores user information, interaction history, session information, prompts, etc. In particular, it contains prompts that address security-related stress and concerns, which are used by the generative AI model to generate responses.
[1761] Operation overview
[1762] 1. User Registration
[1763] A user registers by entering a nickname and password on the user's device. The device sends this information to the server. The server generates a new user ID and stores it in the database. Once registration is complete, the user ID is sent back to the device.
[1764] 2. Avatar selection
[1765] The server sends a list of available virtual characters to the user's device and displays it. The user selects the desired virtual character and sends the information to the server. The server saves the selected virtual character in the user's profile.
[1766] 3. Start the dialogue
[1767] When the user starts a dialogue on the terminal, the server prepares the generative AI model and generates an initial dialogue message, which is displayed on the user terminal and waits for the user's input.
[1768] 4. Offering empathy and advice
[1769] When a user inputs and submits their consultation, the device sends the content to the server. The server uses a generative AI model to analyze the input content and generate empathetic responses and advice using appropriate prompts. This is then sent to the user's device and displayed to the user.
[1770] As a specific example, if a user types, "I can't sleep lately because there have been so many unauthorized accesses to my company's systems," the server will generate a response such as, "That's a very stressful situation. First of all, it's important that you consult with an expert. And conducting regular risk assessments may also give you peace of mind," and send it to the user's device.
[1771] 5. Closing the Dialogue and Recording
[1772] When the user wishes to end the dialogue, the terminal sends a request to the server. The server stores the dialogue history and session information in a database and sends an end message to the user terminal. At the same time, a feedback form is displayed so that the user can provide feedback on the dialogue.
[1773] Hardware and software used
[1774] Hardware: Smartphone, Head-Mounted Display (HMD)
[1775] software:
[1776] OpenAI API (text-davinci-003)
[1777] Flask (Python web framework)
[1778] Database systems (such as MongoDB)
[1779] Prompt Sentence Examples
[1780] Below are some example prompts to use with generative AI models:
[1781] "Please provide empathetic and appropriate advice to users who are concerned about security."
[1782] "Please empathize and provide reassuring advice to users who are losing sleep over security issues."
[1783] The flow of the specific processing in the application example 1 will be described with reference to FIG.
[1784] Step 1:
[1785] The user enters a nickname and password using the user terminal to register.
[1786] Input: Nickname and Password
[1787] Specific operation: A user accesses the registration form, enters a nickname (e.g., "Tanaka") and a password (e.g., "password123"), and clicks the submit button.
[1788] Output: The server generates a new user ID (e.g. user1234) and stores it in the database along with the nickname and password hash.
[1789] Step 2:
[1790] The user terminal receives the list of available virtual characters provided by the server and displays it to the user.
[1791] Input: A list of virtual characters provided by the server
[1792] Specific operation: The server retrieves a list of virtual characters stored in the database and sends it to the user's device. The user's device displays the list and the user can select the desired virtual character.
[1793] Output: The information about the virtual character selected by the user is sent to the server, which stores it in the user's profile.
[1794] Step 3:
[1795] The user clicks the "Start conversation" button on the user terminal and receives the initial conversation message generated by the server.
[1796] Input: A request from the user to start a conversation
[1797] Specific operation: The user clicks the dialogue start button, and the terminal sends the request to the server. The server generates an initial dialogue message (e.g., "Hello, how can I help you? Please talk to me.") and sends it to the user terminal.
[1798] Output: An initial message is displayed on the user's terminal.
[1799] Step 4:
[1800] The user inputs their concerns and sends them to the server, which uses a generative AI model to analyze the input and generate an empathetic response and appropriate advice.
[1801] Input: User's consultation (e.g., "Recently, there have been frequent unauthorized accesses to our company's systems, and I can't sleep.")
[1802] How it works: The user enters their consultation content and clicks the send button, and the device sends the content to the server. The server uses a generative AI model to analyze the input content and generate an empathetic response and advice using prompt sentences (e.g., "That's a very stressful situation. It's important to consult a professional first.").
[1803] Output: The generated empathetic responses and advice are sent to the user's terminal and displayed to the user.
[1804] Step 5:
[1805] When the user wishes to end the dialogue, he clicks the dialogue end button. The server saves the dialogue history and session information and sends an end message to the user terminal.
[1806] Input: User request to terminate the dialogue
[1807] Specific operation: The user clicks the dialogue termination button, and the terminal sends the request to the server. The server saves the dialogue history and session information in a database and sends an end message to the user's terminal. At the same time, a feedback form is displayed, allowing the user to provide feedback on the dialogue.
[1808] Output: Interaction history and session information are stored in a database and feedback is sent to the server.
[1809] 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.
[1810] The present invention relates to a system that receives user input data, generates empathetic responses and appropriate advice, and presents them to the user. The present invention also aims to provide responses and advice that reflect the user's emotional state by combining it with an emotion engine that recognizes the user's emotions from the input data.
[1811] System Configuration
[1812] The system mainly consists of the following elements:
[1813] User terminal
[1814] server
[1815] Database
[1816] Emotion Engine
[1817] Application Software
[1818] Operation overview
[1819] 1. User Registration
[1820] The user accesses the registration form on the terminal, enters a nickname and password, and submits it. The terminal sends the input data to the server, which generates a new user ID and stores it in the database. After registration is complete, the terminal receives the user ID and displays it to the user.
[1821] Example: A user enters "Tanaka" and "password123" and clicks the submit button. The server generates a new user ID (e.g., user1234) and stores it in the database along with the hash of "Tanaka" and "password123".
[1822] 2. Avatar selection
[1823] The server sends a list of available avatars to the device, which displays them to the user. The user selects the desired avatar and sends the selection to the server via the device. The server saves the selected avatar in the user's profile.
[1824] Example: A user selects a cat avatar and sends it to the server. The server associates the cat avatar with user ID user1234 and saves it.
[1825] 3. Start the dialogue
[1826] When the user clicks the "Start Dialogue" button, the device sends a dialogue start request to the server. The server prepares the generative AI model, generates an initial dialogue message, and sends it to the device. The device displays the initial message to the user and waits for user input.
[1827] Example: The server generates an initial message saying "Hello, how are you today?" and sends it to the terminal, which displays it to the user.
[1828] 4. Recognizing emotions and providing empathetic responses
[1829] When the user inputs the content of their consultation and clicks the send button, the device sends the input to the server. The server uses an emotion engine to analyze the user's emotions from the input, and generates an empathetic response and appropriate advice based on that. This is then sent to the device and displayed to the user.
[1830] Example: When a user inputs "I'm under a lot of pressure from my boss at work and it's tough," the emotion engine recognizes that the user is feeling stressed. The server generates a response saying, "That's really tough. Thank you for your hard work. It's important to praise yourself first," and sends it to the device. The device then displays this to the user.
[1831] 5. Closing the Dialogue and Recording
[1832] When the user indicates their intention to end the dialogue and clicks the dialogue end button, the terminal sends a dialogue end request to the server. The server saves the session information and dialogue history in a database and sends an end message to the terminal. The terminal displays a feedback form, allowing the user to provide feedback on the dialogue.
[1833] Example: A user types "I'm done for today," and the server stores the session information and interaction history. The device sends feedback such as "That was very helpful" to the server, and the server stores this feedback in a database.
[1834] System Effects
[1835] By using this system, users can safely express their feelings and organize their thoughts while maintaining anonymity. Furthermore, by using an emotion engine, it is possible to accurately recognize the user's emotional state and provide empathetic responses and appropriate advice based on that. As a result, it is possible to reduce the user's daily stress and worries and support their mental health.
[1836] The above is a description of the embodiment of the present invention. The present invention is a system that provides appropriate support while being sensitive to the user's emotions.
[1837] The processing flow will be explained below.
[1838] The present invention relates to a system that receives user input data, generates empathetic responses and appropriate advice, and analyzes the user's emotional state using an emotion engine. The operation of the entire system is explained below, broken down into specific processing steps.
[1839] User Registration
[1840] Step 1:
[1841] The user accesses the registration form on the terminal and enters a nickname and password.
[1842] Step 2:
[1843] The device sends the entered nickname and password to the server.
[1844] Step 3:
[1845] The server receives the submitted data, generates a new user ID, and stores the nickname and hashed password in the database.
[1846] Step 4:
[1847] The server returns the new user ID to the terminal, and the terminal displays a registration completion message.
[1848] Avatar Selection
[1849] Step 5:
[1850] The server generates a list of available avatars and sends it to the device.
[1851] Step 6:
[1852] The device displays a list of avatars to the user.
[1853] Step 7:
[1854] The user selects the desired avatar and transmits the selection result from the terminal to the server.
[1855] Step 8:
[1856] The server stores the selected avatar information in the user's profile.
[1857] Start a dialogue
[1858] Step 9:
[1859] The user clicks the "Start conversation" button.
[1860] Step 10:
[1861] The terminal sends a dialogue initiation request to the server.
[1862] Step 11:
[1863] The server prepares the generative AI model, generates initial dialogue messages, and sends them to the terminal.
[1864] Step 12:
[1865] The terminal displays a welcome message to the user and waits for user input.
[1866] Recognizing emotions and providing empathetic responses
[1867] Step 13:
[1868] The user enters the consultation details and clicks the send button.
[1869] Step 14:
[1870] The terminal transmits the input consultation content to the server.
[1871] Step 15:
[1872] The server passes the input to the emotion engine, which then analyzes the user's emotions.
[1873] Step 16:
[1874] The emotion engine sends the emotion recognition results back to the server.
[1875] Step 17:
[1876] The server generates empathetic responses and appropriate advice based on the recognized emotions.
[1877] Step 18:
[1878] The server sends the generated response and advice to the terminal.
[1879] Step 19:
[1880] The terminal displays this to the user and waits for further input.
[1881] Example: When a user inputs "I'm under a lot of pressure from my boss at work and it's stressful," the emotion engine recognizes that the user is feeling stressed. The server generates a response saying, "That's really tough. Thank you for your hard work. It's important to praise yourself first," and sends it to the device. The device then displays this to the user.
[1882] Ending the conversation and recording
[1883] Step 20:
[1884] The user indicates their intention to end the dialogue and clicks the dialogue end button.
[1885] Step 21:
[1886] The terminal sends a dialogue termination request to the server.
[1887] Step 22:
[1888] The server stores session information and interaction history in a database.
[1889] Step 23:
[1890] The server sends a dialogue termination message to the terminal, which displays it to the user.
[1891] Step 24:
[1892] The terminal displays a feedback form and the user enters the feedback.
[1893] Step 25:
[1894] The terminal sends feedback information to the server.
[1895] Step 26:
[1896] The server stores the feedback information in a database.
[1897] This allows users to reduce everyday stress and worries and support their mental health through empathetic dialogue that is sensitive to their emotions.
[1898] Example 2
[1899] 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."
[1900] In modern society, users need a means to safely vent their feelings and worries and organize their thoughts while maintaining anonymity. It is also important to accurately recognize the user's emotions and provide empathetic responses and appropriate advice. However, few existing systems can adequately meet these needs.
[1901] 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.
[1902] In this invention, the server includes means for receiving input data from a user, means for analyzing the input data and generating an empathetic response and appropriate advice, means for using an emotion engine for the analysis and recognizing the user's emotions, and means for presenting the empathetic response and advice to the user. This makes it possible to accurately recognize the user's emotions and provide responses and advice that are in tune with their emotions.
[1903] "Input data" refers to information provided by a user to a system, and may be in the form of text, voice, or other information.
[1904] An "emotion engine" is a software module for analyzing user emotions from input data.
[1905] An "empathetic response" refers to a reply that is sympathetic to the user's feelings, and is a message that appropriately reflects the user's feelings.
[1906] "Appropriate advice" is constructive suggestions and encouragement provided based on the user's consultation content and emotional state.
[1907] "User ID" means a unique identifier generated by the system and used to identify a User.
[1908] An "avatar" is a user-selectable character icon used to visually represent interactions with the system.
[1909] A "dialogue history" is a record of all messages exchanged between a user and the system.
[1910] "Session information" is detailed information about a particular interactive session, including start time, end time, participating user IDs, etc.
[1911] "Feedback" refers to a user providing feedback or opinions about their interaction with the system.
[1912] A "generative AI model" is a model that uses artificial intelligence to generate messages in response to user input.
[1913] MODE FOR CARRYING OUT THE INVENTION
[1914] The present invention relates to a system that receives user input data, generates empathetic responses and appropriate advice, and presents them to the user. Furthermore, the present invention aims to provide responses and advice that reflect the user's emotional state by combining an emotion engine that recognizes the user's emotions from the input data.
[1915] System Configuration
[1916] The system mainly consists of the following elements:
[1917] User device (e.g. PC, smartphone)
[1918] server
[1919] Database
[1920] Emotion Engine
[1921] Application Software
[1922] Operation overview
[1923] User Registration
[1924] The user accesses the registration form on the terminal, enters a nickname and password, and submits it. The terminal sends the input data to the server, which generates a new user ID and stores it in the database. Once user registration is complete, the terminal receives the generated user ID and presents it to the user.
[1925] Examples:
[1926] If the user enters "Tanaka" and "password123" and clicks the submit button, the server will generate a new user ID (e.g. user1234) and store the hash of "Tanaka" and "password123" in the database.
[1927] Avatar Selection
[1928] The server sends a list of available avatars to the device, which displays them to the user. The user selects the desired avatar and sends the selection information via the device to the server. The server saves the selected avatar in the user's profile.
[1929] Examples:
[1930] When the user selects a cat avatar and sends it to the server, the server associates the cat avatar with the user ID user1234 and saves it.
[1931] Start a dialogue
[1932] When the user clicks the "Start Dialogue" button, the device sends a dialogue start request to the server. The server prepares the generative AI model, generates an initial dialogue message, and sends it to the device. The device then displays the initial message to the user and waits for user input.
[1933] Examples:
[1934] The server generates a welcome message saying "Hello, how are you today?" and sends it to the terminal, which displays it to the user.
[1935] Recognizing emotions and providing empathetic responses
[1936] When a user inputs their concerns and clicks the send button, the device sends the input to the server. The server uses an emotion engine to analyze the user's emotions from the input, and generates an empathetic response and appropriate advice based on that. This is then sent to the device and displayed to the user.
[1937] Examples:
[1938] When a user inputs "I'm under a lot of pressure from my boss at work and it's tough," the emotion engine recognizes that the user is feeling stressed. The server generates a response saying, "That's really tough. Thank you for your hard work. It's important to praise yourself first," and sends it to the device. The device then displays this to the user.
[1939] Ending the conversation and recording
[1940] When the user indicates their intention to end the dialogue and clicks the dialogue end button, the terminal sends a dialogue end request to the server. The server saves the session information and dialogue history in a database and sends an end message to the terminal. The terminal displays a feedback form, allowing the user to provide feedback on the dialogue.
[1941] Examples:
[1942] The user types "I'm done for today," and the server saves the session information and interaction history. The device sends feedback to the server, saying "That was very helpful," and the server saves this feedback in a database.
[1943] Prompt Sentence Examples
[1944] "Generate an empathetic response when a user types, 'I'm under a lot of pressure from my boss at work.'"
[1945] This system allows users to express their feelings with confidence and receive appropriate support that is sensitive to their emotions.
[1946] The flow of the identification process in the second embodiment will be described with reference to FIG.
[1947] Step 1:
[1948] User visits registration form
[1949] Input: The user accesses the registration form on the device and enters their nickname and password.
[1950] What happens: A user accesses a form and enters the appropriate information.
[1951] Output: The nickname and password are saved as input data on the device.
[1952] Step 2:
[1953] User enters nickname and password and submits
[1954] Input: The user submits the input data by clicking the submit button.
[1955] Operation: The terminal sends the entered data to the server.
[1956] Output: The input data is sent to the server.
[1957] Step 3:
[1958] The server generates a new user ID
[1959] Input: The server receives the nickname and password.
[1960] What it does: The server generates a new user ID and stores the nickname and password hash in the database.
[1961] Output: A new user ID is generated and the information is saved in the database.
[1962] Step 4:
[1963] The device receives and displays the user ID.
[1964] Input: The user ID generated by the server is sent to the terminal.
[1965] Action: The terminal receives the user ID and displays it to the user.
[1966] Output: The user ID is displayed to the user.
[1967] Step 5:
[1968] The server sends a list of available avatars
[1969] Input: The server retrieves a list of available avatars from the database.
[1970] Operation: The server sends a list of avatars to the device.
[1971] Output: The list of avatars is sent to the device.
[1972] Step 6:
[1973] The device displays a list of avatars to the user.
[1974] Input: A list of avatars will be sent to the device.
[1975] Behavior: The device displays a list of avatars to the user.
[1976] Output: The user can see the list of avatars.
[1977] Step 7:
[1978] User selects desired avatar
[1979] Input: The user selects the desired avatar and enters the selection on the device.
[1980] Operation: The device sends the selection information to the server.
[1981] Output: The selected avatar information is sent to the server.
[1982] Step 8:
[1983] The server saves the selected avatar
[1984] Input: The server receives the selected avatar information.
[1985] How it works: The server associates the selected avatar with the user ID and stores it in the database.
[1986] Output: Avatar information is saved in the database.
[1987] Step 9:
[1988] User clicks the Start button
[1989] Input: The user clicks the "Start conversation" button on the terminal.
[1990] Operation: The terminal sends a dialogue initiation request to the server.
[1991] Output: A conversation initiation request is sent to the server.
[1992] Step 10:
[1993] The server prepares the generative AI model
[1994] Input: A request to start a conversation is received.
[1995] How it works: The server prepares the generative AI model and generates the initial dialogue messages.
[1996] Output: An initial message is generated.
[1997] Step 11:
[1998] The terminal displays a welcome message to the user.
[1999] Input: An initial message generated by the server is sent to the terminal.
[2000] Action: The terminal displays this message to the user.
[2001] Output: The user can see the initial message.
[2002] Step 12:
[2003] The user enters the details of the consultation and submits
[2004] Input: The user enters the content of their inquiry and clicks the send button.
[2005] Operation: The device sends the consultation details to the server.
[2006] Output: The consultation content is sent to the server.
[2007] Step 13:
[2008] The server analyzes emotions using an emotion engine
[2009] Input: The server receives the consultation content.
[2010] How it works: The emotion engine is used to analyze the user's emotions from the consultation content.
[2011] Output: The user's emotional state is analyzed.
[2012] Step 14:
[2013] The server generates empathetic responses and advice
[2014] Input: Based on sentiment analysis results.
[2015] How it works: The server generates an empathetic response and appropriate advice.
[2016] Output: An empathetic response and advice is generated.
[2017] Step 15:
[2018] The terminal displays the response to the user
[2019] Input: The response generated by the server is sent to the device.
[2020] Action: The terminal displays the response to the user.
[2021] Output: The user receives an empathetic response and advice.
[2022] Step 16:
[2023] User clicks the end button
[2024] Input: The user indicates their intention to end the dialogue by clicking the End Dialogue button.
[2025] Action: The terminal sends a dialogue termination request to the server.
[2026] Output: A request to terminate the conversation is sent to the server.
[2027] Step 17:
[2028] The server stores session information and interaction history
[2029] Input: A request to terminate the conversation is received.
[2030] How it works: The server stores session information and interaction history in a database.
[2031] Output: Interaction history and session information is saved.
[2032] Step 18:
[2033] The device displays the feedback form
[2034] Input: The server sends a conversation termination message.
[2035] Action: The terminal displays a feedback form.
[2036] Output: The feedback form is displayed to the user.
[2037] Step 19:
[2038] User enters and submits feedback
[2039] Input: User enters feedback and clicks submit button.
[2040] Action: The device sends feedback to the server.
[2041] Output: Feedback is sent to the server.
[2042] Step 20:
[2043] The server stores the feedback
[2044] Input: Receive feedback.
[2045] How it works: The server stores the feedback in a database.
[2046] Output: The feedback is saved.
[2047] (Application example 2)
[2048] 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 robot 414 will be referred to as a "terminal."
[2049] Users working in security-related jobs are prone to experiencing mental stress and mental health issues on a daily basis. However, conventional systems face challenges in properly analyzing users' emotional states and providing individualized support. Furthermore, they lack a mechanism for providing a place where users can seek advice anonymously and safely. As a result, mental health management for users working in security-related jobs is inadequate, which can lead to problems such as reduced work efficiency and employee resignations.
[2050] The specific processing by the specific 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 receiving input data from a user, means for analyzing the input data and generating an empathetic response and appropriate advice, means for presenting the empathetic response and advice to the user, means having an emotion analysis engine that analyzes the user's emotional state and reflects it in the response, and means for providing psychological support to users working in security-related jobs. This enables users working in security-related jobs to talk about their feelings in peace and reduce mental stress.
[2051] "Means for receiving input data from the user" refers to a mechanism by which the system acquires text data, voice data, etc. input by the user.
[2052] The "means for analyzing the input data and generating an empathetic response and appropriate advice" is a function that analyzes the acquired user input data and generates an empathetic message or advice that is appropriate to the user's emotions and situation.
[2053] The "means for presenting an empathetic response and advice to a user" refers to a means for displaying or conveying the generated empathetic message or advice to a user.
[2054] "Means for having an emotion analysis engine that analyzes the user's emotional state and reflects it in the response" refers to a system that uses algorithms and models to analyze emotions from data entered by the user and generate a response appropriate to those emotions.
[2055] The "means for providing psychological support to users working in security-related fields" is a function that performs emotion analysis and provides advice to support the mental health of users working in security-related fields.
[2056] "Means for presenting multiple avatars that the user can select" is a function that allows the user to select the one they like from multiple characters or icons.
[2057] The "means for saving the selected avatar in the user's profile" is a function for recording the avatar selected by the user as the profile information of the user.
[2058] "Means for interacting with a user using an avatar" is a function for communicating with a user using an avatar selected by the user.
[2059] The "means for saving user interaction history and session information" is a function for recording the contents of past interactions with a user and session information in a database.
[2060] The "means for updating the user's emotional state based on the dialogue history and session information" is a function for periodically reevaluating and updating the user's emotional state based on the content of past dialogues and session information.
[2061] The "means for receiving and storing feedback from users" is a function for receiving and recording ratings and comments from users.
[2062] The system for implementing this invention includes a user terminal, a server, a database, an emotion analysis engine, and application software. The components and operations of the system will be described below.
[2063] User terminal
[2064] The user terminal is a mobile device such as a smartphone or tablet, which has a front-end application developed using React Native installed on it. Through this application, users can provide input data and receive empathetic responses and advice.
[2065] server
[2066] The server includes a backend built using Node.js and Express. The server processes data received from users and works with a sentiment analysis engine and generative AI models to generate appropriate responses. The server also connects to a database such as MySQL or PostgreSQL to store user profile information, interaction history, and emotional state.
[2067] Sentiment Analysis Engine
[2068] The sentiment analysis engine includes a sentiment analysis model using TensorFlow and Keras. This engine is implemented in Python and analyzes user input data to recognize their emotional state. For example, if a user inputs "Recently, I've been feeling very stressed at work," the sentiment analysis engine will recognize that the user is feeling stressed.
[2069] Application Software
[2070] The application software runs on the user terminal and provides functions such as user registration, avatar selection, dialogue initiation and termination, and feedback collection.
[2071] Operation overview
[2072] 1. User registration: The user accesses the registration form on the smartphone app and enters the required information. Once registration is complete, the server generates a new user ID and stores it in the database.
[2073] Example: A user enters "Tanaka" and "password123" and clicks the submit button. The server generates a new user ID (e.g., user1234) and saves it in the database.
[2074] 2. Avatar selection: The server sends a list of available avatars to the device, which displays them to the user. The user selects the desired avatar and sends it to the server.
[2075] Example: A user selects a cat avatar and sends it to the server, which associates the cat avatar with user ID user1234 and saves it.
[2076] 3. Start dialogue: The user clicks the "Start dialogue" button, and the device sends a dialogue start request to the server. The server prepares the generative AI model, generates the initial dialogue message, and sends it to the device.
[2077] Example: The server generates an initial message saying "Hello, how are you today?" and sends it to the device.
[2078] 4. Emotion recognition and provision of empathetic responses: When a user enters their consultation details and clicks the send button, the device sends the input to the server. The server uses an emotion engine to analyze the user's emotions from the input, and based on that, generates an empathetic response and appropriate advice, which is then sent to the device.
[2079] Example: When a user inputs "I'm under a lot of pressure from my boss at work and it's tough," the emotion engine recognizes that the user is feeling stressed. The server generates a response saying, "That's really tough. Thank you for your hard work. It's important to praise yourself first," and sends it to the device.
[2080] 5. Ending the dialogue and recording: When the user indicates their intention to end the dialogue and clicks the End dialogue button, the terminal sends a dialogue termination request to the server. The server saves the session information and dialogue history in a database and sends an end message to the terminal. The user fills in a feedback form, which is also saved in the database.
[2081] Example: The user types "I'm done for today" and the server stores the session information and interaction history. The device sends feedback such as "That was very helpful" to the server, which stores this feedback in a database.
[2082] In this way, users working in security-related fields can receive empathetic responses and advice that are in line with their emotional state, allowing them to feel safe expressing their feelings and reducing mental stress.
[2083] The flow of the specific processing in the application example 2 will be described with reference to FIG.
[2084] Step 1: User Registration
[2085] A user accesses the registration form of a smartphone app and enters a nickname and password. The entered data (nickname and password) is sent from the device to the server. The server generates a new user ID and stores a hash of this ID, nickname, and password in a database. Once registration is complete, the server returns the generated user ID to the device, which displays it to the user.
[2086] Input: Nickname, Password
[2087] Data processing: Nickname and password hashing, user ID generation
[2088] Output: Return of user ID
[2089] Step 2: Choose your avatar
[2090] The server sends a list of available avatars to the device, which displays the list to the user, who selects the desired avatar, and the selection is sent from the device to the server, which saves the selected avatar in the user's profile.
[2091] Input: Avatar selection information
[2092] Data processing: Saving avatar information to user profile
[2093] Output: Updated profile information
[2094] Step 3: Start a conversation
[2095] The user clicks the "Start Dialogue" button to send a dialogue start request from the device to the server. The server prepares the generative AI model, generates an initial dialogue message, and sends it to the device, which then displays it to the user.
[2096] Input: Dialogue start request
[2097] Data processing: Preparation of generative AI model, generation of initial messages
[2098] Output: Initial dialogue message
[2099] Step 4: Recognize emotions and provide empathic responses
[2100] The user enters the content of their consultation and clicks the send button. This input is sent from the device to the server. The server passes this input data to an emotion analysis engine, which analyzes the user's emotions. Based on the analysis results, the generative AI model generates an empathetic response and appropriate advice, which is sent to the device. The device then displays it to the user.
[2101] Input: Consultation details
[2102] Data processing: sentiment analysis, empathetic response and advice generation
[2103] Output: Empathic response and advice message
[2104] Step 5: End the conversation and record
[2105] The user indicates their intention to end the dialogue and clicks the dialogue end button. A dialogue end request is sent from the terminal to the server. The server saves the session information and dialogue history in a database and sends an end message to the terminal. In addition, the terminal displays a feedback form to the user, and the user enters feedback into the form. The entered feedback is sent to the server, which saves it in a database.
[2106] Input: Dialogue termination request, feedback
[2107] Data processing: saving session information and dialogue history, recording feedback
[2108] Output: Exit message, saved feedback
[2109] The specific processing unit 290 transmits the result of the specific processing to the robot 414. In the robot 414, the control unit 46A causes the speaker 240 and the control target 443 to output the result of the specific processing. The microphone 238 acquires voice indicating a user input regarding the result of the specific processing. The control unit 46A transmits voice 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 voice data.
[2110] 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.
[2111] 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 robot 414.
[2112] The emotion identification model 59 as an emotion engine may determine the user's emotion according to a specific mapping. Specifically, the emotion identification model 59 may determine the user's emotion according to an emotion map (see FIG. 9), which is a specific mapping. Similarly, the emotion identification model 59 may determine the robot's emotion, and the identification processing unit 290 may perform identification processing using the robot's emotion.
[2113] FIG. 9 is a diagram illustrating an emotion map 400 on which multiple emotions are mapped. In the emotion map 400, emotions are arranged in concentric circles radiating from the center. Emotions closer to the center of the concentric circles are more primitive. Emotions representing states and actions arising from a state of mind are arranged on the outer edges of the concentric circles. The concept of emotion includes both affect and mental states. Emotions generally generated from reactions occurring in the brain are arranged on the left side of the concentric circles. Emotions generally induced by situational judgment are arranged on the right side of the concentric circles. Emotions generally generated from reactions occurring in the brain and induced by situational judgment are arranged on the upper and lower sides of the concentric circles. Furthermore, the emotion of "pleasure" is arranged on the upper side of the concentric circles, and the emotion of "discomfort" is arranged on the lower side. In this way, in the emotion map 400, multiple emotions are mapped based on the structure by which emotions are generated, and emotions that tend to occur simultaneously are mapped close to each other.
[2114] These emotions are distributed in the 3 o'clock direction on emotion map 400, and typically fluctuate between relief and anxiety. In the right half of emotion map 400, situational awareness dominates over internal sensations, resulting in a sense of calm.
[2115] The inside of emotion map 400 represents what is going on in the mind, and the outside of emotion map 400 represents behavior, so the further you go outside emotion map 400, the more visible the emotions become (the more they are expressed in behavior).
[2116] Human emotions are based on various balances, such as posture and blood sugar levels. When these balances deviate from the ideal, a state of discomfort is indicated, and when they approach the ideal, a state of pleasure is indicated. Emotions can also be created for robots, automobiles, and motorcycles, based on various balances, such as posture and remaining battery life. When these balances deviate from the ideal, a state of discomfort is indicated, and when they approach the ideal, a state of pleasure is indicated. An emotion map can be generated, for example, based on Dr. Mitsuyoshi's emotion map (Research on Voice Emotion Recognition and Emotional Brain Physiological Signal Analysis Systems, Tokushima University, Doctoral Dissertation: https: / / ci.nii.ac.jp / naid / 500000375379). The left half of the emotion map lists emotions belonging to the "reaction" domain, where sensation is dominant. The right half of the emotion map lists emotions belonging to the "situation" domain, where situational awareness is dominant.
[2117] The emotion map defines two emotions that promote learning. One is a negative emotion on the situation side, around the middle of "repentance" or "reflection." In other words, this occurs when the robot experiences negative emotions such as "I never want to feel this way again" or "I don't want to be scolded again." The other is a positive emotion on the response side, around "desire." In other words, this occurs when the robot experiences positive feelings such as "I want more" or "I want to know more."
[2118] The emotion identification model 59 inputs user input into a pre-trained neural network, obtains emotion values indicating each emotion shown in the emotion map 400, and determines the user's emotion. This neural network is pre-trained based on multiple pieces of training data that are combinations of user input and emotion values indicating each emotion shown in the emotion map 400. Furthermore, this neural network is trained so that emotions that are located close to each other have similar values, as in the emotion map 900 shown in FIG. 10. FIG. 10 shows an example in which multiple emotions, "relieved," "calm," and "reassuring," have similar emotion values.
[2119] The system according to the present disclosure has been described above mainly with respect to the functions of the data processing device 12, but the system according to the present disclosure is not necessarily implemented on a server. The system according to the present disclosure may be implemented as a general information processing system. The present disclosure may be implemented, for example, as a software program running on a personal computer or an application running on a smartphone, etc. The method according to the present disclosure may be provided to users in the form of SaaS (Software as a Service).
[2120] In the above embodiment, an example was given in which the specific processing is performed by one computer 22, but the technology of the present disclosure is not limited to this, and the specific processing may be distributed and performed by a plurality of computers including the computer 22. For example, the data generation model 58 may be provided in an external device of the data processing device 12, and data may be generated in the external device in accordance with input data.
[2121] In the above embodiment, an example in which the specific processing program 56 is stored in the storage 32 has been described, but the technology of the present disclosure is not limited to this. For example, the specific processing program 56 may be stored in a portable, computer-readable, non-transitory storage medium such as a USB (Universal Serial Bus) memory. The specific processing program 56 stored in the non-transitory storage medium is installed in the computer 22 of the data processing device 12. The processor 28 executes the specific processing in accordance with the specific processing program 56.
[2122] Alternatively, the specific processing program 56 may be stored in a storage device such as a server connected to the data processing device 12 via the network 54, and the specific processing program 56 may be downloaded and installed on the computer 22 in response to a request from the data processing device 12.
[2123] It is not necessary to store all of the specific processing program 56 in a storage device such as a server connected to the data processing device 12 via the network 54, or to store all of the specific processing program 56 in the storage 32; only a portion of the specific processing program 56 may be stored.
[2124] The hardware resource for executing a specific process can be any of the following processors: An example of a processor is a CPU, which is a general-purpose processor that functions as a hardware resource for executing a specific process by executing software, i.e., a program. Another example of a processor is a dedicated electrical circuit, such as an FPGA (Field-Programmable Gate Array), a PLD (Programmable Logic Device), or an ASIC (Application Specific Integrated Circuit), which is a processor with a circuit configuration designed specifically for executing a specific process. Each processor has built-in or connected memory, and each processor uses the memory to execute the specific process.
[2125] The hardware resource that executes the specific processing may be configured with one of these various processors, or may be configured with a combination of two or more processors of the same or different types (for example, a combination of multiple FPGAs, or a combination of a CPU and an FPGA). Also, the hardware resource that executes the specific processing may be a single processor.
[2126] As an example of a system configured with a single processor, first, one processor is configured by combining one or more CPUs and software, and this processor functions as a hardware resource that executes a specific process. Second, there is a system that uses a processor that realizes the functions of an entire system including multiple hardware resources that execute a specific process on a single IC chip, as typified by SoC (System-on-a-chip). In this way, a specific process is realized using one or more of the above-mentioned various processors as hardware resources.
[2127] Furthermore, the hardware structure of these various processors can be, more specifically, an electric circuit that combines circuit elements such as semiconductor devices. The specific processing described above is merely an example. Therefore, it goes without saying that unnecessary steps may be deleted, new steps may be added, or the processing order may be rearranged, without departing from the spirit of the invention.
[2128] The above-described description and illustrations are a detailed explanation of the parts related to the technology of the present disclosure and are merely an example of the technology of the present disclosure. For example, the above description of the configuration, functions, actions, and effects is an explanation of an example of the configuration, functions, actions, and effects of the parts related to the technology of the present disclosure. Therefore, it goes without saying that unnecessary parts may be deleted, new elements may be added, or replacements may be made to the above-described description and illustrations within the scope of the gist of the technology of the present disclosure. Furthermore, to avoid confusion and facilitate understanding of the parts related to the technology of the present disclosure, the above-described description and illustrations omit explanations of common technical knowledge that do not require particular explanation to enable the implementation of the technology of the present disclosure.
[2129] All publications, patent applications, and technical standards mentioned in this specification are herein incorporated by reference to the same extent as if each individual publication, patent application, or technical standard was specifically and individually indicated to be incorporated by reference.
[2130] The following is further disclosed regarding the above embodiment.
[2131] (Claim 1)
[2132] means for receiving input data from a user;
[2133] means for analyzing the input data and generating an empathetic response and appropriate advice;
[2134] means for presenting said empathetic response and advice to a user;
[2135] A system including:
[2136] (Claim 2)
[2137] means for presenting a plurality of avatars from which a user can select;
[2138] means for saving the selected avatar to a user profile;
[2139] means for interacting with a user using said avatar;
[2140] The system of claim 1 further comprising:
[2141] (Claim 3)
[2142] means for storing user interaction history and session information;
[2143] means for updating the user's emotional state based on the interaction history and session information;
[2144] means for receiving and storing feedback from users;
[2145] The system of claim 1 further comprising:
[2146] "Example 1"
[2147] (Claim 1)
[2148] means for receiving input data from a user;
[2149] means for analyzing the input data and generating an empathetic response and appropriate advice;
[2150] means for presenting said empathetic response and advice to a user;
[2151] a means for receiving the user's registration information and generating and storing a new user ID;
[2152] A means for notifying the generated user ID;
[2153] means for receiving a session initiation request and generating an initial message;
[2154] a means for storing session information and interaction history;
[2155] a means of saving interaction history and feedback at the end of a session;
[2156] A system including:
[2157] (Claim 2)
[2158] means for presenting a plurality of avatars to a user and allowing the user to select one;
[2159] means for saving the selected avatar to the user's profile;
[2160] 10. The system of claim 1, wherein the avatar is used to interact with a user.
[2161] (Claim 3)
[2162] means for storing user interaction history and session information;
[2163] means for updating the user's emotional state based on the interaction history and session information;
[2164] 10. The system of claim 1, wherein the system receives and stores feedback from the user.
[2165] "Application Example 1"
[2166] (Claim 1)
[2167] means for receiving input data from a user;
[2168] means for analyzing the input data and utilizing a generative AI model to generate an empathetic response and appropriate advice;
[2169] means for presenting said empathetic response and advice to a user;
[2170] a database containing prompts for generating empathetic responses and advice for security-related stress and anxiety;
[2171] A system including:
[2172] (Claim 2)
[2173] means for presenting a plurality of virtual characters selectable by a user;
[2174] means for saving the selected virtual character in a user profile;
[2175] means for interacting with a user using said virtual character;
[2176] The system of claim 1 further comprising:
[2177] (Claim 3)
[2178] means for storing user interaction history and session information;
[2179] means for updating the user's emotional state based on the interaction history and session information;
[2180] means for receiving and storing feedback from users;
[2181] The system of claim 1 further comprising:
[2182] "Example 2: Combining Emotion Engines"
[2183] (Claim 1)
[2184] means for receiving input data from a user;
[2185] means for analyzing the input data and generating an empathetic response and appropriate advice;
[2186] means for utilizing an emotion engine for said analysis and recognizing the emotion of the user;
[2187] means for presenting said empathetic response and advice to a user;
[2188] A system including:
[2189] (Claim 2)
[2190] means for presenting a plurality of avatars from which a user can select;
[2191] means for saving the selected avatar to a user profile;
[2192] means for interacting with a user using said avatar;
[2193] The system of claim 1 further comprising:
[2194] (Claim 3)
[2195] means for storing user interaction history and session information;
[2196] means for updating the user's emotional state based on the interaction history and session information;
[2197] means for receiving and storing feedback from users;
[2198] The system of claim 1 further comprising:
[2199] "Application example 2 when combining emotion engines"
[2200] (Claim 1)
[2201] means for receiving input data from a user;
[2202] means for analyzing the input data and generating an empathetic response and appropriate advice;
[2203] means for presenting said empathetic response and advice to a user;
[2204] A means for providing an emotion analysis engine for analyzing the user's emotional state and reflecting it in a response;
[2205] A means of providing psychological support to users who work in security-related fields;
[2206] A system including:
[2207] (Claim 2)
[2208] means for presenting a plurality of avatars from which a user can select;
[2209] means for saving the selected avatar to a user profile;
[2210] means for interacting with a user using said avatar;
[2211] The system of claim 1 further comprising:
[2212] (Claim 3)
[2213] means for storing user interaction history and session information;
[2214] means for updating the user's emotional state based on the interaction history and session information;
[2215] means for receiving and storing feedback from users;
[2216] The system of claim 1 further comprising: [Explanation of symbols]
[2217] 10, 210, 310, 410 Data Processing Systems 12 Data Processing Device 14 Smart Devices 214 Smart Glasses 314 Headset-type terminal 414 Robot< / url:> < / url:> < / url:> < / url:>
Claims
1. means for receiving input data from a user; means for analyzing the input data and generating an empathetic response and appropriate advice; means for presenting said empathetic response and advice to a user; A system including:
2. means for presenting a plurality of avatars from which a user can select; means for saving the selected avatar to a user profile; means for interacting with a user using said avatar; The system of claim 1 further comprising:
3. means for storing user interaction history and session information; means for updating the user's emotional state based on the interaction history and session information; means for receiving and storing feedback from users; The system of claim 1 further comprising:
Citation Information
Patent Citations
Persona chatbot control method and system
JP2022180282A