Information synchronization method and system, switching equipment and controller

By obtaining and sending change information to the controller in real time when configuration changes in the switching device is changed, the problem of manual adjustments cannot be notified in real time during the gap period is solved, and the accurate and timely synchronization of the switching device configuration information is achieved, and business security is improved.

CN119520279AActive Publication Date: 2025-02-25CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 9 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

During the gap between the controller collecting and exchanging device configuration information twice, manual adjustments by the operation and maintenance personnel cannot notify the controller in real time, which may lead to incorrect modifications to the existing configuration.

Method used

When the configuration changes, the switching device acquires the change information in real time, and sends synchronization information, including change information, to the controller, other than the operator pre-configured by the controller. This method adopts an automatic feedback mechanism to ensure that configuration changes are notified and synchronized in a timely manner.

Benefits of technology

By synchronizing the configuration information of the exchange device in real time, the accuracy of the configuration information is improved, the risk of configuration conflicts is reduced, and the security of the business is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119520279A_ABST
    Figure CN119520279A_ABST
Patent Text Reader

Abstract

The invention relates to an information synchronization method and system, switching equipment and a controller, and relates to the technical field of communication. The method is executed by a switching device in a software defined network and comprises the steps that change information is obtained in response to change of configuration of the switching device, and the change information comprises an ID of an operator and change content; and under the condition that the operator is the operator except the operator pre-configured by the controller, synchronization information is sent to the controller, and the synchronization information comprises the change information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] As the scale of the network expands, the equipment service configuration surges, and the application of automated service configuration is gradually expanding. For automated configuration, data accuracy is crucial. If the configuration of the controller and the switching device (for example, the router) is not synchronized, it may cause the existing configuration to be incorrectly overwritten, affecting the normal use of services. This is also one of the key points of network operation and maintenance personnel. In the actual operation and maintenance of the network, manual configuration is an indispensable part, which is usually synchronized manually. However, the controller that manages the switching device cannot automatically perceive such configuration changes, resulting in asynchrony, which brings some hidden dangers to safe production.

[0003] In the related art, the controller collects the switching 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 found that there is a gap between two controller collections. If the operation and maintenance personnel make manual adjustments during this gap, the controller cannot perceive the configuration changes in real time, which may cause incorrect modifications to the existing configuration.

[0005] A technical problem to be solved by the present disclosure is: how to improve the accuracy of synchronization of configuration information of a switching device.

[0006] According to some embodiments of the present disclosure, there is provided an information synchronization method, which 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 the operator's ID and the change content; and in a case where the operator is other than an operator pre-configured for 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 the change information into a data format requested by the controller; and using a control protocol of the controller 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 the ID of the operator preconfigured by the controller and the data format requested by the controller; storing the ID of the operator preconfigured by the controller and the data format requested by the controller; and sending a subscription response to the controller, wherein the subscription response includes the subscription result.

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

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

[0011] In some embodiments, the method further includes: interacting with a controller to complete the management configuration of the controller on the switching device; and enabling the change perception capability in response to a capability enabling indication from the controller.

[0012] According to some other embodiments of the present disclosure, there is provided an information synchronization method, which is executed by a controller in a software-defined network, and includes: 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 routing 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 a switching device, wherein the subscription request includes: an operator ID preconfigured 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, the change information is converted into a data format requested by the controller; or the synchronization information, subscription request and subscription response information are transmitted using the control protocol of the controller.

[0015] In some embodiments, the method also includes: interacting with the switching device to complete the management configuration of the switching device; sending a capability activation indication to the switching device to enable the switching device to enable the change perception capability, wherein sending a subscription request to the switching device includes: sending a subscription request to the switching device when confirming that the switching device has enabled the change perception capability.

[0016] In some embodiments, the method further includes: storing the current configuration of the switching device according to the change information, and in the case of changing the parameters of the service, verifying the changed parameters according to the current configuration of the switching device, and completing the change of the parameters of the service if the verification passes; 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 further embodiments of the present disclosure, a switching device is provided, comprising: an acquisition module, used to acquire change information in response to a change in the configuration of the switching device, wherein the change information includes an operator's ID and change content; and a sending module, used to send synchronization information to a controller when the operator is other than an operator pre-configured for the controller, wherein the synchronization information includes change information.

