Notification sending method and apparatus, network device, and storage medium

CN119276704BActive Publication Date: 2026-10-27ZTE CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310777987.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-28
Publication Date
2026-10-27
Estimated Expiration
2043-06-28

AI Technical Summary

Technical Problem

然而,在网络配置服务端向网络配置客户端发送的配置变更通知中,通常含有大量冗余信息,网络配置客户端还需要对其中的冗余信息进行处理,造成通信资源浪费以及通信压力大、网络管理设备的数据处理压力大的问题

Benefits of technology

[0012]本发明实施例提供一种通知发送方法、装置、网络设备及存储介质,通过接收第一客户端发送的配置变更指令,并根据所述配置变更指令执行对应的配置变更操作,以更新所述网络设备的配置信息;根据更新后的所述配置信息向目标客户端发送配置变更通知,其中,所述目标客户端为除所述第一客户端之外,且订阅了所述配置变更通知的客户端。由于不会向下达配置变更指令的客户端发送配置变更通知,减少了客户端接收到的冗余信息数量,降低了客户端与网络设备之间的通信压力以及客户端的数据处理压力,提高了客户端与网络设备之间的通信效率。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119276704B_ABST
    Figure CN119276704B_ABST
Patent Text Reader

Abstract

The embodiment of the application provides a notification sending method and device, network equipment and a storage medium, and belongs to the technical field of communication. The method is applied to network equipment and includes the following steps: receiving a configuration change instruction sent by a first client, performing a corresponding configuration change operation according to the configuration change instruction, and updating configuration information of the network equipment; and sending a configuration change notification to a target client according to the updated configuration information, wherein the target client is a client other than the first client and subscribes to the configuration change notification. The number of redundant information received by the client is reduced, the communication pressure between the client and the network equipment and the data processing pressure of the client are reduced, and the communication efficiency between the client and the network equipment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication technology, and in particular to a notification sending method, apparatus, network device, and storage medium. Background Technology

[0002] Network management devices can install, operate, and delete network device configurations, as well as obtain network device configuration and status information, through the Network Configuration Protocol (NETCONF) or the Representational State Transfer (RESTCONF) protocol. Specifically, the network configuration server within a network device can send a configuration change notification to network configuration clients in the network management device that have subscribed to configuration change notifications when the network device's configuration information changes. However, the configuration change notification sent by the network configuration server to the network configuration client typically contains a large amount of redundant information. The network configuration client also needs to process this redundant information, resulting in wasted communication resources and high communication and data processing pressure on the network management device. Summary of the Invention

[0003] This invention provides a notification sending method, apparatus, network device, and storage medium, aiming to reduce the communication pressure between the client and the network device.

[0004] In a first aspect, embodiments of the present invention provide a notification sending method applied to a network device, the method comprising:

[0005] The system receives a configuration change instruction sent by the first client and performs a corresponding configuration change operation according to the configuration change instruction to update the configuration information of the network device.

[0006] A configuration change notification is sent to the target client based on the updated configuration information, wherein the target client is a client other than the first client that has subscribed to the configuration change notification.

[0007] Secondly, embodiments of the present invention also provide a notification sending device, the notification sending device comprising:

[0008] The configuration update module is used to receive a configuration change instruction sent by the first client, and perform a corresponding configuration change operation according to the configuration change instruction to update the configuration information of the network device;

[0009] The notification sending module is used to send a configuration change notification to the target client based on the updated configuration information, wherein the target client is a client other than the first client that has subscribed to the configuration change notification.

[0010] Thirdly, embodiments of the present invention also provide a network device, the network device including a processor, a memory, a computer program stored in the memory and executable by the processor, and a data bus for implementing connection communication between the processor and the memory, wherein when the computer program is executed by the processor, it implements the steps of any notification sending method provided in the embodiments of the present invention.

[0011] Fourthly, embodiments of the present invention also provide a storage medium for computer-readable storage, characterized in that the storage medium stores one or more programs, which can be executed by one or more processors to implement the steps of any notification sending method provided in the embodiments of the present invention.

