# US 2020/0394227 A1 · Shared memory space management for conversational artificial intelligence system

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

- Number: US 2020/0394227 A1
- Document ID: US20200394227A1
- Status: Published application
- Kind: A1
- Application number: 16/437,777
- Filed: 2019-06-11
- Published: 2020-12-17
- Earliest claimed: 2019-06-11
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Steven Wayne ICKMAN; Thomas Matthew LAIRD-MCCONNELL; Christopher Clayton MCCONNELL; Carlos CASTRO; Christopher Lee MULLINS; Scott J. GELLOCK
- Web page: https://patentgrep.com/patent/US20200394227A1

## CPC

- G06F 16/90332: {Natural language query formulation or dialogue systems}
- G06F 12/0253: {Garbage collection, i.e. reclamation of unreferenced memory}
- G06F 12/123: with age lists, e.g. queue, most recently used [MRU] list or least recently used [LRU] list
- G06F 16/125: {characterised by the use of retention policies (retention policies for HSM systems G06F16/185)}
- G06N 5/043: Distributed expert systems; Blackboards
- H04L 51/02: using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages
- G06F 2212/1044: Space efficiency improvement
- G06N 5/046: Forward inferencing; Production systems
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method for utilizing shared memory spaces for data lifecycle management in a conversational AI system includes receiving one or more storage requests directing conversational data to multiple nodes of a conversational data object and storing the conversational data that is directed to each different one of the multiple nodes within a different one of multiple discrete memory spaces. Each of the multiple discrete memory spaces is governed by a scope policy defining a lifetime for data stored within the memory space. The method further provides for erasing data of each node of the multiple different nodes of the conversational data object according to the lifetime defined by the scope policy governing the memory space storing the node.

## Claims

### Claim 1

A conversational AI system comprising:
a bot service stored in memory and executable to:
receive one or more storage requests directing conversational data to multiple nodes of a conversational data object, the conversational data being collected by one or more third-party bots during a conversation with a user conducted through a user device;
execute the one or more storage requests by storing the conversational data directed to each different one of the multiple nodes within a different one of multiple discrete memory spaces, each memory space of the multiple discrete memory spaces being governed by a different scope policy defining a lifetime for conversational data stored within the memory space; and
selectively erase data of each node of the multiple nodes of the conversational data object according to the lifetime defined by the scope policy governing the memory space storing the node.

### Claim 2 (depends on 1)

The conversational AI system of claim 1, wherein at least one of the multiple discrete memory spaces is governed by a scope policy that provides for erasing the conversational data stored in the memory space responsive to an end of each speaking turn within the conversation.

### Claim 3 (depends on 1)

The conversational AI system of claim 1, wherein at least one of the multiple discrete memory spaces is governed by a scope policy that provides for cyclically erasing the conversational data stored in the memory space responsive to an end of each dialog within the conversation.

### Claim 4 (depends on 1)

The conversational AI system of claim 1, wherein at least one of the multiple discrete memory spaces is governed by a scope policy that provides for erasing the conversational data stored in the memory space responsive to an end of the conversation.

### Claim 5 (depends on 1)

The conversational AI system of claim 1, wherein at least one of the multiple discrete memory spaces is governed by a scope policy that provides for persistent storage of the conversational data.

### Claim 6 (depends on 1)

The conversational AI system of claim 1, wherein each of the multiple discrete memory spaces is a region of volatile memory uniformly accessible to the one or more third-party bots.

### Claim 7 (depends on 1)

The conversational AI system of claim 1, wherein the bot service executes the one or more storage requests by creating a complex sub-object within one or more of the multiple nodes of the conversational data object.

### Claim 8 (depends on 1)

The conversational AI system of claim 1, wherein the scope policy for each of the multiple discrete memory spaces is defined by the bot service.

### Claim 9

A method comprising:
receiving one or more storage requests directing conversational data to multiple nodes of a conversational data object, the conversational data being collected by one or more third-party bots during a conversation with a user conducted through a user device;
storing the conversational data directed to each different one of the multiple nodes within a different one of multiple discrete memory spaces, each of the multiple discrete memory spaces being governed by a scope policy defining a lifetime for data stored within the memory space; and
selectively erasing data of each node of the multiple nodes of the conversational data object according to the lifetime defined by the scope policy governing the memory space storing the node.

### Claim 10 (depends on 9)

The method of claim 9, wherein at least one of the multiple discrete memory spaces is governed by a scope policy that provides for erasing the conversational data stored in the memory space responsive to an end of each speaking turn within the conversation.

### Claim 11 (depends on 9)

The method of claim 9, wherein at least one of the multiple discrete memory spaces is governed by a scope policy that provides for cyclically erasing the conversational data stored in the memory space responsive to an end of each dialog within the conversation.

### Claim 12 (depends on 9)

The method of claim 9, wherein at least one of the multiple discrete memory spaces is governed by a scope policy that provides for erasing the conversational data stored in the memory space responsive to an end of the conversation.

### Claim 13 (depends on 9)

The method of claim 9, wherein at least one of the multiple discrete memory spaces is governed by scope policy that provides for persistent storage of the conversational data.

### Claim 14 (depends on 9)

The method of claim 9, wherein each of the multiple discrete memory spaces is a region of volatile memory uniformly accessible to the one or more third-party bots.

### Claim 15 (depends on 9)

The method of claim 9, wherein storing the conversational data further comprises creating a complex sub-object within one or more of the multiple nodes of the conversational data object.

### Claim 16 (depends on 9)

The method of claim 9, wherein the scope policy for each of the multiple discrete memory spaces is defined by a bot service.

### Claim 17

One or more memory devices implementing computer-executable instructions for executing a computer process comprising:
receiving one or more storage requests directing conversational data to multiple nodes of a conversational data object, the conversational data being collected by one or more third-party bots during a conversation with a user conducted through a user device;
storing the conversational data directed to each different one of the multiple nodes within a different one of multiple discrete memory spaces, each memory space of the multiple discrete memory spaces being governed by a scope policy defining a lifetime for data stored within the memory space; and
selectively erasing data of each node of the multiple nodes of the conversational data object according to the lifetime defined by the scope policy governing the memory space storing the node.

### Claim 18 (depends on 17)

The one or more memory devices of claim 17, wherein at least one of the multiple discrete memory spaces is governed by a scope policy that provides for cyclically erasing data responsive to an end of each speaking turn within the conversation.

### Claim 19 (depends on 17)

The one or more memory devices of claim 17, wherein at least one of the multiple discrete memory spaces is governed by a scope policy that provides for cyclically erasing data responsive to an end of each dialog within the conversation.

### Claim 20 (depends on 17)

The one or more memory devices of claim 17, wherein at least one of the multiple discrete memory spaces is governed by a scope policy that provides for erasing data responsive to an end of the conversation.
