# US 2026/0312956 A1 · Security table entry generation method and apparatus, network device, and storage medium

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

- Number: US 2026/0312956 A1
- Document ID: US20260312956A1
- Status: Published application
- Kind: A1
- Application number: 19/480,518
- Filed: 2023-09-12
- Published: 2026-10-08
- Earliest claimed: 2023-09-12
- Assignees: New H3C Technologies Co., Ltd.
- Applicants: New H3C Technologies Co., Ltd.
- Inventors: Changwang LIN
- Web page: https://patentgrep.com/patent/US20260312956A1

## CPC

- H04L 63/101: {Access control lists [ACL]}
- H04L 45/02: Topology update or discovery
- H04L 45/34: {Source routing}
- H04L 45/745: Address table lookup; Address filtering
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The present application relates to the technical field of network communications, and provides a security table entry generation method and apparatus, a network device, and a storage medium. The method comprises: acquiring target link state information from a link state database, the target link state information comprising a first source prefix; and generating a security table entry for an ingress interface, the security table entry comprising the identifier of the ingress interface and the first source prefix. The present application can improve the network security.

## Claims

### Claim 1

A method for generating a security table entry, which is applied to a first network device, wherein the first network device comprises a first interface, and the first interface is an incoming interface for receiving target link state information, the method comprises:
acquiring the target link state information from a link state data base, wherein the target link state information comprises a first source prefix;
generating a security table entry for the incoming interface, wherein the security table entry comprises an identifier of the incoming interface and the first source prefix.

### Claim 2 (depends on 1)

The method according to claim 1, wherein acquiring the target link state information from a link state data base comprises:
searching for first link state information of the first network device from the link state data base, wherein the first link state information comprises a connection relationship between the first network device and at least one network device of a next level;
setting the next level as a current traverse level, and for each network device at the current traverse level, searching for second link state information of the network device from the link state data base;
if the second link state information comprises a source prefix, setting the second link state information as the target link state information;
if the second link state information comprises a connection relationship between the network device and at least one network device of a next level, setting the next level as the current traverse level;
repeating a process of, for each network device at the current traverse level, searching for second link state information of the network device from the link state data base, if the second link state information comprises the source prefix, setting the second link state information as the target link state information, if the second link state information comprises a connection relationship between the network device and at least one network device of a next level, setting the next level as the current traverse level, until it is determined that there is no network device of a next level for the network device at the current traverse level.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the network device of the next level is a network device other than the first network device in an AS domain.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the target link state information further comprises an access tag corresponding to the first source prefix; after generating a security table entry for the incoming interface, the method further comprises:
searching for third link state information comprising the access tag from the link state data base, wherein the third link state information comprises a second source prefix corresponding to the access tag;
adding the second source prefix to the security table entry.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the incoming interface is configured with an access tag; the method further comprises:
searching for fourth link state information comprising the access tag from the link state data base, wherein the fourth link state information comprises a third source prefix corresponding to the access tag;
generating, for the incoming interface, a security table entry comprising an identifier of the incoming interface and the third source prefix.

### Claim 6 (depends on 1)

The method according to claim 1, wherein before acquiring target link state information from a link state data base, the method further comprises:
receiving a first packet sent by a network device in an AS domain, wherein the first packet comprises the target link state information;
storing the target link state information in the link state data base.

### Claim 7 (depends on 6)

The method according to claim 6, wherein,
the first packet comprises a first TLV comprising a first flag bit and an address prefix, wherein the first flag bit is to indicate that the address prefix is the first source prefix; or,
the first packet comprises a second TLV comprising an address prefix and a first Sub-TLV, wherein the first Sub-TLV comprises a second flag bit, and the second flag bit is to indicate that the address prefix comprised in the second TLV is the first source prefix; or,
the first packet comprises a third TLV comprising the first source prefix.

### Claim 8 (depends on 7)