[0012] This invention provides a notification sending method, apparatus, network device, and storage medium. The method involves receiving a configuration change instruction from a first client and performing a corresponding configuration change operation based on the instruction to update the network device's configuration information. A configuration change notification is then sent to a target client, which is a client other than the first client that has subscribed to the configuration change notification. Because the configuration change notification is not sent to the client that issued the configuration change instruction, the amount of redundant information received by the client is reduced, lowering the communication pressure between the client and the network device, as well as the client's data processing pressure, and improving the communication efficiency between the client and the network device. Attached Figure Description

[0013] Figure 1 This is a flowchart illustrating the steps of a notification sending method provided in an embodiment of the present invention;

[0014] Figure 2 A schematic block diagram illustrating an application scenario of a notification sending method provided in an embodiment of the present invention;

[0015] Figure 3 A flowchart illustrating the steps of a notification sending method according to another embodiment of the present invention;

[0016] Figure 4 A flowchart illustrating the sub-steps of a notification sending method according to another embodiment of the present invention;

[0017] Figure 5 A flowchart illustrating the sub-steps of a notification sending method according to another embodiment of the present invention;

[0018] Figure 6 A schematic block diagram of a notification sending device provided in an embodiment of the present invention;

[0019] Figure 7 This is a schematic block diagram of a network device provided in an embodiment of the present invention. Detailed Implementation

[0020] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0021] The flowchart shown in the attached diagram is for illustrative purposes only and does not necessarily include all content and operations / steps, nor does it necessarily have to be performed in the order described. For example, some operations / steps can be broken down, combined, or partially merged, so the actual execution order may change depending on the actual situation.

[0022] It should be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.

[0023] The following detailed description of some embodiments of the present invention is provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.

[0024] Please refer to Figure 1 , Figure 1 This is a flowchart illustrating the steps of a notification sending method provided in an embodiment of the present invention.

[0025] This invention provides a notification sending method, apparatus, network device, and storage medium. The notification sending method can be applied to a network device that communicates with a network management device based on the Network Configuration Protocol (NETCONF) or the Representational State Transfer (RESTCONF) protocol.

[0026] Please refer to Figure 2 , Figure 2 This is a schematic block diagram illustrating an application scenario of a notification sending method provided in an embodiment of the present invention.

[0027] like Figure 2 As shown, the configuration library in the network device is used to record the configuration information of the network device. When the configuration information of the network device changes, the network device will send the configuration information change notification to the NETCONF client that has subscribed to the notification through the NETCONF server.

[0028] In related technologies, the Network Configuration Protocol (NETCONF) is a protocol that provides configuration management for network data devices, using Extensible Markup Language (XML) to transmit data and protocol information. The NETCONF server sends configuration change notifications to all NETCONF clients that have subscribed to the notification. However, the NETCONF client that caused the configuration change does not need to receive the configuration change notification to determine the network device's configuration change. If the NETCONF client that caused the configuration change has also subscribed to the configuration change notification, it will also receive the notification, making the configuration change notification redundant.

[0029] In the notification sending method provided in this application embodiment, the configuration change notification to be sent is filtered by a notification filter, so that the NETCONF server will not send the configuration change notification to the NETCONF client that caused the change, thereby reducing the communication pressure between the NETCONF client and the network device, as well as the data processing pressure of the NETCONF client.

[0030] For example, the NETCONF client can be a network management device or a module within a network management device; no limitation is made here.

[0031] Understandable. Figure 2 This is merely an example of an embodiment of this application and does not limit the technical solution of this application. For example, the NETCONF server and NETCONF client can also be the RESTCONF server and RESTCONF client.

[0032] like Figure 1 As shown, the notification sending method includes steps S101 to S102.

[0033] Step S101: Receive the configuration change instruction sent by the first client, and perform the corresponding configuration change operation according to the configuration change instruction to update the configuration information of the network device.