[0018] According to some further embodiments of the present disclosure, a controller is provided, comprising: a receiving module, 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 a routing 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, used to store the change information.

[0019] According to some further embodiments of the present disclosure, an information synchronization system is provided, comprising: a switching device and a controller according to any of the aforementioned embodiments.

[0020] According to some further embodiments of the present disclosure, an electronic device is provided, comprising: a processor; and a memory coupled to the processor, for storing instructions, wherein when the instructions are executed by the processor, the processor executes the information synchronization method as described in any of the aforementioned embodiments.

[0021] According to some further 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 aforementioned embodiments.

[0022] In the present disclosure, once the configuration of the switching device is changed, the change information is obtained, and when the operator of the change is an operator other than the operator pre-configured by the controller, the change information is sent to the controller through synchronization information. In the present disclosure, the switching device adopts an automatic feedback mechanism to perform real-time synchronization, actively notifies the controller of the configuration changes caused by the corresponding operation, achieves the effect of automatic real-time synchronization, improves the accuracy of the synchronization of the configuration information of the switching device, and improves the security of the business.

[0023] Other features and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

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

[0026] Figure 2 A flowchart diagram showing an information synchronization method according to other embodiments of the present disclosure is shown.

[0027] Figure 3 A schematic diagram showing an information synchronization method according to some embodiments of the present disclosure.

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

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

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

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

[0032] Figure 8 A schematic diagram showing the structure of an electronic device according to some other embodiments of the present disclosure. DETAILED DESCRIPTION

[0033] The technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and is by no means intended to limit the present disclosure and its application or use. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0034] The present disclosure proposes an information synchronization method, which is applicable to software defined network (Software Defined Network, SDN) Figures 1 to 3 Give a description.

[0035] Figure 1 Flowcharts of some embodiments of the information synchronization method disclosed in the present invention. Figure 1 As shown, the method of this embodiment includes: steps S102 to S106.

[0036] In step S102, the switching device obtains change information in response to the change of the configuration of the switching device.

[0037] In some embodiments, the change information includes the operator's ID and the change content. The switching device may store the change information, and the change information may also include at least one of the change time, the change type, and the configuration mode adopted by the change.

[0038] The change of the switching device configuration may be affected by multiple operators. The switching device needs to record the information of the changes made to its configuration by different operators, and record the operator ID and the change content for each (one or more) configuration change. The operator ID is, for example, a login account. The change type includes, for example, adding, deleting, etc.

[0039] The configuration method used for the change includes, for example, the protocol type, the management method, etc. For the configuration of the switching device, there may be multiple management methods, and multiple protocols may be used. The switching device can record the method used by the operator to perform the switching device configuration management. For example, the network management / controller can automatically configure and manage the switching device through protocols such as NETCONF (Network Configuration Protocol), BGP (Border Gateway Protocol), and PCEP (Path Computation Element Communication Protocol). The administrator can also manually configure and manage the switching device by directly logging into the device or through the network management through SNMP (Simple Network Management Protocol). The recording form of the change information can be a log, a database, etc., but it needs to have a function that is easy to extract in order to transmit messages.

[0040] In some embodiments, the record of the change information is shown in Table 1. For example, the change to the configuration of the switching device includes changes to VPN (Virtual Private Network) related information, ports, IP addresses, VLAN (Virtual Local Area Network), ACL (Access Control Lists) and the like of the switching device.

[0041] Table 1

[0042]

[0043]

[0044] The switching equipment helps to trace the operation by comprehensively recording and storing the changed operations.

[0045] In some embodiments, the switching device compares the ID of the operator in the change information with the ID of the operator preconfigured by the controller to determine whether it is the operator preconfigured by the controller.

[0046] In step S104, when the operator is an operator other than the operator preconfigured by the controller, the switching device sends synchronization information to the controller, and correspondingly, the controller receives the synchronization information sent by the switching device.

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

[0048] For example, the data format includes: Common Layer Interface (CLI) format and / or Extensible Markup Language (XML) format. In the case where the controller uses the YANG model, the data format can be the XML format of the YANG model. XML is used for fast processing and recording by the controller. CLI provides a more intuitive and easier to read format for easy display.

[0049] The control protocols include: NETCONF, SNMP, Telemetry, PCEP or BGP. The change information can be carried in the Payload part of the synchronization information. After receiving the synchronization information, the controller can use the control protocol to decapsulate and read the change information therein.

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

