IP Library › Granted Patent US 11,888,688
Granted Patent B2
US 11,888,688 · App. 17/856,228 · Granted Jan 30, 2024

Configuration information subscription method and apparatus

Inventors: Guangying Zheng (Nanjing, CN); Bin Liu (Nanjing, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
H04L41/0813H04L41/082H04L41/0806H04L41/0893
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,888,688
App. No.
17/856,228
Granted
Jan 30, 2024
Kind
B2
Abstract

This application discloses a configuration information subscription method and apparatus. The method includes: a client obtains a subscription request message, where the subscription request message includes first indication information and second indication information, the first indication information is for indicating subscribed first configuration information, and the second indication information is for indicating subscribed second configuration information associated with the first configuration information; and sends the subscription request message to a server. According to the solution in this application, when subscribing to the first configuration information, the client can subscribe to the second configuration information through association, so that subscription efficiency of the configuration information is improved.

Claims (45)

1. A configuration information subscription method, comprising:

obtaining, by a client, a subscription request message, wherein the subscription request message comprises first indication information and second indication information, the first indication information is for indicating subscribed first configuration information, and the second indication information is for indicating subscribed second configuration information associated with the first configuration information; and

sending, by the client, the subscription request message to a server;

wherein the first configuration information comprises configuration information of an instance of a first node, and the second configuration information comprises configuration information of an instance of a second node associated with the first node;

wherein the configuration information of the instance of the second node associated with the first node is configuration information obtained after the instance of the second node satisfies a first constraint condition and a configuration of an instance of the second node changes, and that a configuration of an instance of the second node changes comprises:

an attribute value of the instance of the second node changes, an instance of the second node is added, or an instance of the second node is deleted.

2. The method according to claim 1 , wherein the method further comprises:

receiving, by the client, a subscription notification message sent by the server, wherein the subscription notification message comprises the first configuration information and the second configuration information.

3. The method according to claim 1 , wherein the configuration information of the instance of the first node is configuration information obtained after a configuration of an instance of the first node changes, and that a configuration of an instance of the first node changes comprises:

an attribute value of the instance of the first node changes, an instance of the first node is added, or an instance of the first node is deleted.

4. A configuration information subscription method, comprising:

generating, by a server, a subscription notification message, wherein the subscription notification message comprises first configuration information and second configuration information, and the second configuration information is associated with the first configuration information; and

sending, by the server, the subscription notification message to a client;

wherein before the generating, by a server, a subscription notification message, the method further comprises:

obtaining, by the server, the first configuration information and the second configuration information, wherein the first configuration information comprises configuration information of an instance of a first node, the second configuration information comprises configuration information of an instance of a second node associated with the first node, the configuration information of the instance of the second node associated with the first node is configuration information obtained after the instance of the second node satisfies a first constraint condition and a configuration of an instance of the second node changes, and that a configuration of an instance of the second node changes comprises:

an attribute value of the instance of the second node changes, an instance of the second node is added, or an instance of the second node is deleted.

5. The method according to claim 4 , wherein the method further comprises:

receiving, by the server, a subscription request message from the client, wherein the subscription request message comprises first indication information and second indication information, the first indication information is for indicating the subscribed first configuration information, and the second indication information is for indicating the subscribed second configuration information.

6. The method according to claim 4 , wherein before the generating, by a server, a subscription notification message, the method further comprises:

obtaining, by the server, the first configuration information and the second configuration information, wherein the first configuration information comprises configuration information of an instance of a first node, the configuration information of the instance of the first node is configuration information obtained after a configuration of an instance of the first node changes, the second configuration information comprises configuration information of an instance of a second node associated with the first node, and that a configuration of an instance of the first node changes comprises:

an attribute value of the instance of the first node changes, an instance of the first node is added, or an instance of the first node is deleted.

7. A configuration information subscription apparatus, comprising:

a processor configured to obtain a subscription request message, wherein the subscription request message comprises first indication information and second indication information, the first indication information indicates subscribed first configuration information, and the second indication information indicates subscribed second configuration information associated with the first configuration information; and

a transceiver configured to send the subscription request message to a server;

wherein if a YANG model of the first node describes that the second node is of a leafref type, the subscription request message comprises a leaf-ref-sub field, to subscribe to the configuration information of the instance of the second node associated with the first node, wherein

if the subscription request message further comprises target field information of the second configuration information, the subscription notification message comprises a target field in the second configuration information; or

if the subscription request message is for indicating to subscribe to second configuration information of a target node instance, the subscription notification message comprises the second configuration information of the target node instance.

8. The apparatus according to claim 7 , wherein the transceiver is further configured to receive a subscription notification message from the server, wherein the subscription notification message comprises the first configuration information and the second configuration information.

9. The apparatus according to claim 8 , wherein the first configuration information comprises configuration information of an instance of a first node, and the second configuration information comprises configuration information of an instance of a second node associated with the first node.

10. The apparatus according to claim 9 , wherein the configuration information of the instance of the first node is configuration information obtained after a configuration of an instance of the first node changes, and that a configuration of an instance of the first node changes comprises:

an attribute value of the instance of the first node changes, an instance of the first node is added, or an instance of the first node is deleted.

11. The apparatus according to claim 9 , wherein the configuration information of the instance of the second node associated with the first node is configuration information obtained after the instance of the second node satisfies a first constraint condition and a configuration of an instance of the second node changes, and that a configuration of an instance of the second node changes comprises:

an attribute value of the instance of the second node changes, an instance of the second node is added, or an instance of the second node is deleted.

12. A configuration information subscription apparatus, comprising:

a processor configured to generate a subscription notification message, wherein the subscription notification message comprises first configuration information and second configuration information, and the second configuration information is associated with the first configuration information; and

a transceiver configured to send the subscription notification message to a client,

wherein the processor is further configured to obtain the first configuration information and the second configuration information, wherein the first configuration information comprises configuration information of an instance of a first node, the second configuration information comprises configuration information of an instance of a second node associated with the first node, the configuration information of the instance of the second node associated with the first node is configuration information obtained after the instance of the second node satisfies a first constraint condition and a configuration of an instance of the second node changes, and that a configuration of an instance of the second node changes comprises:

an attribute value of the instance of the second node changes, an instance of the second node is added, or an instance of the second node is deleted.

13. The apparatus according to claim 12 , wherein the transceiver is further configured to receive a subscription request message from the client, wherein the subscription request message comprises first indication information and second indication information, the first indication information indicates the subscribed first configuration information, and the second indication information indicates the subscribed second configuration information.

14. The apparatus according to claim 12 , wherein the processor is further

configured to obtain the first configuration information and the second configuration information, wherein the first configuration information comprises configuration information of an instance of a first node, the configuration information of the instance of the first node is configuration information obtained after a configuration of an instance of the first node changes, the second configuration information comprises configuration information of an instance of a second node associated with the first node, and that a configuration of an instance of the first node changes comprises:

an attribute value of the instance of the first node changes, an instance of the first node is added, or an instance of the first node is deleted.

15. The apparatus according to claim 12 , wherein if a YANG model of a first node describes that a second node is of a leafref type, the subscription request message comprises a leaf-ref-sub field, to subscribe to the configuration information of the instance of the second node associated with the first node, wherein

if the subscription request message further comprises target field information of the second configuration information, the subscription notification message comprises a target field in the second configuration information; or

if the subscription request message is for indicating to subscribe to second configuration information of a target node instance, the subscription notification message comprises the second configuration information of the target node instance.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 24, 2022
From: ZHENG, GUANGYING; LIU, BIN
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 060886/0124 →
Priority Claims (1)
CN 202010006414.0 · Jan 3, 2020 · national
Continuity (2)
Continuation PCTCN2020116170 · Sep 18, 2020
Related Publication 20220337479A1 · Oct 20, 2022