[0034] For example, the first client sends a configuration change command to the network device, instructing the network device to perform a configuration change operation and update the configuration information in the network device's configuration library.

[0035] For example, the configuration change command can be the edit-config command, which edits the configuration information in the configuration library. Of course, it is not limited to this, and the configuration change command can also be other commands, which are not limited here.

[0036] Step S102: Send a configuration change notification to the target client according to the updated configuration information, wherein the target client is a client other than the first client that has subscribed to the configuration change notification.

[0037] For example, in response to a configuration change operation of a network device, the server in the network device will send a configuration change instruction to the client that has subscribed to the configuration change notification, so that the client that has subscribed to the configuration change notification will be informed in a timely manner that the network device configuration information has changed.

[0038] For example, since the change in configuration information is caused by a configuration change command from the first client, the first client is already aware of the configuration change in the network device during the interaction with the network device via the configuration change command. Therefore, the configuration change information sent to the first client is redundant.

[0039] For example, in order to avoid the first client receiving redundant configuration change notifications, in the notification sending method provided in this application, when the network device sends a configuration change notification to the target client in response to a change in configuration information, it identifies clients other than the first client that have subscribed to configuration change notifications as the target client.

[0040] For example, a configuration change notification is used to inform the target client in a timely manner that the configuration information of the network device has changed. The configuration change notification includes at least a configuration information name and configuration change information; wherein, the configuration information name is used to indicate which configuration information has been changed, and the configuration change information is used to indicate the specific content of the changed configuration information.

[0041] For example, since configuration change notifications that indicate changes in configuration information are not sent to the first client that caused the change, the amount of redundant information received by the first client is reduced, the communication pressure between the client and the network device and the data processing pressure of the client are reduced, and the communication efficiency between the client and the network device is improved.

[0042] Please refer to Figure 3 , Figure 3 This is a flowchart illustrating the steps of a notification sending method according to another embodiment of the present invention.

[0043] like Figure 3As shown, in some embodiments, the network device includes a server, and the method further includes step S201 before receiving the configuration change instruction sent by the first client: the server interacts with the first client through messages, and filters the first client when determining the target client to receive the configuration change notification based on the result of the message interaction.

[0044] For example, the sending of configuration change notifications is implemented by the server in the network device. When the configuration information of a node or node instance in the configuration library changes, the server generates a configuration change notification, converts the configuration change notification into a format that the client can recognize, and then sends it to the client.

[0045] For example, the first client can interact with the server of the network device through messages, instructing the server to filter the first client when sending configuration change notifications.

[0046] Please refer to Figure 4 , Figure 4 A flowchart illustrating the sub-steps of a notification sending method according to another embodiment of the present invention.

[0047] like Figure 4 As shown, in some embodiments, the network device includes a server. Step S201 interacts with the first client via messages, and filters the first client when determining the target client to receive the configuration change notification based on the result of the message interaction. This includes: Step S2011a, sending a first message to the first client, the first message indicating the capability information supported by the server, the capability information indicated by the first message including the capability to filter the first client when determining the target client to receive the configuration change notification; Step S2012a, receiving a second message sent by the first client based on the first message, the second message indicating the capability information available to the server, the capability information indicated by the second message including the capability to filter the first client when determining the target client to receive the configuration change notification.

[0048] For example, according to the NETCONF protocol, when a connection is established between a client and a server, both parties need to send HELLO messages to each other. The server and client determine their respective supported capabilities by sending HELLO messages to each other. If both parties' HELLO messages include the same capability information, an agreement can be reached to enable that capability.

[0049] For example, by adding capability information to the HELLO message between the NETCONF server and the first NETCONF client, the NETCONF server is instructed to filter the first NETCONF client when determining the target NETCONF client to receive the configuration change notification.

[0050] For example, if the capability information indicated in the first HELLO message and the second HELLO message exchanged between the first client and the server both include the capability to filter the first client when determining the target client receiving the configuration change notification, the server can filter the first client when determining the target client through the interaction of HELLO messages.

