Information synchronization methods, systems, switching equipment and controllers

By using an automatic feedback mechanism for switching equipment to synchronize configuration changes in real time, the problem of misalignment between controller and switching equipment configurations is solved, achieving higher synchronization accuracy and business security.

CN119520279BActive Publication Date: 2025-10-31CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311062979.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-23
Publication Date
2025-10-31
Estimated Expiration
2043-08-23

AI Technical Summary

Technical Problem

During the configuration synchronization process of controllers and switching equipment, existing technologies cannot detect configuration changes caused by manual adjustments in real time, resulting in configuration asynchrony and affecting the security of business operations.

Method used

The switching device responds to configuration changes, obtains the change information, and automatically sends synchronization information to the controller when operated by a non-pre-configured operator. The data is encapsulated and transmitted using the controller's data format. The controller receives and stores the change information to achieve automatic real-time synchronization.

Benefits of technology

It improves the accuracy of configuration information synchronization of switching equipment, reduces the risk of configuration conflicts, and enhances service security and operational efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119520279B_ABST
    Figure CN119520279B_ABST
Patent Text Reader

Abstract

This disclosure relates to an information synchronization method, system, switching device, and controller, and pertains to the field of communication technology. The method disclosed herein is executed by a switching device in a software-defined network, and includes: in response to a change in the configuration of the switching device, obtaining change information, wherein the change information includes an operator's ID and the content of the change; and, if the operator is an operator other than one pre-configured by the controller, sending synchronization information to the controller, wherein the synchronization information includes the change information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of communication technology, and in particular to an information synchronization method, system, switching device, and controller. Background Technology

[0002] As network scale expands and device service configurations surge, automated service configuration is increasingly being deployed. For automated configuration, data accuracy is paramount. If the configurations of controllers and switching devices (e.g., routers) are out of sync, it can lead to incorrect overwriting of existing configurations, impacting normal service operation. This is a key concern for network operations personnel. In actual network maintenance, manual configuration is an indispensable part, typically involving manual synchronization. However, controllers managing switching devices cannot automatically detect such configuration changes, resulting in asynchrony and posing potential safety hazards.

[0003] In related technologies, the controller collects and exchanges device configuration information through a periodic active polling mechanism and saves the corresponding configuration information into a database. Summary of the Invention

[0004] The inventors discovered that there is a gap between two data collections by the controller. If maintenance personnel make manual adjustments during this gap, the controller cannot detect the configuration changes in real time, which may lead to incorrect modifications to the existing configuration.

[0005] One of the technical problems this disclosure aims to solve is: how to improve the accuracy of configuration information synchronization of switching devices.

[0006] According to some embodiments of this disclosure, an information synchronization method is provided, executed by a switching device in a software-defined network, comprising: in response to a change in the configuration of the switching device, obtaining change information, wherein the change information includes an operator's ID and change content; and, if the operator is an operator other than one pre-configured by the controller, sending synchronization information to the controller, wherein the synchronization information includes the change information.

[0007] In some embodiments, sending synchronization information to the controller includes: converting change information into a data format requested by the controller; and using the controller's control protocol to encapsulate the converted change information into synchronization information and send it to the controller.

[0008] In some embodiments, the method further includes: receiving a subscription request sent by the controller, wherein the subscription request includes an operator ID pre-configured by the controller and a data format requested by the controller; storing the operator ID pre-configured by the controller and the data format requested by the controller; and sending a subscription response to the controller, wherein the subscription response includes a subscription result.

[0009] In some embodiments, the data format includes: a generic layer interface format and / or an extensible markup language format; or subscription requests and subscription responses are sent using a control protocol.

[0010] In some embodiments, the method further includes storing change information, wherein the change information further includes at least one of change time, change type, and configuration method adopted for the change.

[0011] In some embodiments, the method further includes: interacting with the controller to complete the controller's management configuration of the switching device; and enabling change awareness capability in response to the controller's capability activation instruction.