[0051] The controller may store the change information in correspondence with the ID of the switching device, and may also determine the current configuration of the switching device according to the change information.

[0052] In the method of the above embodiment, once the configuration of the switching device changes, the change information is obtained, and when the operator who made the change is an operator other than the operator pre-configured by the controller, the change information is sent to the controller through synchronization information. In the method of the above embodiment, the switching device adopts an automatic feedback mechanism to perform real-time synchronization, and actively notifies the controller of the configuration changes caused by the corresponding operation, so as to achieve the effect of automatic real-time synchronization, improve the accuracy of the configuration information synchronization of the switching device, and reduce the problem of configuration conflicts to a certain extent. At the same time, when a problem is found, it is also possible to locate the problem caused by the configuration more quickly, repair related vulnerabilities in a timely manner, and improve the security of the business.

[0053] Combine the following Figure 2 Other embodiments of the information synchronization method disclosed in the present invention are described.

[0054] Figure 2 Flowcharts of other embodiments of the information synchronization method disclosed in the present invention. 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 management configuration of the switching device by the controller.

[0056] The controller can manage and configure multiple switching devices and complete the management of multiple switching devices. Before managing a switching device, the controller can confirm whether the switching device supports the corresponding control protocol, and manage and configure the switching device if the switching device supports the corresponding control protocol.

[0057] For example, when managing through 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 queries the switching device capabilities (software version, interface, performance data, board information, etc.) through the adaptation verification of the YANG model, and the controller records the switching device capability information in the database.

[0058] In step S204, the controller sends a capability enable instruction to the switching device, and the switching device enables the change perception capability in response to the capability enable instruction of the controller.

[0059] The controller executes subsequent processes after confirming that the switching device has enabled the change perception capability.

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

[0061] In some embodiments, the subscription request includes the ID of the operator preconfigured 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 according to the operator of the controller, generates a subscription request, and carries the ID of the pre-configured operator and the requested data format to subscribe to the changed configuration to the switching device.

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

[0064] The switching device stores the operator ID and requested data format preconfigured 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 feeds back to the controller that the subscription is successful. The subscription request and subscription response are sent using the control protocol.

[0067] In step S212 , the switching device acquires change information in response to the change in the configuration of the switching device.

[0068] In step S214, the switching device determines whether the operator is an operator other than the operator preconfigured by the controller, and if so, executes step S216, otherwise, there is no need to execute subsequent steps.

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

[0070] Whenever an operator pre-configured by the controller operates on the configuration of the switching device, the change perception capability of the switching device is triggered. After the switching device perceives the configuration change caused by an operator other than the pre-configured operator, it reports the change information to the controller in the data format requested by the controller. The reporting protocol corresponds to the subscribed protocol.

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

[0072] In some embodiments, the current configuration of the switching device is stored based on the change information before controlling, and when the parameters of the service are changed, the changed parameters are checked based on 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.

[0073] The controller itself has the ability to analyze and audit, or it can be an analysis capability completed in cooperation with the upstream resource management system.

[0074] For example, the configurations changed on the switching device include VPN, BGP, interface, 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 corresponding processing capabilities in subsequent secondary services. For secondary services such as VPN parameters and IP address changes, the controller can audit based on the recorded information and process the changes after confirming that they are correct.

[0075] For example, the controller feeds back the status of network resources such as VPN, IP, VLAN (which ones are used and which ones are released) to the resource management system for synchronization and management based on the synchronized change information, 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 operation and maintenance personnel to intuitively view the change information on the switching equipment, facilitating problem tracing.

[0077] Some application examples of the present disclosure are described below.

[0078] An operator has built a new network in Province A and plans to use a controller to manage it and be responsible for the automatic opening of new services. Currently, the main services of Province A are in the previous network and need to be gradually cut over to this new network. Since the cutover process and supporting systems are not yet perfect, the business migration can only be completed by manual cutover. At the same time, due to the inconsistent planning of resource data (such as VPN-related information, relay circuits, ports, IP, VLAN, ACL, business paths, etc., data with different values ​​assigned to different users) between the new network and the previous network, as well as the needs of daily operation and maintenance, manual operations will also be involved, and these manual operations cannot be automatically synchronized to the controller. The controller itself needs to be responsible for the data it needs to configure, and needs to understand the corresponding relationship between the configuration information on the switching device and the service. Therefore, it is necessary to synchronize the data manually configured each time mentioned above, which requires additional labor costs to achieve. In this case, the method disclosed in this disclosure can be used to achieve automatic synchronization and improve efficiency.

