system

The system enhances game interactions by using AI to generate situation-appropriate dialogue for virtual characters based on environmental data, improving user experience through dynamic and realistic conversations.

JP2026062294APending Publication Date: 2026-04-09SOFTBANK GROUP CORP
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2026-04-09

AI Technical Summary

Technical Problem

Conventional game systems provide monotonous and unrealistic conversations due to fixed virtual character dialogues, lacking dynamic responses based on weather, season, and story progress, which hinders user experience.

Method used

A system that enables real-time dialogue interactions with virtual characters by using artificial intelligence models to generate statements based on current environmental data such as weather, season, and story progression, transmitted through a terminal and displayed to the user.

Benefits of technology

Provides a dynamic and realistic conversational experience within games that responds to in-game situations, enhancing user engagement and immersion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026062294000001_ABST
    Figure 2026062294000001_ABST
Patent Text Reader

Abstract

We provide the system. [Solution] A terminal for the user to interact with a virtual character, A means for transmitting data related to the aforementioned dialogue operation, A means for receiving the transmitted data and obtaining current environmental data, A means for generating speech from the virtual character using an artificial intelligence model based on the aforementioned environmental data, means for transmitting the generated statement to the terminal, Means for displaying the transmitted message to the user, A system that includes this.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The technology of the present disclosure relates to a system.

Background Art

[0002] Patent Document 1 discloses a method for controlling a persona chatbot 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 an explanation of a 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

Summary of the Invention

Problems to be Solved by the Invention

[0004] In the conventional game world, virtual characters (mob characters) can only have fixed conversations, so there is a problem that a monotonous and unrealistic conversation experience is provided to users. Also, there has been a lack of technology that can perform dynamic conversations according to the weather, season, and story progress in the game. As a result, the improvement of the user experience has been hindered.

Means for Solving the Problems

[0005] To solve the above problems, the present invention provides the following means: a system comprising a terminal for a user to perform conversational operations with a virtual character; means for transmitting data related to the conversational operations based on the conversational operations; means for receiving the transmitted data and acquiring current environment data; means for generating statements from the virtual character using an artificial intelligence model based on the environment data; means for transmitting the generated statements to the terminal; and means for displaying the transmitted statements to the user. This system allows the user to enjoy a dynamic and realistic conversational experience that is in response to the situation in the game.

[0006] A "user" refers to a person or entity that interacts with a virtual character within the game.

[0007] A "virtual character" refers to a character in a game that is not controlled by the player, and is also called a mob character.

[0008] "Dialogue interaction" refers to actions in which a user speaks to or attempts to engage in dialogue with a virtual character.

[0009] "Device" refers to a device such as a computer, smartphone, or tablet that a user uses to play games.

[0010] "Means of transmission" refers to system elements that have the function of sending data from a terminal to a server.

[0011] "Means of receiving" refers to system elements that have the function of a server receiving data from a terminal.

[0012] "Current environmental data" refers to real-time in-game conditions such as weather information, seasonal information, and story progression.

[0013] An "artificial intelligence model" refers to an AI algorithm that analyzes acquired environmental data and dynamically generates dialogue for a virtual character.

[0014] "Means for generating statements" refers to system elements that have the function of creating statements for virtual characters using an AI model.

[0015] "Sent message" refers to the content of the message spoken by the generated virtual character, which is then sent to the terminal.

[0016] "Means of display" refers to a system element that has the function of visually displaying to the user the statements of a virtual character received by the terminal. [Brief explanation of the drawing]

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

Mode for Carrying Out the Invention

[0018] Hereinafter, an example of an embodiment of the system according to the technology of the present disclosure will be described according to the accompanying drawings.

[0019] First, the language used in the following description will be explained.

[0020] In the following embodiments, the numbered processor (hereinafter simply referred to as "processor") may be one arithmetic unit or a combination of a plurality of arithmetic units. Also, the processor may be one type of arithmetic unit or a combination of a plurality of types of arithmetic units. Examples of arithmetic units include a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), a GPGPU (General-Purpose computing on Graphics Processing Units), an APU (Accelerated Processing Unit), and the like.

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

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

[0023] In the following embodiments, the signed communication interface (I / F) is an interface that includes a communication processor and an antenna, etc. The communication interface manages communication between multiple computers. Examples of communication standards applicable to the communication interface include wireless communication standards such as 5G (5th Generation Mobile Communication System), Wi-Fi (registered trademark), or Bluetooth (registered trademark).

[0024] In the following embodiments, "A and / or B" is synonymous with "at least one of A and B." That is, "A and / or B" means that it may be A alone, or B alone, or a combination of A and B. Furthermore, in this specification, the same concept as "A and / or B" applies when expressing three or more things linked by "and / or."

[0025] [First Embodiment]

[0026] Figure 1 shows an example of the configuration of the data processing system 10 according to the first embodiment.

[0027] As shown in Figure 1, the data processing system 10 includes a data processing device 12 and a smart device 14. An example of the data processing device 12 is a server.

[0028] The data processing device 12 comprises a computer 22, a database 24, and a communication interface 26. The computer 22 is an example of a "computer" related to the technology of this disclosure. The computer 22 comprises a processor 28, RAM 30, and storage 32. The processor 28, RAM 30, and storage 32 are connected to a bus 34. The database 24 and the communication interface 26 are also connected to the bus 34. The communication interface 26 is connected to a network 54. An example of the network 54 is a WAN (Wide Area Network) and / or a LAN (Local Area Network).

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

[0030] The reception device 38 is equipped with a touch panel 38A and a microphone 38B, etc., and receives user input. The touch panel 38A receives user input by detecting contact with an object (e.g., a pen or finger). The microphone 38B receives user input by detecting the user's voice. The control unit 46A transmits data indicating the user input received by the touch panel 38A and microphone 38B to the data processing device 12. In the data processing device 12, the specific processing unit 290 acquires the data indicating the user input.

[0031] The output device 40 includes a display 40A and a speaker 40B, and presents data to the user 20 by outputting the data in a form perceptible to the user 20 (e.g., audio and / or text). The display 40A displays visible information such as text and images according to instructions from the processor 46. The speaker 40B outputs audio according to instructions from the processor 46. The camera 42 is a small digital camera equipped with an optical system such as a lens, aperture, and shutter, and an image sensor such as a CMOS (Complementary Metal-Oxide-Semiconductor) image sensor or a CCD (Charge Coupled Device) image sensor.

[0032] Communication interface 44 is connected to network 54. Communication interfaces 44 and 26 are responsible for the exchange of various types of information between processor 46 and processor 28 via network 54.

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

[0034] As shown in Figure 2, in the data processing device 12, a specific processing is performed by the processor 28. A specific processing program 56 is stored in the storage 32. The specific processing program 56 is an example of a "program" related to the technology of this disclosure. The processor 28 reads the specific processing program 56 from the storage 32 and executes the read specific processing program 56 on the RAM 30. The specific processing is realized by the processor 28 operating as a specific processing unit 290 according to the specific processing program 56 executed on the RAM 30.

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

[0036] In the smart device 14, the processor 46 performs the reception output processing. The storage 50 stores the reception output program 60. The reception output program 60 is used in conjunction with a specific processing program 56 by the data processing system 10. The processor 46 reads the reception output program 60 from the storage 50 and executes the read reception output program 60 on the RAM 48. The reception output processing is realized by the processor 46 operating as a control unit 46A according to the reception output program 60 executed on the RAM 48.

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

[0038] This invention will now describe embodiments for carrying it out. This system provides real-time dialogue that corresponds to the in-game situation when a user speaks to a virtual character. The specific program processing and implementation examples are described below.

[0039] Program processing

[0040] 1. The user speaks to the virtual character.

[0041] When a user clicks or taps a virtual character on the game screen, an interactive interaction begins.

[0042] For example, suppose a user speaks to a virtual character in a town square.

[0043] 2. The device sends the request to the server.

[0044] The terminal detects user activity and sends a request to the server containing the following data.

[0045] User ID (player identification)

[0046] Virtual character ID (identification of the character being spoken to)

[0047] Current time and date

[0048] Current location (in-game location)

[0049] Story progress

[0050] For example, the device sends the following data to the server:

[0051] User ID: 12345

[0052] Virtual character ID: 5678

[0053] Time and date: 2023-10-05 15:30

[0054] Location information: Town square

[0055] Story progress: 75%

[0056] 3. The server queries the game data.

[0057] The server queries the in-game database based on the received request and retrieves the necessary data.

[0058] Weather information

[0059] Seasonal Information

[0060] Other related environmental information

[0061] For example, the server queries weather data and confirms that the current weather is rainy. It also confirms that the current season is autumn.

[0062] 4. The server uses the AI ​​model to generate talk.

[0063] The server uses the acquired data to call up an AI model and generate appropriate dialogue for the situation.

[0064] Data entry: Weather = Rain, Season = Autumn, Progress = 75%, Location = Town square

[0065] Dialogue generation: The AI ​​model generates natural language dialogue based on the input data.

[0066] For example, the server uses an AI model to generate a conversation like, "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?"

[0067] 5. The server sends the chat data back to the device.

[0068] The server sends the generated talk data to the terminal.

[0069] Data sent: Generated chat message, virtual character ID

[0070] For example, the server sends the generated message "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?" to the terminal.

[0071] 6. The device displays the chat to the user.

[0072] The terminal displays the chat data received from the server on the screen, presenting the conversation content to the user.

[0073] Display contents: Generated dialogue, name of the virtual character speaking

[0074] For example, the device displays the text "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?" in a speech bubble of a virtual character.

[0075] Examples

[0076] Situation 1: When the weather is rainy

[0077] When a user speaks to a virtual character on a rainy day, the server generates a message based on the information "Weather: Rain," such as "It's raining heavily today, I want to go home soon." The device receives the message from the server and displays it on the screen.

[0078] Situation 2: When the season is winter

[0079] When a user speaks to a virtual character in winter, the server generates a message based on the information "Season: Winter," such as "On a cold day like this, I'd like to make some warm soup at home." The device receives the message from the server and displays it on the screen.

[0080] Situation 3: When the story is in its later stages.

[0081] When a user speaks to a virtual character while they are at a high stage of story progression, the server generates a message based on the information "Story Progress: 80%", such as "Thanks to you, the town has become peaceful. Keep up the good work!" The device receives the message from the server and displays it on the screen.

[0082] As described above, this system allows users to enjoy a real-time interactive experience that responds to the situation within the game.

[0083] The following describes the processing flow.

[0084] Step 1:

[0085] The user uses a device to interact with the virtual character by clicking or tapping the virtual character on the game screen. This initiates the interaction.

[0086] Step 2:

[0087] The device detects user activity and sends a request to the server containing the following data.

[0088] User ID (player identification)

[0089] Virtual character ID (identification of the character being spoken to)

[0090] Current time and date

[0091] Current location (in-game location)

[0092] Story progress

[0093] Step 3:

[0094] The server receives the request. The server retrieves the specified user ID, virtual character ID, current time and date, location information, and story progress.

[0095] Step 4:

[0096] The server uses this data to query the in-game database and retrieve the necessary environmental data. For example, it might retrieve current weather and seasonal information.

[0097] Step 5:

[0098] Based on the information acquired by the server, environmental data (weather information, seasonal information, story progress, etc.) is input into the AI ​​model to generate dialogue for the virtual character.

[0099] Step 6:

[0100] The server invokes an AI model to generate appropriate statements. For example, if it is raining and the season is autumn, it will generate a statement such as, "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?"

[0101] Step 7:

[0102] The server sends talk data, including the generated message, to the terminal. The talk data includes the generated message and the virtual character ID.

[0103] Step 8:

[0104] The device analyzes the chat data received from the server and displays the conversation content to the user. For example, it might display text such as, "It's raining today and a little chilly, isn't it? But the trees are changing color in autumn, aren't they beautiful?" in a speech bubble of a virtual character.

[0105] Through these steps, when a user speaks to a virtual character, a situation-appropriate, real-time dialogue is provided.

[0106] (Example 1)

[0107] Next, we will describe Example 1. In the following description, the data processing device 12 will be referred to as the "server," and the smart device 14 will be referred to as the "terminal."

[0108] Current in-game dialogue systems struggle to generate real-time, context-aware responses when users speak to virtual characters. This limits the user experience and results in a lack of realism and diversity in dialogue. Furthermore, the inability to generate situation-appropriate dialogue raises concerns about diminishing the game's immersion.

[0109] The identification process performed by the identification processing unit 290 of the data processing device 12 in Example 1 is realized by the following means.

[0110] In this invention, the server includes means for transmitting data including a user ID, virtual character ID, current time and date, in-game location information, and story progress; means for the server to query a database to obtain weather information, seasonal information, and other relevant environmental information, and to input prompt sentences to an AI model based on this information to generate dialogue; and means for storing the generated dialogue data in JSON format and sending it to the terminal. This enables the user to enjoy a real-time dialogue experience that is appropriate to the situation in the game.

[0111] A "User ID" is an identifier used to uniquely identify a user.

[0112] A "Virtual Character ID" is an identifier used to uniquely identify each character within the game.

[0113] "Current time and date" refers to the specific date and time when the user interacted with the virtual character.

[0114] "Location information" refers to data that indicates the specific location where the user is located within the game.

[0115] "Story progress" refers to data that indicates the progress of the story within the game, showing how far the user has progressed.

[0116] "Weather information" refers to data that shows the current weather conditions within the game.

[0117] "Seasonal information" refers to data that indicates the current seasonal conditions within the game.

[0118] "Environmental data" is a general term for various types of data related to the game environment, such as weather information and seasonal information.

[0119] An "artificial intelligence model" is a machine learning algorithm used to generate conversations based on various input data.

[0120] "Talk" refers to the content of what a virtual character says in a conversation with a user.

[0121] "JSON format" is an abbreviation for JavaScript (registered trademark) Object Notation, and is a lightweight data exchange format.

[0122] This invention describes embodiments for carrying out this invention. This system provides real-time dialogue that corresponds to the in-game situation when a user speaks to a virtual character. This system functions in conjunction with the user, terminal, and server.

[0123] Program Processing Overview

[0124] When a user speaks to a virtual character on the game screen, the device sends a request to the server. This request includes the user ID, virtual character ID, current time and date, in-game location, and story progress. The server receives this request and queries the game data. Based on the query results, it then uses an AI model to generate a conversation and sends the generated conversation data back to the device. Finally, the device displays the conversation to the user.

[0125] Hardware and software to be used

[0126] This system uses the following hardware and software.

[0127] Server: High-performance cloud server

[0128] Device: Smartphones, tablets, PCs, and other devices that can connect to the internet.

[0129] Game application: User interface

[0130] Database: Stores weather information, seasonal information, user data, etc.

[0131] Generative AI models: Machine learning models for natural language processing.

[0132] Details of data processing and data calculations

[0133] When a device sends a request to the server, the following data is included:

[0134] User ID (player identification)

[0135] Virtual character ID (identification of the character being spoken to)

[0136] Current time and date

[0137] Current location (in-game location)

[0138] Story progress

[0139] The server queries a database based on the received data to retrieve weather information, seasonal information, and other relevant environmental information. This data is then input into an AI model to generate prompt messages. Based on these prompt messages, the AI ​​model generates a conversation and sends that conversation data back to the terminal.

[0140] Specific example

[0141] Example 1: When the weather is rainy

[0142] Suppose a user speaks to a virtual character on a rainy day. The device sends the following data to the server:

[0143] User ID: 12345

[0144] Virtual character ID: 5678

[0145] Time and date: 2023-10-05 15:30

[0146] Location information: Town square

[0147] Story progress: 75%

[0148] The server queries weather information and confirms that the current weather is rainy. It also confirms that the season is autumn. Based on this, it inputs the following prompt into the AI ​​model:

[0149] "Weather: Rain, Season: Autumn, Progress: 75%, Location: Town Square"

[0150] The AI ​​model generates the message, "It's raining today and a little chilly, isn't it? But the autumn colors of the trees are beautiful, aren't they?" and the server sends this message to the device. The device then displays this message to the user.

[0151] Specific example 2: When the season is winter

[0152] Suppose a user speaks to a virtual character in winter. The device sends the following data to the server:

[0153] User ID: 54321

[0154] Virtual character ID: 8765

[0155] Time and date: 2023-12-15 18:00

[0156] Location information: Foot of the mountain

[0157] Story progress: 45%

[0158] The server queries seasonal information and confirms that the current season is winter. Based on this, it inputs the following prompt into the AI ​​model:

[0159] "The season is winter, the progression is 45%, and the location is at the foot of a mountain."

[0160] The AI ​​model generates the message, "On a cold day like this, I'd like to make some warm soup at home," and the server sends this to the device. The device then displays this message to the user.

[0161] In this way, this system allows users to enjoy a real-time interactive experience that responds to the situation within the game.

[0162] The flow of the specific processing in Example 1 will be explained using Figure 11.

[0163] Step 1:

[0164] The user speaks to the virtual character.

[0165] Specific actions and inputs:

[0166] The user clicks or taps on a virtual character on the game screen.

[0167] For example, the user performs mouse clicks or touch operations on a character in the "town square" on the screen.

[0168] output:

[0169] A signal to initiate interaction is generated in response to user action.

[0170] Step 2:

[0171] The device sends the request to the server.

[0172] Specific actions and inputs:

[0173] The device detects user actions, and the game application generates API requests internally.

[0174] Input data includes user ID, virtual character ID, current time and date, in-game location information, and story progress.

[0175] example:

[0176] User ID: 12345

[0177] Virtual character ID: 5678

[0178] Time and date: 2023-10-05 15:30

[0179] Location information: Town square

[0180] Story progress: 75%

[0181] Data processing and data computation:

[0182] Send a request containing this data to the server using the HTTP POST method.

[0183] output:

[0184] The request data is sent to the server.

[0185] Step 3:

[0186] The server queries the game data.

[0187] Specific actions and inputs:

[0188] The server analyzes the received request data.

[0189] Input data includes user ID, virtual character ID, current time and date, location information, and progress status.

[0190] Data processing and data computation:

[0191] The server sends queries to the database to retrieve weather information, seasonal information, and other relevant environmental information.

[0192] output:

[0193] The acquired environmental data is stored in memory.

[0194] For example, you can obtain information such as the current weather being rainy and the season being autumn.

[0195] Step 4:

[0196] The server uses an AI model to generate talk.

[0197] Specific actions and inputs:

[0198] The server provides the acquired data as input to the AI ​​model.

[0199] The input data includes "Weather = Rain", "Season = Autumn", "Progress = 75%", and "Location = Town Square".

[0200] Data processing and data computation:

[0201] The server uses this data to format the prompt message and inputs it into the AI ​​model.

[0202] Example: Prompt message: "Weather is rainy, season is autumn, progress is 75%, location is town square."

[0203] output:

[0204] The AI ​​model generates the following dialogue: "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?"

[0205] The generated talk data is stored in JSON format.

[0206] Step 5:

[0207] The server sends the chat data back to the device.

[0208] Specific actions and inputs:

[0209] The server generates the generated talk data and virtual character ID as a JSON response.

[0210] example:

[0211] { "Talk": "It's raining today and a little chilly, isn't it? But the trees are changing color in autumn, aren't they beautiful?", "Character ID": 5678}

[0212] Data processing and data computation:

[0213] The generated response is sent back to the terminal as an HTTP response.

[0214] output:

[0215] The chat data is sent to the device in JSON format.

[0216] Step 6:

[0217] The device displays the chat to the user.

[0218] Specific actions and inputs:

[0219] The terminal parses the JSON-formatted response received from the server.

[0220] The input data includes the dialogue and character ID included in the response.

[0221] Data processing and data computation:

[0222] Based on the analysis results, the dialogue content will be displayed in the game UI.

[0223] output:

[0224] The conversation content is displayed to the user. For example, a conversation such as, "It's raining today and a little chilly, isn't it? But the trees are changing color in autumn, aren't they beautiful?" is displayed as a speech bubble for a virtual character.

[0225] (Application Example 1)

[0226] Next, we will explain Application Example 1. In the following explanation, the data processing device 12 will be referred to as the "server," and the smart device 14 will be referred to as the "terminal."

[0227] Conventional interactive virtual character systems relied on limited information for the user's interaction experience, making it impossible to provide diverse conversations that reflected real-time environmental information. Furthermore, it was difficult to provide appropriate guidance and customer service to customers through virtual characters in physical stores. This invention aims to solve these problems and provide users with a richer interaction experience.

[0228] The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 1 is realized by the following means.

[0229] In this invention, the server includes a terminal for a user to interact with a virtual character, means for transmitting data related to the interaction based on the interaction, means for receiving the transmitted data and acquiring current environmental data, inventory information, and promotional information, means for generating statements from the virtual character using an artificial intelligence model based on the environmental data and related data, means for transmitting the generated statements to the terminal, and means for displaying the transmitted statements to the user. This enables diverse interactions that reflect real-time environmental and store information in a physical store.

[0230] "A terminal for users to interact with a virtual character" refers to a device used by a user to interact with a virtual character. This includes smartphones, smart glasses, tablets, robots, and other similar devices.

[0231] "Data related to the aforementioned dialogue operation" refers to information required during the dialogue, such as user ID, virtual character ID, current time and date, in-store location information, inventory information, and promotion information.

[0232] "Environmental data" refers to external contextual data that should be considered during the interaction. This includes weather information, seasonal information, and store congestion information.

[0233] "Inventory information" refers to data that shows the current inventory status of products in a store.

[0234] "Promotional information" refers to information about current sales, discounts, campaigns, and other promotions.

[0235] An "artificial intelligence model" refers to an algorithm or system that generates natural language speech based on input data. This includes AI models for natural language processing.

[0236] "Means for generating the virtual character's speech" refers to the process of generating the content of what the virtual character will say using an artificial intelligence model, based on acquired environmental data and related data.

[0237] "Means of displaying to the user" refers to methods for visually providing the user with the speech of the generated virtual character. This includes the ability to display it on the device's screen.

[0238] This invention describes embodiments for carrying out this invention. This system enables customers in physical stores to receive real-time guidance and customer service through virtual characters. Hardware used includes smartphones, smart glasses, tablets, and robots, and software used includes cloud servers (e.g., AWS®, Microsoft® Azure®), natural language processing AI models (e.g., OpenAI® GPT-3®), and database management systems (e.g., MySQL®, PostgreSQL).

[0239] The specific operation flow of the system is as follows:

[0240] 1. The user speaks to the virtual character.

[0241] Users use in-store devices (smartphones, smart glasses, etc.) to speak to virtual characters. For example, a customer might speak to a character standing in front of a shelf through smart glasses and ask, "What are your recommended products?"

[0242] 2. The device sends the request to the server.

[0243] The terminal detects interaction and sends a request to the server containing the following data: customer ID, virtual character ID, current time and date, in-store location, inventory information, and promotional information.

[0244] 3. The server queries the store data.

[0245] Based on the received request, the server queries the store's database to retrieve the necessary information (such as inventory and product information, promotion and sale information, store congestion levels, and weather data).

[0246] 4. The server uses the AI ​​model to generate talk.

[0247] The server calls an AI model based on the acquired data and generates a conversation appropriate to the situation. For example, consider the following prompt:

[0248] Weather = Sunny, Season = Spring, Progress = N / A, Location = Shelf #3 in the store, Stock Information = New Spring Products, Promotion Information = Special Sale

[0249] Based on this data input, the AI ​​model generates a message saying, "This shelf has new seasonal items. We're also having a special sale today, so we recommend it!"

[0250] 5. The server sends the chat data back to the device.

[0251] The server sends the generated talk data to the terminal.

[0252] 6. The device displays the chat to the customer.

[0253] The terminal displays the talk data received from the server and provides the customer with the conversation content. For example, the smart glasses display might show text such as, "This shelf has new seasonal items. We're also having a special sale today, so we recommend it!"

[0254] Specific example:

