# US 10,958,532 B2 · Machine learning based discovery of software as a service

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

- Number: US 10,958,532 B2
- Document ID: US10958532B2
- Status: Granted
- Kind: B2
- Application number: 16/185,328
- Filed: 2018-11-09
- Published: 2020-05-14
- Granted: 2021-03-23
- Earliest claimed: 2018-11-09
- Assignees: ServiceNow, Inc.
- Applicants: ServiceNow, Inc.
- Inventors: Gavin Thomas Peterkin
- Web page: https://patentgrep.com/patent/US10958532B2

## CPC

- G06F 8/60: Software deployment
- H04L 41/16: using machine learning or artificial intelligence
- G06F 40/30: Semantic analysis
- G06N 5/022: Knowledge engineering; Knowledge acquisition
- G06N 5/046: Forward inferencing; Production systems
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 20/00: Machine learning
- G06N 20/20: Ensemble learning
- G06N 3/045: Combinations of networks
- G06N 3/082: modifying the architecture, e.g. adding, deleting or silencing nodes or connections
- H04L 41/5096: {wherein the managed service relates to distributed or central networked applications}
- 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)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

An example embodiment involves receiving an activity record including activity data, provider data, and description data; applying a first layer of a multi-layer machine learning (ML) model to predict that the activity record relates to software, applying a second layer of the multi-layer ML model to predict a provider name of a software application referenced in the activity record, applying a third layer of the multi-layer ML model to predict an application title of the software application referenced in the activity record, and storing, in a database, a configuration item indicating that the activity record relates to software, where the configuration item contains attributes including the provider name and the application title.

## Claims

### Claim 1

A system configured to run a computational instance of a remote network management platform for managing a managed network of computing devices, wherein the system comprises one or more processors and a memory, accessible by the one or more processors, wherein the memory stores instructions that, when executed by the one or more processors, cause the one or more processors to perform operations comprising:
receiving an activity record related to the managed network, wherein the activity record is associated with one or more financial transactions and includes activity data, provider data, and description data;
applying a first layer of a multi-layer machine learning (ML) model to predict that the activity record relates to software, wherein applying the first layer generates a first output and comprises: (i) determining, using a plurality of Bayesian models, respective likelihoods that the activity record relates to software based on a first set of words in the activity data, a second set of words in the provider data, and a third set of words in the description data, and (ii) predicting an aggregate likelihood that the activity record relates to software based on the respective likelihoods;
applying a second layer of the multi-layer ML model to predict a provider name of a software application referenced in the activity record, wherein the first output of the first layer is an input for the second layer, and wherein applying the second layer generates a second output and comprises: (i) applying, according to a provider name rule order, a plurality of provider name rules to the second set of words and the third set of words to generate respective provider name likelihoods for a plurality of providers, and (ii) predicting the provider name of the software application based on the respective provider name likelihoods;
applying a third layer of the multi-layer ML model to predict an application title of the software application, wherein the second output of the second layer is an input for the third layer, and wherein applying the third layer of the multi-layer ML model generates a third output and comprises: (i) applying, according to an application title rule order, a plurality of application title rules to the third set of words to generate respective application title likelihoods for one or more applications associated with the provider name, and (ii) predicting the application title of the software application based on the respective application title likelihoods; and
storing, in a database, a configuration item indicating that the activity record relates to software, wherein the configuration item contains attributes including the provider name and the application title.

### Claim 2 (depends on 1)

The system of claim 1, wherein each of the plurality of Bayesian models is trained with labeled activity records that each associate: (i) one or more of activity training data, provider training data, and description training data with (ii) an indication of whether the respective activity record is related to software.

### Claim 3 (depends on 1)

The system of claim 1, wherein each of the plurality of Bayesian models is trained and applied independently from one another.

### Claim 4 (depends on 1)

The system of claim 1, wherein predicting the aggregate likelihood that the activity record relates to software comprises applying a logistic regression model to the respective likelihoods, wherein the logistic regression model applies respective weights to the respective provider name likelihoods, wherein the respective weights indicate an importance of the respective provider name likelihoods.

### Claim 5 (depends on 1)

The system of claim 1, wherein applying the first layer comprises:
determining counts of words or phrases that appear in: (i) any of the activity data, the provider data, or the description data, and (ii) a predetermined catalog of words and phrases,
wherein predicting the aggregate likelihood that the activity record relates to software is also based on the counts of the words or phrases.

### Claim 6 (depends on 5)

The system of claim 5, wherein the predetermined catalog contains software application titles and provider names of providers of the software application titles.

### Claim 7 (depends on 6)

The system of claim 6, wherein the predetermined catalog also contains uniform resource locators (URLs) associated with the software application titles or provider names.

### Claim 8 (depends on 1)

The system of claim 1, wherein each of the plurality of Bayesian models is associated with a respective threshold, wherein applying the first layer comprises comparing the respective likelihoods that the activity record relates to software to their respective thresholds.

### Claim 9 (depends on 8)

The system of claim 8, wherein applying the first layer comprises tagging the activity record for manual classification based on a comparison between at least one of the respective likelihoods that the activity record relates to software and its respective threshold being within a predetermined range of one another.

### Claim 10 (depends on 1)

The system of claim 1, wherein a predetermined catalog contains a plurality of ground truth provider names, and wherein the plurality of provider name rules include: a first rule that is triggered when the second set of words exactly matches one of the plurality of ground truth provider names, a second rule that is triggered when the second set of words shares a common prefix with one of the plurality of ground truth provider names, a third rule that is triggered when the second set of words is contained within one of the plurality of ground truth provider names, or a fourth rule that is based on an edit distance between the second set of words and one of the plurality of ground truth provider names.