[0051] For example, there is no limitation on the sending order of the first client and the server. It is possible that the first client sends the first message first, and the server sends the second message based on the first message; or the server sends the first message first, and the first client sends the second message based on the first message.

[0052] Specifically, by adding the following field to the HELLO messages exchanged between the NETCONF server and the first NETCONF client, the NETCONF server is instructed to filter the first NETCONF client when determining the target NETCONF client to receive the configuration change notification: <capability> urn:ietf:params:netconf:capability:yangpush:selfexclude:1.0< / capability> .

[0053] Please refer to Figure 5 , Figure 5 This is a flowchart illustrating the sub-steps of a notification sending method provided in another embodiment of the present invention.

[0054] like Figure 5 As shown, in some embodiments, the step of interacting with the first client via messages and filtering the first client when determining the target client to receive the configuration change notification based on the result of the message interaction includes: step S2011b, receiving a first subscription message sent by the first client, wherein the first subscription message is at least used to instruct the server to filter the first client when determining the target client to receive the configuration change notification; step S2012b, sending a subscription success message to the first client based on the subscription message.

[0055] For example, the first client may also instruct the server to filter the first client when determining the target client to receive the configuration change notification in the subscription message when subscribing to the configuration change notification.

[0056] For example, the sending of configuration change notifications can be implemented using the YANG model. YANG is a data modeling language used to describe data models related to NETCONF network configurations and network states. YANG itself is not a data model, but rather a language for defining data models; a model built using the YANG language is simply called a YANG model. Therefore, subscription messages can be used to instruct the YANG model to filter the first client when determining the target client to receive the configuration change notification.

[0057] For example, by adding the following field to the subscription message, the YANG model can be instructed to filter the first client when determining the target client to receive configuration change notifications: <yangpush-dev:excluded-self-chang e xmlns:yangpush-dev="http: / / www.zte.com.cn / zxr10 / netconf / schema / rosng / yangpus h-dev"> enable.

[0058] For example, a successful subscription message confirms that the server has received the first subscription message and has successfully configured the system based on the first subscription message.

[0059] In some implementations, receiving the configuration change instruction sent by the first client includes: obtaining a first identifier of the first client based on the configuration change instruction; sending a configuration change notification to the target client according to the updated configuration information includes: determining the target identifier of the target client from a second identifier of clients that have subscribed to the configuration change notification, based on the first identifier.

[0060] For example, when a configuration change instruction is received, the first client that sent the configuration change instruction is determined based on the first identifier of the first client in the configuration change instruction. Subsequently, when sending a configuration change message, the first identifier is filtered from the second identifier of the client that has subscribed to the configuration change notification to obtain the target identifier of the target client that received the configuration change message.

[0061] In some implementations, determining the target identifier of the target client from the second identifiers of clients that have subscribed to the configuration change notification based on the first identifier includes: determining the second identifier of the second client that has subscribed to the configuration change notification based on a preset notification subscription list; and determining the client identifiers other than the first identifier in the second identifier as the target identifier.

[0062] For example, when sending a configuration change notification caused by a configuration change instruction to the first client, the client identifier other than the first identifier in the second identifier is determined as the target identifier, so that when sending the configuration change notification according to the target identifier, it is only sent to clients other than the first client that have subscribed to the configuration change notification.

[0063] In some implementations, the method further includes: determining a notification subscription list based on a second subscription message sent by a second client, the notification subscription list including a second identifier of a second client that has subscribed to the configuration change notification.

[0064] For example, a NETCONF client subscribes to configuration change notifications from a NETCONF server in a network device via a subscription message. Here, "second client" refers to all NETCONF clients that have subscribed to configuration change notifications from the network device, and "second identifier" is the client identifier of all NETCONF clients that have subscribed to configuration change notifications from the network device. It is understood that the second client includes the first client, and the second identifier includes the first identifier.