[0255] Situation 1: Sale Day

[0256] On sale days, the system generates and displays messages such as, "Today is a sale day. Items on this shelf are 20% off."

[0257] Situation 2: Introducing a new product

[0258] When new products arrive, the system generates and displays a message such as, "New seasonal items are now available on this shelf. Please take a look."

[0259] Situation 3: Store congestion

[0260] If it's crowded, the system will generate and display a message such as, "This area is currently crowded. There are fewer lines at the registers on the other side."

[0261] As described above, this system enables diverse interactions that reflect real-time environmental and store information in physical stores.

[0262] The flow of a specific process in Application Example 1 will be explained using Figure 12.

[0263] Step 1:

[0264] The user speaks to a virtual character.

[0265] Input: The user speaks to a virtual character via a device (smartphone, smart glasses, tablet, robot, etc.).

[0266] Output: Interactive interaction begins, and the user's statements are recorded on the device.

[0267] Specific action: The user, wearing smart glasses, asks a virtual character standing in front of a shelf in a store, "What products do you recommend?"

[0268] Step 2:

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

[0270] Input: User's message content, User ID, Virtual Character ID, Current time and date, Location information within the store, Inventory information, Promotion information.

[0271] Output: Request data sent to the server.

[0272] Specific operation: The terminal packages the user's spoken content and related data, and sends an HTTP request to the server.

[0273] Step 3:

[0274] The server queries the store data.

[0275] Input: Request data (User ID, Virtual Character ID, Current time and date, In-store location information, Inventory information, Promotion information).

[0276] Output: Necessary information (inventory / product information, promotion / sale information, store congestion level, weather data) is retrieved.

[0277] Specific operation: The server queries the database (e.g., MySQL, PostgreSQL) to retrieve relevant inventory information, promotional information, and related environmental data.

[0278] Step 4:

[0279] The server uses an AI model to generate the conversation.

[0280] Input: Acquired data (inventory / product information, promotion / sale information, store congestion level, weather data).

[0281] Output: Generated talk data.

[0282] Specific operation: The server calls an AI model (e.g., OpenAI GPT-3) and enters a prompt message like the following:

[0283] Weather = Sunny, Season = Spring, Progress = N / A, Location = Shelf #3 in the store, Stock Information = New Spring Products, Promotion Information = Special Sale

[0284] The AI model generates the following dialogue based on this prompt text: "There are new seasonal limited products on this shelf. There is also a special sale today, so it is recommended!"

[0285] Step 5:

[0286] The server returns the dialogue data to the terminal.

[0287] Input: Generated dialogue data, virtual character ID.

[0288] Output: Dialogue data to be sent to the terminal.

[0289] Specific operation: The server packages the generated dialogue data and the virtual character ID and sends them to the terminal as an HTTP response.

[0290] Step 6:

[0291] The terminal displays the dialogue to the user.

[0292] Input: Dialogue data received from the server.

[0293] <​​​​​​​​​​​​​​​ This paper describes the embodiments for implementing this invention. This system recognizes the user's emotions in addition to the intra-game situation when the user talks to a virtual character and provides appropriate real-time conversations. Specific program processes and examples will be described below.

[0298] Program Process

[0299] <0OO0944>1. The user talks to a virtual character

[0300] When the user clicks or taps on a virtual character on the game screen, the interaction operation is started.

[0301] For example, assume that the user talks to a virtual character who is in the town square.

[0302] 2. The terminal sends a request to the server

[0303] The terminal detects the user's operation and sends a request containing the following data to the server.

[0304] User ID (player identification)

[0305] Virtual character ID (identification of the character being talked to)

[0306] Current time and date

[0307] Current location information (location within the game)

[0308] Progress of the story

[0309] 3. The server queries the game data

[0310] Based on the received request, the server queries the in-game database and obtains the necessary environmental data.

[0311] Weather information

[0312] Seasonal Information

[0313] Other related environmental information

[0314] 4. The device recognizes the user's emotions.

[0315] The device is equipped with an emotion engine that analyzes the user's voice and facial expressions to acquire emotional data.

[0316] Voice analysis: Analyzes the user's voice tone and speech patterns.

[0317] Facial expression analysis: Reads the user's facial expressions through the camera and determines their emotions.

[0318] 5. The device sends emotional data to the server.

[0319] The device sends the acquired emotional data to the server.

[0320] Emotional data includes the user's emotional state (e.g., joy, sadness, anger, etc.).

[0321] 6. The server uses the AI ​​model to generate talk.

[0322] The server uses the acquired environmental and emotional data to call an AI model and generate conversation appropriate to the situation.

[0323] Data entry: Weather = Rain, Season = Autumn, Progress = 75%, Emotion = Joy

[0324] Dialogue generation: The AI ​​model generates natural language dialogue based on the input data.

[0325] For example, the server uses an AI model to generate a conversation like, "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?"

[0326] 7. The server sends the chat data back to the device.

[0327] The server sends the generated talk data to the terminal.

[0328] Data sent: Generated chat message, virtual character ID

[0329] 8. The device displays the chat to the user.

[0330] The terminal analyzes the chat data received from the server and displays the conversation content to the user.

[0331] Display contents: Generated dialogue, name of the virtual character speaking

[0332] For example, the device displays the text "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?" in a speech bubble of a virtual character.

[0333] Examples

[0334] Situation 1: When the weather is rainy

[0335] When a user speaks to a virtual character on a rainy day, the server generates a message based on the information "Weather: Rain," such as "It's raining heavily today, I want to go home soon." The device receives the message from the server and displays it on the screen.

[0336] Situation 2: When the season is winter

[0337] When a user speaks to a virtual character in winter, the server generates a message based on the information "Season: Winter," such as "On a cold day like this, I'd like to make some warm soup at home." The device receives the message from the server and displays it on the screen.

[0338] Situation 3: When the story is in its later stages.

[0339] When a user speaks to a virtual character while they are at a high stage of story progression, the server generates a message based on the information "Story Progress: 80%", such as "Thanks to you, the town has become peaceful. Keep up the good work!" The device receives the message from the server and displays it on the screen.

[0340] Situation 4: When the user is happy

[0341] When a user speaks enthusiastically and the emotion engine recognizes "joy," the server uses that information to generate a message such as, "You seem to be having a lot of fun! I hope you're enjoying the game." The device receives the message from the server and displays it on the screen.

[0342] Situation 5: When the user is sad

[0343] When a user speaks with a sad voice or expression, and the emotion engine recognizes "sadness," the server uses that information to generate a message such as, "You seem a little down today. Is something wrong?" The device receives the message from the server and displays it on the screen.

[0344] As described above, this system allows users to enjoy a real-time interactive experience that responds to the in-game situation and their own emotional state.

[0345] The following describes the processing flow.

[0346] Step 1:

[0347] To speak to a virtual character, the user clicks or taps the virtual character on the game screen. This initiates the dialogue.

[0348] Step 2:

[0349] The device detects user activity and sends a request to the server containing the following data.

[0350] User ID (player identification)

[0351] Virtual character ID (identification of the character being spoken to)

[0352] Current time and date

[0353] Current location (in-game location)

[0354] Story progress

[0355] Step 3:

[0356] Based on the request received by the server, it queries the game database and retrieves the necessary data (weather, season, progress, etc.).

[0357] Weather information: Current weather

[0358] Seasonal information: Current season

[0359] Story progress: In-game progress

[0360] Step 4:

[0361] The device records the user's voice, and the emotion engine analyzes the voice patterns to obtain the user's emotion data.

[0362] Voice analysis: Analyzes the tone, tempo, and intensity of the user's voice to identify their emotions.

[0363] Step 5:

[0364] The device uses its camera to analyze the user's facial expressions, and the emotion engine acquires emotion data based on those expressions.

[0365] Facial expression analysis: Recognizes the user's facial expressions and detects signs of smiles, sadness, etc.

[0366] Step 6:

[0367] The device sends the acquired emotional data (voice analysis results and facial expression analysis results) to the server.

[0368] Data transmitted: Emotions determined by voice analysis (e.g., joy, sadness), emotions determined by facial expression analysis.

[0369] Step 7:

[0370] The server integrates all data (weather, season, story progression, emotion data) and uses an artificial intelligence model to generate dialogue for the virtual character.

[0371] Data entry: Weather = Rain, Season = Autumn, Progress = 75%, Emotion = Joy

[0372] The AI ​​model generates natural language dialogue based on the input data.

[0373] Step 8:

[0374] The server sends the generated message data (generated message text, virtual character ID) to the terminal.

[0375] Step 9:

[0376] The terminal analyzes the chat data received from the server and displays the conversation content to the user.

[0377] Display contents: Generated dialogue, name of the virtual character speaking

[0378] Example: A speech bubble for a virtual character displays the text, "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?"

[0379] Through the above process, users can enjoy real-time interactions that are tailored to their environment and emotions at that moment.

[0380] (Example 2)

[0381] Next, we will describe Example 2. In the following description, the data processing device 12 will be referred to as the "server" and the smart device 14 as the "terminal".

[0382] Traditional virtual character interaction systems have struggled to provide real-time dialogue that responds to user emotions and in-game situations. This often resulted in low levels of dialogue personalization and a monotonous user experience. Furthermore, systems that only consider environmental data have the problem of failing to generate dialogue that appropriately responds to the user's emotional state.

[0383] The identification process performed by the identification processing unit 290 of the data processing device 12 in Example 2 is realized by the following means.

[0384] In this invention, the server includes a terminal for a user to perform conversational operations with a virtual character, means for transmitting data related to the conversational operations based on the conversational operations, means for acquiring in-game environment data, means for the terminal to acquire the user's emotional data, means for transmitting the acquired emotional data to the server, means for generating statements for the virtual character using an artificial intelligence model based on the environment data and emotional data, means for transmitting the generated statements to the terminal, and means for displaying the transmitted statements to the user. This makes it possible to provide personalized conversations in real time based on the user's emotional state and the situation in the game.

[0385] A "user" refers to a human player who interacts with a virtual character.

[0386] "Interactive interaction" refers to actions such as clicking and tapping that a user performs on a virtual character.

[0387] A "terminal" refers to a hardware device used by a user for interactive operations.

[0388] A "server" refers to a computer system that receives and processes data sent by a user.

[0389] "Means of transmitting data" refers to the processes and functions for transmitting data related to user operations from a terminal to a server.

[0390] "In-game environmental data" refers to environmental information within the game, such as the current weather and season.

[0391] "Emotional data" refers to the emotional state analyzed from the user's voice and facial expressions.

[0392] An "artificial intelligence model" refers to a machine learning algorithm used to generate speech from a virtual character based on environmental and emotional data.

[0393] "Means of generating speech" refers to the process or function of generating speech from a virtual character using an artificial intelligence model.

[0394] "Means of sending messages" refers to the process or function for sending messages generated from a server to a terminal.

[0395] "Means of displaying messages" refers to the processes and functions used to display messages generated by the user on a device.

[0396] The embodiments for carrying out this invention will be described in detail. This system recognizes the in-game situation and the user's emotions when the user speaks to a virtual character, and provides appropriate real-time dialogue. The system consists of a terminal on which the user performs dialogue operations, a server that processes data, and an artificial intelligence model that generates the virtual character's speech.

[0397] First, the device on which the user interacts includes an input device that detects actions such as clicks and taps. For example, when a user taps the screen of a smartphone or tablet, an interaction with a virtual character begins.

[0398] The device retrieves relevant data such as the user ID, virtual character ID, current time and date, in-game location information, and story progress, and sends it to the server. Specifically, when a user speaks to a virtual character in the town square, data such as "User ID: 12345, Character ID: 67890, Time: 14:30, Date: 2023-10-01, Location: Square, Progress: 60%" is sent to the server.

[0399] The server queries the in-game database based on the received request to retrieve current weather information, season information, and other relevant environmental data. For example, it might retrieve data such as "Current weather is rain, season is autumn."

[0400] Next, the device is equipped with an emotion engine that analyzes the user's voice and facial expressions to acquire emotion data. Voice analysis analyzes the user's voice tone and speech patterns, while facial expression analysis reads facial expressions through the camera. For example, if the user is speaking happily, the analysis might determine "voice tone: high, speech pattern: rhythmic, facial expression: smiling," and acquire data such as "emotion: joy."

[0401] The device sends the acquired emotion data to the server. The server uses an artificial intelligence model to generate speech from a virtual character based on the acquired environmental and emotion data. For example, if the input is rainy weather, autumn season, and the user is happy, the AI ​​model will generate a speech like, "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?"

[0402] The generated dialogue is sent from the server to the terminal, which then displays this dialogue to the user as a speech bubble of a virtual character. For example, the terminal might display the text "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?" in a speech bubble of a virtual character.

[0403] Specific examples include prompt statements like the following:

[0404] "It's raining today and a little chilly, isn't it? But the trees are beautiful with their autumn colors, right?"

[0405] This allows users to enjoy a real-time interactive experience that responds to the in-game situation and their own emotional state.

[0406] The flow of the specific processing in Example 2 will be explained using Figure 13.

[0407] Step 1:

[0408] The user interacts with the virtual character.

[0409] When a user clicks or taps a virtual character on the game screen, an interactive interaction begins. Specifically, if a user selects a character in the town square, an interaction with that character will begin. The input is the user's click or tap action, and the output is the trigger that initiates the interaction.

[0410] Step 2:

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

[0412] The device detects user actions and retrieves data such as user ID, virtual character ID, current time and date, in-game location, and story progress, and sends it to the server. For example, data such as "User ID: 12345, Character ID: 67890, Time: 14:30, Date: 2023-10-01, Location: Plaza, Progress: 60%" is sent to the server. The input is the result of detecting user actions, and the output is the request data sent to the server.

[0413] Step 3:

[0414] The server queries the game data.

[0415] Based on the received request data, the server queries the in-game database to retrieve current weather information, season information, and other relevant environmental data. For example, it might retrieve data such as "Current weather is rain, season is autumn." The input is the request data sent from the terminal, and the output is the retrieved environmental data.

[0416] Step 4:

[0417] The device recognizes the user's emotions.

[0418] The emotion engine built into the device analyzes the user's voice and facial expressions to acquire emotion data. Voice analysis captures voice tone and speech patterns, while facial expression analysis reads facial expressions via the camera. For example, if the analysis reveals "voice tone: high, speech pattern: rhythmic, facial expression: smiling," the data acquired might be "emotion: joy." The input is the user's voice and facial expressions, and the output is the analyzed emotion data.

[0419] Step 5:

[0420] The device sends emotional data to the server.

[0421] The device sends the acquired emotion data to the server. For example, data such as "emotion: joy" is sent to the server. The input is the emotion data obtained as a result of the analysis, and the output is the data sent to the server.

[0422] Step 6:

[0423] The server uses an AI model to generate the conversation.

[0424] The server uses an artificial intelligence model to generate speech from a virtual character based on acquired environmental and emotional data. For example, given the input "Weather: Rain," "Season: Autumn," and "Emotion: Joy," the AI ​​model will generate the following dialogue: "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?" The input consists of environmental and emotional data, and the output is the generated dialogue.

[0425] Step 7:

[0426] The server sends the chat data back to the device.

[0427] The server sends the generated chat data to the terminal. The data sent includes the generated chat message and the virtual character ID. For example, "Chat message: It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they? Character ID: 67890" is sent. The input is the generated chat message, and the output is the data sent to the terminal.

[0428] Step 8:

[0429] The device displays the chat to the user.

[0430] The terminal analyzes the chat data received from the server and displays the conversation content to the user. The displayed content includes the generated chat text and the character's name. For example, the speech bubble of a virtual character might display the text, "It's raining today and a little chilly, isn't it? But the autumn colors of the trees are beautiful, aren't they?" The input is the chat data received from the server, and the output is the content displayed to the user.

[0431] Through these steps, users can enjoy a real-time interactive experience that responds to their emotions and the game situation.

[0432] (Application Example 2)

[0433] Next, we will explain application example 2. In the following explanation, the data processing device 12 will be referred to as the "server," and the smart device 14 will be referred to as the "terminal."

[0434] Conventional virtual character interaction systems lacked realism and a sense of connection to the user experience because they generated dialogue based solely on in-game environmental data, without considering the user's emotional state. Similarly, robots working in factories faced safety and efficiency challenges because they could not recognize the emotional state of workers and respond appropriately.

[0435] The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 2 is realized by the following means. In this invention, the server includes a terminal for the user to perform conversational operations with a virtual character, means for transmitting data related to the conversational operations based on the conversational operations, means for receiving the transmitted data and acquiring current environmental data, means for analyzing the user's emotions in addition to the environmental data and acquiring emotion data, means for generating statements from the virtual character using an artificial intelligence model based on the environmental data and emotion data, means for transmitting the generated statements to the terminal, and means for displaying the transmitted statements to the user. This enables real-time dialogue that recognizes the user's emotional state, making it possible to provide a more realistic and familiar user experience. Furthermore, by applying this to factory robots, it becomes possible to provide appropriate responses and advice that take into account the emotions of workers, improving safety and efficiency.

[0436] "Interactive interaction" refers to the inputs and instructions that a user gives to a virtual character or system.

[0437] A "device" is a device that a user directly operates, and includes smartphones, tablets, personal computers, and robots.

[0438] "Means of transmitting data" refers to communication functions that send relevant information to servers or other devices based on user interaction.

[0439] "Environmental data" refers to information that indicates the current situation and conditions, including weather, season, time, location, and progress.

[0440] "Emotional data" refers to information about a user's emotional state obtained by analyzing their voice and facial expressions.

[0441] An "artificial intelligence model" refers to an algorithm that uses technologies such as machine learning and deep learning to make predictions and generate data based on input data.

[0442] "Means for generating speech" refers to a system that automatically generates the words and sentences that a virtual character should actually speak, based on environmental data and emotional data.

[0443] "Means of sending messages" refers to the function that sends generated messages to the user's device.

[0444] "Means for displaying statements" refers to a function that presents statements generated on the device to the user visually or audibly.

[0445] A "system" is a collection of devices or software that function as a whole by combining the aforementioned means.

[0446] The system for carrying out this invention provides real-time responses while recognizing the user's emotions when the user interacts with a virtual character. The system includes a terminal for the user to interact with the character, means for transmitting data, means for acquiring environmental data and emotion data, means for generating statements using an artificial intelligence model, means for transmitting statements to the terminal, and means for displaying statements to the user.

[0447] Hardware and software to be used

[0448] Terminal: A device that the user directly operates, such as a smartphone, tablet, personal computer, or factory robot.

[0449] Camera and microphone: Hardware used to capture the user's facial expressions and voice for emotion recognition.

[0450] EmotionRecognizer Library: This software analyzes voice and facial expressions to acquire data on the user's emotional state.

[0451] Python: A programming language for executing system-wide programs.

[0452] Servers and APIs: These host the artificial intelligence models used to generate talks and serve as the foundation for receiving and sending necessary data.

[0453] Operation Description

[0454] 1. User interaction:

[0455] The user speaks to a virtual character using a terminal. This action initiates a dialogue. For example, when a robot in a factory begins interacting with a worker, the corresponding sensor is activated at that moment.

[0456] 2. Data transmission:

[0457] The device sends a request to the server. This request includes the user ID, virtual character ID, current time and date, current location information (in-game location or work area), and story progress.

[0458] 3. Acquisition of environmental and emotional data:

[0459] The server receives the request and retrieves current environmental data. It also analyzes the user's emotions through the device's camera and microphone and retrieves emotion data using the EmotionRecognizer library.

[0460] 4. Talk generation:

[0461] The server uses environmental and emotional data to invoke an artificial intelligence model to generate appropriate dialogue. The following is a specific example of prompt text based on a conversation with a factory worker.

[0462] Prompt example:

[0463] Input: Environmental data: Current work area: Welding department, Time: October 12, 2023, 10:00, Work progress: 20%, Sentiment data: Focused

[0464] Output: "It's good that you're concentrating. Just make sure you prioritize safety while you work."

[0465] 5. Sending and displaying messages:

[0466] The server sends the generated message to the terminal, and the terminal displays the message to the user. For example, a robot might use a display and speaker to convey a message to a worker saying, "It's good that you're concentrating. Just make sure you prioritize safety while you work."

[0467] This system enables real-time interaction that reflects the user's emotional state, thereby improving the user experience. Furthermore, applying it to factory robots allows for appropriate responses and advice that take into account the worker's emotions, leading to improved safety and work efficiency.

[0468] The flow of a specific process in Application Example 2 will be explained using Figure 14.

[0469] Step 1:

[0470] The user interacts with a virtual character or factory robot using a device. Specifically, the user clicks or taps on the character on the device, or speaks to the robot. This action triggers the start of the interaction, and the device detects the interaction.

[0471] Input: User interaction

[0472] Output: Dialogue start trigger

[0473] Step 2:

[0474] The terminal sends data related to the interaction to the server. This data includes the user ID, virtual character ID, current time and date, current location information (location within the game or factory), and story progress.

[0475] Input: Data related to the interaction (User ID, Character ID, Current Time, Location, Progress)

[0476] Output: Send data to the server

[0477] Step 3:

[0478] The server receives the transmitted data and retrieves the current environmental data. The server queries databases within the game and factory to obtain environmental information such as weather, season, time of day, and work area.

[0479] Input: Data related to the interaction

[0480] Output: Environmental data (weather, season, time of day, work area)

[0481] Step 4:

[0482] The device analyzes the user's emotions and acquires emotional data. It captures the user's facial expressions and voice through the device's camera and microphone, and analyzes their emotional state using the EmotionRecognizer library.

[0483] Input: User's facial expressions, voice data

[0484] Output: Emotional data (joy, sadness, fatigue, etc.)

[0485] Step 5:

[0486] The device sends the acquired emotional data to the server. This emotional data includes the user's emotional state.

[0487] Input: Sentiment data

[0488] Output: Send emotion data to the server

[0489] Step 6:

[0490] The server uses an artificial intelligence model to generate situation-appropriate responses based on environmental and sentiment data. The server inputs this data into the AI ​​model and retrieves the generated responses. For example, based on environmental and sentiment data, a response such as "It's good that you're focused. Just make sure you prioritize safety while you work" might be generated.

[0491] Input: Environmental data, emotional data

[0492] Output: Generated talk

[0493] Step 7:

[0494] The server sends the generated message back to the terminal. The server sends a packet containing the message data and the virtual character ID to the terminal.

[0495] Input: Generated talk

[0496] Output: Send talk data (returned to the terminal)

[0497] Step 8:

[0498] The terminal analyzes the talk data received from the server and displays the conversation content to the user. Specifically, the generated talk is presented to the user through the terminal's display and speaker. For example, the robot might display and voice the message, "It's good that you're concentrating. Just make sure you prioritize safety while you work."

[0499] Input: Talk data

[0500] Output: Display and audio output of the talk to the user.

[0501] This enables dialogue that takes the user's emotional state into account, providing a more realistic experience. Furthermore, in applications as factory robots, it improves worker safety and work efficiency.

[0502] The specific processing unit 290 transmits the result of the specific processing to the smart device 14. In the smart device 14, the control unit 46A causes the output device 40 to output the result of the specific processing. The microphone 38B acquires audio indicating user input for the result of the specific processing. The control unit 46A transmits the audio data indicating user input acquired by the microphone 38B to the data processing device 12. In the data processing device 12, the specific processing unit 290 acquires the audio data.

[0503] Data generation model 58 is a so-called generative AI (Artificial Intelligence). An example of data generation model 58 is ChatGPT (registered trademark) (Internet search).<URL: https: / / openai.com / blog / chatgpt> ), Gemini (registered trademark) (Internet search) <url: https: gemini.google.com ?hl="ja">Examples of generative AI include the following. The data generation model 58 is obtained by performing deep learning on a neural network. The data generation model 58 is input with prompts containing instructions, and with inference data such as audio data representing speech, text data representing text, and image data representing images. The data generation model 58 infers from the input inference data according to the instructions indicated by the prompts, and outputs the inference results in data formats such as audio data and text data. Here, inference refers to, for example, analysis, classification, prediction, and / or summarization.

