Chat system and method executed by chat system
The chat system addresses the cost and user burden issues in existing chat systems by implementing a chat interface with session management and specialized AI agents, enhancing user experience and efficiency through seamless session continuation and reduced retraining needs.
Patent Information
- Application Number
- US19/664052
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Priority Date
- 2025-05-20
- Filing Date
- 2026-04-30
- Publication Date
- 2026-11-26
AI Technical Summary
Existing chat systems using large language models require significant costs for retraining and impose burdens on users when handling ambiguous inquiries, necessitating repeated information input due to the lack of clear purpose in user inputs and the need for switching AI agents during sessions.
A chat system with a chat interface that includes buttons for starting a new session or continuing a session, managing chat histories, and providing device information, along with specialized AI agents for error handling and event selection, reducing the need for repeated user input by allowing session continuation without new IDs.
Reduces user burden by enabling seamless continuation of chat sessions and efficient information retrieval, minimizing the need for repetitive input and retraining, thus optimizing user experience and system efficiency.
Smart Images

Figure US20260379790A1-D00000_ABST
Abstract
Description
BACKGROUNDField
[0001] The present disclosure relates to a chat system.Description of the Related Art
[0002] In recent years, chat systems using large language models (LLMs) have emerged. Large language models are types of artificial intelligence trained on large amounts of text data using deep learning technologies and are machine learning models capable of understanding or generating sentences. Large language models are models capable of executing various types of natural language processing such as text summarization, text generation, and question answering. The chat systems are systems capable of automatically executing chats with users using large language models focusing on capabilities of the natural language processing.
[0003] In the related art, in order to construct chat systems for specific business tasks, it is general to retrain large language models and adopt the retrained large language models to the specific business tasks. For example, when chat systems answering inquiries about specific product information are structured, information such as latest information regarding the products or detailed operating procedures of the products are not included in general-purpose large language models in many cases. Accordingly, the large language models are retrained using information necessary for business tasks, and thus significant costs are required.
[0004] To solve such problems, a scheme called retrieval augmented generation (RAG) is increasingly being adopted in chat systems. Retrieval augmented generation is a scheme of preparing an information source separately from a large language model and generating an answer with reference to a retrieval result from the information source when the large language model generates the answer. By using retrieval augmented generation, it is possible to construct a large language model at a low cost without retraining the large language model.
[0005] Japanese Patent Laid-Open No. 2019-164653 discloses a system in which a chatbot conducts a chat with a user. This system has a configuration capable of switching between a mode in which a message from a user is received with a chat and a mode in which printing is not executed even when a message is received.
[0006] Incidentally, since inquiries input into chat systems by users are in natural languages, purposes are not necessarily clear. In the case of such ambiguous inquiries, it is difficult to derive similar answers in the technology of the related art, and it is necessary to clarify content of the inquiries by repeating chat interaction in order to generate highly accurate answers. Therefore, generative AI is conceivable in which a plurality of AI agents specialized for tasks of specific fields utilizing machine learning models are prepared and an optimum AI agent for generating an answer is switched to be used during each chat interaction. AI is an abbreviation for artificial intelligence.
[0007] In order to obtain appropriate answers from generative AIs, cases where it is desired to restart chats in new sessions or to change AI agents during chat sessions are conceivable. In such cases, for specific applications, there are problems that burdens are imposed on users because the users are required to acquire or input the same information every time from user interfaces (UIs). However, Japanese Patent Laid-Open No. 2019-164653 discloses only switching a mode, and does not consider a reduction in burdens when information requested by users is acquired.SUMMARY
[0008] The present disclosure provides a technology for reducing a burden when information requested by a user is acquired.
[0009] According to an aspect of the present disclosure, a chat system includes: one or more memories storing instructions; and one or more processors executing the stored instructions causing the chat system to: generate a chat interface providing an action method corresponding to an event of an error that occurs in a device in a chat, wherein the chat interface has a chat service screen that includes a chat display region where a chat history is displayed, an action method display region where the action method is displayed based on the chat history, a first button for giving an instruction to start a new chat session, and a second button for giving an instruction to continue the chat session and select the event of the error; manage a series of chat histories in units of the chat session; issue, in a case where an operation on the first button is received on the chat interface, a new session ID for uniquely specifying the chat session and provides device information and takeover information of a target device for the chat of the new session ID and a message for selecting the event of the error; and provide, in a case where an operation on the second button is received on the chat interface, a message for reselecting the event of the error without issuing the new session ID.
[0010] Features of the present disclosure will become apparent from the following description of embodiments with reference to the attached drawings. The following description of embodiments is described by way of example.BRIEF DESCRIPTION OF THE DRAWINGS
[0011] FIG. 1 is a diagram illustrating an overall configuration of a system according to a first embodiment of the present disclosure.
[0012] FIGS. 2A to 2C are diagrams illustrating hardware configurations of a chat service, a client terminal and an MFP.
[0013] FIG. 3 is a diagram illustrating a software configuration of each device included in a system according to the first embodiment of the present disclosure.
[0014] FIG. 4A is a diagram illustrating a processing sequence of a chat service.
[0015] FIG. 4B is a diagram illustrating a processing sequence of the chat service.
[0016] FIG. 4C is a diagram illustrating a processing sequence of the chat service.
[0017] FIG. 5 is a diagram illustrating a device monitoring service.
[0018] FIG. 6A is a diagram illustrating a basic screen configured in a web application.
[0019] FIG. 6B is a diagram illustrating a basic screen configured in the web application.
[0020] FIG. 6C is a diagram illustrating a basic screen configured in the web application.
[0021] FIG. 7A is a diagram illustrating a chat display region when various events are selected in the web application.
[0022] FIG. 7B is a diagram illustrating a chat display region when various events are selected in the web application.
[0023] FIG. 7C is a diagram illustrating a chat display region when various events are selected in the web application.
[0024] FIG. 7D is a diagram illustrating a chat display region when various events are selected in the web application.
[0025] FIGS. 8A and 8B are diagrams illustrating a UI configuration of an action method display region.
[0026] FIG. 9 is a diagram illustrating chat screen display information that is part of information recorded in a RAM when the web application is displayed on a chat screen.
[0027] FIG. 10 is a diagram illustrating an action list screen.
[0028] FIG. 11A is a flowchart illustrating a process when the web application starts.
[0029] FIG. 11B is a flowchart illustrating a process when the web application starts.
[0030] FIG. 11C is a flowchart illustrating a process when the web application starts.
[0031] FIGS. 12A to 12C are flowcharts illustrating processes during a basic operation of the web application.
[0032] FIGS. 13A and 13B are flowcharts illustrating processes during session or event switching of the web application.
[0033] FIG. 14 is a diagram illustrating an example of a chat pane during an event switching in the web application.DESCRIPTION OF THE EMBODIMENTS
[0034] Hereinafter, modes for carrying out the present disclosure will be described with reference to the drawings. The present disclosure is not limited by the embodiments, and not all configurations to be described in the embodiments are necessarily essential as means for solving the problems of the present disclosure.First Embodiment<System Configuration>
[0035] FIG. 1 is a diagram illustrating an overall configuration of a system according to a first embodiment of the present disclosure. In a system 10, each configuration illustrated in FIG. 1 is connected to a network 100. The network 100 is, for example, a so-called communication network implemented by a LAN such as the Internet, a WAN, a telephone line, a dedicated digital line, an ATM or a frame relay line, a cable television line, a wireless line for data broadcasting, or the like. LAN is an abbreviation for local area network. WAN is an abbreviation for wide area network. ATM is an abbreviation for asynchronous transfer mode. In the embodiment, the network 100 is the Internet. The system 10 is an example of a chat system using a generative AI.
[0036] A chat service 101 is connected to the network 100 to be able to communicate with other devices connected to the network 100. The chat service 101 has a function of generating an appropriate answer in a chat format in response to an inquiry from a client. The chat service 101 writes and reads user data or chat history data in a chat history DB service 105. The chat service 101 accesses reference data of RAG by calling a knowledge DB service 107 and uses a large language model by calling a large language model service 106.
[0037] A client terminal 102 is connected to the network 100 to be able to communicate with other devices connected to the network 100. The client terminal 102 is a data processing device such as a personal computer or a mobile terminal for using a cloud service of the system 10. The client terminal 102 makes inquiries or instructions to the chat service 101.
[0038] An MFP 104 is connected to the network 100 to be able to communicate with other devices connected to the network 100. MFP is an abbreviation for multifunction printer. The MFP 104 is a multifunction peripheral that executes printing and scanning processes. The MFP 104 is an example of a device. The MFP 104 is an example of a network device connected to the network 100. In the present embodiment, an MFP will be described as an example of a device. The device is not limited to an MFP and may be a device such as a printer or a facsimile machine other than an MFP.
[0039] A device monitoring service 103 is connected to the network 100 to be able to communicate with other devices connected to the network 100. The device monitoring service 103 provides a function of acquiring a log of the MFP 104, receiving an HTTP request from the chat service 101, and transmitting a designated log as a response.
[0040] The chat history DB service 105 is connected to the network 100 to be able to communicate with other devices connected to the network 100. DB is an abbreviation for database. The chat history DB service 105 provides a database function of storing user data or chat history data.
[0041] A large language model service 106 is connected to the network 100 to be able to communicate with other devices connected to the network 100. The large language model service 106 provides a large language model to the chat service 101.
[0042] A knowledge DB service 107 is connected to the network 100 to be able to communicate with other devices connected to the network 100. The knowledge DB service 107 provides a vector database service to the chat service 101.
[0043] The chat service 101, the chat history DB service 105, the large language model service 106, the knowledge DB service 107, and the device monitoring service 103 are each published on the Internet as a cloud service made redundant by a plurality of servers. The function of each service may be implemented by a single server or a single virtual server or may be implemented by a plurality of servers or a plurality of virtual servers. Alternatively, a plurality of virtual serves may be executed on a single server.<Hardware Configuration>
[0044] FIG. 2A is a diagram illustrating an example of a hardware configuration of the chat service 101. The chat service 101 includes a CPU 201, a RAM 202, a ROM 203, a storage unit 204, a network communication unit 207, and a network connection unit 208. CPU is an abbreviation for central processing unit. RAM is an abbreviation for random access memory. ROM is an abbreviation for read only memory.
[0045] The CPU 201 is a central processing unit that controls each unit of the chat service 101. The RAM 202 functions as a work memory necessary when the CPU 201 executes a program 205. The ROM 203 is a read only memory that stores a boot program necessary for starting the system. The storage unit 204 is a device that stores a program 205 executed by the CPU 201 and various types of information and is, for example, a nonvolatile storage device such as a magnetic disk or a flash memory. The network communication unit 207 is connected to a network such as the network 100 via a network connection unit 208 to execute various types of communication. The above-described units are connected to each other via a bus 209 and can transmit and receive data between each other.
[0046] FIG. 2B is a diagram illustrating an example of a hardware configuration of the client terminal 102. In the client terminal 102, a CPU 211 generally controls access to various devices connected to a system bus 220 based on a control program stored in a ROM 212 or a storage unit 214. The ROM 212 stores the control program or the like that can be executed by the CPU 211. ARAM 213 mainly functions as a main memory, a work area, or the like of the CPU 211 and is configured such that a memory capacity can be expanded by an optional RAM connected to an expansion port (not illustrated).
[0047] The storage unit 214 is a nonvolatile storage device such as a magnetic disk or a flash memory that stores a boot program, various applications, font data, user files, edited files, and the like. The storage unit 214 may be, for example, a hard disk drive (HDD) or the like. A panel operation I / F 217 executes display control of an operation panel 219 and control of an input of various types of setting information set in the operation panel 219. I / F is an abbreviation for interface. The network I / F 218 executes data communication with an external network via a network cable.
[0048] FIG. 2C is a diagram illustrating an example of a hardware configuration of the MFP 104. In the MFP 104, a network I / F 235 is connected to the network 100 to execute network communication. A CPU 231 outputs an image signal serving as output information to a printer 240 via a printer I / F 239 connected to the system bus 200 based on the control program or the like. The control program is stored in a storage unit 234, an external memory 244, or the like. The CPU 231 can process communication via the network I / F 235 and is configured to be able to notify the device monitoring service 103 of information or the like in the MFP 104. Further, the CPU 231 executes a process based on an application program or the like stored in the storage unit 234 or the external memory 244.
[0049] The ROM 232 is a read only memory that stores a boot program necessary for starting the system. The RAM 233 functions as a main memory, a work area, or the like of the CPU 231. The RAM 233 is used for an output information installation area, an environment data storage area, an NVRAM, or the like. NVRAM is an abbreviation for nonvolatile random access memory. Reference numeral 234 denotes a storage unit and an external memory 244 is a storage device such as a hard disk drive. The storage unit 234 or the external memory 244 stores a control program or an application program of the CPU 231, font data used during generation of the output information, information used on the MFP 104, and the like.
[0050] An operation I / F 237 manages an interface with an operation unit 238 and outputs image data to be displayed to the operation unit 238. The operation I / F 237 also receives information input via the operation unit 238. The operation unit 238 corresponds to an operation panel or the like in which a switch, an LED indicator, and the like for an operation are arranged. The printer I / F 239 outputs an image signal serving as output information to the printer 240. The printer 240 is, for example, a printer engine. A scanner I / F 241 receives an image signal serving as input information from a scanner 242. The scanner 242 is, for example, a scanner engine. An external memory I / F 243 controls access to a hard disk drive or an external memory 244 such as an IC card. The external memory I / F 243 is, for example, a memory controller. The number of external memories 244 is not limited to one, and at least one memory may be included and a plurality of external memories may be connected. The system bus 250 connects each device.
[0051] Hardware configurations of the device monitoring service 103, the large language model service 106, the chat history DB service 105, and the knowledge DB service 107 are similar to that of the chat service 101, and thus description thereof will be omitted.<Software Configuration>
[0052] FIG. 3 is a diagram illustrating a software configuration of each device included in the system 10. Each software module is stored in the storage units 204, 214, and 234 illustrated in FIG. 2 and is loaded and executed in the RAMs 202, 213, and 233 by the CPUs 201, 211, and 231.<<Software Configuration: Knowledge DB Service 107>>
[0053] The knowledge DB service 107 includes a communication unit 371 and a knowledge data storage unit 372. The communication unit 371 is a module that uses any communication protocol to execute network communication with the chat service 101 or the like. The knowledge data storage unit 372 is a module of a vector database that generates, reads, updates, and deletes data in response to requests.<<Software Configuration: Large Language Model Service 106>>
[0054] The large language model service 106 includes a communication unit 361 and a large language model 362. The communication unit 361 is a module that uses any communication protocol to execute network communication with the chat service 101 or the like. The large language model 362 is a module that generates an answer in response to an input.<<Software Configuration: Chat History DB Service 105>>
[0055] The chat history DB service 105 includes a communication unit 351 and a chat data storage unit 304. The communication unit 351 is a module that uses any communication protocol to execute network communication with the chat service 101. The chat data storage unit 304 is a database module that generates, reads, updates, and deletes data in response to requests. The chat data storage unit 304 is an example of a chat data storage unit that manages a series of chat histories in units of chat sessions.<<Software Configuration: Chat Service 101>>
[0056] The chat service 101 includes a communication unit 301, a user management unit 302, and a chat management unit 303. The chat service 101 includes an error code solution agent 305, an image defect agent 306, another inquiry solution agent 307, a summarization agent 308, and a knowledge management unit 309.
[0057] Hereinafter, the error code solution agent 305 is also referred to as the agent 305. The image defect agent 306 is also referred to as the agent 306. The other inquiry solution agent 307 is also referred to as the agent 307. The summarization agent 308 is also referred to as the agent 308.
[0058] The communication unit 301 is a module that uses any communication protocol to execute network communication with the client terminal 102, the MFP 104, and the like. The user management unit 302 is a module that executes user management by requesting the chat history DB service 105 to store, update, read, and delete user data of a user using the chat service 101. Table 1 shows an example of a user management table managed by the user management unit 302 by storing the user data in the chat data storage unit 304.TABLE 1UserIDPasswordLoginStateLoginExpirationPerioduserA*********On2025 / 04 / 30 0:00userB*********On2022 / 04 / 30 0:00userC*********Off
[0059] Values stored in each column of Table 1 are as follows. In a UserID column, a user ID that is an ID for uniquely identifying a user is stored. In a Password column, a password for basic authentication used during login of the user ID is stored. The user management unit 302 compares a combination of a user ID and a password included in a login request from the client terminal 102 with Table 1. When the combination matches Table 1, a login result is returned as a success to the client terminal 102 of a request source. In a LoginState column, a login state of the user is stored. A login state of “ON” indicates that the user is in a login state. A login state of “OFF” indicates that the user is in a logout state. In a LoginExpirationPeriod column, an expiration period of an authentication state of the logged-in user is stored.
[0060] In the present disclosure, a “user” is assumed to be mainly an operator or an engineer on a customer center side that receives inquiries from customers using the MFP 104 via telephones, emails, or the like. That is, the chat service system according to the present disclosure is assumed to be used mainly by the operator. However, the “user” is not necessarily limited to an operator or the like may be, for example, a customer using the MFP 104. “Takeover information” to be described below is information used when the user takes over business content related to an inquiry from a customer and executed by the user.
[0061] The chat management unit 303 is a module that manages a chat history by requesting the chat history DB service 105 to store, update, read, and delete chat history data. Table 2 shows an example of a chat history table in which the chat management unit 303 stores and manages the chat history data in the chat data storage unit 304.TABLE 2UserIDSectionIDInputAnsweruserAXxxxxxThere is streakThere is possibility ofin printedcontamination on dustproof glass.imageIs streak white or black?userAXxxxxxStreak is whiteDustproof glass is contaminatedand in verticalwith toner. Clean with cleaningrod.directionThere is no additional question.userBYyyyyyError code 09Set direction of A4 sheet isoccursdifferent. There is no additionalquestion.userAZzzzzzError code 100Amount of remaining cyan toner isoccurslow. There is no additionalquestion.
[0062] Values stored in each column of Table 2 are as follows. In a UserID column, a user ID that is an ID for uniquely identifying a user is stored. In a SessionID column, a session ID that is an ID for identifying a series of chat exchanges and is an identifier issued at the start of a chat is stored. In a message column, a message input to the chat service 101 by the user is stored. In an Answer column, an answer returned by the chat service 101 in response to a user input of a message is stored.
[0063] Table 3 shows an example of an action result table in which the chat management unit 303 stores and manages action result data in the chat data storage unit 304.TABLE 3UserIDSessionIDActionActionResultReferenceDestinationuserAXxxxxxDustproofEndfaq / guide.htmlglass iscleaneduserBYyyyyySheet is resetSolvedfaq / guide.htmluserAZzzzzzToner isUnsolvedmanual / manual.pdfexchanged
[0064] Values stored in each column of Table 3 are as follows. In a UserID column, a user ID that is an ID for uniquely identifying a user is stored. In a SessionID column, a session ID that is an ID for identifying a series of chat exchanges and is an identifier issued at the start of a chat is stored. In an Action column, information indicating whether an inquiry about a session ID of the session ID column is solved as a result obtained by executing action of the action column is stored. In an ActionResult column, a fixed text string that has a meaning of “End” is stored when only an action procedure of an action column is confirmed. In the ActionResult column, a fixed text string that has a meaning of “Solved” is stored when action of the action column is tried and an inquiry is solved. In the ActionResult column, a fixed text string that has a meaning of “Unsolved” is stored when action of the action column is tried and an inquiry is not solved. In a ReferenceDestination column, a path of a document browsed at a link destination included in an answer from the chat service 101 is stored.
[0065] The agents 305, 306, and 307 are modules that receive description of a device state from a user in natural language and generate answers by executing data searching of the knowledge DB service 107 and calling the large language model service 106. The answers generated by the agents 305, 306, and 307 are defined so that action including content, a cause, and a solution, additional questions to the user, and a link URL of the document used to generate them are included. URL is an abbreviation for uniform resource locator. An additional question to the user included in the answer is generated only when new information is required to generate a more correct action. When no new information is required, the additional question is defined as a message indicating that there is no additional question.
[0066] In the present embodiment, agents specialized for three types of events such as error code solution, an image defect, and other inquiry solutions are exemplified, but the types of agents may be included.
[0067] The agent 308 is a module that generates a summary by calling the large language model service 106 using history data of inquiry content and generated answers.
[0068] The knowledge management unit 309 is a module that acquires highly relevant information from inquiry content of a user from the knowledge DB service 107. The knowledge management unit 309 converts a search query into vector data using a text embedding model, transmits a query to the knowledge DB service 107, and acquires a result. The text embedding model is a machine learning model that converts text data into a numerical vector. In the present disclosure, an algorithm of the text embedding model is not limited.<<Software Configuration: Device Monitoring Service 103>>
[0069] The device monitoring service 103 includes a communication unit 321, a data storage unit 322, a device information management unit 323, and an action information management unit 324. The communication unit 321 uses any communication protocol to execute network communication with the client terminal 102 and the MFP 104.
[0070] The device information management unit 323 acquires device information or log from the MFP 104 connected to the network 100 via the communication unit 321. To acquire the device information or log from the MFP 104, any communication protocol is used. An example of the communication protocol used by the device information management unit 323 is HTTPS. HTTPS is an abbreviation for hypertext transfer protocol secure. The device information management unit 323 stores the device information acquired from the device management unit 335 of the MFP 104 in the data storage unit 322. The device information management unit 323 takes the device information from the data storage unit 322 and returns the device information as a response in response to an API request from the client terminal 102. API is an abbreviation for application programming interface.
[0071] The action information management unit 324 takes an API request from the client terminal 102 and returns a response. The action information management unit 324 returns an action method corresponding to an error code designated with the API request as a response. The action information management unit 324 acquires necessary information from a plurality of tables on the data storage unit 322 to be described below.
[0072] The data storage unit 322 manages data as a database service and executes storing and acquiring data in accordance with a request from another module. Examples of the table configurations in the data storage unit 322 are shown in Tables 4, 5, and 6 below. The table configurations of Table 4, 5, and 6 are merely exemplary and may be other table configurations.TABLE 4DeviceIDModelNameSerialNoLastUpdatedMFP00001ModelAXXXXXXX2024 / 5 / 29 00:00MFP00002ModelAXXXXXXX2024 / 5 / 29 00:00MFP00003ModelBXXXXXXX2024 / 5 / 29 00:00MFP00004ModelBXXXXXXX2024 / 5 / 29 00:00MFP00005ModelAXXXXXXX2024 / 5 / 29 00:00MFP00006ModelAXXXXXXX2024 / 5 / 29 00:00
[0073] Table 4 is an example of a device management table and is a table in which a device managed by the device monitoring service 103, that is, information regarding a device managed by the device monitoring service 103. Values stored in each column of Table 4 are as follows. In a DeviceID column, a device ID that is an ID for uniquely identifying a device is stored. DeviceID is a device identifier. In a ModelName column, a model name indicating a model of the device is stored. In a SerialNO column, a serial number of the device is stored. In a LastUpdated column, a last update date on which the record is updated with information acquired from the device is stored.TABLE 5DeviceIDJobIDJobTypeStartTimeEndTimeResultErrorCodeMFP000015000SCAN&SEND20245282024528Succeededsuc000002(Email)13:0013:01MFP000015001PRINT20245282024528Failedjam00000113:0113:02MFP000015002PRINT20245282024528Succeededsuc00000113:0213:03MFP000015003PRINT20245282024528Failederr00002013:0313:04MFP000015004PRINT20245282024528FailedErr00003013:0413:05
[0074] Table 5 is an example of a log management table and is a table in which a log acquired by the device information management unit 323 from the device is stored. Values stored in each column of Table 5 are as follows. In a DeviceID column, a device ID that is an ID for uniquely identifying a device is stored. In a JobID column, JobID that is an ID for uniquely identifying a job is stored. In a JobType column, a job type indicating a type of job is stored. In a StartTime column, a date on which execution of the job starts is stored. In an EndTime column, a date on which the execution of the job ends is stored. In a Result column, an execution result of the job is stored. In an ErrorCode column, an error code that is a code for uniquely identifying a failure cause when the job fails is stored. Here, a job is a processing job such as printing, scanning, or transmission that can be executed on the MFP 104 by a user, and a job identifier is an identifier for uniquely identifying each job.TABLE 6ModelNameErrorCodeJobTypeAcitionMethodModelAerr100001SCAN$SENDTurn setting1 OFF(Email)ModelAerr000010PRINTTurn setting2 ONModelAerr000020PRINTRestartModelAjam000001PRINTPaper Jam Open paperfeeds and remove anystuck piecesModelCerr000010PRINTTurn setting2 ON
[0075] Table 6 is an example of an action information management table and is a table in which the action information management unit 324 records an action method to be executed against a problem occurring in a device when a user executes action. Values stored in each column of Table 6 are as follows. In a ModelName column, a model name indicating a model of a device is stored. In an ErrorCode column, an error code that is a code for uniquely identifying a failure cause when a job fails is stored. In a AcitionMethod column, an action method indicating content to be handled when a problem matching a model name, an error code, and a job type occurs is stored.<<Software Configuration: Client Terminal 102>>
[0076] The client terminal 102 includes a UI unit 311, a communication unit 312, and a web browser 313. WWW is an abbreviation for world wide web. The communication unit 312 uses any communication protocol to execute network communication with the chat service 101, the device monitoring service 103, and the like.
[0077] The client terminal 102 downloads a web application 315 stored in the storage unit 204 of the chat service 101 via the communication unit 312, and the web browser 313 executes display and a process. In the present embodiment, the web application 315 is set as a form of a single page application. The UI unit 311 receives an input from a user and executes an instruction to the chat service 101, display of data received from the chat service 101, and the like.<<Processing Sequence of Chat Service>>
[0078] FIGS. 4A, 4B, and 4C are diagrams illustrating processing sequences of the chat service 101. FIGS. 4A, 4B, and 4C are diagrams illustrating processing sequences when the web application 315 requests the chat service 101 to execute various processes. FIG. 4B is a diagram illustrating a process continued from FIG. 4A. FIG. 4C is a diagram illustrating a process continued from FIG. 4B. Exchange from the web application 315 to the chat management unit 303 of the chat service 101 is executed via the web browser 313, the communication unit 312, the network 100, and the communication unit 301, and description of the exchange will be omitted below. Exchange between the chat service 101, the chat history DB service 105, the large language model service 106, and the knowledge DB service 107 is executed via a communication unit of each server, and description thereof will be omitted below. Hereinafter, each process will be described.<<Session ID Issuing Request>>
[0079] FIG. 4A illustrates a session ID issuing request 800. The session ID issuing request 800 is a sequence in which the web application 315 requests the chat service 101 to issue a session ID that is an identifier for identifying one chat history.
[0080] In step S801, the chat management unit 303 receives a session ID issuing request from the web application 315. The session ID issuing request is assumed to include model name information.
[0081] In step S802, the chat management unit 303 generates a session ID. Here, it is assumed that UUID is used as the session ID. UUID is an abbreviation for universally unique identifier.
[0082] In step S803, the chat management unit 303 stores the session ID generated in step S802 and the model name information received in step S801 in the chat history table of the chat data storage unit 304.
[0083] In step S804, the chat data storage unit 304 returns a result of an instruction to store the data in step S803.
[0084] In step S805, the chat management unit 303 returns the session ID generated in step S802 to the web application 315.<<Takeover Information Registration>>
[0085] FIG. 4A illustrates takeover information registration 810. The takeover information registration 810 is a sequence in which the web application 315 registers takeover information, more specifically, a character string input by a user to a text box 526 (FIG. 6C) for takeover information, in the chat service 101.
[0086] In step S811, the chat management unit 303 receives a takeover information registration request from the web application 315. The takeover information request includes takeover information and session ID information.
[0087] In step S812, the chat management unit 303 stores the takeover information received in step S811 in the chat history table of the chat data storage unit 304 in association with the session ID.
[0088] In step S813, the chat data storage unit 304 returns a result of the instruction to store the data in step S812.
[0089] In step S814, the chat management unit 303 returns the result of the instruction to store data to the web application 315.<<Agent Inquiry>>
[0090] FIG. 4B illustrates an agent inquiry 820. The agent inquiry 820 is a sequence in which the web application 315 transmits an inquiry for targeting the agent 305, 306, or 307 to the chat service 101 and acquires an answer.
[0091] In FIGS. 4A, 4B, and 4C, the agents 305, 306, and 307 are collectively referred to as an inquiry agent 390. Here, in an actual operation, the web application 315 selectively calls which agent is a target of an inquiry. Accordingly, the inquiry agent 390 may be interpreted by being replaced with a corresponding agent.
[0092] In step S821, the chat management unit 303 receives an inquiry from the web application 315. The inquiry from the web application 315 is assumed to include the session ID and an inquiry sentence.
[0093] In step S822, the chat management unit 303 searches for a chat history associated with the session ID received in step S821 in the chat history table of the chat data storage unit 304.
[0094] In step S823, the chat data storage unit 304 returns a search result of the chat history to the chat management unit 303.
[0095] In step S824, the chat management unit 303 makes an inquiry to the inquiry agent 390 using the inquiry sentence received in step S821 and the chat history received in step S823.
[0096] In step S825, the inquiry agent 390 requests the knowledge management unit 309 to search for data related to the inquiry content.
[0097] In step S826, the knowledge management unit 309 generates a search query for executing a search on a knowledge data storage unit 372 from the inquiry content.
[0098] In step S827, the knowledge management unit 309 executes a search on the knowledge data storage unit 372.
[0099] In step S828, the knowledge data storage unit 372 returns a search result to the knowledge management unit 309.
[0100] In step S829, the knowledge management unit 309 returns the search result to the inquiry agent 390.
[0101] In step S830, the inquiry agent 390 makes an inquiry to the large language model 362 by combining the inquiry received in step S824 and the search result received in step S829.
[0102] In step S831, the large language model 362 generates an answer using the inquiry content as an input.
[0103] In step S832, the large language model 362 transmits the generated answer to the inquiry agent 390.
[0104] In step S833, the inquiry agent 390 transmits the answer acquired in step S831 to the chat management unit 303.
[0105] In step S834, the chat management unit 303 stores the inquiry sentence received in step S821 and the answer received in step S833 in the chat history table of the chat data storage unit 304 in association with the session ID received in step S821. Here, what is stored in association with the session ID is a chat history of action and an additional question among the inquiry sentence and the answer.
[0106] In step S835, the chat data storage unit 304 returns a result of the instruction to store the data in step S834.
[0107] In step S836, the chat management unit 303 returns the answer received in step S833 to the web application 315.<<Action Result Record>>
[0108] FIG. 4C illustrates an action result record 840. The action result record 840 is a sequence in which the chat service 101 receives and records a result obtained by executing the action against a process included in the answer returned to the web application 315 in step S832.
[0109] In step S841, the chat management unit 303 receives the action result record from the web application 315. The action result is assumed to include action and information regarding a result of the action.
[0110] In step S842, the chat management unit 303 stores the information received in step S841 in an action result table of the chat data storage unit 304.
[0111] In step S843, the chat data storage unit 304 returns a storage result of the data received in step S842 to the chat management unit 303.
[0112] In step S844, the chat management unit 303 returns a result of the process requested in step S841 to the web application 315.<<Summarization Instruction>>
[0113] FIG. 4C illustrates a summarization instruction 850. The summarization instruction 850 is a sequence of receiving generation of a summary of a chat history associated with one session ID from the web application 315, executing a process, and returning the summary.
[0114] In step S851, the chat management unit 303 receives a summarization instruction from the web application 315. The summarization instruction includes session ID information.
[0115] In step S852, the chat management unit 303 searches for the chat history table and the action result table of the chat data storage unit 304 with the session ID received in step S851 and acquires a chat history of a summarization target.
[0116] In step S853, the chat data storage unit 304 returns a search result of step S852 to the chat management unit 303.
[0117] In step S854, the chat management unit 303 transmits, to the summarization agent 308, the chat history, the action information, and an instruction to generate the summary acquired in step S853.
[0118] In step S855, the summarization agent 308 makes an inquiry including the chat history, the action information, and an instruction to generate the summary acquired in step S853 to the large language model 362.
[0119] In step S856, the large language model 362 generates a summary based on the information received in step S853 using a machine learning model generating the summary.
[0120] In step S857, the large language model 362 transmits the generated summary as an answer to the summarization agent 308.
[0121] In step S858, the summarization agent 308 returns a summarization result to the chat management unit 303.
[0122] In step S859, the chat management unit 303 returns the summarization result to the web application 315.<Processing Sequence with Device Monitoring Service>
[0123] FIG. 5 is a diagram illustrating the device monitoring service 103. FIG. 5 is a sequence diagram when the web application 315 requests the device monitoring service 103 to execute various processes. Exchange from the web application 315 to the device information management unit 323 and the action information management unit 324 is executed via the web browser 313, the communication unit 312, the network 100, and the communication unit 321, and description thereof will be omitted. Hereinafter, each process will be described.<<Device Profile Acquisition>>
[0124] FIG. 5 illustrates device profile acquisition 860. The device profile acquisition 860 is a sequence when a device profile corresponding to a designated device ID is acquired.
[0125] In step S861, the device information management unit 323 receives a device profile acquisition request from the web application 315. The device profile acquisition request includes device ID information.
[0126] In step S862, the device information management unit 323 searches a device management table of the data storage unit 322 with the device ID received in step S861 and acquires device profile information including a model name or a serial number of a device corresponding to the device ID.
[0127] In step S863, the data storage unit 322 returns a search result of step S862 to the device information management unit 323.
[0128] In step S864, the device information management unit 323 returns the device profile to the web application 315.<<Error Log Acquisition>>
[0129] FIG. 5 illustrates error log acquisition 870. The error log acquisition 870 is a sequence when an error log corresponding to the designated device ID is acquired.
[0130] In step S871, the device information management unit 323 receives an error log acquisition request from the web application 315. The error log acquisition request includes the device ID information.
[0131] In step S872, the device information management unit 323 searches the log management table of the data storage unit 322 with the device ID received in step S871 and acquires the error log information of the device corresponding to the device ID.
[0132] In step S873, the data storage unit 322 returns a search result of step S872 to the device information management unit 323.
[0133] In step S874, the device information management unit 323 returns the error log to the web application 315.<<Error Action Information Acquisition>
[0134] FIG. 5 illustrates error action (solution) information acquisition 880. The error action information acquisition 880 is a sequence when an action method corresponding to a designated model name and an error code is acquired.
[0135] In step S881, the action information management unit 324 receives an error action information acquisition request from the web application 315. The error action information acquisition request includes the model name and the error code information.
[0136] In step S882, the action information management unit 324 searches the action information management table of the data storage unit 322 with the model name and the error code received in step S881 and acquires a corresponding action method as the error action information.
[0137] In step S883, the data storage unit 322 returns the error action information that is a search result of step S882 to the action information management unit 324.
[0138] In step S884, the action information management unit 324 returns the error action information to the web application 315.<Basic Configuration of Chat Screen of Web Application>
[0139] Hereinafter, a UI configuration that is a basis of a chat screen of the web application 315 will be described with reference to FIGS. 6A, 6B, 6C, 7A, 7B, 7C, 7D, 8A, and 8B. In addition, information used during display of the chat screen will be described in association with the screen display. The information used during display of the chat screen will be described with reference to FIG. 9. FIGS. 6A, 6B, and 6C illustrate basic screens formed in a web application. FIGS. 7A, 7B, 7C, and 7D illustrate an example of a chat display region when various events are selected with the web application. FIGS. 8A and 8B are diagrams illustrating a UI configuration of an action method display region. FIG. 9 is a diagram illustrating chat screen display information that is part of information recorded in a RAM when the web application is displayed on a chat screen.
[0140] FIG. 9 illustrates an example of chat screen display information that is part of the information recorded in the RAM 213 when the web application 315 displays a chat screen, specifically, a chat screen display information during display of FIG. 7A. In the present embodiment, chat screen display information 1400 in FIG. 9 is in a JSON format, but the format is not limited thereto and a variable name and a structure are not limited thereto. JSON is an abbreviation for JavaScript object notation.
[0141] FIG. 6A illustrates a configuration of a basic screen of a UI of the web application 315 displayed in an operation panel 219 by the web browser 313 executed on the client terminal 102. A chat service screen 501 is formed by a chat display region 502, an action method display region 503, and a device information display region 506. The chat service screen 501 is an example of a chat interface for providing an action method in accordance with an error event. The chat service screen 501 may be generated by the web application 315. In this case, the web application 315 is an example of a chat interface generation unit that generates a chat interface for providing an action method in accordance with an error event. The chat service screen 501 may be generated by the chat service 101 or the chat management unit 303. In this case, the chat service 101 or the chat management unit 303 is an example of a chat interface generation unit that generates a chat interface for providing an action method corresponding to an error event.
[0142] The chat display region 502 is an example of a chat display region where a chat history is displayed. In the chat display region 502, an inquiry input region 504, an inquiry post button 505, a new chat button 508, an event reselection button 509, and a summarization button 510 are arranged. The new chat button 508 is an example of a first button for giving an instruction to start a new chat session. The event reselection button 509 is an example of a second button for giving an instruction to select the error event while continuing the chat session.
[0143] In the chat display region 502, for example, as in FIG. 7A, a sender message 621 with a speech balloon coming from the right side and a receiver message 622 with a speech balloon coming from the left side are displayed. Each message displayed in the chat display region 502 is stored in a message array in the chat screen display information 1400. Each element of the message array is stored in the array in the order of display in the chat display region 502. In each element of the message array, a direction indicating whether a message is a sender message or a receiver message and a message that is a message text string displayed actually in the UI are stored. For a value of the direction, a text string of Send is designated in the case of the sender message and a text string of Receive is designated in the case of a receiver message. A message text string of an array element message when the value of the array element direction is Send is displayed in the sender message 621. A message text string of the array element when the value of the array element direction is Receive is displayed in the receiver message 622.
[0144] In the device information display region 506, device information 507 of a device that is a problem solution target using the device selection button 511 and the chat service 101 is displayed. The device information 507 includes, but is not limited to, a model name and a device ID. The device selection button 511 is an example of a device selection button for changing a target device of the chat.
[0145] Information displayed in the device information display region 506 is information included in a deviceInfo element in the chat screen display information 1400. In a model name of the device information 507, a value of modelName of deviceInfo is displayed. In the device ID of the device information 507, a value of deviceId of deviceInfo is displayed.
[0146] In the action method display region 503, an action card is displayed in a card format formed by the same number of cards (hereinafter referred to as action cards), which are cards in which action methods are described, as the number of action methods. The action method display region 503 is an example of an action method display region where an action method is displayed based on a chat history. Details of display of the action method will be described with reference to FIGS. 8A and 8B.
[0147] FIG. 8A illustrates a display example of the action method display region 503. There are two types of action cards displayed in the action method display region 503. The first type of action card is an action card 624 generated based on the action information included in an answer acquired in the process of the agent inquiry 820. The second type of action card is an action card 623 including a link 716 linked to an action list page that is a web page in which an action list is described.
[0148] The action card 624 is a basic action card. The action card 624 can expand display of the action method by operating a display switching button 714. When the expansion of the display is selected with the display switching button 714, a display region expands, which results in a display form where, for example, full text of the action method is displayed. When folding of the display is selected with a display switching button 710 (see FIG. 8B) to be described below, the display region narrows, which results in a display form where a part of the action method is displayed. In the action method display region 503 of FIG. 8A, an action card 624 is displayed in the folded display form. The action card 624 includes an action method overview 712, an action method reference source overview 713, and the display switching button 714.
[0149] The action card 623 is an action list link action card. The action list link action card is a card that is normally displayed in the action method display region 503 only in the following cases:
[0150] a case where an event “I want to solve an error that has occurred” is selected; and
[0151] a case where an event “I want to solve by inputting error code” is selected, and an error code generated within last 14 days has been acquired.
[0152] The action card 623 includes an action method overview 715, an action method reference source overview 718, and the link 716. In the action method overview 715, a fixed phrase “Solve from action list” is displayed. In the action method reference source overview 718, a fixed sentence “From action list” is displayed. The link 716 is an example of a link button for displaying a list of actions for errors occurring within a predetermined number of days (for example, within 14 days) on a target device of a chat.
[0153] When a user presses the link 716, a screen 900 illustrated in FIG. 10 is displayed in the web browser 313. On the screen 900, an action list page 901 is displayed. In the web browser 313, the action list page 901 is displayed in a tab different from the chat service screen 501. In a URL of the link 716, a device ID and a model name are given as query parameters. When the web browser 313 receives an operation of the link 716, the action list page 901 that is a list of actions for errors occurring within a predetermined days (for example, within 14 days) is displayed on the target device of the chat.
[0154] The action card 701 illustrated in FIG. 8B is a display form when the display switching button 714 is pressed and the action card 624 is expanded and displayed. The action card 701 includes an action method overview 702, action method details 703, action method reference source information 704, a button 706, a button 707, a button 708, an action method reference source overview 709, and a display switching button 710. Here, the action card 701, all the elements in FIG. 8B may not be necessarily displayed.
[0155] The action method overview 702 is an overview of an action method, and the same phrase as the action method overview 712 is displayed. The action method details 703 are details of the action method. The action method reference source information 704 indicates a reference source of the action method details 703. The action method reference source overview 704 is a link to the reference source of the action method details 703. The action method reference source overview 709 is an overview of the reference source of the action method details 703. The display switching button 710 is a button for switching from a state of the action card 701 to the action card 624 in a folded display form.
[0156] The buttons 706, 707, and 708 are buttons for transmitting a result obtained by executing an action method displayed in the action method details 703 to the chat service 101. The button 706 is an end button. The button 707 is a solving button. The button 708 is an unsolved button. A process when each of the buttons 706 to 708 will be described below.
[0157] Each action card displayed in the action method display region 503 is stored in an array of solutions in the chat screen display information 1400. Each element of the array of the solutions is stored in an array in an order of display in the action method display region 503. Each element of the array of the solutions includes a title corresponding to the action method overviews 712, 715, and 702. Each element of the array of the solutions includes detailContext corresponding to the action method details 703. Each element of the array of the solutions includes reference corresponding to the action method reference source overviews 713 and 718. Each element of the array of the solutions includes citations corresponding to the action method reference source information 704. The citations are an array, and the action method reference source information 704 is displayed by the number of elements in the array. Each element of the array of the citations includes displayText that is a display text string of the action method reference source information 704 and url indicating a link destination URL.
[0158] FIG. 6B illustrates a device designation dialog 512 displayed when the user is asked to designate an inquiry target device. The device designation dialog 512 is a modal dialog formed by a text box 513 for inputting a device ID and an OK button 514 for determining the input.
[0159] FIG. 6C illustrates an event selection dialog 521 displayed when the user is asked to select a solving event. The event selection dialog 521 is a modal dialog formed by a text box 526 used for the user to input takeover information, radio buttons 522 to 525 for selecting solving events, and an OK button 527 for determining the input.
[0160] Any one of the radio buttons 522 to 525 is selected by the user. Display of the option of the radio button 522 is assumed to be changed in accordance with the error log information. When the error code occurring within the last 14 days is acquired, a phrase “I want to solve an error that has occurred (yyyyyy has occurred xx days ago)” is displayed as an option of the radio button 522. Here, it is assumed that xx contains the number of days that has passed since the acquired error code has occurred, and yyyyyy contains the acquired error code. When there is no error code generated within the last 14 days, the phrase “I want to solve an error that has occurred (no error has occurred within 14 days)” is displayed in the option of the radio button 522 and enters an inactive state so that the radio button 522 cannot be selected. The inquiry agent 390 to be accessed to the agent inquiry 820 is determined in accordance with the event designated in the event selection dialog 521.
[0161] The radio buttons 522 to 525 are examples of options of messages for selecting events of errors and messages for reselecting the events of the errors. In the radio button 522, an error code of an error occurred most recently within a predetermined number of days (for example, within 14 days) on the target device of the chat is displayed.
[0162] Correspondence between display of the event selection dialog 521 and a value of the chat screen display information 1400 will be described. A value used when storing or displaying input content of the text box 526 is reflected in a value of takeOverMessage of the hat screen display information 1400. When nothing is input into the text box 526 during inputting of the takeover information, an empty string (“”) is set in the value of takeOverMessage.
[0163] Information regarding which button is selected among the radio buttons 522 to 525 is reflected in issueType and agentType of the chat screen display information 1400. issueType is information indicating which is selected among the radio buttons 522 to 525. agentType is information indicating which agent is called as an inquiry agent 390. In the event selected by the user, which agent is called as the inquiry agent 390 and which value is input in issueType and agentType can be obtained using a correspondence table between event selection and chat screen display information in Table 7.TABLE 7Selected eventInquiry agentissueTypeagentTypeI want to solveError code-correspondingoccuredErrorerroroccurred erroragent 305I want to solve byError code-correspondingerrorCodeerrorinputting error codeagent 305I want to solveImage defect agent 306badImageimageImage defectI want to make otherOther inquiry agent 307otherotherinquiries
[0164] Table 7 is an example of a correspondence table between an event selection and chat screen display information. For example, when the radio button 522 is selected and the selected event is “I want to solve an error that has occurred error,” the error code solution agent 305 is called with reference to Table 7. Referring to Table 7, a value of issueType is occuredError and a value of agentType is error.<Initial Flow of Web Application>
[0165] FIGS. 11A, 11B, and 11C are flowcharts illustrating processes when the web application 315 using the chat service 101 starts on the web browser 313 of the client terminal 102. Hereinafter, a process when the web application 315 starts will be described.
[0166] A process when the web application 315 using the chat service 101 first starts will be described with reference to the flowchart of FIG. 11A. The process of FIG. 11A is a process of designating a URL of the web application 315 of the chat service 101 and starting the URL by opening a new page on the web browser 313.
[0167] In step S401, the web application 315 displays the device designation dialog 512. In the device designation dialog 512, when the user inputs the device ID in the text box 513 and the OK button 514 is pressed, the process of step S402 is executed.
[0168] In step S402, the web application 315 designates the device ID input to the device designation dialog 512 in step S401 as a request parameter and executes the device profile acquisition 860 on the device monitoring service 103. Accordingly, the web application 315 acquires the model name corresponding to the device ID designated in the request parameter.
[0169] In step S403, the web application 315 determines whether the request is successful in step S402 and the device information has been acquired.
[0170] In step S403, when the web application 315 determines that the device information has not been acquired, the process of step S404 is executed.
[0171] In step S404, the web application 315 displays an error message. After the process of step S404, the process of step S401 is executed.
[0172] Further, when the web application 315 determines in step S403 that the device information has been acquired, the web application 315 updates information regarding deviceInfo of the chat screen display information 1400. In deviceId of deviceInfo of the chat screen display information 1400, the device ID input to the text box 513 in step S401 is recorded. In modelName of deviceInfo of the chat screen display information 1400, the model name acquired in step S402 is recorded.
[0173] In step S405, the web application 315 designates the device ID input to the text box 513 in step S401 as a request parameter and executes the error log acquisition 870 from the device monitoring service 103. Accordingly, the web application 315 acquires an error log corresponding to the device ID designated in the request parameter.
[0174] Further, in step S405, the web application 315 records the error log information acquired in step S406 in errorLog of the chat screen display information 1400. errorLog of the chat screen display information 1400 is an array. The web application 315 records errorCode indicating a value of the occurred error code and occurrenceDateTime indicating a date and time at which the error code has occurred in each element of the array of errorLog.
[0175] In step S406, the web application 315 displays the event selection dialog 521. In the event selection dialog 521, when the OK button 527 is pressed by the user, the process of step S407 is executed.
[0176] In step S407, the web application 315 executes a new chat starting process. The new chat starting process will be described with reference to the flowchart of FIG. 11B.
[0177] FIG. 11B is a flowchart illustrating the new chat starting process executed in step S407 of FIG. 11A.
[0178] In step S411, the web application 315 acquires the takeover information input to the text box 526 of the event selection dialog 521 in step S406 and an event selected in the radio buttons 522 to 525.
[0179] In step S411, the web application 315 records values corresponding to takeoverMessage, issueType, and agentType of the chat screen display information 1400 in accordance with the input takeover information and the selected event.
[0180] When the web application 315 subsequently executes the process of the agent inquiry 820, content recorded in the chat screen display information 1400 in step S411 is compared with Table 7. Based on a comparison result, the web application 315 selectively calls an agent that is used as the inquiry agent 390 among the agents 305, 306, and 307. Hereinafter, unless otherwise mentioned, this elective calling is executed and the agents 305, 306, and 307 are collectively referred to as the inquiry agent 390 without being differentiated in description.
[0181] In step S412, the web application 315 updates messages and solutions of the chat screen display information 1400 to empty arrays. In this case, there are no speech balloons of the messages in the chat display region 502 and there are no action cards in the action method display region 503. In the model name of the device information 507, a value of modelName of deviceInfo is displayed. In the device ID of the device information 507, a value of deviceId of deviceInfo is displayed.
[0182] In step S413, the web application 315 acquires the session ID from the chat service 101. The session ID is acquired by executing a process in the sequence of the session ID issuing request 800. The web application 315 records the value of the acquired session ID in sessionId of the chat screen display information 1400.
[0183] In step S414, the web application 315 determines whether takeOverMessage of the chat screen display information 1400 indicating the takeover information is empty text. When the web application 315 determines whether the takeover information is not the empty text, the process of step S415 is executed. When the web application 315 determines whether the takeover information is the empty text, the process of step S416 is executed.
[0184] In step S415, the web application 315 registers the takeover information in the chat service 101. The process of registering the takeover information is executed by executing a process in the sequence of the takeover information registration 810.
[0185] In step S416, the web application 315 executes the event selection initial process. The event selection initial process will be described with reference to the flowchart of FIG. 11C.
[0186] FIG. 11C is a flowchart of the event selection initial process executed in step S416 of FIG. 11B.
[0187] In step S421, the web application 315 displays an event selection message as a transmission message. The web application 315 changes the event selection message to be displayed in accordance with an event selected by the user in step S406. Specifically, when the event “I want to solve an error that has occurred” is selected, “I want to solve an error that has occurred” is displayed as a message. When the event “I want to solve by inputting error code” is selected, “I want to solve by inputting error code” is displayed as a message. When the event “I want to solve image defect” is selected, “I want to solve image defect” is displayed as a message. When the event “I want to make other inquiries” is selected, “I want to make other inquiries” is displayed as a message. The event selection message is displayed by adding an element of a phrase, in which a value of the direction is Send and a value of the message is the event selection message, to the end of the array of the messages of the chat screen display information 1400. Accordingly, the event selection message is displayed in the chat display region 502.
[0188] In step S422, the web application 315 determines the event selected by the user in step S406 and changes the process. When the event “I want to solve an error that has occurred” is selected, the process of step S423 is executed. When the event “I want to solve image defect” is selected, the process of step S424 is executed. When the event “I want to solve by inputting error code” is selected, the process of step S425 is executed. When the event “I want to make other inquiries” is selected, the process of step S426 is executed.
[0189] Specifically, the web application 315 determines a subsequent process with reference to issueType of the chat screen display information 1400. When issueType is occuredError, the process of step S423 is executed. When issueType is badImage, the process of step S424 is executed. When issueType is errorCode, the process of step S425 is executed. When issueType is other, the process of step S426 is executed.
[0190] In step S423, the web application 315 designates an error code that has occurred most recently in the error log information acquired in step S406 as an inquiry sentence and inquiries of the chat service 101 so that the inquiry sentence is processed by the agent 305. The web application 315 receives completion of the process by the agent inquiry 820 and acquires an answer.
[0191] In step S424, the web application 315 designates “I want to solve image defect” as an inquiry sentence and inquires of the chat service 101 so that the inquiry sentence is processed by the agent 306. The web application 315 receives completion of the process by the agent inquiry 820 and acquires an answer.
[0192] In step S425, the web application 315 displays a message “Please input error code” as a reception message in the chat display region 502. FIG. 7C illustrates the chat display region 502 in this state. In this case, an element of “{“direction”: “receive”, “message”: “Please input error code”} is added to the end of the array of the messages in the chat screen display information 1400. As illustrated in FIG. 7C, a transmission side message 641 and a reception side message 642 are displayed in the chat display region 502.
[0193] In step S426, the web application 315 displays the message “Please input inquiry content” as a reception message. FIG. 7D illustrates the chat display region 502 in this state. In this case, an element of “{“direction”: “receive”, “message”: “Please input inquiry content”} is added to the end of the array of the messages in the chat screen display information 1400. As illustrated in FIG. 7D, a transmission side message 651 and a reception side message 652 are displayed in the chat display region 502.
[0194] In step S427, the web application 315 updates the display of the chat and the action method based on the additional question and the action information acquired from the chat service 101 in step S423 or S424. Here, an example of the screen display is as illustrated in FIG. 7A when the event “I want to solve an error that has occurred” is selected, and as illustrated in FIG. 7B when the event “I want to solve image defect” is selected. In this case, an element in which the direction contains Receive and the message contains a phrase of the additional question acquired from the chat service 101 is added to the end of the array of the messages in the chat screen display information 1400. When the event “I want to solve an error that has occurred” is selected, as illustrated in FIG. 7A, a transmission side message 621 and a reception side message 622 are displayed in the chat display region 502. When the event “I want to solve image defect” is selected, a transmission side message 631 and a reception side message 632 are displayed in the chat display region 502, as illustrated in FIG. 7B.<Processing Flow During Posting in Web Application>
[0195] A process when the inquiry post button 505 is pressed in the web application 315 will be described with reference to the flowchart of FIG. 12A. The web application 315 starts a process of the flowchart of FIG. 12A when the user presses the inquiry post button 505.
[0196] In step S431, the web application 315 acquires a text string input to the inquiry input region 504, and adds the text string as a transmission side message to the chat display region 502, and displays the text string.
[0197] In step S432, the web application 315 makes the agent inquiry to the chat service 101 using the text string input to the inquiry input region 504 as an inquiry sentence, and acquires an answer. In this case, the process of the agent inquiry 820 is executed.
[0198] In step S433, the web application 315 updates the display of the chat and the action method based on the answer acquired from the chat service 101 in step S432.<Processing Flow when Action Result Button is Pressed in Web Application>
[0199] A process when the action result button is pressed in the web application 315 will be described with reference to the flowchart of FIG. 12B. Here, the action result button is any one of buttons 706, 707, and 708 illustrated in FIG. 8B. The action results corresponding to the buttons 706, 707, and 708 are referred to as “End,”“Solved,” and “Unsolved,” respectively. The process of the flowchart of FIG. 12B starts when any one of the action result buttons is pressed by the user.
[0200] In step S441, the web application 315 adds an action result message as the transmission side message to the chat display region 502 and displays the action result message. The action result message is assumed to differ depending on a type of action result. Specifically, when the action result is End, “End by guiding xxxxx” is set as a message. When the action result is Solved, “Solved by executing xxxxx” is set as a message. When the action result is unsolved, “Unsolved even after executing xxxxx” is set as a message. In xxxxx, a phrase of the action method overview is entered.
[0201] In step S442, the web application 315 records the action result in the chat service 101. In this case, the process of the action result record 840 is executed.
[0202] In step S443, the web application 315 determines whether the action result is Unsolved. When the web application 315 determines that the action result is Unsolved, the process of step S444 is executed. When the web application 315 determines that the action result is not Unsolved, the process ends.
[0203] In step S444, the web application 315 executes an agent inquiry to the chat service 101 using “Unsolved even after “yyyyyyy” as an inquiry sentence, and acquires an answer. A phrase corresponding to action method details is inserted into the portion of yyyyyyy. In this case, the process of the agent inquiry 820 is executed.
[0204] In step S445, the web application 315 updates the display of the chat and action method based on the answer acquired from the chat service 101 in step S444.<Processing Flow During Summarization in Web Application>
[0205] A process when the summarization button 510 of the chat display region 502 in the web application 315 will be described with reference to the flowchart of FIG. 12C. The process of the flowchart of FIG. 12C starts when the summarization button 510 is pressed by the user.
[0206] In step S451, the web application 315 adds a message indicating summarization as a transmission side message to the chat display region 502 and displays the message. The message indicating the summarization is, for example, “Summarize.”
[0207] In step S452, the web application 315 gives a summarization instruction to the chat service 101 and acquires a summary. In this case, a process of the summarization instruction 850 is executed.
[0208] In step S453, the web application 315 adds a phrase of the summary acquired from the chat service 101 in step S452 as a reception side message and displays the phrase of the summary.<Processing Flow when New Chat Button is Pressed in Web Application>
[0209] The new chat button 508 of the chat display region 502 is a button that is pressed by the user when the session ID is updated and a new chat starts while maintaining the device information, the error log information, and the takeover information. A process when the new chat button 508 is pressed in the web application 315 will be described with reference to the flowchart of FIG. 13A.
[0210] In step S461, the web application 315 acquires the error log information and the takeover information recorded in the RAM 213.
[0211] In step S462, the web application 315 displays the event selection dialog 521. In this case, in the text box 526 to which the takeover information is input, the takeover information acquired in step S461 is input in advance and enters a non-editable state. In the display of the option of the radio button 522, a display phrase is assumed to be determined based on the error log information acquired in step S461. When the OK button 527 is pressed by the user, the process of step S463 is executed.
[0212] In step S463, the web application 315 acquires the event selected in step S462 and stores the event in the RAM 213. The web application 315 selectively calls and uses an agent corresponding to the event acquired here as the inquiry agent 390 when a process of the subsequent agent inquiry 820 is processed.
[0213] In step S464, the web application 315 sets the chat display region 502 to a state in which there is no speech balloon and also set the action method display region 503 to a state in which there is no action card.
[0214] In step S465, the web application 315 executes the new chat starting process. As the new chat starting process of step S465, the process illustrated in the flowchart of FIG. 11B is executed. The flowchart of FIG. 11B has been described above.
[0215] The web application 315 issues a new session ID when an operation of the new chat button 508 is received. The web application 315 provides a message for selecting the device information, the takeover information, and the error event of a target device for the chat of the new session ID.<Processing Flow when Event Reselection Button is Pressed in Web Application>
[0216] The event reselection button 509 is a button that is pressed by the user when only an event to be solved is changed and the chat continues while maintaining the device information, the error log information, the takeover information, the chat history, and the session ID. A process when the event reselection button 509 is pressed in the web application 315 will be described with reference to the flowchart of FIG. 13B.
[0217] In step S471, the web application 315 acquires the error log information, the takeover information, and the previously selected event recorded in the RAM 213.
[0218] In step S472, the web application 315 displays the event selection dialog 521. In this case, in the text box 526 to which the takeover information is input, the takeover information acquired in step S471 is input in advance and enters a non-editable state. In the selection of the solving event of the event selection dialog 521, any of the radio buttons 522 to 525 is selected, and the previously selected event becomes inactive and cannot be selected. In the display of the option of the radio button 522, a display phrase is assumed to be determined based on the error log information acquired in step S471. When the OK button 527 is pressed by the user, the process of step S473 is executed.
[0219] In step S473, the web application 315 acquires the event selected in step S472 and stores the event in the RAM 213. The web application 315 selectively calls and uses an agent corresponding to the event acquired here as the inquiry agent 390 when a process of the subsequent agent inquiry 820 is processed.
[0220] In step S474, the web application 315 executes the event selection initial process. As the event selection initial process of step S474, the process illustrated in the flowchart of FIG. 11C is executed. The flowchart of FIG. 11C has been described above.
[0221] The web application 315 does not issue a new session ID when an operation of the event reselection button 509 is received. The web application 315 provides a message for reselecting the error event in the chat session when an operation of the event reselection button 509 is received.
[0222] FIG. 14 illustrates an example of a screen of the web application 315 when the event “I want to make other inquiries” is first selected, and then “I want to solve image defect” in the event reselection. Messages 661, 663, and 665 are transmission side messages. Messages 662, 664, and 666 are reception side messages. FIG. 14 illustrates an example when the event changes to “I want to solve image defect” from the message 665.<Processing Flow when Device Selection Button is Pressed in Web Application>
[0223] The device selection button 511 of the device information display region 506 is a button pressed when all the input information and the acquired information acquired through the operation on the web application 315 are discarded, and a new chat starts. When the device selection button 511 is pressed in the web application 315, the process illustrated in the flowchart of FIG. 11A is executed. The flowchart of FIG. 11A has been described above.
[0224] When an operation on the device selection button 511 is received, the web application 315 issues a new session ID and displays a screen for prompting an input of the device ID of a target device of a chat with the new session ID.<Action List Page>
[0225] The action list page 901 of FIG. 10 is a page in which an occurrence date and time, an error code, error content, and an action method are displayed in a card format for each error code generated within the last 14 days on a designated device. FIG. 10 illustrates three action cards 902 and 903, and 904. It is assumed that each action card can be displayed in an expanded and folded state, a folded state is a default state, and only the occurrence date and time and the error code are displayed during being folded. In FIG. 10, the action cards 902 and 904 are in the folded state and the action card 903 is in an expanded state. Switch from the folded state to the expanded state can be operated with buttons 905 and 907 of the action cards 902 and 904 in the folded state. Switch from the expanded state to the folded state can be operated with a button 906 of the action card 903 in the expanded state.
[0226] In the action list page 901, the following action is executed during page display.
[0227] A device ID and a model name are acquired from the query parameters.
[0228] An error log associated with the device ID is acquired from the device monitoring service 103. In the acquisition of the error log, the process of the error log acquisition 870 is executed.
[0229] Error action (solution) information corresponding to the model name and the error code generated within the last 14 days is acquired. In the acquisition of the error action information, the process of the error action information acquisition 880 is executed.
[0230] Card information is configured for each error code based on the above information, and the action list page is displayed.
[0231] According to the present embodiment, the new chat button 508 and the event reselection button 509 are displayed in the chat service screen 501. Accordingly, for example, when a new chat is desired to start during the chat session or an event is desired to be changed during the chat session, there is no need to acquire or input the same information, and thus a burden on the user can be reduced. That is, according to the present embodiment, it is possible to reduce a burden when information requested by the user is acquired.OTHER EMBODIMENTS
[0232] Embodiments of the present disclosure can also be realized by a computer of a system or apparatus that reads out and executes computer executable instructions (e.g., one or more programs) recorded on a storage medium (which may also be referred to more fully as a ‘non-transitory computer-readable storage medium’) to perform the functions of one or more of the above-described embodiments and / or that includes one or more circuits (e.g., application specific integrated circuit (ASIC)) for performing the functions of one or more of the above-described embodiments, and by a method performed by the computer of the system or apparatus by, for example, reading out and executing the computer executable instructions from the storage medium to perform the functions of one or more of the above-described embodiments and / or controlling the one or more circuits to perform the functions of one or more of the above-described embodiments. The computer may comprise one or more processors (e.g., central processing unit (CPU), micro processing unit (MPU)) and may include a network of separate computers or separate processors to read out and execute the computer executable instructions. The computer executable instructions may be provided to the computer, for example, from a network or the storage medium. The storage medium may include, for example, one or more of a hard disk, a random-access memory (RAM), a read only memory (ROM), a storage of distributed computing systems, an optical disk (such as a compact disc (CD), digital versatile disc (DVD), or Blu-ray Disc (BD)™), a flash memory device, a memory card, and the like.
[0233] While the present disclosure has been described with reference to exemplary embodiments, it is to be understood that the disclosure is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
[0234] This application claims the benefit of Japanese Patent Application No. 2025-83720, filed May 20, 2025, which is hereby incorporated by reference wherein in its entirety.
Claims
1. A chat system comprising:one or more memories storing instructions; andone or more processors executing the stored instructions causing the chat system to:generate a chat interface providing an action method corresponding to an event of an error that occurs in a device in a chat, wherein the chat interface has a chat service screen that includes a chat display region where a chat history is displayed, an action method display region where the action method is displayed based on the chat history, a first button for giving an instruction to start a new chat session, and a second button for giving an instruction to continue the chat session and select the event of the error;manage a series of chat histories in units of the chat session;issue, in a case where an operation on the first button is received on the chat interface, a new session ID for uniquely specifying the chat session and provides device information and takeover information of a target device for the chat of the new session ID and a message for selecting the event of the error; andprovide, in a case where an operation on the second button is received on the chat interface, a message for reselecting the event of the error without issuing the new session ID.
2. The system according to claim 1, wherein, as options of the message for selecting the event of the error and the message for reselecting the event of the error, an error code of an error occurring most recently within a predetermined number of days is displayed on the target device for the chat.
3. The system according to claim 1,wherein the action method display region includes a link button for displaying an action list for errors occurring within a predetermined number of days in the target device for the chat, andwherein execution of the stored instructions by the one or more processors further causes the chat system to display an action list page that is an action list for errors within a predetermined number of days in the target device for the chat when an operation on the link button in the chat interface is received.
4. The system according to claim 1,wherein the chat service screen includes a device selection button for changing a target device for the chat, andwherein execution of the stored instructions by the one or more processors further causes the chat system to newly issue the session ID and display a screen prompting an input of a device ID for uniquely specifying a target device for the chat of the new session ID when an operation on the device selection button is received.
5. A method for a chat system, the method comprising:generating a chat interface providing an action method corresponding to an event of an error that occurs in a device in a chat, wherein the chat interface has a chat service screen that includes a chat display region where a chat history is displayed, an action method display region where the action method is displayed based on the chat history, a first button for giving an instruction to start a new chat session, and a second button for giving an instruction to continue the chat session and select the event of the error;managing a series of chat histories in units of the chat session;issuing, in a case where an operation on the first button is received on the chat interface, a new session ID for uniquely specifying the chat session and providing device information and takeover information of a target device for the chat of the new session ID and a message for selecting the event of the error; andproviding, in a case where an operation on the second button is received on the chat interface, a message for reselecting the event of the error without issuing the new session ID.