### Claim 11 (depends on 1)

The system of claim 1, wherein a predetermined catalog contains a plurality of ground truth application titles, and wherein the plurality of application title rules include: a first rule that is triggered when the third set of words exactly matches one of the plurality of ground truth application titles, a second rule that is triggered when the second set of words shares a common prefix with one of the plurality of ground truth application titles, a third rule that is triggered when the third set of words is contained within one of the plurality of ground truth application titles, or a fourth rule that is based on an edit distance between the third set of words and one of the plurality of ground truth application titles.

### Claim 12 (depends on 1)

The system of claim 1, wherein applying the plurality of application title rules to the third set of words comprises determining that the provider name has exactly one associated application title, and wherein predicting the application title of the software application comprises predicting the application title to be the exactly one associated application title.

### Claim 13 (depends on 1)

The system of claim 1, wherein the provider name rule order arranges the plurality of provider name rules in increasing order of computational complexity.

### Claim 14 (depends on 1)

The system of claim 1, wherein the application title rule order arranges the plurality of application title rules in increasing order of computational complexity.

### Claim 15 (depends on 1)

The system of claim 1, wherein predicting the provider name of the software application comprises applying respective weights to the respective provider name likelihoods, wherein the respective weights are determined based on training the second layer with a labeled training dataset that associates (i) provider training data and description training data with (ii) respective provider name rules of the plurality of provider name rules, wherein the respective weights indicate an importance of the respective provider name likelihoods.

### Claim 16 (depends on 1)

The system of claim 1, wherein predicting the application title of the software application comprises applying respective weights to the respective application title likelihoods, wherein the respective weights are determined based on training the third layer with a labeled training dataset that associates (i) description training data with (ii) respective application title rules of the plurality of application title rules, wherein the respective weights indicate an importance of the respective provider name likelihoods.

### Claim 17

A computer-implemented method comprising:
receiving, by a computing device, an activity record related to a managed network, wherein the activity record is associated with one or more financial transactions and includes activity data, provider data, and description data;
applying, by the computing device, a first layer of a multi-layer machine learning (ML) model to predict that the activity record relates to software, wherein applying the first layer generates a first output and comprises: (i) determining, using a plurality of Bayesian models, respective likelihoods that the activity record relates to software based on a first set of words in the activity data, a second set of words in the provider data, and a third set of words in the description data, and (ii) predicting an aggregate likelihood that the activity record relates to software based on the respective likelihoods;
applying, by the computing device, a second layer of the multi-layer ML model to predict a provider name of a software application referenced in the activity record, wherein the first output of the first layer is an input for the second layer, and wherein applying the second layer generates a second output and comprises: (i) applying, according to a provider name rule order, a plurality of provider name rules to the second set of words and the third set of words to generate respective provider name likelihoods for a plurality of providers, and (ii) predicting the provider name of the software application based on the respective provider name likelihoods;
applying, by the computing device, a third layer of the multi-layer ML model to predict an application title of the software application, wherein the second output of the second layer is an input for the third layer, and wherein applying the third layer of the multi-layer ML model generates a third output and comprises: (i) applying, according to an application title rule order, a plurality of application title rules to the third set of words to generate respective application title likelihoods for one or more applications associated with the provider name, and (ii) predicting the application title of the software application based on the respective application title likelihoods; and
storing, by the computing device and in a database, a configuration item indicating that the activity record relates to software, wherein the configuration item contains attributes including the provider name and the application title.

### Claim 18 (depends on 17)

The computer-implemented method of claim 17, comprising:
determining counts of words or phrases that appear in: (i) any of the activity data, the provider data, or the description data, and (ii) a predetermined catalog of words and phrases,
wherein predicting the aggregate likelihood that the activity record relates to software is also based on the counts of the words or phrases.

### Claim 19

An article of manufacture including a non-transitory computer-readable medium, having stored thereon program instructions that, upon execution by a computing device, cause the computing device to perform operations comprising:
receiving an activity record related to a managed network, wherein the activity record is associated with one or more financial transactions and includes activity data, provider data, and description data;
applying a first layer of a multi-layer machine learning (ML) model to predict that the activity record relates to software, wherein applying the first layer generates a first output and comprises: (i) determining, using a plurality of Bayesian models, respective likelihoods that the activity record relates to software based on a first set of words in the activity data, a second set of words in the provider data, and a third set of words in the description data, and (ii) predicting an aggregate likelihood that the activity record relates to software based on the respective likelihoods;
applying a second layer of the multi-layer ML model to predict a provider name of a software application referenced in the activity record, wherein the first output of the first layer is an input for the second layer, and wherein applying the second layer generates a second output and comprises: (i) applying, according to a provider name rule order, a plurality of provider name rules to the second set of words and the third set of words to generate respective provider name likelihoods for a plurality of providers, and (ii) predicting the provider name of the software application based on the respective provider name likelihoods;
applying a third layer of the multi-layer ML model to predict an application title of the software application, wherein the second output of the second layer is an input for the third layer, and wherein applying the third layer of the multi-layer ML model generates a third output and comprises: (i) applying, according to an application title rule order, a plurality of application title rules to the third set of words to generate respective application title likelihoods for one or more applications associated with the provider name, and (ii) predicting the application title of the software application based on the respective application title likelihoods; and
storing, in a database, a configuration item indicating that the activity record relates to software, wherein the configuration item contains attributes including the provider name and the application title.

### Claim 20 (depends on 19)

The article of manufacture of claim 19, comprising:
determining counts of words or phrases that appear in: (i) any of the activity data, the provider data, or the description data, and (ii) a predetermined catalog of words and phrases,
wherein predicting the aggregate likelihood that the activity record relates to software is also based on the counts of the words or phrases.