[0504] In the above embodiment, an example was given in which specific processing is performed by the data processing device 12, but the technology of this disclosure is not limited thereto, and the specific processing may also be performed by the smart device 14.

[0505] [Second Embodiment]

[0506] Figure 3 shows an example of the configuration of the data processing system 210 according to the second embodiment.

[0507] As shown in Figure 3, the data processing system 210 includes a data processing device 12 and smart glasses 214. An example of the data processing device 12 is a server.

[0508] The data processing device 12 comprises a computer 22, a database 24, and a communication interface 26. The computer 22 is an example of a "computer" related to the technology of this disclosure. The computer 22 comprises a processor 28, RAM 30, and storage 32. The processor 28, RAM 30, and storage 32 are connected to a bus 34. The database 24 and the communication interface 26 are also connected to the bus 34. The communication interface 26 is connected to a network 54. An example of the network 54 is a WAN (Wide Area Network) and / or a LAN (Local Area Network).

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

[0510] The microphone 238 receives voice signals from the user 20 and receives instructions from the user 20. The microphone 238 captures the voice signals from the user 20, converts the captured voice into audio data, and outputs it to the processor 46. The speaker 240 outputs audio according to the instructions from the processor 46.

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

[0512] Communication interface 44 is connected to network 54. Communication interfaces 44 and 26 are responsible for the exchange of various information between processor 46 and processor 28 via network 54. The exchange of various information between processor 46 and processor 28 using communication interfaces 44 and 26 is performed in a secure manner.

[0513] Figure 4 shows an example of the main functions of the data processing device 12 and the smart glasses 214. As shown in Figure 4, the data processing device 12 performs specific processing using the processor 28. The storage 32 stores the specific processing program 56.

[0514] The specific processing program 56 is an example of a "program" relating to the technology of this disclosure. The processor 28 reads the specific processing program 56 from the storage 32 and executes the read specific processing program 56 on the RAM 30. The specific processing is realized by the processor 28 operating as a specific processing unit 290 in accordance with the specific processing program 56 executed on the RAM 30.

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

[0516] In the smart glasses 214, the processor 46 performs the reception output processing. The storage 50 stores the reception output program 60. The processor 46 reads the reception output program 60 from the storage 50 and executes the read reception output program 60 on the RAM 48. The reception output processing is realized by the processor 46 operating as a control unit 46A according to the reception output program 60 executed on the RAM 48.

[0517] Next, the identification processing performed by the identification processing unit 290 of the data processing device 12 will be described. In the following description, the data processing device 12 will be referred to as the "server" and the smart glasses 214 will be referred to as the "terminal".

[0518] This invention will now describe embodiments for carrying it out. This system provides real-time dialogue that corresponds to the in-game situation when a user speaks to a virtual character. The specific program processing and implementation examples are described below.

[0519] Program processing

[0520] 1. The user speaks to the virtual character.

[0521] When a user clicks or taps a virtual character on the game screen, an interactive interaction begins.

[0522] For example, suppose a user speaks to a virtual character in a town square.

[0523] 2. The device sends the request to the server.

[0524] The terminal detects user activity and sends a request to the server containing the following data.

[0525] User ID (player identification)

[0526] Virtual character ID (identification of the character being spoken to)

[0527] Current time and date

[0528] Current location (in-game location)

[0529] Story progress

[0530] For example, the device sends the following data to the server:

[0531] User ID: 12345

[0532] Virtual character ID: 5678

[0533] Time and date: 2023-10-05 15:30

[0534] Location information: Town square

[0535] Story progress: 75%

[0536] 3. The server queries the game data.

[0537] The server queries the in-game database based on the received request and retrieves the necessary data.

[0538] Weather information

[0539] Seasonal Information

[0540] Other related environmental information

[0541] For example, the server queries weather data and confirms that the current weather is rainy. It also confirms that the current season is autumn.

[0542] 4. The server uses the AI ​​model to generate talk.

[0543] The server uses the acquired data to call up an AI model and generate appropriate dialogue for the situation.

[0544] Data entry: Weather = Rain, Season = Autumn, Progress = 75%, Location = Town square

[0545] Dialogue generation: The AI ​​model generates natural language dialogue based on the input data.

[0546] For example, the server uses an AI model to generate a conversation like, "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?"

[0547] 5. The server sends the chat data back to the device.

[0548] The server sends the generated talk data to the terminal.

[0549] Data sent: Generated chat message, virtual character ID

[0550] For example, the server sends the generated message "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?" to the terminal.

[0551] 6. The device displays the chat to the user.

[0552] The terminal displays the chat data received from the server on the screen, presenting the conversation content to the user.

[0553] Display contents: Generated dialogue, name of the virtual character speaking

[0554] For example, the device displays the text "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?" in a speech bubble of a virtual character.

[0555] Examples

[0556] Situation 1: When the weather is rainy

[0557] When a user speaks to a virtual character on a rainy day, the server generates a message based on the information "Weather: Rain," such as "It's raining heavily today, I want to go home soon." The device receives the message from the server and displays it on the screen.

[0558] Situation 2: When the season is winter

[0559] When a user speaks to a virtual character in winter, the server generates a message based on the information "Season: Winter," such as "On a cold day like this, I'd like to make some warm soup at home." The device receives the message from the server and displays it on the screen.

[0560] Situation 3: When the story is in its later stages.

[0561] When a user speaks to a virtual character while they are at a high stage of story progression, the server generates a message based on the information "Story Progress: 80%", such as "Thanks to you, the town has become peaceful. Keep up the good work!" The device receives the message from the server and displays it on the screen.

[0562] As described above, this system allows users to enjoy a real-time interactive experience that responds to the situation within the game.

[0563] The following describes the processing flow.

[0564] Step 1:

[0565] The user uses a device to interact with the virtual character by clicking or tapping the virtual character on the game screen. This initiates the interaction.

[0566] Step 2:

[0567] The device detects user activity and sends a request to the server containing the following data.

[0568] User ID (player identification)

[0569] Virtual character ID (identification of the character being spoken to)

[0570] Current time and date

[0571] Current location (in-game location)

[0572] Story progress

[0573] Step 3:

[0574] The server receives the request. The server retrieves the specified user ID, virtual character ID, current time and date, location information, and story progress.

[0575] Step 4:

[0576] The server uses this data to query the in-game database and retrieve the necessary environmental data. For example, it might retrieve current weather and seasonal information.

[0577] Step 5:

[0578] Based on the information acquired by the server, environmental data (weather information, seasonal information, story progress, etc.) is input into the AI ​​model to generate dialogue for the virtual character.

[0579] Step 6:

[0580] The server invokes an AI model to generate appropriate statements. For example, if it is raining and the season is autumn, it will generate a statement such as, "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?"

[0581] Step 7:

[0582] The server sends talk data, including the generated message, to the terminal. The talk data includes the generated message and the virtual character ID.

[0583] Step 8:

[0584] The device analyzes the chat data received from the server and displays the conversation content to the user. For example, it might display text such as, "It's raining today and a little chilly, isn't it? But the trees are changing color in autumn, aren't they beautiful?" in a speech bubble of a virtual character.

[0585] Through these steps, when a user speaks to a virtual character, a situation-appropriate, real-time dialogue is provided.

[0586] (Example 1)

[0587] Next, we will describe Example 1. In the following description, the data processing device 12 will be referred to as the "server" and the smart glasses 214 will be referred to as the "terminal".

[0588] Current in-game dialogue systems struggle to generate real-time, context-aware responses when users speak to virtual characters. This limits the user experience and results in a lack of realism and diversity in dialogue. Furthermore, the inability to generate situation-appropriate dialogue raises concerns about diminishing the game's immersion.

[0589] The identification process performed by the identification processing unit 290 of the data processing device 12 in Example 1 is realized by the following means.

[0590] In this invention, the server includes means for transmitting data including a user ID, virtual character ID, current time and date, in-game location information, and story progress; means for the server to query a database to obtain weather information, seasonal information, and other relevant environmental information, and to input prompt sentences to an AI model based on this information to generate dialogue; and means for storing the generated dialogue data in JSON format and sending it to the terminal. This enables the user to enjoy a real-time dialogue experience that is appropriate to the situation in the game.

[0591] A "User ID" is an identifier used to uniquely identify a user.

[0592] A "Virtual Character ID" is an identifier used to uniquely identify each character within the game.

[0593] "Current time and date" refers to the specific date and time when the user interacted with the virtual character.

[0594] "Location information" refers to data that indicates the specific location where the user is located within the game.

[0595] "Story progress" refers to data that indicates the progress of the story within the game, showing how far the user has progressed.

[0596] "Weather information" refers to data that shows the current weather conditions within the game.

[0597] "Seasonal information" refers to data that indicates the current seasonal conditions within the game.

[0598] "Environmental data" is a general term for various types of data related to the game environment, such as weather information and seasonal information.

[0599] An "artificial intelligence model" is a machine learning algorithm used to generate conversations based on various input data.

[0600] "Talk" refers to the content of what a virtual character says in a conversation with a user.

[0601] "JSON format" is an abbreviation for JavaScript Object Notation, and is a lightweight data exchange format.

[0602] This invention describes embodiments for carrying out this invention. This system provides real-time dialogue that corresponds to the in-game situation when a user speaks to a virtual character. This system functions in conjunction with the user, terminal, and server.

[0603] Program Processing Overview

[0604] When a user speaks to a virtual character on the game screen, the device sends a request to the server. This request includes the user ID, virtual character ID, current time and date, in-game location, and story progress. The server receives this request and queries the game data. Based on the query results, it then uses an AI model to generate a conversation and sends the generated conversation data back to the device. Finally, the device displays the conversation to the user.

[0605] Hardware and software to be used

[0606] This system uses the following hardware and software.

[0607] Server: High-performance cloud server

[0608] Device: Smartphones, tablets, PCs, and other devices that can connect to the internet.

[0609] Game application: User interface

[0610] Database: Stores weather information, seasonal information, user data, etc.

[0611] Generative AI models: Machine learning models for natural language processing.

[0612] Details of data processing and data calculations

[0613] When a device sends a request to the server, the following data is included:

[0614] User ID (player identification)

[0615] Virtual character ID (identification of the character being spoken to)

[0616] Current time and date

[0617] Current location (in-game location)

[0618] Story progress

[0619] The server queries a database based on the received data to retrieve weather information, seasonal information, and other relevant environmental information. This data is then input into an AI model to generate prompt messages. Based on these prompt messages, the AI ​​model generates a conversation and sends that conversation data back to the terminal.

[0620] Specific example

[0621] Example 1: When the weather is rainy

[0622] Suppose a user speaks to a virtual character on a rainy day. The device sends the following data to the server:

[0623] User ID: 12345

[0624] Virtual character ID: 5678

[0625] Time and date: 2023-10-05 15:30

[0626] Location information: Town square

[0627] Story progress: 75%

[0628] The server queries weather information and confirms that the current weather is rainy. It also confirms that the season is autumn. Based on this, it inputs the following prompt into the AI ​​model:

[0629] "Weather: Rain, Season: Autumn, Progress: 75%, Location: Town Square"

[0630] The AI ​​model generates the message, "It's raining today and a little chilly, isn't it? But the autumn colors of the trees are beautiful, aren't they?" and the server sends this message to the device. The device then displays this message to the user.

[0631] Specific example 2: When the season is winter

[0632] Suppose a user speaks to a virtual character in winter. The device sends the following data to the server:

[0633] User ID: 54321

[0634] Virtual character ID: 8765

[0635] Time and date: 2023-12-15 18:00

[0636] Location information: Foot of the mountain

[0637] Story progress: 45%

[0638] The server queries seasonal information and confirms that the current season is winter. Based on this, it inputs the following prompt into the AI ​​model:

[0639] "The season is winter, the progression is 45%, and the location is at the foot of a mountain."

[0640] The AI ​​model generates the message, "On a cold day like this, I'd like to make some warm soup at home," and the server sends this to the device. The device then displays this message to the user.

[0641] In this way, this system allows users to enjoy a real-time interactive experience that responds to the situation within the game.

[0642] The flow of the specific processing in Example 1 will be explained using Figure 11.

[0643] Step 1:

[0644] The user speaks to the virtual character.

[0645] Specific actions and inputs:

[0646] The user clicks or taps on a virtual character on the game screen.

[0647] For example, the user performs mouse clicks or touch operations on a character in the "town square" on the screen.

[0648] output:

[0649] A signal to initiate interaction is generated in response to user action.

[0650] Step 2:

[0651] The device sends the request to the server.

[0652] Specific actions and inputs:

[0653] The device detects user actions, and the game application generates API requests internally.

[0654] Input data includes user ID, virtual character ID, current time and date, in-game location information, and story progress.

[0655] example:

[0656] User ID: 12345

[0657] Virtual character ID: 5678

[0658] Time and date: 2023-10-05 15:30

[0659] Location information: Town square

[0660] Story progress: 75%

[0661] Data processing and data computation:

[0662] Send a request containing this data to the server using the HTTP POST method.

[0663] output:

[0664] The request data is sent to the server.

[0665] Step 3:

[0666] The server queries the game data.

[0667] Specific actions and inputs:

[0668] The server analyzes the received request data.

[0669] Input data includes user ID, virtual character ID, current time and date, location information, and progress status.

[0670] Data processing and data computation:

[0671] The server sends queries to the database to retrieve weather information, seasonal information, and other relevant environmental information.

[0672] output:

[0673] The acquired environmental data is stored in memory.

[0674] For example, you can obtain information such as the current weather being rainy and the season being autumn.

[0675] Step 4:

[0676] The server uses an AI model to generate talk.

[0677] Specific actions and inputs:

[0678] The server provides the acquired data as input to the AI ​​model.

[0679] The input data includes "Weather = Rain", "Season = Autumn", "Progress = 75%", and "Location = Town Square".

[0680] Data processing and data computation:

[0681] The server uses this data to format the prompt message and inputs it into the AI ​​model.

[0682] Example: Prompt message: "Weather is rainy, season is autumn, progress is 75%, location is town square."

[0683] output:

[0684] The AI ​​model generates the following dialogue: "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?"

[0685] The generated talk data is stored in JSON format.

[0686] Step 5:

[0687] The server sends the chat data back to the device.

[0688] Specific actions and inputs:

[0689] The server generates the generated talk data and virtual character ID as a JSON response.

[0690] example:

[0691] { "Talk": "It's raining today and a little chilly, isn't it? But the trees are changing color in autumn, aren't they beautiful?", "Character ID": 5678}

[0692] Data processing and data computation:

[0693] The generated response is sent back to the terminal as an HTTP response.

[0694] output:

[0695] The chat data is sent to the device in JSON format.

[0696] Step 6:

[0697] The device displays the chat to the user.

[0698] Specific actions and inputs:

[0699] The terminal parses the JSON-formatted response received from the server.

[0700] The input data includes the dialogue and character ID included in the response.

[0701] Data processing and data computation:

[0702] Based on the analysis results, the dialogue content will be displayed in the game UI.

[0703] output:

[0704] The conversation content is displayed to the user. For example, a conversation such as, "It's raining today and a little chilly, isn't it? But the trees are changing color in autumn, aren't they beautiful?" is displayed as a speech bubble for a virtual character.

[0705] (Application Example 1)

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

[0707] Conventional interactive virtual character systems relied on limited information for the user's interaction experience, making it impossible to provide diverse conversations that reflected real-time environmental information. Furthermore, it was difficult to provide appropriate guidance and customer service to customers through virtual characters in physical stores. This invention aims to solve these problems and provide users with a richer interaction experience.

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

[0709] In this invention, the server includes a terminal for a user to interact with a virtual character, means for transmitting data related to the interaction based on the interaction, means for receiving the transmitted data and acquiring current environmental data, inventory information, and promotional information, means for generating statements from the virtual character using an artificial intelligence model based on the environmental data and related data, means for transmitting the generated statements to the terminal, and means for displaying the transmitted statements to the user. This enables diverse interactions that reflect real-time environmental and store information in a physical store.

[0710] "A terminal for users to interact with a virtual character" refers to a device used by a user to interact with a virtual character. This includes smartphones, smart glasses, tablets, robots, and other similar devices.

[0711] "Data related to the aforementioned dialogue operation" refers to information required during the dialogue, such as user ID, virtual character ID, current time and date, in-store location information, inventory information, and promotion information.

[0712] "Environmental data" refers to external contextual data that should be considered during the interaction. This includes weather information, seasonal information, and store congestion information.

[0713] "Inventory information" refers to data that shows the current inventory status of products in a store.

[0714] "Promotional information" refers to information about current sales, discounts, campaigns, and other promotions.

[0715] An "artificial intelligence model" refers to an algorithm or system that generates natural language speech based on input data. This includes AI models for natural language processing.

[0716] "Means for generating the virtual character's speech" refers to the process of generating the content of what the virtual character will say using an artificial intelligence model, based on acquired environmental data and related data.

[0717] "Means of displaying to the user" refers to methods for visually providing the user with the speech of the generated virtual character. This includes the ability to display it on the device's screen.

[0718] This invention describes embodiments for carrying out this invention. This system enables customers in physical stores to receive real-time guidance and customer service through virtual characters. Examples of hardware used include smartphones, smart glasses, tablets, and robots, and examples of software used include cloud servers (e.g., AWS, Microsoft Azure), natural language processing AI models (e.g., OpenAI GPT-3), and database management systems (e.g., MySQL, PostgreSQL).

[0719] The specific operation flow of the system is as follows:

[0720] 1. The user speaks to the virtual character.

[0721] Users use in-store devices (smartphones, smart glasses, etc.) to speak to virtual characters. For example, a customer might speak to a character standing in front of a shelf through smart glasses and ask, "What are your recommended products?"

[0722] 2. The device sends the request to the server.

[0723] The terminal detects interaction and sends a request to the server containing the following data: customer ID, virtual character ID, current time and date, in-store location, inventory information, and promotional information.

[0724] 3. The server queries the store data.

[0725] Based on the received request, the server queries the store's database to retrieve the necessary information (such as inventory and product information, promotion and sale information, store congestion levels, and weather data).

[0726] 4. The server uses the AI ​​model to generate talk.

[0727] The server calls an AI model based on the acquired data and generates a conversation appropriate to the situation. For example, consider the following prompt:

[0728] Weather = Sunny, Season = Spring, Progress = N / A, Location = Shelf #3 in the store, Stock Information = New Spring Products, Promotion Information = Special Sale

[0729] Based on this data input, the AI ​​model generates a message saying, "This shelf has new seasonal items. We're also having a special sale today, so we recommend it!"

[0730] 5. The server sends the chat data back to the device.

[0731] The server sends the generated talk data to the terminal.

[0732] 6. The device displays the chat to the customer.

[0733] The terminal displays the talk data received from the server and provides the customer with the conversation content. For example, the smart glasses display might show text such as, "This shelf has new seasonal items. We're also having a special sale today, so we recommend it!"

[0734] Specific example:

[0735] Situation 1: Sale Day

[0736] On sale days, the system generates and displays messages such as, "Today is a sale day. Items on this shelf are 20% off."

[0737] Situation 2: Introducing a new product

[0738] When new products arrive, the system generates and displays a message such as, "New seasonal items are now available on this shelf. Please take a look."

[0739] Situation 3: Store congestion

[0740] If it's crowded, the system will generate and display a message such as, "This area is currently crowded. There are fewer lines at the registers on the other side."

[0741] As described above, this system enables diverse interactions that reflect real-time environmental and store information in physical stores.

[0742] The flow of a specific process in Application Example 1 will be explained using Figure 12.

[0743] Step 1:

[0744] The user speaks to a virtual character.

[0745] Input: The user speaks to a virtual character via a device (smartphone, smart glasses, tablet, robot, etc.).

[0746] Output: Interactive interaction begins, and the user's statements are recorded on the device.

[0747] Specific action: The user, wearing smart glasses, asks a virtual character standing in front of a shelf in a store, "What products do you recommend?"

[0748] Step 2:

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

[0750] Input: User's message content, User ID, Virtual Character ID, Current time and date, Location information within the store, Inventory information, Promotion information.

[0751] Output: Request data sent to the server.

[0752] Specific operation: The terminal packages the user's spoken content and related data, and sends an HTTP request to the server.

[0753] Step 3:

[0754] The server queries the store data.

[0755] Input: Request data (User ID, Virtual Character ID, Current time and date, In-store location information, Inventory information, Promotion information).

[0756] Output: Necessary information (inventory / product information, promotion / sale information, store congestion level, weather data) is retrieved.

[0757] Specific operation: The server queries the database (e.g., MySQL, PostgreSQL) to retrieve relevant inventory information, promotional information, and related environmental data.

[0758] Step 4:

[0759] The server uses an AI model to generate the conversation.

[0760] Input: Acquired data (inventory / product information, promotion / sale information, store congestion level, weather data).

[0761] Output: Generated talk data.

[0762] Specific operation: The server calls an AI model (e.g., OpenAI GPT-3) and enters a prompt message like the following:

[0763] Weather = Sunny, Season = Spring, Progress = N / A, Location = Shelf #3 in the store, Stock Information = New Spring Products, Promotion Information = Special Sale

[0764] Based on this prompt, the AI ​​model generates the following message: "This shelf has new seasonal items. We're also having a special sale today, so we recommend it!"

[0765] Step 5:

[0766] The server sends the chat data back to the device.

[0767] Input: Generated talk data, virtual character ID.

[0768] Output: Talk data sent to the terminal.

[0769] Specific operation: The server packages the generated talk data and virtual character ID and sends it to the terminal as an HTTP response.

[0770] Step 6:

[0771] The device displays the chat to the user.

[0772] Input: Talk data received from the server.

[0773] Output: The content of the talk presented to the user visually.

[0774] Specific operation: The device receives the chat data and displays the text "This shelf has new seasonal items. We're also having a special sale today, so we recommend it!" on the smart glasses' display.

[0775] This allows users to enjoy diverse conversational experiences that reflect real-time environmental and store information within physical stores.

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

[0777] This invention describes embodiments for carrying out this invention. This system recognizes the user's emotions in addition to the in-game situation when the user speaks to a virtual character, and provides appropriate real-time dialogue. The specific program processing and embodiments are described below.

[0778] Program processing

[0779] 1. The user speaks to the virtual character.

[0780] When a user clicks or taps a virtual character on the game screen, an interactive interaction begins.

[0781] For example, suppose a user speaks to a virtual character in a town square.

[0782] 2. The device sends the request to the server.

[0783] The terminal detects user activity and sends a request to the server containing the following data.

[0784] User ID (player identification)

[0785] Virtual character ID (identification of the character being spoken to)

[0786] Current time and date

[0787] Current location (in-game location)

[0788] Story progress

[0789] 3. The server queries the game data.

[0790] Based on the received request, the server queries the in-game database and retrieves the necessary environmental data.

[0791] Weather information

[0792] Seasonal Information

[0793] Other related environmental information

[0794] 4. The device recognizes the user's emotions.

[0795] The device is equipped with an emotion engine that analyzes the user's voice and facial expressions to acquire emotional data.

[0796] Voice analysis: Analyzes the user's voice tone and speech patterns.

[0797] Facial expression analysis: Reads the user's facial expressions through the camera and determines their emotions.

[0798] 5. The device sends emotional data to the server.

[0799] The device sends the acquired emotional data to the server.

[0800] Emotional data includes the user's emotional state (e.g., joy, sadness, anger, etc.).

[0801] 6. The server uses the AI ​​model to generate talk.

[0802] The server uses the acquired environmental and emotional data to call an AI model and generate conversation appropriate to the situation.

[0803] Data entry: Weather = Rain, Season = Autumn, Progress = 75%, Emotion = Joy