[0012] According to some other embodiments of this disclosure, an information synchronization method is provided, executed by a controller in a software-defined network, comprising: receiving synchronization information sent by a switching device, wherein the synchronization information is sent by the switching device in response to a configuration change, including change information of a route configuration changed by an operator other than an operator pre-configured by the controller, the change information including the operator's ID and the change content; and storing the change information.

[0013] In some embodiments, the method further includes: sending a subscription request to the switching device, wherein the subscription request includes: an operator ID pre-configured by the controller and a data format requested by the controller; and receiving subscription response information sent by the switching device, wherein the subscription response information includes a subscription result.

[0014] In some embodiments, change information is converted into the data format requested by the controller; or synchronization information, subscription requests, and subscription response information are transmitted using the controller's control protocol.

[0015] In some embodiments, the method further includes: interacting with the switching device to complete the management configuration of the switching device; sending a capability activation instruction to the switching device to enable the change awareness capability, wherein sending a subscription request to the switching device includes: sending a subscription request to the switching device if it is confirmed that the switching device has enabled the change awareness capability.

[0016] In some embodiments, the method further includes: storing the current configuration of the switching device according to the change information; verifying the changed parameters according to the current configuration of the switching device when the parameters of the service are changed; and completing the change of the service parameters if the verification is passed; or reporting the change information to the resource management system so that the resource management system can analyze or display the change information.

[0017] According to some embodiments of this disclosure, a switching device is provided, comprising: an acquisition module, configured to acquire change information in response to a change in the configuration of the switching device, wherein the change information includes an operator ID and change content; and a sending module, configured to send synchronization information to a controller when the operator is an operator other than the operator pre-configured by the controller, wherein the synchronization information includes the change information.

[0018] According to some embodiments of this disclosure, a controller is provided, comprising: a receiving module for receiving synchronization information sent by a switching device, wherein the synchronization information is sent by the switching device in response to a configuration change, including change information of a route configuration changed by an operator other than an operator pre-configured by the controller, the change information including the operator's ID and the change content; and a storage module for storing the change information.

[0019] According to some other embodiments of this disclosure, an information synchronization system is provided, including: the switching device and controller of any of the foregoing embodiments.

[0020] According to further embodiments of this disclosure, an electronic device is provided, comprising: a processor; and a memory coupled to the processor for storing instructions, which, when executed by the processor, cause the processor to perform an information synchronization method as described in any of the foregoing embodiments.

[0021] According to some other embodiments of the present disclosure, a non-transitory computer-readable storage medium is provided, on which a computer program is stored, wherein the program, when executed by a processor, implements the information synchronization method of any of the foregoing embodiments.

[0022] In this disclosure, once the configuration of the switching equipment is changed, the change information is obtained. If the operator making the change is not one of the operators pre-configured by the controller, the change information is sent to the controller via synchronization information. This disclosure employs an automatic feedback mechanism for real-time synchronization, proactively notifying the controller of configuration changes caused by corresponding operations, achieving automatic real-time synchronization. This improves the accuracy of configuration information synchronization for the switching equipment and enhances service security.

[0023] Other features and advantages of this disclosure will become clear from the following detailed description of exemplary embodiments with reference to the accompanying drawings. Attached Figure Description

[0024] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0025] Figure 1 A flowchart illustrating an information synchronization method according to some embodiments of this disclosure is shown.

[0026] Figure 2 A flowchart illustrating an information synchronization method according to other embodiments of this disclosure is shown.

[0027] Figure 3 A schematic diagram illustrating an information synchronization method according to some embodiments of this disclosure is shown.

[0028] Figure 4 A schematic diagram of the structure of a switching device according to some embodiments of the present disclosure is shown.

[0029] Figure 5 A schematic diagram of the structure of a controller according to some embodiments of the present disclosure is shown.

[0030] Figure 6 A schematic diagram of the structure of an information synchronization system according to some embodiments of the present disclosure is shown.

[0031] Figure 7 A schematic diagram of the structure of an electronic device according to some embodiments of the present disclosure is shown.

