# US 10,956,412 B2 · Method and system for conjunctive normal form attribute matching in a content centric network

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

- Number: US 10,956,412 B2
- Document ID: US10956412B2
- Status: Granted
- Kind: B2
- Application number: 15/232,674
- Filed: 2016-08-09
- Published: 2018-02-15
- Granted: 2021-03-23
- Earliest claimed: 2016-08-09
- Assignees: Cisco Technology, Inc.
- Applicants: Cisco Technology, Inc.
- Inventors: Christopher A. Wood; Ignacio Solis; Marc E. Mosko
- Web page: https://patentgrep.com/patent/US10956412B2

## CPC

- G06F 16/245: Query processing
- G06F 16/22: Indexing; Data structures therefor; Storage structures
- G06F 16/901: Indexing; Data structures therefor; Storage structures (for retrieval from the web G06F16/951)
- G06F 16/9017: {using directory or table look-up (use of a directory or look-up table in file systems G06F16/13)}
- H04L 12/00: Data switching networks (interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units G06F13/00)
- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- H04L 69/00: Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass (networks security protocols H04L9/40; wireless communication networks H04W)
- 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

One embodiment provides a system that facilitates a flexible strategy for matching content objects and interests. During operation, the system receives, by a computing device, an interest which includes a set of attributes, wherein a respective attribute has one or more values. In response to not obtaining a matching entry for the interest in a pending interest table, the system adds to the pending interest table a first entry which indicates the interest based on the attributes and their values. The system determines whether a received content object satisfies the interest indicated in the first entry based on the attributes of the first entry and attributes of the content object. In response to determining that the content object satisfies the interest, the system forwards the content object, thereby facilitating a flexible strategy for matching content objects to interests.

## Claims

### Claim 1

A computer system, comprising:
a processor; and
a storage device storing instructions that when executed by the processor cause the processor to perform a method, the method comprising:
receiving an interest which includes a set of attributes, wherein an attribute from among the set of attributes is a restrictive attribute that is related to a content object and has a plurality of values;
obtaining or not obtaining a matching entry for the interest in a pending interest table;
based on not obtaining the matching entry for the interest in the pending interest table, adding to the pending interest table a first entry which indicates the interest based on the attributes and respective values thereof;
determining whether the content object satisfies the interest indicated in the first entry based on the attributes of the first entry and attributes of the content object such that the content object satisfies the restrictive attribute from among the set of attributes of the interest based on the content object matching one value from among the plurality of values of the restrictive attribute; and
based on the determining that the content object satisfies the interest, forwarding the content object.

### Claim 2 (depends on 1)

The computer system of claim 1, wherein the interest has a name and wherein obtaining or not obtaining the matching entry in the pending interest table is based on the name for the interest, wherein the content object has a same name as the name for the interest, and wherein the method further comprises:
receiving the content object; and
performing a lookup in the pending interest table based on the name for the content object to obtain the first entry.

### Claim 3 (depends on 2)

The computer system of claim 2, wherein in response to the obtaining the matching entry for the interest in the pending interest table based on the name for the interest, the method further comprises:
in response to the determining, for each attribute indicated in the matching entry, that the values of a respective attribute indicated in the matching entry exactly match all of the values of the attribute of the interest, adding an arrival interface associated with the interest to a list of arrival interfaces for the matching entry; and
in response to the determining, that the values of the respective attribute indicated in the matching entry do not exactly match all of the values of the set of attributes of the interest, adding to the pending interest table the first entry.

### Claim 4 (depends on 1)

The computer system of claim 1, wherein the determining that the content object satisfies the interest further comprises:
determining, for each attribute indicated in the first entry, that a value of a first attribute of the content object matches one of the values of a respective first attribute indicated in the first entry.

### Claim 5 (depends on 1)

The computer system of claim 1, wherein the determining that the content object satisfies the interest further comprises:
performing a calculation based on a conjunctive normal form, wherein the attribute comprises an AND clause, and wherein the values for the attribute comprise predicates of an OR clause.

### Claim 6 (depends on 1)

The computer system of claim 1, wherein in response to the determining that the content object does not satisfy the interest, the method further comprises one or more of:
storing the content object in a local cache or content store;
refraining from forwarding the content object to a downstream node;
discarding the content object; and
performing an action based on a policy of the computer system.

### Claim 7 (depends on 1)

The computer system of claim 1, wherein the set of attributes includes at least two of:
a name for the interest or the content object, wherein the name is a hierarchically structured variable length identifier that includes contiguous name components ordered from a most general level to a most specific level;
a key identifier restriction associated with the interest and applicable to a responsive content object;
a key identifier associated with the content object;
a content object hash restriction associated with the interest and applicable to the responsive content object;
a hash of the content object;
a hop count or limit associated with the interest or the content object; and
any field of the interest, the content object, or a message in a content centric network.