[0079] like Figure 3 As shown in the figure, in order to support automatic synchronization, after the controller completes the management of all switching devices in the new network of Province A (for example, the controller completes the device management through the Netconf protocol, and the switching device has enabled the Netconf function), it confirms that the managed switching devices have enabled the change perception capability. The controller plans to use the Netconf protocol to interact with the device.

[0080] The controller subscribes the changed configurations to the managed switching devices in batches with the pre-configured operator ID (for example, the specified user name is controller) and the requested data format (CLI+YANG model XML). The CLI can be used to provide it to the operation and maintenance personnel for direct review; the YANG model XML can be used for the synchronization of the controller itself. The switching devices managed by the controller feedback to the controller that the subscription is successful. When the operation and maintenance personnel cut over some user services, the change perception capability of the switching device is triggered.

[0081] The switching equipment involved in the cutover senses the configuration changes caused by the operation of operators other than the pre-configured operators of the controller, and reports the change information to the controller in the data format requested by the controller (CLI+YANG model XML). After receiving the synchronization information reported by the switching equipment, the controller synchronizes the cutover data and records the relationship between the current configuration and the business, so that the subsequent secondary business can be smoothly taken over. At the same time, the configuration changes caused by the cutover can also be presented to the operation and maintenance personnel to check whether there are any abnormalities, so as to avoid further impact caused by data conflicts.

[0082] The present disclosure also provides a switching device, Figure 4 Give a description.

[0083] Figure 4 FIG. 1 is a structural diagram of some embodiments of the switching device disclosed in the present invention. Figure 4 As shown, the switching device 40 of this embodiment includes: an acquisition module 410 and a sending module 420 .

[0084] The acquisition module 410 is used 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.

[0085] The sending module 420 is used to send synchronization information to the controller when the operator is other than the operator preconfigured in the controller, wherein the synchronization information includes change information.

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

[0087] In some embodiments, the switching device 40 further includes a receiving module 430 and a storage module 440, wherein the receiving module 430 is used to receive a subscription request sent by the controller, wherein the subscription request includes an operator ID preconfigured by the controller and a data format requested by the controller, and the storage module 440 is used to store the operator ID preconfigured 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 common layer interface format and / or an extensible markup language format; or a subscription request and a subscription response are sent using a control protocol.

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

[0090] In some embodiments, the switching device 40 further includes a configuration module 450 for interacting with the controller to complete the management configuration of the switching device by the controller; and enabling the change perception capability in response to a capability enabling indication from the controller.

[0091] The present disclosure also provides a controller, Figure 5 Give a description.

[0092] Figure 5 Figure 1 is a structural diagram of some embodiments of the controller disclosed herein. Figure 5 As shown, the controller 50 of 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, wherein the synchronization information is sent by the switching device in response to a configuration change, including change information of a configuration change of a route by an operator other than an operator pre-configured by the controller, and the change information includes an operator ID and change content;

[0094] The storage module 520 is used to store the 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 preconfigured by the controller and a data format requested by the controller. The receiving module 510 is further configured to receive a subscription response message sent by the switching device, wherein the subscription response message includes a subscription result.

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

[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 so that the switching device activates the change perception capability. The sending module 530 is used to send a subscription request to the switching device when confirming that the switching device activates the change perception 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 in the case of changing the parameters of the service, checking the changed parameters according to the current configuration of the switching device, and completing the change of the parameters of the service if the verification passes. 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] The present disclosure also provides an information synchronization system. Figure 6 Give a description.

[0100] Figure 6 FIG. 1 is a structural diagram of some embodiments of the information synchronization system disclosed in the present invention. Figure 6 As shown, the system 6 of this embodiment includes: a switching device 40 and a controller 50. One controller 50 may correspond to a plurality of switching devices 40.

[0101] The electronic devices in the embodiments of the present disclosure can be implemented by various computing devices or computer systems. Figure 7 as well as Figure 8 Give a description.

[0102] Figure 7 FIG. 1 is a structural diagram of some embodiments of the electronic device disclosed in the present invention. Figure 7 As shown, the electronic device 70 of this embodiment includes: a memory 710 and a processor 720 coupled to the memory 710, and the processor 720 is configured to execute the information synchronization method in any of some embodiments of the present disclosure based on instructions stored in the memory 710.

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