[0065] For example, the second subscription message can be the first subscription message used to instruct the server to filter when sending configuration change notifications, or it can be a regular subscription message other than the first subscription message; there is no limitation here.

[0066] For example, a network device can determine a notification subscription list based on the received second subscription message, so that when a configuration message changes subsequently, it can send a configuration change notification to the corresponding client based on the second identifier in the configuration list.

[0067] The notification sending method provided in the above embodiments receives a configuration change instruction sent by a first client, and performs a corresponding configuration change operation according to the configuration change instruction to update the configuration information of the network device; and sends a configuration change notification to a target client according to the updated configuration information, wherein the target client is a client other than the first client that has subscribed to the configuration change notification. Since the configuration change notification is not sent to the client that issued the configuration change instruction, the amount of redundant information received by the client is reduced, the communication pressure between the client and the network device and the data processing pressure on the client are reduced, and the communication efficiency between the client and the network device is improved.

[0068] Please refer to Figure 6 , Figure 6 This is a schematic block diagram of a notification sending device provided in an embodiment of the present invention. The notification sending device can be configured in a server or terminal to execute the aforementioned notification sending method.

[0069] like Figure 6As shown, the notification sending device includes: a configuration update module 110 and a notification sending module 120.

[0070] The configuration update module is used to receive a configuration change instruction sent by the first client, and perform a corresponding configuration change operation according to the configuration change instruction to update the configuration information of the network device;

[0071] The notification sending module is used to send a configuration change notification to the target client based on the updated configuration information, wherein the target client is a client other than the first client that has subscribed to the configuration change notification.

[0072] It should be noted that those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the above-described apparatus and its modules and units can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0073] The methods and apparatus of this application can be used in a wide variety of general-purpose or special-purpose computing system environments or configurations. Examples include: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics devices, network PCs, minicomputers, mainframe computers, and distributed computing environments including any of the above systems or devices. This application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform specific tasks or implement specific abstract data types. This application can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.

[0074] Please see Figure 7 , Figure 7 This is a schematic block diagram of the structure of a network device provided in an embodiment of the present invention.

[0075] like Figure 7 As shown, the network device 300 includes a processor 301 and a memory 302, which are connected via a bus 303, such as an I2C (Inter-integrated Circuit) bus.

[0076] Specifically, processor 301 provides computing and control capabilities to support the operation of the entire network device. Processor 301 can be a Central Processing Unit (CPU), but it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.

[0077] Specifically, the memory 302 can be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB flash drive, or a portable hard drive, etc.

[0078] Those skilled in the art will understand that Figure 7 The structures shown are merely block diagrams of some structures related to embodiments of the present invention and do not constitute a limitation on the network devices to which the embodiments of the present invention are applied. Specific network devices may include more or fewer components than those shown in the figures, or combine certain components, or have different component arrangements.

[0079] The processor is configured to run a computer program stored in a memory, and to implement any of the notification sending methods provided in the embodiments of the present invention when executing the computer program.

[0080] In one embodiment, the processor is configured to run a computer program stored in memory, and when executing the computer program, perform the following steps:

[0081] The system receives a configuration change instruction sent by the first client and performs a corresponding configuration change operation according to the configuration change instruction to update the configuration information of the network device.

[0082] A configuration change notification is sent to the target client based on the updated configuration information, wherein the target client is a client other than the first client that has subscribed to the configuration change notification.

[0083] It should be noted that those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process of the network device described above can be referred to the corresponding process in the aforementioned notification sending method embodiments, and will not be repeated here.

[0084] This invention also provides a storage medium for computer-readable storage, wherein the storage medium stores one or more programs that can be executed by one or more processors to implement the steps of any notification sending method provided in this invention.

[0085] The storage medium can be an internal storage unit of the network device described in the foregoing embodiments, such as the hard drive or memory of the network device. Alternatively, the storage medium can be an external storage device of the network device, such as a plug-in hard drive, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card equipped on the network device.