[0032] Figure 8 Schematic diagrams of the structure of electronic devices according to other embodiments of the present disclosure are shown. Detailed Implementation

[0033] The technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit this disclosure or its application or use. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without creative effort are within the scope of protection of this disclosure.

[0034] This disclosure proposes an information synchronization method applicable to Software Defined Networks (SDN), which is described below in conjunction with... Figures 1-3 Describe it.

[0035] Figure 1 Flowcharts are shown for some embodiments of the information synchronization method disclosed herein. For example... Figure 1 As shown, the method of this embodiment includes steps S102 to S106.

[0036] In step S102, the switching device receives change information in response to a change in its configuration.

[0037] In some embodiments, the change information includes the operator's ID and the content of the change. The switching device may store the change information, which may also include at least one of the following: change time, change type, and configuration method used in the change.

[0038] Changes to the switching equipment configuration may be affected by multiple operators. Therefore, the switching equipment needs to record information regarding configuration changes made by different operators, including the operator's ID and the details of each change (one or more). The operator's ID may be, for example, a login account. Change types may include, for example, adding or deleting.

[0039] The configuration methods used for changes include, for example, protocol type and management method. For switching equipment configuration, there may be multiple management methods and protocols used. The switching equipment can record which method the operator used for configuration management. For example, network management / controllers can automatically configure and manage the switching equipment using protocols such as NETCONF (Network Configuration Protocol), BGP (Border Gateway Protocol), and PCEP (Path Computation Element Communication Protocol). Administrators can also manually configure and manage the switching equipment by directly logging into the device or through the network management system using SNMP (Simple Network Management Protocol). Change information can be recorded in logs or databases, but it needs to have easy retrieval capabilities for message transmission.

[0040] In some embodiments, the change information is recorded as shown in Table 1. For example, changes to the configuration of the switching device include changes to VPN (Virtual Private Network) related information, ports, IP addresses, VLANs (Virtual Local Area Networks), ACLs (Access Control Lists), etc.

[0041] Table 1

[0042]

[0043]

[0044] Switching equipment facilitates operational traceability by comprehensively recording and storing change operations.

[0045] In some embodiments, the switching device compares the operator's ID in the change information with the operator's ID pre-configured by the controller to determine whether it is the operator pre-configured by the controller.

[0046] In step S104, if the operator is an operator other than the operator pre-configured by the controller, the switching device sends synchronization information to the controller, and the controller receives the synchronization information sent by the switching device.

[0047] Synchronization information includes change information. In some embodiments, the switching device converts the change information into a data format requested by the controller, uses the controller's control protocol, encapsulates the converted change information into synchronization information, and sends it to the controller.

[0048] For example, data formats include Common Layer Interface (CLI) format and / or Extensible Markup Language (XML) format. When the controller uses the YANG model, the data format can be the YANG model's XML format. XML is used for rapid processing and logging by the controller. CLI, on the other hand, provides a more intuitive and readable format for easier presentation.

[0049] Control protocols include NETCONF, SNMP, Telemetry, PCEP, or BGP. Change information can be carried in the payload portion of the synchronization information. After receiving the synchronization information, the controller can decapsulate it using the control protocol and read the change information.

[0050] In step S106, the controller stores the change information.

[0051] The controller can store the change information and the corresponding ID of the switching device, and can also determine the current configuration of the switching device based on the change information.

[0052] In the method of the above embodiments, once the configuration of the switching device changes, the change information is obtained. If the operator making the change is not an operator pre-configured by the controller, the change information is sent to the controller via synchronization information. In the method of the above embodiments, the switching device uses an automatic feedback mechanism for real-time synchronization, proactively notifying the controller of configuration changes caused by corresponding operations, achieving automatic real-time synchronization. This improves the accuracy of configuration information synchronization of the switching device and can reduce configuration conflicts to a certain extent. Furthermore, when problems are detected, the cause of the problem can be located more quickly, allowing for timely patching of related vulnerabilities and improved service security.

[0053] The following is combined Figure 2 Some other embodiments of the information synchronization method described herein are described.

