# US 2023/0067091 A1 · Method and device for segment routing service processing, routing equipment, 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 2023/0067091 A1
- Document ID: US20230067091A1
- Status: Published application
- Kind: A1
- Application number: 17/758,761
- Filed: 2020-10-30
- Published: 2023-03-02
- Earliest claimed: 2020-01-14
- Assignees: Zte Corporation
- Applicants: Zte Corporation
- Inventors: Yao LIU; Zheng ZHANG
- Web page: https://patentgrep.com/patent/US20230067091A1

## CPC

- H04L 45/34: {Source routing}
- H04L 45/74: Address processing for routing
- H04L 45/50: using label swapping, e.g. multi-protocol label switch [MPLS]
- Y02D 30/00: Reducing energy consumption in communication networks
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

Disclosed are a method and apparatus for segment routing service processing, a routing device and a non-transitory computer-readable storage medium. The method for segment routing service processing may include acquiring service attribute information of a target node comprising an SR service node and an SR proxy node, and transmitting a notification message containing the service attribute information to a second SR node.

## Claims

### Claim 1

A method for segment routing service processing, applicable to a first segment routing (SR) node, the method comprising:
acquiring service attribute information of a target node comprising an SR service node and an SR proxy node; and
transmitting a notification message containing the service attribute information to a second SR node.

### Claim 2 (depends on 1)

The method of claim 1, wherein the service attribute information is reported to a control plane through the first SR node or the second SR node.

### Claim 3 (depends on 1)

The method of claim 1, wherein, in response to the target node being an SR service node, the service attribute information comprises:
the first segment identifier (SID), service type and service related information of the SR service; and
in response to the target node being an SR proxy node, the service attribute information comprises:
the second SID, proxy type, service type and service related information corresponding to the SR service in the SR proxy node.

### Claim 4 (depends on 3)

The method of claim 3, wherein, in response to the target node being an SR proxy node, the proxy type satisfies:
the proxy type being represented by a function field in response to the target node belonging to an SRv6 network and being aware of SRv6 programming,
wherein a function defined by the function field comprises a first function corresponding to a static proxy,
a second function corresponding to a dynamic proxy and a third function corresponding to a masquerading proxy; and
the proxy type being represented by a proxy type field in response to the target node belonging to a segment routing multi-protocol label switching (SR-MPLS) network or being unaware of SRv6 programming,
wherein the proxy type comprises static proxy, dynamic proxy and masquerading proxy.

### Claim 5 (depends on 1)

The method of claim 1, wherein data is transmitted between the first SR node and the target node through extended protocol messages of a link layer discovery protocol (LLDP) and an interior gateway protocol (IGP); and
the IGP comprises an open shortest path first (OSPF) protocol and an intermediate system to intermediate system (IS-IS) protocol.

### Claim 6 (depends on 1)

The method of claim 1, wherein data is transmitted between the first SR node and the second SR node through an IGP, and the IGP comprises an OSPF protocol and an IS-IS protocol; and
the service attribute information is contained in an extended Tag-Length-Value (TLV), a sub-TLV or a sub-sub-TLV.

### Claim 7 (depends on 4)

The method of claim 4, wherein data is transmitted between the first SR node and the second SR node through an IS-IS protocol;
in response to the target node belonging to an SRv6 network and being aware of SRv6 programming, the service attribute information is contained in a sub-TLV and a sub-sub-TLV,
wherein, the sub-TLV carries the second SID and the function field, and the sub-sub-TLV carries the service type; and
in response to the target node belonging to an SR-MPLS network or being unaware of SRv6 programming, the service attribute information is contained in at least one extended TLV.

### Claim 8 (depends on 3)

The method of claim 3, wherein the target node is an SR service node;
data is transmitted between the first SR node and the second SR node through an IS-IS protocol;
in response to the target node belonging to an SRv6 network and being aware of SRv6 programming, the service attribute information is contained in a sub-TLV and a sub-sub-TLV,
wherein, the sub-TLV carries the first SID, and the service type field in the sub-sub-TLV carries the service type, and
in response to the target node belonging to an SR-MPLS network or being unaware of SRv6 programming, the service attribute information is contained in at least one extended TLV; or,
in response to the target node belonging to an SRv6 network and being aware of SRv6 programming, the service attribute information is contained in a sub-TLV and a sub-sub-TLV,
wherein, the sub-TLV carries the first SID and the function field, the service type field in the sub-sub-TLV carries the service type, and the function field is a first set value, and
in response to the target node belonging to an SR-MPLS network or being unaware of SRv6 programming, the service attribute information is contained in at least one extended TLV, and the proxy type field is a second set value.

