System
The system provides a user-friendly online platform with a chatbot and professional counselor support, allowing children to discuss their worries securely and receive timely assistance.
Patent Information
- Application Number
- JP2024131475
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2026-02-20
AI Technical Summary
Children often feel reluctant to discuss their worries and stresses related to parents, friends, and school life with adults, leading to potential mental health issues and prolonged problems without appropriate support.
A system that allows users to access an online platform, input consultation content, utilize a chatbot for initial responses, and escalate to professional counselors if necessary, while ensuring secure data transmission and real-time communication.
Enables children to easily seek advice and receive appropriate support at their own pace, addressing mental health concerns through a user-friendly interface and secure data exchange.
Smart Images

Figure 2026028859000001_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] Today's children are burdened with a variety of worries and stresses related to their parents, friends, and school life, but they often feel reluctant to talk to adults about them. As a result, they risk damaging their mental health by keeping their worries to themselves. Furthermore, there are concerns that if they are unable to receive appropriate support, their problems may become prolonged and more serious. Therefore, a system is needed that allows children to easily seek advice and receive advice and support from professional counselors at the appropriate time. [Means for solving the problem]
[0005] The present invention provides a system including a means for a user to access an online platform and input a consultation content, a means for transmitting the input consultation content to a server and storing it in a database, a means for a chatbot to generate a response based on the consultation content and display it to the user, and a means for notifying a professional counselor and escalating the consultation if a serious consultation content is detected. Furthermore, the system includes a means for providing a user interface and displaying a screen on which the user can input and transmit the consultation content, allowing the user to easily start a consultation. Furthermore, the system includes a means for managing sessions in which the counselor can interact with the user in real time and a means for securely transmitting and receiving data, allowing the system to provide appropriate support stably.
[0006] "User" refers to an individual who uses the online platform to input and submit a consultation.
[0007] "Online Platform" refers to a web-based service accessible via the Internet that provides an interface and functionality for users to conduct consultations.
[0008] "Consultation Content" refers to the details of the problem or concern entered by the User on the online platform.
[0009] "Server" refers to the computer system that stores and manages various data of the online platform and mediates the transmission and reception of data between users and professional counselors.
[0010] "Database" refers to a collection of data stored on the server, such as user registration information, consultation history, chatbot response results, and conversation logs with counselors.
[0011] A "chatbot" refers to a part of a system that uses artificial intelligence to automatically generate responses to users' inquiries.
[0012] "Professional counselors" refer to psychological experts who participate in online platforms to provide users with appropriate advice and support for serious consultation issues.
[0013] "Escalation" refers to the process of transferring a consultation to a professional counselor when a consultation that the chatbot cannot handle is detected.
[0014] "User interface" refers to the screens and elements that allow users to operate the online platform and input and submit consultation details.
[0015] A "session" refers to a period or segment of a conversation during which real-time consultation takes place between a user and a professional counselor.
[0016] "Real-time" refers to operations and processing occurring almost immediately, with information entered by the user and responses from the counselor being exchanged instantly.
[0017] "Safe transmission and reception" means that data exchanged between users and counselors is protected using encryption and other technologies to prevent unauthorized access or tampering by third parties. [Brief explanation of the drawings]
[0018] [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
[0019] 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.
[0020] First, the terms used in the following description will be explained.
[0021] 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).
[0022] 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.
[0023] 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.
[0024] 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.
[0025] 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."
[0026] [First embodiment]
[0027] FIG. 1 shows an example of the configuration of a data processing system 10 according to the first embodiment.
[0028] 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.
[0029] 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).
[0030] 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.
[0031] 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.
[0032] 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.
[0033] 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.
[0034] FIG. 2 shows an example of the main functions of the data processing device 12 and the smart device 14.
[0035] 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.
[0036] 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.
[0037] 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.
[0038] 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."
[0039] The online consultation platform of the present invention is a system that allows users to easily confide their concerns as if they were friends and receive appropriate support. This system mainly consists of three components: a server, a terminal, and a user.
[0040] Server Processing
[0041] User Data Management
[0042] When a user registers for the platform, the server receives the user's profile information (such as name, age, email address, and password) and stores it in a database. The server also manages the user's consultation history and past interaction data. This allows the user to receive support tailored to their individual needs when they access the platform again.
[0043] Chatbot operation
[0044] When a user starts a consultation through a device, the server launches an AI-based chatbot to handle the initial consultation. The chatbot generates an appropriate response to the consultation content entered by the user and sends it to the device. The chatbot's response is generated based on the analysis of the user's consultation content and includes empathy and advice.
[0045] Collaboration with counselors
[0046] If a serious consultation that the chatbot cannot handle is input, the server sends a notification to a professional counselor. When the counselor begins to handle the issue, the server manages the communication session between the user and the counselor and securely sends and receives data.
[0047] Terminal handling
[0048] Providing a user interface
[0049] The device provides a user-friendly interface. Screens are displayed for users to register, log in, and enter the details of their consultation. For example, the home screen has a "Consult" button that users can click to start a consultation.
[0050] Relaying data transmission and reception
[0051] The data entered by the user and the content of the consultation are sent from the device to the server. The chatbot's responses and messages from the counselor are also sent from the server to the device and displayed to the user in real time, ensuring a smooth dialogue.
[0052] User Activity
[0053] Starting and proceeding with the consultation
[0054] Users access the online platform through their device, perform initial registration and log in. After that, they click the "Consult" button on the home screen, enter their concerns and the details of their consultation, and send it.
[0055] Talking with a counselor
[0056] If the issue is serious and is escalated to a counselor, the user will have a real-time conversation with the counselor, who will understand the user's specific situation and provide appropriate advice and support.
[0057] Specific examples
[0058] Example 1: Initial consultation
[0059] User: "I've been having trouble with school lately and I don't have anyone to talk to."
[0060] Terminal: Sends a message to the server.
[0061] Server (chatbot): The automated response is, "School life is tough, isn't it? What are you particularly worried about?"
[0062] Example 2: Counseling is needed
[0063] User: "I'm scared to tell my parents how I feel."
[0064] Terminal: Sends a message to the server.
[0065] Server: Determines that the chatbot cannot handle the situation and notifies a counselor.
[0066] Professional Counselor: "I wonder why you're afraid to tell them? It would be helpful if you could tell me more about your situation."
[0067] Terminal: Displays the response from the counselor to the user.
[0068] The online consultation platform of the present invention is a practical system for resolving various mental health issues faced by children, providing an environment in which users can seek advice at their own pace and receive professional support.
[0069] The processing flow will be explained below.
[0070] Step 1:
[0071] A user accesses the online platform and opens the new registration screen. The user enters information such as name, age, email address, and password, and clicks the "Register" button.
[0072] Step 2:
[0073] The terminal transmits the input user information to the server.
[0074] Step 3:
[0075] The server verifies the received user information and stores it in a database. If the storage is successful, the server generates a registration completion message and returns it to the terminal.
[0076] Step 4:
[0077] The terminal displays a registration completion message to the user, and the user clicks the "Login" button.
[0078] Step 5:
[0079] The user enters their email address and password on the login screen and clicks the "Login" button.
[0080] Step 6:
[0081] The terminal transmits the input authentication information to the server.
[0082] Step 7:
[0083] The server verifies the authentication information and, if correct, generates a session token and returns it to the terminal.
[0084] Step 8:
[0085] The device saves the received session token and displays the home screen to the user, who then clicks the "Consult" button on the home screen.
[0086] Step 9:
[0087] The user enters the consultation content and clicks the "Send" button.
[0088] Step 10:
[0089] The terminal transmits the consultation content together with the session token to the server.
[0090] Step 11:
[0091] The server stores the received consultation content in a database and transmits the consultation content to the chatbot.
[0092] Step 12:
[0093] The server (chatbot) analyzes the consultation content and generates an appropriate response.
[0094] Step 13:
[0095] The server generates a response and sends it to the terminal.
[0096] Step 14:
[0097] The terminal displays the chatbot's response to the user.
[0098] Step 15:
[0099] The user checks the chatbot's response and clicks the "Send" button again if they want to enter additional consultation details.
[0100] Step 16:
[0101] If the consultation is serious or if it is determined that it is difficult for the chatbot to handle the issue, the server (chatbot) will send a notification to a professional counselor.
[0102] Step 17:
[0103] Professional counselors will be notified and will prepare a response.
[0104] Step 18:
[0105] The server generates a communication session between the counselor and the user and sends a notification of the start of the session to the terminal.
[0106] Step 19:
[0107] The terminal notifies the user that the counselor has started to respond.
[0108] Step 20:
[0109] The user and a professional counselor begin a real-time dialogue, and the counselor provides appropriate advice and support to address the user's concerns.
[0110] Step 21:
[0111] The server securely sends and receives messages between users and counselors and stores all data in a database.
[0112] The above steps create a system that allows users to seek advice through an online platform and receive support from professional counselors if necessary.
[0113] Example 1
[0114] 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."
[0115] In modern society, many people suffer from mental distress and stress, and an increasing number of people seek appropriate support. However, the process of directly speaking with a professional counselor can be complicated, and initial consultations can be time-consuming. In particular, there is a need for a system that allows users to easily start consultations at their own pace and receive professional support as needed.
[0116] 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.
[0117] In this invention, the server includes means for a user to access the online platform and input the consultation content, means for transmitting the input consultation content to the server and storing it in a database, means for the server to call an AI-based chatbot and generate a response based on the consultation content and display it to the user, means for notifying a professional counselor and escalating the consultation if a serious consultation content is detected, and means for the counselor to start a dialogue with the user after receiving the notification and for the server to manage the communication session and securely send and receive data, thereby enabling the user to easily start consultation at their own pace and receive professional support as needed.
[0118] An "online platform" is a software system that users can access over the Internet and use certain services.
[0119] "Consultation content" is information entered by the user on the platform that describes in detail the problem or concern.
[0120] A "server" is a computer system that manages and processes data on a network.
[0121] A "database" is a structured system for efficiently storing, retrieving, and managing large amounts of data.
[0122] An "AI-based chatbot" is a software program that uses artificial intelligence technology to automatically hold conversations.
[0123] A "response" is a message returned by a chatbot or counselor in response to a user's inquiry.
[0124] A "notification" is a message that informs other systems or people of important information.
[0125] A "counselor" is a qualified professional who provides expert advice and support for the user's consultation.
[0126] A "communication session" is a connection state in which a user and a counselor exchange data in real time.
[0127] A "user interface" is a part that provides a screen and operation method for a user to interact with a system.
[0128] "Escalation" is the process by which a problem or issue goes beyond the initial response and is passed on to a specialist.
[0129] The online consultation platform of the present invention is a system that allows users to easily confide their worries as if they were friends and receive appropriate support. This system mainly consists of three components: a server, a terminal, and a user.
[0130] Server Processing
[0131] Managing user data:
[0132] When a user registers for the platform, the server receives the user's profile information (such as name, age, email address, and password) and stores it in a database. Specifically, the server receives the data using an HTTP POST request and stores it in a relational database such as MySQL. The server also manages the user's consultation history and past interaction data, allowing it to provide support tailored to each individual consultation when the user accesses the platform again.
[0133] Chatbot operations:
[0134] When a user initiates a consultation through their device, the server launches an AI-based chatbot to handle the initial consultation. The chatbot uses a natural language processing model, such as GPT-3, to generate an appropriate response to the consultation content entered by the user. The server then sends this response to the device and displays it to the user.
[0135] Working with a counselor:
[0136] If a serious problem is detected, the server automatically notifies a professional counselor. This notification is done by means of email notification using the SMTP protocol, etc. When the counselor starts to respond, the server manages the communication session between the user and the counselor using a real-time communication protocol (e.g., WebSockets) and securely transmits and receives data using an encryption protocol (e.g., TLS).
[0137] Terminal handling
[0138] Providing a user interface:
[0139] The device provides a user-friendly interface. Screens are displayed for users to register, log in, and enter the details of their consultation. For example, the home screen has a "Consult" button that users can click to start a consultation. The interface is built using HTML5 and CSS, and includes interactive elements using JavaScript.
[0140] Data transmission and reception relay:
[0141] The data entered by the user and the content of the consultation are sent from the device to the server. The chatbot's responses and messages from the counselor are also sent from the server to the device and displayed to the user in real time. Specifically, the device communicates with the server using the HTTP / HTTPS protocol to send and receive data.
[0142] User Activity
[0143] Starting and running a consultation:
[0144] Users access the online platform through their device and perform initial registration and login. After that, they click the "Consult" button on the home screen, enter their concerns or questions, and send them. For example, they can enter a question such as, "I've been worried about school lately, and I can't talk to anyone about it."
[0145] Talk to a counselor:
[0146] If the consultation is serious and is escalated to a counselor, the user will have a real-time conversation with the counselor. The counselor will understand the user's specific situation and provide appropriate advice and support. For example, if a user says, "I'm afraid to tell my parents how I feel," the counselor will respond, "Why are you afraid to tell them? It would be helpful if you could tell me the specific situation."
[0147] Examples of concrete examples and prompts
[0148] Example 1: Initial consultation
[0149] User: "I've been having trouble with school lately and I don't have anyone to talk to."
[0150] Terminal: Sends a message to the server.
[0151] Server (chatbot): The automated response is, "School life is tough, isn't it? What are you particularly worried about?"
[0152] Example 2: Counseling is needed
[0153] User: "I'm scared to tell my parents how I feel."
[0154] Terminal: Sends a message to the server.
[0155] Server: Determines that the chatbot cannot handle the situation and notifies a counselor.
[0156] Professional Counselor: "I wonder why you're afraid to tell them? It would be helpful if you could tell me more about your situation."
[0157] Terminal: Displays the response from the counselor to the user.
[0158] In this way, the online consultation platform of the present invention is a system that allows users to start consultation at their own pace and receive professional support as needed.
[0159] The flow of the identification process in the first embodiment will be described with reference to FIG.
[0160] Step 1:
[0161] A user accesses an online platform through a terminal. On the new registration or login screen displayed on the terminal, the user enters the required information (such as name, age, email address, and password) and clicks the submit button. As input, the user's profile information is entered into a labeled form. The terminal sends this data to the server using an HTTP POST request, and the server receives the data and stores it in a database. The database management system (e.g., MySQL) stores the user information. As output, the server returns a success message to the terminal indicating that the data has been successfully saved, and the terminal displays this message to the user.
[0162] Step 2:
[0163] The user clicks the "Consult" button on the home screen. A text area where the user can enter the consultation content is displayed on the device. The user enters the consultation content and clicks the send button. The consultation content entered by the user is captured on the device as input. The device sends the consultation content to the server using an HTTP POST request, and the server saves the received consultation content in a database. As output, the server returns a response confirming receipt to the device, and the device displays a confirmation message.
[0164] Step 3:
[0165] The server passes the received consultation content to an AI-based chatbot. The server provides the text data of the user's consultation content to the chatbot API as the expected input. The chatbot uses a natural language processing algorithm (e.g., GPT-3) to generate an appropriate response. As output, the chatbot returns the generated response text, and the server retrieves the response.
[0166] Step 4:
[0167] The server sends the response obtained from the chatbot to the terminal. As input, the response text from the chatbot exists on the server. The server sends the response text to the terminal in an HTTP response, and the terminal displays this message to the user. As output, the user sees the chatbot's response on the screen.
[0168] Step 5:
[0169] The server monitors the consultation content and the chatbot's responses. If serious content is detected, the server automatically sends a notification to a professional counselor. As input, serious consultation content is filtered based on AI or a pre-defined keyword list. As output, the server sends a notification to the counselor via email using the SMTP protocol, and the counselor receives it.
[0170] Step 6:
[0171] The counselor accesses the platform through their device and checks the notified consultation content. As input, the counselor logs in and connects to the server. The server starts a real-time communication session using WebSockets, and the counselor replies to the user based on the consultation content. As output, the device receives the counselor's message and displays it to the user.
[0172] The above processing steps create a system in which a user can start an online consultation, an AI chatbot provides initial support, and then a professional counselor responds if necessary.
[0173] (Application example 1)
[0174] 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."
[0175] In modern society, many users suffer from mental anxieties and stress. Because they are unable to talk about these issues with friends or family and have limited access to professional support, these issues can develop into serious problems. There is also a need to protect the privacy of consultation content and provide prompt and appropriate responses. Furthermore, there is a growing need for an environment where users can safely seek advice while maintaining their anonymity. An efficient system that can address these issues is needed.
[0176] 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.
[0177] In this invention, the server includes a means for a user to access the online platform and input the consultation content, a means for transmitting the input consultation content to the server and storing it in a database, a means for a chatbot to generate a response using a generative AI model based on the consultation content and display it to the user, a means for notifying a professional counselor and escalating the consultation if a serious consultation content is detected, and a means for encrypting user data to ensure anonymity.This allows users to consult with peace of mind and receive prompt and appropriate support 24 hours a day, 365 days a year.
[0178] An "online platform" is a system that provides services over the Internet and that users can access and use.
[0179] "Consultation content" refers to specific information about the worries or problems the user is having.
[0180] A "generative AI model" refers to an artificial intelligence algorithm that generates language and answers based on large amounts of data.
[0181] A "chatbot" is a program that uses artificial intelligence to automatically interact with users.
[0182] A "counselor" is a qualified professional who provides expert advice and support to users.
[0183] "Escalating" refers to handing over a problem that cannot be handled to a person or system that can handle it more effectively.
[0184] "Encryption" is a method of converting data using a specific algorithm to prevent access or tampering by third parties.
[0185] "Anonymity" refers to a state in which information that can identify a user is not made public.
[0186] A "security assistant" is a support system that allows users to safely input their inquiries and receive responses.
[0187] "User Data" refers generally to information provided by users and data collected by the System.
[0188] A "smartphone" refers to a highly functional mobile phone that can connect to the Internet and run various applications in addition to making calls.
[0189] This invention provides an online consultation platform where users can easily confide their worries as if they were friends and receive appropriate support. This platform consists of three components: a server, a terminal, and a user.
[0190] Server Processing
[0191] User Data Management
[0192] When a user registers for the online platform, the server receives the user's profile information (such as name, age, email address, and password) and stores it in a database. The server also manages the consultation history and past interaction data entered by the user. This allows the server to provide support tailored to individual consultations when the user accesses the platform again.
[0193] Chatbot operation
[0194] When a user initiates a consultation through their device, the server launches a chatbot based on the generative AI model to handle the initial consultation. The chatbot generates an appropriate response to the consultation content entered by the user and sends it to the device. This generation process uses OpenAI's API, which handles natural language processing and generation. The chatbot's response is generated based on the analysis of the user's consultation content and includes empathy and advice.
[0195] Collaboration with counselors
[0196] If a serious consultation that the chatbot cannot handle is input, the server will send a notification to a professional counselor. When the counselor begins to handle the case, the server manages the communication session between the user and the counselor and securely sends and receives data. A cryptography library is used to encrypt the data, ensuring the user's anonymity.
[0197] Terminal handling
[0198] Providing a user interface
[0199] The device provides a user-friendly interface. Screens are displayed for users to register, log in, and enter the details of their consultation. For example, the home screen has a "Consult" button that users can click to start a consultation.
[0200] Relaying data transmission and reception
[0201] The data entered by the user and the content of the consultation are sent from the device to the server. The chatbot's responses and messages from the counselor are also sent from the server to the device and displayed to the user in real time, ensuring a smooth dialogue.
[0202] User Activity
[0203] Starting and proceeding with the consultation
[0204] Users access the online platform via their smartphone, perform initial registration and log in. After that, they click the "Consult" button on the home screen, enter their concerns and the details of their consultation, and send it.
[0205] Talking with a counselor
[0206] If the issue is serious and is escalated to a counselor, the user will have a real-time conversation with the counselor, who will understand the user's specific situation and provide appropriate advice and support.
[0207] Specific examples
[0208] Example 1: Initial consultation
[0209] User: "I've been having trouble with school lately and I don't have anyone to talk to."
[0210] Terminal: Sends a message to the server.
[0211] Server (chatbot): Returns an AI-generated response saying, "School life is tough, isn't it? What are your biggest worries?"
[0212] Example 2: Counseling is needed
[0213] User: "I'm scared to tell my parents how I feel."
[0214] Terminal: Sends a message to the server.
[0215] Server: Determines that the chatbot cannot handle the situation and notifies a counselor.
[0216] Counselor: "I wonder why you're afraid to tell me? It would be helpful if you could tell me more about your situation."
[0217] Terminal: Displays the response from the counselor to the user.
[0218] Prompt Sentence Examples
[0219] "I've been worried about school lately and I can't talk to anyone about it."
[0220] The flow of the specific processing in the application example 1 will be described with reference to FIG.
[0221] Step 1:
[0222] Initial registration and login
[0223] User: Visits the online platform and registers or logs in.
[0224] Input: Username, Age, Email Address, Password.
[0225] Data processing: Passwords are encrypted using the cryptography library.
[0226] Output: The home screen is displayed with a message that registration and login were successful.
[0227] Step 2:
[0228] Enter and submit your inquiry
[0229] User: Click the "Consult" button on the home screen and enter the details of your inquiry.
[0230] Input: The user's inquiry.
[0231] Data processing: The consultation content is converted into JSON format and sent to the server.
[0232] Output: Successful sending message.
[0233] Step 3:
[0234] Chatbot response generation
[0235] Server: Generates an appropriate response to the user's inquiry based on the generative AI model.
[0236] Input: The user's inquiry.
[0237] Data Calculation: Uses the OpenAI API to generate responses based on prompts.
[0238] Output: AI-generated response sentence.
[0239] Step 4:
[0240] Viewing the response
[0241] Terminal: Receives the response from the server and displays it to the user.
[0242] Input: Response from the server.
[0243] Output: The response text displayed on the screen.
[0244] Step 5:
[0245] Escalation Determination
[0246] Server: Detects serious inquiries that the chatbot cannot handle.
[0247] Input: User's consultation details and past consultation history.
[0248] Data calculation: An algorithm that evaluates the severity of the consultation.
[0249] Output: The result of the decision as to whether escalation is required.
[0250] Step 6:
[0251] Counselor Notification
[0252] Server: If escalation is deemed necessary, a notification is sent to a professional counselor.
[0253] Input: Judgment result and user's consultation.
[0254] Data calculation: Checking counselor availability and sending notifications.
[0255] Output: Notification to counselor.
[0256] Step 7:
[0257] Managing sessions and starting conversations
[0258] Server: Manages the communication session between the counselor and the user and securely transmits and receives data.
[0259] Input: Counselor and user IDs, consultation details.
[0260] Data processing: Communication data encryption and session management.
[0261] Output: A session between the counselor and the user is initiated.
[0262] Step 8:
[0263] Real-time dialogue
[0264] User and counselor: interact in real time throughout the session.
[0265] Input: Response from counselor, additional consultation details from user.
[0266] Output: Message exchange in real time.
[0267] 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.
[0268] The online consultation platform of the present invention is a system that allows users to confide their worries as easily as if they were friends and receive appropriate support. This system mainly consists of three components: a server, a terminal, and a user, and also includes an emotion engine that recognizes the user's emotions.
[0269] Server Processing
[0270] User Data Management
[0271] When a user registers for the platform, the server receives the user's profile information (such as name, age, email address, and password) and stores it in a database. The server also manages the user's consultation history and past interaction data. This allows the user to receive support tailored to their individual needs when they access the platform again.
[0272] Chatbot operation
[0273] When a user starts a consultation through a device, the server launches an AI-based chatbot to handle the initial consultation. The chatbot generates an appropriate response to the consultation content entered by the user and sends it to the device. The chatbot's response is generated based on the analysis of the user's consultation content and includes empathy and advice.
[0274] Operating the Emotion Engine
[0275] The server uses an emotion engine to analyze the consultation content entered by the user and recognize the user's emotions. The emotion engine evaluates the user's emotional state (e.g., tension, anger, sadness, etc.) through text analysis and can adjust the chatbot's response based on the results.
[0276] Collaboration with counselors
[0277] If a serious consultation that the chatbot cannot handle is input, or if the emotion engine detects a serious emotion, the server sends a notification to a professional counselor. When the counselor begins to respond, the server manages the communication session between the user and the counselor and securely sends and receives data.
[0278] Terminal handling
[0279] Providing a user interface
[0280] The device provides a user-friendly interface. Screens are displayed for users to register, log in, and enter the details of their consultation. For example, the home screen has a "Consult" button that users can click to start a consultation.
[0281] Relaying data transmission and reception
[0282] The data entered by the user and the content of the consultation are sent from the device to the server. The chatbot's responses and messages from the counselor are also sent from the server to the device and displayed to the user in real time, ensuring a smooth dialogue.
[0283] User Activity
[0284] Starting and proceeding with the consultation
[0285] Users access the online platform through their device, perform initial registration and log in. After that, they click the "Consult" button on the home screen, enter their concerns and the details of their consultation, and send it.
[0286] Talking with a counselor
[0287] If the issue is serious and escalated to a counselor, or if the emotion engine detects a serious emotion, the user will have a real-time conversation with the counselor, who will understand the user's specific situation and provide appropriate advice and support.
[0288] Specific examples
[0289] Example 1: Initial consultation and emotion recognition
[0290] User: "I've been having trouble with school lately and I don't have anyone to talk to."
[0291] Terminal: Sends a message to the server.
[0292] Server (chatbot): The automated response is, "School life is tough, isn't it? What are you particularly worried about?"
[0293] Server (Emotion Engine): Recognizes the emotion "sadness" from user input. The response generation algorithm takes the emotion results into account and generates a more empathetic response.
[0294] Example 2: Counseling is needed
[0295] User: "I'm scared to tell my parents how I feel."
[0296] Terminal: Sends a message to the server.
[0297] Server (chatbot): Responds, "Why are you afraid to tell me?"
[0298] Server (emotion engine): Recognizes the emotion of "fear" from user input and determines the need for counseling.
[0299] Server: Determines that the chatbot cannot handle the situation and notifies a counselor.
[0300] Professional counselor: "Why are you afraid to tell me? It would be helpful if you could tell me more about your situation."
[0301] Terminal: Displays the response from the counselor to the user.
[0302] As a result, the online consultation platform of the present invention provides a practical and advanced system for resolving various mental health issues faced by children, creating an environment in which users can seek advice at their own pace and receive professional support.
[0303] The processing flow will be explained below.
[0304] Step 1:
[0305] A user accesses the online platform and opens the new registration screen. The user enters information such as name, age, email address, and password, and clicks the "Register" button.
[0306] Step 2:
[0307] The terminal transmits the input user information to the server.
[0308] Step 3:
[0309] The server verifies the received user information and stores it in a database. If the storage is successful, the server generates a registration completion message and returns it to the terminal.
[0310] Step 4:
[0311] The terminal displays a registration completion message to the user, and the user clicks the "Login" button.
[0312] Step 5:
[0313] The user enters their email address and password on the login screen and clicks the "Login" button.
[0314] Step 6:
[0315] The terminal transmits the input authentication information to the server.
[0316] Step 7:
[0317] The server verifies the authentication information and, if correct, generates a session token and returns it to the terminal.
[0318] Step 8:
[0319] The device saves the received session token and displays the home screen to the user, who then clicks the "Consult" button on the home screen.
[0320] Step 9:
[0321] The user enters the consultation content and clicks the "Send" button.
[0322] Step 10:
[0323] The terminal transmits the consultation content together with the session token to the server.
[0324] Step 11:
[0325] The server stores the received consultation contents in a database and transmits the consultation contents to the emotion engine.
[0326] Step 12:
[0327] The server (emotion engine) recognizes the user's emotions (e.g., sadness, fear, anger) through text analysis and sends the results to the chatbot.
[0328] Step 13:
[0329] The server (chatbot) generates a response appropriate to the consultation content based on the emotional results obtained from the emotion engine. The chatbot generates a response that includes empathetic words and specific advice.
[0330] Step 14:
[0331] The server generates a response and sends it to the terminal.
[0332] Step 15:
[0333] The terminal displays the chatbot's response to the user.
[0334] Step 16:
[0335] If the user's emotions are recognized as serious or if the consultation content is difficult for the chatbot to handle, the server (emotion engine) will send a notification to a professional counselor.
[0336] Step 17:
[0337] Professional counselors will be notified and will prepare a response.
[0338] Step 18:
[0339] The server generates a communication session between the counselor and the user and sends a notification of the start of the session to the terminal.
[0340] Step 19:
[0341] The terminal notifies the user that the counselor has started to respond.
[0342] Step 20:
[0343] The user and a professional counselor begin a real-time dialogue, and the counselor provides appropriate advice and support to address the user's concerns.
[0344] Step 21:
[0345] The server securely sends and receives messages between users and counselors and stores all data in a database.
[0346] The above steps have resulted in a system that allows users to seek advice through an online platform and receive support from an emotion engine and professional counselors as needed.
[0347] Example 2
[0348] 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."
[0349] Conventional online consultation platforms have problems in that even when users input their consultation content, it is difficult to properly detect and respond to changes in their emotions, and they are unable to respond quickly to serious consultation content. As a result, users often do not receive satisfactory support. The present invention aims to solve these problems and provide an online consultation platform that provides users with faster and more appropriate support.
[0350] The identification process by the identification processing unit 290 of the data processing device 12 in Example 2 is realized by the following means. In this invention, the server includes a means for a user to access an online platform and input the consultation content, a means for transmitting the input consultation content to the server and storing it in a database, a means for a chatbot to generate a response based on the consultation content and display it to the user, a means for recognizing the user's emotions using an emotion analysis engine and adjusting the response content, and a means for notifying a professional counselor and escalating the consultation when a serious consultation content is detected. This enables an appropriate response according to the user's emotional state and a quick response to serious consultation content.
[0351] An "online platform" is a system that users can access via the Internet and use various operations and services.
[0352] A "server" is a computer system that receives data sent by users, processes the data, and sends the data to other components as needed.
[0353] "User" means an individual who accesses the Online Platform and uses the Services.
[0354] "Consultation content" refers to the content of the worries or consultations that users input into the online platform.
[0355] A "database" is a system for organizing and storing information so that it can be searched and updated later.
[0356] A "chatbot" is a program that uses AI technology to automatically converse with users.
[0357] A "response" is a message that a chatbot generates in response to input from a user and provides to the user.
[0358] An "emotion analysis engine" is a technology or program that analyzes user input and recognizes the user's emotional state from that content.
[0359] A "specialized counselor" is a counselor or advisor with the specialized knowledge to deal with the user's serious consultation issues.
[0360] A "notification" is a message sent by the system to inform other components or people when a certain condition is met.
[0361] "Escalation" is a procedure for passing on difficult situations or serious consultation matters to a higher-ranking person or a specialized counselor.
[0362] A "user interface" is an interface, such as a screen or input field, that allows a user to interact with a system.
[0363] A "session" is a unit of a series of interactions and data exchanges between a user and a system.
[0364] A "communication session" is a data transmission / reception session for real-time interaction between a user and a counselor.
[0365] This invention is a system that allows users to access an online platform, input their concerns, and receive support. This system is mainly composed of three components: a server, a terminal, and a user, and also includes an emotion analysis engine that recognizes the user's emotions.
[0366] First, the user accesses the online platform and inputs their concerns or questions. An easy-to-use screen is provided as the user interface, using a web browser or mobile application. For example, a "Consult" button is displayed on the home screen, and the user clicks to begin the consultation. The consultation details entered by the user are sent from the device to the server.
[0367] The server stores the information entered by the user in a database. Specifically, it manages the user's profile information (name, age, email address, password, etc.), consultation history, and past communication data. This data management makes it possible to provide optimal support for individual consultations when the user accesses the site again.
[0368] Next, the server launches an AI-based chatbot to handle the initial consultation. The chatbot generates an appropriate response to the consultation content entered by the user and sends it to the device. Specific technologies used include the natural language processing library "NLTK" and generative AI models (e.g., GPT-3). The chatbot generates a response that includes empathy and advice based on the analysis of the user's consultation content.
[0369] The server also uses an emotion analysis engine to analyze the consultation content entered by the user and recognize the user's emotions. The emotion analysis engine evaluates the user's emotional state (e.g., tension, anger, sadness, etc.) through text analysis and can adjust the chatbot's response based on the results. For example, if a user enters, "I've been worried about school lately and I can't talk to anyone about it," the emotion analysis engine will recognize the emotion of "sadness" and generate a more empathetic response.
[0370] When a serious consultation that the chatbot cannot handle is input, or when the emotion analysis engine detects a serious emotion, the server sends a notification to a specialized counselor. Once the counselor begins to respond, the server manages the communication session between the user and the counselor, sending and receiving data securely. This communication session management creates an environment where users can consult with counselors with peace of mind.
[0371] A concrete example would be the following consultation and response scenario:
[0372] Example 1: Initial consultation and emotion recognition
[0373] User: "I've been having trouble with school lately and I don't have anyone to talk to."
[0374] Terminal: Sends a message to the server.
[0375] Server (chatbot): The automated response is, "School life is tough, isn't it? What are you particularly worried about?"
[0376] Server (emotion analysis engine): Recognizes the emotion "sadness" from user input. The response generation algorithm takes the emotion results into account and generates a more empathetic response.
[0377] Example 2: Counseling is needed
[0378] User: "I'm scared to tell my parents how I feel."
[0379] Terminal: Sends a message to the server.
[0380] Server (chatbot): Responds, "Why are you afraid to tell me?"
[0381] Server (emotion analysis engine): Recognizes the emotion of "fear" from user input, and determines the need for counseling.
[0382] Server: Determines that the chatbot cannot handle the situation and notifies a specialist counselor.
[0383] Specialist counselor: "Why are you afraid to tell me? It would be helpful if you could tell me more about your specific situation."
[0384] Terminal: Displays the response from the counselor to the user.
[0385] Examples of prompts include:
[0386] Consultation content: "I've been worried about school lately, and I can't talk to anyone about it."
[0387] Prompt: "The user says they've been struggling with school lately and don't have anyone to talk to. In this case, generate an initial response that offers empathy and support."
[0388] The system allows users to proceed with consultations at their own pace and receive professional support.
[0389] The flow of the identification process in the second embodiment will be described with reference to FIG.
[0390] Step 1:
[0391] A user accesses an online platform and registers. The information the user enters into the registration form includes name, age, email address, password, etc.
[0392] Input: Name, Age, Email Address, Password.
[0393] Data processing: The entered information is sent to the server and stored in the database.
[0394] Output: The new user's profile is created in the database.
[0395] Specific behavior: The user enters information into the registration form and clicks the submit button. The device sends this information to the server, which stores it in a database.
[0396] Step 2:
[0397] The user enters their login information on the login screen and logs in. The server verifies and approves this.
[0398] Enter your email address and password.
[0399] Data processing: Verification and authentication of input information against information in the database.
[0400] Output: User dashboard is displayed based on the authentication result.
[0401] Specific operation: The user enters their email address and password into the login form and clicks the login button. The device sends the entered information to the server, which then authenticates it by checking the database. If authentication is successful, the user's dashboard is displayed.
[0402] Step 3:
[0403] The user clicks the "Consult" button, enters the consultation content, and submits it.
[0404] Input: Consultation content (text).
[0405] Data processing: Send the consultation details to the server.
[0406] Output: The consultation received by the server.
[0407] Specific operation: The user clicks the "Consult" button on the dashboard screen, enters the consultation content in the displayed input field, and clicks the send button, causing the device to send the input content to the server.
[0408] Step 4:
[0409] The server stores the received consultation details in a database.
[0410] Input: Consultation content (text).
[0411] Data processing: Consultation details are saved in a database.
[0412] Output: The consultation details are stored in the database.
[0413] Specific operation: The server receives the consultation content sent by the user and saves it in the database.
[0414] Step 5:
[0415] The server launches an AI-based chatbot to handle initial inquiries.
[0416] Input: Consultation content (text).
[0417] Data processing: The chatbot analyzes the consultation content and generates an appropriate response.
[0418] Output: Response message (text).
[0419] Specific operation: The server passes the consultation content to the chatbot, which performs natural language processing to generate a response message and return it to the server. The server then sends this to the device and displays it to the user.
[0420] Step 6:
[0421] The server uses an emotion analysis engine to analyze the content of the user's consultation.
[0422] Input: Consultation content (text).
[0423] Data processing: The sentiment analysis engine recognizes emotions and obtains the results.
[0424] Output: Emotion recognition result (emotional state).
[0425] Specific operation: The server passes the consultation content to the emotion analysis engine, which analyzes the text and recognizes the emotional state (e.g., "sadness"), and returns the analysis results to the server.
[0426] Step 7:
[0427] The server adjusts the chatbot's responses based on the results of the emotion analysis.
[0428] Input: Emotion recognition results, consultation content.
[0429] Data processing: The response generation algorithm takes emotion recognition results into account and adjusts the response content.
[0430] Output: The tailored response message (text).
[0431] Specific operation: The server returns the emotion recognition results to the chatbot, which then adjusts the response based on the results. The adjusted response message is sent to the device via the server and displayed to the user.
[0432] Step 8:
[0433] If the server detects a serious consultation that the chatbot cannot handle, it will send a notification to a specialist counselor.
[0434] Input: Consultation content, emotion recognition results.
[0435] Data processing: Evaluate the consultation content and emotion recognition results, and generate a notification if the situation is serious.
[0436] Output: Notification to professional counselor (text).
[0437] Specific operation: The server evaluates the received consultation content and emotion recognition results, and if it determines that the chatbot cannot handle the situation, it sends a notification message to a specialist counselor.
[0438] Step 9:
[0439] A specialist counselor will respond and engage in real-time dialogue with the user.
[0440] Input: Consultation content, emotion recognition results, and response message from the expert counselor.
[0441] Data processing: Response messages from expert consultants are sent to users in real time.
[0442] Output: Real-time dialogue message (text).
[0443] Specific operation: The expert counselor receives the notification and starts a dialogue with the user. The server receives the counselor's response message and sends it to the user in real time.
[0444] Through the above specific processing steps, the user can input a consultation, undergo emotion analysis, and receive appropriate support.
[0445] (Application example 2)
[0446] 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."
[0447] Online consultation platforms are required to provide an environment where users with worries or stress about food can easily seek advice, and to provide more adapted responses and suggestions by recognizing the user's emotions. However, conventional systems have difficulty accurately recognizing the user's emotions and providing appropriate responses, so this needs to be improved.
[0448] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 2 is realized by the following means.
[0449] In this invention, the server includes means for a user to access the online platform and input the consultation content, means for transmitting the input consultation content to the server and storing it in a database, means for a chatbot to generate a response based on the consultation content and display it to the user, means for notifying a professional counselor and escalating the consultation if a serious consultation content is detected, means for analyzing the user's input data and recognizing emotions, means for generating a response adapted to the recognized emotions, and means for making suggestions about food and meals based on the content of the dialogue with the user.This allows users to easily consult about their food-related worries and stress as if they were talking to a friend, and to receive responses and suggestions adapted to their emotions.
[0450] An "online platform" is a system that users access via the Internet to input, send, and receive information.
[0451] "Consultation content" refers to the information entered and sent in written or audio format about the worries or problems the user is facing.
[0452] "Server" means a computer system that receives, stores, processes information entered by a user, and generates a response as needed.
[0453] A "database" is a system that organizes and stores user information and consultation history that is managed and saved by a server.
[0454] A "chatbot" is a program that uses artificial intelligence to automatically interact with users and generate appropriate responses.
[0455] A "professional counselor" is a professional who uses specialized knowledge and skills to respond to and give advice on serious consultation matters.
[0456] "Escalation" refers to the process by which first responders hand over serious issues to specialists.
[0457] "Emotion recognition" is a technology that analyzes user input data and determines the user's emotional state.
[0458] "Emotionally adaptive responses" refer to empathetic and appropriate replies that are tailored to the user's emotional state.
[0459] "Food and diet suggestions" are advice on foods, drinks, and dietary habits recommended based on the user's concerns and emotional state.
[0460] MODE FOR CARRYING OUT THE INVENTION
[0461] This invention provides an environment where users can easily consult about food-related worries and stress through a food delivery application. This system is mainly composed of three components: a server, a terminal, and a user, and combines functions for emotion recognition and response generation.
[0462] Server Processing
[0463] User Data Management
[0464] When a user registers for the application, the server receives profile information (such as name, age, email address, and password) and stores it in a database. The server also manages the user's consultation history and past interaction data. This allows the server to provide support tailored to the individual consultation when the user accesses the application again.
[0465] Chatbot operation
[0466] When a user starts a consultation through a device, the server launches an AI-based chatbot to handle the initial consultation. The chatbot generates an appropriate response to the consultation content entered by the user and sends it to the device. The chatbot's response is generated based on the analysis of the user's consultation content and includes empathy and advice.
[0467] Operating the Emotion Engine
[0468] The server uses an emotion engine to analyze the consultation content entered by the user and recognize the user's emotions. The emotion engine evaluates the user's emotional state through text analysis and can adjust the chatbot's responses based on the results.
[0469] Collaboration with counselors
[0470] If a serious consultation that the chatbot cannot handle is input, or if the emotion engine detects a serious emotion, the server sends a notification to a professional counselor. When the counselor begins to respond, the server manages the communication session between the user and the counselor and securely sends and receives data.
[0471] Emotion-adaptive response generation and food suggestions
[0472] The server uses a generative AI model to generate empathetic responses based on the emotional results, and also makes appropriate food and meal suggestions based on the user's consultation and emotional state.
[0473] Terminal handling
[0474] Providing a user interface
[0475] The device provides a user-friendly interface. Screens are displayed for users to register, log in, and enter the details of their consultation. For example, the home screen has a "Consult" button that users can click to start a consultation.
[0476] Relaying data transmission and reception
[0477] The data entered by the user and the content of the consultation are sent from the device to the server. The chatbot's responses and messages from the counselor are also sent from the server to the device and displayed to the user in real time, ensuring a smooth dialogue.
[0478] User Activity
[0479] Starting and proceeding with the consultation
[0480] Users access the online platform through their device, perform initial registration and log in. After that, they click the "Consult" button on the home screen, enter their concerns and the details of their consultation, and send it.
[0481] Talking with a counselor
[0482] If the issue is serious and escalated to a counselor, or if the emotion engine detects a serious emotion, the user will have a real-time conversation with the counselor, who will understand the user's specific situation and provide appropriate advice and support.
[0483] Specific examples
[0484] Example 1: Initial consultation and emotion recognition
[0485] User: "I've been stressed lately and I don't have much of an appetite."
[0486] Terminal: Sends a message to the server.
[0487] Server (chatbot): The automated response is, "When you're stressed, you lose your appetite. What specifically causes you stress?"
[0488] Server (emotion engine): Recognizes the emotion of "sadness" from the user's input, and the response generation algorithm takes the emotion results into account to generate a more empathetic response.
[0489] Server (prompt using generated AI model):
[0490] User Input: "I've been stressed lately and I have no appetite."
[0491] Detected Emotion: "Sadness"
[0492] Generate a response that shows empathy and provides support.
[0493] Example 2: Counseling is needed
[0494] User: "I'm worried that this will have a negative impact on my health."
[0495] Terminal: Sends a message to the server.
[0496] Server (chatbot): "That's worrying. Are you taking any measures to protect your health?"
[0497] Server (emotion engine): Recognizes the emotion of "fear" from user input and determines the need for counseling.
[0498] Server: Determines that the chatbot cannot handle the situation and notifies a counselor.
[0499] Professional counselor: "Could you tell me specifically what you're worried about? Let's work together to find a solution."
[0500] Terminal: Displays the response from the counselor to the user.
[0501] The flow of the specific processing in the application example 2 will be described with reference to FIG.
[0502] Step 1:
[0503] User accesses online platform
[0504] A user launches a food delivery application and accesses the online platform. The user registers or logs in and enters their profile information (name, age, email address, password, etc.). The device sends the information to the server, which stores it in a database.
[0505] Input: User profile information
[0506] Output: Profile information is saved to the database
[0507] Step 2:
[0508] Start a consultation
[0509] The user clicks the "Consult" button on the home screen and enters the consultation content. The device then sends the entered consultation content to the server.
[0510] Input: Consultation details
[0511] Output: The consultation content is sent to the server
[0512] Step 3:
[0513] Chatbot initial response
[0514] When the server receives the consultation content, it launches an AI-based chatbot and begins initial consultation. The chatbot generates an appropriate response to the user's consultation content and sends it to the device. This response is generated using a generative AI model.
[0515] Input: Consultation details
[0516] Output: The initial response is generated and sent to the terminal
[0517] Step 4:
[0518] Analysis by emotion engine
[0519] The server analyzes the user's input and recognizes their emotions using an emotion engine. The emotion engine evaluates the user's emotional state through natural language processing (NLP) and passes the results to the generative AI model.
[0520] Input: Consultation details
[0521] Output: Recognized emotion result
[0522] Step 5:
[0523] Emotion-adaptive response generation
[0524] The server uses a generative AI model based on the recognized emotion results to generate an empathetic response, which is then sent to the device and displayed to the user.
[0525] Input: Recognized emotion result
[0526] Output: Emotionally adapted response
[0527] Step 6:
[0528] Food and dietary suggestions
[0529] The server also makes suitable food and meal suggestions based on the user's consultation and emotional state. The suggestions are generated using a generative AI model and sent to the device.
[0530] Input: Consultation content, emotional results
[0531] Output: Food and meal suggestions
[0532] Step 7:
[0533] Escalation of serious consultation matters
[0534] If the chatbot detects a serious problem that it cannot handle, or if the emotion engine detects a serious emotion (such as fear or despair), the server immediately notifies a professional counselor. When the counselor begins to respond, the server manages the communication session and securely sends and receives data between the user and counselor via the device.
[0535] Input: Serious consultation or serious emotional outcome
[0536] Output: Counselor notification, communication session initiated
[0537] Step 8:
[0538] Talking with a counselor
[0539] Users can talk to a professional counselor in real time about serious issues. The counselor understands the user's specific situation and provides appropriate advice and support. The device displays the counselor's responses to the user, ensuring a smooth dialogue.
[0540] Input: User's consultation details, counselor's advice
[0541] Output: Real-time conversation
[0542] In this way, through the specific actions taken at each processing step, users can easily consult about worries and stress related to food, receive responses and suggestions that are adapted to their emotions, and receive professional support if necessary.
[0543] 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.
[0544] 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.
[0545] 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.
[0546] [Second embodiment]
[0547] FIG. 3 shows an example of the configuration of a data processing system 210 according to the second embodiment.
[0548] 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.
[0549] 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).
[0550] 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.
[0551] 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.
[0552] 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).
[0553] 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.
[0554] 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.
[0555] 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.
[0556] 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.
[0557] 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.
[0558] 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."
[0559] The online consultation platform of the present invention is a system that allows users to easily confide their concerns as if they were friends and receive appropriate support. This system mainly consists of three components: a server, a terminal, and a user.
[0560] Server Processing
[0561] User Data Management
[0562] When a user registers for the platform, the server receives the user's profile information (such as name, age, email address, and password) and stores it in a database. The server also manages the user's consultation history and past interaction data. This allows the user to receive support tailored to their individual needs when they access the platform again.
[0563] Chatbot operation
[0564] When a user starts a consultation through a device, the server launches an AI-based chatbot to handle the initial consultation. The chatbot generates an appropriate response to the consultation content entered by the user and sends it to the device. The chatbot's response is generated based on the analysis of the user's consultation content and includes empathy and advice.
[0565] Collaboration with counselors
[0566] If a serious consultation that the chatbot cannot handle is input, the server sends a notification to a professional counselor. When the counselor begins to handle the issue, the server manages the communication session between the user and the counselor and securely sends and receives data.
[0567] Terminal handling
[0568] Providing a user interface
[0569] The device provides a user-friendly interface. Screens are displayed for users to register, log in, and enter the details of their consultation. For example, the home screen has a "Consult" button that users can click to start a consultation.
[0570] Relaying data transmission and reception
[0571] The data entered by the user and the content of the consultation are sent from the device to the server. The chatbot's responses and messages from the counselor are also sent from the server to the device and displayed to the user in real time, ensuring a smooth dialogue.
[0572] User Activity
[0573] Starting and proceeding with the consultation
[0574] Users access the online platform through their device, perform initial registration and log in. After that, they click the "Consult" button on the home screen, enter their concerns and the details of their consultation, and send it.
[0575] Talking with a counselor
[0576] If the issue is serious and is escalated to a counselor, the user will have a real-time conversation with the counselor, who will understand the user's specific situation and provide appropriate advice and support.
[0577] Specific examples
[0578] Example 1: Initial consultation
[0579] User: "I've been having trouble with school lately and I don't have anyone to talk to."
[0580] Terminal: Sends a message to the server.
[0581] Server (chatbot): The automated response is, "School life is tough, isn't it? What are you particularly worried about?"
[0582] Example 2: Counseling is needed
[0583] User: "I'm scared to tell my parents how I feel."
[0584] Terminal: Sends a message to the server.
[0585] Server: Determines that the chatbot cannot handle the situation and notifies a counselor.
[0586] Professional Counselor: "I wonder why you're afraid to tell them? It would be helpful if you could tell me more about your situation."
[0587] Terminal: Displays the response from the counselor to the user.
[0588] The online consultation platform of the present invention is a practical system for resolving various mental health issues faced by children, providing an environment in which users can seek advice at their own pace and receive professional support.
[0589] The processing flow will be explained below.
[0590] Step 1:
[0591] A user accesses the online platform and opens the new registration screen. The user enters information such as name, age, email address, and password, and clicks the "Register" button.
[0592] Step 2:
[0593] The terminal transmits the input user information to the server.
[0594] Step 3:
[0595] The server verifies the received user information and stores it in a database. If the storage is successful, the server generates a registration completion message and returns it to the terminal.
[0596] Step 4:
[0597] The terminal displays a registration completion message to the user, and the user clicks the "Login" button.
[0598] Step 5:
[0599] The user enters their email address and password on the login screen and clicks the "Login" button.
[0600] Step 6:
[0601] The terminal transmits the input authentication information to the server.
[0602] Step 7:
[0603] The server verifies the authentication information and, if correct, generates a session token and returns it to the terminal.
[0604] Step 8:
[0605] The device saves the received session token and displays the home screen to the user, who then clicks the "Consult" button on the home screen.
[0606] Step 9:
[0607] The user enters the consultation content and clicks the "Send" button.
[0608] Step 10:
[0609] The terminal transmits the consultation content together with the session token to the server.
[0610] Step 11:
[0611] The server stores the received consultation content in a database and transmits the consultation content to the chatbot.
[0612] Step 12:
[0613] The server (chatbot) analyzes the consultation content and generates an appropriate response.
[0614] Step 13:
[0615] The server generates a response and sends it to the terminal.
[0616] Step 14:
[0617] The terminal displays the chatbot's response to the user.
[0618] Step 15:
[0619] The user checks the chatbot's response and clicks the "Send" button again if they want to enter additional consultation details.
[0620] Step 16:
[0621] If the consultation is serious or if it is determined that it is difficult for the chatbot to handle the issue, the server (chatbot) will send a notification to a professional counselor.
[0622] Step 17:
[0623] Professional counselors will be notified and will prepare a response.
[0624] Step 18:
[0625] The server generates a communication session between the counselor and the user and sends a notification of the start of the session to the terminal.
[0626] Step 19:
[0627] The terminal notifies the user that the counselor has started to respond.
[0628] Step 20:
[0629] The user and a professional counselor begin a real-time dialogue, and the counselor provides appropriate advice and support to address the user's concerns.
[0630] Step 21:
[0631] The server securely sends and receives messages between users and counselors and stores all data in a database.
[0632] The above steps create a system that allows users to seek advice through an online platform and receive support from professional counselors if necessary.
[0633] Example 1
[0634] 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."
[0635] In modern society, many people suffer from mental distress and stress, and an increasing number of people seek appropriate support. However, the process of directly speaking with a professional counselor can be complicated, and initial consultations can be time-consuming. In particular, there is a need for a system that allows users to easily start consultations at their own pace and receive professional support as needed.
[0636] 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.
[0637] In this invention, the server includes means for a user to access the online platform and input the consultation content, means for transmitting the input consultation content to the server and storing it in a database, means for the server to call an AI-based chatbot and generate a response based on the consultation content and display it to the user, means for notifying a professional counselor and escalating the consultation if a serious consultation content is detected, and means for the counselor to start a dialogue with the user after receiving the notification and for the server to manage the communication session and securely send and receive data, thereby enabling the user to easily start consultation at their own pace and receive professional support as needed.
[0638] An "online platform" is a software system that users can access over the Internet and use certain services.
[0639] "Consultation content" is information entered by the user on the platform that describes in detail the problem or concern.
[0640] A "server" is a computer system that manages and processes data on a network.
[0641] A "database" is a structured system for efficiently storing, retrieving, and managing large amounts of data.
[0642] An "AI-based chatbot" is a software program that uses artificial intelligence technology to automatically hold conversations.
[0643] A "response" is a message returned by a chatbot or counselor in response to a user's inquiry.
[0644] A "notification" is a message that informs other systems or people of important information.
[0645] A "counselor" is a qualified professional who provides expert advice and support for the user's consultation.
[0646] A "communication session" is a connection state in which a user and a counselor exchange data in real time.
[0647] A "user interface" is a part that provides a screen and operation method for a user to interact with a system.
[0648] "Escalation" is the process by which a problem or issue goes beyond the initial response and is passed on to a specialist.
[0649] The online consultation platform of the present invention is a system that allows users to easily confide their worries as if they were friends and receive appropriate support. This system mainly consists of three components: a server, a terminal, and a user.
[0650] Server Processing
[0651] Managing user data:
[0652] When a user registers for the platform, the server receives the user's profile information (such as name, age, email address, and password) and stores it in a database. Specifically, the server receives the data using an HTTP POST request and stores it in a relational database such as MySQL. The server also manages the user's consultation history and past interaction data, allowing it to provide support tailored to each individual consultation when the user accesses the platform again.
[0653] Chatbot operations:
[0654] When a user initiates a consultation through their device, the server launches an AI-based chatbot to handle the initial consultation. The chatbot uses a natural language processing model, such as GPT-3, to generate an appropriate response to the consultation content entered by the user. The server then sends this response to the device and displays it to the user.
[0655] Working with a counselor:
[0656] If a serious problem is detected, the server automatically notifies a professional counselor. This notification is done by means of email notification using the SMTP protocol, etc. When the counselor starts to respond, the server manages the communication session between the user and the counselor using a real-time communication protocol (e.g., WebSockets) and securely transmits and receives data using an encryption protocol (e.g., TLS).
[0657] Terminal handling
[0658] Providing a user interface:
[0659] The device provides a user-friendly interface. Screens are displayed for users to register, log in, and enter the details of their consultation. For example, the home screen has a "Consult" button that users can click to start a consultation. The interface is built using HTML5 and CSS, and includes interactive elements using JavaScript.
[0660] Data transmission and reception relay:
[0661] The data entered by the user and the content of the consultation are sent from the device to the server. The chatbot's responses and messages from the counselor are also sent from the server to the device and displayed to the user in real time. Specifically, the device communicates with the server using the HTTP / HTTPS protocol to send and receive data.
[0662] User Activity
[0663] Starting and running a consultation:
[0664] Users access the online platform through their device and perform initial registration and login. After that, they click the "Consult" button on the home screen, enter their concerns or questions, and send them. For example, they can enter a question such as, "I've been worried about school lately, and I can't talk to anyone about it."
[0665] Talk to a counselor:
[0666] If the consultation is serious and is escalated to a counselor, the user will have a real-time conversation with the counselor. The counselor will understand the user's specific situation and provide appropriate advice and support. For example, if a user says, "I'm afraid to tell my parents how I feel," the counselor will respond, "Why are you afraid to tell them? It would be helpful if you could tell me the specific situation."
[0667] Examples of concrete examples and prompts
[0668] Example 1: Initial consultation
[0669] User: "I've been having trouble with school lately and I don't have anyone to talk to."
[0670] Terminal: Sends a message to the server.
[0671] Server (chatbot): The automated response is, "School life is tough, isn't it? What are you particularly worried about?"
[0672] Example 2: Counseling is needed
[0673] User: "I'm scared to tell my parents how I feel."
[0674] Terminal: Sends a message to the server.
[0675] Server: Determines that the chatbot cannot handle the situation and notifies a counselor.
[0676] Professional Counselor: "I wonder why you're afraid to tell them? It would be helpful if you could tell me more about your situation."
[0677] Terminal: Displays the response from the counselor to the user.
[0678] In this way, the online consultation platform of the present invention is a system that allows users to start consultation at their own pace and receive professional support as needed.
[0679] The flow of the identification process in the first embodiment will be described with reference to FIG.
[0680] Step 1:
[0681] A user accesses an online platform through a terminal. On the new registration or login screen displayed on the terminal, the user enters the required information (such as name, age, email address, and password) and clicks the submit button. As input, the user's profile information is entered into a labeled form. The terminal sends this data to the server using an HTTP POST request, and the server receives the data and stores it in a database. The database management system (e.g., MySQL) stores the user information. As output, the server returns a success message to the terminal indicating that the data has been successfully saved, and the terminal displays this message to the user.
[0682] Step 2:
[0683] The user clicks the "Consult" button on the home screen. A text area where the user can enter the consultation content is displayed on the device. The user enters the consultation content and clicks the send button. The consultation content entered by the user is captured on the device as input. The device sends the consultation content to the server using an HTTP POST request, and the server saves the received consultation content in a database. As output, the server returns a response confirming receipt to the device, and the device displays a confirmation message.
[0684] Step 3:
[0685] The server passes the received consultation content to an AI-based chatbot. The server provides the text data of the user's consultation content to the chatbot API as the expected input. The chatbot uses a natural language processing algorithm (e.g., GPT-3) to generate an appropriate response. As output, the chatbot returns the generated response text, and the server retrieves the response.
[0686] Step 4:
[0687] The server sends the response obtained from the chatbot to the terminal. As input, the response text from the chatbot exists on the server. The server sends the response text to the terminal in an HTTP response, and the terminal displays this message to the user. As output, the user sees the chatbot's response on the screen.
[0688] Step 5:
[0689] The server monitors the consultation content and the chatbot's responses. If serious content is detected, the server automatically sends a notification to a professional counselor. As input, serious consultation content is filtered based on AI or a pre-defined keyword list. As output, the server sends a notification to the counselor via email using the SMTP protocol, and the counselor receives it.
[0690] Step 6:
[0691] The counselor accesses the platform through their device and checks the notified consultation content. As input, the counselor logs in and connects to the server. The server starts a real-time communication session using WebSockets, and the counselor replies to the user based on the consultation content. As output, the device receives the counselor's message and displays it to the user.
[0692] The above processing steps create a system in which a user can start an online consultation, an AI chatbot provides initial support, and then a professional counselor responds if necessary.
[0693] (Application example 1)
[0694] 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."
[0695] In modern society, many users suffer from mental anxieties and stress. Because they are unable to talk about these issues with friends or family and have limited access to professional support, these issues can develop into serious problems. There is also a need to protect the privacy of consultation content and provide prompt and appropriate responses. Furthermore, there is a growing need for an environment where users can safely seek advice while maintaining their anonymity. An efficient system that can address these issues is needed.
[0696] 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.
[0697] In this invention, the server includes a means for a user to access the online platform and input the consultation content, a means for transmitting the input consultation content to the server and storing it in a database, a means for a chatbot to generate a response using a generative AI model based on the consultation content and display it to the user, a means for notifying a professional counselor and escalating the consultation if a serious consultation content is detected, and a means for encrypting user data to ensure anonymity.This allows users to consult with peace of mind and receive prompt and appropriate support 24 hours a day, 365 days a year.
[0698] An "online platform" is a system that provides services over the Internet and that users can access and use.
[0699] "Consultation content" refers to specific information about the worries or problems the user is having.
[0700] A "generative AI model" refers to an artificial intelligence algorithm that generates language and answers based on large amounts of data.
[0701] A "chatbot" is a program that uses artificial intelligence to automatically interact with users.
[0702] A "counselor" is a qualified professional who provides expert advice and support to users.
[0703] "Escalating" refers to handing over a problem that cannot be handled to a person or system that can handle it more effectively.
[0704] "Encryption" is a method of converting data using a specific algorithm to prevent access or tampering by third parties.
[0705] "Anonymity" refers to a state in which information that can identify a user is not made public.
[0706] A "security assistant" is a support system that allows users to safely input their inquiries and receive responses.
[0707] "User Data" refers generally to information provided by users and data collected by the System.
[0708] A "smartphone" refers to a highly functional mobile phone that can connect to the Internet and run various applications in addition to making calls.
[0709] This invention provides an online consultation platform where users can easily confide their worries as if they were friends and receive appropriate support. This platform consists of three components: a server, a terminal, and a user.
[0710] Server Processing
[0711] User Data Management
[0712] When a user registers for the online platform, the server receives the user's profile information (such as name, age, email address, and password) and stores it in a database. The server also manages the consultation history and past interaction data entered by the user. This allows the server to provide support tailored to individual consultations when the user accesses the platform again.
[0713] Chatbot operation
[0714] When a user initiates a consultation through their device, the server launches a chatbot based on the generative AI model to handle the initial consultation. The chatbot generates an appropriate response to the consultation content entered by the user and sends it to the device. This generation process uses OpenAI's API, which handles natural language processing and generation. The chatbot's response is generated based on the analysis of the user's consultation content and includes empathy and advice.
[0715] Collaboration with counselors
[0716] If a serious consultation that the chatbot cannot handle is input, the server will send a notification to a professional counselor. When the counselor begins to handle the case, the server manages the communication session between the user and the counselor and securely sends and receives data. A cryptography library is used to encrypt the data, ensuring the user's anonymity.
[0717] Terminal handling
[0718] Providing a user interface
[0719] The device provides a user-friendly interface. Screens are displayed for users to register, log in, and enter the details of their consultation. For example, the home screen has a "Consult" button that users can click to start a consultation.
[0720] Relaying data transmission and reception
[0721] The data entered by the user and the content of the consultation are sent from the device to the server. The chatbot's responses and messages from the counselor are also sent from the server to the device and displayed to the user in real time, ensuring a smooth dialogue.
[0722] User Activity
[0723] Starting and proceeding with the consultation
[0724] Users access the online platform via their smartphone, perform initial registration and log in. After that, they click the "Consult" button on the home screen, enter their concerns and the details of their consultation, and send it.
[0725] Talking with a counselor
[0726] If the issue is serious and is escalated to a counselor, the user will have a real-time conversation with the counselor, who will understand the user's specific situation and provide appropriate advice and support.
[0727] Specific examples
[0728] Example 1: Initial consultation
[0729] User: "I've been having trouble with school lately and I don't have anyone to talk to."
[0730] Terminal: Sends a message to the server.
[0731] Server (chatbot): Returns an AI-generated response saying, "School life is tough, isn't it? What are your biggest worries?"
[0732] Example 2: Counseling is needed
[0733] User: "I'm scared to tell my parents how I feel."
[0734] Terminal: Sends a message to the server.
[0735] Server: Determines that the chatbot cannot handle the situation and notifies a counselor.
[0736] Counselor: "I wonder why you're afraid to tell me? It would be helpful if you could tell me more about your situation."
[0737] Terminal: Displays the response from the counselor to the user.
[0738] Prompt Sentence Examples
[0739] "I've been worried about school lately and I can't talk to anyone about it."
[0740] The flow of the specific processing in the application example 1 will be described with reference to FIG.
[0741] Step 1:
[0742] Initial registration and login
[0743] User: Visits the online platform and registers or logs in.
[0744] Input: Username, Age, Email Address, Password.
[0745] Data processing: Passwords are encrypted using the cryptography library.
[0746] Output: The home screen is displayed with a message that registration and login were successful.
[0747] Step 2:
[0748] Enter and submit your inquiry
[0749] User: Click the "Consult" button on the home screen and enter the details of your inquiry.
[0750] Input: The user's inquiry.
[0751] Data processing: The consultation content is converted into JSON format and sent to the server.
[0752] Output: Successful sending message.
[0753] Step 3:
[0754] Chatbot response generation
[0755] Server: Generates an appropriate response to the user's inquiry based on the generative AI model.
[0756] Input: The user's inquiry.
[0757] Data Calculation: Uses the OpenAI API to generate responses based on prompts.
[0758] Output: AI-generated response sentence.
[0759] Step 4:
[0760] Viewing the response
[0761] Terminal: Receives the response from the server and displays it to the user.
[0762] Input: Response from the server.
[0763] Output: The response text displayed on the screen.
[0764] Step 5:
[0765] Escalation Determination
[0766] Server: Detects serious inquiries that the chatbot cannot handle.
[0767] Input: User's consultation details and past consultation history.
[0768] Data calculation: An algorithm that evaluates the severity of the consultation.
[0769] Output: The result of the decision as to whether escalation is required.
[0770] Step 6:
[0771] Counselor Notification
[0772] Server: If escalation is deemed necessary, a notification is sent to a professional counselor.
[0773] Input: Judgment result and user's consultation.
[0774] Data calculation: Checking counselor availability and sending notifications.
[0775] Output: Notification to counselor.
[0776] Step 7:
[0777] Managing sessions and starting conversations
[0778] Server: Manages the communication session between the counselor and the user and securely transmits and receives data.
[0779] Input: Counselor and user IDs, consultation details.
[0780] Data processing: Communication data encryption and session management.
[0781] Output: A session between the counselor and the user is initiated.
[0782] Step 8:
[0783] Real-time dialogue
[0784] User and counselor: interact in real time throughout the session.
[0785] Input: Response from counselor, additional consultation details from user.
[0786] Output: Message exchange in real time.
[0787] 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.
[0788] The online consultation platform of the present invention is a system that allows users to confide their worries as easily as if they were friends and receive appropriate support. This system mainly consists of three components: a server, a terminal, and a user, and also includes an emotion engine that recognizes the user's emotions.
[0789] Server Processing
[0790] User Data Management
[0791] When a user registers for the platform, the server receives the user's profile information (such as name, age, email address, and password) and stores it in a database. The server also manages the user's consultation history and past interaction data. This allows the user to receive support tailored to their individual needs when they access the platform again.
[0792] Chatbot operation
[0793] When a user starts a consultation through a device, the server launches an AI-based chatbot to handle the initial consultation. The chatbot generates an appropriate response to the consultation content entered by the user and sends it to the device. The chatbot's response is generated based on the analysis of the user's consultation content and includes empathy and advice.
[0794] Operating the Emotion Engine
[0795] The server uses an emotion engine to analyze the consultation content entered by the user and recognize the user's emotions. The emotion engine evaluates the user's emotional state (e.g., tension, anger, sadness, etc.) through text analysis and can adjust the chatbot's response based on the results.
[0796] Collaboration with counselors
[0797] If a serious consultation that the chatbot cannot handle is input, or if the emotion engine detects a serious emotion, the server sends a notification to a professional counselor. When the counselor begins to respond, the server manages the communication session between the user and the counselor and securely sends and receives data.
[0798] Terminal handling
[0799] Providing a user interface
[0800] The device provides a user-friendly interface. Screens are displayed for users to register, log in, and enter the details of their consultation. For example, the home screen has a "Consult" button that users can click to start a consultation.
[0801] Relaying data transmission and reception
[0802] The data entered by the user and the content of the consultation are sent from the device to the server. The chatbot's responses and messages from the counselor are also sent from the server to the device and displayed to the user in real time, ensuring a smooth dialogue.
[0803] User Activity
[0804] Starting and proceeding with the consultation
[0805] Users access the online platform through their device, perform initial registration and log in. After that, they click the "Consult" button on the home screen, enter their concerns and the details of their consultation, and send it.
[0806] Talking with a counselor
[0807] If the issue is serious and escalated to a counselor, or if the emotion engine detects a serious emotion, the user will have a real-time conversation with the counselor, who will understand the user's specific situation and provide appropriate advice and support.
[0808] Specific examples
[0809] Example 1: Initial consultation and emotion recognition
[0810] User: "I've been having trouble with school lately and I don't have anyone to talk to."
[0811] Terminal: Sends a message to the server.
[0812] Server (chatbot): The automated response is, "School life is tough, isn't it? What are you particularly worried about?"
[0813] Server (Emotion Engine): Recognizes the emotion "sadness" from user input. The response generation algorithm takes the emotion results into account and generates a more empathetic response.
[0814] Example 2: Counseling is needed
[0815] User: "I'm scared to tell my parents how I feel."
[0816] Terminal: Sends a message to the server.
[0817] Server (chatbot): Responds, "Why are you afraid to tell me?"
[0818] Server (emotion engine): Recognizes the emotion of "fear" from user input and determines the need for counseling.
[0819] Server: Determines that the chatbot cannot handle the situation and notifies a counselor.
[0820] Professional counselor: "Why are you afraid to tell me? It would be helpful if you could tell me more about your situation."
[0821] Terminal: Displays the response from the counselor to the user.
[0822] As a result, the online consultation platform of the present invention provides a practical and advanced system for resolving various mental health issues faced by children, creating an environment in which users can seek advice at their own pace and receive professional support.
[0823] The processing flow will be explained below.
[0824] Step 1:
[0825] A user accesses the online platform and opens the new registration screen. The user enters information such as name, age, email address, and password, and clicks the "Register" button.
[0826] Step 2:
[0827] The terminal transmits the input user information to the server.
[0828] Step 3:
[0829] The server verifies the received user information and stores it in a database. If the storage is successful, the server generates a registration completion message and returns it to the terminal.
[0830] Step 4:
[0831] The terminal displays a registration completion message to the user, and the user clicks the "Login" button.
[0832] Step 5:
[0833] The user enters their email address and password on the login screen and clicks the "Login" button.
[0834] Step 6:
[0835] The terminal transmits the input authentication information to the server.
[0836] Step 7:
[0837] The server verifies the authentication information and, if correct, generates a session token and returns it to the terminal.
[0838] Step 8:
[0839] The device saves the received session token and displays the home screen to the user, who then clicks the "Consult" button on the home screen.
[0840] Step 9:
[0841] The user enters the consultation content and clicks the "Send" button.
[0842] Step 10:
[0843] The terminal transmits the consultation content together with the session token to the server.
[0844] Step 11:
[0845] The server stores the received consultation contents in a database and transmits the consultation contents to the emotion engine.
[0846] Step 12:
[0847] The server (emotion engine) recognizes the user's emotions (e.g., sadness, fear, anger) through text analysis and sends the results to the chatbot.
[0848] Step 13:
[0849] The server (chatbot) generates a response appropriate to the consultation content based on the emotional results obtained from the emotion engine. The chatbot generates a response that includes empathetic words and specific advice.
[0850] Step 14:
[0851] The server generates a response and sends it to the terminal.
[0852] Step 15:
[0853] The terminal displays the chatbot's response to the user.
[0854] Step 16:
[0855] If the user's emotions are recognized as serious or if the consultation content is difficult for the chatbot to handle, the server (emotion engine) will send a notification to a professional counselor.
[0856] Step 17:
[0857] Professional counselors will be notified and will prepare a response.
[0858] Step 18:
[0859] The server generates a communication session between the counselor and the user and sends a notification of the start of the session to the terminal.
[0860] Step 19:
[0861] The terminal notifies the user that the counselor has started to respond.
[0862] Step 20:
[0863] The user and a professional counselor begin a real-time dialogue, and the counselor provides appropriate advice and support to address the user's concerns.
[0864] Step 21:
[0865] The server securely sends and receives messages between users and counselors and stores all data in a database.
[0866] The above steps have resulted in a system that allows users to seek advice through an online platform and receive support from an emotion engine and professional counselors as needed.
[0867] Example 2
[0868] 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."
[0869] Conventional online consultation platforms have problems in that even when users input their consultation content, it is difficult to properly detect and respond to changes in their emotions, and they are unable to respond quickly to serious consultation content. As a result, users often do not receive satisfactory support. The present invention aims to solve these problems and provide an online consultation platform that provides users with faster and more appropriate support.
[0870] The identification process by the identification processing unit 290 of the data processing device 12 in Example 2 is realized by the following means. In this invention, the server includes a means for a user to access an online platform and input the consultation content, a means for transmitting the input consultation content to the server and storing it in a database, a means for a chatbot to generate a response based on the consultation content and display it to the user, a means for recognizing the user's emotions using an emotion analysis engine and adjusting the response content, and a means for notifying a professional counselor and escalating the consultation when a serious consultation content is detected. This enables an appropriate response according to the user's emotional state and a quick response to serious consultation content.
[0871] An "online platform" is a system that users can access via the Internet and use various operations and services.
[0872] A "server" is a computer system that receives data sent by users, processes the data, and sends the data to other components as needed.
[0873] "User" means an individual who accesses the Online Platform and uses the Services.
[0874] "Consultation content" refers to the content of the worries or consultations that users input into the online platform.
[0875] A "database" is a system for organizing and storing information so that it can be searched and updated later.
[0876] A "chatbot" is a program that uses AI technology to automatically converse with users.
[0877] A "response" is a message that a chatbot generates in response to input from a user and provides to the user.
[0878] An "emotion analysis engine" is a technology or program that analyzes user input and recognizes the user's emotional state from that content.
[0879] A "specialized counselor" is a counselor or advisor with the specialized knowledge to deal with the user's serious consultation issues.
[0880] A "notification" is a message sent by the system to inform other components or people when a certain condition is met.
[0881] "Escalation" is a procedure for passing on difficult situations or serious consultation matters to a higher-ranking person or a specialized counselor.
[0882] A "user interface" is an interface, such as a screen or input field, that allows a user to interact with a system.
[0883] A "session" is a unit of a series of interactions and data exchanges between a user and a system.
[0884] A "communication session" is a data transmission / reception session for real-time interaction between a user and a counselor.
[0885] This invention is a system that allows users to access an online platform, input their concerns, and receive support. This system is mainly composed of three components: a server, a terminal, and a user, and also includes an emotion analysis engine that recognizes the user's emotions.
[0886] First, the user accesses the online platform and inputs their concerns or questions. An easy-to-use screen is provided as the user interface, using a web browser or mobile application. For example, a "Consult" button is displayed on the home screen, and the user clicks to begin the consultation. The consultation details entered by the user are sent from the device to the server.
[0887] The server stores the information entered by the user in a database. Specifically, it manages the user's profile information (name, age, email address, password, etc.), consultation history, and past communication data. This data management makes it possible to provide optimal support for individual consultations when the user accesses the site again.
[0888] Next, the server launches an AI-based chatbot to handle the initial consultation. The chatbot generates an appropriate response to the consultation content entered by the user and sends it to the device. Specific technologies used include the natural language processing library "NLTK" and generative AI models (e.g., GPT-3). The chatbot generates a response that includes empathy and advice based on the analysis of the user's consultation content.
[0889] The server also uses an emotion analysis engine to analyze the consultation content entered by the user and recognize the user's emotions. The emotion analysis engine evaluates the user's emotional state (e.g., tension, anger, sadness, etc.) through text analysis and can adjust the chatbot's response based on the results. For example, if a user enters, "I've been worried about school lately and I can't talk to anyone about it," the emotion analysis engine will recognize the emotion of "sadness" and generate a more empathetic response.
[0890] When a serious consultation that the chatbot cannot handle is input, or when the emotion analysis engine detects a serious emotion, the server sends a notification to a specialized counselor. Once the counselor begins to respond, the server manages the communication session between the user and the counselor, sending and receiving data securely. This communication session management creates an environment where users can consult with counselors with peace of mind.
[0891] A concrete example would be the following consultation and response scenario:
[0892] Example 1: Initial consultation and emotion recognition
[0893] User: "I've been having trouble with school lately and I don't have anyone to talk to."
[0894] Terminal: Sends a message to the server.
[0895] Server (chatbot): The automated response is, "School life is tough, isn't it? What are you particularly worried about?"
[0896] Server (emotion analysis engine): Recognizes the emotion "sadness" from user input. The response generation algorithm takes the emotion results into account and generates a more empathetic response.
[0897] Example 2: Counseling is needed
[0898] User: "I'm scared to tell my parents how I feel."
[0899] Terminal: Sends a message to the server.
[0900] Server (chatbot): Responds, "Why are you afraid to tell me?"
[0901] Server (emotion analysis engine): Recognizes the emotion of "fear" from user input, and determines the need for counseling.
[0902] Server: Determines that the chatbot cannot handle the situation and notifies a specialist counselor.
[0903] Specialist counselor: "Why are you afraid to tell me? It would be helpful if you could tell me more about your specific situation."
[0904] Terminal: Displays the response from the counselor to the user.
[0905] Examples of prompts include:
[0906] Consultation content: "I've been worried about school lately, and I can't talk to anyone about it."
[0907] Prompt: "The user says they've been struggling with school lately and don't have anyone to talk to. In this case, generate an initial response that offers empathy and support."
[0908] The system allows users to proceed with consultations at their own pace and receive professional support.
[0909] The flow of the identification process in the second embodiment will be described with reference to FIG.
[0910] Step 1:
[0911] A user accesses an online platform and registers. The information the user enters into the registration form includes name, age, email address, password, etc.
[0912] Input: Name, Age, Email Address, Password.
[0913] Data processing: The entered information is sent to the server and stored in the database.
[0914] Output: The new user's profile is created in the database.
[0915] Specific behavior: The user enters information into the registration form and clicks the submit button. The device sends this information to the server, which stores it in a database.
[0916] Step 2:
[0917] The user enters their login information on the login screen and logs in. The server verifies and approves this.
[0918] Enter your email address and password.
[0919] Data processing: Verification and authentication of input information against information in the database.
[0920] Output: User dashboard is displayed based on the authentication result.
[0921] Specific operation: The user enters their email address and password into the login form and clicks the login button. The device sends the entered information to the server, which then authenticates it by checking the database. If authentication is successful, the user's dashboard is displayed.
[0922] Step 3:
[0923] The user clicks the "Consult" button, enters the consultation content, and submits it.
[0924] Input: Consultation content (text).
[0925] Data processing: Send the consultation details to the server.
[0926] Output: The consultation received by the server.
[0927] Specific operation: The user clicks the "Consult" button on the dashboard screen, enters the consultation content in the displayed input field, and clicks the send button, causing the device to send the input content to the server.
[0928] Step 4:
[0929] The server stores the received consultation details in a database.
[0930] Input: Consultation content (text).
[0931] Data processing: Consultation details are saved in a database.
[0932] Output: The consultation details are stored in the database.
[0933] Specific operation: The server receives the consultation content sent by the user and saves it in the database.
[0934] Step 5:
[0935] The server launches an AI-based chatbot to handle initial inquiries.
[0936] Input: Consultation content (text).
[0937] Data processing: The chatbot analyzes the consultation content and generates an appropriate response.
[0938] Output: Response message (text).
[0939] Specific operation: The server passes the consultation content to the chatbot, which performs natural language processing to generate a response message and return it to the server. The server then sends this to the device and displays it to the user.
[0940] Step 6:
[0941] The server uses an emotion analysis engine to analyze the content of the user's consultation.
[0942] Input: Consultation content (text).
[0943] Data processing: The sentiment analysis engine recognizes emotions and obtains the results.
[0944] Output: Emotion recognition result (emotional state).
[0945] Specific operation: The server passes the consultation content to the emotion analysis engine, which analyzes the text and recognizes the emotional state (e.g., "sadness"), and returns the analysis results to the server.
[0946] Step 7:
[0947] The server adjusts the chatbot's responses based on the results of the emotion analysis.
[0948] Input: Emotion recognition results, consultation content.
[0949] Data processing: The response generation algorithm takes emotion recognition results into account and adjusts the response content.
[0950] Output: The tailored response message (text).
[0951] Specific operation: The server returns the emotion recognition results to the chatbot, which then adjusts the response based on the results. The adjusted response message is sent to the device via the server and displayed to the user.
[0952] Step 8:
[0953] If the server detects a serious consultation that the chatbot cannot handle, it will send a notification to a specialist counselor.
[0954] Input: Consultation content, emotion recognition results.
[0955] Data processing: Evaluate the consultation content and emotion recognition results, and generate a notification if the situation is serious.
[0956] Output: Notification to professional counselor (text).
[0957] Specific operation: The server evaluates the received consultation content and emotion recognition results, and if it determines that the chatbot cannot handle the situation, it sends a notification message to a specialist counselor.
[0958] Step 9:
[0959] A specialist counselor will respond and engage in real-time dialogue with the user.
[0960] Input: Consultation content, emotion recognition results, and response message from the expert counselor.
[0961] Data processing: Response messages from expert consultants are sent to users in real time.
[0962] Output: Real-time dialogue message (text).
[0963] Specific operation: The expert counselor receives the notification and starts a dialogue with the user. The server receives the counselor's response message and sends it to the user in real time.
[0964] Through the above specific processing steps, the user can input a consultation, undergo emotion analysis, and receive appropriate support.
[0965] (Application example 2)
[0966] 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."
[0967] Online consultation platforms are required to provide an environment where users with worries or stress about food can easily seek advice, and to provide more adapted responses and suggestions by recognizing the user's emotions. However, conventional systems have difficulty accurately recognizing the user's emotions and providing appropriate responses, so this needs to be improved.
[0968] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 2 is realized by the following means.
[0969] In this invention, the server includes means for a user to access the online platform and input the consultation content, means for transmitting the input consultation content to the server and storing it in a database, means for a chatbot to generate a response based on the consultation content and display it to the user, means for notifying a professional counselor and escalating the consultation if a serious consultation content is detected, means for analyzing the user's input data and recognizing emotions, means for generating a response adapted to the recognized emotions, and means for making suggestions about food and meals based on the content of the dialogue with the user.This allows users to easily consult about their food-related worries and stress as if they were talking to a friend, and to receive responses and suggestions adapted to their emotions.
[0970] An "online platform" is a system that users access via the Internet to input, send, and receive information.
[0971] "Consultation content" refers to the information entered and sent in written or audio format about the worries or problems the user is facing.
[0972] "Server" means a computer system that receives, stores, processes information entered by a user, and generates a response as needed.
[0973] A "database" is a system that organizes and stores user information and consultation history that is managed and saved by a server.
[0974] A "chatbot" is a program that uses artificial intelligence to automatically interact with users and generate appropriate responses.
[0975] A "professional counselor" is a professional who uses specialized knowledge and skills to respond to and give advice on serious consultation matters.
[0976] "Escalation" refers to the process by which first responders hand over serious issues to specialists.
[0977] "Emotion recognition" is a technology that analyzes user input data and determines the user's emotional state.
[0978] "Emotionally adaptive responses" refer to empathetic and appropriate replies that are tailored to the user's emotional state.
[0979] "Food and diet suggestions" are advice on foods, drinks, and dietary habits recommended based on the user's concerns and emotional state.
[0980] MODE FOR CARRYING OUT THE INVENTION
[0981] This invention provides an environment where users can easily consult about food-related worries and stress through a food delivery application. This system is mainly composed of three components: a server, a terminal, and a user, and combines functions for emotion recognition and response generation.
[0982] Server Processing
[0983] User Data Management
[0984] When a user registers for the application, the server receives profile information (such as name, age, email address, and password) and stores it in a database. The server also manages the user's consultation history and past interaction data. This allows the server to provide support tailored to the individual consultation when the user accesses the application again.
[0985] Chatbot operation
[0986] When a user starts a consultation through a device, the server launches an AI-based chatbot to handle the initial consultation. The chatbot generates an appropriate response to the consultation content entered by the user and sends it to the device. The chatbot's response is generated based on the analysis of the user's consultation content and includes empathy and advice.
[0987] Operating the Emotion Engine
[0988] The server uses an emotion engine to analyze the consultation content entered by the user and recognize the user's emotions. The emotion engine evaluates the user's emotional state through text analysis and can adjust the chatbot's responses based on the results.
[0989] Collaboration with counselors
[0990] If a serious consultation that the chatbot cannot handle is input, or if the emotion engine detects a serious emotion, the server sends a notification to a professional counselor. When the counselor begins to respond, the server manages the communication session between the user and the counselor and securely sends and receives data.
[0991] Emotion-adaptive response generation and food suggestions
[0992] The server uses a generative AI model to generate empathetic responses based on the emotional results, and also makes appropriate food and meal suggestions based on the user's consultation and emotional state.
[0993] Terminal handling
[0994] Providing a user interface
[0995] The device provides a user-friendly interface. Screens are displayed for users to register, log in, and enter the details of their consultation. For example, the home screen has a "Consult" button that users can click to start a consultation.
[0996] Relaying data transmission and reception
[0997] The data entered by the user and the content of the consultation are sent from the device to the server. The chatbot's responses and messages from the counselor are also sent from the server to the device and displayed to the user in real time, ensuring a smooth dialogue.
[0998] User Activity
[0999] Starting and proceeding with the consultation
[1000] Users access the online platform through their device, perform initial registration and log in. After that, they click the "Consult" button on the home screen, enter their concerns and the details of their consultation, and send it.
[1001] Talking with a counselor
[1002] If the issue is serious and escalated to a counselor, or if the emotion engine detects a serious emotion, the user will have a real-time conversation with the counselor, who will understand the user's specific situation and provide appropriate advice and support.
[1003] Specific examples
[1004] Example 1: Initial consultation and emotion recognition
[1005] User: "I've been stressed lately and I don't have much of an appetite."
[1006] Terminal: Sends a message to the server.
[1007] Server (chatbot): The automated response is, "When you're stressed, you lose your appetite. What specifically causes you stress?"
[1008] Server (emotion engine): Recognizes the emotion of "sadness" from the user's input, and the response generation algorithm takes the emotion results into account to generate a more empathetic response.
[1009] Server (prompt using generated AI model):
[1010] User Input: "I've been stressed lately and I have no appetite."
[1011] Detected Emotion: "Sadness"
[1012] Generate a response that shows empathy and provides support.
[1013] Example 2: Counseling is needed
[1014] User: "I'm worried that this will have a negative impact on my health."
[1015] Terminal: Sends a message to the server.
[1016] Server (chatbot): "That's worrying. Are you taking any measures to protect your health?"
[1017] Server (emotion engine): Recognizes the emotion of "fear" from user input and determines the need for counseling.
[1018] Server: Determines that the chatbot cannot handle the situation and notifies a counselor.
[1019] Professional counselor: "Could you tell me specifically what you're worried about? Let's work together to find a solution."
[1020] Terminal: Displays the response from the counselor to the user.
[1021] The flow of the specific processing in the application example 2 will be described with reference to FIG.
[1022] Step 1:
[1023] User accesses online platform
[1024] A user launches a food delivery application and accesses the online platform. The user registers or logs in and enters their profile information (name, age, email address, password, etc.). The device sends the information to the server, which stores it in a database.
[1025] Input: User profile information
[1026] Output: Profile information is saved to the database
[1027] Step 2:
[1028] Start a consultation
[1029] The user clicks the "Consult" button on the home screen and enters the consultation content. The device then sends the entered consultation content to the server.
[1030] Input: Consultation details
[1031] Output: The consultation content is sent to the server
[1032] Step 3:
[1033] Chatbot initial response
[1034] When the server receives the consultation content, it launches an AI-based chatbot and begins initial consultation. The chatbot generates an appropriate response to the user's consultation content and sends it to the device. This response is generated using a generative AI model.
[1035] Input: Consultation details
[1036] Output: The initial response is generated and sent to the terminal
[1037] Step 4:
[1038] Analysis by emotion engine
[1039] The server analyzes the user's input and recognizes their emotions using an emotion engine. The emotion engine evaluates the user's emotional state through natural language processing (NLP) and passes the results to the generative AI model.
[1040] Input: Consultation details
[1041] Output: Recognized emotion result
[1042] Step 5:
[1043] Emotion-adaptive response generation
[1044] The server uses a generative AI model based on the recognized emotion results to generate an empathetic response, which is then sent to the device and displayed to the user.
[1045] Input: Recognized emotion result
[1046] Output: Emotionally adapted response
[1047] Step 6:
[1048] Food and dietary suggestions
[1049] The server also makes suitable food and meal suggestions based on the user's consultation and emotional state. The suggestions are generated using a generative AI model and sent to the device.
[1050] Input: Consultation content, emotional results
[1051] Output: Food and meal suggestions
[1052] Step 7:
[1053] Escalation of serious consultation matters
[1054] If the chatbot detects a serious problem that it cannot handle, or if the emotion engine detects a serious emotion (such as fear or despair), the server immediately notifies a professional counselor. When the counselor begins to respond, the server manages the communication session and securely sends and receives data between the user and counselor via the device.
[1055] Input: Serious consultation or serious emotional outcome
[1056] Output: Counselor notification, communication session initiated
[1057] Step 8:
[1058] Talking with a counselor
[1059] Users can talk to a professional counselor in real time about serious issues. The counselor understands the user's specific situation and provides appropriate advice and support. The device displays the counselor's responses to the user, ensuring a smooth dialogue.
[1060] Input: User's consultation details, counselor's advice
[1061] Output: Real-time conversation
[1062] In this way, through the specific actions taken at each processing step, users can easily consult about worries and stress related to food, receive responses and suggestions that are adapted to their emotions, and receive professional support if necessary.
[1063] 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.
[1064] 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.
[1065] 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.
[1066] [Third embodiment]
[1067] FIG. 5 shows an example of the configuration of a data processing system 310 according to the third embodiment.
[1068] 5, the data processing system 310 includes the data processing device 12 and a headset terminal 314. An example of the data processing device 12 is a server.
[1069] 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).
[1070] 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.
[1071] 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.
[1072] 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).
[1073] 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.
[1074] 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.
[1075] 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.
[1076] 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.
[1077] 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.
[1078] 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."
[1079] The online consultation platform of the present invention is a system that allows users to easily confide their concerns as if they were friends and receive appropriate support. This system mainly consists of three components: a server, a terminal, and a user.
[1080] Server Processing
[1081] User Data Management
[1082] When a user registers for the platform, the server receives the user's profile information (such as name, age, email address, and password) and stores it in a database. The server also manages the user's consultation history and past interaction data. This allows the user to receive support tailored to their individual needs when they access the platform again.
[1083] Chatbot operation
[1084] When a user starts a consultation through a device, the server launches an AI-based chatbot to handle the initial consultation. The chatbot generates an appropriate response to the consultation content entered by the user and sends it to the device. The chatbot's response is generated based on the analysis of the user's consultation content and includes empathy and advice.
[1085] Collaboration with counselors
[1086] If a serious consultation that the chatbot cannot handle is input, the server sends a notification to a professional counselor. When the counselor begins to handle the issue, the server manages the communication session between the user and the counselor and securely sends and receives data.
[1087] Terminal handling
[1088] Providing a user interface
[1089] The device provides a user-friendly interface. Screens are displayed for users to register, log in, and enter the details of their consultation. For example, the home screen has a "Consult" button that users can click to start a consultation.
[1090] Relaying data transmission and reception
[1091] The data entered by the user and the content of the consultation are sent from the device to the server. The chatbot's responses and messages from the counselor are also sent from the server to the device and displayed to the user in real time, ensuring a smooth dialogue.
[1092] User Activity
[1093] Starting and proceeding with the consultation
[1094] Users access the online platform through their device, perform initial registration and log in. After that, they click the "Consult" button on the home screen, enter their concerns and the details of their consultation, and send it.
[1095] Talking with a counselor
[1096] If the issue is serious and is escalated to a counselor, the user will have a real-time conversation with the counselor, who will understand the user's specific situation and provide appropriate advice and support.
[1097] Specific examples
[1098] Example 1: Initial consultation
[1099] User: "I've been having trouble with school lately and I don't have anyone to talk to."
[1100] Terminal: Sends a message to the server.
[1101] Server (chatbot): The automated response is, "School life is tough, isn't it? What are you particularly worried about?"
[1102] Example 2: Counseling is needed
[1103] User: "I'm scared to tell my parents how I feel."
[1104] Terminal: Sends a message to the server.
[1105] Server: Determines that the chatbot cannot handle the situation and notifies a counselor.
[1106] Professional Counselor: "I wonder why you're afraid to tell them? It would be helpful if you could tell me more about your situation."
[1107] Terminal: Displays the response from the counselor to the user.
[1108] The online consultation platform of the present invention is a practical system for resolving various mental health issues faced by children, providing an environment in which users can seek advice at their own pace and receive professional support.
[1109] The processing flow will be explained below.
[1110] Step 1:
[1111] A user accesses the online platform and opens the new registration screen. The user enters information such as name, age, email address, and password, and clicks the "Register" button.
[1112] Step 2:
[1113] The terminal transmits the input user information to the server.
[1114] Step 3:
[1115] The server verifies the received user information and stores it in a database. If the storage is successful, the server generates a registration completion message and returns it to the terminal.
[1116] Step 4:
[1117] The terminal displays a registration completion message to the user, and the user clicks the "Login" button.
[1118] Step 5:
[1119] The user enters their email address and password on the login screen and clicks the "Login" button.
[1120] Step 6:
[1121] The terminal transmits the input authentication information to the server.
[1122] Step 7:
[1123] The server verifies the authentication information and, if correct, generates a session token and returns it to the terminal.
[1124] Step 8:
[1125] The device saves the received session token and displays the home screen to the user, who then clicks the "Consult" button on the home screen.
[1126] Step 9:
[1127] The user enters the consultation content and clicks the "Send" button.
[1128] Step 10:
[1129] The terminal transmits the consultation content together with the session token to the server.
[1130] Step 11:
[1131] The server stores the received consultation content in a database and transmits the consultation content to the chatbot.
[1132] Step 12:
[1133] The server (chatbot) analyzes the consultation content and generates an appropriate response.
[1134] Step 13:
[1135] The server generates a response and sends it to the terminal.
[1136] Step 14:
[1137] The terminal displays the chatbot's response to the user.
[1138] Step 15:
[1139] The user checks the chatbot's response and clicks the "Send" button again if they want to enter additional consultation details.
[1140] Step 16:
[1141] If the consultation is serious or if it is determined that it is difficult for the chatbot to handle the issue, the server (chatbot) will send a notification to a professional counselor.
[1142] Step 17:
[1143] Professional counselors will be notified and will prepare a response.
[1144] Step 18:
[1145] The server generates a communication session between the counselor and the user and sends a notification of the start of the session to the terminal.
[1146] Step 19:
[1147] The terminal notifies the user that the counselor has started to respond.
[1148] Step 20:
[1149] The user and a professional counselor begin a real-time dialogue, and the counselor provides appropriate advice and support to address the user's concerns.
[1150] Step 21:
[1151] The server securely sends and receives messages between users and counselors and stores all data in a database.
[1152] The above steps create a system that allows users to seek advice through an online platform and receive support from professional counselors if necessary.
[1153] Example 1
[1154] 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."
[1155] In modern society, many people suffer from mental distress and stress, and an increasing number of people seek appropriate support. However, the process of directly speaking with a professional counselor can be complicated, and initial consultations can be time-consuming. In particular, there is a need for a system that allows users to easily start consultations at their own pace and receive professional support as needed.
[1156] 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.
[1157] In this invention, the server includes means for a user to access the online platform and input the consultation content, means for transmitting the input consultation content to the server and storing it in a database, means for the server to call an AI-based chatbot and generate a response based on the consultation content and display it to the user, means for notifying a professional counselor and escalating the consultation if a serious consultation content is detected, and means for the counselor to start a dialogue with the user after receiving the notification and for the server to manage the communication session and securely send and receive data, thereby enabling the user to easily start consultation at their own pace and receive professional support as needed.
[1158] An "online platform" is a software system that users can access over the Internet and use certain services.
[1159] "Consultation content" is information entered by the user on the platform that describes in detail the problem or concern.
[1160] A "server" is a computer system that manages and processes data on a network.
[1161] A "database" is a structured system for efficiently storing, retrieving, and managing large amounts of data.
[1162] An "AI-based chatbot" is a software program that uses artificial intelligence technology to automatically hold conversations.
[1163] A "response" is a message returned by a chatbot or counselor in response to a user's inquiry.
[1164] A "notification" is a message that informs other systems or people of important information.
[1165] A "counselor" is a qualified professional who provides expert advice and support for the user's consultation.
[1166] A "communication session" is a connection state in which a user and a counselor exchange data in real time.
[1167] A "user interface" is a part that provides a screen and operation method for a user to interact with a system.
[1168] "Escalation" is the process by which a problem or issue goes beyond the initial response and is passed on to a specialist.
[1169] The online consultation platform of the present invention is a system that allows users to easily confide their worries as if they were friends and receive appropriate support. This system mainly consists of three components: a server, a terminal, and a user.
[1170] Server Processing
[1171] Managing user data:
[1172] When a user registers for the platform, the server receives the user's profile information (such as name, age, email address, and password) and stores it in a database. Specifically, the server receives the data using an HTTP POST request and stores it in a relational database such as MySQL. The server also manages the user's consultation history and past interaction data, allowing it to provide support tailored to each individual consultation when the user accesses the platform again.
[1173] Chatbot operations:
[1174] When a user initiates a consultation through their device, the server launches an AI-based chatbot to handle the initial consultation. The chatbot uses a natural language processing model, such as GPT-3, to generate an appropriate response to the consultation content entered by the user. The server then sends this response to the device and displays it to the user.
[1175] Working with a counselor:
[1176] If a serious problem is detected, the server automatically notifies a professional counselor. This notification is done by means of email notification using the SMTP protocol, etc. When the counselor starts to respond, the server manages the communication session between the user and the counselor using a real-time communication protocol (e.g., WebSockets) and securely transmits and receives data using an encryption protocol (e.g., TLS).
[1177] Terminal handling
[1178] Providing a user interface:
[1179] The device provides a user-friendly interface. Screens are displayed for users to register, log in, and enter the details of their consultation. For example, the home screen has a "Consult" button that users can click to start a consultation. The interface is built using HTML5 and CSS, and includes interactive elements using JavaScript.
[1180] Data transmission and reception relay:
[1181] The data entered by the user and the content of the consultation are sent from the device to the server. The chatbot's responses and messages from the counselor are also sent from the server to the device and displayed to the user in real time. Specifically, the device communicates with the server using the HTTP / HTTPS protocol to send and receive data.
[1182] User Activity
[1183] Starting and running a consultation:
[1184] Users access the online platform through their device and perform initial registration and login. After that, they click the "Consult" button on the home screen, enter their concerns or questions, and send them. For example, they can enter a question such as, "I've been worried about school lately, and I can't talk to anyone about it."
[1185] Talk to a counselor:
[1186] If the consultation is serious and is escalated to a counselor, the user will have a real-time conversation with the counselor. The counselor will understand the user's specific situation and provide appropriate advice and support. For example, if a user says, "I'm afraid to tell my parents how I feel," the counselor will respond, "Why are you afraid to tell them? It would be helpful if you could tell me the specific situation."
[1187] Examples of concrete examples and prompts
[1188] Example 1: Initial consultation
[1189] User: "I've been having trouble with school lately and I don't have anyone to talk to."
[1190] Terminal: Sends a message to the server.
[1191] Server (chatbot): The automated response is, "School life is tough, isn't it? What are you particularly worried about?"
[1192] Example 2: Counseling is needed
[1193] User: "I'm scared to tell my parents how I feel."
[1194] Terminal: Sends a message to the server.
[1195] Server: Determines that the chatbot cannot handle the situation and notifies a counselor.
[1196] Professional Counselor: "I wonder why you're afraid to tell them? It would be helpful if you could tell me more about your situation."
[1197] Terminal: Displays the response from the counselor to the user.
[1198] In this way, the online consultation platform of the present invention is a system that allows users to start consultation at their own pace and receive professional support as needed.
[1199] The flow of the identification process in the first embodiment will be described with reference to FIG.
[1200] Step 1:
[1201] A user accesses an online platform through a terminal. On the new registration or login screen displayed on the terminal, the user enters the required information (such as name, age, email address, and password) and clicks the submit button. As input, the user's profile information is entered into a labeled form. The terminal sends this data to the server using an HTTP POST request, and the server receives the data and stores it in a database. The database management system (e.g., MySQL) stores the user information. As output, the server returns a success message to the terminal indicating that the data has been successfully saved, and the terminal displays this message to the user.
[1202] Step 2:
[1203] The user clicks the "Consult" button on the home screen. A text area where the user can enter the consultation content is displayed on the device. The user enters the consultation content and clicks the send button. The consultation content entered by the user is captured on the device as input. The device sends the consultation content to the server using an HTTP POST request, and the server saves the received consultation content in a database. As output, the server returns a response confirming receipt to the device, and the device displays a confirmation message.
[1204] Step 3:
[1205] The server passes the received consultation content to an AI-based chatbot. The server provides the text data of the user's consultation content to the chatbot API as the expected input. The chatbot uses a natural language processing algorithm (e.g., GPT-3) to generate an appropriate response. As output, the chatbot returns the generated response text, and the server retrieves the response.
[1206] Step 4:
[1207] The server sends the response obtained from the chatbot to the terminal. As input, the response text from the chatbot exists on the server. The server sends the response text to the terminal in an HTTP response, and the terminal displays this message to the user. As output, the user sees the chatbot's response on the screen.
[1208] Step 5:
[1209] The server monitors the consultation content and the chatbot's responses. If serious content is detected, the server automatically sends a notification to a professional counselor. As input, serious consultation content is filtered based on AI or a pre-defined keyword list. As output, the server sends a notification to the counselor via email using the SMTP protocol, and the counselor receives it.
[1210] Step 6:
[1211] The counselor accesses the platform through their device and checks the notified consultation content. As input, the counselor logs in and connects to the server. The server starts a real-time communication session using WebSockets, and the counselor replies to the user based on the consultation content. As output, the device receives the counselor's message and displays it to the user.
[1212] The above processing steps create a system in which a user can start an online consultation, an AI chatbot provides initial support, and then a professional counselor responds if necessary.
[1213] (Application example 1)
[1214] 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."
[1215] In modern society, many users suffer from mental anxieties and stress. Because they are unable to talk about these issues with friends or family and have limited access to professional support, these issues can develop into serious problems. There is also a need to protect the privacy of consultation content and provide prompt and appropriate responses. Furthermore, there is a growing need for an environment where users can safely seek advice while maintaining their anonymity. An efficient system that can address these issues is needed.
[1216] 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.
[1217] In this invention, the server includes a means for a user to access the online platform and input the consultation content, a means for transmitting the input consultation content to the server and storing it in a database, a means for a chatbot to generate a response using a generative AI model based on the consultation content and display it to the user, a means for notifying a professional counselor and escalating the consultation if a serious consultation content is detected, and a means for encrypting user data to ensure anonymity.This allows users to consult with peace of mind and receive prompt and appropriate support 24 hours a day, 365 days a year.
[1218] An "online platform" is a system that provides services over the Internet and that users can access and use.
[1219] "Consultation content" refers to specific information about the worries or problems the user is having.
[1220] A "generative AI model" refers to an artificial intelligence algorithm that generates language and answers based on large amounts of data.
[1221] A "chatbot" is a program that uses artificial intelligence to automatically interact with users.
[1222] A "counselor" is a qualified professional who provides expert advice and support to users.
[1223] "Escalating" refers to handing over a problem that cannot be handled to a person or system that can handle it more effectively.
[1224] "Encryption" is a method of converting data using a specific algorithm to prevent access or tampering by third parties.
[1225] "Anonymity" refers to a state in which information that can identify a user is not made public.
[1226] A "security assistant" is a support system that allows users to safely input their inquiries and receive responses.
[1227] "User Data" refers generally to information provided by users and data collected by the System.
[1228] A "smartphone" refers to a highly functional mobile phone that can connect to the Internet and run various applications in addition to making calls.
[1229] This invention provides an online consultation platform where users can easily confide their worries as if they were friends and receive appropriate support. This platform consists of three components: a server, a terminal, and a user.
[1230] Server Processing
[1231] User Data Management
[1232] When a user registers for the online platform, the server receives the user's profile information (such as name, age, email address, and password) and stores it in a database. The server also manages the consultation history and past interaction data entered by the user. This allows the server to provide support tailored to individual consultations when the user accesses the platform again.
[1233] Chatbot operation
[1234] When a user initiates a consultation through their device, the server launches a chatbot based on the generative AI model to handle the initial consultation. The chatbot generates an appropriate response to the consultation content entered by the user and sends it to the device. This generation process uses OpenAI's API, which handles natural language processing and generation. The chatbot's response is generated based on the analysis of the user's consultation content and includes empathy and advice.
[1235] Collaboration with counselors
[1236] If a serious consultation that the chatbot cannot handle is input, the server will send a notification to a professional counselor. When the counselor begins to handle the case, the server manages the communication session between the user and the counselor and securely sends and receives data. A cryptography library is used to encrypt the data, ensuring the user's anonymity.
[1237] Terminal handling
[1238] Providing a user interface
[1239] The device provides a user-friendly interface. Screens are displayed for users to register, log in, and enter the details of their consultation. For example, the home screen has a "Consult" button that users can click to start a consultation.
[1240] Relaying data transmission and reception
[1241] The data entered by the user and the content of the consultation are sent from the device to the server. The chatbot's responses and messages from the counselor are also sent from the server to the device and displayed to the user in real time, ensuring a smooth dialogue.
[1242] User Activity
[1243] Starting and proceeding with the consultation
[1244] Users access the online platform via their smartphone, perform initial registration and log in. After that, they click the "Consult" button on the home screen, enter their concerns and the details of their consultation, and send it.
[1245] Talking with a counselor
[1246] If the issue is serious and is escalated to a counselor, the user will have a real-time conversation with the counselor, who will understand the user's specific situation and provide appropriate advice and support.
[1247] Specific examples
[1248] Example 1: Initial consultation
[1249] User: "I've been having trouble with school lately and I don't have anyone to talk to."
[1250] Terminal: Sends a message to the server.
[1251] Server (chatbot): Returns an AI-generated response saying, "School life is tough, isn't it? What are your biggest worries?"
[1252] Example 2: Counseling is needed
[1253] User: "I'm scared to tell my parents how I feel."
[1254] Terminal: Sends a message to the server.
[1255] Server: Determines that the chatbot cannot handle the situation and notifies a counselor.
[1256] Counselor: "I wonder why you're afraid to tell me? It would be helpful if you could tell me more about your situation."
[1257] Terminal: Displays the response from the counselor to the user.
[1258] Prompt Sentence Examples
[1259] "I've been worried about school lately and I can't talk to anyone about it."
[1260] The flow of the specific processing in the application example 1 will be described with reference to FIG.
[1261] Step 1:
[1262] Initial registration and login
[1263] User: Visits the online platform and registers or logs in.
[1264] Input: Username, Age, Email Address, Password.
[1265] Data processing: Passwords are encrypted using the cryptography library.
[1266] Output: The home screen is displayed with a message that registration and login were successful.
[1267] Step 2:
[1268] Enter and submit your inquiry
[1269] User: Click the "Consult" button on the home screen and enter the details of your inquiry.
[1270] Input: The user's inquiry.
[1271] Data processing: The consultation content is converted into JSON format and sent to the server.
[1272] Output: Successful sending message.
[1273] Step 3:
[1274] Chatbot response generation
[1275] Server: Generates an appropriate response to the user's inquiry based on the generative AI model.
[1276] Input: The user's inquiry.
[1277] Data Calculation: Uses the OpenAI API to generate responses based on prompts.
[1278] Output: AI-generated response sentence.
[1279] Step 4:
[1280] Viewing the response
[1281] Terminal: Receives the response from the server and displays it to the user.
[1282] Input: Response from the server.
[1283] Output: The response text displayed on the screen.
[1284] Step 5:
[1285] Escalation Determination
[1286] Server: Detects serious inquiries that the chatbot cannot handle.
[1287] Input: User's consultation details and past consultation history.
[1288] Data calculation: An algorithm that evaluates the severity of the consultation.
[1289] Output: The result of the decision as to whether escalation is required.
[1290] Step 6:
[1291] Counselor Notification
[1292] Server: If escalation is deemed necessary, a notification is sent to a professional counselor.
[1293] Input: Judgment result and user's consultation.
[1294] Data calculation: Checking counselor availability and sending notifications.
[1295] Output: Notification to counselor.
[1296] Step 7:
[1297] Managing sessions and starting conversations
[1298] Server: Manages the communication session between the counselor and the user and securely transmits and receives data.
[1299] Input: Counselor and user IDs, consultation details.
[1300] Data processing: Communication data encryption and session management.
[1301] Output: A session between the counselor and the user is initiated.
[1302] Step 8:
[1303] Real-time dialogue
[1304] User and counselor: interact in real time throughout the session.
[1305] Input: Response from counselor, additional consultation details from user.
[1306] Output: Message exchange in real time.
[1307] 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.
[1308] The online consultation platform of the present invention is a system that allows users to confide their worries as easily as if they were friends and receive appropriate support. This system mainly consists of three components: a server, a terminal, and a user, and also includes an emotion engine that recognizes the user's emotions.
[1309] Server Processing
[1310] User Data Management
[1311] When a user registers for the platform, the server receives the user's profile information (such as name, age, email address, and password) and stores it in a database. The server also manages the user's consultation history and past interaction data. This allows the user to receive support tailored to their individual needs when they access the platform again.
[1312] Chatbot operation
[1313] When a user starts a consultation through a device, the server launches an AI-based chatbot to handle the initial consultation. The chatbot generates an appropriate response to the consultation content entered by the user and sends it to the device. The chatbot's response is generated based on the analysis of the user's consultation content and includes empathy and advice.
[1314] Operating the Emotion Engine
[1315] The server uses an emotion engine to analyze the consultation content entered by the user and recognize the user's emotions. The emotion engine evaluates the user's emotional state (e.g., tension, anger, sadness, etc.) through text analysis and can adjust the chatbot's response based on the results.
[1316] Collaboration with counselors
[1317] If a serious consultation that the chatbot cannot handle is input, or if the emotion engine detects a serious emotion, the server sends a notification to a professional counselor. When the counselor begins to respond, the server manages the communication session between the user and the counselor and securely sends and receives data.
[1318] Terminal handling
[1319] Providing a user interface
[1320] The device provides a user-friendly interface. Screens are displayed for users to register, log in, and enter the details of their consultation. For example, the home screen has a "Consult" button that users can click to start a consultation.
[1321] Relaying data transmission and reception
[1322] The data entered by the user and the content of the consultation are sent from the device to the server. The chatbot's responses and messages from the counselor are also sent from the server to the device and displayed to the user in real time, ensuring a smooth dialogue.
[1323] User Activity
[1324] Starting and proceeding with the consultation
[1325] Users access the online platform through their device, perform initial registration and log in. After that, they click the "Consult" button on the home screen, enter their concerns and the details of their consultation, and send it.
[1326] Talking with a counselor
[1327] If the issue is serious and escalated to a counselor, or if the emotion engine detects a serious emotion, the user will have a real-time conversation with the counselor, who will understand the user's specific situation and provide appropriate advice and support.
[1328] Specific examples
[1329] Example 1: Initial consultation and emotion recognition
[1330] User: "I've been having trouble with school lately and I don't have anyone to talk to."
[1331] Terminal: Sends a message to the server.
[1332] Server (chatbot): The automated response is, "School life is tough, isn't it? What are you particularly worried about?"
[1333] Server (Emotion Engine): Recognizes the emotion "sadness" from user input. The response generation algorithm takes the emotion results into account and generates a more empathetic response.
[1334] Example 2: Counseling is needed
[1335] User: "I'm scared to tell my parents how I feel."
[1336] Terminal: Sends a message to the server.
[1337] Server (chatbot): Responds, "Why are you afraid to tell me?"
[1338] Server (emotion engine): Recognizes the emotion of "fear" from user input and determines the need for counseling.
[1339] Server: Determines that the chatbot cannot handle the situation and notifies a counselor.
[1340] Professional counselor: "Why are you afraid to tell me? It would be helpful if you could tell me more about your situation."
[1341] Terminal: Displays the response from the counselor to the user.
[1342] As a result, the online consultation platform of the present invention provides a practical and advanced system for resolving various mental health issues faced by children, creating an environment in which users can seek advice at their own pace and receive professional support.
[1343] The processing flow will be explained below.
[1344] Step 1:
[1345] A user accesses the online platform and opens the new registration screen. The user enters information such as name, age, email address, and password, and clicks the "Register" button.
[1346] Step 2:
[1347] The terminal transmits the input user information to the server.
[1348] Step 3:
[1349] The server verifies the received user information and stores it in a database. If the storage is successful, the server generates a registration completion message and returns it to the terminal.
[1350] Step 4:
[1351] The terminal displays a registration completion message to the user, and the user clicks the "Login" button.
[1352] Step 5:
[1353] The user enters their email address and password on the login screen and clicks the "Login" button.
[1354] Step 6:
[1355] The terminal transmits the input authentication information to the server.
[1356] Step 7:
[1357] The server verifies the authentication information and, if correct, generates a session token and returns it to the terminal.
[1358] Step 8:
[1359] The device saves the received session token and displays the home screen to the user, who then clicks the "Consult" button on the home screen.
[1360] Step 9:
[1361] The user enters the consultation content and clicks the "Send" button.
[1362] Step 10:
[1363] The terminal transmits the consultation content together with the session token to the server.
[1364] Step 11:
[1365] The server stores the received consultation contents in a database and transmits the consultation contents to the emotion engine.
[1366] Step 12:
[1367] The server (emotion engine) recognizes the user's emotions (e.g., sadness, fear, anger) through text analysis and sends the results to the chatbot.
[1368] Step 13:
[1369] The server (chatbot) generates a response appropriate to the consultation content based on the emotional results obtained from the emotion engine. The chatbot generates a response that includes empathetic words and specific advice.
[1370] Step 14:
[1371] The server generates a response and sends it to the terminal.
[1372] Step 15:
[1373] The terminal displays the chatbot's response to the user.
[1374] Step 16:
[1375] If the user's emotions are recognized as serious or if the consultation content is difficult for the chatbot to handle, the server (emotion engine) will send a notification to a professional counselor.
[1376] Step 17:
[1377] Professional counselors will be notified and will prepare a response.
[1378] Step 18:
[1379] The server generates a communication session between the counselor and the user and sends a notification of the start of the session to the terminal.
[1380] Step 19:
[1381] The terminal notifies the user that the counselor has started to respond.
[1382] Step 20:
[1383] The user and a professional counselor begin a real-time dialogue, and the counselor provides appropriate advice and support to address the user's concerns.
[1384] Step 21:
[1385] The server securely sends and receives messages between users and counselors and stores all data in a database.
[1386] The above steps have resulted in a system that allows users to seek advice through an online platform and receive support from an emotion engine and professional counselors as needed.
[1387] Example 2
[1388] 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."
[1389] Conventional online consultation platforms have problems in that even when users input their consultation content, it is difficult to properly detect and respond to changes in their emotions, and they are unable to respond quickly to serious consultation content. As a result, users often do not receive satisfactory support. The present invention aims to solve these problems and provide an online consultation platform that provides users with faster and more appropriate support.
[1390] The identification process by the identification processing unit 290 of the data processing device 12 in Example 2 is realized by the following means. In this invention, the server includes a means for a user to access an online platform and input the consultation content, a means for transmitting the input consultation content to the server and storing it in a database, a means for a chatbot to generate a response based on the consultation content and display it to the user, a means for recognizing the user's emotions using an emotion analysis engine and adjusting the response content, and a means for notifying a professional counselor and escalating the consultation when a serious consultation content is detected. This enables an appropriate response according to the user's emotional state and a quick response to serious consultation content.
[1391] An "online platform" is a system that users can access via the Internet and use various operations and services.
[1392] A "server" is a computer system that receives data sent by users, processes the data, and sends the data to other components as needed.
[1393] "User" means an individual who accesses the Online Platform and uses the Services.
[1394] "Consultation content" refers to the content of the worries or consultations that users input into the online platform.
[1395] A "database" is a system for organizing and storing information so that it can be searched and updated later.
[1396] A "chatbot" is a program that uses AI technology to automatically converse with users.
[1397] A "response" is a message that a chatbot generates in response to input from a user and provides to the user.
[1398] An "emotion analysis engine" is a technology or program that analyzes user input and recognizes the user's emotional state from that content.
[1399] A "specialized counselor" is a counselor or advisor with the specialized knowledge to deal with the user's serious consultation issues.
[1400] A "notification" is a message sent by the system to inform other components or people when a certain condition is met.
[1401] "Escalation" is a procedure for passing on difficult situations or serious consultation matters to a higher-ranking person or a specialized counselor.
[1402] A "user interface" is an interface, such as a screen or input field, that allows a user to interact with a system.
[1403] A "session" is a unit of a series of interactions and data exchanges between a user and a system.
[1404] A "communication session" is a data transmission / reception session for real-time interaction between a user and a counselor.
[1405] This invention is a system that allows users to access an online platform, input their concerns, and receive support. This system is mainly composed of three components: a server, a terminal, and a user, and also includes an emotion analysis engine that recognizes the user's emotions.
[1406] First, the user accesses the online platform and inputs their concerns or questions. An easy-to-use screen is provided as the user interface, using a web browser or mobile application. For example, a "Consult" button is displayed on the home screen, and the user clicks to begin the consultation. The consultation details entered by the user are sent from the device to the server.
[1407] The server stores the information entered by the user in a database. Specifically, it manages the user's profile information (name, age, email address, password, etc.), consultation history, and past communication data. This data management makes it possible to provide optimal support for individual consultations when the user accesses the site again.
[1408] Next, the server launches an AI-based chatbot to handle the initial consultation. The chatbot generates an appropriate response to the consultation content entered by the user and sends it to the device. Specific technologies used include the natural language processing library "NLTK" and generative AI models (e.g., GPT-3). The chatbot generates a response that includes empathy and advice based on the analysis of the user's consultation content.
[1409] The server also uses an emotion analysis engine to analyze the consultation content entered by the user and recognize the user's emotions. The emotion analysis engine evaluates the user's emotional state (e.g., tension, anger, sadness, etc.) through text analysis and can adjust the chatbot's response based on the results. For example, if a user enters, "I've been worried about school lately and I can't talk to anyone about it," the emotion analysis engine will recognize the emotion of "sadness" and generate a more empathetic response.
[1410] When a serious consultation that the chatbot cannot handle is input, or when the emotion analysis engine detects a serious emotion, the server sends a notification to a specialized counselor. Once the counselor begins to respond, the server manages the communication session between the user and the counselor, sending and receiving data securely. This communication session management creates an environment where users can consult with counselors with peace of mind.
[1411] A concrete example would be the following consultation and response scenario:
[1412] Example 1: Initial consultation and emotion recognition
[1413] User: "I've been having trouble with school lately and I don't have anyone to talk to."
[1414] Terminal: Sends a message to the server.
[1415] Server (chatbot): The automated response is, "School life is tough, isn't it? What are you particularly worried about?"
[1416] Server (emotion analysis engine): Recognizes the emotion "sadness" from user input. The response generation algorithm takes the emotion results into account and generates a more empathetic response.
[1417] Example 2: Counseling is needed
[1418] User: "I'm scared to tell my parents how I feel."
[1419] Terminal: Sends a message to the server.
[1420] Server (chatbot): Responds, "Why are you afraid to tell me?"
[1421] Server (emotion analysis engine): Recognizes the emotion of "fear" from user input, and determines the need for counseling.
[1422] Server: Determines that the chatbot cannot handle the situation and notifies a specialist counselor.
[1423] Specialist counselor: "Why are you afraid to tell me? It would be helpful if you could tell me more about your specific situation."
[1424] Terminal: Displays the response from the counselor to the user.
[1425] Examples of prompts include:
[1426] Consultation content: "I've been worried about school lately, and I can't talk to anyone about it."
[1427] Prompt: "The user says they've been struggling with school lately and don't have anyone to talk to. In this case, generate an initial response that offers empathy and support."
[1428] The system allows users to proceed with consultations at their own pace and receive professional support.
[1429] The flow of the identification process in the second embodiment will be described with reference to FIG.
[1430] Step 1:
[1431] A user accesses an online platform and registers. The information the user enters into the registration form includes name, age, email address, password, etc.
[1432] Input: Name, Age, Email Address, Password.
[1433] Data processing: The entered information is sent to the server and stored in the database.
[1434] Output: The new user's profile is created in the database.
[1435] Specific behavior: The user enters information into the registration form and clicks the submit button. The device sends this information to the server, which stores it in a database.
[1436] Step 2:
[1437] The user enters their login information on the login screen and logs in. The server verifies and approves this.
[1438] Enter your email address and password.
[1439] Data processing: Verification and authentication of input information against information in the database.
[1440] Output: User dashboard is displayed based on the authentication result.
[1441] Specific operation: The user enters their email address and password into the login form and clicks the login button. The device sends the entered information to the server, which then authenticates it by checking the database. If authentication is successful, the user's dashboard is displayed.
[1442] Step 3:
[1443] The user clicks the "Consult" button, enters the consultation content, and submits it.
[1444] Input: Consultation content (text).
[1445] Data processing: Send the consultation details to the server.
[1446] Output: The consultation received by the server.
[1447] Specific operation: The user clicks the "Consult" button on the dashboard screen, enters the consultation content in the displayed input field, and clicks the send button, causing the device to send the input content to the server.
[1448] Step 4:
[1449] The server stores the received consultation details in a database.
[1450] Input: Consultation content (text).
[1451] Data processing: Consultation details are saved in a database.
[1452] Output: The consultation details are stored in the database.
[1453] Specific operation: The server receives the consultation content sent by the user and saves it in the database.
[1454] Step 5:
[1455] The server launches an AI-based chatbot to handle initial inquiries.
[1456] Input: Consultation content (text).
[1457] Data processing: The chatbot analyzes the consultation content and generates an appropriate response.
[1458] Output: Response message (text).
[1459] Specific operation: The server passes the consultation content to the chatbot, which performs natural language processing to generate a response message and return it to the server. The server then sends this to the device and displays it to the user.
[1460] Step 6:
[1461] The server uses an emotion analysis engine to analyze the content of the user's consultation.
[1462] Input: Consultation content (text).
[1463] Data processing: The sentiment analysis engine recognizes emotions and obtains the results.
[1464] Output: Emotion recognition result (emotional state).
[1465] Specific operation: The server passes the consultation content to the emotion analysis engine, which analyzes the text and recognizes the emotional state (e.g., "sadness"), and returns the analysis results to the server.
[1466] Step 7:
[1467] The server adjusts the chatbot's responses based on the results of the emotion analysis.
[1468] Input: Emotion recognition results, consultation content.
[1469] Data processing: The response generation algorithm takes emotion recognition results into account and adjusts the response content.
[1470] Output: The tailored response message (text).
[1471] Specific operation: The server returns the emotion recognition results to the chatbot, which then adjusts the response based on the results. The adjusted response message is sent to the device via the server and displayed to the user.
[1472] Step 8:
[1473] If the server detects a serious consultation that the chatbot cannot handle, it will send a notification to a specialist counselor.
[1474] Input: Consultation content, emotion recognition results.
[1475] Data processing: Evaluate the consultation content and emotion recognition results, and generate a notification if the situation is serious.
[1476] Output: Notification to professional counselor (text).
[1477] Specific operation: The server evaluates the received consultation content and emotion recognition results, and if it determines that the chatbot cannot handle the situation, it sends a notification message to a specialist counselor.
[1478] Step 9:
[1479] A specialist counselor will respond and engage in real-time dialogue with the user.
[1480] Input: Consultation content, emotion recognition results, and response message from the expert counselor.
[1481] Data processing: Response messages from expert consultants are sent to users in real time.
[1482] Output: Real-time dialogue message (text).
[1483] Specific operation: The expert counselor receives the notification and starts a dialogue with the user. The server receives the counselor's response message and sends it to the user in real time.
[1484] Through the above specific processing steps, the user can input a consultation, undergo emotion analysis, and receive appropriate support.
[1485] (Application example 2)
[1486] 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."
[1487] Online consultation platforms are required to provide an environment where users with worries or stress about food can easily seek advice, and to provide more adapted responses and suggestions by recognizing the user's emotions. However, conventional systems have difficulty accurately recognizing the user's emotions and providing appropriate responses, so this needs to be improved.
[1488] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 2 is realized by the following means.
[1489] In this invention, the server includes means for a user to access the online platform and input the consultation content, means for transmitting the input consultation content to the server and storing it in a database, means for a chatbot to generate a response based on the consultation content and display it to the user, means for notifying a professional counselor and escalating the consultation if a serious consultation content is detected, means for analyzing the user's input data and recognizing emotions, means for generating a response adapted to the recognized emotions, and means for making suggestions about food and meals based on the content of the dialogue with the user.This allows users to easily consult about their food-related worries and stress as if they were talking to a friend, and to receive responses and suggestions adapted to their emotions.
[1490] An "online platform" is a system that users access via the Internet to input, send, and receive information.
[1491] "Consultation content" refers to the information entered and sent in written or audio format about the worries or problems the user is facing.
[1492] "Server" means a computer system that receives, stores, processes information entered by a user, and generates a response as needed.
[1493] A "database" is a system that organizes and stores user information and consultation history that is managed and saved by a server.
[1494] A "chatbot" is a program that uses artificial intelligence to automatically interact with users and generate appropriate responses.
[1495] A "professional counselor" is a professional who uses specialized knowledge and skills to respond to and give advice on serious consultation matters.
[1496] "Escalation" refers to the process by which first responders hand over serious issues to specialists.
[1497] "Emotion recognition" is a technology that analyzes user input data and determines the user's emotional state.
[1498] "Emotionally adaptive responses" refer to empathetic and appropriate replies that are tailored to the user's emotional state.
[1499] "Food and diet suggestions" are advice on foods, drinks, and dietary habits recommended based on the user's concerns and emotional state.
[1500] MODE FOR CARRYING OUT THE INVENTION
[1501] This invention provides an environment where users can easily consult about food-related worries and stress through a food delivery application. This system is mainly composed of three components: a server, a terminal, and a user, and combines functions for emotion recognition and response generation.
[1502] Server Processing
[1503] User Data Management
[1504] When a user registers for the application, the server receives profile information (such as name, age, email address, and password) and stores it in a database. The server also manages the user's consultation history and past interaction data. This allows the server to provide support tailored to the individual consultation when the user accesses the application again.
[1505] Chatbot operation
[1506] When a user starts a consultation through a device, the server launches an AI-based chatbot to handle the initial consultation. The chatbot generates an appropriate response to the consultation content entered by the user and sends it to the device. The chatbot's response is generated based on the analysis of the user's consultation content and includes empathy and advice.
[1507] Operating the Emotion Engine
[1508] The server uses an emotion engine to analyze the consultation content entered by the user and recognize the user's emotions. The emotion engine evaluates the user's emotional state through text analysis and can adjust the chatbot's responses based on the results.
[1509] Collaboration with counselors
[1510] If a serious consultation that the chatbot cannot handle is input, or if the emotion engine detects a serious emotion, the server sends a notification to a professional counselor. When the counselor begins to respond, the server manages the communication session between the user and the counselor and securely sends and receives data.
[1511] Emotion-adaptive response generation and food suggestions
[1512] The server uses a generative AI model to generate empathetic responses based on the emotional results, and also makes appropriate food and meal suggestions based on the user's consultation and emotional state.
[1513] Terminal handling
[1514] Providing a user interface
[1515] The device provides a user-friendly interface. Screens are displayed for users to register, log in, and enter the details of their consultation. For example, the home screen has a "Consult" button that users can click to start a consultation.
[1516] Relaying data transmission and reception
[1517] The data entered by the user and the content of the consultation are sent from the device to the server. The chatbot's responses and messages from the counselor are also sent from the server to the device and displayed to the user in real time, ensuring a smooth dialogue.
[1518] User Activity
[1519] Starting and proceeding with the consultation
[1520] Users access the online platform through their device, perform initial registration and log in. After that, they click the "Consult" button on the home screen, enter their concerns and the details of their consultation, and send it.
[1521] Talking with a counselor
[1522] If the issue is serious and escalated to a counselor, or if the emotion engine detects a serious emotion, the user will have a real-time conversation with the counselor, who will understand the user's specific situation and provide appropriate advice and support.
[1523] Specific examples
[1524] Example 1: Initial consultation and emotion recognition
[1525] User: "I've been stressed lately and I don't have much of an appetite."
[1526] Terminal: Sends a message to the server.
[1527] Server (chatbot): The automated response is, "When you're stressed, you lose your appetite. What specifically causes you stress?"
[1528] Server (emotion engine): Recognizes the emotion of "sadness" from the user's input, and the response generation algorithm takes the emotion results into account to generate a more empathetic response.
[1529] Server (prompt using generated AI model):
[1530] User Input: "I've been stressed lately and I have no appetite."
[1531] Detected Emotion: "Sadness"
[1532] Generate a response that shows empathy and provides support.
[1533] Example 2: Counseling is needed
[1534] User: "I'm worried that this will have a negative impact on my health."
[1535] Terminal: Sends a message to the server.
[1536] Server (chatbot): "That's worrying. Are you taking any measures to protect your health?"
[1537] Server (emotion engine): Recognizes the emotion of "fear" from user input and determines the need for counseling.
[1538] Server: Determines that the chatbot cannot handle the situation and notifies a counselor.
[1539] Professional counselor: "Could you tell me specifically what you're worried about? Let's work together to find a solution."
[1540] Terminal: Displays the response from the counselor to the user.
[1541] The flow of the specific processing in the application example 2 will be described with reference to FIG.
[1542] Step 1:
[1543] User accesses online platform
[1544] A user launches a food delivery application and accesses the online platform. The user registers or logs in and enters their profile information (name, age, email address, password, etc.). The device sends the information to the server, which stores it in a database.
[1545] Input: User profile information
[1546] Output: Profile information is saved to the database
[1547] Step 2:
[1548] Start a consultation
[1549] The user clicks the "Consult" button on the home screen and enters the consultation content. The device then sends the entered consultation content to the server.
[1550] Input: Consultation details
[1551] Output: The consultation content is sent to the server
[1552] Step 3:
[1553] Chatbot initial response
[1554] When the server receives the consultation content, it launches an AI-based chatbot and begins initial consultation. The chatbot generates an appropriate response to the user's consultation content and sends it to the device. This response is generated using a generative AI model.
[1555] Input: Consultation details
[1556] Output: The initial response is generated and sent to the terminal
[1557] Step 4:
[1558] Analysis by emotion engine
[1559] The server analyzes the user's input and recognizes their emotions using an emotion engine. The emotion engine evaluates the user's emotional state through natural language processing (NLP) and passes the results to the generative AI model.
[1560] Input: Consultation details
[1561] Output: Recognized emotion result
[1562] Step 5:
[1563] Emotion-adaptive response generation
[1564] The server uses a generative AI model based on the recognized emotion results to generate an empathetic response, which is then sent to the device and displayed to the user.
[1565] Input: Recognized emotion result
[1566] Output: Emotionally adapted response
[1567] Step 6:
[1568] Food and dietary suggestions
[1569] The server also makes suitable food and meal suggestions based on the user's consultation and emotional state. The suggestions are generated using a generative AI model and sent to the device.
[1570] Input: Consultation content, emotional results
[1571] Output: Food and meal suggestions
[1572] Step 7:
[1573] Escalation of serious consultation matters
[1574] If the chatbot detects a serious problem that it cannot handle, or if the emotion engine detects a serious emotion (such as fear or despair), the server immediately notifies a professional counselor. When the counselor begins to respond, the server manages the communication session and securely sends and receives data between the user and counselor via the device.
[1575] Input: Serious consultation or serious emotional outcome
[1576] Output: Counselor notification, communication session initiated
[1577] Step 8:
[1578] Talking with a counselor
[1579] Users can talk to a professional counselor in real time about serious issues. The counselor understands the user's specific situation and provides appropriate advice and support. The device displays the counselor's responses to the user, ensuring a smooth dialogue.
[1580] Input: User's consultation details, counselor's advice
[1581] Output: Real-time conversation
[1582] In this way, through the specific actions taken at each processing step, users can easily consult about worries and stress related to food, receive responses and suggestions that are adapted to their emotions, and receive professional support if necessary.
[1583] 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.
[1584] 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.
[1585] 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.
[1586] [Fourth embodiment]
[1587] FIG. 7 shows an example of the configuration of a data processing system 410 according to the fourth embodiment.
[1588] 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.
[1589] 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).
[1590] 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.
[1591] 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.
[1592] 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).
[1593] 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.
[1594] 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.
[1595] 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.
[1596] 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.
[1597] 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.
[1598] 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.
[1599] 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."
[1600] The online consultation platform of the present invention is a system that allows users to easily confide their concerns as if they were friends and receive appropriate support. This system mainly consists of three components: a server, a terminal, and a user.
[1601] Server Processing
[1602] User Data Management
[1603] When a user registers for the platform, the server receives the user's profile information (such as name, age, email address, and password) and stores it in a database. The server also manages the user's consultation history and past interaction data. This allows the user to receive support tailored to their individual needs when they access the platform again.
[1604] Chatbot operation
[1605] When a user starts a consultation through a device, the server launches an AI-based chatbot to handle the initial consultation. The chatbot generates an appropriate response to the consultation content entered by the user and sends it to the device. The chatbot's response is generated based on the analysis of the user's consultation content and includes empathy and advice.
[1606] Collaboration with counselors
[1607] If a serious consultation that the chatbot cannot handle is input, the server sends a notification to a professional counselor. When the counselor begins to handle the issue, the server manages the communication session between the user and the counselor and securely sends and receives data.
[1608] Terminal handling
[1609] Providing a user interface
[1610] The device provides a user-friendly interface. Screens are displayed for users to register, log in, and enter the details of their consultation. For example, the home screen has a "Consult" button that users can click to start a consultation.
[1611] Relaying data transmission and reception
[1612] The data entered by the user and the content of the consultation are sent from the device to the server. The chatbot's responses and messages from the counselor are also sent from the server to the device and displayed to the user in real time, ensuring a smooth dialogue.
[1613] User Activity
[1614] Starting and proceeding with the consultation
[1615] Users access the online platform through their device, perform initial registration and log in. After that, they click the "Consult" button on the home screen, enter their concerns and the details of their consultation, and send it.
[1616] Talking with a counselor
[1617] If the issue is serious and is escalated to a counselor, the user will have a real-time conversation with the counselor, who will understand the user's specific situation and provide appropriate advice and support.
[1618] Specific examples
[1619] Example 1: Initial consultation
[1620] User: "I've been having trouble with school lately and I don't have anyone to talk to."
[1621] Terminal: Sends a message to the server.
[1622] Server (chatbot): The automated response is, "School life is tough, isn't it? What are you particularly worried about?"
[1623] Example 2: Counseling is needed
[1624] User: "I'm scared to tell my parents how I feel."
[1625] Terminal: Sends a message to the server.
[1626] Server: Determines that the chatbot cannot handle the situation and notifies a counselor.
[1627] Professional Counselor: "I wonder why you're afraid to tell them? It would be helpful if you could tell me more about your situation."
[1628] Terminal: Displays the response from the counselor to the user.
[1629] The online consultation platform of the present invention is a practical system for resolving various mental health issues faced by children, providing an environment in which users can seek advice at their own pace and receive professional support.
[1630] The processing flow will be explained below.
[1631] Step 1:
[1632] A user accesses the online platform and opens the new registration screen. The user enters information such as name, age, email address, and password, and clicks the "Register" button.
[1633] Step 2:
[1634] The terminal transmits the input user information to the server.
[1635] Step 3:
[1636] The server verifies the received user information and stores it in a database. If the storage is successful, the server generates a registration completion message and returns it to the terminal.
[1637] Step 4:
[1638] The terminal displays a registration completion message to the user, and the user clicks the "Login" button.
[1639] Step 5:
[1640] The user enters their email address and password on the login screen and clicks the "Login" button.
[1641] Step 6:
[1642] The terminal transmits the input authentication information to the server.
[1643] Step 7:
[1644] The server verifies the authentication information and, if correct, generates a session token and returns it to the terminal.
[1645] Step 8:
[1646] The device saves the received session token and displays the home screen to the user, who then clicks the "Consult" button on the home screen.
[1647] Step 9:
[1648] The user enters the consultation content and clicks the "Send" button.
[1649] Step 10:
[1650] The terminal transmits the consultation content together with the session token to the server.
[1651] Step 11:
[1652] The server stores the received consultation content in a database and transmits the consultation content to the chatbot.
[1653] Step 12:
[1654] The server (chatbot) analyzes the consultation content and generates an appropriate response.
[1655] Step 13:
[1656] The server generates a response and sends it to the terminal.
[1657] Step 14:
[1658] The terminal displays the chatbot's response to the user.
[1659] Step 15:
[1660] The user checks the chatbot's response and clicks the "Send" button again if they want to enter additional consultation details.
[1661] Step 16:
[1662] If the consultation is serious or if it is determined that it is difficult for the chatbot to handle the issue, the server (chatbot) will send a notification to a professional counselor.
[1663] Step 17:
[1664] Professional counselors will be notified and will prepare a response.
[1665] Step 18:
[1666] The server generates a communication session between the counselor and the user and sends a notification of the start of the session to the terminal.
[1667] Step 19:
[1668] The terminal notifies the user that the counselor has started to respond.
[1669] Step 20:
[1670] The user and a professional counselor begin a real-time dialogue, and the counselor provides appropriate advice and support to address the user's concerns.
[1671] Step 21:
[1672] The server securely sends and receives messages between users and counselors and stores all data in a database.
[1673] The above steps create a system that allows users to seek advice through an online platform and receive support from professional counselors if necessary.
[1674] Example 1
[1675] 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."
[1676] In modern society, many people suffer from mental distress and stress, and an increasing number of people seek appropriate support. However, the process of directly speaking with a professional counselor can be complicated, and initial consultations can be time-consuming. In particular, there is a need for a system that allows users to easily start consultations at their own pace and receive professional support as needed.
[1677] 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.
[1678] In this invention, the server includes means for a user to access the online platform and input the consultation content, means for transmitting the input consultation content to the server and storing it in a database, means for the server to call an AI-based chatbot and generate a response based on the consultation content and display it to the user, means for notifying a professional counselor and escalating the consultation if a serious consultation content is detected, and means for the counselor to start a dialogue with the user after receiving the notification and for the server to manage the communication session and securely send and receive data, thereby enabling the user to easily start consultation at their own pace and receive professional support as needed.
[1679] An "online platform" is a software system that users can access over the Internet and use certain services.
[1680] "Consultation content" is information entered by the user on the platform that describes in detail the problem or concern.
[1681] A "server" is a computer system that manages and processes data on a network.
[1682] A "database" is a structured system for efficiently storing, retrieving, and managing large amounts of data.
[1683] An "AI-based chatbot" is a software program that uses artificial intelligence technology to automatically hold conversations.
[1684] A "response" is a message returned by a chatbot or counselor in response to a user's inquiry.
[1685] A "notification" is a message that informs other systems or people of important information.
[1686] A "counselor" is a qualified professional who provides expert advice and support for the user's consultation.
[1687] A "communication session" is a connection state in which a user and a counselor exchange data in real time.
[1688] A "user interface" is a part that provides a screen and operation method for a user to interact with a system.
[1689] "Escalation" is the process by which a problem or issue goes beyond the initial response and is passed on to a specialist.
[1690] The online consultation platform of the present invention is a system that allows users to easily confide their worries as if they were friends and receive appropriate support. This system mainly consists of three components: a server, a terminal, and a user.
[1691] Server Processing
[1692] Managing user data:
[1693] When a user registers for the platform, the server receives the user's profile information (such as name, age, email address, and password) and stores it in a database. Specifically, the server receives the data using an HTTP POST request and stores it in a relational database such as MySQL. The server also manages the user's consultation history and past interaction data, allowing it to provide support tailored to each individual consultation when the user accesses the platform again.
[1694] Chatbot operations:
[1695] When a user initiates a consultation through their device, the server launches an AI-based chatbot to handle the initial consultation. The chatbot uses a natural language processing model, such as GPT-3, to generate an appropriate response to the consultation content entered by the user. The server then sends this response to the device and displays it to the user.
[1696] Working with a counselor:
[1697] If a serious problem is detected, the server automatically notifies a professional counselor. This notification is done by means of email notification using the SMTP protocol, etc. When the counselor starts to respond, the server manages the communication session between the user and the counselor using a real-time communication protocol (e.g., WebSockets) and securely transmits and receives data using an encryption protocol (e.g., TLS).
[1698] Terminal handling
[1699] Providing a user interface:
[1700] The device provides a user-friendly interface. Screens are displayed for users to register, log in, and enter the details of their consultation. For example, the home screen has a "Consult" button that users can click to start a consultation. The interface is built using HTML5 and CSS, and includes interactive elements using JavaScript.
[1701] Data transmission and reception relay:
[1702] The data entered by the user and the content of the consultation are sent from the device to the server. The chatbot's responses and messages from the counselor are also sent from the server to the device and displayed to the user in real time. Specifically, the device communicates with the server using the HTTP / HTTPS protocol to send and receive data.
[1703] User Activity
[1704] Starting and running a consultation:
[1705] Users access the online platform through their device and perform initial registration and login. After that, they click the "Consult" button on the home screen, enter their concerns or questions, and send them. For example, they can enter a question such as, "I've been worried about school lately, and I can't talk to anyone about it."
[1706] Talk to a counselor:
[1707] If the consultation is serious and is escalated to a counselor, the user will have a real-time conversation with the counselor. The counselor will understand the user's specific situation and provide appropriate advice and support. For example, if a user says, "I'm afraid to tell my parents how I feel," the counselor will respond, "Why are you afraid to tell them? It would be helpful if you could tell me the specific situation."
[1708] Examples of concrete examples and prompts
[1709] Example 1: Initial consultation
[1710] User: "I've been having trouble with school lately and I don't have anyone to talk to."
[1711] Terminal: Sends a message to the server.
[1712] Server (chatbot): The automated response is, "School life is tough, isn't it? What are you particularly worried about?"
[1713] Example 2: Counseling is needed
[1714] User: "I'm scared to tell my parents how I feel."
[1715] Terminal: Sends a message to the server.
[1716] Server: Determines that the chatbot cannot handle the situation and notifies a counselor.
[1717] Professional Counselor: "I wonder why you're afraid to tell them? It would be helpful if you could tell me more about your situation."
[1718] Terminal: Displays the response from the counselor to the user.
[1719] In this way, the online consultation platform of the present invention is a system that allows users to start consultation at their own pace and receive professional support as needed.
[1720] The flow of the identification process in the first embodiment will be described with reference to FIG.
[1721] Step 1:
[1722] A user accesses an online platform through a terminal. On the new registration or login screen displayed on the terminal, the user enters the required information (such as name, age, email address, and password) and clicks the submit button. As input, the user's profile information is entered into a labeled form. The terminal sends this data to the server using an HTTP POST request, and the server receives the data and stores it in a database. The database management system (e.g., MySQL) stores the user information. As output, the server returns a success message to the terminal indicating that the data has been successfully saved, and the terminal displays this message to the user.
[1723] Step 2:
[1724] The user clicks the "Consult" button on the home screen. A text area where the user can enter the consultation content is displayed on the device. The user enters the consultation content and clicks the send button. The consultation content entered by the user is captured on the device as input. The device sends the consultation content to the server using an HTTP POST request, and the server saves the received consultation content in a database. As output, the server returns a response confirming receipt to the device, and the device displays a confirmation message.
[1725] Step 3:
[1726] The server passes the received consultation content to an AI-based chatbot. The server provides the text data of the user's consultation content to the chatbot API as the expected input. The chatbot uses a natural language processing algorithm (e.g., GPT-3) to generate an appropriate response. As output, the chatbot returns the generated response text, and the server retrieves the response.
[1727] Step 4:
[1728] The server sends the response obtained from the chatbot to the terminal. As input, the response text from the chatbot exists on the server. The server sends the response text to the terminal in an HTTP response, and the terminal displays this message to the user. As output, the user sees the chatbot's response on the screen.
[1729] Step 5:
[1730] The server monitors the consultation content and the chatbot's responses. If serious content is detected, the server automatically sends a notification to a professional counselor. As input, serious consultation content is filtered based on AI or a pre-defined keyword list. As output, the server sends a notification to the counselor via email using the SMTP protocol, and the counselor receives it.
[1731] Step 6:
[1732] The counselor accesses the platform through their device and checks the notified consultation content. As input, the counselor logs in and connects to the server. The server starts a real-time communication session using WebSockets, and the counselor replies to the user based on the consultation content. As output, the device receives the counselor's message and displays it to the user.
[1733] The above processing steps create a system in which a user can start an online consultation, an AI chatbot provides initial support, and then a professional counselor responds if necessary.
[1734] (Application example 1)
[1735] 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."
[1736] In modern society, many users suffer from mental anxieties and stress. Because they are unable to talk about these issues with friends or family and have limited access to professional support, these issues can develop into serious problems. There is also a need to protect the privacy of consultation content and provide prompt and appropriate responses. Furthermore, there is a growing need for an environment where users can safely seek advice while maintaining their anonymity. An efficient system that can address these issues is needed.
[1737] 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.
[1738] In this invention, the server includes a means for a user to access the online platform and input the consultation content, a means for transmitting the input consultation content to the server and storing it in a database, a means for a chatbot to generate a response using a generative AI model based on the consultation content and display it to the user, a means for notifying a professional counselor and escalating the consultation if a serious consultation content is detected, and a means for encrypting user data to ensure anonymity.This allows users to consult with peace of mind and receive prompt and appropriate support 24 hours a day, 365 days a year.
[1739] An "online platform" is a system that provides services over the Internet and that users can access and use.
[1740] "Consultation content" refers to specific information about the worries or problems the user is having.
[1741] A "generative AI model" refers to an artificial intelligence algorithm that generates language and answers based on large amounts of data.
[1742] A "chatbot" is a program that uses artificial intelligence to automatically interact with users.
[1743] A "counselor" is a qualified professional who provides expert advice and support to users.
[1744] "Escalating" refers to handing over a problem that cannot be handled to a person or system that can handle it more effectively.
[1745] "Encryption" is a method of converting data using a specific algorithm to prevent access or tampering by third parties.
[1746] "Anonymity" refers to a state in which information that can identify a user is not made public.
[1747] A "security assistant" is a support system that allows users to safely input their inquiries and receive responses.
[1748] "User Data" refers generally to information provided by users and data collected by the System.
[1749] A "smartphone" refers to a highly functional mobile phone that can connect to the Internet and run various applications in addition to making calls.
[1750] This invention provides an online consultation platform where users can easily confide their worries as if they were friends and receive appropriate support. This platform consists of three components: a server, a terminal, and a user.
[1751] Server Processing
[1752] User Data Management
[1753] When a user registers for the online platform, the server receives the user's profile information (such as name, age, email address, and password) and stores it in a database. The server also manages the consultation history and past interaction data entered by the user. This allows the server to provide support tailored to individual consultations when the user accesses the platform again.
[1754] Chatbot operation
[1755] When a user initiates a consultation through their device, the server launches a chatbot based on the generative AI model to handle the initial consultation. The chatbot generates an appropriate response to the consultation content entered by the user and sends it to the device. This generation process uses OpenAI's API, which handles natural language processing and generation. The chatbot's response is generated based on the analysis of the user's consultation content and includes empathy and advice.
[1756] Collaboration with counselors
[1757] If a serious consultation that the chatbot cannot handle is input, the server will send a notification to a professional counselor. When the counselor begins to handle the case, the server manages the communication session between the user and the counselor and securely sends and receives data. A cryptography library is used to encrypt the data, ensuring the user's anonymity.
[1758] Terminal handling
[1759] Providing a user interface
[1760] The device provides a user-friendly interface. Screens are displayed for users to register, log in, and enter the details of their consultation. For example, the home screen has a "Consult" button that users can click to start a consultation.
[1761] Relaying data transmission and reception
[1762] The data entered by the user and the content of the consultation are sent from the device to the server. The chatbot's responses and messages from the counselor are also sent from the server to the device and displayed to the user in real time, ensuring a smooth dialogue.
[1763] User Activity
[1764] Starting and proceeding with the consultation
[1765] Users access the online platform via their smartphone, perform initial registration and log in. After that, they click the "Consult" button on the home screen, enter their concerns and the details of their consultation, and send it.
[1766] Talking with a counselor
[1767] If the issue is serious and is escalated to a counselor, the user will have a real-time conversation with the counselor, who will understand the user's specific situation and provide appropriate advice and support.
[1768] Specific examples
[1769] Example 1: Initial consultation
[1770] User: "I've been having trouble with school lately and I don't have anyone to talk to."
[1771] Terminal: Sends a message to the server.
[1772] Server (chatbot): Returns an AI-generated response saying, "School life is tough, isn't it? What are your biggest worries?"
[1773] Example 2: Counseling is needed
[1774] User: "I'm scared to tell my parents how I feel."
[1775] Terminal: Sends a message to the server.
[1776] Server: Determines that the chatbot cannot handle the situation and notifies a counselor.
[1777] Counselor: "I wonder why you're afraid to tell me? It would be helpful if you could tell me more about your situation."
[1778] Terminal: Displays the response from the counselor to the user.
[1779] Prompt Sentence Examples
[1780] "I've been worried about school lately and I can't talk to anyone about it."
[1781] The flow of the specific processing in the application example 1 will be described with reference to FIG.
[1782] Step 1:
[1783] Initial registration and login
[1784] User: Visits the online platform and registers or logs in.
[1785] Input: Username, Age, Email Address, Password.
[1786] Data processing: Passwords are encrypted using the cryptography library.
[1787] Output: The home screen is displayed with a message that registration and login were successful.
[1788] Step 2:
[1789] Enter and submit your inquiry
[1790] User: Click the "Consult" button on the home screen and enter the details of your inquiry.
[1791] Input: The user's inquiry.
[1792] Data processing: The consultation content is converted into JSON format and sent to the server.
[1793] Output: Successful sending message.
[1794] Step 3:
[1795] Chatbot response generation
[1796] Server: Generates an appropriate response to the user's inquiry based on the generative AI model.
[1797] Input: The user's inquiry.
[1798] Data Calculation: Uses the OpenAI API to generate responses based on prompts.
[1799] Output: AI-generated response sentence.
[1800] Step 4:
[1801] Viewing the response
[1802] Terminal: Receives the response from the server and displays it to the user.
[1803] Input: Response from the server.
[1804] Output: The response text displayed on the screen.
[1805] Step 5:
[1806] Escalation Determination
[1807] Server: Detects serious inquiries that the chatbot cannot handle.
[1808] Input: User's consultation details and past consultation history.
[1809] Data calculation: An algorithm that evaluates the severity of the consultation.
[1810] Output: The result of the decision as to whether escalation is required.
[1811] Step 6:
[1812] Counselor Notification
[1813] Server: If escalation is deemed necessary, a notification is sent to a professional counselor.
[1814] Input: Judgment result and user's consultation.
[1815] Data calculation: Checking counselor availability and sending notifications.
[1816] Output: Notification to counselor.
[1817] Step 7:
[1818] Managing sessions and starting conversations
[1819] Server: Manages the communication session between the counselor and the user and securely transmits and receives data.
[1820] Input: Counselor and user IDs, consultation details.
[1821] Data processing: Communication data encryption and session management.
[1822] Output: A session between the counselor and the user is initiated.
[1823] Step 8:
[1824] Real-time dialogue
[1825] User and counselor: interact in real time throughout the session.
[1826] Input: Response from counselor, additional consultation details from user.
[1827] Output: Message exchange in real time.
[1828] 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.
[1829] The online consultation platform of the present invention is a system that allows users to confide their worries as easily as if they were friends and receive appropriate support. This system mainly consists of three components: a server, a terminal, and a user, and also includes an emotion engine that recognizes the user's emotions.
[1830] Server Processing
[1831] User Data Management
[1832] When a user registers for the platform, the server receives the user's profile information (such as name, age, email address, and password) and stores it in a database. The server also manages the user's consultation history and past interaction data. This allows the user to receive support tailored to their individual needs when they access the platform again.
[1833] Chatbot operation
[1834] When a user starts a consultation through a device, the server launches an AI-based chatbot to handle the initial consultation. The chatbot generates an appropriate response to the consultation content entered by the user and sends it to the device. The chatbot's response is generated based on the analysis of the user's consultation content and includes empathy and advice.
[1835] Operating the Emotion Engine
[1836] The server uses an emotion engine to analyze the consultation content entered by the user and recognize the user's emotions. The emotion engine evaluates the user's emotional state (e.g., tension, anger, sadness, etc.) through text analysis and can adjust the chatbot's response based on the results.
[1837] Collaboration with counselors
[1838] If a serious consultation that the chatbot cannot handle is input, or if the emotion engine detects a serious emotion, the server sends a notification to a professional counselor. When the counselor begins to respond, the server manages the communication session between the user and the counselor and securely sends and receives data.
[1839] Terminal handling
[1840] Providing a user interface
[1841] The device provides a user-friendly interface. Screens are displayed for users to register, log in, and enter the details of their consultation. For example, the home screen has a "Consult" button that users can click to start a consultation.
[1842] Relaying data transmission and reception
[1843] The data entered by the user and the content of the consultation are sent from the device to the server. The chatbot's responses and messages from the counselor are also sent from the server to the device and displayed to the user in real time, ensuring a smooth dialogue.
[1844] User Activity
[1845] Starting and proceeding with the consultation
[1846] Users access the online platform through their device, perform initial registration and log in. After that, they click the "Consult" button on the home screen, enter their concerns and the details of their consultation, and send it.
[1847] Talking with a counselor
[1848] If the issue is serious and escalated to a counselor, or if the emotion engine detects a serious emotion, the user will have a real-time conversation with the counselor, who will understand the user's specific situation and provide appropriate advice and support.
[1849] Specific examples
[1850] Example 1: Initial consultation and emotion recognition
[1851] User: "I've been having trouble with school lately and I don't have anyone to talk to."
[1852] Terminal: Sends a message to the server.
[1853] Server (chatbot): The automated response is, "School life is tough, isn't it? What are you particularly worried about?"
[1854] Server (Emotion Engine): Recognizes the emotion "sadness" from user input. The response generation algorithm takes the emotion results into account and generates a more empathetic response.
[1855] Example 2: Counseling is needed
[1856] User: "I'm scared to tell my parents how I feel."
[1857] Terminal: Sends a message to the server.
[1858] Server (chatbot): Responds, "Why are you afraid to tell me?"
[1859] Server (emotion engine): Recognizes the emotion of "fear" from user input and determines the need for counseling.
[1860] Server: Determines that the chatbot cannot handle the situation and notifies a counselor.
[1861] Professional counselor: "Why are you afraid to tell me? It would be helpful if you could tell me more about your situation."
[1862] Terminal: Displays the response from the counselor to the user.
[1863] As a result, the online consultation platform of the present invention provides a practical and advanced system for resolving various mental health issues faced by children, creating an environment in which users can seek advice at their own pace and receive professional support.
[1864] The processing flow will be explained below.
[1865] Step 1:
[1866] A user accesses the online platform and opens the new registration screen. The user enters information such as name, age, email address, and password, and clicks the "Register" button.
[1867] Step 2:
[1868] The terminal transmits the input user information to the server.
[1869] Step 3:
[1870] The server verifies the received user information and stores it in a database. If the storage is successful, the server generates a registration completion message and returns it to the terminal.
[1871] Step 4:
[1872] The terminal displays a registration completion message to the user, and the user clicks the "Login" button.
[1873] Step 5:
[1874] The user enters their email address and password on the login screen and clicks the "Login" button.
[1875] Step 6:
[1876] The terminal transmits the input authentication information to the server.
[1877] Step 7:
[1878] The server verifies the authentication information and, if correct, generates a session token and returns it to the terminal.
[1879] Step 8:
[1880] The device saves the received session token and displays the home screen to the user, who then clicks the "Consult" button on the home screen.
[1881] Step 9:
[1882] The user enters the consultation content and clicks the "Send" button.
[1883] Step 10:
[1884] The terminal transmits the consultation content together with the session token to the server.
[1885] Step 11:
[1886] The server stores the received consultation contents in a database and transmits the consultation contents to the emotion engine.
[1887] Step 12:
[1888] The server (emotion engine) recognizes the user's emotions (e.g., sadness, fear, anger) through text analysis and sends the results to the chatbot.
[1889] Step 13:
[1890] The server (chatbot) generates a response appropriate to the consultation content based on the emotional results obtained from the emotion engine. The chatbot generates a response that includes empathetic words and specific advice.
[1891] Step 14:
[1892] The server generates a response and sends it to the terminal.
[1893] Step 15:
[1894] The terminal displays the chatbot's response to the user.
[1895] Step 16:
[1896] If the user's emotions are recognized as serious or if the consultation content is difficult for the chatbot to handle, the server (emotion engine) will send a notification to a professional counselor.
[1897] Step 17:
[1898] Professional counselors will be notified and will prepare a response.
[1899] Step 18:
[1900] The server generates a communication session between the counselor and the user and sends a notification of the start of the session to the terminal.
[1901] Step 19:
[1902] The terminal notifies the user that the counselor has started to respond.
[1903] Step 20:
[1904] The user and a professional counselor begin a real-time dialogue, and the counselor provides appropriate advice and support to address the user's concerns.
[1905] Step 21:
[1906] The server securely sends and receives messages between users and counselors and stores all data in a database.
[1907] The above steps have resulted in a system that allows users to seek advice through an online platform and receive support from an emotion engine and professional counselors as needed.
[1908] Example 2
[1909] 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."
[1910] Conventional online consultation platforms have problems in that even when users input their consultation content, it is difficult to properly detect and respond to changes in their emotions, and they are unable to respond quickly to serious consultation content. As a result, users often do not receive satisfactory support. The present invention aims to solve these problems and provide an online consultation platform that provides users with faster and more appropriate support.
[1911] The identification process by the identification processing unit 290 of the data processing device 12 in Example 2 is realized by the following means. In this invention, the server includes a means for a user to access an online platform and input the consultation content, a means for transmitting the input consultation content to the server and storing it in a database, a means for a chatbot to generate a response based on the consultation content and display it to the user, a means for recognizing the user's emotions using an emotion analysis engine and adjusting the response content, and a means for notifying a professional counselor and escalating the consultation when a serious consultation content is detected. This enables an appropriate response according to the user's emotional state and a quick response to serious consultation content.
[1912] An "online platform" is a system that users can access via the Internet and use various operations and services.
[1913] A "server" is a computer system that receives data sent by users, processes the data, and sends the data to other components as needed.
[1914] "User" means an individual who accesses the Online Platform and uses the Services.
[1915] "Consultation content" refers to the content of the worries or consultations that users input into the online platform.
[1916] A "database" is a system for organizing and storing information so that it can be searched and updated later.
[1917] A "chatbot" is a program that uses AI technology to automatically converse with users.
[1918] A "response" is a message that a chatbot generates in response to input from a user and provides to the user.
[1919] An "emotion analysis engine" is a technology or program that analyzes user input and recognizes the user's emotional state from that content.
[1920] A "specialized counselor" is a counselor or advisor with the specialized knowledge to deal with the user's serious consultation issues.
[1921] A "notification" is a message sent by the system to inform other components or people when a certain condition is met.
[1922] "Escalation" is a procedure for passing on difficult situations or serious consultation matters to a higher-ranking person or a specialized counselor.
[1923] A "user interface" is an interface, such as a screen or input field, that allows a user to interact with a system.
[1924] A "session" is a unit of a series of interactions and data exchanges between a user and a system.
[1925] A "communication session" is a data transmission / reception session for real-time interaction between a user and a counselor.
[1926] This invention is a system that allows users to access an online platform, input their concerns, and receive support. This system is mainly composed of three components: a server, a terminal, and a user, and also includes an emotion analysis engine that recognizes the user's emotions.
[1927] First, the user accesses the online platform and inputs their concerns or questions. An easy-to-use screen is provided as the user interface, using a web browser or mobile application. For example, a "Consult" button is displayed on the home screen, and the user clicks to begin the consultation. The consultation details entered by the user are sent from the device to the server.
[1928] The server stores the information entered by the user in a database. Specifically, it manages the user's profile information (name, age, email address, password, etc.), consultation history, and past communication data. This data management makes it possible to provide optimal support for individual consultations when the user accesses the site again.
[1929] Next, the server launches an AI-based chatbot to handle the initial consultation. The chatbot generates an appropriate response to the consultation content entered by the user and sends it to the device. Specific technologies used include the natural language processing library "NLTK" and generative AI models (e.g., GPT-3). The chatbot generates a response that includes empathy and advice based on the analysis of the user's consultation content.
[1930] The server also uses an emotion analysis engine to analyze the consultation content entered by the user and recognize the user's emotions. The emotion analysis engine evaluates the user's emotional state (e.g., tension, anger, sadness, etc.) through text analysis and can adjust the chatbot's response based on the results. For example, if a user enters, "I've been worried about school lately and I can't talk to anyone about it," the emotion analysis engine will recognize the emotion of "sadness" and generate a more empathetic response.
[1931] When a serious consultation that the chatbot cannot handle is input, or when the emotion analysis engine detects a serious emotion, the server sends a notification to a specialized counselor. Once the counselor begins to respond, the server manages the communication session between the user and the counselor, sending and receiving data securely. This communication session management creates an environment where users can consult with counselors with peace of mind.
[1932] A concrete example would be the following consultation and response scenario:
[1933] Example 1: Initial consultation and emotion recognition
[1934] User: "I've been having trouble with school lately and I don't have anyone to talk to."
[1935] Terminal: Sends a message to the server.
[1936] Server (chatbot): The automated response is, "School life is tough, isn't it? What are you particularly worried about?"
[1937] Server (emotion analysis engine): Recognizes the emotion "sadness" from user input. The response generation algorithm takes the emotion results into account and generates a more empathetic response.
[1938] Example 2: Counseling is needed
[1939] User: "I'm scared to tell my parents how I feel."
[1940] Terminal: Sends a message to the server.
[1941] Server (chatbot): Responds, "Why are you afraid to tell me?"
[1942] Server (emotion analysis engine): Recognizes the emotion of "fear" from user input, and determines the need for counseling.
[1943] Server: Determines that the chatbot cannot handle the situation and notifies a specialist counselor.
[1944] Specialist counselor: "Why are you afraid to tell me? It would be helpful if you could tell me more about your specific situation."
[1945] Terminal: Displays the response from the counselor to the user.
[1946] Examples of prompts include:
[1947] Consultation content: "I've been worried about school lately, and I can't talk to anyone about it."
[1948] Prompt: "The user says they've been struggling with school lately and don't have anyone to talk to. In this case, generate an initial response that offers empathy and support."
[1949] The system allows users to proceed with consultations at their own pace and receive professional support.
[1950] The flow of the identification process in the second embodiment will be described with reference to FIG.
[1951] Step 1:
[1952] A user accesses an online platform and registers. The information the user enters into the registration form includes name, age, email address, password, etc.
[1953] Input: Name, Age, Email Address, Password.
[1954] Data processing: The entered information is sent to the server and stored in the database.
[1955] Output: The new user's profile is created in the database.
[1956] Specific behavior: The user enters information into the registration form and clicks the submit button. The device sends this information to the server, which stores it in a database.
[1957] Step 2:
[1958] The user enters their login information on the login screen and logs in. The server verifies and approves this.
[1959] Enter your email address and password.
[1960] Data processing: Verification and authentication of input information against information in the database.
[1961] Output: User dashboard is displayed based on the authentication result.
[1962] Specific operation: The user enters their email address and password into the login form and clicks the login button. The device sends the entered information to the server, which then authenticates it by checking the database. If authentication is successful, the user's dashboard is displayed.
[1963] Step 3:
[1964] The user clicks the "Consult" button, enters the consultation content, and submits it.
[1965] Input: Consultation content (text).
[1966] Data processing: Send the consultation details to the server.
[1967] Output: The consultation received by the server.
[1968] Specific operation: The user clicks the "Consult" button on the dashboard screen, enters the consultation content in the displayed input field, and clicks the send button, causing the device to send the input content to the server.
[1969] Step 4:
[1970] The server stores the received consultation details in a database.
[1971] Input: Consultation content (text).
[1972] Data processing: Consultation details are saved in a database.
[1973] Output: The consultation details are stored in the database.
[1974] Specific operation: The server receives the consultation content sent by the user and saves it in the database.
[1975] Step 5:
[1976] The server launches an AI-based chatbot to handle initial inquiries.
[1977] Input: Consultation content (text).
[1978] Data processing: The chatbot analyzes the consultation content and generates an appropriate response.
[1979] Output: Response message (text).
[1980] Specific operation: The server passes the consultation content to the chatbot, which performs natural language processing to generate a response message and return it to the server. The server then sends this to the device and displays it to the user.
[1981] Step 6:
[1982] The server uses an emotion analysis engine to analyze the content of the user's consultation.
[1983] Input: Consultation content (text).
[1984] Data processing: The sentiment analysis engine recognizes emotions and obtains the results.
[1985] Output: Emotion recognition result (emotional state).
[1986] Specific operation: The server passes the consultation content to the emotion analysis engine, which analyzes the text and recognizes the emotional state (e.g., "sadness"), and returns the analysis results to the server.
[1987] Step 7:
[1988] The server adjusts the chatbot's responses based on the results of the emotion analysis.
[1989] Input: Emotion recognition results, consultation content.
[1990] Data processing: The response generation algorithm takes emotion recognition results into account and adjusts the response content.
[1991] Output: The tailored response message (text).
[1992] Specific operation: The server returns the emotion recognition results to the chatbot, which then adjusts the response based on the results. The adjusted response message is sent to the device via the server and displayed to the user.
[1993] Step 8:
[1994] If the server detects a serious consultation that the chatbot cannot handle, it will send a notification to a specialist counselor.
[1995] Input: Consultation content, emotion recognition results.
[1996] Data processing: Evaluate the consultation content and emotion recognition results, and generate a notification if the situation is serious.
[1997] Output: Notification to professional counselor (text).
[1998] Specific operation: The server evaluates the received consultation content and emotion recognition results, and if it determines that the chatbot cannot handle the situation, it sends a notification message to a specialist counselor.
[1999] Step 9:
[2000] A specialist counselor will respond and engage in real-time dialogue with the user.
[2001] Input: Consultation content, emotion recognition results, and response message from the expert counselor.
[2002] Data processing: Response messages from expert consultants are sent to users in real time.
[2003] Output: Real-time dialogue message (text).
[2004] Specific operation: The expert counselor receives the notification and starts a dialogue with the user. The server receives the counselor's response message and sends it to the user in real time.
[2005] Through the above specific processing steps, the user can input a consultation, undergo emotion analysis, and receive appropriate support.
[2006] (Application example 2)
[2007] 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."
[2008] Online consultation platforms are required to provide an environment where users with worries or stress about food can easily seek advice, and to provide more adapted responses and suggestions by recognizing the user's emotions. However, conventional systems have difficulty accurately recognizing the user's emotions and providing appropriate responses, so this needs to be improved.
[2009] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 2 is realized by the following means.
[2010] In this invention, the server includes means for a user to access the online platform and input the consultation content, means for transmitting the input consultation content to the server and storing it in a database, means for a chatbot to generate a response based on the consultation content and display it to the user, means for notifying a professional counselor and escalating the consultation if a serious consultation content is detected, means for analyzing the user's input data and recognizing emotions, means for generating a response adapted to the recognized emotions, and means for making suggestions about food and meals based on the content of the dialogue with the user.This allows users to easily consult about their food-related worries and stress as if they were talking to a friend, and to receive responses and suggestions adapted to their emotions.
[2011] An "online platform" is a system that users access via the Internet to input, send, and receive information.
[2012] "Consultation content" refers to the information entered and sent in written or audio format about the worries or problems the user is facing.
[2013] "Server" means a computer system that receives, stores, processes information entered by a user, and generates a response as needed.
[2014] A "database" is a system that organizes and stores user information and consultation history that is managed and saved by a server.
[2015] A "chatbot" is a program that uses artificial intelligence to automatically interact with users and generate appropriate responses.
[2016] A "professional counselor" is a professional who uses specialized knowledge and skills to respond to and give advice on serious consultation matters.
[2017] "Escalation" refers to the process by which first responders hand over serious issues to specialists.
[2018] "Emotion recognition" is a technology that analyzes user input data and determines the user's emotional state.
[2019] "Emotionally adaptive responses" refer to empathetic and appropriate replies that are tailored to the user's emotional state.
[2020] "Food and diet suggestions" are advice on foods, drinks, and dietary habits recommended based on the user's concerns and emotional state.
[2021] MODE FOR CARRYING OUT THE INVENTION
[2022] This invention provides an environment where users can easily consult about food-related worries and stress through a food delivery application. This system is mainly composed of three components: a server, a terminal, and a user, and combines functions for emotion recognition and response generation.
[2023] Server Processing
[2024] User Data Management
[2025] When a user registers for the application, the server receives profile information (such as name, age, email address, and password) and stores it in a database. The server also manages the user's consultation history and past interaction data. This allows the server to provide support tailored to the individual consultation when the user accesses the application again.
[2026] Chatbot operation
[2027] When a user starts a consultation through a device, the server launches an AI-based chatbot to handle the initial consultation. The chatbot generates an appropriate response to the consultation content entered by the user and sends it to the device. The chatbot's response is generated based on the analysis of the user's consultation content and includes empathy and advice.
[2028] Operating the Emotion Engine
[2029] The server uses an emotion engine to analyze the consultation content entered by the user and recognize the user's emotions. The emotion engine evaluates the user's emotional state through text analysis and can adjust the chatbot's responses based on the results.
[2030] Collaboration with counselors
[2031] If a serious consultation that the chatbot cannot handle is input, or if the emotion engine detects a serious emotion, the server sends a notification to a professional counselor. When the counselor begins to respond, the server manages the communication session between the user and the counselor and securely sends and receives data.
[2032] Emotion-adaptive response generation and food suggestions
[2033] The server uses a generative AI model to generate empathetic responses based on the emotional results, and also makes appropriate food and meal suggestions based on the user's consultation and emotional state.
[2034] Terminal handling
[2035] Providing a user interface
[2036] The device provides a user-friendly interface. Screens are displayed for users to register, log in, and enter the details of their consultation. For example, the home screen has a "Consult" button that users can click to start a consultation.
[2037] Relaying data transmission and reception
[2038] The data entered by the user and the content of the consultation are sent from the device to the server. The chatbot's responses and messages from the counselor are also sent from the server to the device and displayed to the user in real time, ensuring a smooth dialogue.
[2039] User Activity
[2040] Starting and proceeding with the consultation
[2041] Users access the online platform through their device, perform initial registration and log in. After that, they click the "Consult" button on the home screen, enter their concerns and the details of their consultation, and send it.
[2042] Talking with a counselor
[2043] If the issue is serious and escalated to a counselor, or if the emotion engine detects a serious emotion, the user will have a real-time conversation with the counselor, who will understand the user's specific situation and provide appropriate advice and support.
[2044] Specific examples
[2045] Example 1: Initial consultation and emotion recognition
[2046] User: "I've been stressed lately and I don't have much of an appetite."
[2047] Terminal: Sends a message to the server.
[2048] Server (chatbot): The automated response is, "When you're stressed, you lose your appetite. What specifically causes you stress?"
[2049] Server (emotion engine): Recognizes the emotion of "sadness" from the user's input, and the response generation algorithm takes the emotion results into account to generate a more empathetic response.
[2050] Server (prompt using generated AI model):
[2051] User Input: "I've been stressed lately and I have no appetite."
[2052] Detected Emotion: "Sadness"
[2053] Generate a response that shows empathy and provides support.
[2054] Example 2: Counseling is needed
[2055] User: "I'm worried that this will have a negative impact on my health."
[2056] Terminal: Sends a message to the server.
[2057] Server (chatbot): "That's worrying. Are you taking any measures to protect your health?"
[2058] Server (emotion engine): Recognizes the emotion of "fear" from user input and determines the need for counseling.
[2059] Server: Determines that the chatbot cannot handle the situation and notifies a counselor.
[2060] Professional counselor: "Could you tell me specifically what you're worried about? Let's work together to find a solution."
[2061] Terminal: Displays the response from the counselor to the user.
[2062] The flow of the specific processing in the application example 2 will be described with reference to FIG.
[2063] Step 1:
[2064] User accesses online platform
[2065] A user launches a food delivery application and accesses the online platform. The user registers or logs in and enters their profile information (name, age, email address, password, etc.). The device sends the information to the server, which stores it in a database.
[2066] Input: User profile information
[2067] Output: Profile information is saved to the database
[2068] Step 2:
[2069] Start a consultation
[2070] The user clicks the "Consult" button on the home screen and enters the consultation content. The device then sends the entered consultation content to the server.
[2071] Input: Consultation details
[2072] Output: The consultation content is sent to the server
[2073] Step 3:
[2074] Chatbot initial response
[2075] When the server receives the consultation content, it launches an AI-based chatbot and begins initial consultation. The chatbot generates an appropriate response to the user's consultation content and sends it to the device. This response is generated using a generative AI model.
[2076] Input: Consultation details
[2077] Output: The initial response is generated and sent to the terminal
[2078] Step 4:
[2079] Analysis by emotion engine
[2080] The server analyzes the user's input and recognizes their emotions using an emotion engine. The emotion engine evaluates the user's emotional state through natural language processing (NLP) and passes the results to the generative AI model.
[2081] Input: Consultation details
[2082] Output: Recognized emotion result
[2083] Step 5:
[2084] Emotion-adaptive response generation
[2085] The server uses a generative AI model based on the recognized emotion results to generate an empathetic response, which is then sent to the device and displayed to the user.
[2086] Input: Recognized emotion result
[2087] Output: Emotionally adapted response
[2088] Step 6:
[2089] Food and dietary suggestions
[2090] The server also makes suitable food and meal suggestions based on the user's consultation and emotional state. The suggestions are generated using a generative AI model and sent to the device.
[2091] Input: Consultation content, emotional results
[2092] Output: Food and meal suggestions
[2093] Step 7:
[2094] Escalation of serious consultation matters
[2095] If the chatbot detects a serious problem that it cannot handle, or if the emotion engine detects a serious emotion (such as fear or despair), the server immediately notifies a professional counselor. When the counselor begins to respond, the server manages the communication session and securely sends and receives data between the user and counselor via the device.
[2096] Input: Serious consultation or serious emotional outcome
[2097] Output: Counselor notification, communication session initiated
[2098] Step 8:
[2099] Talking with a counselor
[2100] Users can talk to a professional counselor in real time about serious issues. The counselor understands the user's specific situation and provides appropriate advice and support. The device displays the counselor's responses to the user, ensuring a smooth dialogue.
[2101] Input: User's consultation details, counselor's advice
[2102] Output: Real-time conversation
[2103] In this way, through the specific actions taken at each processing step, users can easily consult about worries and stress related to food, receive responses and suggestions that are adapted to their emotions, and receive professional support if necessary.
[2104] 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.
[2105] 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.
[2106] 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.
[2107] 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.
[2108] 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.
[2109] 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.
[2110] 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).
[2111] 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.
[2112] 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."
[2113] 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.
[2114] 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).
[2115] 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.
[2116] 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.
[2117] 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.
[2118] 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.
[2119] 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.
[2120] 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.
[2121] 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.
[2122] 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.
[2123] 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.
[2124] 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.
[2125] The following is further disclosed regarding the above embodiment.
[2126] (Claim 1)
[2127] A means for users to access the online platform and input their consultation details;
[2128] A means for transmitting the input consultation details to a server and storing them in a database;
[2129] A means for the chatbot to generate a response based on the consultation content and display it to the user;
[2130] The system includes a means for notifying a professional counselor and escalating the consultation if a serious consultation issue is detected.
[2131] (Claim 2)
[2132] 10. The system according to claim 1, further comprising means for providing a user interface and displaying a screen on which a user can input and send consultation details.
[2133] (Claim 3)
[2134] 10. The system according to claim 1, further comprising means for managing a session for a counselor to have a real-time dialogue with a user and for securely transmitting and receiving data.
[2135] "Example 1"
[2136] (Claim 1)
[2137] A means for users to access the online platform and input their consultation details;
[2138] A means for transmitting the input consultation details to a server and storing them in a database;
[2139] A means for the server to call an AI-based chatbot, generate a response based on the consultation content, and display it to the user;
[2140] If a serious issue is detected, a means of notifying a professional counselor and escalating the issue will be provided.
[2141] After the counselor is notified, the counselor initiates a dialogue with the user, and the server manages the communication session and securely transmits and receives data;
[2142] A system including:
[2143] (Claim 2)
[2144] 10. The system according to claim 1, further comprising means for providing a user interface and displaying a screen on which a user can input and send consultation details.
[2145] (Claim 3)
[2146] 10. The system according to claim 1, further comprising means for managing a session for a counselor to have a real-time dialogue with a user and for securely transmitting and receiving data.
[2147] "Application Example 1"
[2148] (Claim 1)
[2149] A means for users to access the online platform and input their consultation details;
[2150] A means for transmitting the input consultation details to a server and storing them in a database;
[2151] A means for the chatbot to generate a response using a generative AI model based on the content of the consultation and display it to the user;
[2152] If a serious issue is detected, a means of notifying a professional counselor and escalating the issue will be provided.
[2153] A system that includes a means to encrypt user data and ensure its anonymity.
[2154] (Claim 2)
[2155] 10. The system according to claim 1, further comprising means for providing a user interface and displaying a screen on which a user can input and send consultation details.
[2156] (Claim 3)
[2157] 10. The system according to claim 1, further comprising means for managing a session for a counselor to have a real-time dialogue with a user and for securely transmitting and receiving data.
[2158] "Example 2: Combining Emotion Engines"
[2159] (Claim 1)
[2160] A means for users to access the online platform and input their consultation details;
[2161] A means for transmitting the input consultation details to a server and storing them in a database;
[2162] A means for the chatbot to generate a response based on the consultation content and display it to the user;
[2163] a means for recognizing a user's emotion using an emotion analysis engine and adjusting the response content;
[2164] The system includes a means for notifying a professional counselor and escalating the consultation if a serious consultation issue is detected.
[2165] (Claim 2)
[2166] 10. The system according to claim 1, further comprising means for providing a user interface and displaying a screen on which a user can input and send consultation details.
[2167] (Claim 3)
[2168] 2. The system according to cl...
Claims
1. A means for users to access the online platform and input their consultation details; A means for transmitting the input consultation details to a server and storing them in a database; A means for the chatbot to generate a response based on the consultation content and display it to the user; The system includes a means for notifying a professional counselor and escalating the consultation if a serious consultation issue is detected.
2. 2. The system according to claim 1, further comprising means for providing a user interface and displaying a screen on which a user can input and send consultation details.
3. 2. The system of claim 1, further comprising means for managing a session for a counselor to interact with a user in real time and for securely transmitting and receiving data.
Citation Information
Patent Citations
Persona chatbot control method and system
JP2022180282A