Chatbot interfacing between a machine and users

EP4413715A1Pending Publication Date: 2024-08-14ORANGE SA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
EP2022798131
Authority / Receiving Office
EP · EP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-10-06
Filing Date
2022-10-05
Publication Date
2024-08-14

AI Technical Summary

Technical Problem

Current instant messaging applications lack the capability to transmit operating instructions from multiple users to machines simultaneously, posing a challenge in coordinated machine operation, especially in professional settings where synchronized actions are required.

Method used

A conversational computer agent interfaces between user terminals and machines, analyzing and generating messages in natural language to coordinate user decisions and send appropriate requests to machines, utilizing a knowledge base for enriched interaction and filtering rules to ensure authorized and timely instructions.

Benefits of technology

Facilitates coordinated machine operation by enabling natural language interaction between users and machines, improving user experience, ensuring safety, precision, and speed in machine control while adhering to regulatory constraints and optimizing communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 1.1
    Figure 1.1
Patent Text Reader

Abstract

The invention relates to a chatbot (CRB) interfacing between multiple devices including a machine (MA) and a plurality of user terminals (TER) running an instant messaging app (CC) in which the users converse with the chatbot (CRB) by exchanging messages via their terminals (TER), the chatbot being able to dialog independently with the terminals and the machine. In particular, the chatbot is capable of: - analyzing at least one item of content in a message of a first type sent by at least one first device (MA, TER); and - generating a message of a second type intended for a second device (TER, MA) depending on the outcome of the analysis of the message of the first type, in this case one of the first and second devices being a terminal and the other of the first and second devices being the machine (MA).
Need to check novelty before this filing date? Find Prior Art

Description

Description Title: Conversational agent interfacing between a machine and users technical field

[0001] The present invention falls within the field of instant messaging. Previous technique

[0002] A chatroom is a virtual meeting place. Users have their own devices to exchange instant messages via a messaging server. In practice, these messages are exchanged by running an application installed on each user's device. For example, a user can choose a topic for discussion based on the theme or current interest, and then chat with several participants on that topic using keyboard or voice messages. A chatroom, therefore, typically offers a virtual meeting between several human users.

[0003] With the development of digital communication methods, particularly in the business sector, professionals each performing a specific task can coordinate their activity by communicating via instant messaging.

[0004] Often, however, particularly in the context of such professional activity (for example, in a factory), an instant messaging discussion may concern the operation of a machine. For instance, it may be necessary to control the machine's operation appropriately after consultation among several professionals.

[0005] There is no messaging application for multiple users capable of, for example, sending operating instructions to the machine. A particular difficulty would arise when several users want to apply different operating instructions to the machine simultaneously.

[0006] The present invention improves the situation. Summary

[0007] For this purpose, it proposes a computer conversational agent (for example of the type commonly called "chatbot") interfacing between at least one machine and user terminals running an instant messaging application.

[0008] Thus, a first aspect of the invention relates to a method of communication between several devices including a machine and a plurality of user terminals, the method being implemented by a conversational computer agent as an interface between said several devices, the conversational computer agent being able to dialogue independently with the terminals and the machine, the terminals running an instant messaging application in which users participate in a discussion with the conversational computer agent by exchanging messages via their terminal.

[0009] The process includes at least: - analyze at least one element of the content of a message of a first type emitted by at least one first device, and - generate a message of a second type intended for a second device based on the results of the analysis of the message of the first type, one of the first and second devices being a terminal and the other of the first and second devices being a machine.

[0010] The present invention thus makes it possible to enrich the user experience of the machine through a conversational agent (or "chatbot" hereafter) that can engage in dialogue: - on the one hand, with users in natural language and possibly coordinate their decisions, and - on the other hand, with the machine to transmit appropriate requests to it (for example, operating instructions).

[0011] To this end, in an optional embodiment, the conversational agent can use a knowledge base (of machine data, data relating to previous user actions and comments, or other).

[0012] Thus, in this embodiment, to generate a message to be transmitted to the terminal users participating in said discussion, the conversational computer agent, upon receiving a message of the first type from the machine: - accesses a knowledge database to identify a topic in the database related to content from the first type of message generated by the machine, and - generates at least one message of the second type to be transmitted to at least some of the plurality of terminals, the message of the second type containing data from the knowledge base relating to said content.

[0013] This content may relate to a type of operation in progress, or to machine states in a given operation, or other things.