[0804] Dialogue generation: The AI ​​model generates natural language dialogue based on the input data.

[0805] For example, the server uses an AI model to generate a conversation like, "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?"

[0806] 7. The server sends the chat data back to the device.

[0807] The server sends the generated talk data to the terminal.

[0808] Data sent: Generated chat message, virtual character ID

[0809] 8. The device displays the chat to the user.

[0810] The terminal analyzes the chat data received from the server and displays the conversation content to the user.

[0811] Display contents: Generated dialogue, name of the virtual character speaking

[0812] For example, the device displays the text "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?" in a speech bubble of a virtual character.

[0813] Examples

[0814] Situation 1: When the weather is rainy

[0815] When a user speaks to a virtual character on a rainy day, the server generates a message based on the information "Weather: Rain," such as "It's raining heavily today, I want to go home soon." The device receives the message from the server and displays it on the screen.

[0816] Situation 2: When the season is winter

[0817] When a user speaks to a virtual character in winter, the server generates a message based on the information "Season: Winter," such as "On a cold day like this, I'd like to make some warm soup at home." The device receives the message from the server and displays it on the screen.

[0818] Situation 3: When the story is in its later stages.

[0819] When a user speaks to a virtual character while they are at a high stage of story progression, the server generates a message based on the information "Story Progress: 80%", such as "Thanks to you, the town has become peaceful. Keep up the good work!" The device receives the message from the server and displays it on the screen.

[0820] Situation 4: When the user is happy

[0821] When a user speaks enthusiastically and the emotion engine recognizes "joy," the server uses that information to generate a message such as, "You seem to be having a lot of fun! I hope you're enjoying the game." The device receives the message from the server and displays it on the screen.

[0822] Situation 5: When the user is sad

[0823] When a user speaks with a sad voice or expression, and the emotion engine recognizes "sadness," the server uses that information to generate a message such as, "You seem a little down today. Is something wrong?" The device receives the message from the server and displays it on the screen.

[0824] As described above, this system allows users to enjoy a real-time interactive experience that responds to the in-game situation and their own emotional state.

[0825] The following describes the processing flow.

[0826] Step 1:

[0827] To speak to a virtual character, the user clicks or taps the virtual character on the game screen. This initiates the dialogue.

[0828] Step 2:

[0829] The device detects user activity and sends a request to the server containing the following data.

[0830] User ID (player identification)

[0831] Virtual character ID (identification of the character being spoken to)

[0832] Current time and date

[0833] Current location (in-game location)

[0834] Story progress

[0835] Step 3:

[0836] Based on the request received by the server, it queries the game database and retrieves the necessary data (weather, season, progress, etc.).

[0837] Weather information: Current weather

[0838] Seasonal information: Current season

[0839] Story progress: In-game progress

[0840] Step 4:

[0841] The device records the user's voice, and the emotion engine analyzes the voice patterns to obtain the user's emotion data.

[0842] Voice analysis: Analyzes the tone, tempo, and intensity of the user's voice to identify their emotions.

[0843] Step 5:

[0844] The device uses its camera to analyze the user's facial expressions, and the emotion engine acquires emotion data based on those expressions.

[0845] Facial expression analysis: Recognizes the user's facial expressions and detects signs of smiles, sadness, etc.

[0846] Step 6:

[0847] The device sends the acquired emotional data (voice analysis results and facial expression analysis results) to the server.

[0848] Data transmitted: Emotions determined by voice analysis (e.g., joy, sadness), emotions determined by facial expression analysis.

[0849] Step 7:

[0850] The server integrates all data (weather, season, story progression, emotion data) and uses an artificial intelligence model to generate dialogue for the virtual character.

[0851] Data entry: Weather = Rain, Season = Autumn, Progress = 75%, Emotion = Joy

[0852] The AI ​​model generates natural language dialogue based on the input data.

[0853] Step 8:

[0854] The server sends the generated message data (generated message text, virtual character ID) to the terminal.

[0855] Step 9:

[0856] The terminal analyzes the chat data received from the server and displays the conversation content to the user.

[0857] Display contents: Generated dialogue, name of the virtual character speaking

[0858] Example: A speech bubble for a virtual character displays the text, "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?"

[0859] Through the above process, users can enjoy real-time interactions that are tailored to their environment and emotions at that moment.

[0860] (Example 2)

[0861] Next, we will describe Example 2. In the following description, the data processing device 12 will be referred to as the "server" and the smart glasses 214 will be referred to as the "terminal".

[0862] Traditional virtual character interaction systems have struggled to provide real-time dialogue that responds to user emotions and in-game situations. This often resulted in low levels of dialogue personalization and a monotonous user experience. Furthermore, systems that only consider environmental data have the problem of failing to generate dialogue that appropriately responds to the user's emotional state.

[0863] The identification process performed by the identification processing unit 290 of the data processing device 12 in Example 2 is realized by the following means.

[0864] In this invention, the server includes a terminal for a user to perform conversational operations with a virtual character, means for transmitting data related to the conversational operations based on the conversational operations, means for acquiring in-game environment data, means for the terminal to acquire the user's emotional data, means for transmitting the acquired emotional data to the server, means for generating statements for the virtual character using an artificial intelligence model based on the environment data and emotional data, means for transmitting the generated statements to the terminal, and means for displaying the transmitted statements to the user. This makes it possible to provide personalized conversations in real time based on the user's emotional state and the situation in the game.

[0865] A "user" refers to a human player who interacts with a virtual character.

[0866] "Interactive interaction" refers to actions such as clicking and tapping that a user performs on a virtual character.

[0867] A "terminal" refers to a hardware device used by a user for interactive operations.

[0868] A "server" refers to a computer system that receives and processes data sent by a user.

[0869] "Means of transmitting data" refers to the processes and functions for transmitting data related to user operations from a terminal to a server.

[0870] "In-game environmental data" refers to environmental information within the game, such as the current weather and season.

[0871] "Emotional data" refers to the emotional state analyzed from the user's voice and facial expressions.

[0872] An "artificial intelligence model" refers to a machine learning algorithm used to generate speech from a virtual character based on environmental and emotional data.

[0873] "Means of generating speech" refers to the process or function of generating speech from a virtual character using an artificial intelligence model.

[0874] "Means of sending messages" refers to the process or function for sending messages generated from a server to a terminal.

[0875] "Means of displaying messages" refers to the processes and functions used to display messages generated by the user on a device.

[0876] The embodiments for carrying out this invention will be described in detail. This system recognizes the in-game situation and the user's emotions when the user speaks to a virtual character, and provides appropriate real-time dialogue. The system consists of a terminal on which the user performs dialogue operations, a server that processes data, and an artificial intelligence model that generates the virtual character's speech.

[0877] First, the device on which the user interacts includes an input device that detects actions such as clicks and taps. For example, when a user taps the screen of a smartphone or tablet, an interaction with a virtual character begins.

[0878] The device retrieves relevant data such as the user ID, virtual character ID, current time and date, in-game location information, and story progress, and sends it to the server. Specifically, when a user speaks to a virtual character in the town square, data such as "User ID: 12345, Character ID: 67890, Time: 14:30, Date: 2023-10-01, Location: Square, Progress: 60%" is sent to the server.

[0879] The server queries the in-game database based on the received request to retrieve current weather information, season information, and other relevant environmental data. For example, it might retrieve data such as "Current weather is rain, season is autumn."

[0880] Next, the device is equipped with an emotion engine that analyzes the user's voice and facial expressions to acquire emotion data. Voice analysis analyzes the user's voice tone and speech patterns, while facial expression analysis reads facial expressions through the camera. For example, if the user is speaking happily, the analysis might determine "voice tone: high, speech pattern: rhythmic, facial expression: smiling," and acquire data such as "emotion: joy."

[0881] The device sends the acquired emotion data to the server. The server uses an artificial intelligence model to generate speech from a virtual character based on the acquired environmental and emotion data. For example, if the input is rainy weather, autumn season, and the user is happy, the AI ​​model will generate a speech like, "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?"

[0882] The generated dialogue is sent from the server to the terminal, which then displays this dialogue to the user as a speech bubble of a virtual character. For example, the terminal might display the text "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?" in a speech bubble of a virtual character.

[0883] Specific examples include prompt statements like the following:

[0884] "It's raining today and a little chilly, isn't it? But the trees are beautiful with their autumn colors, right?"

[0885] This allows users to enjoy a real-time interactive experience that responds to the in-game situation and their own emotional state.

[0886] The flow of the specific processing in Example 2 will be explained using Figure 13.

[0887] Step 1:

[0888] The user interacts with the virtual character.

[0889] When a user clicks or taps a virtual character on the game screen, an interactive interaction begins. Specifically, if a user selects a character in the town square, an interaction with that character will begin. The input is the user's click or tap action, and the output is the trigger that initiates the interaction.

[0890] Step 2:

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

[0892] The device detects user actions and retrieves data such as user ID, virtual character ID, current time and date, in-game location, and story progress, and sends it to the server. For example, data such as "User ID: 12345, Character ID: 67890, Time: 14:30, Date: 2023-10-01, Location: Plaza, Progress: 60%" is sent to the server. The input is the result of detecting user actions, and the output is the request data sent to the server.

[0893] Step 3:

[0894] The server queries the game data.

[0895] Based on the received request data, the server queries the in-game database to retrieve current weather information, season information, and other relevant environmental data. For example, it might retrieve data such as "Current weather is rain, season is autumn." The input is the request data sent from the terminal, and the output is the retrieved environmental data.

[0896] Step 4:

[0897] The device recognizes the user's emotions.

[0898] The emotion engine built into the device analyzes the user's voice and facial expressions to acquire emotion data. Voice analysis captures voice tone and speech patterns, while facial expression analysis reads facial expressions via the camera. For example, if the analysis reveals "voice tone: high, speech pattern: rhythmic, facial expression: smiling," the data acquired might be "emotion: joy." The input is the user's voice and facial expressions, and the output is the analyzed emotion data.

[0899] Step 5:

[0900] The device sends emotional data to the server.

[0901] The device sends the acquired emotion data to the server. For example, data such as "emotion: joy" is sent to the server. The input is the emotion data obtained as a result of the analysis, and the output is the data sent to the server.

[0902] Step 6:

[0903] The server uses an AI model to generate the conversation.

[0904] The server uses an artificial intelligence model to generate speech from a virtual character based on acquired environmental and emotional data. For example, given the input "Weather: Rain," "Season: Autumn," and "Emotion: Joy," the AI ​​model will generate the following dialogue: "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?" The input consists of environmental and emotional data, and the output is the generated dialogue.

[0905] Step 7:

[0906] The server sends the chat data back to the device.

[0907] The server sends the generated chat data to the terminal. The data sent includes the generated chat message and the virtual character ID. For example, "Chat message: It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they? Character ID: 67890" is sent. The input is the generated chat message, and the output is the data sent to the terminal.

[0908] Step 8:

[0909] The device displays the chat to the user.

[0910] The terminal analyzes the chat data received from the server and displays the conversation content to the user. The displayed content includes the generated chat text and the character's name. For example, the speech bubble of a virtual character might display the text, "It's raining today and a little chilly, isn't it? But the autumn colors of the trees are beautiful, aren't they?" The input is the chat data received from the server, and the output is the content displayed to the user.

[0911] Through these steps, users can enjoy a real-time interactive experience that responds to their emotions and the game situation.

[0912] (Application Example 2)

[0913] Next, we will explain application example 2. In the following explanation, the data processing device 12 will be referred to as the "server," and the smart glasses 214 will be referred to as the "terminal."

[0914] Conventional virtual character interaction systems lacked realism and a sense of connection to the user experience because they generated dialogue based solely on in-game environmental data, without considering the user's emotional state. Similarly, robots working in factories faced safety and efficiency challenges because they could not recognize the emotional state of workers and respond appropriately.

[0915] The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 2 is realized by the following means. In this invention, the server includes a terminal for the user to perform conversational operations with a virtual character, means for transmitting data related to the conversational operations based on the conversational operations, means for receiving the transmitted data and acquiring current environmental data, means for analyzing the user's emotions in addition to the environmental data and acquiring emotion data, means for generating statements from the virtual character using an artificial intelligence model based on the environmental data and emotion data, means for transmitting the generated statements to the terminal, and means for displaying the transmitted statements to the user. This enables real-time dialogue that recognizes the user's emotional state, making it possible to provide a more realistic and familiar user experience. Furthermore, by applying this to factory robots, it becomes possible to provide appropriate responses and advice that take into account the emotions of workers, improving safety and efficiency.

[0916] "Interactive interaction" refers to the inputs and instructions that a user gives to a virtual character or system.

[0917] A "device" is a device that a user directly operates, and includes smartphones, tablets, personal computers, and robots.

[0918] "Means of transmitting data" refers to communication functions that send relevant information to servers or other devices based on user interaction.

[0919] "Environmental data" refers to information that indicates the current situation and conditions, including weather, season, time, location, and progress.

[0920] "Emotional data" refers to information about a user's emotional state obtained by analyzing their voice and facial expressions.

[0921] An "artificial intelligence model" refers to an algorithm that uses technologies such as machine learning and deep learning to make predictions and generate data based on input data.

[0922] "Means for generating speech" refers to a system that automatically generates the words and sentences that a virtual character should actually speak, based on environmental data and emotional data.

[0923] "Means of sending messages" refers to the function that sends generated messages to the user's device.

[0924] "Means for displaying statements" refers to a function that presents statements generated on the device to the user visually or audibly.

[0925] A "system" is a collection of devices or software that function as a whole by combining the aforementioned means.

[0926] The system for carrying out this invention provides real-time responses while recognizing the user's emotions when the user interacts with a virtual character. The system includes a terminal for the user to interact with the character, means for transmitting data, means for acquiring environmental data and emotion data, means for generating statements using an artificial intelligence model, means for transmitting statements to the terminal, and means for displaying statements to the user.

[0927] Hardware and software to be used

[0928] Terminal: A device that the user directly operates, such as a smartphone, tablet, personal computer, or factory robot.

[0929] Camera and microphone: Hardware used to capture the user's facial expressions and voice for emotion recognition.

[0930] EmotionRecognizer Library: This software analyzes voice and facial expressions to acquire data on the user's emotional state.

[0931] Python: A programming language for executing system-wide programs.

[0932] Servers and APIs: These host the artificial intelligence models used to generate talks and serve as the foundation for receiving and sending necessary data.

[0933] Operation Description

[0934] 1. User interaction:

[0935] The user speaks to a virtual character using a terminal. This action initiates a dialogue. For example, when a robot in a factory begins interacting with a worker, the corresponding sensor is activated at that moment.

[0936] 2. Data transmission:

[0937] The device sends a request to the server. This request includes the user ID, virtual character ID, current time and date, current location information (in-game location or work area), and story progress.

[0938] 3. Acquisition of environmental and emotional data:

[0939] The server receives the request and retrieves current environmental data. It also analyzes the user's emotions through the device's camera and microphone and retrieves emotion data using the EmotionRecognizer library.

[0940] 4. Talk generation:

[0941] The server uses environmental and emotional data to invoke an artificial intelligence model to generate appropriate dialogue. The following is a specific example of prompt text based on a conversation with a factory worker.

[0942] Prompt example:

[0943] Input: Environmental data: Current work area: Welding department, Time: October 12, 2023, 10:00, Work progress: 20%, Sentiment data: Focused

[0944] Output: "It's good that you're concentrating. Just make sure you prioritize safety while you work."

[0945] 5. Sending and displaying messages:

[0946] The server sends the generated message to the terminal, and the terminal displays the message to the user. For example, a robot might use a display and speaker to convey a message to a worker saying, "It's good that you're concentrating. Just make sure you prioritize safety while you work."

[0947] This system enables real-time interaction that reflects the user's emotional state, thereby improving the user experience. Furthermore, applying it to factory robots allows for appropriate responses and advice that take into account the worker's emotions, leading to improved safety and work efficiency.

[0948] The flow of a specific process in Application Example 2 will be explained using Figure 14.

[0949] Step 1:

[0950] The user interacts with a virtual character or factory robot using a device. Specifically, the user clicks or taps on the character on the device, or speaks to the robot. This action triggers the start of the interaction, and the device detects the interaction.

[0951] Input: User interaction

[0952] Output: Dialogue start trigger

[0953] Step 2:

[0954] The terminal sends data related to the interaction to the server. This data includes the user ID, virtual character ID, current time and date, current location information (location within the game or factory), and story progress.

[0955] Input: Data related to the interaction (User ID, Character ID, Current Time, Location, Progress)

[0956] Output: Send data to the server

[0957] Step 3:

[0958] The server receives the transmitted data and retrieves the current environmental data. The server queries databases within the game and factory to obtain environmental information such as weather, season, time of day, and work area.

[0959] Input: Data related to the interaction

[0960] Output: Environmental data (weather, season, time of day, work area)

[0961] Step 4:

[0962] The device analyzes the user's emotions and acquires emotional data. It captures the user's facial expressions and voice through the device's camera and microphone, and analyzes their emotional state using the EmotionRecognizer library.

[0963] Input: User's facial expressions, voice data

[0964] Output: Emotional data (joy, sadness, fatigue, etc.)

[0965] Step 5:

[0966] The device sends the acquired emotional data to the server. This emotional data includes the user's emotional state.

[0967] Input: Sentiment data

[0968] Output: Send emotion data to the server

[0969] Step 6:

[0970] The server uses an artificial intelligence model to generate situation-appropriate responses based on environmental and sentiment data. The server inputs this data into the AI ​​model and retrieves the generated responses. For example, based on environmental and sentiment data, a response such as "It's good that you're focused. Just make sure you prioritize safety while you work" might be generated.

[0971] Input: Environmental data, emotional data

[0972] Output: Generated talk

[0973] Step 7:

[0974] The server sends the generated message back to the terminal. The server sends a packet containing the message data and the virtual character ID to the terminal.

[0975] Input: Generated talk

[0976] Output: Send talk data (returned to the terminal)

[0977] Step 8:

[0978] The terminal analyzes the talk data received from the server and displays the conversation content to the user. Specifically, the generated talk is presented to the user through the terminal's display and speaker. For example, the robot might display and voice the message, "It's good that you're concentrating. Just make sure you prioritize safety while you work."

[0979] Input: Talk data

[0980] Output: Display and audio output of the talk to the user.

[0981] This enables dialogue that takes the user's emotional state into account, providing a more realistic experience. Furthermore, in applications as factory robots, it improves worker safety and work efficiency.

[0982] The specific processing unit 290 transmits the result of the specific processing to the smart glasses 214. In the smart glasses 214, the control unit 46A causes the speaker 240 to output the result of the specific processing. The microphone 238 acquires audio indicating user input for the result of the specific processing. The control unit 46A transmits the audio data indicating user input acquired by the microphone 238 to the data processing unit 12. In the data processing unit 12, the specific processing unit 290 acquires the audio data.

[0983] Data generation model 58 is a type of so-called generative AI (Artificial Intelligence). One example of data generation model 58 is ChatGPT (Internet search<URL: https: / / openai.com / blog / chatgpt> ), Gemini (Internet search) <url: https: gemini.google.com ?hl="ja">Examples of generative AI include the following. The data generation model 58 is obtained by performing deep learning on a neural network. The data generation model 58 is input with prompts containing instructions, and with inference data such as audio data representing speech, text data representing text, and image data representing images. The data generation model 58 infers from the input inference data according to the instructions indicated by the prompts, and outputs the inference results in data formats such as audio data and text data. Here, inference refers to, for example, analysis, classification, prediction, and / or summarization.

[0984] In the above embodiment, an example was given in which specific processing is performed by the data processing device 12, but the technology of this disclosure is not limited thereto, and the specific processing may also be performed by the smart glasses 214.

[0985] [Third Embodiment]

[0986] Figure 5 shows an example of the configuration of the data processing system 310 according to the third embodiment.

[0987] As shown in Figure 5, the data processing system 310 includes a data processing device 12 and a headset terminal 314. An example of the data processing device 12 is a server.

[0988] The data processing device 12 comprises a computer 22, a database 24, and a communication interface 26. The computer 22 is an example of a "computer" related to the technology of this disclosure. The computer 22 comprises a processor 28, RAM 30, and storage 32. The processor 28, RAM 30, and storage 32 are connected to a bus 34. The database 24 and the communication interface 26 are also connected to the bus 34. The communication interface 26 is connected to a network 54. An example of the network 54 is a WAN (Wide Area Network) and / or a LAN (Local Area Network).

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

[0990] The microphone 238 receives voice signals from the user 20 and receives instructions from the user 20. The microphone 238 captures the voice signals from the user 20, converts the captured voice into audio data, and outputs it to the processor 46. The speaker 240 outputs audio according to the instructions from the processor 46.

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

[0992] Communication interface 44 is connected to network 54. Communication interfaces 44 and 26 are responsible for the exchange of various information between processor 46 and processor 28 via network 54. The exchange of various information between processor 46 and processor 28 using communication interfaces 44 and 26 is performed in a secure manner.

[0993] Figure 6 shows an example of the main functions of the data processing device 12 and the headset terminal 314. As shown in Figure 6, the data processing device 12 performs specific processing using the processor 28. The storage 32 stores the specific processing program 56.

[0994] The specific processing program 56 is an example of a "program" relating to the technology of this disclosure. The processor 28 reads the specific processing program 56 from the storage 32 and executes the read specific processing program 56 on the RAM 30. The specific processing is realized by the processor 28 operating as a specific processing unit 290 in accordance with the specific processing program 56 executed on the RAM 30.

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

[0996] In the headset terminal 314, the processor 46 performs the reception output processing. The storage 50 stores the reception output program 60. The processor 46 reads the reception output program 60 from the storage 50 and executes the read reception output program 60 on the RAM 48. The reception output processing is realized by the processor 46 operating as a control unit 46A according to the reception output program 60 executed on the RAM 48.

[0997] Next, the specific processing performed by the specific processing unit 290 of the data processing device 12 will be described. In the following description, the data processing device 12 will be referred to as the "server" and the headset terminal 314 will be referred to as the "terminal".

[0998] This invention will now describe embodiments for carrying it out. This system provides real-time dialogue that corresponds to the in-game situation when a user speaks to a virtual character. The specific program processing and implementation examples are described below.

[0999] Program processing

[1000] 1. The user speaks to the virtual character.

[1001] When a user clicks or taps a virtual character on the game screen, an interactive interaction begins.

[1002] For example, suppose a user speaks to a virtual character in a town square.

[1003] 2. The device sends the request to the server.

[1004] The terminal detects user activity and sends a request to the server containing the following data.

[1005] User ID (player identification)

[1006] Virtual character ID (identification of the character being spoken to)

[1007] Current time and date

[1008] Current location (in-game location)

[1009] Story progress

[1010] For example, the device sends the following data to the server:

[1011] User ID: 12345

[1012] Virtual character ID: 5678

[1013] Time and date: 2023-10-05 15:30

[1014] Location information: Town square

[1015] Story progress: 75%

[1016] 3. The server queries the game data.

[1017] The server queries the in-game database based on the received request and retrieves the necessary data.

[1018] Weather information

[1019] Seasonal Information

[1020] Other related environmental information

[1021] For example, the server queries weather data and confirms that the current weather is rainy. It also confirms that the current season is autumn.

[1022] 4. The server uses the AI ​​model to generate talk.

[1023] The server uses the acquired data to call up an AI model and generate appropriate dialogue for the situation.

[1024] Data entry: Weather = Rain, Season = Autumn, Progress = 75%, Location = Town square

[1025] Dialogue generation: The AI ​​model generates natural language dialogue based on the input data.

[1026] For example, the server uses an AI model to generate a conversation like, "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?"

[1027] 5. The server sends the chat data back to the device.

[1028] The server sends the generated talk data to the terminal.

[1029] Data sent: Generated chat message, virtual character ID

[1030] For example, the server sends the generated message "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?" to the terminal.

