# US 2017/0286269 A1 · Local Chat Service Simulator for Bot Development

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0286269 A1
- Document ID: US20170286269A1
- Status: Published application
- Kind: A1
- Application number: 15/271,017
- Filed: 2016-09-20
- Published: 2017-10-05
- Earliest claimed: 2016-03-30
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Vitaliy Furman; Michael Stuart Lindre; Gregory W . Wainer; John Duncan Scott; Paul M. Irwin; Lucian Dragne; Graham C. Plumb; Michael M. Kaletsky; Richard John Thorne; Adrian Kieron O'Grady
- Web page: https://patentgrep.com/patent/US20170286269A1

## CPC

- G06F 11/3698: Environments for analysis, debugging or testing of software
- G06F 11/3006: {where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems (multiprogramming arrangements G06F9/46; allocation of resources G06F9/50)}
- G06F 11/3414: {Workload generation, e.g. scripts, playback}
- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- H04L 51/02: using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method of testing one or more bots, each bot being for interacting with one or more human users via a communication service implemented over a network where the bot is to be published to a server and the one or more users access the communication service using a communication client application. The method comprises: storing the one or more bots locally on a user terminal of a testing user being a human tester of the one or more bots, and running a bot testing application locally on said user terminal.

## Claims

### Claim 1

A method of testing one or more bots, each bot being for interacting with one or more human users via a communication service implemented over a network where the bot is to be published to a server and the one or more users access the communication service using a communication client application; where the method comprises:
storing the one or more bots locally on a user terminal of a testing user being a human tester of the one or more bots;
running a bot testing application locally on said user terminal, wherein the bot testing application comprises:
a detecting module configured to automatically detect one or more of the bots on said user terminal;
a user interface simulating module configured to render a simulated communications client user interface simulating at least one user interface function of said communication client application, including at least: presenting one or more of the detected bots as one or more respective ones of a plurality of simulated communication contacts within the simulated communications client user interface, with which the testing user can select to communicate; and
a backend simulating module configured to provide a simulated communications service backend simulating at least one backend function of said communication service, including at least: allowing the human tester to communicate with at least one of the one or more presented communication contacts, including at least one of said bots, so as to appear to be a published bot.

### Claim 2 (depends on 1)

The method of claim 1, where in addition to the detected bots, one or more of said plurality of simulated communication contacts comprise one or more further, human-controlled contacts each having an instance of said simulated communications client user interface, wherein the further human-controlled contacts are controlled by said testing user and/or one or more further human users.

### Claim 3 (depends on 1, 2)

The method of claim 1 or 2, where the bot testing application is platform agnostic in that it is operable to simulate a communications client user interface and backend of a plurality of providers, and wherein the bot testing application is configured to enable the testing user to select an operating mode selecting the simulated communications client user interface and the simulated communications service backend from amongst those of said plurality of providers.

### Claim 4 (depends on 3)

The method of claim 3, where the simulating of the at least one backend function includes sending and/or receiving one or more types of communication, the types of communication sent and/or received being dependent upon the selected operating mode.

### Claim 5 (depends on 2)

The method of claim 2, where for each of the human-controlled contacts, a respective further instance of the simulated communications client user interface is rendered in a separate window and a new respective unique user ID is generated to identify the human-controlled contact.

### Claim 6 (depends on 1)

The method of claim 1, where the simulated communications client user interface is rendered in a web browser window.

### Claim 7 (depends on 2)

The method of claim 2, where the simulated communications client user interface is rendered in a web browser window, and upon opening of a further web browser window a further one of said instances of the communications client user interface is rendered generating a new one of said human-controlled contacts and the respective unique user ID.

### Claim 8 (depends on 1)

The method of claim 1, where the communication client user interface is rendered in a way other than in a web browser.

### Claim 9 (depends on 7)

The method of claim 7, where the operating mode of the new user is defined when the new user is generated.

### Claim 10 (depends on 1)

The method of claim 1, where the user associated with the simulated communications client user interface is also associated with non-conversational state information; said non-conversational state information being user defined.

### Claim 11 (depends on 10)

The method of claim 10, where the bot is able to give a response to a query relative to said user's non-conversational state information; said communication comprises supplying the non-conversational state information to said at least one bot, thereby causing the bot to respond to the non-conversational state information.

### Claim 12 (depends on 10)

The method of claim 10, where the non-conversational state information is location, said location being user defined.

### Claim 13 (depends on 10)

The method of claim 10, where the non-conversational state information is presence, said presence being user defined.

### Claim 14 (depends on 10)

The method of claim 10, where the non-conversational state information is time and/or date, said time and/or date being user defined.

### Claim 15 (depends on 1)

The method of claim 1, where the communication sent and/or received is any one or more of: instant messages, voice calls, video calls, emoticons, picture messages, and/or video messages.

### Claim 16

A computer program product comprising code embedded on computer-readable storage and configured so as when run on said user terminal to perform operations of:
automatically detecting one or more bots stored locally on a user terminal of a testing user, being a human tester of the one or more bots;
rendering a simulated communications client user interface simulating at least one user interface function of said communication client application, including at least: presenting one or more of the detected bots as one or more respective ones of a plurality of simulated communication contacts within the simulated communications client user interface, with which the testing user can select to communicate; and
providing a simulated communications service backend simulating at least one backend function of said communication service, including at least: allowing the human tester to communicate with at least one of the one or more presented communication contacts, including at least one of said bots, so as to appear to be a published bot.

### Claim 17

A user terminal for carrying out a method of testing one or more bots, each bot being for interacting with one or more human users via a communication service implemented over a network where the bot is to be published to a server and the one or more users access the communication service using a communication client application; the user terminal comprising:
storage means for storing the one or more bots;
a detecting module for detecting one or more of the bots stored on said storage means;
a user interface simulating module for rendering a simulated communications client user interface simulating at least one user interface function of said communication client application, including at least: presenting one or more of the detected bots as one or more respective ones of a plurality of simulated communication contacts within the simulated communications client user interface, with which a testing user can select to communicate; and
a backend simulating module for providing a simulated communications service backend simulating at least one backend function of said communication service, including at least: allowing the human tester to communicate with at least one of the one or more presented communication contacts, including at least one of said bots, so as to appear to be a published bot.

### Claim 18 (depends on 17)

The user terminal of claim 17, where the user terminal also comprises a network interface, wherein the network interface is configured to connect to a local network to which one or more further user terminals are connected; said further user terminal comprising one or more further, human-controlled contacts each having an instance of said simulated communications client user interface, wherein the further human-controlled contacts are controlled by one or more further human users.

### Claim 19 (depends on 17)

The user terminal of claim 17, where the user interface simulating module and the backend simulating module are configured to render and provide respectively in addition to the detected bots, one or more of said plurality of simulated communication contacts comprising one or more further, human-controlled contacts each having an instance of said simulated communications client user interface, wherein the further human-controlled contacts are controlled by said testing user and/or one or more further human users.

### Claim 20 (depends on 17)

The user terminal of claim 17, where the user interface simulating module and the backend simulating module are configured to be platform agnostic in that it is operable to simulate a communications client user interface and backend of a plurality of providers, and wherein the bot testing application is configured to enable the testing user to select an operating mode selecting the simulated communications client user interface and the simulated communications service backend from amongst those of said plurality of providers.
