System
The system addresses the limitations of conventional counseling by enabling users to input worries and complaints through terminals, using a server with an AI model to generate immediate and emotionally sensitive responses, effectively reducing mental burden and preventing suicide.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2026-03-06
AI Technical Summary
Conventional counseling and consultation services are limited by time and location, making immediate responses to individuals' worries and complaints difficult, leading to increased mental burden and a need for prompt psychological support, especially for those at risk of suicide.
A system comprising a terminal for inputting worries and complaints, a server for analyzing and generating appropriate responses using an artificial intelligence model, and a terminal for displaying the responses, allowing users to easily input their concerns and receive immediate comfort or advice.
The system reduces mental burden and provides timely psychological support, helping to restore self-confidence and prevent suicide by offering appropriate responses through natural language processing technology.
Smart Images

Figure 2026038126000001_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, the stress and worries individuals experience are becoming more severe, resulting in increased psychological burden. Furthermore, people often keep their worries and complaints to themselves, which can lead to a deterioration in their mental health. In particular, there is a need for prompt and appropriate responses for people with serious worries that have led them to decide to commit suicide. Conventional counseling and consultation services are often limited by time and location, making immediate response difficult. The present invention aims to solve these problems by providing a means for individuals to easily vent their worries and complaints, thereby reducing mental burden and contributing to suicide prevention. [Means for solving the problem]
[0005] The present invention includes a terminal on which a user can input their worries and complaints, a server that receives and analyzes the input from the terminal and provides appropriate comfort or advice, and a response generation system using an artificial intelligence model. Specifically, the system includes a means for receiving the worries and complaints input by the user using the terminal, a means for transmitting the input data to the server, a means for the server to pass the input to an artificial intelligence model and generate an appropriate response, a means for the server to return the generated response to the terminal, and a means for the terminal to display the received response to the user. This configuration allows users to easily input their worries and complaints and immediately receive the resulting comfort or advice. This reduces the user's mental burden, restores their confidence, and provides support for suicide prevention.
[0006] Ok, below are definitions of important terms included in the claims.
[0007] A "user" is someone who uses the system to input their worries and complaints and receive comfort and advice.
[0008] A "terminal" is an electronic device that a user uses to input and send their worries and complaints. Examples include smartphones and computers.
[0009] A "server" is a computer system whose role is to receive input data sent by a user, pass it to an artificial intelligence model to generate an appropriate response, and send it back to the terminal.
[0010] An "artificial intelligence model" is a software system that includes programs and algorithms to analyze input data and generate appropriate comfort or advice. A specific example is a model that uses natural language processing techniques.
[0011] "Input data" is text data about worries and complaints that a user sends via a terminal.
[0012] "Responses" are textual data of comfort or advice generated by the artificial intelligence model.
[0013] "Natural language processing technology" is a technology that enables computers to understand, generate, and respond to human language. For example, it includes algorithms that analyze and generate sentences.
[0014] "Comfort" is words or advice that soothe the user's heart.
[0015] "Advice" is appropriate advice intended to help users solve problems or provide psychological support.
[0016] "Stress relief" means reducing the stress felt by the user.
[0017] "Restoring self-confidence" refers to regaining lost confidence.
[0018] "Suicide prevention" refers to support and measures to discourage users from committing suicide. [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 is a system including a terminal for inputting a user's worries and complaints, a server that receives the input data and generates an appropriate response, and a terminal that displays the response to the user. The present invention can be implemented as follows.
[0041] System Configuration
[0042] 1. Terminal
[0043] Users use devices such as smartphones and computers to input their worries and complaints. When users enter their worries or complaints in the text box and press the send button, the input data is sent to the server.
[0044] 2. Server
[0045] The server receives input data sent from the device, passes this data to an artificial intelligence model for analysis, and generates appropriate comfort or advice. The generated response is then sent back from the server to the device.
[0046] 3. Artificial Intelligence Model
[0047] The AI model includes an algorithm that uses natural language processing technology to analyze input data and generate an appropriate response. For example, if a user inputs, "My work hasn't been going well lately. My boss keeps getting angry at me," the model analyzes it and generates a response such as, "That's tough. But your efforts will surely be rewarded. Believe in yourself and keep working hard."
[0048] 4. Displaying a response to the user
[0049] The terminal receives the response sent back from the server and displays it to the user. By reading the displayed response, the user feels encouraged and relieved. In addition, by receiving appropriate advice, the user can obtain hints for solving the problem.
[0050] Specific examples
[0051] 1. When the user enters their concerns
[0052] A user opens the app and types, "My work hasn't been going well lately. My boss keeps getting angry at me." When the user presses the send button, this data is sent by the device to the server.
[0053] 2. When the server processes the input
[0054] The server passes the received data to an AI model, which analyzes the input data and generates a response that is sensitive to the user's feelings.
[0055] 3. If the device displays a response
[0056] The device receives the response sent back from the server and displays it on the user's screen. The response, "That's tough, but your efforts will surely be rewarded. Believe in yourself and do your best," is displayed, giving the user a sense of encouragement.
[0057] effect
[0058] According to the present invention, users can easily input their worries and complaints and instantly receive appropriate comfort and advice. This reduces the user's mental burden and helps restore self-confidence. Furthermore, even if a user is unable to resolve serious worries on their own, the system can provide appropriate support, which can help prevent suicide.
[0059] As described above, the present invention provides a system that can reduce the user's worries and stress and provide psychological support quickly and effectively.
[0060] The processing flow will be explained below.
[0061] Understood, below we will explain the specific processing steps of the program based on the claims.
[0062] Step 1:
[0063] The user enters their worries or complaints into the text box on the device and presses the send button, which confirms the entered text data on the device.
[0064] Step 2:
[0065] The device converts the user's input data into JSON format and sends it to the server as an HTTP POST request, which includes the user ID and the input text.
[0066] Step 3:
[0067] The server analyzes the request received from the terminal and extracts the input data (user ID and text) sent.
[0068] Step 4:
[0069] The server converts the extracted input data into an appropriate format for passing to the AI model, and sends an HTTP POST request to the AI model's API.
[0070] Step 5:
[0071] An artificial intelligence model analyzes the received data and generates an appropriate comforting or advisory response to the input text.
[0072] Step 6:
[0073] The server converts the response received from the artificial intelligence model back into JSON format and sends it to the terminal as an HTTP response.
[0074] Step 7:
[0075] The terminal receives the response from the server, parses the response text, and displays it to the user.
[0076] Step 8:
[0077] The user checks the displayed response and receives comfort and advice to ease the burden on his / her mind.
[0078] Example 1
[0079] 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."
[0080] In modern society, there is a demand for methods to provide appropriate psychological support to quickly resolve users' worries and complaints. In particular, users suffering from stress and mental stress are looking for easy ways to relieve their stress, but conventional systems have difficulty responding to such requests quickly and effectively. Even systems that use artificial intelligence have limitations in the accuracy of natural language processing and the appropriateness of responses. This creates the problem that the problems and worries faced by users are not adequately resolved, and the mental stress is not alleviated.
[0081] 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.
[0082] In this invention, the server includes means for receiving text data from a user, means for transmitting the text data to a computer, means for the computer to pass the text data to an artificial intelligence model and generate a response using natural language processing technology, means for the computer to return the generated response to a data terminal, and means for displaying the received response on a user interface. This allows users to easily input their worries and complaints and receive appropriate and prompt comfort and advice, thereby reducing their mental burden.
[0083] A "user" is someone who uses a terminal to input worries and complaints and receives responses from the system.
[0084] "Text data" is text data containing worries and complaints entered by the user.
[0085] A "terminal" is a device used by a user, such as a smartphone or computer.
[0086] A "computer" is a server or other computing device that receives and processes user input data.
[0087] An "artificial intelligence model" is an algorithm or program that uses natural language processing technology to analyze user input data and generate appropriate responses.
[0088] "Natural language processing technology" is a technology that allows computers to understand, interpret, and generate human language.
[0089] A "prompt sentence" is a command sentence used as input to an artificial intelligence model and is used to generate a specific response.
[0090] A "response" is a message of comfort or advice that the artificial intelligence model generates based on the user's input data.
[0091] A "user interface" is a screen or interface on a terminal that displays information and responses to a user.
[0092] MODE FOR CARRYING OUT THE INVENTION
[0093] The present invention is a system for inputting a user's worries and complaints and generating and displaying an appropriate response based on the input. This system is configured as follows and is implemented through specific processing steps.
[0094] Hardware and software used
[0095] 1. Terminal
[0096] Electronic devices such as smartphones and computers are used, and users input their worries and complaints through these devices.
[0097] A user interface is built into the terminal, and the user inputs data using a text box.
[0098] 2. Server
[0099] The server receives requests and processes them appropriately. Server software such as Apache (registered trademark) HTTP Server or Nginx is used.
[0100] Node.js and Python's Flask are used for backend processing.
[0101] 3. Artificial Intelligence Model
[0102] An artificial intelligence model is used to analyze the input text data and generate a response, specifically, a generative AI model such as OpenAI's GPT-3 or Google's BERT.
[0103] It includes an algorithm that uses natural language processing technology to understand the user's worries and complaints and provide appropriate comfort and advice.
[0104] Program processing
[0105] 1. Input of user concerns and complaints
[0106] The user inputs their worries and complaints into an application installed on the terminal. For example, they might type, "My work hasn't been going well lately. My boss keeps getting angry at me." into the text box and press the send button. This sends the input data to the server.
[0107] 2. Sending and Receiving Data
[0108] The terminal sends the text data entered by the user to the server as an HTTP POST request. The data is sent in JSON format, and the server receives it.
[0109] 3. Data Analysis and Response Generation
[0110] The server passes the received data to the AI model. The AI model uses the prompt to analyze the input data and generate a response. For example, the prompt could be "If the user says, 'My work hasn't been going well lately. My boss keeps getting mad at me,' please generate a way to comfort him."
[0111] 4. Returning and Displaying Responses
[0112] The response generated by the AI model is returned to the server, which then sends it in JSON format to the device, which then parses the response and displays it in the user interface.
[0113] Specific examples
[0114] For example, a user can input a problem and the AI model will generate a response using the following prompt:
[0115] "If a user types, 'My work hasn't been going well lately. My boss keeps getting mad at me,' generate a way to comfort them."
[0116] This causes the artificial intelligence model to generate a response that says, "That's tough, but your efforts will surely be rewarded. Believe in yourself and do your best," and displays it on the device.
[0117] As described above, the present invention is a system that can quickly and effectively alleviate the user's worries and stress and provide appropriate psychological support.
[0118] The flow of the identification process in the first embodiment will be described with reference to FIG.
[0119] Step 1:
[0120] Users input their worries and complaints
[0121] A user starts an application on a smartphone or computer and enters their worries or complaints into a text box. For example, they might enter, "My work hasn't been going well lately. My boss keeps getting mad at me," and then press the send button. At this point, the text data entered by the user is generated.
[0122] Input: Text data entered by the user
[0123] Output: Generated text data
[0124] Step 2:
[0125] The device sends text data to the server
[0126] After the user presses the send button, the terminal sends the text data to the server as an HTTP POST request, which includes the text data entered by the user in JSON format.
[0127] Input: Generated text data
[0128] Output: HTTP POST request containing JSON-formatted text data
[0129] Step 3:
[0130] The server receives the text data.
[0131] The server receives the HTTP POST request sent from the terminal. The server runs Apache HTTP Server or Nginx, and receives the request through this. The received data is passed to the server-side application (for example, Node.js or Python Flask).
[0132] Input: HTTP POST request in JSON format
[0133] Output: Text data passed to the server-side application
[0134] Step 4:
[0135] The server passes the text data to the AI model
[0136] The server-side application converts the received text data into an appropriate format and passes it to the artificial intelligence model. Specifically, it makes a request to OpenAI's GPT-3 API. This request includes a prompt: "If a user types, 'My work hasn't been going well lately. My boss keeps getting mad at me,' please generate a way to comfort them."
[0137] Input: Received text data
[0138] Output: API request with prompt statement
[0139] Step 5:
[0140] An artificial intelligence model generates a response
[0141] OpenAI's GPT-3 model analyzes the input data based on the prompt sentence and generates an appropriate response, such as "That's tough, but your efforts will surely be rewarded. Believe in yourself and keep trying," and returns it to the server.
[0142] Input: API request with prompt statement
[0143] Output: The generated response
[0144] Step 6:
[0145] The server receives the generated response
[0146] The generated response is returned to the server as an API response. The server-side application receives this, converts it into an appropriate data format, and prepares it for transmission to the device. The generated response is again represented in JSON format and sent as an HTTP response.
[0147] Input: The generated response
[0148] Output: HTTP response in JSON format
[0149] Step 7:
[0150] The terminal displays the response
[0151] The device parses the JSON data received from the server and displays it on the user interface. Specifically, the application screen displays a response message saying, "That's tough, but your efforts will surely be rewarded. Believe in yourself and keep trying."
[0152] Input: HTTP response in JSON format
[0153] Output: The response text displayed in the user interface
[0154] The above is the specific processing flow of the program for this system. This allows users to input their worries and complaints and quickly receive appropriate advice and comfort.
[0155] (Application example 1)
[0156] 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."
[0157] Store staff experience a lot of stress and fatigue in their daily work, but without a means to receive immediate mental support, the mental burden remains unrelieved, which in the long term can lead to a decline in work efficiency and even thoughts of quitting.The purpose of this invention is to provide a system that can solve these problems by allowing staff to easily receive encouragement and advice in real time.
[0158] 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.
[0159] In this invention, the server includes a means for receiving input from a user, a means for transmitting the input to the server, a means for the server to pass the input to an artificial intelligence model to generate a response, a means for the server to return the generated response to the terminal, a means for displaying the received response to the user, and a means for using a smart device that supports voice input, which allows staff to easily input their concerns by voice and quickly receive comfort and advice.
[0160] The "means for receiving input from the user" refers to an interface that allows the user to input their worries or complaints by voice or text, such as an input device of a smart device.
[0161] The "means for transmitting the input to the server" is a function for transmitting the received user input data to the server via an internet line, for example, a transmission function using a wireless communication module.
[0162] "Means for the server to pass the input to an artificial intelligence model to generate a response" refers to a process in which the server analyzes the user's input data, passes it to an artificial intelligence model, and generates an appropriate response.
[0163] The "means for returning a response generated by the server to the terminal" is a function for retransmitting a response generated by the server to the user's terminal, for example, a transmission function using network communication.
[0164] The "means for displaying the received response to the user" is a function for displaying the response received by the terminal to the user on a screen, by voice, or the like.
[0165] "Means using a smart device that supports voice input" refers to an interface that allows for easy voice input using a device such as smart glasses.
[0166] This invention is a system that allows staff to easily receive mental support in real time. The system includes a terminal that receives input from users about their worries and complaints, a server that receives the input data and generates appropriate responses, and a smart device that displays the responses to the users.
[0167] System Configuration
[0168] 1. Terminal
[0169] Users, i.e., store staff, use smart devices such as smart glasses to input their worries and complaints by voice. The voice input function makes it easy to input even during busy work hours. This voice data is converted into text internally and sent to the server.
[0170] 2. Server
[0171] The server receives text data sent from the smart device. This data is passed to an artificial intelligence model (e.g., GPT-3) and analyzed using natural language processing techniques. The AI model generates a response that is sensitive to the user's feelings. This response is then sent back to the smart device by the server.
[0172] 3. Artificial Intelligence Models (AI)
[0173] The AI model analyzes the input data received by the server and generates an appropriate response. This response provides encouragement and advice in response to the user's worries or complaints. For example, if a staff member inputs, "I'm tired because I had to deal with a lot of things today," the AI model generates a response like, "You're doing a great job. Take a short break and refresh yourself, then come back with a smile."
[0174] 4. Viewing the Response
[0175] The smart device (e.g., smart glasses) receives the response from the server and displays it to the user. The display method is to overlay text on the user's field of vision, but voice guidance is also possible. This allows the user to receive encouragement and advice at the appropriate time, reducing mental strain.
[0176] Hardware and software used
[0177] Hardware: Smart glasses (e.g., Google Glass®)
[0178] Software: Natural language processing library (e.g., Google Cloud Natural Language), server (e.g., AWS (registered trademark) Elastic Beanstalk), smart glasses SDK
[0179] Specific examples
[0180] 1. When the user enters their concerns
[0181] A store staff member speaks into the smart glasses, saying, "I'm tired because I've had a lot of customers today." This voice data is converted into text inside the smart glasses and sent to the server.
[0182] 2. When the server processes the input
[0183] The server receives the text data sent from the smart glasses and passes it to an artificial intelligence model. The model uses natural language processing techniques to analyze this input and generate a response, such as "You're doing well. Take a short break and refresh yourself, then come back with a positive attitude."
[0184] 3. If the device displays a response
[0185] The smart glasses receive the response sent back from the server and display it in the staff's field of vision, which makes them feel a little lighter and more motivated to get to work.
[0186] Prompt Sentence Examples
[0187] "If a staff member says they've had a lot to deal with today and are feeling tired, offer appropriate encouragement and advice."
[0188] This system helps reduce the stress that staff feel on a daily basis and maintain their mental stability.
[0189] The flow of the specific processing in the application example 1 will be described with reference to FIG.
[0190] Step 1:
[0191] The user speaks their worries or complaints into the smart glasses. For example, they can say, "I'm tired because I have a lot of work to do today." This voice data is converted into text data by the voice recognition function in the smart glasses. The input data is formatted as text.
[0192] Step 2:
[0193] The smart glasses then send the converted text data to the server using their network communication function. Specifically, the smart glasses' wireless communication module sends the data to the server via the Internet.
[0194] Step 3:
[0195] The server receives the text data sent from the smart glasses and temporarily stores it. At this stage, the server preprocesses the data as needed to prepare it for analysis.
[0196] Step 4:
[0197] The server passes the received text data to an artificial intelligence model (e.g., GPT-3). The artificial intelligence model uses natural language processing technology to analyze the input text and performs data processing and calculations to generate an appropriate response. For example, in response to the input, "I'm tired from dealing with so many things today," the model generates a response such as, "You're doing great. Take a short break to refresh yourself, and then come back with a smile."
[0198] Step 5:
[0199] The server receives the response generated by the AI model and sends it back to the smart glasses. This transmission also uses network communication. Specifically, a transmission module on the server sends the response data to the smart glasses via the Internet.
[0200] Step 6:
[0201] The smart glasses receive the response data sent from the server. The received response data is displayed to the user. The display method can be AR technology, which displays text overlaid on the user's field of vision, or audio guidance, which allows the user to receive encouragement and advice.
[0202] Through the above processing steps, the system allows users (store staff) to quickly input their worries and complaints and receive comfort and advice in real time.
[0203] 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.
[0204] The present invention combines a system including a terminal for inputting a user's worries and complaints, a server that receives the input data and generates an appropriate response, and a terminal that displays the response to the user with an emotion engine that recognizes the user's emotions. The present invention can be implemented as follows.
[0205] System Configuration
[0206] 1. Terminal
[0207] Users use devices such as smartphones and computers to input their worries and complaints. When users enter their worries or complaints into a text box and press the send button, the input data is confirmed on the device.
[0208] 2. Emotion Engine
[0209] When the device sends input data to the server, the emotion engine analyzes the input data and recognizes the user's emotions. For example, emotions such as "anger," "sadness," and "joy" can be extracted from the input data.
[0210] 3. Server
[0211] The server receives input data from the device along with emotional information recognized by the emotion engine. The server then passes this data to an AI model for analysis and generates appropriate emotional responses, such as comforting or advice. The generated responses are then sent back to the device.
[0212] 4. Artificial Intelligence Models
[0213] The AI model uses natural language processing technology to analyze input data and emotional information and generate an appropriate response. For example, if the emotion engine recognizes the user's anger in response to an input such as, "Work hasn't been going well lately. My boss keeps getting angry with me," the model will generate an appropriate response, such as, "That must be really tough. But your efforts will surely be rewarded one day. Calm down and move on."
[0214] 5. Displaying the response to the user
[0215] The terminal receives the response sent back from the server and displays it to the user. By reading the displayed response, the user can receive comfort and advice that is in line with their feelings.
[0216] Specific examples
[0217] 1. When the user enters their concerns
[0218] A user opens the app and types, "My work hasn't been going well lately. My boss keeps getting angry at me." When the user presses the send button, this data is sent by the device to the emotion engine and then sent to the server.
[0219] 2. When the server processes the input
[0220] The server passes the received data and the emotional information recognized by the emotion engine to the AI model, which then analyzes the input data and emotional information and generates a response that is in tune with the user's feelings.
[0221] 3. If the device displays a response
[0222] The device receives the response sent back from the server and displays it on the user's screen. The user feels reassured by the response, "That's really tough, isn't it? But your efforts will surely be rewarded one day. Stay calm and move on."
[0223] effect
[0224] According to this invention, users can input their worries and complaints, and the system recognizes their emotions and instantly provides appropriate comfort and advice. This reduces the user's mental burden and helps restore self-confidence. Furthermore, even if a user is unable to resolve serious worries on their own, the system can provide emotionally responsive support, which can help prevent suicide.
[0225] As described above, the present invention provides a system that can alleviate users' worries and stress and provide psychological support quickly and effectively. Furthermore, the introduction of an emotion engine makes it possible to provide more appropriate responses according to the user's emotional state.
[0226] The processing flow will be explained below.
[0227] Understood, below we will explain the specific processing steps of the invention combining emotion engines based on the scope of the claims.
[0228] Step 1:
[0229] The user opens the app, enters their worries or complaints in the text box, and presses the send button, which confirms the entered text data on the device.
[0230] Step 2:
[0231] The device acquires the text data entered by the user and sends it to the emotion engine, which analyzes the text data and recognizes the user's emotion contained in the text.
[0232] Step 3:
[0233] The emotion engine generates data containing the recognized emotion information in JSON format and sends it to the server as an HTTP POST request, including the user ID, input text, and the recognized emotion information.
[0234] Step 4:
[0235] The server analyzes the request received from the terminal and extracts the transmitted input data (user ID, text data, and emotion information).
[0236] Step 5:
[0237] The server formats the extracted input data and emotion information into an appropriate format for passing to the AI model, and sends an HTTP POST request to the AI model's API.
[0238] Step 6:
[0239] The AI model analyzes the received data and generates an appropriate comforting or advice response based on the input text and sentiment information. The AI model uses natural language processing techniques to evaluate the text and sentiment.
[0240] Step 7:
[0241] The server converts the response received from the artificial intelligence model back into JSON format and sends it to the terminal as an HTTP response.
[0242] Step 8:
[0243] The terminal receives the response from the server, parses the response text, and displays it to the user.
[0244] Step 9:
[0245] The user can check the displayed response and receive comfort and advice to ease their emotional burden. The displayed response is emotionally sensitive, so it can provide more accurate support for the user's feelings.
[0246] Example 2
[0247] 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."
[0248] Conventional systems have had difficulty providing immediate, appropriate responses that are sensitive to the user's emotions in response to worries or complaints entered by the user. As a result, psychological support is not provided quickly and effectively, and the user's mental burden cannot be alleviated.
[0249] 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.
[0250] In this invention, the server includes a device that receives input from a user, a device that analyzes the input data and extracts emotional information, a device that transmits the input data and emotional information to the server, a device that passes the input data and emotional information to a generative AI model by the server to generate a response, a device that returns the response generated by the server to the terminal, and a device that displays the received response to the user. This makes it possible to quickly generate and provide an appropriate response that includes the user's emotional information.
[0251] "User" refers to someone who uses the system to input their worries and complaints.
[0252] "Input data" refers to text information that a user inputs into a terminal.
[0253] "Emotion information" refers to the user's emotional state extracted by the emotion engine by analyzing input data.
[0254] A "terminal" is a device that a user uses to manipulate input data, and includes a smartphone, a computer, and the like.
[0255] An "emotion engine" refers to a technology or system for analyzing input data and extracting user emotional information.
[0256] "Server" refers to a central processing unit for receiving input data and emotion information, processing it, and generating an appropriate response.
[0257] A "generative AI model" refers to an artificial intelligence model that generates appropriate responses based on input data and emotional information.
[0258] "Prompt sentence" refers to an instruction sentence created to be input into a generative AI model.
[0259] "Response" refers to the message that the generative AI model generates based on the user's input data and emotional information.
[0260] "Natural language processing technology" refers to technology for analyzing, understanding, and generating natural language using computers.
[0261] The present invention relates to a system that generates and displays appropriate responses based on the user's emotions after inputting their worries or complaints. The system includes an emotion engine that recognizes the user's emotions, and a server that generates responses using a generative AI model.
[0262] First, the user uses a device such as a smartphone or computer to input their worries or complaints. Input is done in a text box and confirmed by pressing the send button. This input data is passed to an emotion engine on the device, which analyzes the user's emotional information. For example, emotions such as "anger," "sadness," and "joy" are recognized.
[0263] The device sends the input data and emotional information recognized by the emotion engine to the server. The server then passes this data to a generative AI model, which generates a response based on the user's emotions. The generative AI model uses natural language processing technology to analyze the input data and emotional information and generate an appropriate message.
[0264] For example, if a user inputs, "Work hasn't been going well lately. My boss keeps getting angry at me," and the emotion engine recognizes this as "anger," the generative AI model will generate a response such as, "That must be really tough. But your efforts will surely be rewarded one day. Calm down and move on."
[0265] An example prompt might look like this:
[0266] User input: "I haven't been doing well at work lately. My boss keeps getting mad at me."
[0267] Recognized emotion: "Anger"
[0268] Generate an appropriate response.
[0269] The server sends the generated response back to the device, which then displays the response received from the server on the user's screen. By reading the displayed response, the user can receive comfort and advice that is in line with their feelings.
[0270] The system's unique feature is that the generative AI model uses the emotional information recognized by the emotion engine to quickly generate and provide an appropriate response. This allows users to receive instant emotional support, reducing their mental burden. Furthermore, the system's ability to provide emotionally responsive support for even the most serious of concerns may also help prevent suicide.
[0271] The flow of the identification process in the second embodiment will be described with reference to FIG.
[0272] Step 1:
[0273] User
[0274] The user opens the application on a smartphone or computer, enters their worries or complaints into the text box, and presses the send button. This action confirms the input data on the device.
[0275] Input: User-supplied text (e.g., "I'm not doing well at work these days. My boss keeps getting mad at me.")
[0276] Output: Confirmed input data
[0277] Step 2:
[0278] Terminal
[0279] The device passes the confirmed input data to the emotion engine for analysis. The emotion engine uses natural language processing technology to extract the user's emotions from the input data. These emotions are classified into categories such as "anger," "sadness," and "joy."
[0280] Input: Confirmed input data
[0281] Output: Emotion information (e.g., "anger")
[0282] Step 3:
[0283] Terminal
[0284] The device sends the input data and emotion information together as a data packet to the server. Specifically, text data with emotion information attached is sent.
[0285] Input: Confirmed input data, emotional information
[0286] Output: Data packet to send to the server (e.g., { "userInput": "My work hasn't been going well lately. My boss keeps getting mad at me.", "emotion": "Anger"})
[0287] Step 4:
[0288] server
[0289] The server receives data packets sent from the device, extracts input data and emotional information, and creates prompts based on this data to be passed to the generative AI model.
[0290] Input: Data packet sent to the server (e.g., { "userInput": "My work hasn't been going well lately. My boss keeps getting mad at me.", "emotion": "Anger"})
[0291] Output: Prompt sentence to be passed to the generative AI model (e.g., "User input: 'My work hasn't been going well lately. My boss keeps getting mad at me.' Recognized emotion: 'Anger' Please generate an appropriate response.")
[0292] Step 5:
[0293] Generative AI Models
[0294] The generative AI model analyzes the prompt text passed from the server and generates an appropriate response based on the user's input data and emotional information.
[0295] Input: Prompt sentence (e.g., "User input: 'I haven't been doing well at work lately. My boss keeps getting mad at me.' Recognized emotion: 'Anger'. Please generate an appropriate response.")
[0296] Output: Response message (e.g., "That's really hard, but your efforts will surely be rewarded one day. Keep calm and move on.")
[0297] Step 6:
[0298] server
[0299] The server assembles the responses received from the generative AI model into data packets and sends them to the device.
[0300] Input: Response message (e.g., "That's really tough, but your efforts will be rewarded one day. Keep calm and move on.")
[0301] Output: Data packet to send to the device (e.g., { "response": "That's really hard work. But your efforts will be rewarded. Keep calm and move on."})
[0302] Step 7:
[0303] Terminal
[0304] The terminal analyzes the data packet received from the server and displays a response message on the user's screen.
[0305] Input: Data packet from the server (e.g., { "response": "That's really tough. But your efforts will surely be rewarded one day. Keep calm and move on."})
[0306] Output: A response message that appears on the user's screen (e.g., "That's really tough, but your efforts will be rewarded one day. Keep calm and move on.")
[0307] In this way, the system can provide a prompt and appropriate response to the worries and complaints entered by the user.
[0308] (Application example 2)
[0309] 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."
[0310] In modern society, the number of people suffering from stress and worries is increasing, and there is a serious lack of means to receive emotionally responsive comfort and advice in real time, especially when visiting physical stores. Furthermore, since conventional systems have difficulty analyzing users' emotional information and providing appropriate responses, there is a need for a system that can reduce users' mental burden and provide psychological support quickly and effectively.
[0311] The identification process by the identification 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 recognizing a user's emotion and generating a response based on the emotion, means for inputting and responding using a smart device in a physical store, means for receiving input from the user, means for sending the input to the server, means for passing the input to an artificial intelligence model to generate a response, means for returning the generated response to the terminal, and means for displaying the received response to the user. This enables users to receive real-time psychological support that is sensitive to their emotions in a physical store.
[0312] A "user" is someone who uses the system to input their worries and complaints and receive appropriate responses.
[0313] The "means for receiving input" is hardware or software that has the function of receiving text data from a user.
[0314] A "server" is a computing system that receives input data sent by a user, processes it, and generates an appropriate response.
[0315] An "artificial intelligence model" is a software algorithm that uses natural language processing techniques to analyze user input data and generate emotion-based responses.
[0316] The "means for recognizing emotions" is software or hardware that has the function of analyzing the user's input data and extracting emotions such as "anger," "sadness," and "joy."
[0317] "Means for using smart devices in a physical store" refers to a system that allows users to input and respond using devices such as smartphones, smart glasses, or head-mounted displays installed in a physical store.
[0318] The "means for generating a response" is software or hardware on the server that has the function of generating an appropriate response message based on the user's input and emotional information.
[0319] A "means for sending a response back to the terminal" is a system or method for sending a server-generated response message to the user's device.
[0320] The "means for displaying the received response to the user" refers to software or hardware that has the function of displaying the response message sent from the server on the screen or display of the terminal.
[0321] "Natural language processing technology" is a technology for analyzing, understanding, and generating human language, and is an important method that forms part of artificial intelligence models.
[0322] This invention provides a system that allows users to easily input their worries and complaints in a brick-and-mortar store and receive appropriate comfort and advice in real time according to their feelings. This system is configured as follows.
[0323] First, the user uses a smart device (smartphone, smart glasses, head-mounted display, etc.) installed in the physical store to input their worries and complaints. The user types into the device's text box and presses the send button, which confirms the input data on the terminal.
[0324] The device then sends the input data to the server, where it is analyzed by an emotion recognition engine to extract the user's emotions, such as anger, sadness, or joy.
[0325] When the server receives the input data and emotional information, it passes the data to an artificial intelligence model (for example, an AI model that uses natural language processing technology). The artificial intelligence model generates an appropriate response message based on the input data and emotional information. For example, if the emotion engine recognizes "anger" in response to the input, "Work hasn't been going well lately. My boss keeps getting mad at me," the response message generated would be, "That's really tough. But your efforts will surely be rewarded one day. Calm down and move on."
[0326] The generated response message is sent back from the server to the device. The device receives this response message and displays it on the user's screen. By reading the displayed response, the user can receive comfort and advice that is in line with their feelings.
[0327] As a concrete example, consider a scenario in which smart glasses installed in a counseling zone in a brick-and-mortar store are used. A user puts on the smart glasses and inputs, "Work hasn't been going well lately. My boss keeps getting angry at me." The system recognizes the user's emotion of "anger" and generates a response such as, "That must be really tough. But your efforts will surely be rewarded one day. Calm down and move on.", which is displayed on the smart glasses' display.
[0328] Example prompt sentence:
[0329] User input: "My work hasn't been going well lately. My boss keeps getting mad at me."
[0330] Emotion: "Anger"
[0331] Respond appropriately to the user's input and emotion.
[0332] As described above, this system provides real-time psychological support that is sensitive to the user's emotions within a physical store. The hardware used includes a smart device, a server, and an emotion engine, while the software includes an artificial intelligence model that uses natural language processing technology.
[0333] The flow of the specific processing in the application example 2 will be described with reference to FIG.
[0334] Step 1:
[0335] Users use smart devices installed in physical stores to input their worries and complaints.
[0336] Input: Enter text into the text box on your smart device
[0337] Output: Input data is confirmed on the terminal side
[0338] How it works: The user operates a smart device (smartphone, smart glasses, head-mounted display, etc.), enters their worries or complaints in text format, and presses the send button.
[0339] Step 2:
[0340] The device sends the input data to the server, where the emotion engine analyzes the input data and recognizes the user's emotions.
[0341] Input: Text data entered by the user
[0342] Output: The analyzed emotion information and input data are sent to the server.
[0343] How it works: The emotion engine on the device analyzes text data and extracts emotions such as "anger," "sadness," and "joy." After analysis, the data is sent to the server along with the emotional information.
[0344] Step 3:
[0345] The server receives input data and emotion information, passes this data to an artificial intelligence model for analysis, and generates a response message.
[0346] Input: Emotional information and input data
[0347] Output: The generated response message
[0348] How it works: The server receives input data and emotion information and passes it to the AI model, which uses natural language processing techniques to analyze the data and generate an appropriate response message.
[0349] Step 4:
[0350] The server returns the generated response message to the terminal.
[0351] Input: The generated response message
[0352] Output: Response message sent back to the terminal
[0353] Operation: The server sends the generated response message to the terminal.
[0354] Step 5:
[0355] The terminal displays the received response message to the user.
[0356] Input: The returned response message
[0357] Output: The response message displayed on the user's screen
[0358] How it works: The terminal receives the response message sent back from the server and displays it on the screen of the smart device. The user reads the message and receives comfort or advice that is in line with their feelings.
[0359] 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.
[0360] The data generation model 58 is a so-called generative AI (Artificial Intelligence). An example of the data generation model 58 is ChatGPT (registered trademark) (Internet search engine).<URL: https: / / openai.com / blog / chatgpt> ), Gemini (registered trademark) (Internet search <url: https: gemini.google.com ?hl="ja">) and other generation AIs. The data generation model 58 is obtained by performing deep learning on a neural network. A prompt including an instruction is input to the data generation model 58, and inference data such as voice data indicating voice, text data indicating text, and image data indicating an image is also input. The data generation model 58 performs inference on the input inference data in accordance with the instruction indicated by the prompt, and outputs the inference result in a data format such as voice data and text data. Here, inference refers to, for example, analysis, classification, prediction, and / or summarization.
[0361] 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.
[0362] [Second embodiment]
[0363] FIG. 3 shows an example of the configuration of a data processing system 210 according to the second embodiment.
[0364] 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.
[0365] 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).
[0366] 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.
[0367] 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.
[0368] 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).
[0369] 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.
[0370] 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.
[0371] 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.
[0372] 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.
[0373] 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.
[0374] 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."
[0375] The present invention is a system including a terminal for inputting a user's worries and complaints, a server that receives the input data and generates an appropriate response, and a terminal that displays the response to the user. The present invention can be implemented as follows.
[0376] System Configuration
[0377] 1. Terminal
[0378] Users use devices such as smartphones and computers to input their worries and complaints. When users enter their worries or complaints in the text box and press the send button, the input data is sent to the server.
[0379] 2. Server
[0380] The server receives input data sent from the device, passes this data to an artificial intelligence model for analysis, and generates appropriate comfort or advice. The generated response is then sent back from the server to the device.
[0381] 3. Artificial Intelligence Model
[0382] The AI model includes an algorithm that uses natural language processing technology to analyze input data and generate an appropriate response. For example, if a user inputs, "My work hasn't been going well lately. My boss keeps getting angry at me," the model analyzes it and generates a response such as, "That's tough. But your efforts will surely be rewarded. Believe in yourself and keep working hard."
[0383] 4. Displaying a response to the user
[0384] The terminal receives the response sent back from the server and displays it to the user. By reading the displayed response, the user feels encouraged and relieved. In addition, by receiving appropriate advice, the user can obtain hints for solving the problem.
[0385] Specific examples
[0386] 1. When the user enters their concerns
[0387] A user opens the app and types, "My work hasn't been going well lately. My boss keeps getting angry at me." When the user presses the send button, this data is sent by the device to the server.
[0388] 2. When the server processes the input
[0389] The server passes the received data to an AI model, which analyzes the input data and generates a response that is sensitive to the user's feelings.
[0390] 3. If the device displays a response
[0391] The device receives the response sent back from the server and displays it on the user's screen. The response, "That's tough, but your efforts will surely be rewarded. Believe in yourself and do your best," is displayed, giving the user a sense of encouragement.
[0392] effect
[0393] According to the present invention, users can easily input their worries and complaints and instantly receive appropriate comfort and advice. This reduces the user's mental burden and helps restore self-confidence. Furthermore, even if a user is unable to resolve serious worries on their own, the system can provide appropriate support, which can help prevent suicide.
[0394] As described above, the present invention provides a system that can reduce the user's worries and stress and provide psychological support quickly and effectively.
[0395] The processing flow will be explained below.
[0396] Understood, below we will explain the specific processing steps of the program based on the claims.
[0397] Step 1:
[0398] The user enters their worries or complaints into the text box on the device and presses the send button, which confirms the entered text data on the device.
[0399] Step 2:
[0400] The device converts the user's input data into JSON format and sends it to the server as an HTTP POST request, which includes the user ID and the input text.
[0401] Step 3:
[0402] The server analyzes the request received from the terminal and extracts the input data (user ID and text) sent.
[0403] Step 4:
[0404] The server converts the extracted input data into an appropriate format for passing to the AI model, and sends an HTTP POST request to the AI model's API.
[0405] Step 5:
[0406] An artificial intelligence model analyzes the received data and generates an appropriate comforting or advisory response to the input text.
[0407] Step 6:
[0408] The server converts the response received from the artificial intelligence model back into JSON format and sends it to the terminal as an HTTP response.
[0409] Step 7:
[0410] The terminal receives the response from the server, parses the response text, and displays it to the user.
[0411] Step 8:
[0412] The user checks the displayed response and receives comfort and advice to ease the burden on his / her mind.
[0413] Example 1
[0414] 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."
[0415] In modern society, there is a demand for methods to provide appropriate psychological support to quickly resolve users' worries and complaints. In particular, users suffering from stress and mental stress are looking for easy ways to relieve their stress, but conventional systems have difficulty responding to such requests quickly and effectively. Even systems that use artificial intelligence have limitations in the accuracy of natural language processing and the appropriateness of responses. This creates the problem that the problems and worries faced by users are not adequately resolved, and the mental stress is not alleviated.
[0416] 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.
[0417] In this invention, the server includes means for receiving text data from a user, means for transmitting the text data to a computer, means for the computer to pass the text data to an artificial intelligence model and generate a response using natural language processing technology, means for the computer to return the generated response to a data terminal, and means for displaying the received response on a user interface. This allows users to easily input their worries and complaints and receive appropriate and prompt comfort and advice, thereby reducing their mental burden.
[0418] A "user" is someone who uses a terminal to input worries and complaints and receives responses from the system.
[0419] "Text data" is text data containing worries and complaints entered by the user.
[0420] A "terminal" is a device used by a user, such as a smartphone or computer.
[0421] A "computer" is a server or other computing device that receives and processes user input data.
[0422] An "artificial intelligence model" is an algorithm or program that uses natural language processing technology to analyze user input data and generate appropriate responses.
[0423] "Natural language processing technology" is a technology that allows computers to understand, interpret, and generate human language.
[0424] A "prompt sentence" is a command sentence used as input to an artificial intelligence model and is used to generate a specific response.
[0425] A "response" is a message of comfort or advice that the artificial intelligence model generates based on the user's input data.
[0426] A "user interface" is a screen or interface on a terminal that displays information and responses to a user.
[0427] MODE FOR CARRYING OUT THE INVENTION
[0428] The present invention is a system for inputting a user's worries and complaints and generating and displaying an appropriate response based on the input. This system is configured as follows and is implemented through specific processing steps.
[0429] Hardware and software used
[0430] 1. Terminal
[0431] Electronic devices such as smartphones and computers are used, and users input their worries and complaints through these devices.
[0432] A user interface is built into the terminal, and the user inputs data using a text box.
[0433] 2. Server
[0434] The server receives requests and processes them appropriately. Server software such as Apache HTTP Server or Nginx is used.
[0435] Node.js and Python's Flask are used for backend processing.
[0436] 3. Artificial Intelligence Model
[0437] It uses artificial intelligence models to analyze the input text data and generate responses, specifically generative AI models such as OpenAI's GPT-3 and Google's BERT.
[0438] It includes an algorithm that uses natural language processing technology to understand the user's worries and complaints and provide appropriate comfort and advice.
[0439] Program processing
[0440] 1. Input of user concerns and complaints
[0441] The user inputs their worries and complaints into an application installed on the terminal. For example, they might type, "My work hasn't been going well lately. My boss keeps getting angry at me." into the text box and press the send button. This sends the input data to the server.
[0442] 2. Sending and Receiving Data
[0443] The terminal sends the text data entered by the user to the server as an HTTP POST request. The data is sent in JSON format, and the server receives it.
[0444] 3. Data Analysis and Response Generation
[0445] The server passes the received data to the AI model. The AI model uses the prompt to analyze the input data and generate a response. For example, the prompt could be "If the user says, 'My work hasn't been going well lately. My boss keeps getting mad at me,' please generate a way to comfort him."
[0446] 4. Returning and Displaying Responses
[0447] The response generated by the AI model is returned to the server, which then sends it in JSON format to the device, which then parses the response and displays it in the user interface.
[0448] Specific examples
[0449] For example, a user can input a problem and the AI model will generate a response using the following prompt:
[0450] "If a user types, 'My work hasn't been going well lately. My boss keeps getting mad at me,' generate a way to comfort them."
[0451] This causes the artificial intelligence model to generate a response that says, "That's tough, but your efforts will surely be rewarded. Believe in yourself and do your best," and displays it on the device.
[0452] As described above, the present invention is a system that can quickly and effectively alleviate the user's worries and stress and provide appropriate psychological support.
[0453] The flow of the identification process in the first embodiment will be described with reference to FIG.
[0454] Step 1:
[0455] Users input their worries and complaints
[0456] A user starts an application on a smartphone or computer and enters their worries or complaints into a text box. For example, they might enter, "My work hasn't been going well lately. My boss keeps getting mad at me," and then press the send button. At this point, the text data entered by the user is generated.
[0457] Input: Text data entered by the user
[0458] Output: Generated text data
[0459] Step 2:
[0460] The device sends text data to the server
[0461] After the user presses the send button, the terminal sends the text data to the server as an HTTP POST request, which includes the text data entered by the user in JSON format.
[0462] Input: Generated text data
[0463] Output: HTTP POST request containing JSON-formatted text data
[0464] Step 3:
[0465] The server receives the text data.
[0466] The server receives the HTTP POST request sent from the terminal. The server runs Apache HTTP Server or Nginx, and receives the request through this. The received data is passed to the server-side application (for example, Node.js or Python Flask).
[0467] Input: HTTP POST request in JSON format
[0468] Output: Text data passed to the server-side application
[0469] Step 4:
[0470] The server passes the text data to the AI model
[0471] The server-side application converts the received text data into an appropriate format and passes it to the artificial intelligence model. Specifically, it makes a request to OpenAI's GPT-3 API. This request includes a prompt: "If a user types, 'My work hasn't been going well lately. My boss keeps getting mad at me,' please generate a way to comfort them."
[0472] Input: Received text data
[0473] Output: API request with prompt statement
[0474] Step 5:
[0475] An artificial intelligence model generates a response
[0476] OpenAI's GPT-3 model analyzes the input data based on the prompt sentence and generates an appropriate response, such as "That's tough, but your efforts will surely be rewarded. Believe in yourself and keep trying," and returns it to the server.
[0477] Input: API request with prompt statement
[0478] Output: The generated response
[0479] Step 6:
[0480] The server receives the generated response
[0481] The generated response is returned to the server as an API response. The server-side application receives this, converts it into an appropriate data format, and prepares it for transmission to the device. The generated response is again represented in JSON format and sent as an HTTP response.
[0482] Input: The generated response
[0483] Output: HTTP response in JSON format
[0484] Step 7:
[0485] The terminal displays the response
[0486] The device parses the JSON data received from the server and displays it on the user interface. Specifically, the application screen displays a response message saying, "That's tough, but your efforts will surely be rewarded. Believe in yourself and keep trying."
[0487] Input: HTTP response in JSON format
[0488] Output: The response text displayed in the user interface
[0489] The above is the specific processing flow of the program for this system. This allows users to input their worries and complaints and quickly receive appropriate advice and comfort.
[0490] (Application example 1)
[0491] 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."
[0492] Store staff experience a lot of stress and fatigue in their daily work, but without a means to receive immediate mental support, the mental burden remains unrelieved, which in the long term can lead to a decline in work efficiency and even thoughts of quitting.The purpose of this invention is to provide a system that can solve these problems by allowing staff to easily receive encouragement and advice in real time.
[0493] 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.
[0494] In this invention, the server includes a means for receiving input from a user, a means for transmitting the input to the server, a means for the server to pass the input to an artificial intelligence model to generate a response, a means for the server to return the generated response to the terminal, a means for displaying the received response to the user, and a means for using a smart device that supports voice input, which allows staff to easily input their concerns by voice and quickly receive comfort and advice.
[0495] The "means for receiving input from the user" refers to an interface that allows the user to input their worries or complaints by voice or text, such as an input device of a smart device.
[0496] The "means for transmitting the input to the server" is a function for transmitting the received user input data to the server via an internet line, for example, a transmission function using a wireless communication module.
[0497] "Means for the server to pass the input to an artificial intelligence model to generate a response" refers to a process in which the server analyzes the user's input data, passes it to an artificial intelligence model, and generates an appropriate response.
[0498] The "means for returning a response generated by the server to the terminal" is a function for retransmitting a response generated by the server to the user's terminal, for example, a transmission function using network communication.
[0499] The "means for displaying the received response to the user" is a function for displaying the response received by the terminal to the user on a screen, by voice, or the like.
[0500] "Means using a smart device that supports voice input" refers to an interface that allows for easy voice input using a device such as smart glasses.
[0501] This invention is a system that allows staff to easily receive mental support in real time. The system includes a terminal that receives input from users about their worries and complaints, a server that receives the input data and generates appropriate responses, and a smart device that displays the responses to the users.
[0502] System Configuration
[0503] 1. Terminal
[0504] Users, i.e., store staff, use smart devices such as smart glasses to input their worries and complaints by voice. The voice input function makes it easy to input even during busy work hours. This voice data is converted into text internally and sent to the server.
[0505] 2. Server
[0506] The server receives text data sent from the smart device. This data is passed to an artificial intelligence model (e.g., GPT-3) and analyzed using natural language processing techniques. The AI model generates a response that is sensitive to the user's feelings. This response is then sent back to the smart device by the server.
[0507] 3. Artificial Intelligence Models (AI)
[0508] The AI model analyzes the input data received by the server and generates an appropriate response. This response provides encouragement and advice in response to the user's worries or complaints. For example, if a staff member inputs, "I'm tired because I had to deal with a lot of things today," the AI model generates a response like, "You're doing a great job. Take a short break and refresh yourself, then come back with a smile."
[0509] 4. Viewing the Response
[0510] The smart device (e.g., smart glasses) receives the response from the server and displays it to the user. The display method is to overlay text on the user's field of vision, but voice guidance is also possible. This allows the user to receive encouragement and advice at the appropriate time, reducing mental strain.
[0511] Hardware and software used
[0512] Hardware: Smart glasses (e.g., Google Glass)
[0513] Software: Natural language processing library (e.g., Google Cloud Natural Language), server (e.g., AWS Elastic Beanstalk), smart glasses SDK
[0514] Specific examples
[0515] 1. When the user enters their concerns
[0516] A store staff member speaks into the smart glasses, saying, "I'm tired because I've had a lot of customers today." This voice data is converted into text inside the smart glasses and sent to the server.
[0517] 2. When the server processes the input
[0518] The server receives the text data sent from the smart glasses and passes it to an artificial intelligence model. The model uses natural language processing techniques to analyze this input and generate a response, such as "You're doing well. Take a short break and refresh yourself, then come back with a positive attitude."
[0519] 3. If the device displays a response
[0520] The smart glasses receive the response sent back from the server and display it in the staff's field of vision, which makes them feel a little lighter and more motivated to get to work.
[0521] Prompt Sentence Examples
[0522] "If a staff member says they've had a lot to deal with today and are feeling tired, offer appropriate encouragement and advice."
[0523] This system helps reduce the stress that staff feel on a daily basis and maintain their mental stability.
[0524] The flow of the specific processing in the application example 1 will be described with reference to FIG.
[0525] Step 1:
[0526] The user speaks their worries or complaints into the smart glasses. For example, they can say, "I'm tired because I have a lot of work to do today." This voice data is converted into text data by the voice recognition function in the smart glasses. The input data is formatted as text.
[0527] Step 2:
[0528] The smart glasses then send the converted text data to the server using their network communication function. Specifically, the smart glasses' wireless communication module sends the data to the server via the Internet.
[0529] Step 3:
[0530] The server receives the text data sent from the smart glasses and temporarily stores it. At this stage, the server preprocesses the data as needed to prepare it for analysis.
[0531] Step 4:
[0532] The server passes the received text data to an artificial intelligence model (e.g., GPT-3). The artificial intelligence model uses natural language processing technology to analyze the input text and performs data processing and calculations to generate an appropriate response. For example, in response to the input, "I'm tired from dealing with so many things today," the model generates a response such as, "You're doing great. Take a short break to refresh yourself, and then come back with a smile."
[0533] Step 5:
[0534] The server receives the response generated by the AI model and sends it back to the smart glasses. This transmission also uses network communication. Specifically, a transmission module on the server sends the response data to the smart glasses via the Internet.
[0535] Step 6:
[0536] The smart glasses receive the response data sent from the server. The received response data is displayed to the user. The display method can be AR technology, which displays text overlaid on the user's field of vision, or audio guidance, which allows the user to receive encouragement and advice.
[0537] Through the above processing steps, the system allows users (store staff) to quickly input their worries and complaints and receive comfort and advice in real time.
[0538] 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.
[0539] The present invention combines a system including a terminal for inputting a user's worries and complaints, a server that receives the input data and generates an appropriate response, and a terminal that displays the response to the user with an emotion engine that recognizes the user's emotions. The present invention can be implemented as follows.
[0540] System Configuration
[0541] 1. Terminal
[0542] Users use devices such as smartphones and computers to input their worries and complaints. When users enter their worries or complaints into a text box and press the send button, the input data is confirmed on the device.
[0543] 2. Emotion Engine
[0544] When the device sends input data to the server, the emotion engine analyzes the input data and recognizes the user's emotions. For example, emotions such as "anger," "sadness," and "joy" can be extracted from the input data.
[0545] 3. Server
[0546] The server receives input data from the device along with emotional information recognized by the emotion engine. The server then passes this data to an AI model for analysis and generates appropriate emotional responses, such as comforting or advice. The generated responses are then sent back to the device.
[0547] 4. Artificial Intelligence Models
[0548] The AI model uses natural language processing technology to analyze input data and emotional information and generate an appropriate response. For example, if the emotion engine recognizes the user's anger in response to an input such as, "Work hasn't been going well lately. My boss keeps getting angry with me," the model will generate an appropriate response, such as, "That must be really tough. But your efforts will surely be rewarded one day. Calm down and move on."
[0549] 5. Displaying the response to the user
[0550] The terminal receives the response sent back from the server and displays it to the user. By reading the displayed response, the user can receive comfort and advice that is in line with their feelings.
[0551] Specific examples
[0552] 1. When the user enters their concerns
[0553] A user opens the app and types, "My work hasn't been going well lately. My boss keeps getting angry at me." When the user presses the send button, this data is sent by the device to the emotion engine and then sent to the server.
[0554] 2. When the server processes the input
[0555] The server passes the received data and the emotional information recognized by the emotion engine to the AI model, which then analyzes the input data and emotional information and generates a response that is in tune with the user's feelings.
[0556] 3. If the device displays a response
[0557] The device receives the response sent back from the server and displays it on the user's screen. The user feels reassured by the response, "That's really tough, isn't it? But your efforts will surely be rewarded one day. Stay calm and move on."
[0558] effect
[0559] According to this invention, users can input their worries and complaints, and the system recognizes their emotions and instantly provides appropriate comfort and advice. This reduces the user's mental burden and helps restore self-confidence. Furthermore, even if a user is unable to resolve serious worries on their own, the system can provide emotionally responsive support, which can help prevent suicide.
[0560] As described above, the present invention provides a system that can alleviate users' worries and stress and provide psychological support quickly and effectively. Furthermore, the introduction of an emotion engine makes it possible to provide more appropriate responses according to the user's emotional state.
[0561] The processing flow will be explained below.
[0562] Understood, below we will explain the specific processing steps of the invention combining emotion engines based on the scope of the claims.
[0563] Step 1:
[0564] The user opens the app, enters their worries or complaints in the text box, and presses the send button, which confirms the entered text data on the device.
[0565] Step 2:
[0566] The device acquires the text data entered by the user and sends it to the emotion engine, which analyzes the text data and recognizes the user's emotion contained in the text.
[0567] Step 3:
[0568] The emotion engine generates data containing the recognized emotion information in JSON format and sends it to the server as an HTTP POST request, including the user ID, input text, and the recognized emotion information.
[0569] Step 4:
[0570] The server analyzes the request received from the terminal and extracts the transmitted input data (user ID, text data, and emotion information).
[0571] Step 5:
[0572] The server formats the extracted input data and emotion information into an appropriate format for passing to the AI model, and sends an HTTP POST request to the AI model's API.
[0573] Step 6:
[0574] The AI model analyzes the received data and generates an appropriate comforting or advice response based on the input text and sentiment information. The AI model uses natural language processing techniques to evaluate the text and sentiment.
[0575] Step 7:
[0576] The server converts the response received from the artificial intelligence model back into JSON format and sends it to the terminal as an HTTP response.
[0577] Step 8:
[0578] The terminal receives the response from the server, parses the response text, and displays it to the user.
[0579] Step 9:
[0580] The user can check the displayed response and receive comfort and advice to ease their emotional burden. The displayed response is emotionally sensitive, so it can provide more accurate support for the user's feelings.
[0581] Example 2
[0582] 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."
[0583] Conventional systems have had difficulty providing immediate, appropriate responses that are sensitive to the user's emotions in response to worries or complaints entered by the user. As a result, psychological support is not provided quickly and effectively, and the user's mental burden cannot be alleviated.
[0584] 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.
[0585] In this invention, the server includes a device that receives input from a user, a device that analyzes the input data and extracts emotional information, a device that transmits the input data and emotional information to the server, a device that passes the input data and emotional information to a generative AI model by the server to generate a response, a device that returns the response generated by the server to the terminal, and a device that displays the received response to the user. This makes it possible to quickly generate and provide an appropriate response that includes the user's emotional information.
[0586] "User" refers to someone who uses the system to input their worries and complaints.
[0587] "Input data" refers to text information that a user inputs into a terminal.
[0588] "Emotion information" refers to the user's emotional state extracted by the emotion engine by analyzing input data.
[0589] A "terminal" is a device that a user uses to manipulate input data, and includes a smartphone, a computer, and the like.
[0590] An "emotion engine" refers to a technology or system for analyzing input data and extracting user emotional information.
[0591] "Server" refers to a central processing unit for receiving input data and emotion information, processing it, and generating an appropriate response.
[0592] A "generative AI model" refers to an artificial intelligence model that generates appropriate responses based on input data and emotional information.
[0593] "Prompt sentence" refers to an instruction sentence created to be input into a generative AI model.
[0594] "Response" refers to the message that the generative AI model generates based on the user's input data and emotional information.
[0595] "Natural language processing technology" refers to technology for analyzing, understanding, and generating natural language using computers.
[0596] The present invention relates to a system that generates and displays appropriate responses based on the user's emotions after inputting their worries or complaints. The system includes an emotion engine that recognizes the user's emotions, and a server that generates responses using a generative AI model.
[0597] First, the user uses a device such as a smartphone or computer to input their worries or complaints. Input is done in a text box and confirmed by pressing the send button. This input data is passed to an emotion engine on the device, which analyzes the user's emotional information. For example, emotions such as "anger," "sadness," and "joy" are recognized.
[0598] The device sends the input data and emotional information recognized by the emotion engine to the server. The server then passes this data to a generative AI model, which generates a response based on the user's emotions. The generative AI model uses natural language processing technology to analyze the input data and emotional information and generate an appropriate message.
[0599] For example, if a user inputs, "Work hasn't been going well lately. My boss keeps getting angry at me," and the emotion engine recognizes this as "anger," the generative AI model will generate a response such as, "That must be really tough. But your efforts will surely be rewarded one day. Calm down and move on."
[0600] An example prompt might look like this:
[0601] User input: "I haven't been doing well at work lately. My boss keeps getting mad at me."
[0602] Recognized emotion: "Anger"
[0603] Generate an appropriate response.
[0604] The server sends the generated response back to the device, which then displays the response received from the server on the user's screen. By reading the displayed response, the user can receive comfort and advice that is in line with their feelings.
[0605] The system's unique feature is that the generative AI model uses the emotional information recognized by the emotion engine to quickly generate and provide an appropriate response. This allows users to receive instant emotional support, reducing their mental burden. Furthermore, the system's ability to provide emotionally responsive support for even the most serious of concerns may also help prevent suicide.
[0606] The flow of the identification process in the second embodiment will be described with reference to FIG.
[0607] Step 1:
[0608] User
[0609] The user opens the application on a smartphone or computer, enters their worries or complaints into the text box, and presses the send button. This action confirms the input data on the device.
[0610] Input: User-supplied text (e.g., "I'm not doing well at work these days. My boss keeps getting mad at me.")
[0611] Output: Confirmed input data
[0612] Step 2:
[0613] Terminal
[0614] The device passes the confirmed input data to the emotion engine for analysis. The emotion engine uses natural language processing technology to extract the user's emotions from the input data. These emotions are classified into categories such as "anger," "sadness," and "joy."
[0615] Input: Confirmed input data
[0616] Output: Emotion information (e.g., "anger")
[0617] Step 3:
[0618] Terminal
[0619] The device sends the input data and emotion information together as a data packet to the server. Specifically, text data with emotion information attached is sent.
[0620] Input: Confirmed input data, emotional information
[0621] Output: Data packet to send to the server (e.g., { "userInput": "My work hasn't been going well lately. My boss keeps getting mad at me.", "emotion": "Anger"})
[0622] Step 4:
[0623] server
[0624] The server receives data packets sent from the device, extracts input data and emotional information, and creates prompts based on this data to be passed to the generative AI model.
[0625] Input: Data packet sent to the server (e.g., { "userInput": "My work hasn't been going well lately. My boss keeps getting mad at me.", "emotion": "Anger"})
[0626] Output: Prompt sentence to be passed to the generative AI model (e.g., "User input: 'My work hasn't been going well lately. My boss keeps getting mad at me.' Recognized emotion: 'Anger' Please generate an appropriate response.")
[0627] Step 5:
[0628] Generative AI Models
[0629] The generative AI model analyzes the prompt text passed from the server and generates an appropriate response based on the user's input data and emotional information.
[0630] Input: Prompt sentence (e.g., "User input: 'I haven't been doing well at work lately. My boss keeps getting mad at me.' Recognized emotion: 'Anger'. Please generate an appropriate response.")
[0631] Output: Response message (e.g., "That's really hard, but your efforts will surely be rewarded one day. Keep calm and move on.")
[0632] Step 6:
[0633] server
[0634] The server assembles the responses received from the generative AI model into data packets and sends them to the device.
[0635] Input: Response message (e.g., "That's really tough, but your efforts will be rewarded one day. Keep calm and move on.")
[0636] Output: Data packet to send to the device (e.g., { "response": "That's really hard work. But your efforts will be rewarded. Keep calm and move on."})
[0637] Step 7:
[0638] Terminal
[0639] The terminal analyzes the data packet received from the server and displays a response message on the user's screen.
[0640] Input: Data packet from the server (e.g., { "response": "That's really tough. But your efforts will surely be rewarded one day. Keep calm and move on."})
[0641] Output: A response message that appears on the user's screen (e.g., "That's really tough, but your efforts will be rewarded one day. Keep calm and move on.")
[0642] In this way, the system can provide a prompt and appropriate response to the worries and complaints entered by the user.
[0643] (Application example 2)
[0644] 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."
[0645] In modern society, the number of people suffering from stress and worries is increasing, and there is a serious lack of means to receive emotionally responsive comfort and advice in real time, especially when visiting physical stores. Furthermore, since conventional systems have difficulty analyzing users' emotional information and providing appropriate responses, there is a need for a system that can reduce users' mental burden and provide psychological support quickly and effectively.
[0646] The identification process by the identification 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 recognizing a user's emotion and generating a response based on the emotion, means for inputting and responding using a smart device in a physical store, means for receiving input from the user, means for sending the input to the server, means for passing the input to an artificial intelligence model to generate a response, means for returning the generated response to the terminal, and means for displaying the received response to the user. This enables users to receive real-time psychological support that is sensitive to their emotions in a physical store.
[0647] A "user" is someone who uses the system to input their worries and complaints and receive appropriate responses.
[0648] The "means for receiving input" is hardware or software that has the function of receiving text data from a user.
[0649] A "server" is a computing system that receives input data sent by a user, processes it, and generates an appropriate response.
[0650] An "artificial intelligence model" is a software algorithm that uses natural language processing techniques to analyze user input data and generate emotion-based responses.
[0651] The "means for recognizing emotions" is software or hardware that has the function of analyzing the user's input data and extracting emotions such as "anger," "sadness," and "joy."
[0652] "Means for using smart devices in a physical store" refers to a system that allows users to input and respond using devices such as smartphones, smart glasses, or head-mounted displays installed in a physical store.
[0653] The "means for generating a response" is software or hardware on the server that has the function of generating an appropriate response message based on the user's input and emotional information.
[0654] A "means for sending a response back to the terminal" is a system or method for sending a server-generated response message to the user's device.
[0655] The "means for displaying the received response to the user" refers to software or hardware that has the function of displaying the response message sent from the server on the screen or display of the terminal.
[0656] "Natural language processing technology" is a technology for analyzing, understanding, and generating human language, and is an important method that forms part of artificial intelligence models.
[0657] This invention provides a system that allows users to easily input their worries and complaints in a brick-and-mortar store and receive appropriate comfort and advice in real time according to their feelings. This system is configured as follows.
[0658] First, the user uses a smart device (smartphone, smart glasses, head-mounted display, etc.) installed in the physical store to input their worries and complaints. The user types into the device's text box and presses the send button, which confirms the input data on the terminal.
[0659] The device then sends the input data to the server, where it is analyzed by an emotion recognition engine to extract the user's emotions, such as anger, sadness, or joy.
[0660] When the server receives the input data and emotional information, it passes the data to an artificial intelligence model (for example, an AI model that uses natural language processing technology). The artificial intelligence model generates an appropriate response message based on the input data and emotional information. For example, if the emotion engine recognizes "anger" in response to the input, "Work hasn't been going well lately. My boss keeps getting mad at me," the response message generated would be, "That's really tough. But your efforts will surely be rewarded one day. Calm down and move on."
[0661] The generated response message is sent back from the server to the device. The device receives this response message and displays it on the user's screen. By reading the displayed response, the user can receive comfort and advice that is in line with their feelings.
[0662] As a concrete example, consider a scenario in which smart glasses installed in a counseling zone in a brick-and-mortar store are used. A user puts on the smart glasses and inputs, "Work hasn't been going well lately. My boss keeps getting angry at me." The system recognizes the user's emotion of "anger" and generates a response such as, "That must be really tough. But your efforts will surely be rewarded one day. Calm down and move on.", which is displayed on the smart glasses' display.
[0663] Example prompt sentence:
[0664] User input: "My work hasn't been going well lately. My boss keeps getting mad at me."
[0665] Emotion: "Anger"
[0666] Respond appropriately to the user's input and emotion.
[0667] As described above, this system provides real-time psychological support that is sensitive to the user's emotions within a physical store. The hardware used includes a smart device, a server, and an emotion engine, while the software includes an artificial intelligence model that uses natural language processing technology.
[0668] The flow of the specific processing in the application example 2 will be described with reference to FIG.
[0669] Step 1:
[0670] Users use smart devices installed in physical stores to input their worries and complaints.
[0671] Input: Enter text into the text box on your smart device
[0672] Output: Input data is confirmed on the terminal side
[0673] How it works: The user operates a smart device (smartphone, smart glasses, head-mounted display, etc.), enters their worries or complaints in text format, and presses the send button.
[0674] Step 2:
[0675] The device sends the input data to the server, where the emotion engine analyzes the input data and recognizes the user's emotions.
[0676] Input: Text data entered by the user
[0677] Output: The analyzed emotion information and input data are sent to the server.
[0678] How it works: The emotion engine on the device analyzes text data and extracts emotions such as "anger," "sadness," and "joy." After analysis, the data is sent to the server along with the emotional information.
[0679] Step 3:
[0680] The server receives input data and emotion information, passes this data to an artificial intelligence model for analysis, and generates a response message.
[0681] Input: Emotional information and input data
[0682] Output: The generated response message
[0683] How it works: The server receives input data and emotion information and passes it to the AI model, which uses natural language processing techniques to analyze the data and generate an appropriate response message.
[0684] Step 4:
[0685] The server returns the generated response message to the terminal.
[0686] Input: The generated response message
[0687] Output: Response message sent back to the terminal
[0688] Operation: The server sends the generated response message to the terminal.
[0689] Step 5:
[0690] The terminal displays the received response message to the user.
[0691] Input: The returned response message
[0692] Output: The response message displayed on the user's screen
[0693] How it works: The terminal receives the response message sent back from the server and displays it on the screen of the smart device. The user reads the message and receives comfort or advice that is in line with their feelings.
[0694] 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.
[0695] 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.
[0696] 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.
[0697] [Third embodiment]
[0698] FIG. 5 shows an example of the configuration of a data processing system 310 according to the third embodiment.
[0699] 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.
[0700] 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).
[0701] 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.
[0702] 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.
[0703] 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).
[0704] 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.
[0705] 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.
[0706] 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.
[0707] 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.
[0708] 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.
[0709] 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."
[0710] The present invention is a system including a terminal for inputting a user's worries and complaints, a server that receives the input data and generates an appropriate response, and a terminal that displays the response to the user. The present invention can be implemented as follows.
[0711] System Configuration
[0712] 1. Terminal
[0713] Users use devices such as smartphones and computers to input their worries and complaints. When users enter their worries or complaints in the text box and press the send button, the input data is sent to the server.
[0714] 2. Server
[0715] The server receives input data sent from the device, passes this data to an artificial intelligence model for analysis, and generates appropriate comfort or advice. The generated response is then sent back from the server to the device.
[0716] 3. Artificial Intelligence Model
[0717] The AI model includes an algorithm that uses natural language processing technology to analyze input data and generate an appropriate response. For example, if a user inputs, "My work hasn't been going well lately. My boss keeps getting angry at me," the model analyzes it and generates a response such as, "That's tough. But your efforts will surely be rewarded. Believe in yourself and keep working hard."
[0718] 4. Displaying a response to the user
[0719] The terminal receives the response sent back from the server and displays it to the user. By reading the displayed response, the user feels encouraged and relieved. In addition, by receiving appropriate advice, the user can obtain hints for solving the problem.
[0720] Specific examples
[0721] 1. When the user enters their concerns
[0722] A user opens the app and types, "My work hasn't been going well lately. My boss keeps getting angry at me." When the user presses the send button, this data is sent by the device to the server.
[0723] 2. When the server processes the input
[0724] The server passes the received data to an AI model, which analyzes the input data and generates a response that is sensitive to the user's feelings.
[0725] 3. If the device displays a response
[0726] The device receives the response sent back from the server and displays it on the user's screen. The response, "That's tough, but your efforts will surely be rewarded. Believe in yourself and do your best," is displayed, giving the user a sense of encouragement.
[0727] effect
[0728] According to the present invention, users can easily input their worries and complaints and instantly receive appropriate comfort and advice. This reduces the user's mental burden and helps restore self-confidence. Furthermore, even if a user is unable to resolve serious worries on their own, the system can provide appropriate support, which can help prevent suicide.
[0729] As described above, the present invention provides a system that can reduce the user's worries and stress and provide psychological support quickly and effectively.
[0730] The processing flow will be explained below.
[0731] Understood, below we will explain the specific processing steps of the program based on the claims.
[0732] Step 1:
[0733] The user enters their worries or complaints into the text box on the device and presses the send button, which confirms the entered text data on the device.
[0734] Step 2:
[0735] The device converts the user's input data into JSON format and sends it to the server as an HTTP POST request, which includes the user ID and the input text.
[0736] Step 3:
[0737] The server analyzes the request received from the terminal and extracts the input data (user ID and text) sent.
[0738] Step 4:
[0739] The server converts the extracted input data into an appropriate format for passing to the AI model, and sends an HTTP POST request to the AI model's API.
[0740] Step 5:
[0741] An artificial intelligence model analyzes the received data and generates an appropriate comforting or advisory response to the input text.
[0742] Step 6:
[0743] The server converts the response received from the artificial intelligence model back into JSON format and sends it to the terminal as an HTTP response.
[0744] Step 7:
[0745] The terminal receives the response from the server, parses the response text, and displays it to the user.
[0746] Step 8:
[0747] The user checks the displayed response and receives comfort and advice to ease the burden on his / her mind.
[0748] Example 1
[0749] 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."
[0750] In modern society, there is a demand for methods to provide appropriate psychological support to quickly resolve users' worries and complaints. In particular, users suffering from stress and mental stress are looking for easy ways to relieve their stress, but conventional systems have difficulty responding to such requests quickly and effectively. Even systems that use artificial intelligence have limitations in the accuracy of natural language processing and the appropriateness of responses. This creates the problem that the problems and worries faced by users are not adequately resolved, and the mental stress is not alleviated.
[0751] 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.
[0752] In this invention, the server includes means for receiving text data from a user, means for transmitting the text data to a computer, means for the computer to pass the text data to an artificial intelligence model and generate a response using natural language processing technology, means for the computer to return the generated response to a data terminal, and means for displaying the received response on a user interface. This allows users to easily input their worries and complaints and receive appropriate and prompt comfort and advice, thereby reducing their mental burden.
[0753] A "user" is someone who uses a terminal to input worries and complaints and receives responses from the system.
[0754] "Text data" is text data containing worries and complaints entered by the user.
[0755] A "terminal" is a device used by a user, such as a smartphone or computer.
[0756] A "computer" is a server or other computing device that receives and processes user input data.
[0757] An "artificial intelligence model" is an algorithm or program that uses natural language processing technology to analyze user input data and generate appropriate responses.
[0758] "Natural language processing technology" is a technology that allows computers to understand, interpret, and generate human language.
[0759] A "prompt sentence" is a command sentence used as input to an artificial intelligence model and is used to generate a specific response.
[0760] A "response" is a message of comfort or advice that the artificial intelligence model generates based on the user's input data.
[0761] A "user interface" is a screen or interface on a terminal that displays information and responses to a user.
[0762] MODE FOR CARRYING OUT THE INVENTION
[0763] The present invention is a system for inputting a user's worries and complaints and generating and displaying an appropriate response based on the input. This system is configured as follows and is implemented through specific processing steps.
[0764] Hardware and software used
[0765] 1. Terminal
[0766] Electronic devices such as smartphones and computers are used, and users input their worries and complaints through these devices.
[0767] A user interface is built into the terminal, and the user inputs data using a text box.
[0768] 2. Server
[0769] The server receives requests and processes them appropriately. Server software such as Apache HTTP Server or Nginx is used.
[0770] Node.js and Python's Flask are used for backend processing.
[0771] 3. Artificial Intelligence Model
[0772] It uses artificial intelligence models to analyze the input text data and generate responses, specifically generative AI models such as OpenAI's GPT-3 and Google's BERT.
[0773] It includes an algorithm that uses natural language processing technology to understand the user's worries and complaints and provide appropriate comfort and advice.
[0774] Program processing
[0775] 1. Input of user concerns and complaints
[0776] The user inputs their worries and complaints into an application installed on the terminal. For example, they might type, "My work hasn't been going well lately. My boss keeps getting angry at me." into the text box and press the send button. This sends the input data to the server.
[0777] 2. Sending and Receiving Data
[0778] The terminal sends the text data entered by the user to the server as an HTTP POST request. The data is sent in JSON format, and the server receives it.
[0779] 3. Data Analysis and Response Generation
[0780] The server passes the received data to the AI model. The AI model uses the prompt to analyze the input data and generate a response. For example, the prompt could be "If the user says, 'My work hasn't been going well lately. My boss keeps getting mad at me,' please generate a way to comfort him."
[0781] 4. Returning and Displaying Responses
[0782] The response generated by the AI model is returned to the server, which then sends it in JSON format to the device, which then parses the response and displays it in the user interface.
[0783] Specific examples
[0784] For example, a user can input a problem and the AI model will generate a response using the following prompt:
[0785] "If a user types, 'My work hasn't been going well lately. My boss keeps getting mad at me,' generate a way to comfort them."
[0786] This causes the artificial intelligence model to generate a response that says, "That's tough, but your efforts will surely be rewarded. Believe in yourself and do your best," and displays it on the device.
[0787] As described above, the present invention is a system that can quickly and effectively alleviate the user's worries and stress and provide appropriate psychological support.
[0788] The flow of the identification process in the first embodiment will be described with reference to FIG.
[0789] Step 1:
[0790] Users input their worries and complaints
[0791] A user starts an application on a smartphone or computer and enters their worries or complaints into a text box. For example, they might enter, "My work hasn't been going well lately. My boss keeps getting mad at me," and then press the send button. At this point, the text data entered by the user is generated.
[0792] Input: Text data entered by the user
[0793] Output: Generated text data
[0794] Step 2:
[0795] The device sends text data to the server
[0796] After the user presses the send button, the terminal sends the text data to the server as an HTTP POST request, which includes the text data entered by the user in JSON format.
[0797] Input: Generated text data
[0798] Output: HTTP POST request containing JSON-formatted text data
[0799] Step 3:
[0800] The server receives the text data.
[0801] The server receives the HTTP POST request sent from the terminal. The server runs Apache HTTP Server or Nginx, and receives the request through this. The received data is passed to the server-side application (for example, Node.js or Python Flask).
[0802] Input: HTTP POST request in JSON format
[0803] Output: Text data passed to the server-side application
[0804] Step 4:
[0805] The server passes the text data to the AI model
[0806] The server-side application converts the received text data into an appropriate format and passes it to the artificial intelligence model. Specifically, it makes a request to OpenAI's GPT-3 API. This request includes a prompt: "If a user types, 'My work hasn't been going well lately. My boss keeps getting mad at me,' please generate a way to comfort them."
[0807] Input: Received text data
[0808] Output: API request with prompt statement
[0809] Step 5:
[0810] An artificial intelligence model generates a response
[0811] OpenAI's GPT-3 model analyzes the input data based on the prompt sentence and generates an appropriate response, such as "That's tough, but your efforts will surely be rewarded. Believe in yourself and keep trying," and returns it to the server.
[0812] Input: API request with prompt statement
[0813] Output: The generated response
[0814] Step 6:
[0815] The server receives the generated response
[0816] The generated response is returned to the server as an API response. The server-side application receives this, converts it into an appropriate data format, and prepares it for transmission to the device. The generated response is again represented in JSON format and sent as an HTTP response.
[0817] Input: The generated response
[0818] Output: HTTP response in JSON format
[0819] Step 7:
[0820] The terminal displays the response
[0821] The device parses the JSON data received from the server and displays it on the user interface. Specifically, the application screen displays a response message saying, "That's tough, but your efforts will surely be rewarded. Believe in yourself and keep trying."
[0822] Input: HTTP response in JSON format
[0823] Output: The response text displayed in the user interface
[0824] The above is the specific processing flow of the program for this system. This allows users to input their worries and complaints and quickly receive appropriate advice and comfort.
[0825] (Application example 1)
[0826] 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."
[0827] Store staff experience a lot of stress and fatigue in their daily work, but without a means to receive immediate mental support, the mental burden remains unrelieved, which in the long term can lead to a decline in work efficiency and even thoughts of quitting.The purpose of this invention is to provide a system that can solve these problems by allowing staff to easily receive encouragement and advice in real time.
[0828] 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.
[0829] In this invention, the server includes a means for receiving input from a user, a means for transmitting the input to the server, a means for the server to pass the input to an artificial intelligence model to generate a response, a means for the server to return the generated response to the terminal, a means for displaying the received response to the user, and a means for using a smart device that supports voice input, which allows staff to easily input their concerns by voice and quickly receive comfort and advice.
[0830] The "means for receiving input from the user" refers to an interface that allows the user to input their worries or complaints by voice or text, such as an input device of a smart device.
[0831] The "means for transmitting the input to the server" is a function for transmitting the received user input data to the server via an internet line, for example, a transmission function using a wireless communication module.
[0832] "Means for the server to pass the input to an artificial intelligence model to generate a response" refers to a process in which the server analyzes the user's input data, passes it to an artificial intelligence model, and generates an appropriate response.
[0833] The "means for returning a response generated by the server to the terminal" is a function for retransmitting a response generated by the server to the user's terminal, for example, a transmission function using network communication.
[0834] The "means for displaying the received response to the user" is a function for displaying the response received by the terminal to the user on a screen, by voice, or the like.
[0835] "Means using a smart device that supports voice input" refers to an interface that allows for easy voice input using a device such as smart glasses.
[0836] This invention is a system that allows staff to easily receive mental support in real time. The system includes a terminal that receives input from users about their worries and complaints, a server that receives the input data and generates appropriate responses, and a smart device that displays the responses to the users.
[0837] System Configuration
[0838] 1. Terminal
[0839] Users, i.e., store staff, use smart devices such as smart glasses to input their worries and complaints by voice. The voice input function makes it easy to input even during busy work hours. This voice data is converted into text internally and sent to the server.
[0840] 2. Server
[0841] The server receives text data sent from the smart device. This data is passed to an artificial intelligence model (e.g., GPT-3) and analyzed using natural language processing techniques. The AI model generates a response that is sensitive to the user's feelings. This response is then sent back to the smart device by the server.
[0842] 3. Artificial Intelligence Models (AI)
[0843] The AI model analyzes the input data received by the server and generates an appropriate response. This response provides encouragement and advice in response to the user's worries or complaints. For example, if a staff member inputs, "I'm tired because I had to deal with a lot of things today," the AI model generates a response like, "You're doing a great job. Take a short break and refresh yourself, then come back with a smile."
[0844] 4. Viewing the Response
[0845] The smart device (e.g., smart glasses) receives the response from the server and displays it to the user. The display method is to overlay text on the user's field of vision, but voice guidance is also possible. This allows the user to receive encouragement and advice at the appropriate time, reducing mental strain.
[0846] Hardware and software used
[0847] Hardware: Smart glasses (e.g., Google Glass)
[0848] Software: Natural language processing library (e.g., Google Cloud Natural Language), server (e.g., AWS Elastic Beanstalk), smart glasses SDK
[0849] Specific examples
[0850] 1. When the user enters their concerns
[0851] A store staff member speaks into the smart glasses, saying, "I'm tired because I've had a lot of customers today." This voice data is converted into text inside the smart glasses and sent to the server.
[0852] 2. When the server processes the input
[0853] The server receives the text data sent from the smart glasses and passes it to an artificial intelligence model. The model uses natural language processing techniques to analyze this input and generate a response, such as "You're doing well. Take a short break and refresh yourself, then come back with a positive attitude."
[0854] 3. If the device displays a response
[0855] The smart glasses receive the response sent back from the server and display it in the staff's field of vision, which makes them feel a little lighter and more motivated to get to work.
[0856] Prompt Sentence Examples
[0857] "If a staff member says they've had a lot to deal with today and are feeling tired, offer appropriate encouragement and advice."
[0858] This system helps reduce the stress that staff feel on a daily basis and maintain their mental stability.
[0859] The flow of the specific processing in the application example 1 will be described with reference to FIG.
[0860] Step 1:
[0861] The user speaks their worries or complaints into the smart glasses. For example, they can say, "I'm tired because I have a lot of work to do today." This voice data is converted into text data by the voice recognition function in the smart glasses. The input data is formatted as text.
[0862] Step 2:
[0863] The smart glasses then send the converted text data to the server using their network communication function. Specifically, the smart glasses' wireless communication module sends the data to the server via the Internet.
[0864] Step 3:
[0865] The server receives the text data sent from the smart glasses and temporarily stores it. At this stage, the server preprocesses the data as needed to prepare it for analysis.
[0866] Step 4:
[0867] The server passes the received text data to an artificial intelligence model (e.g., GPT-3). The artificial intelligence model uses natural language processing technology to analyze the input text and performs data processing and calculations to generate an appropriate response. For example, in response to the input, "I'm tired from dealing with so many things today," the model generates a response such as, "You're doing great. Take a short break to refresh yourself, and then come back with a smile."
[0868] Step 5:
[0869] The server receives the response generated by the AI model and sends it back to the smart glasses. This transmission also uses network communication. Specifically, a transmission module on the server sends the response data to the smart glasses via the Internet.
[0870] Step 6:
[0871] The smart glasses receive the response data sent from the server. The received response data is displayed to the user. The display method can be AR technology, which displays text overlaid on the user's field of vision, or audio guidance, which allows the user to receive encouragement and advice.
[0872] Through the above processing steps, the system allows users (store staff) to quickly input their worries and complaints and receive comfort and advice in real time.
[0873] 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.
[0874] The present invention combines a system including a terminal for inputting a user's worries and complaints, a server that receives the input data and generates an appropriate response, and a terminal that displays the response to the user with an emotion engine that recognizes the user's emotions. The present invention can be implemented as follows.
[0875] System Configuration
[0876] 1. Terminal
[0877] Users use devices such as smartphones and computers to input their worries and complaints. When users enter their worries or complaints into a text box and press the send button, the input data is confirmed on the device.
[0878] 2. Emotion Engine
[0879] When the device sends input data to the server, the emotion engine analyzes the input data and recognizes the user's emotions. For example, emotions such as "anger," "sadness," and "joy" can be extracted from the input data.
[0880] 3. Server
[0881] The server receives input data from the device along with emotional information recognized by the emotion engine. The server then passes this data to an AI model for analysis and generates appropriate emotional responses, such as comforting or advice. The generated responses are then sent back to the device.
[0882] 4. Artificial Intelligence Models
[0883] The AI model uses natural language processing technology to analyze input data and emotional information and generate an appropriate response. For example, if the emotion engine recognizes the user's anger in response to an input such as, "Work hasn't been going well lately. My boss keeps getting angry with me," the model will generate an appropriate response, such as, "That must be really tough. But your efforts will surely be rewarded one day. Calm down and move on."
[0884] 5. Displaying the response to the user
[0885] The terminal receives the response sent back from the server and displays it to the user. By reading the displayed response, the user can receive comfort and advice that is in line with their feelings.
[0886] Specific examples
[0887] 1. When the user enters their concerns
[0888] A user opens the app and types, "My work hasn't been going well lately. My boss keeps getting angry at me." When the user presses the send button, this data is sent by the device to the emotion engine and then sent to the server.
[0889] 2. When the server processes the input
[0890] The server passes the received data and the emotional information recognized by the emotion engine to the AI model, which then analyzes the input data and emotional information and generates a response that is in tune with the user's feelings.
[0891] 3. If the device displays a response
[0892] The device receives the response sent back from the server and displays it on the user's screen. The user feels reassured by the response, "That's really tough, isn't it? But your efforts will surely be rewarded one day. Stay calm and move on."
[0893] effect
[0894] According to this invention, users can input their worries and complaints, and the system recognizes their emotions and instantly provides appropriate comfort and advice. This reduces the user's mental burden and helps restore self-confidence. Furthermore, even if a user is unable to resolve serious worries on their own, the system can provide emotionally responsive support, which can help prevent suicide.
[0895] As described above, the present invention provides a system that can alleviate users' worries and stress and provide psychological support quickly and effectively. Furthermore, the introduction of an emotion engine makes it possible to provide more appropriate responses according to the user's emotional state.
[0896] The processing flow will be explained below.
[0897] Understood, below we will explain the specific processing steps of the invention combining emotion engines based on the scope of the claims.
[0898] Step 1:
[0899] The user opens the app, enters their worries or complaints in the text box, and presses the send button, which confirms the entered text data on the device.
[0900] Step 2:
[0901] The device acquires the text data entered by the user and sends it to the emotion engine, which analyzes the text data and recognizes the user's emotion contained in the text.
[0902] Step 3:
[0903] The emotion engine generates data containing the recognized emotion information in JSON format and sends it to the server as an HTTP POST request, including the user ID, input text, and the recognized emotion information.
[0904] Step 4:
[0905] The server analyzes the request received from the terminal and extracts the transmitted input data (user ID, text data, and emotion information).
[0906] Step 5:
[0907] The server formats the extracted input data and emotion information into an appropriate format for passing to the AI model, and sends an HTTP POST request to the AI model's API.
[0908] Step 6:
[0909] The AI model analyzes the received data and generates an appropriate comforting or advice response based on the input text and sentiment information. The AI model uses natural language processing techniques to evaluate the text and sentiment.
[0910] Step 7:
[0911] The server converts the response received from the artificial intelligence model back into JSON format and sends it to the terminal as an HTTP response.
[0912] Step 8:
[0913] The terminal receives the response from the server, parses the response text, and displays it to the user.
[0914] Step 9:
[0915] The user can check the displayed response and receive comfort and advice to ease their emotional burden. The displayed response is emotionally sensitive, so it can provide more accurate support for the user's feelings.
[0916] Example 2
[0917] 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."
[0918] Conventional systems have had difficulty providing immediate, appropriate responses that are sensitive to the user's emotions in response to worries or complaints entered by the user. As a result, psychological support is not provided quickly and effectively, and the user's mental burden cannot be alleviated.
[0919] 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.
[0920] In this invention, the server includes a device that receives input from a user, a device that analyzes the input data and extracts emotional information, a device that transmits the input data and emotional information to the server, a device that passes the input data and emotional information to a generative AI model by the server to generate a response, a device that returns the response generated by the server to the terminal, and a device that displays the received response to the user. This makes it possible to quickly generate and provide an appropriate response that includes the user's emotional information.
[0921] "User" refers to someone who uses the system to input their worries and complaints.
[0922] "Input data" refers to text information that a user inputs into a terminal.
[0923] "Emotion information" refers to the user's emotional state extracted by the emotion engine by analyzing input data.
[0924] A "terminal" is a device that a user uses to manipulate input data, and includes a smartphone, a computer, and the like.
[0925] An "emotion engine" refers to a technology or system for analyzing input data and extracting user emotional information.
[0926] "Server" refers to a central processing unit for receiving input data and emotion information, processing it, and generating an appropriate response.
[0927] A "generative AI model" refers to an artificial intelligence model that generates appropriate responses based on input data and emotional information.
[0928] "Prompt sentence" refers to an instruction sentence created to be input into a generative AI model.
[0929] "Response" refers to the message that the generative AI model generates based on the user's input data and emotional information.
[0930] "Natural language processing technology" refers to technology for analyzing, understanding, and generating natural language using computers.
[0931] The present invention relates to a system that generates and displays appropriate responses based on the user's emotions after inputting their worries or complaints. The system includes an emotion engine that recognizes the user's emotions, and a server that generates responses using a generative AI model.
[0932] First, the user uses a device such as a smartphone or computer to input their worries or complaints. Input is done in a text box and confirmed by pressing the send button. This input data is passed to an emotion engine on the device, which analyzes the user's emotional information. For example, emotions such as "anger," "sadness," and "joy" are recognized.
[0933] The device sends the input data and emotional information recognized by the emotion engine to the server. The server then passes this data to a generative AI model, which generates a response based on the user's emotions. The generative AI model uses natural language processing technology to analyze the input data and emotional information and generate an appropriate message.
[0934] For example, if a user inputs, "Work hasn't been going well lately. My boss keeps getting angry at me," and the emotion engine recognizes this as "anger," the generative AI model will generate a response such as, "That must be really tough. But your efforts will surely be rewarded one day. Calm down and move on."
[0935] An example prompt might look like this:
[0936] User input: "I haven't been doing well at work lately. My boss keeps getting mad at me."
[0937] Recognized emotion: "Anger"
[0938] Generate an appropriate response.
[0939] The server sends the generated response back to the device, which then displays the response received from the server on the user's screen. By reading the displayed response, the user can receive comfort and advice that is in line with their feelings.
[0940] The system's unique feature is that the generative AI model uses the emotional information recognized by the emotion engine to quickly generate and provide an appropriate response. This allows users to receive instant emotional support, reducing their mental burden. Furthermore, the system's ability to provide emotionally responsive support for even the most serious of concerns may also help prevent suicide.
[0941] The flow of the identification process in the second embodiment will be described with reference to FIG.
[0942] Step 1:
[0943] User
[0944] The user opens the application on a smartphone or computer, enters their worries or complaints into the text box, and presses the send button. This action confirms the input data on the device.
[0945] Input: User-supplied text (e.g., "I'm not doing well at work these days. My boss keeps getting mad at me.")
[0946] Output: Confirmed input data
[0947] Step 2:
[0948] Terminal
[0949] The device passes the confirmed input data to the emotion engine for analysis. The emotion engine uses natural language processing technology to extract the user's emotions from the input data. These emotions are classified into categories such as "anger," "sadness," and "joy."
[0950] Input: Confirmed input data
[0951] Output: Emotion information (e.g., "anger")
[0952] Step 3:
[0953] Terminal
[0954] The device sends the input data and emotion information together as a data packet to the server. Specifically, text data with emotion information attached is sent.
[0955] Input: Confirmed input data, emotional information
[0956] Output: Data packet to send to the server (e.g., { "userInput": "My work hasn't been going well lately. My boss keeps getting mad at me.", "emotion": "Anger"})
[0957] Step 4:
[0958] server
[0959] The server receives data packets sent from the device, extracts input data and emotional information, and creates prompts based on this data to be passed to the generative AI model.
[0960] Input: Data packet sent to the server (e.g., { "userInput": "My work hasn't been going well lately. My boss keeps getting mad at me.", "emotion": "Anger"})
[0961] Output: Prompt sentence to be passed to the generative AI model (e.g., "User input: 'My work hasn't been going well lately. My boss keeps getting mad at me.' Recognized emotion: 'Anger' Please generate an appropriate response.")
[0962] Step 5:
[0963] Generative AI Models
[0964] The generative AI model analyzes the prompt text passed from the server and generates an appropriate response based on the user's input data and emotional information.
[0965] Input: Prompt sentence (e.g., "User input: 'I haven't been doing well at work lately. My boss keeps getting mad at me.' Recognized emotion: 'Anger'. Please generate an appropriate response.")
[0966] Output: Response message (e.g., "That's really hard, but your efforts will surely be rewarded one day. Keep calm and move on.")
[0967] Step 6:
[0968] server
[0969] The server assembles the responses received from the generative AI model into data packets and sends them to the device.
[0970] Input: Response message (e.g., "That's really tough, but your efforts will be rewarded one day. Keep calm and move on.")
[0971] Output: Data packet to send to the device (e.g., { "response": "That's really hard work. But your efforts will be rewarded. Keep calm and move on."})
[0972] Step 7:
[0973] Terminal
[0974] The terminal analyzes the data packet received from the server and displays a response message on the user's screen.
[0975] Input: Data packet from the server (e.g., { "response": "That's really tough. But your efforts will surely be rewarded one day. Keep calm and move on."})
[0976] Output: A response message that appears on the user's screen (e.g., "That's really tough, but your efforts will be rewarded one day. Keep calm and move on.")
[0977] In this way, the system can provide a prompt and appropriate response to the worries and complaints entered by the user.
[0978] (Application example 2)
[0979] 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."
[0980] In modern society, the number of people suffering from stress and worries is increasing, and there is a serious lack of means to receive emotionally responsive comfort and advice in real time, especially when visiting physical stores. Furthermore, since conventional systems have difficulty analyzing users' emotional information and providing appropriate responses, there is a need for a system that can reduce users' mental burden and provide psychological support quickly and effectively.
[0981] The identification process by the identification 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 recognizing a user's emotion and generating a response based on the emotion, means for inputting and responding using a smart device in a physical store, means for receiving input from the user, means for sending the input to the server, means for passing the input to an artificial intelligence model to generate a response, means for returning the generated response to the terminal, and means for displaying the received response to the user. This enables users to receive real-time psychological support that is sensitive to their emotions in a physical store.
[0982] A "user" is someone who uses the system to input their worries and complaints and receive appropriate responses.
[0983] The "means for receiving input" is hardware or software that has the function of receiving text data from a user.
[0984] A "server" is a computing system that receives input data sent by a user, processes it, and generates an appropriate response.
[0985] An "artificial intelligence model" is a software algorithm that uses natural language processing techniques to analyze user input data and generate emotion-based responses.
[0986] The "means for recognizing emotions" is software or hardware that has the function of analyzing the user's input data and extracting emotions such as "anger," "sadness," and "joy."
[0987] "Means for using smart devices in a physical store" refers to a system that allows users to input and respond using devices such as smartphones, smart glasses, or head-mounted displays installed in a physical store.
[0988] The "means for generating a response" is software or hardware on the server that has the function of generating an appropriate response message based on the user's input and emotional information.
[0989] A "means for sending a response back to the terminal" is a system or method for sending a server-generated response message to the user's device.
[0990] The "means for displaying the received response to the user" refers to software or hardware that has the function of displaying the response message sent from the server on the screen or display of the terminal.
[0991] "Natural language processing technology" is a technology for analyzing, understanding, and generating human language, and is an important method that forms part of artificial intelligence models.
[0992] This invention provides a system that allows users to easily input their worries and complaints in a brick-and-mortar store and receive appropriate comfort and advice in real time according to their feelings. This system is configured as follows.
[0993] First, the user uses a smart device (smartphone, smart glasses, head-mounted display, etc.) installed in the physical store to input their worries and complaints. The user types into the device's text box and presses the send button, which confirms the input data on the terminal.
[0994] The device then sends the input data to the server, where it is analyzed by an emotion recognition engine to extract the user's emotions, such as anger, sadness, or joy.
[0995] When the server receives the input data and emotional information, it passes the data to an artificial intelligence model (for example, an AI model that uses natural language processing technology). The artificial intelligence model generates an appropriate response message based on the input data and emotional information. For example, if the emotion engine recognizes "anger" in response to the input, "Work hasn't been going well lately. My boss keeps getting mad at me," the response message generated would be, "That's really tough. But your efforts will surely be rewarded one day. Calm down and move on."
[0996] The generated response message is sent back from the server to the device. The device receives this response message and displays it on the user's screen. By reading the displayed response, the user can receive comfort and advice that is in line with their feelings.
[0997] As a concrete example, consider a scenario in which smart glasses installed in a counseling zone in a brick-and-mortar store are used. A user puts on the smart glasses and inputs, "Work hasn't been going well lately. My boss keeps getting angry at me." The system recognizes the user's emotion of "anger" and generates a response such as, "That must be really tough. But your efforts will surely be rewarded one day. Calm down and move on.", which is displayed on the smart glasses' display.
[0998] Example prompt sentence:
[0999] User input: "My work hasn't been going well lately. My boss keeps getting mad at me."
[1000] Emotion: "Anger"
[1001] Respond appropriately to the user's input and emotion.
[1002] As described above, this system provides real-time psychological support that is sensitive to the user's emotions within a physical store. The hardware used includes a smart device, a server, and an emotion engine, while the software includes an artificial intelligence model that uses natural language processing technology.
[1003] The flow of the specific processing in the application example 2 will be described with reference to FIG.
[1004] Step 1:
[1005] Users use smart devices installed in physical stores to input their worries and complaints.
[1006] Input: Enter text into the text box on your smart device
[1007] Output: Input data is confirmed on the terminal side
[1008] How it works: The user operates a smart device (smartphone, smart glasses, head-mounted display, etc.), enters their worries or complaints in text format, and presses the send button.
[1009] Step 2:
[1010] The device sends the input data to the server, where the emotion engine analyzes the input data and recognizes the user's emotions.
[1011] Input: Text data entered by the user
[1012] Output: The analyzed emotion information and input data are sent to the server.
[1013] How it works: The emotion engine on the device analyzes text data and extracts emotions such as "anger," "sadness," and "joy." After analysis, the data is sent to the server along with the emotional information.
[1014] Step 3:
[1015] The server receives input data and emotion information, passes this data to an artificial intelligence model for analysis, and generates a response message.
[1016] Input: Emotional information and input data
[1017] Output: The generated response message
[1018] How it works: The server receives input data and emotion information and passes it to the AI model, which uses natural language processing techniques to analyze the data and generate an appropriate response message.
[1019] Step 4:
[1020] The server returns the generated response message to the terminal.
[1021] Input: The generated response message
[1022] Output: Response message sent back to the terminal
[1023] Operation: The server sends the generated response message to the terminal.
[1024] Step 5:
[1025] The terminal displays the received response message to the user.
[1026] Input: The returned response message
[1027] Output: The response message displayed on the user's screen
[1028] How it works: The terminal receives the response message sent back from the server and displays it on the screen of the smart device. The user reads the message and receives comfort or advice that is in line with their feelings.
[1029] 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.
[1030] 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.
[1031] 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.
[1032] [Fourth embodiment]
[1033] FIG. 7 shows an example of the configuration of a data processing system 410 according to the fourth embodiment.
[1034] 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.
[1035] 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).
[1036] 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.
[1037] 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.
[1038] 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).
[1039] 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.
[1040] 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.
[1041] 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.
[1042] 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.
[1043] 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.
[1044] 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.
[1045] 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."
[1046] The present invention is a system including a terminal for inputting a user's worries and complaints, a server that receives the input data and generates an appropriate response, and a terminal that displays the response to the user. The present invention can be implemented as follows.
[1047] System Configuration
[1048] 1. Terminal
[1049] Users use devices such as smartphones and computers to input their worries and complaints. When users enter their worries or complaints in the text box and press the send button, the input data is sent to the server.
[1050] 2. Server
[1051] The server receives input data sent from the device, passes this data to an artificial intelligence model for analysis, and generates appropriate comfort or advice. The generated response is then sent back from the server to the device.
[1052] 3. Artificial Intelligence Model
[1053] The AI model includes an algorithm that uses natural language processing technology to analyze input data and generate an appropriate response. For example, if a user inputs, "My work hasn't been going well lately. My boss keeps getting angry at me," the model analyzes it and generates a response such as, "That's tough. But your efforts will surely be rewarded. Believe in yourself and keep working hard."
[1054] 4. Displaying a response to the user
[1055] The terminal receives the response sent back from the server and displays it to the user. By reading the displayed response, the user feels encouraged and relieved. In addition, by receiving appropriate advice, the user can obtain hints for solving the problem.
[1056] Specific examples
[1057] 1. When the user enters their concerns
[1058] A user opens the app and types, "My work hasn't been going well lately. My boss keeps getting angry at me." When the user presses the send button, this data is sent by the device to the server.
[1059] 2. When the server processes the input
[1060] The server passes the received data to an AI model, which analyzes the input data and generates a response that is sensitive to the user's feelings.
[1061] 3. If the device displays a response
[1062] The device receives the response sent back from the server and displays it on the user's screen. The response, "That's tough, but your efforts will surely be rewarded. Believe in yourself and do your best," is displayed, giving the user a sense of encouragement.
[1063] effect
[1064] According to the present invention, users can easily input their worries and complaints and instantly receive appropriate comfort and advice. This reduces the user's mental burden and helps restore self-confidence. Furthermore, even if a user is unable to resolve serious worries on their own, the system can provide appropriate support, which can help prevent suicide.
[1065] As described above, the present invention provides a system that can reduce the user's worries and stress and provide psychological support quickly and effectively.
[1066] The processing flow will be explained below.
[1067] Understood, below we will explain the specific processing steps of the program based on the claims.
[1068] Step 1:
[1069] The user enters their worries or complaints into the text box on the device and presses the send button, which confirms the entered text data on the device.
[1070] Step 2:
[1071] The device converts the user's input data into JSON format and sends it to the server as an HTTP POST request, which includes the user ID and the input text.
[1072] Step 3:
[1073] The server analyzes the request received from the terminal and extracts the input data (user ID and text) sent.
[1074] Step 4:
[1075] The server converts the extracted input data into an appropriate format for passing to the AI model, and sends an HTTP POST request to the AI model's API.
[1076] Step 5:
[1077] An artificial intelligence model analyzes the received data and generates an appropriate comforting or advisory response to the input text.
[1078] Step 6:
[1079] The server converts the response received from the artificial intelligence model back into JSON format and sends it to the terminal as an HTTP response.
[1080] Step 7:
[1081] The terminal receives the response from the server, parses the response text, and displays it to the user.
[1082] Step 8:
[1083] The user checks the displayed response and receives comfort and advice to ease the burden on his / her mind.
[1084] Example 1
[1085] 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."
[1086] In modern society, there is a demand for methods to provide appropriate psychological support to quickly resolve users' worries and complaints. In particular, users suffering from stress and mental stress are looking for easy ways to relieve their stress, but conventional systems have difficulty responding to such requests quickly and effectively. Even systems that use artificial intelligence have limitations in the accuracy of natural language processing and the appropriateness of responses. This creates the problem that the problems and worries faced by users are not adequately resolved, and the mental stress is not alleviated.
[1087] 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.
[1088] In this invention, the server includes means for receiving text data from a user, means for transmitting the text data to a computer, means for the computer to pass the text data to an artificial intelligence model and generate a response using natural language processing technology, means for the computer to return the generated response to a data terminal, and means for displaying the received response on a user interface. This allows users to easily input their worries and complaints and receive appropriate and prompt comfort and advice, thereby reducing their mental burden.
[1089] A "user" is someone who uses a terminal to input worries and complaints and receives responses from the system.
[1090] "Text data" is text data containing worries and complaints entered by the user.
[1091] A "terminal" is a device used by a user, such as a smartphone or computer.
[1092] A "computer" is a server or other computing device that receives and processes user input data.
[1093] An "artificial intelligence model" is an algorithm or program that uses natural language processing technology to analyze user input data and generate appropriate responses.
[1094] "Natural language processing technology" is a technology that allows computers to understand, interpret, and generate human language.
[1095] A "prompt sentence" is a command sentence used as input to an artificial intelligence model and is used to generate a specific response.
[1096] A "response" is a message of comfort or advice that the artificial intelligence model generates based on the user's input data.
[1097] A "user interface" is a screen or interface on a terminal that displays information and responses to a user.
[1098] MODE FOR CARRYING OUT THE INVENTION
[1099] The present invention is a system for inputting a user's worries and complaints and generating and displaying an appropriate response based on the input. This system is configured as follows and is implemented through specific processing steps.
[1100] Hardware and software used
[1101] 1. Terminal
[1102] Electronic devices such as smartphones and computers are used, and users input their worries and complaints through these devices.
[1103] A user interface is built into the terminal, and the user inputs data using a text box.
[1104] 2. Server
[1105] The server receives requests and processes them appropriately. Server software such as Apache HTTP Server or Nginx is used.
[1106] Node.js and Python's Flask are used for backend processing.
[1107] 3. Artificial Intelligence Model
[1108] It uses artificial intelligence models to analyze the input text data and generate responses, specifically generative AI models such as OpenAI's GPT-3 and Google's BERT.
[1109] It includes an algorithm that uses natural language processing technology to understand the user's worries and complaints and provide appropriate comfort and advice.
[1110] Program processing
[1111] 1. Input of user concerns and complaints
[1112] The user inputs their worries and complaints into an application installed on the terminal. For example, they might type, "My work hasn't been going well lately. My boss keeps getting angry at me." into the text box and press the send button. This sends the input data to the server.
[1113] 2. Sending and Receiving Data
[1114] The terminal sends the text data entered by the user to the server as an HTTP POST request. The data is sent in JSON format, and the server receives it.
[1115] 3. Data Analysis and Response Generation
[1116] The server passes the received data to the AI model. The AI model uses the prompt to analyze the input data and generate a response. For example, the prompt could be "If the user says, 'My work hasn't been going well lately. My boss keeps getting mad at me,' please generate a way to comfort him."
[1117] 4. Returning and Displaying Responses
[1118] The response generated by the AI model is returned to the server, which then sends it in JSON format to the device, which then parses the response and displays it in the user interface.
[1119] Specific examples
[1120] For example, a user can input a problem and the AI model will generate a response using the following prompt:
[1121] "If a user types, 'My work hasn't been going well lately. My boss keeps getting mad at me,' generate a way to comfort them."
[1122] This causes the artificial intelligence model to generate a response that says, "That's tough, but your efforts will surely be rewarded. Believe in yourself and do your best," and displays it on the device.
[1123] As described above, the present invention is a system that can quickly and effectively alleviate the user's worries and stress and provide appropriate psychological support.
[1124] The flow of the identification process in the first embodiment will be described with reference to FIG.
[1125] Step 1:
[1126] Users input their worries and complaints
[1127] A user starts an application on a smartphone or computer and enters their worries or complaints into a text box. For example, they might enter, "My work hasn't been going well lately. My boss keeps getting mad at me," and then press the send button. At this point, the text data entered by the user is generated.
[1128] Input: Text data entered by the user
[1129] Output: Generated text data
[1130] Step 2:
[1131] The device sends text data to the server
[1132] After the user presses the send button, the terminal sends the text data to the server as an HTTP POST request, which includes the text data entered by the user in JSON format.
[1133] Input: Generated text data
[1134] Output: HTTP POST request containing JSON-formatted text data
[1135] Step 3:
[1136] The server receives the text data.
[1137] The server receives the HTTP POST request sent from the terminal. The server runs Apache HTTP Server or Nginx, and receives the request through this. The received data is passed to the server-side application (for example, Node.js or Python Flask).
[1138] Input: HTTP POST request in JSON format
[1139] Output: Text data passed to the server-side application
[1140] Step 4:
[1141] The server passes the text data to the AI model
[1142] The server-side application converts the received text data into an appropriate format and passes it to the artificial intelligence model. Specifically, it makes a request to OpenAI's GPT-3 API. This request includes a prompt: "If a user types, 'My work hasn't been going well lately. My boss keeps getting mad at me,' please generate a way to comfort them."
[1143] Input: Received text data
[1144] Output: API request with prompt statement
[1145] Step 5:
[1146] An artificial intelligence model generates a response
[1147] OpenAI's GPT-3 model analyzes the input data based on the prompt sentence and generates an appropriate response, such as "That's tough, but your efforts will surely be rewarded. Believe in yourself and keep trying," and returns it to the server.
[1148] Input: API request with prompt statement
[1149] Output: The generated response
[1150] Step 6:
[1151] The server receives the generated response
[1152] The generated response is returned to the server as an API response. The server-side application receives this, converts it into an appropriate data format, and prepares it for transmission to the device. The generated response is again represented in JSON format and sent as an HTTP response.
[1153] Input: The generated response
[1154] Output: HTTP response in JSON format
[1155] Step 7:
[1156] The terminal displays the response
[1157] The device parses the JSON data received from the server and displays it on the user interface. Specifically, the application screen displays a response message saying, "That's tough, but your efforts will surely be rewarded. Believe in yourself and keep trying."
[1158] Input: HTTP response in JSON format
[1159] Output: The response text displayed in the user interface
[1160] The above is the specific processing flow of the program for this system. This allows users to input their worries and complaints and quickly receive appropriate advice and comfort.
[1161] (Application example 1)
[1162] 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."
[1163] Store staff experience a lot of stress and fatigue in their daily work, but without a means to receive immediate mental support, the mental burden remains unrelieved, which in the long term can lead to a decline in work efficiency and even thoughts of quitting.The purpose of this invention is to provide a system that can solve these problems by allowing staff to easily receive encouragement and advice in real time.
[1164] 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.
[1165] In this invention, the server includes a means for receiving input from a user, a means for transmitting the input to the server, a means for the server to pass the input to an artificial intelligence model to generate a response, a means for the server to return the generated response to the terminal, a means for displaying the received response to the user, and a means for using a smart device that supports voice input, which allows staff to easily input their concerns by voice and quickly receive comfort and advice.
[1166] The "means for receiving input from the user" refers to an interface that allows the user to input their worries or complaints by voice or text, such as an input device of a smart device.
[1167] The "means for transmitting the input to the server" is a function for transmitting the received user input data to the server via an internet line, for example, a transmission function using a wireless communication module.
[1168] "Means for the server to pass the input to an artificial intelligence model to generate a response" refers to a process in which the server analyzes the user's input data, passes it to an artificial intelligence model, and generates an appropriate response.
[1169] The "means for returning a response generated by the server to the terminal" is a function for retransmitting a response generated by the server to the user's terminal, for example, a transmission function using network communication.
[1170] The "means for displaying the received response to the user" is a function for displaying the response received by the terminal to the user on a screen, by voice, or the like.
[1171] "Means using a smart device that supports voice input" refers to an interface that allows for easy voice input using a device such as smart glasses.
[1172] This invention is a system that allows staff to easily receive mental support in real time. The system includes a terminal that receives input from users about their worries and complaints, a server that receives the input data and generates appropriate responses, and a smart device that displays the responses to the users.
[1173] System Configuration
[1174] 1. Terminal
[1175] Users, i.e., store staff, use smart devices such as smart glasses to input their worries and complaints by voice. The voice input function makes it easy to input even during busy work hours. This voice data is converted into text internally and sent to the server.
[1176] 2. Server
[1177] The server receives text data sent from the smart device. This data is passed to an artificial intelligence model (e.g., GPT-3) and analyzed using natural language processing techniques. The AI model generates a response that is sensitive to the user's feelings. This response is then sent back to the smart device by the server.
[1178] 3. Artificial Intelligence Models (AI)
[1179] The AI model analyzes the input data received by the server and generates an appropriate response. This response provides encouragement and advice in response to the user's worries or complaints. For example, if a staff member inputs, "I'm tired because I had to deal with a lot of things today," the AI model generates a response like, "You're doing a great job. Take a short break and refresh yourself, then come back with a smile."
[1180] 4. Viewing the Response
[1181] The smart device (e.g., smart glasses) receives the response from the server and displays it to the user. The display method is to overlay text on the user's field of vision, but voice guidance is also possible. This allows the user to receive encouragement and advice at the appropriate time, reducing mental strain.
[1182] Hardware and software used
[1183] Hardware: Smart glasses (e.g., Google Glass)
[1184] Software: Natural language processing library (e.g., Google Cloud Natural Language), server (e.g., AWS Elastic Beanstalk), smart glasses SDK
[1185] Specific examples
[1186] 1. When the user enters their concerns
[1187] A store staff member speaks into the smart glasses, saying, "I'm tired because I've had a lot of customers today." This voice data is converted into text inside the smart glasses and sent to the server.
[1188] 2. When the server processes the input
[1189] The server receives the text data sent from the smart glasses and passes it to an artificial intelligence model. The model uses natural language processing techniques to analyze this input and generate a response, such as "You're doing well. Take a short break and refresh yourself, then come back with a positive attitude."
[1190] 3. If the device displays a response
[1191] The smart glasses receive the response sent back from the server and display it in the staff's field of vision, which makes them feel a little lighter and more motivated to get to work.
[1192] Prompt Sentence Examples
[1193] "If a staff member says they've had a lot to deal with today and are feeling tired, offer appropriate encouragement and advice."
[1194] This system helps reduce the stress that staff feel on a daily basis and maintain their mental stability.
[1195] The flow of the specific processing in the application example 1 will be described with reference to FIG.
[1196] Step 1:
[1197] The user speaks their worries or complaints into the smart glasses. For example, they can say, "I'm tired because I have a lot of work to do today." This voice data is converted into text data by the voice recognition function in the smart glasses. The input data is formatted as text.
[1198] Step 2:
[1199] The smart glasses then send the converted text data to the server using their network communication function. Specifically, the smart glasses' wireless communication module sends the data to the server via the Internet.
[1200] Step 3:
[1201] The server receives the text data sent from the smart glasses and temporarily stores it. At this stage, the server preprocesses the data as needed to prepare it for analysis.
[1202] Step 4:
[1203] The server passes the received text data to an artificial intelligence model (e.g., GPT-3). The artificial intelligence model uses natural language processing technology to analyze the input text and performs data processing and calculations to generate an appropriate response. For example, in response to the input, "I'm tired from dealing with so many things today," the model generates a response such as, "You're doing great. Take a short break to refresh yourself, and then come back with a smile."
[1204] Step 5:
[1205] The server receives the response generated by the AI model and sends it back to the smart glasses. This transmission also uses network communication. Specifically, a transmission module on the server sends the response data to the smart glasses via the Internet.
[1206] Step 6:
[1207] The smart glasses receive the response data sent from the server. The received response data is displayed to the user. The display method can be AR technology, which displays text overlaid on the user's field of vision, or audio guidance, which allows the user to receive encouragement and advice.
[1208] Through the above processing steps, the system allows users (store staff) to quickly input their worries and complaints and receive comfort and advice in real time.
[1209] 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.
[1210] The present invention combines a system including a terminal for inputting a user's worries and complaints, a server that receives the input data and generates an appropriate response, and a terminal that displays the response to the user with an emotion engine that recognizes the user's emotions. The present invention can be implemented as follows.
[1211] System Configuration
[1212] 1. Terminal
[1213] Users use devices such as smartphones and computers to input their worries and complaints. When users enter their worries or complaints into a text box and press the send button, the input data is confirmed on the device.
[1214] 2. Emotion Engine
[1215] When the device sends input data to the server, the emotion engine analyzes the input data and recognizes the user's emotions. For example, emotions such as "anger," "sadness," and "joy" can be extracted from the input data.
[1216] 3. Server
[1217] The server receives input data from the device along with emotional information recognized by the emotion engine. The server then passes this data to an AI model for analysis and generates appropriate emotional responses, such as comforting or advice. The generated responses are then sent back to the device.
[1218] 4. Artificial Intelligence Models
[1219] The AI model uses natural language processing technology to analyze input data and emotional information and generate an appropriate response. For example, if the emotion engine recognizes the user's anger in response to an input such as, "Work hasn't been going well lately. My boss keeps getting angry with me," the model will generate an appropriate response, such as, "That must be really tough. But your efforts will surely be rewarded one day. Calm down and move on."
[1220] 5. Displaying the response to the user
[1221] The terminal receives the response sent back from the server and displays it to the user. By reading the displayed response, the user can receive comfort and advice that is in line with their feelings.
[1222] Specific examples
[1223] 1. When the user enters their concerns
[1224] A user opens the app and types, "My work hasn't been going well lately. My boss keeps getting angry at me." When the user presses the send button, this data is sent by the device to the emotion engine and then sent to the server.
[1225] 2. When the server processes the input
[1226] The server passes the received data and the emotional information recognized by the emotion engine to the AI model, which then analyzes the input data and emotional information and generates a response that is in tune with the user's feelings.
[1227] 3. If the device displays a response
[1228] The device receives the response sent back from the server and displays it on the user's screen. The user feels reassured by the response, "That's really tough, isn't it? But your efforts will surely be rewarded one day. Stay calm and move on."
[1229] effect
[1230] According to this invention, users can input their worries and complaints, and the system recognizes their emotions and instantly provides appropriate comfort and advice. This reduces the user's mental burden and helps restore self-confidence. Furthermore, even if a user is unable to resolve serious worries on their own, the system can provide emotionally responsive support, which can help prevent suicide.
[1231] As described above, the present invention provides a system that can alleviate users' worries and stress and provide psychological support quickly and effectively. Furthermore, the introduction of an emotion engine makes it possible to provide more appropriate responses according to the user's emotional state.
[1232] The processing flow will be explained below.
[1233] Understood, below we will explain the specific processing steps of the invention combining emotion engines based on the scope of the claims.
[1234] Step 1:
[1235] The user opens the app, enters their worries or complaints in the text box, and presses the send button, which confirms the entered text data on the device.
[1236] Step 2:
[1237] The device acquires the text data entered by the user and sends it to the emotion engine, which analyzes the text data and recognizes the user's emotion contained in the text.
[1238] Step 3:
[1239] The emotion engine generates data containing the recognized emotion information in JSON format and sends it to the server as an HTTP POST request, including the user ID, input text, and the recognized emotion information.
[1240] Step 4:
[1241] The server analyzes the request received from the terminal and extracts the transmitted input data (user ID, text data, and emotion information).
[1242] Step 5:
[1243] The server formats the extracted input data and emotion information into an appropriate format for passing to the AI model, and sends an HTTP POST request to the AI model's API.
[1244] Step 6:
[1245] The AI model analyzes the received data and generates an appropriate comforting or advice response based on the input text and sentiment information. The AI model uses natural language processing techniques to evaluate the text and sentiment.
[1246] Step 7:
[1247] The server converts the response received from the artificial intelligence model back into JSON format and sends it to the terminal as an HTTP response.
[1248] Step 8:
[1249] The terminal receives the response from the server, parses the response text, and displays it to the user.
[1250] Step 9:
[1251] The user can check the displayed response and receive comfort and advice to ease their emotional burden. The displayed response is emotionally sensitive, so it can provide more accurate support for the user's feelings.
[1252] Example 2
[1253] 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."
[1254] Conventional systems have had difficulty providing immediate, appropriate responses that are sensitive to the user's emotions in response to worries or complaints entered by the user. As a result, psychological support is not provided quickly and effectively, and the user's mental burden cannot be alleviated.
[1255] 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.
[1256] In this invention, the server includes a device that receives input from a user, a device that analyzes the input data and extracts emotional information, a device that transmits the input data and emotional information to the server, a device that passes the input data and emotional information to a generative AI model by the server to generate a response, a device that returns the response generated by the server to the terminal, and a device that displays the received response to the user. This makes it possible to quickly generate and provide an appropriate response that includes the user's emotional information.
[1257] "User" refers to someone who uses the system to input their worries and complaints.
[1258] "Input data" refers to text information that a user inputs into a terminal.
[1259] "Emotion information" refers to the user's emotional state extracted by the emotion engine by analyzing input data.
[1260] A "terminal" is a device that a user uses to manipulate input data, and includes a smartphone, a computer, and the like.
[1261] An "emotion engine" refers to a technology or system for analyzing input data and extracting user emotional information.
[1262] "Server" refers to a central processing unit for receiving input data and emotion information, processing it, and generating an appropriate response.
[1263] A "generative AI model" refers to an artificial intelligence model that generates appropriate responses based on input data and emotional information.
[1264] "Prompt sentence" refers to an instruction sentence created to be input into a generative AI model.
[1265] "Response" refers to the message that the generative AI model generates based on the user's input data and emotional information.
[1266] "Natural language processing technology" refers to technology for analyzing, understanding, and generating natural language using computers.
[1267] The present invention relates to a system that generates and displays appropriate responses based on the user's emotions after inputting their worries or complaints. The system includes an emotion engine that recognizes the user's emotions, and a server that generates responses using a generative AI model.
[1268] First, the user uses a device such as a smartphone or computer to input their worries or complaints. Input is done in a text box and confirmed by pressing the send button. This input data is passed to an emotion engine on the device, which analyzes the user's emotional information. For example, emotions such as "anger," "sadness," and "joy" are recognized.
[1269] The device sends the input data and emotional information recognized by the emotion engine to the server. The server then passes this data to a generative AI model, which generates a response based on the user's emotions. The generative AI model uses natural language processing technology to analyze the input data and emotional information and generate an appropriate message.
[1270] For example, if a user inputs, "Work hasn't been going well lately. My boss keeps getting angry at me," and the emotion engine recognizes this as "anger," the generative AI model will generate a response such as, "That must be really tough. But your efforts will surely be rewarded one day. Calm down and move on."
[1271] An example prompt might look like this:
[1272] User input: "I haven't been doing well at work lately. My boss keeps getting mad at me."
[1273] Recognized emotion: "Anger"
[1274] Generate an appropriate response.
[1275] The server sends the generated response back to the device, which then displays the response received from the server on the user's screen. By reading the displayed response, the user can receive comfort and advice that is in line with their feelings.
[1276] The system's unique feature is that the generative AI model uses the emotional information recognized by the emotion engine to quickly generate and provide an appropriate response. This allows users to receive instant emotional support, reducing their mental burden. Furthermore, the system's ability to provide emotionally responsive support for even the most serious of concerns may also help prevent suicide.
[1277] The flow of the identification process in the second embodiment will be described with reference to FIG.
[1278] Step 1:
[1279] User
[1280] The user opens the application on a smartphone or computer, enters their worries or complaints into the text box, and presses the send button. This action confirms the input data on the device.
[1281] Input: User-supplied text (e.g., "I'm not doing well at work these days. My boss keeps getting mad at me.")
[1282] Output: Confirmed input data
[1283] Step 2:
[1284] Terminal
[1285] The device passes the confirmed input data to the emotion engine for analysis. The emotion engine uses natural language processing technology to extract the user's emotions from the input data. These emotions are classified into categories such as "anger," "sadness," and "joy."
[1286] Input: Confirmed input data
[1287] Output: Emotion information (e.g., "anger")
[1288] Step 3:
[1289] Terminal
[1290] The device sends the input data and emotion information together as a data packet to the server. Specifically, text data with emotion information attached is sent.
[1291] Input: Confirmed input data, emotional information
[1292] Output: Data packet to send to the server (e.g., { "userInput": "My work hasn't been going well lately. My boss keeps getting mad at me.", "emotion": "Anger"})
[1293] Step 4:
[1294] server
[1295] The server receives data packets sent from the device, extracts input data and emotional information, and creates prompts based on this data to be passed to the generative AI model.
[1296] Input: Data packet sent to the server (e.g., { "userInput": "My work hasn't been going well lately. My boss keeps getting mad at me.", "emotion": "Anger"})
[1297] Output: Prompt sentence to be passed to the generative AI model (e.g., "User input: 'My work hasn't been going well lately. My boss keeps getting mad at me.' Recognized emotion: 'Anger' Please generate an appropriate response.")
[1298] Step 5:
[1299] Generative AI Models
[1300] The generative AI model analyzes the prompt text passed from the server and generates an appropriate response based on the user's input data and emotional information.
[1301] Input: Prompt sentence (e.g., "User input: 'I haven't been doing well at work lately. My boss keeps getting mad at me.' Recognized emotion: 'Anger'. Please generate an appropriate response.")
[1302] Output: Response message (e.g., "That's really hard, but your efforts will surely be rewarded one day. Keep calm and move on.")
[1303] Step 6:
[1304] server
[1305] The server assembles the responses received from the generative AI model into data packets and sends them to the device.
[1306] Input: Response message (e.g., "That's really tough, but your efforts will be rewarded one day. Keep calm and move on.")
[1307] Output: Data packet to send to the device (e.g., { "response": "That's really hard work. But your efforts will be rewarded. Keep calm and move on."})
[1308] Step 7:
[1309] Terminal
[1310] The terminal analyzes the data packet received from the server and displays a response message on the user's screen.
[1311] Input: Data packet from the server (e.g., { "response": "That's really tough. But your efforts will surely be rewarded one day. Keep calm and move on."})
[1312] Output: A response message that appears on the user's screen (e.g., "That's really tough, but your efforts will be rewarded one day. Keep calm and move on.")
[1313] In this way, the system can provide a prompt and appropriate response to the worries and complaints entered by the user.
[1314] (Application example 2)
[1315] 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."
[1316] In modern society, the number of people suffering from stress and worries is increasing, and there is a serious lack of means to receive emotionally responsive comfort and advice in real time, especially when visiting physical stores. Furthermore, since conventional systems have difficulty analyzing users' emotional information and providing appropriate responses, there is a need for a system that can reduce users' mental burden and provide psychological support quickly and effectively.
[1317] The identification process by the identification 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 recognizing a user's emotion and generating a response based on the emotion, means for inputting and responding using a smart device in a physical store, means for receiving input from the user, means for sending the input to the server, means for passing the input to an artificial intelligence model to generate a response, means for returning the generated response to the terminal, and means for displaying the received response to the user. This enables users to receive real-time psychological support that is sensitive to their emotions in a physical store.
[1318] A "user" is someone who uses the system to input their worries and complaints and receive appropriate responses.
[1319] The "means for receiving input" is hardware or software that has the function of receiving text data from a user.
[1320] A "server" is a computing system that receives input data sent by a user, processes it, and generates an appropriate response.
[1321] An "artificial intelligence model" is a software algorithm that uses natural language processing techniques to analyze user input data and generate emotion-based responses.
[1322] The "means for recognizing emotions" is software or hardware that has the function of analyzing the user's input data and extracting emotions such as "anger," "sadness," and "joy."
[1323] "Means for using smart devices in a physical store" refers to a system that allows users to input and respond using devices such as smartphones, smart glasses, or head-mounted displays installed in a physical store.
[1324] The "means for generating a response" is software or hardware on the server that has the function of generating an appropriate response message based on the user's input and emotional information.
[1325] A "means for sending a response back to the terminal" is a system or method for sending a server-generated response message to the user's device.
[1326] The "means for displaying the received response to the user" refers to software or hardware that has the function of displaying the response message sent from the server on the screen or display of the terminal.
[1327] "Natural language processing technology" is a technology for analyzing, understanding, and generating human language, and is an important method that forms part of artificial intelligence models.
[1328] This invention provides a system that allows users to easily input their worries and complaints in a brick-and-mortar store and receive appropriate comfort and advice in real time according to their feelings. This system is configured as follows.
[1329] First, the user uses a smart device (smartphone, smart glasses, head-mounted display, etc.) installed in the physical store to input their worries and complaints. The user types into the device's text box and presses the send button, which confirms the input data on the terminal.
[1330] The device then sends the input data to the server, where it is analyzed by an emotion recognition engine to extract the user's emotions, such as anger, sadness, or joy.
[1331] When the server receives the input data and emotional information, it passes the data to an artificial intelligence model (for example, an AI model that uses natural language processing technology). The artificial intelligence model generates an appropriate response message based on the input data and emotional information. For example, if the emotion engine recognizes "anger" in response to the input, "Work hasn't been going well lately. My boss keeps getting mad at me," the response message generated would be, "That's really tough. But your efforts will surely be rewarded one day. Calm down and move on."
[1332] The generated response message is sent back from the server to the device. The device receives this response message and displays it on the user's screen. By reading the displayed response, the user can receive comfort and advice that is in line with their feelings.
[1333] As a concrete example, consider a scenario in which smart glasses installed in a counseling zone in a brick-and-mortar store are used. A user puts on the smart glasses and inputs, "Work hasn't been going well lately. My boss keeps getting angry at me." The system recognizes the user's emotion of "anger" and generates a response such as, "That must be really tough. But your efforts will surely be rewarded one day. Calm down and move on.", which is displayed on the smart glasses' display.
[1334] Example prompt sentence:
[1335] User input: "My work hasn't been going well lately. My boss keeps getting mad at me."
[1336] Emotion: "Anger"
[1337] Respond appropriately to the user's input and emotion.
[1338] As described above, this system provides real-time psychological support that is sensitive to the user's emotions within a physical store. The hardware used includes a smart device, a server, and an emotion engine, while the software includes an artificial intelligence model that uses natural language processing technology.
[1339] The flow of the specific processing in the application example 2 will be described with reference to FIG.
[1340] Step 1:
[1341] Users use smart devices installed in physical stores to input their worries and complaints.
[1342] Input: Enter text into the text box on your smart device
[1343] Output: Input data is confirmed on the terminal side
[1344] How it works: The user operates a smart device (smartphone, smart glasses, head-mounted display, etc.), enters their worries or complaints in text format, and presses the send button.
[1345] Step 2:
[1346] The device sends the input data to the server, where the emotion engine analyzes the input data and recognizes the user's emotions.
[1347] Input: Text data entered by the user
[1348] Output: The analyzed emotion information and input data are sent to the server.
[1349] How it works: The emotion engine on the device analyzes text data and extracts emotions such as "anger," "sadness," and "joy." After analysis, the data is sent to the server along with the emotional information.
[1350] Step 3:
[1351] The server receives input data and emotion information, passes this data to an artificial intelligence model for analysis, and generates a response message.
[1352] Input: Emotional information and input data
[1353] Output: The generated response message
[1354] How it works: The server receives input data and emotion information and passes it to the AI model, which uses natural language processing techniques to analyze the data and generate an appropriate response message.
[1355] Step 4:
[1356] The server returns the generated response message to the terminal.
[1357] Input: The generated response message
[1358] Output: Response message sent back to the terminal
[1359] Operation: The server sends the generated response message to the terminal.
[1360] Step 5:
[1361] The terminal displays the received response message to the user.
[1362] Input: The returned response message
[1363] Output: The response message displayed on the user's screen
[1364] How it works: The terminal receives the response message sent back from the server and displays it on the screen of the smart device. The user reads the message and receives comfort or advice that is in line with their feelings.
[1365] 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.
[1366] 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.
[1367] 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.
[1368] 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.
[1369] 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.
[1370] 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.
[1371] 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).
[1372] 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.
[1373] 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."
[1374] 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.
[1375] 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).
[1376] 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.
[1377] 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.
[1378] 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.
[1379] 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.
[1380] 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.
[1381] 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.
[1382] 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.
[1383] 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.
[1384] 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.
[1385] 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.
[1386] The following is further disclosed regarding the above embodiment.
[1387] Understood, the draft claims are listed below.
[1388] (Claim 1)
[1389] means for receiving input from a user;
[1390] means for transmitting the input to a server;
[1391] means for the server to pass the input to an artificial intelligence model to generate a response;
[1392] means for the server to return the generated response to the terminal;
[1393] means for displaying the received response to the user;
[1394] A system including:
[1395] (Claim 2)
[1396] 10. The system of claim 1, wherein the server comprises means for analyzing the user's input and providing appropriate comfort or advice.
[1397] (Claim 3)
[1398] The system of claim 1 , wherein the artificial intelligence model uses natural language processing techniques.
[1399] "Example 1"
[1400] (Claim 1)
[1401] means for receiving text data from a user;
[1402] means for transmitting the text data to a computer;
[1403] a computer means for passing the text data to an artificial intelligence model to generate a response using natural language processing techniques;
[1404] means for transmitting the computer generated response back to the data terminal;
[1405] means for displaying the received response in a user interface;
[1406] A system including:
[1407] (Claim 2)
[1408] 10. The system of claim 1, further comprising means for the computer to analyze the user's text data and provide appropriate comfort or advice.
[1409] (Claim 3)
[1410] The system of claim 1 , wherein the artificial intelligence model uses prompt sentences.
[1411] "Application Example 1"
[1412] (Claim 1)
[1413] means for receiving input from a user;
[1414] means for transmitting the input to a server;
[1415] means for the server to pass the input to an artificial intelligence model to generate a response;
[1416] means for the server to return the generated response to the terminal;
[1417] means for displaying the received response to the user;
[1418] using a smart device that supports voice input;
[1419] A system including:
[1420] (Claim 2)
[1421] 10. The system of claim 1, wherein the server comprises means for analyzing the user's input and providing appropriate comfort or advice.
[1422] (Claim 3)
[1423] The system of claim 1 , wherein the artificial intelligence model uses natural language processing techniques.
[1424] "Example 2: Combining Emotion Engines"
[1425] (Claim 1)
[1426] a device for receiving input from a user;
[1427] a device for analyzing the input data and extracting emotion information;
[1428] a device for transmitting the input data and emotion information to a server;
[1429] a device in which a server passes the input data and emotion information to a generative AI model to generate a response;
[1430] a device for the server to return the generated response to the terminal;
[1431] a device for displaying the received response to a user;
[1432] A system including:
[1433] (Claim 2)
[1434] The system according to claim 1, wherein the server comprises a device for analyzing the input data and emotional information of the user and providing appropriate comfort or advice.
[1435] (Claim 3)
[1436] 10. The system of claim 1, wherein the generative AI model uses natural language processing techniques.
[1437] "Application example 2 when combining emotion engines"
[1438] (Claim 1)
[1439] means for receiving input from a user;
[1440] means for transmitting the input to a server;
[1441] means for the server to pass the input to an artificial intelligence model to generate a response;
[1442] means for the server to return the generated response to the terminal;
[1443] means for displaying the received response to the user;
[1444] means for recognizing a user's emotion and generating a response based on the emotion;
[1445] A means including inputting and responding using a smart device in a physical store;
[1446] A system including:
[1447] (Claim 2)
[1448] 10. The system of claim 1, wherein the server comprises means for analyzing the user's input and providing appropriate comfort or advice.
[1449] (Claim 3)
[1450] The system of claim 1 , wherein the artificial intelligence model uses natural language processing techniques. [Explanation of symbols]
[1451] 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 from a user; means for transmitting the input to a server; means for the server to pass the input to an artificial intelligence model to generate a response; means for the server to return the generated response to the terminal; means for displaying the received response to the user; A system including:
2. 2. The system of claim 1, wherein the server comprises means for analyzing the user's input and providing appropriate comfort or advice.
3. The system of claim 1 , wherein the artificial intelligence model uses natural language processing techniques.
Citation Information
Patent Citations
Persona chatbot control method and system
JP2022180282A