[1031] 6. The device displays the chat to the user.

[1032] The terminal displays the chat data received from the server on the screen, presenting the conversation content to the user.

[1033] Display contents: Generated dialogue, name of the virtual character speaking

[1034] For example, the device displays the text "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?" in a speech bubble of a virtual character.

[1035] Examples

[1036] Situation 1: When the weather is rainy

[1037] When a user speaks to a virtual character on a rainy day, the server generates a message based on the information "Weather: Rain," such as "It's raining heavily today, I want to go home soon." The device receives the message from the server and displays it on the screen.

[1038] Situation 2: When the season is winter

[1039] When a user speaks to a virtual character in winter, the server generates a message based on the information "Season: Winter," such as "On a cold day like this, I'd like to make some warm soup at home." The device receives the message from the server and displays it on the screen.

[1040] Situation 3: When the story is in its later stages.

[1041] When a user speaks to a virtual character while they are at a high stage of story progression, the server generates a message based on the information "Story Progress: 80%", such as "Thanks to you, the town has become peaceful. Keep up the good work!" The device receives the message from the server and displays it on the screen.

[1042] As described above, this system allows users to enjoy a real-time interactive experience that responds to the situation within the game.

[1043] The following describes the processing flow.

[1044] Step 1:

[1045] The user uses a device to interact with the virtual character by clicking or tapping the virtual character on the game screen. This initiates the interaction.

[1046] Step 2:

[1047] The device detects user activity and sends a request to the server containing the following data.

[1048] User ID (player identification)

[1049] Virtual character ID (identification of the character being spoken to)

[1050] Current time and date

[1051] Current location (in-game location)

[1052] Story progress

[1053] Step 3:

[1054] The server receives the request. The server retrieves the specified user ID, virtual character ID, current time and date, location information, and story progress.

[1055] Step 4:

[1056] The server uses this data to query the in-game database and retrieve the necessary environmental data. For example, it might retrieve current weather and seasonal information.

[1057] Step 5:

[1058] Based on the information acquired by the server, environmental data (weather information, seasonal information, story progress, etc.) is input into the AI ​​model to generate dialogue for the virtual character.

[1059] Step 6:

[1060] The server invokes an AI model to generate appropriate statements. For example, if it is raining and the season is autumn, it will generate a statement such as, "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?"

[1061] Step 7:

[1062] The server sends talk data, including the generated message, to the terminal. The talk data includes the generated message and the virtual character ID.

[1063] Step 8:

[1064] The device analyzes the chat data received from the server and displays the conversation content to the user. For example, it might display text such as, "It's raining today and a little chilly, isn't it? But the trees are changing color in autumn, aren't they beautiful?" in a speech bubble of a virtual character.

[1065] Through these steps, when a user speaks to a virtual character, a situation-appropriate, real-time dialogue is provided.

[1066] (Example 1)

[1067] Next, we will describe Example 1. In the following description, the data processing device 12 will be referred to as the "server," and the headset-type terminal 314 will be referred to as the "terminal."

[1068] Current in-game dialogue systems struggle to generate real-time, context-aware responses when users speak to virtual characters. This limits the user experience and results in a lack of realism and diversity in dialogue. Furthermore, the inability to generate situation-appropriate dialogue raises concerns about diminishing the game's immersion.

[1069] The identification process performed by the identification processing unit 290 of the data processing device 12 in Example 1 is realized by the following means.

[1070] In this invention, the server includes means for transmitting data including a user ID, virtual character ID, current time and date, in-game location information, and story progress; means for the server to query a database to obtain weather information, seasonal information, and other relevant environmental information, and to input prompt sentences to an AI model based on this information to generate dialogue; and means for storing the generated dialogue data in JSON format and sending it to the terminal. This enables the user to enjoy a real-time dialogue experience that is appropriate to the situation in the game.

[1071] A "User ID" is an identifier used to uniquely identify a user.

[1072] A "Virtual Character ID" is an identifier used to uniquely identify each character within the game.

[1073] "Current time and date" refers to the specific date and time when the user interacted with the virtual character.

[1074] "Location information" refers to data that indicates the specific location where the user is located within the game.

[1075] "Story progress" refers to data that indicates the progress of the story within the game, showing how far the user has progressed.

[1076] "Weather information" refers to data that shows the current weather conditions within the game.

[1077] "Seasonal information" refers to data that indicates the current seasonal conditions within the game.

[1078] "Environmental data" is a general term for various types of data related to the game environment, such as weather information and seasonal information.

[1079] An "artificial intelligence model" is a machine learning algorithm used to generate conversations based on various input data.

[1080] "Talk" refers to the content of what a virtual character says in a conversation with a user.

[1081] "JSON format" is an abbreviation for JavaScript Object Notation, and is a lightweight data exchange format.

[1082] This invention describes embodiments for carrying out this invention. This system provides real-time dialogue that corresponds to the in-game situation when a user speaks to a virtual character. This system functions in conjunction with the user, terminal, and server.

[1083] Program Processing Overview

[1084] When a user speaks to a virtual character on the game screen, the device sends a request to the server. This request includes the user ID, virtual character ID, current time and date, in-game location, and story progress. The server receives this request and queries the game data. Based on the query results, it then uses an AI model to generate a conversation and sends the generated conversation data back to the device. Finally, the device displays the conversation to the user.

[1085] Hardware and software to be used

[1086] This system uses the following hardware and software.

[1087] Server: High-performance cloud server

[1088] Device: Smartphones, tablets, PCs, and other devices that can connect to the internet.

[1089] Game application: User interface

[1090] Database: Stores weather information, seasonal information, user data, etc.

[1091] Generative AI models: Machine learning models for natural language processing.

[1092] Details of data processing and data calculations

[1093] When a device sends a request to the server, the following data is included:

[1094] User ID (player identification)

[1095] Virtual character ID (identification of the character being spoken to)

[1096] Current time and date

[1097] Current location (in-game location)

[1098] Story progress

[1099] The server queries a database based on the received data to retrieve weather information, seasonal information, and other relevant environmental information. This data is then input into an AI model to generate prompt messages. Based on these prompt messages, the AI ​​model generates a conversation and sends that conversation data back to the terminal.

[1100] Specific example

[1101] Example 1: When the weather is rainy

[1102] Suppose a user speaks to a virtual character on a rainy day. The device sends the following data to the server:

[1103] User ID: 12345

[1104] Virtual character ID: 5678

[1105] Time and date: 2023-10-05 15:30

[1106] Location information: Town square

[1107] Story progress: 75%

[1108] The server queries weather information and confirms that the current weather is rainy. It also confirms that the season is autumn. Based on this, it inputs the following prompt into the AI ​​model:

[1109] "Weather: Rain, Season: Autumn, Progress: 75%, Location: Town Square"

[1110] The AI ​​model generates the message, "It's raining today and a little chilly, isn't it? But the autumn colors of the trees are beautiful, aren't they?" and the server sends this message to the device. The device then displays this message to the user.

[1111] Specific example 2: When the season is winter

[1112] Suppose a user speaks to a virtual character in winter. The device sends the following data to the server:

[1113] User ID: 54321

[1114] Virtual character ID: 8765

[1115] Time and date: 2023-12-15 18:00

[1116] Location information: Foot of the mountain

[1117] Story progress: 45%

[1118] The server queries seasonal information and confirms that the current season is winter. Based on this, it inputs the following prompt into the AI ​​model:

[1119] "The season is winter, the progression is 45%, and the location is at the foot of a mountain."

[1120] The AI ​​model generates the message, "On a cold day like this, I'd like to make some warm soup at home," and the server sends this to the device. The device then displays this message to the user.

[1121] In this way, this system allows users to enjoy a real-time interactive experience that responds to the situation within the game.

[1122] The flow of the specific processing in Example 1 will be explained using Figure 11.

[1123] Step 1:

[1124] The user speaks to the virtual character.

[1125] Specific actions and inputs:

[1126] The user clicks or taps on a virtual character on the game screen.

[1127] For example, the user performs mouse clicks or touch operations on a character in the "town square" on the screen.

[1128] output:

[1129] A signal to initiate interaction is generated in response to user action.

[1130] Step 2:

[1131] The device sends the request to the server.

[1132] Specific actions and inputs:

[1133] The device detects user actions, and the game application generates API requests internally.

[1134] Input data includes user ID, virtual character ID, current time and date, in-game location information, and story progress.

[1135] example:

[1136] User ID: 12345

[1137] Virtual character ID: 5678

[1138] Time and date: 2023-10-05 15:30

[1139] Location information: Town square

[1140] Story progress: 75%

[1141] Data processing and data computation:

[1142] Send a request containing this data to the server using the HTTP POST method.

[1143] output:

[1144] The request data is sent to the server.

[1145] Step 3:

[1146] The server queries the game data.

[1147] Specific actions and inputs:

[1148] The server analyzes the received request data.

[1149] Input data includes user ID, virtual character ID, current time and date, location information, and progress status.

[1150] Data processing and data computation:

[1151] The server sends queries to the database to retrieve weather information, seasonal information, and other relevant environmental information.

[1152] output:

[1153] The acquired environmental data is stored in memory.

[1154] For example, you can obtain information such as the current weather being rainy and the season being autumn.

[1155] Step 4:

[1156] The server uses an AI model to generate talk.

[1157] Specific actions and inputs:

[1158] The server provides the acquired data as input to the AI ​​model.

[1159] The input data includes "Weather = Rain", "Season = Autumn", "Progress = 75%", and "Location = Town Square".

[1160] Data processing and data computation:

[1161] The server uses this data to format the prompt message and inputs it into the AI ​​model.

[1162] Example: Prompt message: "Weather is rainy, season is autumn, progress is 75%, location is town square."

[1163] output:

[1164] The AI ​​model generates the following dialogue: "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?"

[1165] The generated talk data is stored in JSON format.

[1166] Step 5:

[1167] The server sends the chat data back to the device.

[1168] Specific actions and inputs:

[1169] The server generates the generated talk data and virtual character ID as a JSON response.

[1170] example:

[1171] { "Talk": "It's raining today and a little chilly, isn't it? But the trees are changing color in autumn, aren't they beautiful?", "Character ID": 5678}

[1172] Data processing and data computation:

[1173] The generated response is sent back to the terminal as an HTTP response.

[1174] output:

[1175] The chat data is sent to the device in JSON format.

[1176] Step 6:

[1177] The device displays the chat to the user.

[1178] Specific actions and inputs:

[1179] The terminal parses the JSON-formatted response received from the server.

[1180] The input data includes the dialogue and character ID included in the response.

[1181] Data processing and data computation:

[1182] Based on the analysis results, the dialogue content will be displayed in the game UI.

[1183] output:

[1184] The conversation content is displayed to the user. For example, a conversation such as, "It's raining today and a little chilly, isn't it? But the trees are changing color in autumn, aren't they beautiful?" is displayed as a speech bubble for a virtual character.

[1185] (Application Example 1)

[1186] Next, we will explain Application Example 1. In the following explanation, the data processing device 12 will be referred to as the "server," and the headset-type terminal 314 will be referred to as the "terminal."

[1187] Conventional interactive virtual character systems relied on limited information for the user's interaction experience, making it impossible to provide diverse conversations that reflected real-time environmental information. Furthermore, it was difficult to provide appropriate guidance and customer service to customers through virtual characters in physical stores. This invention aims to solve these problems and provide users with a richer interaction experience.

[1188] The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 1 is realized by the following means.

[1189] In this invention, the server includes a terminal for a user to interact with a virtual character, means for transmitting data related to the interaction based on the interaction, means for receiving the transmitted data and acquiring current environmental data, inventory information, and promotional information, means for generating statements from the virtual character using an artificial intelligence model based on the environmental data and related data, means for transmitting the generated statements to the terminal, and means for displaying the transmitted statements to the user. This enables diverse interactions that reflect real-time environmental and store information in a physical store.

[1190] "A terminal for users to interact with a virtual character" refers to a device used by a user to interact with a virtual character. This includes smartphones, smart glasses, tablets, robots, and other similar devices.

[1191] "Data related to the aforementioned dialogue operation" refers to information required during the dialogue, such as user ID, virtual character ID, current time and date, in-store location information, inventory information, and promotion information.

[1192] "Environmental data" refers to external contextual data that should be considered during the interaction. This includes weather information, seasonal information, and store congestion information.

[1193] "Inventory information" refers to data that shows the current inventory status of products in a store.

[1194] "Promotional information" refers to information about current sales, discounts, campaigns, and other promotions.

[1195] An "artificial intelligence model" refers to an algorithm or system that generates natural language speech based on input data. This includes AI models for natural language processing.

[1196] "Means for generating the virtual character's speech" refers to the process of generating the content of what the virtual character will say using an artificial intelligence model, based on acquired environmental data and related data.

[1197] "Means of displaying to the user" refers to methods for visually providing the user with the speech of the generated virtual character. This includes the ability to display it on the device's screen.

[1198] This invention describes embodiments for carrying out this invention. This system enables customers in physical stores to receive real-time guidance and customer service through virtual characters. Examples of hardware used include smartphones, smart glasses, tablets, and robots, and examples of software used include cloud servers (e.g., AWS, Microsoft Azure), natural language processing AI models (e.g., OpenAI GPT-3), and database management systems (e.g., MySQL, PostgreSQL).

[1199] The specific operation flow of the system is as follows:

[1200] 1. The user speaks to the virtual character.

[1201] Users use in-store devices (smartphones, smart glasses, etc.) to speak to virtual characters. For example, a customer might speak to a character standing in front of a shelf through smart glasses and ask, "What are your recommended products?"

[1202] 2. The device sends the request to the server.

[1203] The terminal detects interaction and sends a request to the server containing the following data: customer ID, virtual character ID, current time and date, in-store location, inventory information, and promotional information.

[1204] 3. The server queries the store data.

[1205] Based on the received request, the server queries the store's database to retrieve the necessary information (such as inventory and product information, promotion and sale information, store congestion levels, and weather data).

[1206] 4. The server uses the AI ​​model to generate talk.

[1207] The server calls an AI model based on the acquired data and generates a conversation appropriate to the situation. For example, consider the following prompt:

[1208] Weather = Sunny, Season = Spring, Progress = N / A, Location = Shelf #3 in the store, Stock Information = New Spring Products, Promotion Information = Special Sale

[1209] Based on this data input, the AI ​​model generates a message saying, "This shelf has new seasonal items. We're also having a special sale today, so we recommend it!"

[1210] 5. The server sends the chat data back to the device.

[1211] The server sends the generated talk data to the terminal.

[1212] 6. The device displays the chat to the customer.

[1213] The terminal displays the talk data received from the server and provides the customer with the conversation content. For example, the smart glasses display might show text such as, "This shelf has new seasonal items. We're also having a special sale today, so we recommend it!"

[1214] Specific example:

[1215] Situation 1: Sale Day

[1216] On sale days, the system generates and displays messages such as, "Today is a sale day. Items on this shelf are 20% off."

[1217] Situation 2: Introducing a new product

[1218] When new products arrive, the system generates and displays a message such as, "New seasonal items are now available on this shelf. Please take a look."

[1219] Situation 3: Store congestion

[1220] If it's crowded, the system will generate and display a message such as, "This area is currently crowded. There are fewer lines at the registers on the other side."

[1221] As described above, this system enables diverse interactions that reflect real-time environmental and store information in physical stores.

[1222] The flow of a specific process in Application Example 1 will be explained using Figure 12.

[1223] Step 1:

[1224] The user speaks to a virtual character.

[1225] Input: The user speaks to a virtual character via a device (smartphone, smart glasses, tablet, robot, etc.).

[1226] Output: Interactive interaction begins, and the user's statements are recorded on the device.

[1227] Specific action: The user, wearing smart glasses, asks a virtual character standing in front of a shelf in a store, "What products do you recommend?"

[1228] Step 2:

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

[1230] Input: User's message content, User ID, Virtual Character ID, Current time and date, Location information within the store, Inventory information, Promotion information.

[1231] Output: Request data sent to the server.

[1232] Specific operation: The terminal packages the user's spoken content and related data, and sends an HTTP request to the server.

[1233] Step 3:

[1234] The server queries the store data.

[1235] Input: Request data (User ID, Virtual Character ID, Current time and date, In-store location information, Inventory information, Promotion information).

[1236] Output: Necessary information (inventory / product information, promotion / sale information, store congestion level, weather data) is retrieved.

[1237] Specific operation: The server queries the database (e.g., MySQL, PostgreSQL) to retrieve relevant inventory information, promotional information, and related environmental data.

[1238] Step 4:

[1239] The server uses an AI model to generate the conversation.

[1240] Input: Acquired data (inventory / product information, promotion / sale information, store congestion level, weather data).

[1241] Output: Generated talk data.

[1242] Specific operation: The server calls an AI model (e.g., OpenAI GPT-3) and enters a prompt message like the following:

[1243] Weather = Sunny, Season = Spring, Progress = N / A, Location = Shelf #3 in the store, Stock Information = New Spring Products, Promotion Information = Special Sale

[1244] Based on this prompt, the AI ​​model generates the following message: "This shelf has new seasonal items. We're also having a special sale today, so we recommend it!"

[1245] Step 5:

[1246] The server sends the chat data back to the device.

[1247] Input: Generated talk data, virtual character ID.

[1248] Output: Talk data sent to the terminal.

[1249] Specific operation: The server packages the generated talk data and virtual character ID and sends it to the terminal as an HTTP response.

[1250] Step 6:

[1251] The device displays the chat to the user.

[1252] Input: Talk data received from the server.

[1253] Output: The content of the talk presented to the user visually.

[1254] Specific operation: The device receives the chat data and displays the text "This shelf has new seasonal items. We're also having a special sale today, so we recommend it!" on the smart glasses' display.

[1255] This allows users to enjoy diverse conversational experiences that reflect real-time environmental and store information within physical stores.

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

[1257] This invention describes embodiments for carrying out this invention. This system recognizes the user's emotions in addition to the in-game situation when the user speaks to a virtual character, and provides appropriate real-time dialogue. The specific program processing and embodiments are described below.

[1258] Program processing

[1259] 1. The user speaks to the virtual character.

[1260] When a user clicks or taps a virtual character on the game screen, an interactive interaction begins.

[1261] For example, suppose a user speaks to a virtual character in a town square.

[1262] 2. The device sends the request to the server.

[1263] The terminal detects user activity and sends a request to the server containing the following data.

[1264] User ID (player identification)

[1265] Virtual character ID (identification of the character being spoken to)

[1266] Current time and date

[1267] Current location (in-game location)

[1268] Story progress

[1269] 3. The server queries the game data.

[1270] Based on the received request, the server queries the in-game database and retrieves the necessary environmental data.

[1271] Weather information

[1272] Seasonal Information

[1273] Other related environmental information

[1274] 4. The device recognizes the user's emotions.

[1275] The device is equipped with an emotion engine that analyzes the user's voice and facial expressions to acquire emotional data.

[1276] Voice analysis: Analyzes the user's voice tone and speech patterns.

[1277] Facial expression analysis: Reads the user's facial expressions through the camera and determines their emotions.

[1278] 5. The device sends emotional data to the server.

[1279] The device sends the acquired emotional data to the server.

[1280] Emotional data includes the user's emotional state (e.g., joy, sadness, anger, etc.).

[1281] 6. The server uses the AI ​​model to generate talk.

[1282] The server uses the acquired environmental and emotional data to call an AI model and generate conversation appropriate to the situation.

[1283] Data entry: Weather = Rain, Season = Autumn, Progress = 75%, Emotion = Joy

[1284] Dialogue generation: The AI ​​model generates natural language dialogue based on the input data.

[1285] For example, the server uses an AI model to generate a conversation like, "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?"

[1286] 7. The server sends the chat data back to the device.

[1287] The server sends the generated talk data to the terminal.

[1288] Data sent: Generated chat message, virtual character ID

[1289] 8. The device displays the chat to the user.

[1290] The terminal analyzes the chat data received from the server and displays the conversation content to the user.

[1291] Display contents: Generated dialogue, name of the virtual character speaking

[1292] For example, the device displays the text "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?" in a speech bubble of a virtual character.

[1293] Examples

[1294] Situation 1: When the weather is rainy

[1295] When a user speaks to a virtual character on a rainy day, the server generates a message based on the information "Weather: Rain," such as "It's raining heavily today, I want to go home soon." The device receives the message from the server and displays it on the screen.

[1296] Situation 2: When the season is winter

[1297] When a user speaks to a virtual character in winter, the server generates a message based on the information "Season: Winter," such as "On a cold day like this, I'd like to make some warm soup at home." The device receives the message from the server and displays it on the screen.

[1298] Situation 3: When the story is in its later stages.

[1299] When a user speaks to a virtual character while they are at a high stage of story progression, the server generates a message based on the information "Story Progress: 80%", such as "Thanks to you, the town has become peaceful. Keep up the good work!" The device receives the message from the server and displays it on the screen.

[1300] Situation 4: When the user is happy

[1301] When a user speaks enthusiastically and the emotion engine recognizes "joy," the server uses that information to generate a message such as, "You seem to be having a lot of fun! I hope you're enjoying the game." The device receives the message from the server and displays it on the screen.

[1302] Situation 5: When the user is sad

[1303] When a user speaks with a sad voice or expression, and the emotion engine recognizes "sadness," the server uses that information to generate a message such as, "You seem a little down today. Is something wrong?" The device receives the message from the server and displays it on the screen.

[1304] As described above, this system allows users to enjoy a real-time interactive experience that responds to the in-game situation and their own emotional state.

[1305] The following describes the processing flow.

[1306] Step 1:

[1307] To speak to a virtual character, the user clicks or taps the virtual character on the game screen. This initiates the dialogue.

[1308] Step 2:

[1309] The device detects user activity and sends a request to the server containing the following data.

[1310] User ID (player identification)

[1311] Virtual character ID (identification of the character being spoken to)

[1312] Current time and date

[1313] Current location (in-game location)

[1314] Story progress

[1315] Step 3:

[1316] Based on the request received by the server, it queries the game database and retrieves the necessary data (weather, season, progress, etc.).

[1317] Weather information: Current weather

[1318] Seasonal information: Current season

[1319] Story progress: In-game progress

[1320] Step 4:

[1321] The device records the user's voice, and the emotion engine analyzes the voice patterns to obtain the user's emotion data.

[1322] Voice analysis: Analyzes the tone, tempo, and intensity of the user's voice to identify their emotions.

[1323] Step 5:

[1324] The device uses its camera to analyze the user's facial expressions, and the emotion engine acquires emotion data based on those expressions.

[1325] Facial expression analysis: Recognizes the user's facial expressions and detects signs of smiles, sadness, etc.

[1326] Step 6:

[1327] The device sends the acquired emotional data (voice analysis results and facial expression analysis results) to the server.

[1328] Data transmitted: Emotions determined by voice analysis (e.g., joy, sadness), emotions determined by facial expression analysis.

[1329] Step 7:

[1330] The server integrates all data (weather, season, story progression, emotion data) and uses an artificial intelligence model to generate dialogue for the virtual character.

[1331] Data entry: Weather = Rain, Season = Autumn, Progress = 75%, Emotion = Joy

[1332] The AI ​​model generates natural language dialogue based on the input data.

[1333] Step 8:

[1334] The server sends the generated message data (generated message text, virtual character ID) to the terminal.

[1335] Step 9:

[1336] The terminal analyzes the chat data received from the server and displays the conversation content to the user.

[1337] Display contents: Generated dialogue, name of the virtual character speaking

[1338] Example: A speech bubble for a virtual character displays the text, "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?"

[1339] Through the above process, users can enjoy real-time interactions that are tailored to their environment and emotions at that moment.

[1340] (Example 2)

[1341] Next, we will describe Example 2. In the following description, the data processing device 12 will be referred to as the "server," and the headset-type terminal 314 will be referred to as the "terminal."