[0054] Figure 2 Flowcharts are shown for some other embodiments of the information synchronization method disclosed herein. For example... Figure 2 As shown, the method of this embodiment includes steps S202 to S218.

[0055] In step S202, the controller interacts with the switching device to complete the controller's management and configuration of the switching device.

[0056] The controller can manage and configure multiple switching devices, completing the management of multiple switching devices. Before managing a switching device, the controller can confirm whether the switching device supports the corresponding control protocol. If the switching device supports the corresponding control protocol, the controller will then configure the switching device for management.

[0057] For example, when managing via the NETCONF protocol, the controller can first confirm whether SSH / NETCONF is accessible. If it is accessible, the controller establishes a NETCONF session with the switching device. The controller then uses the YANG model to verify and query the switching device's capabilities (software version, interfaces, performance data, board information, etc.) and records the switching device's capability information in the database.

[0058] In step S204, the controller sends a capability enable instruction to the switching device, and the switching device responds to the capability enable instruction by enabling the change sensing capability.

[0059] After the controller confirms that the switching equipment has enabled change detection capability, it will proceed with the subsequent procedures.

[0060] In step S206, the controller sends a subscription request to the switching device, and the switching device receives the subscription request sent by the controller.

[0061] In some embodiments, the subscription request includes the operator ID pre-configured by the controller and the data format requested by the controller.

[0062] The controller selects the data format and control protocol according to the requirements, determines the pre-configured operator based on the controller's operator, generates a subscription request, and submits the changed configuration to the switching device with the ID of the pre-configured operator and the requested data format.

[0063] In step S208, the switching device stores the operator ID pre-configured by the controller and the data format requested by the controller.

[0064] The switching device stores the operator ID and requested data format pre-configured by the controller for subsequent reporting.

[0065] In step S210, the switching device sends a subscription response to the controller.

[0066] For example, the switching device sends a notification to the controller that the subscription was successful. The subscription request and response are sent using the control protocol.

[0067] In step S212, the switching device receives change information in response to a change in its configuration.

[0068] In step S214, the switching device determines whether the operator is an operator other than the operator pre-configured by the controller. If so, step S216 is executed; otherwise, no further steps are required.

[0069] In step S216, the switching device sends synchronization information to the controller, wherein the synchronization information includes change information.

[0070] Whenever a pre-configured operator performs an operation on the configuration of the switching device, triggering the change detection capability of the switching device, the switching device, after detecting the configuration change caused by an operator other than the pre-configured operator, reports the change information to the controller in the data format requested by the controller, and the reporting protocol corresponds to the subscribed protocol.

[0071] In step S218, the controller synchronizes, stores, analyzes, or reports change information.

[0072] In some embodiments, before taking control, the current configuration of the switching equipment is stored based on the change information. If the parameters of the service are changed, the changed parameters are checked based on the current configuration of the switching equipment. If the check passes, the change of the service parameters is completed; or the change information is reported to the resource management system so that the resource management system can analyze or display the change information.

[0073] The controller itself has analytical and auditing capabilities, or it can be an analytical capability that is completed in cooperation with the upstream resource management system.

[0074] For example, configuration changes on switching equipment may include VPN, BGP, interfaces, QoS, etc. After these changes are synchronized to the controller, the controller needs to store and record the change information, generate records according to the business model, and have the corresponding processing capabilities in subsequent secondary services. For example, when secondary services involve changes to VPN parameters and IP addresses, the controller can audit the information based on the recorded information and process the changes after confirming that they are correct.

[0075] For example, the controller feeds back the synchronized change information, such as the status of network resources like VPN, IP, and VLAN (which ones are used and which ones are released), to the resource management system for synchronization and management, providing underlying data support for subsequent automated resource allocation and business configuration.

[0076] The change information can also be fed back to the upstream resource management system or business presentation system, allowing maintenance personnel to intuitively view the change information on the switching equipment, which facilitates problem tracing.

[0077] The following describes some application examples of this disclosure.