### Claim 9 (depends on 1)

The method of claim 1, wherein,
the service attribute information is transmitted between the first SR node and the control plane or between the second SR node and the control plane through one of:
a border gateway protocol (BGP),
a border gateway protocol-link state (BGP-LS),
a path computation element communication protocol (PCEP) and
yet another next generation data modeling language (YANG) model.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
transmitting a request message to the control plane, the request message being used for notifying the control plane that the first SR node has the ability to report the service attribute information;
receiving an acknowledgement message replied by the control plane; and
reporting the service attribute information to the control plane.

### Claim 11 (depends on 10)

The method of claim 10, wherein the service attribute information is transmitted between the first SR node and the control plane through a PCEP;
the request message comprises a start open message in the PCEP; and
the service attribute information is reported through an explicit route object (ERO) field in the PCEP.

### Claim 12 (depends on 1)

The method of claim 1, wherein the target node is an SR proxy node; and
before acquiring service attribute information of a target node, the method further comprises:
configuring a local SID, the local SID being used for indicating an associated SR proxy node; and
notifying reachable information to the second SR node, the reachable information comprising the local SID.

### Claim 13 (depends on 12)

The method of claim 12, further comprising:
generating a forwarding table according to related information of the SR proxy node;
receiving an SR service message orchestrated by the control plane;
transmitting the SR service message to the SR proxy node according to the forwarding table; and
receiving the SR service message returned by the SR proxy node; and
before transmitting the SR service message to the SR proxy node according to the forwarding table or after receiving the SR service message returned by the SR proxy node, the method further comprises:
processing the SR service message according to the forwarding table.

### Claim 14 (depends on 13)

The method of claim 13, wherein the related information of the SR proxy node comprises:
the target SID associated with the SR proxy node, the source of the target SID, the type of the target SID, the proxy type corresponding to the target SID and the service type corresponding to the target SID;
wherein the source of the target SID comprises notifying through a protocol and configuring locally;
the type of the target SID comprises non-local SID and local SID; and
the forwarding table generated according to the local SID has higher priority than that of the forwarding table generated according to the non-local SID.

### Claim 15 (depends on 14)

The method of claim 14, wherein, in response to the type of the target SID being the local SID and the target SID being configured as an SRv6 programming format, the target SID is used for notifying the proxy type.

### Claim 16 (depends on 13)

The method of claim 13, wherein the forwarding table comprises:
the target SID, the type of the target SID, and the first processing mode for the target SID;
in response to the SR service message being processed according to the forwarding table after the SR service message returned by the SR proxy node is received, the forwarding table further comprises:
the feature of the target SID, and the second processing mode for the target SID; and
the target SID is a new routing prefix SID, or the target SID consists of an interface prefix for notifying the reachable information and a set function.

### Claim 17 (depends on 16)

The method of claim 16, wherein the transmitting the SR service message to the SR proxy node according to the forwarding table comprises:
in response to the target SID consisting of an interface prefix for notifying the reachable information and a set function, transmitting the SR service message to the SR proxy node according to the interface prefix and the set function.

### Claim 18

An apparatus for segment routing service processing, comprising:
an information acquisition module, configured to acquire service attribute information of a target node comprising an SR service node and an SR proxy node; and
a notification module, configured to transmit a notification message containing the service attribute information to a second SR node.

### Claim 19 (depends on 1)

A routing device, comprising:
at least one processer; and
a storage device configured to store at least one program;
wherein the at least one program, when executed by the at least one processor, causes the at least one processor to perform the method for segment routing service processing of claim 1.

### Claim 20

A non-transitory computer-readable storage medium storing computer programs which, when executed by a processor, cause the processor to perform a method for segment routing service processing, the method comprising:
acquiring service attribute information of a target node comprising an SR service node and an SR proxy node; and
transmitting a notification message containing the service attribute information to a second SR node.
