# US 2022/0291950 A1 · Automated semantic tagging

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

- Number: US 2022/0291950 A1
- Document ID: US20220291950A1
- Status: Published application
- Kind: A1
- Application number: 17/830,295
- Filed: 2022-06-01
- Published: 2022-09-15
- Earliest claimed: 2019-09-04
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Balasubramanian Natarajan; Murali Gururajan; Priyamvadha Ragavan; Prashant Prakash
- Web page: https://patentgrep.com/patent/US20220291950A1

## CPC

- G06F 9/4843: {by program, e.g. task dispatcher, supervisor, operating system}
- G06F 9/485: {Task life-cycle, e.g. stopping, restarting, resuming execution (G06F9/4881 takes precedence)}
- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- G06F 9/54: Interprogram communication
- G06F 16/9024: {Graphs; Linked lists (G06F16/9027 takes precedence)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods and systems are disclosed for automated semantic tagging that include detecting a particular thread executed by a processor and identifying a root process of the particular thread. An object-process link may be by linking an object that executed code that called the particular thread to the root process. A thread list of thread definitions of the object may be identified. A particular thread definition that corresponds to the particular thread can be mapped. Resource types to be consumed upon executing an instance of the thread instantiated from the particular thread definition can be identified and the corresponding values of the resource types can be determined. A process specification can be generated that encapsulates the thread definition, resource types and values so as to reproduce a state of the root process at a point in which the particular thread executed.

## Claims

### Claim 1

A method for modifying an application process, the method comprising:
executing, at a first computing device, a first thread of a plurality of threads of a first process of a plurality of processes of an application, the first thread executing based on a call by an object;
linking the object to the first process;
identifying a thread definition for the first thread, the thread definition defining resource requirements for execution of the first thread, the resource requirements including resource types and a value for each resource type, wherein the thread definition is identified by comparing the first thread definition to a plurality of thread definitions of the object;
generating the process specification for the first thread, the process specification including the thread definition and the resource requirements, the process specification configured to reproduce a state of the process at a time in which the first thread began executing, and
modifying, based on the process specification, a second process of the plurality of processes prior to the application spawning the second process, wherein the second process is modified by using the process specification to trace threads that were executed before the first thread began executing.

### Claim 2 (depends on 1)

The method of claim 1, wherein linking the object to the first process comprises:
detecting, with a semantic mapping application programming interface, the execution of the first thread; and
identifying the first process by tracing a thread key of the first thread.

### Claim 3 (depends on 1)

The method of claim 1, wherein identifying the thread definition for the first thread comprises:
identifying a thread list that includes a plurality of thread definitions of the object, the plurality of thread definitions of the object; and
matching a thread definition included in the plurality of thread definitions of the object to the thread definition for the first thread.

### Claim 4 (depends on 1)

The method of claim 1, wherein the resource types comprise processor cycles of a computing device.

### Claim 5 (depends on 4)

The method of claim 4, wherein the value of each resource type comprises a number of the processor cycles of the computing device.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
executing, at the first computing device, a second thread of the plurality of threads of the first process of the plurality of processes of the application, the second thread executing based on the call by the object, wherein the second thread is a resource identification thread identifies resources needed to execute the application:
determining, based on the resource identification thread, that the first computing device has insufficient resources to execute the application;
calling a first resource request thread, the first resource request thread transmitting a first resource request to the first computing device;
calling a first resource allocation thread, the first resource allocation thread transmitting a first allocation command to the first computing device, the first allocation command instructing the first computing device to lock available resources of the first computing device;
calling a second resource request thread, the second resource request thread transmitting a resource request to a second computing device;
calling a second resource allocation thread, the second resource allocation thread transmitting a second allocation command to the second computing device, the second allocation command instructing the second computing device to lock available resources of the second computing device; and
providing a representation of the first process of the application based on at least one process specification, the representation of the process linking the second resource request thread and the second resource allocation thread to the first process of the application, wherein the at least one process specification indicates a state of the first process of the application when the first process is initiated.

### Claim 7

A system, comprising:
one or more computing devices; and
one or more computer-readable storage media containing instructions which, when executed by the one or more computing devices, cause the one or more computing devices to perform operations including:
executing, at a first computing device of the one or more computing devices, a first thread of a plurality of threads of a first process of a plurality of processes of an application, the first thread executing based on a call by an object;
linking the object to the first process;
identifying a thread definition for the first thread, the thread definition defining resource requirements for execution of the first thread, the resource requirements including resource types and a value for each resource type, wherein the thread definition is identified by comparing the first thread definition to a plurality of thread definitions of the object;
generating the process specification for the first thread, the process specification including the thread definition and the resource requirements, the process specification configured to reproduce a state of the process at a time in which the first thread began executing, and
modifying, based on the process specification, a second process of the plurality of processes prior to the application spawning the second process, wherein the second process is modified by using the process specification to trace threads that were executed before the first thread began executing.

### Claim 8 (depends on 7)

The system of claim 7, wherein linking the object to the first process comprises:
detecting, with a semantic mapping application programming interface, the execution of the first thread; and
identifying the first process by tracing a thread key of the first thread.

### Claim 9 (depends on 7)

The system of claim 7, wherein identifying the thread definition for the first thread comprises:
identifying a thread list that includes a plurality of thread definitions of the object, the plurality of thread definitions of the object; and
matching a thread definition included in the plurality of thread definitions of the object to the thread definition for the first thread.

### Claim 10 (depends on 7)

The system of claim 7, wherein the resource types comprise processor cycles of a computing device.

### Claim 11 (depends on 7)

The system of claim 7, wherein the value of each resource type comprises a number of the processor cycles of the computing device.

### Claim 12 (depends on 7)

The system of claim 7, the operations further comprising:
executing, at the first computing device, a second thread of the plurality of threads of the first process of the plurality of processes of the application, the second thread executing based on the call by the object, wherein the second thread is a resource identification thread identifies resources needed to execute the application:
determining, based on the resource identification thread, that the first computing device has insufficient resources to execute the application;
calling a first resource request thread, the first resource request thread transmitting a first resource request to the first computing device;
calling a first resource allocation thread, the first resource allocation thread transmitting a first allocation command to the first computing device, the first allocation command instructing the first computing device to lock available resources of the first computing device;
calling a second resource request thread, the second resource request thread transmitting a resource request to a second computing device of the one or more computing devices;
calling a second resource allocation thread, the second resource allocation thread transmitting a second allocation command to the second computing device, the second allocation command instructing the second computing device to lock available resources of the second computing device; and
providing a representation of the first process of the application based on at least one process specification, the representation of the process linking the second resource request thread and the second resource allocation thread to the first process of the application, wherein the at least one process specification indicates a state of the first process of the application when the first process is initiated.

### Claim 13

A non-transitory computer-readable medium storing instructions that when executed by one or more computing devices cause the one or more computing devices to perform operations including:
executing, at a first computing device of the one or more computing devices, a first thread of a plurality of threads of a first process of a plurality of processes of an application, the first thread executing based on a call by an object;
linking the object to the first process;
identifying a thread definition for the first thread, the thread definition defining resource requirements for execution of the first thread, the resource requirements including resource types and a value for each resource type, wherein the thread definition is identified by comparing the first thread definition to a plurality of thread definitions of the object;
generating the process specification for the first thread, the process specification including the thread definition and the resource requirements, the process specification configured to reproduce a state of the process at a time in which the first thread began executing, and
modifying, based on the process specification, a second process of the plurality of processes prior to the application spawning the second process, wherein the second process is modified by using the process specification to trace threads that were executed before the first thread began executing.

### Claim 14 (depends on 13)

The non-transitory computer-readable medium of claim 13, wherein linking the object to the first process comprises:
detecting, with a semantic mapping application programming interface, the execution of the first thread; and
identifying the first process by tracing a thread key of the first thread.

### Claim 15 (depends on 13)

The non-transitory computer-readable medium of claim 13, wherein identifying the thread definition for the first thread comprises:
identifying a thread list that includes a plurality of thread definitions of the object, the plurality of thread definitions of the object; and
matching a thread definition included in the plurality of thread definitions of the object to the thread definition for the first thread.

### Claim 16 (depends on 13)

The non-transitory computer-readable medium of claim 13, wherein the resource types comprise processor cycles of a computing device.

### Claim 17 (depends on 13)

The non-transitory computer-readable medium of claim 13, wherein the value of each resource type comprises a number of the processor cycles of the computing device.

### Claim 18 (depends on 13)

The non-transitory computer-readable medium of claim 13, the operations further comprising:
executing, at the first computing device, a second thread of the plurality of threads of the first process of the plurality of processes of the application, the second thread executing based on the call by the object, wherein the second thread is a resource identification thread identifies resources needed to execute the application:
determining, based on the resource identification thread, that the first computing device has insufficient resources to execute the application;
calling a first resource request thread, the first resource request thread transmitting a first resource request to the first computing device;
calling a first resource allocation thread, the first resource allocation thread transmitting a first allocation command to the first computing device, the first allocation command instructing the first computing device to lock available resources of the first computing device;
calling a second resource request thread, the second resource request thread transmitting a resource request to a second computing device of the one or more computing devices;
calling a second resource allocation thread, the second resource allocation thread transmitting a second allocation command to the second computing device, the second allocation command instructing the second computing device to lock available resources of the second computing device; and
providing a representation of the first process of the application based on at least one process specification, the representation of the process linking the second resource request thread and the second resource allocation thread to the first process of the application, wherein the at least one process specification indicates a state of the first process of the application when the first process is initiated.