[0104] Figure 8 FIG. 1 is a structural diagram of some other embodiments of the electronic device disclosed in the present invention. 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 the processor 720 respectively. It can also include an input and output interface 830, a network interface 840, a storage interface 850, etc. These interfaces 830, 840, 850 and the memory 810 and the processor 820 can be connected, for example, via a bus 860. Among them, the input and output interface 830 provides a connection interface for input and output devices such as a display, a mouse, a keyboard, and a touch screen. The network interface 840 provides a connection interface for various networked devices, for example, it can be connected to a database server or a 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 appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable non-transient storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0106] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0107] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0108] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0109] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure should be included in the protection scope of the present 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, acquiring change information, wherein the change information includes an operator ID and change content; In a case where the operator is other than an operator preconfigured in the controller, synchronization information is sent to the controller, wherein the synchronization information includes the change information.

2. The information synchronization method according to claim 1, wherein: The sending synchronization information to the controller comprises: converting the change information into a data format requested by the controller; The control protocol of the controller is adopted, and the converted change information is encapsulated into the synchronization information and sent to the controller.

3. The information synchronization method according to claim 2, further comprising: Receiving a subscription request sent by the controller, wherein the subscription request includes an ID of an operator preconfigured by the controller and a data format requested by the controller; storing an operator ID preconfigured by the controller and a data format requested by the controller; A subscription response is sent to the controller, wherein the subscription response includes a subscription result.

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

5. The information synchronization method according to any one of claims 1 to 4, further comprising: The change information is stored, wherein the change information further includes: at least one of a change time, a change type, and a configuration method adopted by the change.

6. The information synchronization method according to any one of claims 1 to 4, further comprising: Interacting with the controller to complete the management configuration of the switching device by the controller; In response to a capability enable indication from the controller, a change awareness capability is enabled.

7. An information synchronization method, 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 configuration change of the routing by an operator other than an operator preconfigured by the controller, and the change information includes an operator ID and change content; The change information is stored.

8. The synchronization method according to claim 7, further comprising: Sending a subscription request to the switching device, wherein the subscription request includes: an ID of an operator preconfigured by the controller and a data format requested by the controller; The subscription response information sent by the switching device is received, wherein the subscription response information includes a subscription result.

9. The synchronization method according to claim 8, wherein: The change information is converted into a data format requested by the controller; or The synchronization information, the subscription request and the subscription response information are transmitted using the control protocol of the controller.

10. The synchronization method according to claim 8, further comprising: Interacting with the switching device to complete management configuration of the switching device; sending a capability activation instruction to the switching device so that the switching device activates the change perception capability, The sending of the subscription request to the switching device includes: When confirming that the switching device has enabled the change perception capability, a subscription request is sent to the switching device.

11. The synchronization method according to claim 7, further comprising: storing the current configuration of the switching device according to the change information, and in the case of changing the parameters of the service, verifying the changed parameters according to the current configuration of the switching device, and completing the change of the parameters of the service if the verification passes; or The change information is reported to the resource management system so that the resource management system can analyze or display the change information.

12. A switching device, 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; A sending module is used to send synchronization information to the controller when the operator is other than the operator preconfigured by the controller, wherein the synchronization information includes the change information.

13. A controller comprising: A receiving module, configured 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 a configuration change of the routing by an operator other than an operator preconfigured by the controller, and the change information includes an operator ID and change content; A storage module is used to store the change information.

14. An information synchronization system, comprising: The switching device as claimed in claim 12 and the controller as claimed in claim 13.

15. An electronic device, comprising: processor; as well as A memory coupled to the processor, for storing instructions, wherein when the instructions are executed by the processor, the processor executes the information synchronization method according to any one of claims 1 to 11.

16. A non-transitory computer-readable storage medium having a computer program stored thereon, wherein: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.

Citation Information

Patent Citations

  • Collocation method for synchronizing network management and network element and device thereof

    CN101447895A

  • A topology-based virtual switching model with pluggable flow management protocols

    CN108886493A

  • Information synchronization method and device, electronic equipment and storage medium

    CN110460664A

  • Zero APN configuration method and system

    CN110662234A

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

    CN114697252A