[0078] A telecom operator has built a new network in Province A and plans to use a controller to manage it, responsible for the automated activation of new services. Currently, the main services in Province A are on the existing network and need to be gradually migrated to this new network. Due to the incomplete migration process and supporting systems, manual migration is currently the only option. Furthermore, inconsistencies exist between the new and existing networks in resource data planning (e.g., VPN-related information, trunk circuits, ports, IPs, VLANs, ACLs, service paths, etc., with different values ​​assigned to different users), and the need for daily maintenance also involve manual operations. These manual operations cannot be automatically synchronized to the controller. The controller itself is responsible for the data it configures and needs to understand the configuration information on the switching equipment and the correspondence between services; therefore, it needs to synchronize the data from each manual configuration, incurring additional labor costs. In this situation, the method disclosed herein can be used to achieve automatic synchronization and improve efficiency.

[0079] like Figure 3 As shown, to support automatic synchronization, after the controller completes the management of all switching devices in the newly built network in Province A (for example, the controller completes the device management via the netconf protocol, and the switching devices have enabled the netconf function), it confirms that all managed switching devices have enabled change awareness. The controller plans to use the netconf protocol to interact with the devices.

[0080] The controller subscribes to changed configurations in batches to the managed switching devices using pre-configured operator IDs (e.g., specifying the username as "controller") and the requested data format (CLI + YANG model XML). The CLI is used to provide this information to operations and maintenance personnel for direct review; the YANG model XML is used for synchronization within the controller itself. The managed switching devices report successful subscription to the controller. When operations and maintenance personnel perform some user service cutovers, the change detection capability of the switching devices is triggered.

[0081] When a cutover occurs and the switching equipment detects an operation performed by a user other than the operator pre-configured by the controller, resulting in configuration changes, it reports the changes to the controller in the data format requested by the controller (CLI+YANG model XML). Upon receiving the synchronization information reported by the switching equipment, the controller synchronizes the cutover data, records the relationship between the current configuration and services, and can smoothly inherit subsequent secondary services. Simultaneously, the configuration changes resulting from the cutover can be presented to operations and maintenance personnel for review, checking for anomalies and preventing data conflicts that could cause further impact.

[0082] This disclosure also provides a switching device, which is described below in conjunction with... Figure 4 Describe it.

[0083] Figure 4 This is a structural diagram of some embodiments of the switching device disclosed herein. For example... Figure 4 As shown, the switching device 40 in this embodiment includes: an acquisition module 410 and a transmission module 420.

[0084] The acquisition module 410 is used to acquire change information in response to changes in the configuration of the switching device, wherein the change information includes the operator's ID and the content of the change.

[0085] The sending module 420 is used to send synchronization information to the controller when the operator is an operator other than the operator pre-configured by the controller. The synchronization information includes change information.

[0086] In some embodiments, the sending module 420 is used to convert the change information into the data format requested by the controller; and to encapsulate the converted change information into synchronization information and send it to the controller using the controller's control protocol.

[0087] In some embodiments, the switching device 40 further includes a receiving module 430 and a storage module 440. The receiving module 430 is used to receive a subscription request sent by the controller, wherein the subscription request includes the ID of the operator pre-configured by the controller and the data format requested by the controller. The storage module 440 is used to store the ID of the operator pre-configured by the controller and the data format requested by the controller. The sending module 420 is used to send a subscription response to the controller, wherein the subscription response includes a subscription result.

[0088] In some embodiments, the data format includes: a generic layer interface format and / or an extensible markup language format; or subscription requests and subscription responses are sent using a control protocol.

[0089] In some embodiments, the storage module 440 is further configured to store change information, wherein the change information further includes at least one of the following: change time, change type, and configuration method adopted for the change.

[0090] In some embodiments, the switching device 40 further includes a configuration module 450 for interacting with the controller to complete the controller's management configuration of the switching device; and for enabling change awareness capability in response to the controller's capability activation instruction.

[0091] This disclosure also provides a controller, which is described below in conjunction with... Figure 5 Describe it.