[0014] The aforementioned discussion can take place within a professional, collaborative work environment. In this case, the knowledge database can then contain information specific to a professional sector within such a collaborative work environment.

[0015] For example, messages transmitted by the chatbot can include information about the machine (status, current operation, alerts, raw material shortages, history, etc.), or even work tasks to be assigned to at least some of the discussion participants. For instance, the process might involve consulting the knowledge base to organize a sequential coordination of the work tasks assigned to the participants, based on the machine's current state and the identification of the discussion participants.

[0016] Alternatively, the discussion can be planned within a collaborative framework, in an environment other than a professional work setting, but with constraints specific to that setting. other environment. For example, when the machine is a motor vehicle (or simply includes parts of that vehicle), the safety of people in or around the vehicle involves constraints that can be formalized and integrated into the aforementioned knowledge base.

[0017] Furthermore, constraints related to the usage environment may not be tied to a specific machine. For example, specific rules for data communication (e.g., users' personal data) can be formalized and integrated into the aforementioned knowledge base to avoid violating personal data protection regulations (such as the GDPR).

[0018] In one embodiment, when the message of the first type originates from at least one terminal and contains a current request to be transmitted to the machine, the generation of a message of the second type intended for the machine may include: - an identification of said current request in the message of the first type, - a consultation of a knowledge database to determine if the current query can be transmitted to the machine, and, if so, the elaboration of the current query, in an appropriate form, in the message of the second type.

[0019] Such a system makes it possible, for example, to coordinate requests from different users, or to formulate, for example, an appropriate machine setting instruction based on a current state of the machine.

[0020] In one embodiment, the conversational computer agent can apply a filtering rule to prevent the transmission of the second type of message to the machine, at least based on data from a terminal that sent the first type of message.

[0021] This data from the sending terminal may include, for example, a terminal identifier (a terminal number such as IMSI, or other) as belonging to a user authorized to issue requests to the machine.

[0022] Such a request could be, for example, an operating instruction, or a request for an operating report or settings history, etc.

[0023] In addition or as an alternative, the aforementioned data from the sending terminal may include current geolocation data from the sending terminal, and filtering is applied if a distance between the sending terminal and the machine is greater than a threshold.

[0024] In addition, or as an alternative, the data from the sending terminal may include a current timestamp transmitted by the sending terminal with the message of the first type. In this case, for example, the aforementioned filtering can be applied if the current timestamp falls outside a predetermined range of daily (usual) hours. Additionally, or as an alternative, this timestamp can be used to list, in chronological order, the various requests from terminal users, in order to follow an appropriate sequence of machine operation. For example, if an instruction given to the machine contradicts current operation, the timestamp is taken into account to determine: - if a change in operation is necessary (in the case of a recent timestamp), or - if the instruction is obsolete and could only be relevant for a previous operation of the machine (in the case of a relatively old timestamp).

[0025] In addition or alternatively, the data from the sending terminal includes a score for detecting a predetermined mood, identified in the message of the first type, and filtering is applied if this score is greater than a threshold.

[0026] For example, if the user's message reveals anger (annoyance) or fear (hesitation), beyond a certain threshold, the chatbot can be configured not to transmit, for example, an instruction from the user to the machine.

[0027] For example, in the case of a voice message as a message of the first type, the detection of the predetermined mood, mentioned above, can be enriched by a detection of vocal components in said voice message (a higher pitch typically revealing anger, for example).

[0028] In one implementation, the conversational computer agent can also apply a filtering rule to prevent the sending of a message of the second type to one of said plurality of terminals if that terminal is identified as belonging to a user not authorized to receive message content sent by the machine.

[0029] For example, messages that can be filtered might include machine status messages, history messages, or others. The chatbot can be configured according to the type of content and for specific permissions, for example.

[0030] The conversational computer agent can, in one embodiment, analyze a message received from a terminal and / or generate a message intended for a terminal, in natural language.

[0031] In addition or as an alternative, the conversational computer agent can reciprocally analyze a message received from the machine and / or generate a message intended for the machine, in formal language.

[0032] Such a design allows the chatbot to interface effectively between: - the machine (a message received from the machine may include, for example, a machine status signal determined from a measurement taken from at least one sensor on the machine, this message then being interpretable in formal language), and - user terminals (with which the conversational agent communicates in natural language, thus improving the user experience).

[0033] In another aspect, a computer program is proposed containing instructions for implementing the process described above, when this program is executed by a processor. In yet another aspect, a non-transient, computer-readable recording medium is proposed on which such a program is recorded.

[0034] In another respect, a computer system is proposed that includes: - a communication interface with a machine, on the one hand, and with a plurality of terminals of users running an instant messaging application, on the other hand, and - a processing circuit configured for the implementation of the above process.

[0035] With reference to Figure 3, such a DIS device may include: - a first INT1 interface to be connected to an MA machine, - a second INT2 interface to connect to TER user terminals via a CR virtual chat room (for example, via a SER mail server illustrated in Figure 1, discussed later), and a processing circuit including, for example: - a MEM memory capable of storing, in particular, the instruction data of a computer program of the type defined previously, - and a PROC processor, connected to the two interfaces INT1 and INT2, as well as to the MEM memory to read and execute the instructions of the aforementioned computer program.

[0036] Thus, such a DIS device, hardware, can implement the software functionalities of a computer module such as the conversational agent involved in the process within the meaning of the invention and bearing the reference CRB on the drawings presented below. Brief description of the drawings

[0037] Other features, details, and advantages will become apparent upon reading the detailed description below and analyzing the attached drawings, on which: Fig. 1

[0038] [Fig. 1] shows an example of an implementation context for a computer conversational agent according to an embodiment of the invention. Fig. 2

[0039] [Fig. 2] shows an example of steps in a process according to one embodiment of the invention. Fig. 3

[0040] [Fig. 3] shows an example of a device implementing a computer conversational agent according to an embodiment of the invention. Description of the implementation methods

[0041] Reference is now made to Figure 1, which is schematically illustrated: - a MA machine, - a virtual chat room CR (for "chatroom") powered by an instant messaging application running on users' TER terminals, acting as CC (for "chat client") messaging clients, and - a CRB (for "chatroom bridge") computer conversational agent interfacing with the machine on one side, and the virtual chat room on the other.

[0042] In practice, the CR chat room can be materialized by a messaging server (SER) to which the CRB conversational agent and the TER terminals are connected to exchange messages. messages. Alternatively, the CR chat room and the CRB conversational agent are computer modules grouped in the same server to which the TER terminals are connected, on the one hand, and the MA machine, on the other.

[0043] Each TER user terminal has a human-machine interface (screen / keyboard, speaker / microphone, or other) to signal received messages and / or to enter messages to be sent (these messages can be written, voice, or other). Messages can thus be exchanged between CC users and also shared with the CRB chatbot.

[0044] The CRB chatbot can also chat with one or more of the users connected to the chat room.

[0045] Well-known chatbots are computer conversational agents typically capable of conversing with a single user. It's worth noting that the CRB conversational agent can interact with multiple users, who can be identified, for example, by a terminal identifier (such as an IMSI), an instant messaging client identifier, or even by voice in the case of exchanged voice messages, among other methods. The design of such a human-computer interface is influenced by the competition in the Turing test, and the goal is to create the illusion that a computer program is thinking through a meaningful dialogue with one or, in this case, several users. The chatbot is therefore typically intended for dialogue between a computer agent and one (or, in this case, several) user(s), who are physical persons.A chatbot can implement artificial intelligence and thus, as the dialogue progresses with one or more users, enrich its knowledge base to improve the quality of its responses over time.

[0046] The CRB chatbot is remarkable here in that it is capable of engaging in dialogue: - on the one hand, with several users and to advise them possibly based on a history of knowledge accumulated over time, and - on the other hand, with physical equipment such as a machine, by representing that machine, thus enabling a dialogue between users and the machine.

[0047] The CRB conversational agent can implement artificial intelligence to establish these interactions based on learning over time (possibly starting from predetermined initial rules). For example, data from a history of received machine states, and / or a history of user requests and / or exchanges between users can be assimilated through learning to build a knowledge base that the CRB conversational agent uses to interact with users and the machine. Typically, reactions received from terminals following the reception of data from the machine can enrich the aforementioned knowledge base. This knowledge base may initially contain pre-programmed data specific to the machine and possibly to the context of its use.The chatbot can then take into account the respective levels of user authorization, and / or their competence and / or their experience, to weigh its reactions to requests from these users.

[0048] With reference to Figure 2, the CRB chatbot is therefore configured to: - implement, in step S2, a natural language (NL) statement analyzer (French, English, or other) to interpret user requests (received in a previous step S1) and then determine, by referring to the knowledge base BC, the relevance and / or consistency of these requests (based, for example, on the machine's current operation, its operating history, or other factors), and thus prepare the appropriate searches to be carried out on the machine, - to develop at step S3 (in formal language LF, expected by the machine) the user requests to be transmitted to the machine at a step S4 (these may be CONS setting instructions, requests for machine operating states, error reports, or others), - analyze at an S5 step (subsequent or not) the data received from the machine, in formal language, this data may not respond to a specific request from a user: it may be for example alert messages (abnormal operation, missing raw material, or others), then identify in the knowledge base relevant users to whom to transmit this data, as well as a context of current use and / or a history of similar use, or other, - implement at a stage S6 a natural language statement generator to develop (in natural language) information messages from the machine intended for relevant CC users, possibly accompanied by additional information for example on current operation and / or events that occurred in the past under the same conditions, or other.

[0049] The MA machine shown in Figure 1 can be an industrial machine or, more generally, any equipment (for example, a domestic robot or other device) that can be remotely monitored and / or controlled by sending computer messages. It can transmit information, directly or indirectly (based on observations by a third-party user), particularly regarding its current operation, either in response to a request or on its own initiative (including alerts).

[0050] Typically, the machine may include one or more sensors capable of delivering measurement signals of (physical) parameters in messages received by the CRB chatbot. The machine could be, for example, any factory machine (a machine tool or other) and relay the signals from its sensors in bulk to the CRB chatbot. Alternatively, it could be a group of machines, each delivering signals from its sensors to the CRB chatbot, which is then configured to aggregate this data and generate a summary for the participants in the conversation.

[0051] In an alternative to a work environment, for example, a machine such as a car can be equipped with sensors (coolant, brake fluid, etc.) that transmit information about these levels to the driver and their mechanic via the CRB agent. Furthermore, tire wear sensors, independent of the vehicle's onboard computer, can also transmit information about tire wear to the CRB agent. Thus, for example, in coordination with the mechanic, information can be transmitted to the The driver is due for an upcoming service appointment to top up the brake fluid and take the opportunity to change the tires. The term "machine" thus refers to a single machine, several parts of the same machine communicating separately with the chatbot, or even several distinct machines.

[0052] More generally, the conversational agent (CRB) is capable of interpreting the content of messages returned by the machine (or by distinct parts of the machine) to obtain, for example, machine status data, information on the machine's current operation, or other data. The CRB can also deduce knowledge from messages received from the machine (MA) to enrich the aforementioned knowledge base, storing this knowledge data in memory (using its own specific formalism). The CRB can thus interpret messages from the terminals (TER) in natural language and return corresponding knowledge when the subject of these messages is, for example, a request for information.Typically, the CRB agent can, in response to an information request, return a previously stored piece of knowledge, or alternatively request the information from the MA machine and then return it to the TER terminals. The CRB agent can also transform a message received from the machine into a piece of knowledge and send it spontaneously to the chat room participants when necessary (for example, in the case of an alert).

[0053] In their participation in the chat room, CRB agents can, by adhering to a specific set of rules, adopt a particular overall behavior with a chosen "personality" (for example, being dominant, expressive, analytical, friendly, or others). This specific set of rules can be selected and configured by an authorized user / administrator.

[0054] More generally, the CRB agent can implement a configurable rules engine. For example, the CRB agent can respond to participants' requests based on their "authorization" to interact with the machine. Authorizations can be granted to users to send instructions to the machine or simply to access certain information from the machine. In this case, the CRB agent can store a list of terminal identifiers (IMSI, IP address, or others) or user identifiers (login, nickname, or others) that are authorized to send requests or receive certain data from the machine, and otherwise filter these requests or data.

[0055] Filtering of instructions to be applied to the machine can be based on other criteria (alternatively or in combination). For example, the CRB agent can also filter a request from a normally authorized terminal, but whose current geolocation shows that the user is too far from the machine to transmit an appropriate operating instruction. The CRB agent can also filter a request from a normally authorized terminal, but whose timestamp does not correspond to a typical working time range (for example, between 8 a.m. and 8 p.m. on weekdays). It may be suspected that such an instruction was sent to the machine in an unjustified emergency and / or without due consideration. The CRB agent can also analyze the emotion in a message received from a user and then filter their request accordingly. (for example, an operating instruction) if it detects in this message, for example, anger (an instruction given, for example, in a state of annoyance, and possibly impulsive) or fear (a hesitant and uncertain instruction, for example). Furthermore, if the message received from the user is a voice message, the detection of this mood can be enhanced by detecting vocal components within that voice message (for example, an unusually high-pitched voice may reflect fear or possibly anger).

[0056] The present invention thus provides safety for machine operation, as well as precision and speed of machine response, while facilitating the user experience through the combination of natural language processing, artificial intelligence, and the availability of all machine data. The user therefore benefits from easier interaction, enabling faster control and even repair of the machine.

[0057] Of course, the present invention is not limited to the embodiments described above by way of example; it extends to other variants.

[0058] For example, we described above a conversational agent capable of communicating with a machine based on that machine's own knowledge. In one implementation, it is possible to have several conversational agents, each capable of communicating with a machine, but also connected to a shared virtual room in which a team of users also participates, in order to control all these machines in a coordinated manner.

[0059] Of course, the above use case of factory machine control can find variations, such as in a home automation application, to coordinate the control of domestic equipment by family members, in a collaborative way.

Claims

Demands

1. A method for communication between several devices, including a machine (MA) and a plurality of user terminals (TERs), the method being implemented by a conversational computer agent (CRB) as an interface between said several devices, the conversational computer agent being capable of communicating independently with the terminals and the machine, the terminals (TERs) running an instant messaging (CM) application in which users participate in a discussion with the conversational computer agent (CRB) by exchanging messages via their terminal (TER), the method comprising at least: - analyze at least one element of the content of a message of a first type emitted by at least one first device (MA, TER), and - generate a message of a second type intended for a second device (TER, MA) based on the results of the analysis of the message of the first type, one of the first and second devices being a terminal and the other of the first and second devices being a machine (MA).

2. A method according to any one of the preceding claims, wherein, in order to generate a message to be transmitted to the terminal users participating in said discussion, the conversational computer agent (CRB), upon receiving a message of the first type from the machine: - accesses a knowledge database to identify a topic in the database related to content from the first type of message generated by the machine, and - generates at least one message of the second type to be transmitted to at least some of the plurality of terminals, the message of the second type containing data from the knowledge base relating to said content.

3. Method according to claim 2, wherein said discussion is provided for in a professional, collaborative work setting, and the knowledge database includes information specific to a professional sector of said collaborative work setting.

4. A method according to any one of the preceding claims, wherein the message of the first type originates from at least one terminal and includes a current request to be transmitted to the machine, and wherein the generation of a message of the second type intended for the machine includes: - an identification of said current request in the message of the first type, - a consultation of a knowledge database to determine if the current query can be transmitted to the machine, and, if so, the elaboration of the current query, in an appropriate form, in the message of the second type.

5. A method according to any one of the preceding claims, wherein the chatbot applies a filtering rule to prevent the message from being sent. second type towards the machine, at least based on data from a terminal sending the message of the first type.

6. Method according to claim 5, wherein said data of the sending terminal includes a terminal identifier as belonging to a user authorized to issue requests to the machine.

7. A method according to any one of claims 5 and 6, wherein said transmitting terminal data includes current geolocation data of the transmitting terminal and filtering is applied if a distance between the transmitting terminal and the machine is greater than a threshold.

8. A method according to any one of claims 5 to 7, wherein said transmitting terminal data comprises a current timestamp data emitted by the transmitting terminal with the message of the first type.

9. A method according to any one of claims 5 to 8, wherein said transmitting terminal data includes a detection score of a predetermined mood, identified in the message of the first type, and filtering is applied if said score is greater than a threshold.

10. A method according to claim 9, wherein the message of the first type is a voice message, and the detection of said predetermined mood is enhanced by a detection of voice components in said voice message.

11. A method according to any one of the preceding claims, wherein the conversational computer agent applies a filtering rule to prevent the transmission of a message of the second type to one of said plurality of terminals if that terminal is identified as belonging to a user not authorized to receive message content transmitted by the machine.

12. A method according to any one of the preceding claims, wherein the conversational computer agent (CRB) analyzes a message received from a terminal and / or generates a message intended for a terminal, in natural language.

13. A method according to any one of the preceding claims, wherein the conversational computer agent (CRB) analyzes a message received from the machine and / or generates a message intended for the machine, in formal language.

14. Computer program comprising instructions for carrying out the method according to any one of claims 1 to 13 when this program is executed by a processor.

15. Computer device comprising: - a communication interface with a machine (MA), on the one hand, and with a plurality of user terminals (TER) running an instant messaging application (CC), on the other hand, and - a processing circuit configured for the implementation of a process according to one of claims 1 to 13.