[1342] Traditional virtual character interaction systems have struggled to provide real-time dialogue that responds to user emotions and in-game situations. This often resulted in low levels of dialogue personalization and a monotonous user experience. Furthermore, systems that only consider environmental data have the problem of failing to generate dialogue that appropriately responds to the user's emotional state.

[1343] The identification process performed by the identification processing unit 290 of the data processing device 12 in Example 2 is realized by the following means.

[1344] In this invention, the server includes a terminal for a user to perform conversational operations with a virtual character, means for transmitting data related to the conversational operations based on the conversational operations, means for acquiring in-game environment data, means for the terminal to acquire the user's emotional data, means for transmitting the acquired emotional data to the server, means for generating statements for the virtual character using an artificial intelligence model based on the environment data and emotional data, means for transmitting the generated statements to the terminal, and means for displaying the transmitted statements to the user. This makes it possible to provide personalized conversations in real time based on the user's emotional state and the situation in the game.

[1345] A "user" refers to a human player who interacts with a virtual character.

[1346] "Interactive interaction" refers to actions such as clicking and tapping that a user performs on a virtual character.

[1347] A "terminal" refers to a hardware device used by a user for interactive operations.

[1348] A "server" refers to a computer system that receives and processes data sent by a user.

[1349] "Means of transmitting data" refers to the processes and functions for transmitting data related to user operations from a terminal to a server.

[1350] "In-game environmental data" refers to environmental information within the game, such as the current weather and season.

[1351] "Emotional data" refers to the emotional state analyzed from the user's voice and facial expressions.

[1352] An "artificial intelligence model" refers to a machine learning algorithm used to generate speech from a virtual character based on environmental and emotional data.

[1353] "Means of generating speech" refers to the process or function of generating speech from a virtual character using an artificial intelligence model.

[1354] "Means of sending messages" refers to the process or function for sending messages generated from a server to a terminal.

[1355] "Means of displaying messages" refers to the processes and functions used to display messages generated by the user on a device.

[1356] The embodiments for carrying out this invention will be described in detail. This system recognizes the in-game situation and the user's emotions when the user speaks to a virtual character, and provides appropriate real-time dialogue. The system consists of a terminal on which the user performs dialogue operations, a server that processes data, and an artificial intelligence model that generates the virtual character's speech.

[1357] First, the device on which the user interacts includes an input device that detects actions such as clicks and taps. For example, when a user taps the screen of a smartphone or tablet, an interaction with a virtual character begins.

[1358] The device retrieves relevant data such as the user ID, virtual character ID, current time and date, in-game location information, and story progress, and sends it to the server. Specifically, when a user speaks to a virtual character in the town square, data such as "User ID: 12345, Character ID: 67890, Time: 14:30, Date: 2023-10-01, Location: Square, Progress: 60%" is sent to the server.

[1359] The server queries the in-game database based on the received request to retrieve current weather information, season information, and other relevant environmental data. For example, it might retrieve data such as "Current weather is rain, season is autumn."

[1360] Next, the device is equipped with an emotion engine that analyzes the user's voice and facial expressions to acquire emotion data. Voice analysis analyzes the user's voice tone and speech patterns, while facial expression analysis reads facial expressions through the camera. For example, if the user is speaking happily, the analysis might determine "voice tone: high, speech pattern: rhythmic, facial expression: smiling," and acquire data such as "emotion: joy."

[1361] The device sends the acquired emotion data to the server. The server uses an artificial intelligence model to generate speech from a virtual character based on the acquired environmental and emotion data. For example, if the input is rainy weather, autumn season, and the user is happy, the AI ​​model will generate a speech like, "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?"

[1362] The generated dialogue is sent from the server to the terminal, which then displays this dialogue to the user as a speech bubble of a virtual character. For example, the terminal might display the text "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?" in a speech bubble of a virtual character.

[1363] Specific examples include prompt statements like the following:

[1364] "It's raining today and a little chilly, isn't it? But the trees are beautiful with their autumn colors, right?"

[1365] This allows users to enjoy a real-time interactive experience that responds to the in-game situation and their own emotional state.

[1366] The flow of the specific processing in Example 2 will be explained using Figure 13.

[1367] Step 1:

[1368] The user interacts with the virtual character.

[1369] When a user clicks or taps a virtual character on the game screen, an interactive interaction begins. Specifically, if a user selects a character in the town square, an interaction with that character will begin. The input is the user's click or tap action, and the output is the trigger that initiates the interaction.

[1370] Step 2:

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

[1372] The device detects user actions and retrieves data such as user ID, virtual character ID, current time and date, in-game location, and story progress, and sends it to the server. For example, data such as "User ID: 12345, Character ID: 67890, Time: 14:30, Date: 2023-10-01, Location: Plaza, Progress: 60%" is sent to the server. The input is the result of detecting user actions, and the output is the request data sent to the server.

[1373] Step 3:

[1374] The server queries the game data.

[1375] Based on the received request data, the server queries the in-game database to retrieve current weather information, season information, and other relevant environmental data. For example, it might retrieve data such as "Current weather is rain, season is autumn." The input is the request data sent from the terminal, and the output is the retrieved environmental data.

[1376] Step 4:

[1377] The device recognizes the user's emotions.

[1378] The emotion engine built into the device analyzes the user's voice and facial expressions to acquire emotion data. Voice analysis captures voice tone and speech patterns, while facial expression analysis reads facial expressions via the camera. For example, if the analysis reveals "voice tone: high, speech pattern: rhythmic, facial expression: smiling," the data acquired might be "emotion: joy." The input is the user's voice and facial expressions, and the output is the analyzed emotion data.

[1379] Step 5:

[1380] The device sends emotional data to the server.

[1381] The device sends the acquired emotion data to the server. For example, data such as "emotion: joy" is sent to the server. The input is the emotion data obtained as a result of the analysis, and the output is the data sent to the server.

[1382] Step 6:

[1383] The server uses an AI model to generate the conversation.

[1384] The server uses an artificial intelligence model to generate speech from a virtual character based on acquired environmental and emotional data. For example, given the input "Weather: Rain," "Season: Autumn," and "Emotion: Joy," the AI ​​model will generate the following dialogue: "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?" The input consists of environmental and emotional data, and the output is the generated dialogue.

[1385] Step 7:

[1386] The server sends the chat data back to the device.

[1387] The server sends the generated chat data to the terminal. The data sent includes the generated chat message and the virtual character ID. For example, "Chat message: It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they? Character ID: 67890" is sent. The input is the generated chat message, and the output is the data sent to the terminal.

[1388] Step 8:

[1389] The device displays the chat to the user.

[1390] The terminal analyzes the chat data received from the server and displays the conversation content to the user. The displayed content includes the generated chat text and the character's name. For example, the speech bubble of a virtual character might display the text, "It's raining today and a little chilly, isn't it? But the autumn colors of the trees are beautiful, aren't they?" The input is the chat data received from the server, and the output is the content displayed to the user.

[1391] Through these steps, users can enjoy a real-time interactive experience that responds to their emotions and the game situation.

[1392] (Application Example 2)

[1393] Next, we will explain application example 2. In the following explanation, the data processing device 12 will be referred to as the "server," and the headset-type terminal 314 will be referred to as the "terminal."

[1394] Conventional virtual character interaction systems lacked realism and a sense of connection to the user experience because they generated dialogue based solely on in-game environmental data, without considering the user's emotional state. Similarly, robots working in factories faced safety and efficiency challenges because they could not recognize the emotional state of workers and respond appropriately.

[1395] The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 2 is realized by the following means. In this invention, the server includes a terminal for the user to perform conversational operations with a virtual character, means for transmitting data related to the conversational operations based on the conversational operations, means for receiving the transmitted data and acquiring current environmental data, means for analyzing the user's emotions in addition to the environmental data and acquiring emotion data, means for generating statements from the virtual character using an artificial intelligence model based on the environmental data and emotion data, means for transmitting the generated statements to the terminal, and means for displaying the transmitted statements to the user. This enables real-time dialogue that recognizes the user's emotional state, making it possible to provide a more realistic and familiar user experience. Furthermore, by applying this to factory robots, it becomes possible to provide appropriate responses and advice that take into account the emotions of workers, improving safety and efficiency.

[1396] "Interactive interaction" refers to the inputs and instructions that a user gives to a virtual character or system.

[1397] A "device" is a device that a user directly operates, and includes smartphones, tablets, personal computers, and robots.

[1398] "Means of transmitting data" refers to communication functions that send relevant information to servers or other devices based on user interaction.

[1399] "Environmental data" refers to information that indicates the current situation and conditions, including weather, season, time, location, and progress.

[1400] "Emotional data" refers to information about a user's emotional state obtained by analyzing their voice and facial expressions.

[1401] An "artificial intelligence model" refers to an algorithm that uses technologies such as machine learning and deep learning to make predictions and generate data based on input data.

[1402] "Means for generating speech" refers to a system that automatically generates the words and sentences that a virtual character should actually speak, based on environmental data and emotional data.

[1403] "Means of sending messages" refers to the function that sends generated messages to the user's device.

[1404] "Means for displaying statements" refers to a function that presents statements generated on the device to the user visually or audibly.

[1405] A "system" is a collection of devices or software that function as a whole by combining the aforementioned means.

[1406] The system for carrying out this invention provides real-time responses while recognizing the user's emotions when the user interacts with a virtual character. The system includes a terminal for the user to interact with the character, means for transmitting data, means for acquiring environmental data and emotion data, means for generating statements using an artificial intelligence model, means for transmitting statements to the terminal, and means for displaying statements to the user.

[1407] Hardware and software to be used

[1408] Terminal: A device that the user directly operates, such as a smartphone, tablet, personal computer, or factory robot.

[1409] Camera and microphone: Hardware used to capture the user's facial expressions and voice for emotion recognition.

[1410] EmotionRecognizer Library: This software analyzes voice and facial expressions to acquire data on the user's emotional state.

[1411] Python: A programming language for executing system-wide programs.

[1412] Servers and APIs: These host the artificial intelligence models used to generate talks and serve as the foundation for receiving and sending necessary data.

[1413] Operation Description

[1414] 1. User interaction:

[1415] The user speaks to a virtual character using a terminal. This action initiates a dialogue. For example, when a robot in a factory begins interacting with a worker, the corresponding sensor is activated at that moment.

[1416] 2. Data transmission:

[1417] The device sends a request to the server. This request includes the user ID, virtual character ID, current time and date, current location information (in-game location or work area), and story progress.

[1418] 3. Acquisition of environmental and emotional data:

[1419] The server receives the request and retrieves current environmental data. It also analyzes the user's emotions through the device's camera and microphone and retrieves emotion data using the EmotionRecognizer library.

[1420] 4. Talk generation:

[1421] The server uses environmental and emotional data to invoke an artificial intelligence model to generate appropriate dialogue. The following is a specific example of prompt text based on a conversation with a factory worker.

[1422] Prompt example:

[1423] Input: Environmental data: Current work area: Welding department, Time: October 12, 2023, 10:00, Work progress: 20%, Sentiment data: Focused

[1424] Output: "It's good that you're concentrating. Just make sure you prioritize safety while you work."

[1425] 5. Sending and displaying messages:

[1426] The server sends the generated message to the terminal, and the terminal displays the message to the user. For example, a robot might use a display and speaker to convey a message to a worker saying, "It's good that you're concentrating. Just make sure you prioritize safety while you work."

[1427] This system enables real-time interaction that reflects the user's emotional state, thereby improving the user experience. Furthermore, applying it to factory robots allows for appropriate responses and advice that take into account the worker's emotions, leading to improved safety and work efficiency.

[1428] The flow of a specific process in Application Example 2 will be explained using Figure 14.

[1429] Step 1:

[1430] The user interacts with a virtual character or factory robot using a device. Specifically, the user clicks or taps on the character on the device, or speaks to the robot. This action triggers the start of the interaction, and the device detects the interaction.

[1431] Input: User interaction

[1432] Output: Dialogue start trigger

[1433] Step 2:

[1434] The terminal sends data related to the interaction to the server. This data includes the user ID, virtual character ID, current time and date, current location information (location within the game or factory), and story progress.

[1435] Input: Data related to the interaction (User ID, Character ID, Current Time, Location, Progress)

[1436] Output: Send data to the server

[1437] Step 3:

[1438] The server receives the transmitted data and retrieves the current environmental data. The server queries databases within the game and factory to obtain environmental information such as weather, season, time of day, and work area.

[1439] Input: Data related to the interaction

[1440] Output: Environmental data (weather, season, time of day, work area)

[1441] Step 4:

[1442] The device analyzes the user's emotions and acquires emotional data. It captures the user's facial expressions and voice through the device's camera and microphone, and analyzes their emotional state using the EmotionRecognizer library.

[1443] Input: User's facial expressions, voice data

[1444] Output: Emotional data (joy, sadness, fatigue, etc.)

[1445] Step 5:

[1446] The device sends the acquired emotional data to the server. This emotional data includes the user's emotional state.

[1447] Input: Sentiment data

[1448] Output: Send emotion data to the server

[1449] Step 6:

[1450] The server uses an artificial intelligence model to generate situation-appropriate responses based on environmental and sentiment data. The server inputs this data into the AI ​​model and retrieves the generated responses. For example, based on environmental and sentiment data, a response such as "It's good that you're focused. Just make sure you prioritize safety while you work" might be generated.

[1451] Input: Environmental data, emotional data

[1452] Output: Generated talk

[1453] Step 7:

[1454] The server sends the generated message back to the terminal. The server sends a packet containing the message data and the virtual character ID to the terminal.

[1455] Input: Generated talk

[1456] Output: Send talk data (returned to the terminal)

[1457] Step 8:

[1458] The terminal analyzes the talk data received from the server and displays the conversation content to the user. Specifically, the generated talk is presented to the user through the terminal's display and speaker. For example, the robot might display and voice the message, "It's good that you're concentrating. Just make sure you prioritize safety while you work."

[1459] Input: Talk data

[1460] Output: Display and audio output of the talk to the user.

[1461] This enables dialogue that takes the user's emotional state into account, providing a more realistic experience. Furthermore, in applications as factory robots, it improves worker safety and work efficiency.

[1462] The specific processing unit 290 transmits the result of the specific processing to the headset terminal 314. In the headset terminal 314, the control unit 46A causes the speaker 240 and display 343 to output the result of the specific processing. The microphone 238 acquires audio indicating user input for the result of the specific processing. The control unit 46A transmits the audio data indicating user input acquired by the microphone 238 to the data processing unit 12. In the data processing unit 12, the specific processing unit 290 acquires the audio data.

[1463] Data generation model 58 is a type of so-called generative AI (Artificial Intelligence). One example of data generation model 58 is ChatGPT (Internet search<URL: https: / / openai.com / blog / chatgpt> ), Gemini (Internet search) <url: https: gemini.google.com ?hl="ja">Examples of generative AI include the following. The data generation model 58 is obtained by performing deep learning on a neural network. The data generation model 58 is input with prompts containing instructions, and with inference data such as audio data representing speech, text data representing text, and image data representing images. The data generation model 58 infers from the input inference data according to the instructions indicated by the prompts, and outputs the inference results in data formats such as audio data and text data. Here, inference refers to, for example, analysis, classification, prediction, and / or summarization.

[1464] In the above embodiment, an example was given in which specific processing is performed by the data processing device 12, but the technology of this disclosure is not limited thereto, and specific processing may also be performed by the headset terminal 314.

[1465] [Fourth Embodiment]

[1466] Figure 7 shows an example of the configuration of the data processing system 410 according to the fourth embodiment.

[1467] As shown in Figure 7, the data processing system 410 includes a data processing device 12 and a robot 414. An example of the data processing device 12 is a server.

[1468] The data processing device 12 comprises a computer 22, a database 24, and a communication interface 26. The computer 22 is an example of a "computer" related to the technology of this disclosure. The computer 22 comprises a processor 28, RAM 30, and storage 32. The processor 28, RAM 30, and storage 32 are connected to a bus 34. The database 24 and the communication interface 26 are also connected to the bus 34. The communication interface 26 is connected to a network 54. An example of the network 54 is a WAN (Wide Area Network) and / or a LAN (Local Area Network).

[1469] The robot 414 includes a computer 36, a microphone 238, a speaker 240, a camera 42, a communication interface 44, and a controlled object 443. The computer 36 includes a processor 46, RAM 48, and storage 50. The processor 46, RAM 48, and storage 50 are connected to a bus 52. The microphone 238, speaker 240, camera 42, and controlled object 443 are also connected to the bus 52.

[1470] The microphone 238 receives voice signals from the user 20 and receives instructions from the user 20. The microphone 238 captures the voice signals from the user 20, converts the captured voice into audio data, and outputs it to the processor 46. The speaker 240 outputs audio according to the instructions from the processor 46.

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

[1472] Communication interface 44 is connected to network 54. Communication interfaces 44 and 26 are responsible for the exchange of various information between processor 46 and processor 28 via network 54. The exchange of various information between processor 46 and processor 28 using communication interfaces 44 and 26 is performed in a secure manner.

[1473] The controlled object 443 includes a display device, LEDs in the eyes, and motors that drive the arms, hands, and feet. The posture and gestures of the robot 414 are controlled by controlling the motors of the arms, hands, and feet. Some of the robot 414's emotions can be expressed by controlling these motors. Furthermore, the robot 414's facial expressions can also be expressed by controlling the illumination state of the LEDs in its eyes.

[1474] Figure 8 shows an example of the main functions of the data processing device 12 and the robot 414. As shown in Figure 8, the data processing device 12 performs specific processing using the processor 28. The storage 32 stores the specific processing program 56.

[1475] The specific processing program 56 is an example of a "program" relating to the technology of this disclosure. The processor 28 reads the specific processing program 56 from the storage 32 and executes the read specific processing program 56 on the RAM 30. The specific processing is realized by the processor 28 operating as a specific processing unit 290 in accordance with the specific processing program 56 executed on the RAM 30.

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

[1477] In robot 414, the processor 46 performs the reception output processing. The storage 50 stores the reception output program 60. The processor 46 reads the reception output program 60 from the storage 50 and executes the read reception output program 60 on the RAM 48. The reception output processing is realized by the processor 46 operating as a control unit 46A according to the reception output program 60 executed on the RAM 48.

[1478] Next, the specific processing performed by the specific processing unit 290 of the data processing device 12 will be described. In the following description, the data processing device 12 will be referred to as the "server" and the robot 414 as the "terminal".

[1479] This invention will now describe embodiments for carrying it out. This system provides real-time dialogue that corresponds to the in-game situation when a user speaks to a virtual character. The specific program processing and implementation examples are described below.

[1480] Program processing

[1481] 1. The user speaks to the virtual character.

[1482] When a user clicks or taps a virtual character on the game screen, an interactive interaction begins.

[1483] For example, suppose a user speaks to a virtual character in a town square.

[1484] 2. The device sends the request to the server.

[1485] The terminal detects user activity and sends a request to the server containing the following data.

[1486] User ID (player identification)

[1487] Virtual character ID (identification of the character being spoken to)

[1488] Current time and date

[1489] Current location (in-game location)

[1490] Story progress

[1491] For example, the device sends the following data to the server:

[1492] User ID: 12345

[1493] Virtual character ID: 5678

[1494] Time and date: 2023-10-05 15:30

[1495] Location information: Town square

[1496] Story progress: 75%

[1497] 3. The server queries the game data.

[1498] The server queries the in-game database based on the received request and retrieves the necessary data.

[1499] Weather information

[1500] Seasonal Information

[1501] Other related environmental information

[1502] For example, the server queries weather data and confirms that the current weather is rainy. It also confirms that the current season is autumn.

[1503] 4. The server uses the AI ​​model to generate talk.

[1504] The server uses the acquired data to call up an AI model and generate appropriate dialogue for the situation.

[1505] Data entry: Weather = Rain, Season = Autumn, Progress = 75%, Location = Town square

[1506] Dialogue generation: The AI ​​model generates natural language dialogue based on the input data.

[1507] For example, the server uses an AI model to generate a conversation like, "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?"

[1508] 5. The server sends the chat data back to the device.

[1509] The server sends the generated talk data to the terminal.

[1510] Data sent: Generated chat message, virtual character ID

[1511] For example, the server sends the generated message "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?" to the terminal.

[1512] 6. The device displays the chat to the user.

[1513] The terminal displays the chat data received from the server on the screen, presenting the conversation content to the user.

[1514] Display contents: Generated dialogue, name of the virtual character speaking

[1515] For example, the device displays the text "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?" in a speech bubble of a virtual character.

[1516] Examples

[1517] Situation 1: When the weather is rainy

[1518] When a user speaks to a virtual character on a rainy day, the server generates a message based on the information "Weather: Rain," such as "It's raining heavily today, I want to go home soon." The device receives the message from the server and displays it on the screen.

[1519] Situation 2: When the season is winter

[1520] When a user speaks to a virtual character in winter, the server generates a message based on the information "Season: Winter," such as "On a cold day like this, I'd like to make some warm soup at home." The device receives the message from the server and displays it on the screen.

[1521] Situation 3: When the story is in its later stages.

[1522] When a user speaks to a virtual character while they are at a high stage of story progression, the server generates a message based on the information "Story Progress: 80%", such as "Thanks to you, the town has become peaceful. Keep up the good work!" The device receives the message from the server and displays it on the screen.

[1523] As described above, this system allows users to enjoy a real-time interactive experience that responds to the situation within the game.

[1524] The following describes the processing flow.

[1525] Step 1:

[1526] The user uses a device to interact with the virtual character by clicking or tapping the virtual character on the game screen. This initiates the interaction.

[1527] Step 2:

[1528] The device detects user activity and sends a request to the server containing the following data.

[1529] User ID (player identification)

[1530] Virtual character ID (identification of the character being spoken to)

[1531] Current time and date

[1532] Current location (in-game location)

[1533] Story progress

[1534] Step 3:

[1535] The server receives the request. The server retrieves the specified user ID, virtual character ID, current time and date, location information, and story progress.

[1536] Step 4:

[1537] The server uses this data to query the in-game database and retrieve the necessary environmental data. For example, it might retrieve current weather and seasonal information.

[1538] Step 5:

[1539] Based on the information acquired by the server, environmental data (weather information, seasonal information, story progress, etc.) is input into the AI ​​model to generate dialogue for the virtual character.

[1540] Step 6:

[1541] The server invokes an AI model to generate appropriate statements. For example, if it is raining and the season is autumn, it will generate a statement such as, "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?"

[1542] Step 7:

[1543] The server sends talk data, including the generated message, to the terminal. The talk data includes the generated message and the virtual character ID.

[1544] Step 8:

[1545] The device analyzes the chat data received from the server and displays the conversation content to the user. For example, it might display text such as, "It's raining today and a little chilly, isn't it? But the trees are changing color in autumn, aren't they beautiful?" in a speech bubble of a virtual character.

[1546] Through these steps, when a user speaks to a virtual character, a situation-appropriate, real-time dialogue is provided.

[1547] (Example 1)

[1548] Next, we will describe Example 1. In the following description, the data processing device 12 will be referred to as the "server" and the robot 414 as the "terminal".

[1549] Current in-game dialogue systems struggle to generate real-time, context-aware responses when users speak to virtual characters. This limits the user experience and results in a lack of realism and diversity in dialogue. Furthermore, the inability to generate situation-appropriate dialogue raises concerns about diminishing the game's immersion.

[1550] The identification process performed by the identification processing unit 290 of the data processing device 12 in Example 1 is realized by the following means.

[1551] In this invention, the server includes means for transmitting data including a user ID, virtual character ID, current time and date, in-game location information, and story progress; means for the server to query a database to obtain weather information, seasonal information, and other relevant environmental information, and to input prompt sentences to an AI model based on this information to generate dialogue; and means for storing the generated dialogue data in JSON format and sending it to the terminal. This enables the user to enjoy a real-time dialogue experience that is appropriate to the situation in the game.