[0092] Figure 5 This is a structural diagram of some embodiments of the controller disclosed herein. Figure 5 As shown, the controller 50 in this embodiment includes: a receiving module 510 and a storage module 520.

[0093] The receiving module 510 is used to receive synchronization information sent by the switching device. The synchronization information is sent by the switching device in response to configuration changes, including change information of the route configuration changed by an operator other than the operator pre-configured by the controller. The change information includes the operator's ID and the change content.

[0094] Storage module 520 is used to store change information.

[0095] In some embodiments, the controller 50 further includes a sending module 530, configured to send a subscription request to the switching device, wherein the subscription request includes: an operator ID pre-configured by the controller and a data format requested by the controller. The receiving module 510 is further configured to receive subscription response information sent by the switching device, wherein the subscription response information includes a subscription result.

[0096] In some embodiments, change information is converted into the data format requested by the controller; or synchronization information, subscription requests, and subscription response information are transmitted using the controller's control protocol.

[0097] In some embodiments, the controller 50 further includes: a configuration module 540 for interacting with the switching device to complete the management configuration of the switching device; and sending a capability activation instruction to the switching device to enable change awareness capability. A sending module 530 is used to send a subscription request to the switching device upon confirming that the switching device has enabled change awareness capability.

[0098] In some embodiments, the controller 50 further includes: a verification module 550 for storing the current configuration of the switching device according to the change information, and verifying the changed parameters according to the current configuration of the switching device when the parameters of the service are changed, and completing the change of the service parameters if the verification is successful. The sending module 530 is also used to report the change information to the resource management system so that the resource management system can analyze or display the change information.

[0099] This disclosure also provides an information synchronization system, which is described below in conjunction with... Figure 6 Describe it.

[0100] Figure 6 This is a structural diagram of some embodiments of the information synchronization system disclosed herein. For example... Figure 6 As shown, system 6 in this embodiment includes a switching device 40 and a controller 50. One controller 50 may correspond to multiple switching devices 40.

[0101] The electronic devices in the embodiments of this disclosure can each be implemented by various computing devices or computer systems, as described below. Figure 7 as well as Figure 8 Describe it.

[0102] Figure 7 This is a structural diagram of some embodiments of the electronic device disclosed herein. For example... Figure 7 As shown, the electronic device 70 of this embodiment includes a memory 710 and a processor 720 coupled to the memory 710. The processor 720 is configured to execute information synchronization methods in any of the embodiments of this disclosure based on instructions stored in the memory 710.

[0103] The memory 710 may include, for example, system memory, fixed non-volatile storage media, etc. The system memory may store, for example, an operating system, application programs, a boot loader, a database, and other programs.

[0104] Figure 8 These are structural diagrams of some other embodiments of the electronic device disclosed herein. For example... Figure 8 As shown, the electronic device 80 of this embodiment includes a memory 810 and a processor 820, which are similar to the memory 710 and processor 720, respectively. It may also include an input / output interface 830, a network interface 840, a storage interface 850, etc. These interfaces 830, 840, 850, and the memory 810 and processor 820 can be connected, for example, via a bus 860. The input / output interface 830 provides a connection interface for input / output devices such as a display, mouse, keyboard, and touchscreen. The network interface 840 provides a connection interface for various networked devices, such as connecting to a database server or cloud storage server. The storage interface 850 provides a connection interface for external storage devices such as SD cards and USB flash drives.

[0105] Those skilled in the art will understand that embodiments of this disclosure can be provided as methods, systems, or computer program products. Therefore, this disclosure can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this disclosure can take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0106] This disclosure is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a machine for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0107] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0108] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0109] The above description is only a preferred embodiment of this disclosure and is not intended to limit this disclosure. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the protection scope of this disclosure.

Claims