The method according to claim 7, wherein,
each of the first TLV, the second TLV and the third TLV comprises a second Sub-TLV comprising a tag field, wherein the tag field is to carry an access tag corresponding to the first source prefix; or,
the third TLV comprises an access tag corresponding to the first source prefix, and the access tag is located in a tag field before the first source prefix and adjacent to the first source prefix.

### Claim at position 9

9-16. (canceled)

### Claim 17

A first network device, wherein the first network device comprises a first interface, the first interface is an incoming interface for receiving target link state information, and the first network device comprises:
a processor;
a transceiver;
a machine-readable storage medium, which stores machine-executable instructions that are executed by the processor to cause the processor to:
acquire the target link state information from a link state data base, wherein the target link state information comprises a first source prefix;
generate a security table entry for the incoming interface, wherein the security table entry comprises an identifier of the incoming interface and the first source prefix.

### Claim 18 (depends on 17)

The first network device according to claim 17, wherein the machine-executable instructions further cause the processor to:
search for first link state information of the first network device from the link state data base, wherein the first link state information comprises a connection relationship between the first network device and at least one network device of a next level;
set the next level as the current traverse level, and for each network device at the current traverse level, search for second link state information of the network device from the link state data base;
if the second link state information comprises a source prefix, set the second link state information as the target link state information;
if the second link state information comprises a connection relationship between the network device and at least one network device of a next level, set the next level as the current traverse level;
repeat a process of, for each network device at the current traverse level, search for second link state information of the network device from the link state data base, if the second link state information comprises the source prefix, set the second link state information as the target link state information, if the second link state information comprises a connection relationship between the network device and at least one network device of a next level, set the next level as the current traverse level, until it is determined that there is no network device of a next level for the network device at the current traverse level.

### Claim 19 (depends on 18)

The first network device according to claim 18, wherein the network device of a next level is a network device other than the first network device in an AS domain.

### Claim 20 (depends on 17)

The first network device according to claim 17, wherein the target link state information further comprises an access tag corresponding to the first source prefix;
the machine-executable instructions further cause the processor to:
search for third link state information comprising the access tag from the link state data base, wherein the third link state information comprises a second source prefix corresponding to the access tag;
add the second source prefix to the security table entry.

### Claim 21 (depends on 17)

The first network device according to claim 17, wherein the incoming interface is configured with an access tag; the machine executable instructions further cause the processor to:
search for fourth link state information comprising the access tag from the link state data base, wherein the fourth link state information comprises a third source prefix corresponding to the access tag;
generate, for the incoming interface, a security table entry comprising an identifier of the incoming interface and the third source prefix.

### Claim 22 (depends on 17)

The first network device according to claim 17, wherein the machine-executable instructions further cause the processor to:
receive a first packet sent by a network device in an AS domain, wherein the first packet comprises the target link state information;
store the target link state information in the link state data base.

### Claim 23 (depends on 22)

The first network device according to claim 22, wherein:
the first packet comprises a first TLV comprising a first flag bit and an address prefix, wherein the first flag bit is to indicate that the address prefix is the first source prefix; or,
the first packet comprises a second TLV comprising an address prefix and a first Sub-TLV, wherein the first Sub-TLV comprises a second flag bit, and the second flag bit is to indicate that the address prefix comprised in the second TLV is the first source prefix; or,
the first packet comprises a third TLV comprising the first source prefix.

### Claim 24 (depends on 23)

The first network device according to claim 23, wherein,
each of the first TLV, the second TLV and the third TLV comprises a second Sub-TLV comprising a tag field, wherein the tag field is to carry an access tag corresponding to the first source prefix; or,
the third TLV comprises an access tag corresponding to the first source prefix, and the access tag is located in a tag field before the first source prefix and adjacent to the first source prefix.

### Claim 25 (depends on 1)

A non-transitory machine-readable storage medium, which stores machine-executable instructions that, when called and executed by a processor, cause the processor to implement the method according to claim 1.

### Claim 26

(canceled)