[1552] A "User ID" is an identifier used to uniquely identify a user.

[1553] A "Virtual Character ID" is an identifier used to uniquely identify each character within the game.

[1554] "Current time and date" refers to the specific date and time when the user interacted with the virtual character.

[1555] "Location information" refers to data that indicates the specific location where the user is located within the game.

[1556] "Story progress" refers to data that indicates the progress of the story within the game, showing how far the user has progressed.

[1557] "Weather information" refers to data that shows the current weather conditions within the game.

[1558] "Seasonal information" refers to data that indicates the current seasonal conditions within the game.

[1559] "Environmental data" is a general term for various types of data related to the game environment, such as weather information and seasonal information.

[1560] An "artificial intelligence model" is a machine learning algorithm used to generate conversations based on various input data.

[1561] "Talk" refers to the content of what a virtual character says in a conversation with a user.

[1562] "JSON format" is an abbreviation for JavaScript Object Notation, and is a lightweight data exchange format.

[1563] This invention describes embodiments for carrying out this invention. This system provides real-time dialogue that corresponds to the in-game situation when a user speaks to a virtual character. This system functions in conjunction with the user, terminal, and server.

[1564] Program Processing Overview

[1565] When a user speaks to a virtual character on the game screen, the device sends a request to the server. This request includes the user ID, virtual character ID, current time and date, in-game location, and story progress. The server receives this request and queries the game data. Based on the query results, it then uses an AI model to generate a conversation and sends the generated conversation data back to the device. Finally, the device displays the conversation to the user.

[1566] Hardware and software to be used

[1567] This system uses the following hardware and software.

[1568] Server: High-performance cloud server

[1569] Device: Smartphones, tablets, PCs, and other devices that can connect to the internet.

[1570] Game application: User interface

[1571] Database: Stores weather information, seasonal information, user data, etc.

[1572] Generative AI models: Machine learning models for natural language processing.

[1573] Details of data processing and data calculations

[1574] When a device sends a request to the server, the following data is included:

[1575] User ID (player identification)

[1576] Virtual character ID (identification of the character being spoken to)

[1577] Current time and date

[1578] Current location (in-game location)

[1579] Story progress

[1580] The server queries a database based on the received data to retrieve weather information, seasonal information, and other relevant environmental information. This data is then input into an AI model to generate prompt messages. Based on these prompt messages, the AI ​​model generates a conversation and sends that conversation data back to the terminal.

[1581] Specific example

[1582] Example 1: When the weather is rainy

[1583] Suppose a user speaks to a virtual character on a rainy day. The device sends the following data to the server:

[1584] User ID: 12345

[1585] Virtual character ID: 5678

[1586] Time and date: 2023-10-05 15:30

[1587] Location information: Town square

[1588] Story progress: 75%

[1589] The server queries weather information and confirms that the current weather is rainy. It also confirms that the season is autumn. Based on this, it inputs the following prompt into the AI ​​model:

[1590] "Weather: Rain, Season: Autumn, Progress: 75%, Location: Town Square"

[1591] The AI ​​model generates the message, "It's raining today and a little chilly, isn't it? But the autumn colors of the trees are beautiful, aren't they?" and the server sends this message to the device. The device then displays this message to the user.

[1592] Specific example 2: When the season is winter

[1593] Suppose a user speaks to a virtual character in winter. The device sends the following data to the server:

[1594] User ID: 54321

[1595] Virtual character ID: 8765

[1596] Time and date: 2023-12-15 18:00

[1597] Location information: Foot of the mountain

[1598] Story progress: 45%

[1599] The server queries seasonal information and confirms that the current season is winter. Based on this, it inputs the following prompt into the AI ​​model:

[1600] "The season is winter, the progression is 45%, and the location is at the foot of a mountain."

[1601] The AI ​​model generates the message, "On a cold day like this, I'd like to make some warm soup at home," and the server sends this to the device. The device then displays this message to the user.

[1602] In this way, this system allows users to enjoy a real-time interactive experience that responds to the situation within the game.

[1603] The flow of the specific processing in Example 1 will be explained using Figure 11.

[1604] Step 1:

[1605] The user speaks to the virtual character.

[1606] Specific actions and inputs:

[1607] The user clicks or taps on a virtual character on the game screen.

[1608] For example, the user performs mouse clicks or touch operations on a character in the "town square" on the screen.

[1609] output:

[1610] A signal to initiate interaction is generated in response to user action.

[1611] Step 2:

[1612] The device sends the request to the server.

[1613] Specific actions and inputs:

[1614] The device detects user actions, and the game application generates API requests internally.

[1615] Input data includes user ID, virtual character ID, current time and date, in-game location information, and story progress.

[1616] example:

[1617] User ID: 12345

[1618] Virtual character ID: 5678

[1619] Time and date: 2023-10-05 15:30

[1620] Location information: Town square

[1621] Story progress: 75%

[1622] Data processing and data computation:

[1623] Send a request containing this data to the server using the HTTP POST method.

[1624] output:

[1625] The request data is sent to the server.

[1626] Step 3:

[1627] The server queries the game data.

[1628] Specific actions and inputs:

[1629] The server analyzes the received request data.

[1630] Input data includes user ID, virtual character ID, current time and date, location information, and progress status.

[1631] Data processing and data computation:

[1632] The server sends queries to the database to retrieve weather information, seasonal information, and other relevant environmental information.

[1633] output:

[1634] The acquired environmental data is stored in memory.

[1635] For example, you can obtain information such as the current weather being rainy and the season being autumn.

[1636] Step 4:

[1637] The server uses an AI model to generate talk.

[1638] Specific actions and inputs:

[1639] The server provides the acquired data as input to the AI ​​model.

[1640] The input data includes "Weather = Rain", "Season = Autumn", "Progress = 75%", and "Location = Town Square".

[1641] Data processing and data computation:

[1642] The server uses this data to format the prompt message and inputs it into the AI ​​model.

[1643] Example: Prompt message: "Weather is rainy, season is autumn, progress is 75%, location is town square."

[1644] output:

[1645] The AI ​​model generates the following dialogue: "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?"

[1646] The generated talk data is stored in JSON format.

[1647] Step 5:

[1648] The server sends the chat data back to the device.

[1649] Specific actions and inputs:

[1650] The server generates the generated talk data and virtual character ID as a JSON response.

[1651] example:

[1652] { "Talk": "It's raining today and a little chilly, isn't it? But the trees are changing color in autumn, aren't they beautiful?", "Character ID": 5678}

[1653] Data processing and data computation:

[1654] The generated response is sent back to the terminal as an HTTP response.

[1655] output:

[1656] The chat data is sent to the device in JSON format.

[1657] Step 6:

[1658] The device displays the chat to the user.

[1659] Specific actions and inputs:

[1660] The terminal parses the JSON-formatted response received from the server.

[1661] The input data includes the dialogue and character ID included in the response.

[1662] Data processing and data computation:

[1663] Based on the analysis results, the dialogue content will be displayed in the game UI.

[1664] output:

[1665] The conversation content is displayed to the user. For example, a conversation such as, "It's raining today and a little chilly, isn't it? But the trees are changing color in autumn, aren't they beautiful?" is displayed as a speech bubble for a virtual character.

[1666] (Application Example 1)

[1667] Next, we will explain Application Example 1. In the following explanation, the data processing device 12 will be referred to as the "server" and the robot 414 as the "terminal".

[1668] Conventional interactive virtual character systems relied on limited information for the user's interaction experience, making it impossible to provide diverse conversations that reflected real-time environmental information. Furthermore, it was difficult to provide appropriate guidance and customer service to customers through virtual characters in physical stores. This invention aims to solve these problems and provide users with a richer interaction experience.

[1669] The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 1 is realized by the following means.

[1670] In this invention, the server includes a terminal for a user to interact with a virtual character, means for transmitting data related to the interaction based on the interaction, means for receiving the transmitted data and acquiring current environmental data, inventory information, and promotional information, means for generating statements from the virtual character using an artificial intelligence model based on the environmental data and related data, means for transmitting the generated statements to the terminal, and means for displaying the transmitted statements to the user. This enables diverse interactions that reflect real-time environmental and store information in a physical store.

[1671] "A terminal for users to interact with a virtual character" refers to a device used by a user to interact with a virtual character. This includes smartphones, smart glasses, tablets, robots, and other similar devices.

[1672] "Data related to the aforementioned dialogue operation" refers to information required during the dialogue, such as user ID, virtual character ID, current time and date, in-store location information, inventory information, and promotion information.

[1673] "Environmental data" refers to external contextual data that should be considered during the interaction. This includes weather information, seasonal information, and store congestion information.

[1674] "Inventory information" refers to data that shows the current inventory status of products in a store.

[1675] "Promotional information" refers to information about current sales, discounts, campaigns, and other promotions.

[1676] An "artificial intelligence model" refers to an algorithm or system that generates natural language speech based on input data. This includes AI models for natural language processing.

[1677] "Means for generating the virtual character's speech" refers to the process of generating the content of what the virtual character will say using an artificial intelligence model, based on acquired environmental data and related data.

[1678] "Means of displaying to the user" refers to methods for visually providing the user with the speech of the generated virtual character. This includes the ability to display it on the device's screen.

[1679] This invention describes embodiments for carrying out this invention. This system enables customers in physical stores to receive real-time guidance and customer service through virtual characters. Examples of hardware used include smartphones, smart glasses, tablets, and robots, and examples of software used include cloud servers (e.g., AWS, Microsoft Azure), natural language processing AI models (e.g., OpenAI GPT-3), and database management systems (e.g., MySQL, PostgreSQL).

[1680] The specific operation flow of the system is as follows:

[1681] 1. The user speaks to the virtual character.

[1682] Users use in-store devices (smartphones, smart glasses, etc.) to speak to virtual characters. For example, a customer might speak to a character standing in front of a shelf through smart glasses and ask, "What are your recommended products?"

[1683] 2. The device sends the request to the server.

[1684] The terminal detects interaction and sends a request to the server containing the following data: customer ID, virtual character ID, current time and date, in-store location, inventory information, and promotional information.

[1685] 3. The server queries the store data.

[1686] Based on the received request, the server queries the store's database to retrieve the necessary information (such as inventory and product information, promotion and sale information, store congestion levels, and weather data).

[1687] 4. The server uses the AI ​​model to generate talk.

[1688] The server calls an AI model based on the acquired data and generates a conversation appropriate to the situation. For example, consider the following prompt:

[1689] Weather = Sunny, Season = Spring, Progress = N / A, Location = Shelf #3 in the store, Stock Information = New Spring Products, Promotion Information = Special Sale

[1690] Based on this data input, the AI ​​model generates a message saying, "This shelf has new seasonal items. We're also having a special sale today, so we recommend it!"

[1691] 5. The server sends the chat data back to the device.

[1692] The server sends the generated talk data to the terminal.

[1693] 6. The device displays the chat to the customer.

[1694] The terminal displays the talk data received from the server and provides the customer with the conversation content. For example, the smart glasses display might show text such as, "This shelf has new seasonal items. We're also having a special sale today, so we recommend it!"

[1695] Specific example:

[1696] Situation 1: Sale Day

[1697] On sale days, the system generates and displays messages such as, "Today is a sale day. Items on this shelf are 20% off."

[1698] Situation 2: Introducing a new product

[1699] When new products arrive, the system generates and displays a message such as, "New seasonal items are now available on this shelf. Please take a look."

[1700] Situation 3: Store congestion

[1701] If it's crowded, the system will generate and display a message such as, "This area is currently crowded. There are fewer lines at the registers on the other side."

[1702] As described above, this system enables diverse interactions that reflect real-time environmental and store information in physical stores.

[1703] The flow of a specific process in Application Example 1 will be explained using Figure 12.

[1704] Step 1:

[1705] The user speaks to a virtual character.

[1706] Input: The user speaks to a virtual character via a device (smartphone, smart glasses, tablet, robot, etc.).

[1707] Output: Interactive interaction begins, and the user's statements are recorded on the device.

[1708] Specific action: The user, wearing smart glasses, asks a virtual character standing in front of a shelf in a store, "What products do you recommend?"

[1709] Step 2:

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

[1711] Input: User's message content, User ID, Virtual Character ID, Current time and date, Location information within the store, Inventory information, Promotion information.

[1712] Output: Request data sent to the server.

[1713] Specific operation: The terminal packages the user's spoken content and related data, and sends an HTTP request to the server.

[1714] Step 3:

[1715] The server queries the store data.

[1716] Input: Request data (User ID, Virtual Character ID, Current time and date, In-store location information, Inventory information, Promotion information).

[1717] Output: Necessary information (inventory / product information, promotion / sale information, store congestion level, weather data) is retrieved.

[1718] Specific operation: The server queries the database (e.g., MySQL, PostgreSQL) to retrieve relevant inventory information, promotional information, and related environmental data.

[1719] Step 4:

[1720] The server uses an AI model to generate the conversation.

[1721] Input: Acquired data (inventory / product information, promotion / sale information, store congestion level, weather data).

[1722] Output: Generated talk data.

[1723] Specific operation: The server calls an AI model (e.g., OpenAI GPT-3) and enters a prompt message like the following:

[1724] Weather = Sunny, Season = Spring, Progress = N / A, Location = Shelf #3 in the store, Stock Information = New Spring Products, Promotion Information = Special Sale

[1725] Based on this prompt, the AI ​​model generates the following message: "This shelf has new seasonal items. We're also having a special sale today, so we recommend it!"

[1726] Step 5:

[1727] The server sends the chat data back to the device.

[1728] Input: Generated talk data, virtual character ID.

[1729] Output: Talk data sent to the terminal.

[1730] Specific operation: The server packages the generated talk data and virtual character ID and sends it to the terminal as an HTTP response.

[1731] Step 6:

[1732] The device displays the chat to the user.

[1733] Input: Talk data received from the server.

[1734] Output: The content of the talk presented to the user visually.

[1735] Specific operation: The device receives the chat data and displays the text "This shelf has new seasonal items. We're also having a special sale today, so we recommend it!" on the smart glasses' display.

[1736] This allows users to enjoy diverse conversational experiences that reflect real-time environmental and store information within physical stores.

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

[1738] This invention describes embodiments for carrying out this invention. This system recognizes the user's emotions in addition to the in-game situation when the user speaks to a virtual character, and provides appropriate real-time dialogue. The specific program processing and embodiments are described below.

[1739] Program processing

[1740] 1. The user speaks to the virtual character.

[1741] When a user clicks or taps a virtual character on the game screen, an interactive interaction begins.

[1742] For example, suppose a user speaks to a virtual character in a town square.

[1743] 2. The device sends the request to the server.

[1744] The terminal detects user activity and sends a request to the server containing the following data.

[1745] User ID (player identification)

[1746] Virtual character ID (identification of the character being spoken to)

[1747] Current time and date

[1748] Current location (in-game location)

[1749] Story progress

[1750] 3. The server queries the game data.

[1751] Based on the received request, the server queries the in-game database and retrieves the necessary environmental data.

[1752] Weather information

[1753] Seasonal Information

[1754] Other related environmental information

[1755] 4. The device recognizes the user's emotions.

[1756] The device is equipped with an emotion engine that analyzes the user's voice and facial expressions to acquire emotional data.

[1757] Voice analysis: Analyzes the user's voice tone and speech patterns.

[1758] Facial expression analysis: Reads the user's facial expressions through the camera and determines their emotions.

[1759] 5. The device sends emotional data to the server.

[1760] The device sends the acquired emotional data to the server.

[1761] Emotional data includes the user's emotional state (e.g., joy, sadness, anger, etc.).

[1762] 6. The server uses the AI ​​model to generate talk.

[1763] The server uses the acquired environmental and emotional data to call an AI model and generate conversation appropriate to the situation.

[1764] Data entry: Weather = Rain, Season = Autumn, Progress = 75%, Emotion = Joy

[1765] Dialogue generation: The AI ​​model generates natural language dialogue based on the input data.

[1766] For example, the server uses an AI model to generate a conversation like, "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?"

[1767] 7. The server sends the chat data back to the device.

[1768] The server sends the generated talk data to the terminal.

[1769] Data sent: Generated chat message, virtual character ID

[1770] 8. The device displays the chat to the user.

[1771] The terminal analyzes the chat data received from the server and displays the conversation content to the user.

[1772] Display contents: Generated dialogue, name of the virtual character speaking

[1773] For example, the device displays the text "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?" in a speech bubble of a virtual character.

[1774] Examples

[1775] Situation 1: When the weather is rainy

[1776] When a user speaks to a virtual character on a rainy day, the server generates a message based on the information "Weather: Rain," such as "It's raining heavily today, I want to go home soon." The device receives the message from the server and displays it on the screen.

[1777] Situation 2: When the season is winter

[1778] When a user speaks to a virtual character in winter, the server generates a message based on the information "Season: Winter," such as "On a cold day like this, I'd like to make some warm soup at home." The device receives the message from the server and displays it on the screen.

[1779] Situation 3: When the story is in its later stages.

[1780] When a user speaks to a virtual character while they are at a high stage of story progression, the server generates a message based on the information "Story Progress: 80%", such as "Thanks to you, the town has become peaceful. Keep up the good work!" The device receives the message from the server and displays it on the screen.

[1781] Situation 4: When the user is happy

[1782] When a user speaks enthusiastically and the emotion engine recognizes "joy," the server uses that information to generate a message such as, "You seem to be having a lot of fun! I hope you're enjoying the game." The device receives the message from the server and displays it on the screen.

[1783] Situation 5: When the user is sad

[1784] When a user speaks with a sad voice or expression, and the emotion engine recognizes "sadness," the server uses that information to generate a message such as, "You seem a little down today. Is something wrong?" The device receives the message from the server and displays it on the screen.

[1785] As described above, this system allows users to enjoy a real-time interactive experience that responds to the in-game situation and their own emotional state.

[1786] The following describes the processing flow.

[1787] Step 1:

[1788] To speak to a virtual character, the user clicks or taps the virtual character on the game screen. This initiates the dialogue.

[1789] Step 2:

[1790] The device detects user activity and sends a request to the server containing the following data.

[1791] User ID (player identification)

[1792] Virtual character ID (identification of the character being spoken to)

[1793] Current time and date

[1794] Current location (in-game location)

[1795] Story progress

[1796] Step 3:

[1797] Based on the request received by the server, it queries the game database and retrieves the necessary data (weather, season, progress, etc.).

[1798] Weather information: Current weather

[1799] Seasonal information: Current season

[1800] Story progress: In-game progress

[1801] Step 4:

[1802] The device records the user's voice, and the emotion engine analyzes the voice patterns to obtain the user's emotion data.

[1803] Voice analysis: Analyzes the tone, tempo, and intensity of the user's voice to identify their emotions.

[1804] Step 5:

[1805] The device uses its camera to analyze the user's facial expressions, and the emotion engine acquires emotion data based on those expressions.

[1806] Facial expression analysis: Recognizes the user's facial expressions and detects signs of smiles, sadness, etc.

[1807] Step 6:

[1808] The device sends the acquired emotional data (voice analysis results and facial expression analysis results) to the server.

[1809] Data transmitted: Emotions determined by voice analysis (e.g., joy, sadness), emotions determined by facial expression analysis.

[1810] Step 7:

[1811] The server integrates all data (weather, season, story progression, emotion data) and uses an artificial intelligence model to generate dialogue for the virtual character.

[1812] Data entry: Weather = Rain, Season = Autumn, Progress = 75%, Emotion = Joy

[1813] The AI ​​model generates natural language dialogue based on the input data.

[1814] Step 8:

[1815] The server sends the generated message data (generated message text, virtual character ID) to the terminal.

[1816] Step 9:

[1817] The terminal analyzes the chat data received from the server and displays the conversation content to the user.

[1818] Display contents: Generated dialogue, name of the virtual character speaking

[1819] Example: A speech bubble for a virtual character displays the text, "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?"

[1820] Through the above process, users can enjoy real-time interactions that are tailored to their environment and emotions at that moment.

[1821] (Example 2)

[1822] Next, we will describe Example 2. In the following description, the data processing device 12 will be referred to as the "server" and the robot 414 as the "terminal".

[1823] Traditional virtual character interaction systems have struggled to provide real-time dialogue that responds to user emotions and in-game situations. This often resulted in low levels of dialogue personalization and a monotonous user experience. Furthermore, systems that only consider environmental data have the problem of failing to generate dialogue that appropriately responds to the user's emotional state.

[1824] The identification process performed by the identification processing unit 290 of the data processing device 12 in Example 2 is realized by the following means.

[1825] In this invention, the server includes a terminal for a user to perform conversational operations with a virtual character, means for transmitting data related to the conversational operations based on the conversational operations, means for acquiring in-game environment data, means for the terminal to acquire the user's emotional data, means for transmitting the acquired emotional data to the server, means for generating statements for the virtual character using an artificial intelligence model based on the environment data and emotional data, means for transmitting the generated statements to the terminal, and means for displaying the transmitted statements to the user. This makes it possible to provide personalized conversations in real time based on the user's emotional state and the situation in the game.

[1826] A "user" refers to a human player who interacts with a virtual character.

[1827] "Interactive interaction" refers to actions such as clicking and tapping that a user performs on a virtual character.

[1828] A "terminal" refers to a hardware device used by a user for interactive operations.

[1829] A "server" refers to a computer system that receives and processes data sent by a user.

[1830] "Means of transmitting data" refers to the processes and functions for transmitting data related to user operations from a terminal to a server.

[1831] "In-game environmental data" refers to environmental information within the game, such as the current weather and season.

[1832] "Emotional data" refers to the emotional state analyzed from the user's voice and facial expressions.

[1833] An "artificial intelligence model" refers to a machine learning algorithm used to generate speech from a virtual character based on environmental and emotional data.

[1834] "Means of generating speech" refers to the process or function of generating speech from a virtual character using an artificial intelligence model.

[1835] "Means of sending messages" refers to the process or function for sending messages generated from a server to a terminal.

[1836] "Means of displaying messages" refers to the processes and functions used to display messages generated by the user on a device.

[1837] The embodiments for carrying out this invention will be described in detail. This system recognizes the in-game situation and the user's emotions when the user speaks to a virtual character, and provides appropriate real-time dialogue. The system consists of a terminal on which the user performs dialogue operations, a server that processes data, and an artificial intelligence model that generates the virtual character's speech.

[1838] First, the device on which the user interacts includes an input device that detects actions such as clicks and taps. For example, when a user taps the screen of a smartphone or tablet, an interaction with a virtual character begins.

[1839] The device retrieves relevant data such as the user ID, virtual character ID, current time and date, in-game location information, and story progress, and sends it to the server. Specifically, when a user speaks to a virtual character in the town square, data such as "User ID: 12345, Character ID: 67890, Time: 14:30, Date: 2023-10-01, Location: Square, Progress: 60%" is sent to the server.

[1840] The server queries the in-game database based on the received request to retrieve current weather information, season information, and other relevant environmental data. For example, it might retrieve data such as "Current weather is rain, season is autumn."

[1841] Next, the device is equipped with an emotion engine that analyzes the user's voice and facial expressions to acquire emotion data. Voice analysis analyzes the user's voice tone and speech patterns, while facial expression analysis reads facial expressions through the camera. For example, if the user is speaking happily, the analysis might determine "voice tone: high, speech pattern: rhythmic, facial expression: smiling," and acquire data such as "emotion: joy."

[1842] The device sends the acquired emotion data to the server. The server uses an artificial intelligence model to generate speech from a virtual character based on the acquired environmental and emotion data. For example, if the input is rainy weather, autumn season, and the user is happy, the AI ​​model will generate a speech like, "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?"

[1843] The generated dialogue is sent from the server to the terminal, which then displays this dialogue to the user as a speech bubble of a virtual character. For example, the terminal might display the text "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?" in a speech bubble of a virtual character.