1. An information synchronization method, executed by a switching device in a software-defined network, comprising: In response to a change in the configuration of the switching device, change information is obtained, wherein the change information includes the operator's ID and the content of the change; If the operator is an operator other than the operator pre-configured by the controller, the change information is converted into the data format requested by the controller; The control protocol of the controller is used to encapsulate the converted change information into synchronization information and send it to the controller; Receive a subscription request sent by the controller, wherein the subscription request includes the ID of the operator pre-configured by the controller and the data format requested by the controller; Store the operator ID pre-configured by the controller and the data format requested by the controller; Send a subscription response to the controller, wherein the subscription response includes a subscription result.

2. The information synchronization method according to claim 1, wherein: The data format includes: a general layer interface format and / or an extensible markup language format; or The subscription request and the subscription response are sent using the control protocol.

3. The information synchronization method according to any one of claims 1-2 further includes: The change information is stored, and the change information further includes at least one of the following: change time, change type, and configuration method used for the change.

4. The information synchronization method according to any one of claims 1-2, further comprising: Interact with the controller to complete the controller's management and configuration of the switching device; In response to the controller's capability activation instruction, change awareness capability is activated.

5. An information synchronization method, executed by a controller in a software-defined network, comprising: The system receives synchronization information sent by the switching device, wherein the synchronization information is sent by the switching device in response to a configuration change, including change information of the switching device's configuration by an operator other than the operator pre-configured by the controller, the change information including the operator's ID and the change content, and the change information is converted into the data format requested by the controller; The change information is stored; Send a subscription request to the switching device, wherein the subscription request includes: the operator ID pre-configured by the controller and the data format requested by the controller; Receive subscription response information sent by the switching device, wherein the subscription response information includes the subscription result.

6. The synchronization method according to claim 5, wherein: The synchronization information, the subscription request, and the subscription response information are transmitted using the controller's control protocol.

7. The synchronization method according to claim 5 further includes: Interact with the switching device to complete the management and configuration of the switching device; Send a capability activation instruction to the switching device to enable change awareness capability. Sending a subscription request to the switching device includes: If the change awareness capability of the switching device is confirmed to be enabled, a subscription request is sent to the switching device.

8. The synchronization method according to claim 5 further includes: The current configuration of the switching device is stored according to the change information. When the parameters of the service are changed, the changed parameters are checked according to the current configuration of the switching device. If the check passes, the change of the service parameters is completed. or The change information is reported to the resource management system so that the resource management system can analyze or display the change information.

9. A switching device, comprising: The acquisition module is used to acquire change information in response to a change in the configuration of the switching device, wherein the change information includes the operator's ID and the change content; The sending module is used to convert the change information into the data format requested by the controller when the operator is an operator other than the operator pre-configured by the controller, and encapsulate the converted change information into synchronization information and send it to the controller using the controller's control protocol; The receiving module is used to receive subscription requests sent by the controller, wherein the subscription request includes the ID of the operator pre-configured by the controller and the data format requested by the controller; The storage module is used to store the IDs of operators pre-configured by the controller and the data format of the controller requests. The sending module is also used to send a subscription response to the controller, wherein the subscription response includes the subscription result.

10. A controller, comprising: A receiving module is used to receive synchronization information sent by a switching device, wherein the synchronization information is sent by the switching device in response to a configuration change, including change information of the switching device's configuration by an operator other than the operator pre-configured by the controller, the change information including the operator's ID and the change content, and the change information is converted into the data format requested by the controller; A storage module is used to store the change information; A sending module is configured to send a subscription request to the switching device, wherein the subscription request includes: the ID of the operator pre-configured by the controller and the data format requested by the controller; The receiving module is further configured to receive subscription response information sent by the switching device, wherein the subscription response information includes a subscription result.

11. An information synchronization system, comprising: The switching device of claim 9 and the controller of claim 10.

12. An electronic device, comprising: processor; as well as A memory coupled to the processor is used to store instructions that, when executed by the processor, cause the processor to perform the information synchronization method as described in any one of claims 1-8.

13. A non-transitory computer-readable storage medium having a computer program stored thereon, wherein, When executed by a processor, the program implements the steps of the method according to any one of claims 1-8.

Citation Information

Patent Citations

  • Computer network method, software defined network controller and storage medium

    CN114697252A

  • Global network state management

    CN115037624A