### Claim 8 (depends on 1)

The computer system of claim 1, wherein the method further comprises:
in response to receiving the interest, performing a lookup in a content store or local cache of a computing device for a matching content object; and
in response to determining, for each respective attribute indicated in the interest, that a value of the attribute of the matching content object matches one of the values of the respective attribute of the interest, forwarding the content object.

### Claim 9 (depends on 1)

The computer system of claim 1, wherein the processor determines whether the content object satisfies the interest indicated in the first entry by determining whether a key identifier value or an object hash value of the content object matches the one value from among the plurality of values of the restrictive attribute of the interest.

### Claim 10 (depends on 1)

The computer system of claim 1, wherein the restrictive attribute is one of:
a key identifier restriction associated with the interest and applicable to a responsive content object;
a key identifier associated with the content object;
a content object hash restriction associated with the interest and applicable to the responsive content object; or
a hash of the content object.

### Claim 11

A computer-implemented method, comprising:
receiving an interest which includes a set of attributes, wherein an attribute from among the set of attributes is a restrictive attribute that is related to a content object and has a plurality of values;
obtaining or not obtaining a matching entry for the interest in a pending interest table;
based on not obtaining the matching entry for the interest in the pending interest table, adding to the pending interest table a first entry which indicates the interest based on the attributes and respective values;
determining whether the content object satisfies the interest indicated in the first entry based on the attributes of the first entry and attributes of the content object such that the content object satisfies the restrictive attribute from among the attributes of the interest based on the content object matching one value from among the plurality of values of the restrictive attribute of the interest; and
based on the determining that the content object satisfies the interest, forwarding the content object.

### Claim 12 (depends on 11)

The computer-implemented method of claim 11, wherein the interest has a name, wherein obtaining or not obtaining the matching entry in the pending interest table is further based on the name for the interest, wherein the content object has a same name as the name for the interest, and wherein the method further comprises:
receiving the content object; and
performing a lookup in the pending interest table based on the name for the content object to obtain the first entry.

### Claim 13 (depends on 12)

The computer-implemented method of claim 12, wherein in response to the obtaining the matching entry for the interest in the pending interest table based on the name for the interest, the method further comprises:
in response to the determining, for each attribute indicated in the matching entry, that the values of a respective attribute indicated in the matching entry exactly match all of the values of the respective attribute of the interest, adding an arrival interface associated with the interest to a list of arrival interfaces for the matching entry; and
in response to the determining, that the values of the respective attribute indicated in the matching entry do not exactly match all of the values of the set of attributes of the interest, adding to the pending interest table the first entry.

### Claim 14 (depends on 11)

The computer-implemented method of claim 11, wherein the determining that the content object satisfies the interest further comprises:
determining, for each attribute indicated in the first entry, that a value of a first attribute of the content object matches one of the values of a respective first attribute indicated in the first entry.

### Claim 15 (depends on 11)

The computer-implemented method of claim 11, wherein the determining that the content object satisfies the interest further comprises:
performing a calculation based on a conjunctive normal form, wherein the attribute comprises an AND clause, and wherein the values for the attribute comprise predicates of an OR clause.

### Claim 16 (depends on 11)

The computer-implemented method of claim 11, wherein in response to the determining that the content object does not satisfy the interest, the method further comprises one or more of:
storing the content object in a local cache or content store;
refraining from forwarding the content object to a downstream node;
discarding the content object; and
performing an action based on a policy.

### Claim 17

A computer system, comprising:
a processor; and
a storage device storing instructions that when executed by the processor cause the processor to perform a method, the method comprising:
generating an interest which includes a set of attributes, wherein an attribute from among the set of attributes is a restrictive attribute that is related to a content object and has a plurality of values;
determining that the content object satisfies the interest based on a matching entry in a pending interest table and further based on attributes of the matching entry and attributes of the content object such that the content object satisfies the restrictive attribute from among the attributes of the interest based on the content object matching one value from among the plurality of values of the restrictive attribute of the interest; and
removing the matching entry from the pending interest table.

### Claim 18 (depends on 17)

The computer system of claim 17, wherein the method further comprises:
creating the matching entry in the pending interest table, wherein the matching entry indicates the interest based on the attributes and respective values thereof.

### Claim 19 (depends on 17)

The computer system of claim 17, wherein the interest has a name that is a hierarchically structured variable length identifier comprised of contiguous name components ordered from a most general level to a most specific level.

### Claim 20 (depends on 17)

The computer system of claim 17, wherein the method further comprises:
in response to transmitting the interest, receiving the content object,
wherein the determining that the content object satisfies the interest based on the matching entry further comprises:
determining, for each attribute indicated in the matching entry, that a value of a corresponding attribute of the content object matches one of the values of the corresponding attribute indicated in the matching entry.