[1844] Specific examples include prompt statements like the following:

[1845] "It's raining today and a little chilly, isn't it? But the trees are beautiful with their autumn colors, right?"

[1846] This allows users to enjoy a real-time interactive experience that responds to the in-game situation and their own emotional state.

[1847] The flow of the specific processing in Example 2 will be explained using Figure 13.

[1848] Step 1:

[1849] The user interacts with the virtual character.

[1850] When a user clicks or taps a virtual character on the game screen, an interactive interaction begins. Specifically, if a user selects a character in the town square, an interaction with that character will begin. The input is the user's click or tap action, and the output is the trigger that initiates the interaction.

[1851] Step 2:

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

[1853] The device detects user actions and retrieves data such as user ID, virtual character ID, current time and date, in-game location, and story progress, and sends it to the server. For example, data such as "User ID: 12345, Character ID: 67890, Time: 14:30, Date: 2023-10-01, Location: Plaza, Progress: 60%" is sent to the server. The input is the result of detecting user actions, and the output is the request data sent to the server.

[1854] Step 3:

[1855] The server queries the game data.

[1856] Based on the received request data, the server queries the in-game database to retrieve current weather information, season information, and other relevant environmental data. For example, it might retrieve data such as "Current weather is rain, season is autumn." The input is the request data sent from the terminal, and the output is the retrieved environmental data.

[1857] Step 4:

[1858] The device recognizes the user's emotions.

[1859] The emotion engine built into the device analyzes the user's voice and facial expressions to acquire emotion data. Voice analysis captures voice tone and speech patterns, while facial expression analysis reads facial expressions via the camera. For example, if the analysis reveals "voice tone: high, speech pattern: rhythmic, facial expression: smiling," the data acquired might be "emotion: joy." The input is the user's voice and facial expressions, and the output is the analyzed emotion data.

[1860] Step 5:

[1861] The device sends emotional data to the server.

[1862] The device sends the acquired emotion data to the server. For example, data such as "emotion: joy" is sent to the server. The input is the emotion data obtained as a result of the analysis, and the output is the data sent to the server.

[1863] Step 6:

[1864] The server uses an AI model to generate the conversation.

[1865] The server uses an artificial intelligence model to generate speech from a virtual character based on acquired environmental and emotional data. For example, given the input "Weather: Rain," "Season: Autumn," and "Emotion: Joy," the AI ​​model will generate the following dialogue: "It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they?" The input consists of environmental and emotional data, and the output is the generated dialogue.

[1866] Step 7:

[1867] The server sends the chat data back to the device.

[1868] The server sends the generated chat data to the terminal. The data sent includes the generated chat message and the virtual character ID. For example, "Chat message: It's raining today and a little chilly. But the autumn colors of the trees are beautiful, aren't they? Character ID: 67890" is sent. The input is the generated chat message, and the output is the data sent to the terminal.

[1869] Step 8:

[1870] The device displays the chat to the user.

[1871] The terminal analyzes the chat data received from the server and displays the conversation content to the user. The displayed content includes the generated chat text and the character's name. For example, the speech bubble of a virtual character might display the text, "It's raining today and a little chilly, isn't it? But the autumn colors of the trees are beautiful, aren't they?" The input is the chat data received from the server, and the output is the content displayed to the user.

[1872] Through these steps, users can enjoy a real-time interactive experience that responds to their emotions and the game situation.

[1873] (Application Example 2)

[1874] Next, we will explain application example 2. In the following explanation, the data processing device 12 will be referred to as the "server" and the robot 414 as the "terminal".

[1875] Conventional virtual character interaction systems lacked realism and a sense of connection to the user experience because they generated dialogue based solely on in-game environmental data, without considering the user's emotional state. Similarly, robots working in factories faced safety and efficiency challenges because they could not recognize the emotional state of workers and respond appropriately.

[1876] The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 2 is realized by the following means. In this invention, the server includes a terminal for the user to perform conversational operations with a virtual character, means for transmitting data related to the conversational operations based on the conversational operations, means for receiving the transmitted data and acquiring current environmental data, means for analyzing the user's emotions in addition to the environmental data and acquiring emotion data, means for generating statements from the virtual character using an artificial intelligence model based on the environmental data and emotion data, means for transmitting the generated statements to the terminal, and means for displaying the transmitted statements to the user. This enables real-time dialogue that recognizes the user's emotional state, making it possible to provide a more realistic and familiar user experience. Furthermore, by applying this to factory robots, it becomes possible to provide appropriate responses and advice that take into account the emotions of workers, improving safety and efficiency.

[1877] "Interactive interaction" refers to the inputs and instructions that a user gives to a virtual character or system.

[1878] A "device" is a device that a user directly operates, and includes smartphones, tablets, personal computers, and robots.

[1879] "Means of transmitting data" refers to communication functions that send relevant information to servers or other devices based on user interaction.

[1880] "Environmental data" refers to information that indicates the current situation and conditions, including weather, season, time, location, and progress.

[1881] "Emotional data" refers to information about a user's emotional state obtained by analyzing their voice and facial expressions.

[1882] An "artificial intelligence model" refers to an algorithm that uses technologies such as machine learning and deep learning to make predictions and generate data based on input data.

[1883] "Means for generating speech" refers to a system that automatically generates the words and sentences that a virtual character should actually speak, based on environmental data and emotional data.

[1884] "Means of sending messages" refers to the function that sends generated messages to the user's device.

[1885] "Means for displaying statements" refers to a function that presents statements generated on the device to the user visually or audibly.

[1886] A "system" is a collection of devices or software that function as a whole by combining the aforementioned means.

[1887] The system for carrying out this invention provides real-time responses while recognizing the user's emotions when the user interacts with a virtual character. The system includes a terminal for the user to interact with the character, means for transmitting data, means for acquiring environmental data and emotion data, means for generating statements using an artificial intelligence model, means for transmitting statements to the terminal, and means for displaying statements to the user.

[1888] Hardware and software to be used

[1889] Terminal: A device that the user directly operates, such as a smartphone, tablet, personal computer, or factory robot.

[1890] Camera and microphone: Hardware used to capture the user's facial expressions and voice for emotion recognition.

[1891] EmotionRecognizer Library: This software analyzes voice and facial expressions to acquire data on the user's emotional state.

[1892] Python: A programming language for executing system-wide programs.

[1893] Servers and APIs: These host the artificial intelligence models used to generate talks and serve as the foundation for receiving and sending necessary data.

[1894] Operation Description

[1895] 1. User interaction:

[1896] The user speaks to a virtual character using a terminal. This action initiates a dialogue. For example, when a robot in a factory begins interacting with a worker, the corresponding sensor is activated at that moment.

[1897] 2. Data transmission:

[1898] The device sends a request to the server. This request includes the user ID, virtual character ID, current time and date, current location information (in-game location or work area), and story progress.

[1899] 3. Acquisition of environmental and emotional data:

[1900] The server receives the request and retrieves current environmental data. It also analyzes the user's emotions through the device's camera and microphone and retrieves emotion data using the EmotionRecognizer library.

[1901] 4. Talk generation:

[1902] The server uses environmental and emotional data to invoke an artificial intelligence model to generate appropriate dialogue. The following is a specific example of prompt text based on a conversation with a factory worker.

[1903] Prompt example:

[1904] Input: Environmental data: Current work area: Welding department, Time: October 12, 2023, 10:00, Work progress: 20%, Sentiment data: Focused

[1905] Output: "It's good that you're concentrating. Just make sure you prioritize safety while you work."

[1906] 5. Sending and displaying messages:

[1907] The server sends the generated message to the terminal, and the terminal displays the message to the user. For example, a robot might use a display and speaker to convey a message to a worker saying, "It's good that you're concentrating. Just make sure you prioritize safety while you work."

[1908] This system enables real-time interaction that reflects the user's emotional state, thereby improving the user experience. Furthermore, applying it to factory robots allows for appropriate responses and advice that take into account the worker's emotions, leading to improved safety and work efficiency.

[1909] The flow of a specific process in Application Example 2 will be explained using Figure 14.

[1910] Step 1:

[1911] The user interacts with a virtual character or factory robot using a device. Specifically, the user clicks or taps on the character on the device, or speaks to the robot. This action triggers the start of the interaction, and the device detects the interaction.

[1912] Input: User interaction

[1913] Output: Dialogue start trigger

[1914] Step 2:

[1915] The terminal sends data related to the interaction to the server. This data includes the user ID, virtual character ID, current time and date, current location information (location within the game or factory), and story progress.

[1916] Input: Data related to the interaction (User ID, Character ID, Current Time, Location, Progress)

[1917] Output: Send data to the server

[1918] Step 3:

[1919] The server receives the transmitted data and retrieves the current environmental data. The server queries databases within the game and factory to obtain environmental information such as weather, season, time of day, and work area.

[1920] Input: Data related to the interaction

[1921] Output: Environmental data (weather, season, time of day, work area)

[1922] Step 4:

[1923] The device analyzes the user's emotions and acquires emotional data. It captures the user's facial expressions and voice through the device's camera and microphone, and analyzes their emotional state using the EmotionRecognizer library.

[1924] Input: User's facial expressions, voice data

[1925] Output: Emotional data (joy, sadness, fatigue, etc.)

[1926] Step 5:

[1927] The device sends the acquired emotional data to the server. This emotional data includes the user's emotional state.

[1928] Input: Sentiment data

[1929] Output: Send emotion data to the server

[1930] Step 6:

[1931] The server uses an artificial intelligence model to generate situation-appropriate responses based on environmental and sentiment data. The server inputs this data into the AI ​​model and retrieves the generated responses. For example, based on environmental and sentiment data, a response such as "It's good that you're focused. Just make sure you prioritize safety while you work" might be generated.

[1932] Input: Environmental data, emotional data

[1933] Output: Generated talk

[1934] Step 7:

[1935] The server sends the generated message back to the terminal. The server sends a packet containing the message data and the virtual character ID to the terminal.

[1936] Input: Generated talk

[1937] Output: Send talk data (returned to the terminal)

[1938] Step 8:

[1939] The terminal analyzes the talk data received from the server and displays the conversation content to the user. Specifically, the generated talk is presented to the user through the terminal's display and speaker. For example, the robot might display and voice the message, "It's good that you're concentrating. Just make sure you prioritize safety while you work."

[1940] Input: Talk data

[1941] Output: Display and audio output of the talk to the user.

[1942] This enables dialogue that takes the user's emotional state into account, providing a more realistic experience. Furthermore, in applications as factory robots, it improves worker safety and work efficiency.

[1943] The specific processing unit 290 transmits the result of the specific processing to the robot 414. In the robot 414, the control unit 46A causes the speaker 240 and the controlled object 443 to output the result of the specific processing. The microphone 238 acquires audio indicating user input for the result of the specific processing. The control unit 46A transmits the audio data indicating user input acquired by the microphone 238 to the data processing unit 12. In the data processing unit 12, the specific processing unit 290 acquires the audio data.

[1944] Data generation model 58 is a type of so-called generative AI (Artificial Intelligence). One example of data generation model 58 is ChatGPT (Internet search<URL: https: / / openai.com / blog / chatgpt> ), Gemini (Internet search) <url: https: gemini.google.com ?hl="ja">Examples of generative AI include the following. The data generation model 58 is obtained by performing deep learning on a neural network. The data generation model 58 is input with prompts containing instructions, and with inference data such as audio data representing speech, text data representing text, and image data representing images. The data generation model 58 infers from the input inference data according to the instructions indicated by the prompts, and outputs the inference results in data formats such as audio data and text data. Here, inference refers to, for example, analysis, classification, prediction, and / or summarization.

[1945] In the above embodiment, an example was given in which specific processing is performed by the data processing device 12, but the technology of this disclosure is not limited thereto, and the specific processing may also be performed by the robot 414.

[1946] Furthermore, the emotion identification model 59, acting as an emotion engine, may determine the user's emotion according to a specific mapping. Specifically, the emotion identification model 59 may determine the user's emotion according to a specific mapping, which is an emotion map (see Figure 9). Similarly, the emotion identification model 59 may also determine the robot's emotion, and the identification processing unit 290 may perform identification processing using the robot's emotion.

[1947] Figure 9 shows an emotion map 400 in which multiple emotions are mapped. In the emotion map 400, emotions are arranged in concentric circles radiating from the center. The closer to the center of the concentric circles, the more primitive the emotions are located. Further out of the concentric circles, emotions representing states and actions arising from mental states are located. Emotion is a concept that includes feelings and mental states. On the left side of the concentric circles, emotions that are generally generated from reactions occurring in the brain are located. On the right side of the concentric circles, emotions that are generally induced by situational judgment are located. Above and below the concentric circles, emotions that are generally generated from reactions occurring in the brain and induced by situational judgment are located. In addition, the emotion of "pleasure" is located on the upper side of the concentric circles, and the emotion of "displeasure" is located on the lower side. Thus, in the emotion map 400, multiple emotions are mapped based on the structure in which emotions arise, and emotions that are likely to occur simultaneously are mapped close together.

[1948] These emotions are distributed at the 3 o'clock position on the Emotion Map 400, and usually fluctuate between feelings of security and anxiety. In the right half of the Emotion Map 400, situational awareness takes precedence over internal feelings, resulting in a calm impression.

[1949] The inside of the Emotion Map 400 represents inner thoughts, while the outside represents actions. Therefore, the further you go from the outside of the Emotion Map 400, the more visible (expressed in actions) your emotions become.

[1950] Here, human emotions are based on various balances, such as posture and blood sugar levels. When these balances deviate from the ideal, it results in discomfort, and when they approach the ideal, it results in pleasure. Similarly, in robots, cars, motorcycles, etc., emotions can be created based on various balances, such as posture and battery level. When these balances deviate from the ideal, it results in discomfort, and when they approach the ideal, it results in pleasure. The emotion map can be generated, for example, based on Dr. Mitsuyoshi's emotion map (Research on a system for analyzing brain physiological signals of speech emotion recognition and emotion, Tokushima University, doctoral dissertation: https: / / ci.nii.ac.jp / naid / 500000375379). The left half of the emotion map contains emotions belonging to a region called "response," where sensation is dominant. The right half of the emotion map contains emotions belonging to a region called "situation," where situational awareness is dominant.

[1951] The emotion map defines two emotions that promote learning. One is the emotion around the middle of the negative "repentance" and "reflection" on the situation side. In other words, it is when the robot experiences negative emotions such as "I never want to feel this way again" or "I don't want to be scolded again." The other is the emotion around the positive "desire" on the reaction side. In other words, it is when the robot has positive feelings such as "I want more" or "I want to know more."

[1952] The emotion identification model 59 inputs user input into a pre-trained neural network, obtains emotion values ​​representing each emotion shown in the emotion map 400, and determines the user's emotion. This neural network is pre-trained based on multiple training data sets, which are combinations of user input and emotion values ​​representing each emotion shown in the emotion map 400. Furthermore, this neural network is trained so that emotions located close together have similar values, as shown in the emotion map 900 in Figure 10. Figure 10 shows an example where multiple emotions such as "reassured," "calm," and "confident" have similar emotion values.

[1953] The above description primarily focuses on the functions of the data processing device 12 in relation to this disclosure. However, the system related to this disclosure is not necessarily implemented on a server. The system related to this disclosure may be implemented as a general information processing system. This disclosure may be implemented, for example, as a software program that runs on a personal computer or as an application that runs on a smartphone. The method related to this disclosure may be provided to users in SaaS (Software as a Service) format.

[1954] In the above embodiment, an example was given in which a specific process is performed by a single computer 22. However, the technology of this disclosure is not limited thereto, and a distributed processing of the specific process may be performed by multiple computers, including computer 22. For example, a data generation model 58 may be provided in an external device of the data processing device 12, and the external device may generate data according to the input data.

[1955] In the above embodiment, an example was given in which the specific processing program 56 is stored in the storage 32, but the technology of this disclosure is not limited thereto. For example, the specific processing program 56 may be stored in a portable, computer-readable, non-temporary storage medium such as a USB (Universal Serial Bus) memory. The specific processing program 56 stored in the non-temporary storage medium is installed in the computer 22 of the data processing device 12. The processor 28 executes specific processing according to the specific processing program 56.

[1956] 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.

[1957] Furthermore, it is not necessary to store the entirety of the specific processing program 56 in a storage device such as a server connected to the data processing device 12 via the network 54, or to store the entirety of the specific processing program 56 in the storage 32; it is acceptable to store only a portion of the specific processing program 56.

[1958] The following types of processors can be used as hardware resources to perform specific processing. Examples of processors include a CPU, a general-purpose processor that functions as a hardware resource to perform specific processing by executing software, i.e., a program. Other examples of processors include dedicated electrical circuits, such as FPGAs (Field-Programmable Gate Arrays), PLDs (Programmable Logic Devices), or ASICs (Application Specific Integrated Circuits), which have circuit configurations specifically designed to perform specific processing. All of these processors have built-in or connected memory, and all of them perform specific processing by using memory.

[1959] The hardware resource that performs a specific process may consist of one of these various processors, or it may consist of a combination of two or more processors of the same or different types (for example, a combination of multiple FPGAs, or a combination of a CPU and an FPGA). Alternatively, the hardware resource that performs a specific process may consist of a single processor.

[1960] Examples of configurations using a single processor include, firstly, a configuration in which one or more CPUs and software are combined to form a single processor, and this processor functions as a hardware resource that performs a specific process. Secondly, there is a configuration using a processor that realizes the functions of the entire system, including multiple hardware resources that perform a specific process, on a single IC chip, as exemplified by SoCs (System-on-a-chip). In this way, a specific process is realized using one or more of the above types of processors as hardware resources.

[1961] Furthermore, the hardware structure of these various processors can more specifically utilize electrical circuits that combine circuit elements such as semiconductor devices. Also, the specific processing described above is merely an example. Therefore, it goes without saying that unnecessary steps can be deleted, new steps added, or the processing order rearranged, as long as it does not deviate from the main purpose.

[1962] The descriptions and illustrations presented above are detailed explanations of the technical aspects of this disclosure and are merely examples of the technical aspects. For example, the above descriptions of the structure, function, operation, and effect are examples of the structure, function, operation, and effect of the technical aspects of this disclosure. Therefore, it goes without saying that you may delete unnecessary parts, add new elements, or replace elements in the descriptions and illustrations presented above, as long as you do not deviate from the essence of the technical aspects of this disclosure. Furthermore, in order to avoid confusion and facilitate understanding of the technical aspects of this disclosure, explanations of common technical knowledge and the like that do not require special explanation to enable the implementation of the technical aspects of this disclosure have been omitted from the descriptions and illustrations presented above.

[1963] All documents, patent applications, and technical standards described herein are incorporated by reference to the same extent as if each individual document, patent application, and technical standard were specifically and individually noted as being incorporated by reference.

[1964] The following is further disclosed regarding the embodiments described above.

[1965] (Claim 1)

[1966] A terminal for the user to interact with a virtual character,

[1967] A means for transmitting data related to the aforementioned dialogue operation,

[1968] A means for receiving the transmitted data and obtaining current environmental data,

[1969] A means for generating speech from the virtual character using an artificial intelligence model based on the aforementioned environmental data,

[1970] means for transmitting the generated statement to the terminal,

[1971] Means for displaying the transmitted message to the user,

[1972] A system that includes this.

[1973] (Claim 2)

[1974] The system according to claim 1, wherein the environmental data includes weather information.

[1975] (Claim 3)

[1976] The system according to claim 1, wherein the environmental data includes seasonal information.

[1977] "Example 1"

[1978] (Claim 1)

[1979] A terminal for the user to interact with a virtual character,

[1980] A means for transmitting data related to the aforementioned dialogue operation,

[1981] A means for receiving the transmitted data and obtaining current environmental data,

[1982] A means for generating speech from the virtual character using an artificial intelligence model based on the aforementioned environmental data,

[1983] means for transmitting the generated statement to the terminal,

[1984] Means for displaying the transmitted message to the user,

[1985] A means of transmitting data including user ID, virtual character ID, current time and date, in-game location information, and story progress,

[1986] A means for sending a request containing the aforementioned data to a server,

[1987] A server queries a database to obtain weather information, seasonal information, and other relevant environmental information, and based on this, inputs prompt sentences into an AI model to generate talk.

[1988] A means for storing the generated talk data in JSON format and sending it to the terminal,

[1989] The means for displaying the chat data received by the terminal to the user,

[1990] A system that includes this.

[1991] (Claim 2)

[1992] The system according to claim 1, wherein the environmental data includes weather information.

[1993] (Claim 3)

[1994] The system according to claim 1, wherein the environmental data includes seasonal information.

[1995] "Application Example 1"

[1996] (Claim 1)

[1997] A terminal for the user to interact with a virtual character,

[1998] A means for transmitting data related to the aforementioned dialogue operation,

[1999] A means for receiving the transmitted data and obtaining current environmental data, inventory information, and promotional information,

[2000] A means for generating speech from the virtual character using an artificial intelligence model based on the aforementioned environmental data and related data,

[2001] means for transmitting the generated statement to the terminal,

[2002] Means for displaying the transmitted message to the user,

[2003] A system that includes this.

[2004] (Claim 2)

[2005] The system according to claim 1, wherein the environmental data includes weather information and store congestion information.

[2006] (Claim 3)

[2007] The system according to claim 1, wherein the environmental data includes seasonal information and product inventory information.

[2008] "Example 2 of combining an emotion engine"

[2009] (Claim 1)

[2010] A terminal for the user to interact with a virtual character,

[2011] A means for transmitting data related to the aforementioned dialogue operation,

[2012] A means for receiving the transmitted data and obtaining in-game environment data,

[2013] The aforementioned terminal includes means for acquiring user emotion data,

[2014] Means for transmitting the acquired emotional data to the server,

[2015] A means for generating statements of the virtual character using an artificial intelligence model based on the aforementioned environmental data and emotional data,

[2016] means for transmitting the generated statement to the terminal,

[2017] Means for displaying the transmitted message to the user,

[2018] A system that includes this.

[2019] (Claim 2)

[2020] The system according to claim 1, wherein the environmental data includes weather information.

[2021] (Claim 3)

[2022] The system according to claim 1, wherein the environmental data includes seasonal information.

[2023] "Application example 2 when combining with an emotional engine"

[2024] (Claim 1)

[2025] A terminal for the user to interact with a virtual character,

[2026] A means for transmitting data related to the aforementioned dialogue operation,

[2027] A means for receiving the transmitted data and obtaining current environmental data,

[2028] In addition to the aforementioned environmental data, a means for analyzing user emotions and acquiring emotional data,

[2029] A means for generating statements of the virtual character using an artificial intelligence model based on the aforementioned environmental data and emotional data,

[2030] means for transmitting the generated statement to the terminal,

[2031] Means for displaying the transmitted message to the user,

[2032] A system that includes this.

[2033] (Claim 2)

[2034] The system according to claim 1, wherein the environmental data includes weather information.

[2035] (Claim 3)

[2036] The system according to claim 1, wherein the environmental data includes seasonal information. [Explanation of Symbols]

[2037] 10, 210, 310, 410 Data Processing Systems 12 Data Processing Devices 14 Smart Devices 214 Smart Glasses 314 Headset-type terminal 414 Robots< / url:> < / url:> < / url:> < / url:>

Claims

1. A terminal for the user to interact with a virtual character, A means for transmitting data related to the aforementioned dialogue operation, A means for receiving the transmitted data and obtaining current environmental data, A means for generating speech from the virtual character using an artificial intelligence model based on the aforementioned environmental data, means for transmitting the generated statement to the terminal, Means for displaying the transmitted message to the user, A system that includes this.

2. The system according to claim 1, wherein the environmental data includes weather information.

3. The system according to claim 1, wherein the environmental data includes seasonal information.

Citation Information

Patent Citations

  • Persona chatbot control method and system

    JP2022180282A