[0086] It will be understood by those skilled in the art that all or some of the steps, systems, or apparatuses disclosed above, and their functional modules / units, can be implemented as software, firmware, hardware, or suitable combinations thereof. In hardware implementations, the division between functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit (ASIC). Such software may be distributed on a computer-readable medium, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.

[0087] The sequence numbers of the above embodiments of the present invention are merely for descriptive purposes and do not represent the superiority or inferiority of the embodiments. The above descriptions are only specific implementations of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A notification sending method, characterized in that, Applied to network devices, the method includes: The system receives a configuration change instruction sent by the first client and performs a corresponding configuration change operation according to the configuration change instruction to update the configuration information of the network device. A configuration change notification is sent to the target client based on the updated configuration information, wherein the target client is a client other than the first client that has subscribed to the configuration change notification; The step of receiving the configuration change instruction sent by the first client includes: Based on the configuration change instruction, obtain the first identifier of the first client; The step of sending a configuration change notification to the target client based on the updated configuration information includes: Based on the first identifier, the target identifier of the target client is determined from the second identifier of the client that has subscribed to the configuration change notification.

2. The notification sending method according to claim 1, characterized in that, The network device includes a server, and the method further includes, before receiving the configuration change instruction sent by the first client: The server interacts with the first client via messages, and filters the first client when determining the target client to receive the configuration change notification based on the result of the message interaction.

3. The notification sending method according to claim 2, characterized in that, The step of interacting with the first client via messages, and filtering the first client when determining the target client to receive the configuration change notification based on the result of the message interaction, includes: Send a first message to the first client. The first message is used to indicate the capability information supported by the server. The capability information indicated by the first message includes the capability to filter the first client when determining the target client that receives the configuration change notification. The server receives a second message sent by the first client based on the first message. The second message is used to indicate the capability information available to the server. The capability information indicated by the second message includes the capability to filter the first client when determining the target client receiving the configuration change notification.

4. The notification sending method according to claim 2, characterized in that, The step of interacting with the first client via messages, and filtering the first client when determining the target client to receive the configuration change notification based on the result of the message interaction, includes: The server receives a first subscription message sent by the first client, the first subscription message being at least used to instruct the server to filter the first client when determining the target client receiving the configuration change notification; Based on the subscription message, a subscription success message is sent to the first client.

5. The notification sending method according to claim 1, characterized in that, The step of determining the target identifier of the target client from the second identifier of clients that have subscribed to the configuration change notification based on the first identifier includes: Based on a preset notification subscription list, a second identifier of the second client that has subscribed to the configuration change notification is determined; The client identifier other than the first identifier in the second identifier is determined as the target identifier.

6. The notification sending method according to claim 5, characterized in that, The method further includes: Based on the second subscription message sent by the second client, a notification subscription list is determined, the notification subscription list including the second identifier of the second client that has subscribed to the configuration change notification.

7. A notification sending device, characterized in that, The notification sending device includes: The configuration update module is used to receive the configuration change instruction sent by the first client, and perform the corresponding configuration change operation according to the configuration change instruction to update the configuration information of the network device; The notification sending module is used to send a configuration change notification to the target client according to the updated configuration information, wherein the target client is a client other than the first client that has subscribed to the configuration change notification; The step of receiving the configuration change instruction sent by the first client includes: Based on the configuration change instruction, obtain the first identifier of the first client; The step of sending a configuration change notification to the target client based on the updated configuration information includes: Based on the first identifier, the target identifier of the target client is determined from the second identifier of the client that has subscribed to the configuration change notification.

8. A network device, characterized in that, The network device includes a processor, a memory, a computer program stored in the memory and executable by the processor, and a data bus for enabling communication between the processor and the memory, wherein the computer program, when executed by the processor, implements the steps of the notification sending method as described in any one of claims 1 to 6.

9. A storage medium for computer-readable storage, characterized in that, The storage medium stores one or more programs, which can be executed by one or more processors to implement the steps of the notification sending method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Distributed system and configuration information updating method in distributed system

    CN104092718A