A method and device for processing network services

By adopting persistent storage of configuration information and master-stop switching mechanisms in the SDN network, the problem of service interruption in the SDN network when the device fails is solved, and high availability and stability of network services are achieved.

CN114584462BActive Publication Date: 2025-02-11CHINA TELECOM CLOUD TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111616702.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-27
Publication Date
2025-02-11
Estimated Expiration
2041-12-27

AI Technical Summary

Technical Problem

At present, when the SDN network forwarding surface has a large traffic flow of core equipment in the backbone network, network equipment failure will affect the normal interoperability of user services, resulting in insufficient network stability and reliability.

Method used

Provide a method for processing network services, obtain configuration information corresponding to network services to be issued through the SDN controller, and distribute configuration information to the main device in the target group, and store it to the persistence of the backup device. database. When an abnormality occurs in the main device, the issuance of its configuration information is suspended and the configuration information is sent to the backup device to achieve high service availability.

Benefits of technology

It realizes permanent storage and high availability of network services, can promptly respond to equipment failure problems, supports users to configure services at any time, improve user experience, and increase system stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114584462B_ABST
    Figure CN114584462B_ABST
Patent Text Reader

Abstract

The present application discloses a method and device for processing network services. The method includes: obtaining first configuration information corresponding to the current network service to be issued; issuing the first configuration information to the main device in the target group, and storing the first configuration information in the persistent database of the backup device in the target group; receiving the status information corresponding to the main device fed back by the target cluster, and suspending the configuration information issuance operation to the main device when it is determined that the main device is in an abnormal state according to the status information; obtaining the target backup device in the target group that currently receives the configuration information instead of the main device, and executing the configuration information issuance operation on the target backup device. The present application can realize the permanent storage of network services, and at the same time, combined with the master-slave switching mechanism, ensure that the network services are not interrupted, and can respond to equipment failure problems in a timely manner. It supports users to configure services at any time and improves user experience. For service providers, multi-level protection increases system stability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method and device for processing network services. Background Art

[0002] The cloud backbone network builds a multi-region global network for users to achieve high-speed interconnection across cloud resource pools with high reliability, so its stability and reliability are particularly important. Currently, most cloud backbone networks use SDN solutions to achieve business automation. SDN uses a centralized control plane and a distributed forwarding plane. The two planes are separated from each other. The control plane uses the control-forwarding communication interface to centrally control the network devices on the forwarding plane and provide flexible programmability.

[0003] For enterprise users, flexible service configuration and network stability are crucial. Therefore, the cloud backbone network needs to be truly flexible, convenient, highly reliable, and highly available. The current SDN network forwarding plane has the following limitations: When the traffic of the backbone network core equipment is large, the network equipment fails, affecting the normal intercommunication of user services. Summary of the invention

[0004] In order to solve the above technical problems or at least partially solve the above technical problems, the present application provides a method and device for processing network services.

[0005] According to one aspect of an embodiment of the present application, a method for processing network services is provided, which is applied to an SDN controller, and the method includes:

[0006] Obtaining first configuration information corresponding to the current network service to be issued;

[0007] Sending the first configuration information to the active device in the target group, and storing the first configuration information in a persistent database of the standby device in the target group;

[0008] receiving status information corresponding to the active device fed back by the target cluster, and suspending the operation of sending configuration information to the active device when it is determined according to the status information that the active device is in an abnormal state;

[0009] A target standby device in the target group that currently replaces the active device to receive configuration information is acquired, and a configuration information distribution operation is performed on the target standby device.

[0010] Furthermore, before sending the target configuration information to the primary device in the target group, the method further includes:

[0011] Obtaining performance parameters corresponding to the SDN controller associated candidate group;

[0012] The candidate group whose performance parameters meet the requirements of the SDN controller is determined as the target group.

[0013] Further, after suspending the operation of sending configuration information to the primary device, the method further includes:

[0014] Obtaining second configuration information corresponding to the network service to be issued;

[0015] querying whether there is third configuration information associated with the primary device in the second configuration information;

[0016] When the second configuration information contains third configuration information associated with the primary device, the third configuration information is stored in the persistent database.

[0017] Furthermore, after executing the operation of issuing configuration information to the target standby device, the method further includes:

[0018] Receiving online notification information from the primary device;

[0019] The third configuration information is acquired from the persistent database based on the online notification information, and the third configuration information is sent to the primary device.

[0020] According to another aspect of an embodiment of the present application, a method for processing network services is provided, which is applied to a target group, wherein the target group includes a primary device and a backup device, and the method includes:

[0021] Receiving the first configuration information sent from the SDN controller through the active device and the standby device respectively, and determining the status information of the active device, wherein the standby device stores the received first configuration information in a persistent database;

[0022] When the state information is used to determine that the active device is in an abnormal state, automatically clear the configuration information in the active device, and determine a target standby device that replaces the active device to receive the configuration information;

[0023] The target standby device obtains a currently stored configuration information set from a persistent database, and restores network services based on the configuration information set, wherein the configuration information set includes the first configuration information.

[0024] Further, the determining the status information of the primary device includes:

[0025] The backup device monitors the heartbeat message sent by the active device within a preset time, and obtains the message sending result of the active device within the preset time;

[0026] The status information of the primary device is determined according to the message sending result.

[0027] Furthermore, in the case where the status information is used to determine that the primary device is in an abnormal state, the method further includes:

[0028] The status information corresponding to the active device is sent to the SDN controller through the standby device, so that the SDN controller suspends the operation of sending configuration information to the active device based on the status information.

[0029] Furthermore, after sending the first configuration information to the target standby device, the method further includes:

[0030] Monitoring the status information of the primary device;

[0031] When it is determined according to the status information that the primary device is in a normal state, sending online notification information to the SDN controller;

[0032] Receive third configuration information sent by the SDN controller, wherein the third configuration information is configuration information received by the SDN controller after suspending an operation of sending configuration information to the active device.

[0033] According to another aspect of an embodiment of the present application, a network service processing device is provided, characterized in that it includes:

[0034] An acquisition module, used to acquire first configuration information corresponding to the network service currently to be issued;

[0035] A sending module, used to send the first configuration information to the active device in the target group, and store the first configuration information in a persistent database of the standby device in the target group;

[0036] a processing module, configured to receive status information corresponding to the primary device fed back by the target cluster, and suspend the operation of sending configuration information to the primary device when it is determined that the primary device is in an abnormal state according to the status information;

[0037] An execution module is used to obtain a target standby device in the target group that currently replaces the active device to receive configuration information, and execute a configuration information delivery operation on the target standby device.

[0038] According to another aspect of an embodiment of the present application, a network service processing device is provided, characterized in that it includes:

[0039] A receiving module, configured to receive the first configuration information sent from the SDN controller through the active device and the standby device respectively, and determine the status information of the active device, wherein the standby device stores the received first configuration information in a persistent database;

[0040] a determination module, configured to automatically clear the configuration information in the primary device and determine a target standby device to receive the configuration information in place of the primary device when the status information is used to determine that the primary device is in an abnormal state;

[0041] A sending module is used to obtain a currently stored configuration information set from a persistent database through the target standby device, and restore network services based on the configuration information set, wherein the configuration information set includes the first configuration information.

[0042] According to another aspect of an embodiment of the present application, a storage medium is further provided, which includes a stored program, and the above steps are executed when the program is run.

[0043] According to another aspect of an embodiment of the present application, there is also provided an electronic device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; wherein: the memory is used to store computer programs; and the processor is used to execute the steps in the above method by running the program stored in the memory.

[0044] The embodiment of the present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the steps in the above method.

[0045] The above technical solution provided by the embodiment of the present application has the following advantages over the prior art: the method provided by the embodiment of the present application can realize the permanent storage of network services, and at the same time, combined with the active-standby switching mechanism, ensure that network services are not interrupted, and can respond to equipment failure problems in a timely manner. It supports users to configure services at any time to improve user experience. For service providers, multi-level protection increases system stability. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0047] In order to more clearly illustrate the embodiments of the present application 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, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0048] Figure 1 A flowchart of a method for processing network services provided in an embodiment of the present application;

[0049] Figure 2 A flowchart of a method for processing network services provided in another embodiment of the present application;

[0050] Figure 3 A block diagram of a network service processing device provided in an embodiment of the present application;

[0051] Figure 4 A block diagram of a network service processing device provided by another embodiment of the present application;

[0052] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0053] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. The schematic embodiments of the present application and their descriptions are used to explain the present application and do not constitute improper limitations on the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0054] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another similar entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0055] The embodiment of the present application provides a method and device for processing network services. The method provided by the embodiment of the present invention can be applied to any required electronic device, for example, it can be a server, a terminal and other electronic devices, which are not specifically limited here, and for the convenience of description, they are referred to as electronic devices in the following.

[0056] According to one aspect of the embodiments of the present application, a method embodiment of a method for processing a network service is provided. Figure 1 A flowchart of a method for processing network services provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the method includes:

[0057] Step S11, obtaining first configuration information corresponding to the network service currently to be issued.

[0058] The method for processing network services provided in the embodiment of the present application is applied to a software defined network (SDN) controller. When a user has a need to configure a network service, the user sends first configuration information of the network service to the SDN controller through a client, where the first configuration information may include: the network environment required for the network service and resource information required for the service operation, etc.

[0059] Step S12: Send the first configuration information to the active device in the target group, and store the first configuration information in the persistent database of the standby device in the target group.

[0060] In the embodiment of the present application, before sending the target configuration information to the primary device in the target group, the method further includes the following steps A1-A2:

[0061] Step A1, obtaining performance parameters corresponding to the SDN controller associated candidate group.

[0062] Step A2: determine the candidate group whose performance parameters meet the requirements of the SDN controller as the target group.

[0063] In an embodiment of the present application, an SDN controller-associated candidate group is obtained from a resource pool, and the performance parameters corresponding to each candidate group are determined. Since the SDN controller is deployed in a cloud resource cluster, and an association relationship is established between the cloud resource cluster and the resource pool, the SDN controller can select a candidate group whose performance parameters meet the controller requirements from the resource pool as a target group. Among them, the performance parameters include: CPU parameters, memory parameters, hard disk parameters, interface parameters, etc. The candidate group whose performance parameters meet the requirements of the SDN controller can be the candidate group with the highest performance parameters.

[0064] In the embodiment of the present application, after determining the target group, the SDN controller will send the first configuration information to the active device in the target group, and also store the first configuration information in the persistent database of the standby device in the target group. By storing the configuration information in the persistent database of the standby device, it can be ensured that in the event of a failure of the active device in the subsequent target group, the standby device of the target group can obtain the relevant configuration information from the persistent database, thereby ensuring that network services can be normally interoperable.

[0065] In the embodiment of the present application, after receiving the first configuration information, the active device in the target group will perform corresponding business processing according to the first configuration information. At the same time, the backup device in the target group will also monitor the status information of the active device. If the active device fails or hangs up at this time, the backup device in the target group does not receive the heartbeat message of the active device within the preset time, and the target backup device for receiving the configuration information instead of the active device will be selected.

[0066] Step S13: receiving status information corresponding to the master device fed back by the target cluster, and suspending the operation of sending configuration information to the master device when it is determined that the master device is in an abnormal state according to the status information.

[0067] In the embodiment of the present application, the SDN controller receives the status information sent by the target group and determines whether the status information comes from the backup device in the target group or the main device in the target group. If the status information comes from the backup device in the target group, it is determined that the main device is in an abnormal state, and the operation of sending configuration information to the main device is suspended.

[0068] In the embodiment of the present application, after suspending the operation of sending configuration information to the primary device, the method further includes the following steps B1-B3:

[0069] Step B1, obtaining second configuration information corresponding to the network service to be issued.

[0070] Step B2: query whether there is third configuration information associated with the active device in the second configuration information.

[0071] Step B3: When the third configuration information associated with the primary device exists in the second configuration information, the third configuration information is stored in the persistent database.

[0072] In the embodiment of the present application, after the SDN controller suspends the operation of sending configuration information to the primary device, if the SDN controller continues to receive the second configuration information and inquires whether the second configuration information carries the third configuration information sent to the primary device, at this time, since the SDN controller suspends sending the third configuration information to the primary device, the third configuration information will be stored in the persistent database first, and the SDN controller will send the third configuration information to the primary device after the primary device is online. In addition, since the primary device in the target group is abnormal, the third configuration information needs to be sent to the target backup device, and the target backup device is used to currently replace the primary device to receive the configuration information.

[0073] Step S14, obtaining a target standby device in the target group that currently replaces the active device to receive configuration information, and executing a configuration information distribution operation on the target standby device.

[0074] The method provided in the embodiment of the present application can realize permanent storage of network services, and at the same time, combined with the active-standby switching mechanism, ensure that network services are not interrupted, and can respond to equipment failure problems in a timely manner. It supports users to configure services at any time and improves user experience. For service providers, multi-level protection increases system stability.

[0075] In the embodiment of the present application, after executing the operation of issuing configuration information to the target standby device, the method further includes the following steps C1-C2:

[0076] Step C1, receiving online notification information from the primary device.

[0077] Step C2: acquiring third configuration information from the persistent database based on the online notification information, and sending the third configuration information to the active device.

[0078] In the embodiment of the present application, the SDN controller also receives the online notification information of the primary device, which is sent after the primary device goes online. At this time, the SDN controller obtains the third configuration information from the persistent database based on the online notification information and sends the third configuration information to the primary device.

[0079] Figure 2 A flowchart of a method for processing network services provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the method may include the following steps:

[0080] Step S21: The primary device and the backup device respectively receive first configuration information sent from the SDN controller, and determine the state information of the primary device, wherein the backup device stores the received first configuration information in a persistent database.

[0081] Step S22: When the status information is used to determine that the active device is in an abnormal state, the active device automatically clears the configuration information in the active device and determines a target standby device that receives the configuration information in place of the active device.

[0082] Step S23: obtaining a currently stored configuration information set from a persistent database through the target standby device, and restoring network services based on the configuration information set, wherein the configuration information set includes the first configuration information.

[0083] The method provided by the embodiment of the present application can realize the permanent storage of network services, and at the same time, combined with the active-standby switching mechanism, ensure the uninterrupted network services, and promptly respond to equipment failure problems. It supports users to configure services at any time and improves user experience. For service providers, multi-level protection increases system stability.

[0084] In the embodiment of the present application, determining the status information of the primary device includes the following steps D1-D2:

[0085] Step D1, the backup device monitors the heartbeat message sent by the active device within a preset time to obtain the message sending result of the active device within the preset time.

[0086] Step D2, determining the status information of the main device according to the message sending result.

[0087] In the embodiment of the present application, after receiving the first configuration information, the standby device monitors the heartbeat message sent by the active device, and if the standby device receives the heartbeat message sent by the active device within a preset time, it is determined that the status information of the active device is in a normal state. If the standby device does not receive the heartbeat message sent by the active device within the preset time, it is determined that the status information of the active device is in an abnormal state.

[0088] In an embodiment of the present application, when the status information is used to determine that the primary device is in an abnormal state, the method also includes: sending the status information corresponding to the primary device to the SDN controller through the backup device, so that the SDN controller suspends the operation of sending configuration information to the primary device based on the status information.

[0089] In the embodiment of the present application, after sending the first configuration information to the target standby device, the method further includes the following steps E1-E3:

[0090] Step E1, monitoring the status information of the main device.

[0091] Step E2: When it is determined according to the status information that the active device is in a normal state, online notification information is sent to the SDN controller.

[0092] Step E3: receiving third configuration information sent by the SDN controller, wherein the third configuration information is configuration information received by the SDN controller after suspending the operation of sending configuration information to the active device.

[0093] In an embodiment of the present application, when a force majeure failure occurs in the target group in the resource pool, for example, both the main equipment and the backup equipment in the target group fail or are offline, a disaster recovery backup network device is required, and the same service can be configured for service migration. The SDN controller then selects the best group other than the target group from the remaining candidate groups in the current resource pool as the new target group. At this time, the SDN controller obtains the configuration information of the main and backup equipment in the original target group, and then migrates the configuration information to the main and backup equipment in the new target group, so that the new target group processes related network services based on the configuration information. This provides a disaster recovery backup network device when a force majeure failure occurs in the resource pool.

[0094] Figure 3 This is a block diagram of a network service processing device provided in an embodiment of the present application. The device can be implemented as part or all of an electronic device through software, hardware, or a combination of both. Figure 3 As shown, the device comprises:

[0095] An acquisition module 31 is used to acquire first configuration information corresponding to the network service to be issued;

[0096] A sending module 32, configured to send the first configuration information to the active device in the target group, and store the first configuration information in a persistent database of the standby device in the target group;

[0097] The processing module 33 is used to receive the status information corresponding to the master device fed back by the target cluster, and when it is determined according to the status information that the master device is in an abnormal state, suspend the operation of sending configuration information to the master device;

[0098] The execution module 34 is used to obtain a target standby device in the target group that currently replaces the active device to receive the configuration information, and execute a configuration information delivery operation on the target standby device.

[0099] In the embodiment of the present application, the network service processing device further includes: a selection module, configured to obtain performance parameters corresponding to the candidate group associated with the SDN controller; and determine the candidate group whose performance parameters meet the requirements of the SDN controller as the target group.

[0100] In an embodiment of the present application, the network service processing device also includes: a screening module, used to obtain second configuration information corresponding to the network service to be issued; query whether there is third configuration information associated with the main device in the second configuration information; if there is third configuration information associated with the main device in the second configuration information, the third configuration information is stored in a persistent database.

[0101] In an embodiment of the present application, the network service processing device also includes: a second receiving module, used to receive online notification information from the main device; based on the online notification information, obtain third configuration information from the persistent database, and send the third configuration information to the main device.

[0102] Figure 4 This is a block diagram of a network service processing device provided in an embodiment of the present application. The device can be implemented as part or all of an electronic device through software, hardware, or a combination of both. Figure 4 As shown, the device comprises:

[0103] The receiving module 41 is used to receive the first configuration information sent from the SDN controller through the active device and the standby device respectively, and determine the status information of the active device, wherein the standby device stores the received first configuration information into a persistent database;

[0104] A determination module 42, configured to, when the status information is used to determine that the primary device is in an abnormal state, automatically clear the configuration information in the primary device and determine a target backup device that replaces the primary device to receive the configuration information;

[0105] The sending module 43 is used to obtain the currently stored configuration information set from the persistent database through the target standby device, and restore the network service based on the configuration information set, wherein the configuration information set includes the first configuration information.

[0106] In an embodiment of the present application, the receiving module 41 is used to monitor the heartbeat message sent by the main device within a preset time through the backup device to obtain the message sending result of the main device within the preset time; and determine the status information of the main device according to the message sending result.

[0107] In an embodiment of the present application, the network service processing device also includes: a status sending module, which is used to send status information corresponding to the active device to the SDN controller through the backup device, so that the SDN controller suspends the operation of sending configuration information to the active device based on the status information.

[0108] In an embodiment of the present application, the network service processing device also includes: a monitoring module, which is used to monitor the status information of the main device; when it is determined that the main device is in a normal state according to the status information, sending online notification information to the SDN controller; receiving third configuration information sent by the SDN controller, wherein the third configuration information is configuration information received by the SDN controller after suspending the operation of sending configuration information to the main device.

[0109] The present application also provides an electronic device, such as Figure 5 As shown, the electronic device may include: a processor 1501 , a communication interface 1502 , a memory 1503 and a communication bus 1504 , wherein the processor 1501 , the communication interface 1502 , and the memory 1503 communicate with each other via the communication bus 1504 .

[0110] Memory 1503, used for storing computer programs;

[0111] The processor 1501 is used to implement the steps of the above embodiment when executing the computer program stored in the memory 1503.

[0112] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0113] The communication interface is used for communication between the above terminal and other devices.

[0114] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0115] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0116] In another embodiment provided in the present application, a computer-readable storage medium is provided, in which instructions are stored. When the computer-readable storage medium is executed on a computer, the computer executes the method for processing network services described in any of the above embodiments.

[0117] In another embodiment provided by the present application, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute the method for processing network services described in any one of the above embodiments.

[0118] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk SolidState Disk), etc.

[0119] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are included in the protection scope of the present application.

[0120] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.

Claims

1. A method for processing network services, applied to an SDN controller, characterized in that: The method comprises: Acquire first configuration information corresponding to the network service to be issued, wherein the first configuration information includes a network environment required by the network service and resource information required for the network service to run; Sending the first configuration information to the active device in the target group, and storing the first configuration information in a persistent database of the standby device in the target group; receiving status information corresponding to the active device fed back by the target cluster, and suspending the operation of sending configuration information to the active device when it is determined according to the status information that the active device is in an abnormal state; Acquire a target standby device in the target group that currently receives configuration information on behalf of the active device, and execute a configuration information issuing operation on the target standby device; After suspending the operation of issuing configuration information to the primary device, the method further includes: obtaining second configuration information corresponding to the network service to be issued; querying whether there is third configuration information associated with the primary device in the second configuration information; if there is third configuration information associated with the primary device in the second configuration information, storing the third configuration information in the persistent database; After executing the configuration information sending operation on the target backup device, the method further includes: receiving online notification information from the active device; acquiring the third configuration information from the persistent database based on the online notification information, and sending the third configuration information to the active device.

2. The method according to claim 1, characterized in that Before sending the first configuration information to the active device in the target group, the method further includes: Obtaining performance parameters corresponding to the SDN controller associated candidate group; The candidate group whose performance parameters meet the requirements of the SDN controller is determined as the target group.

3. A method for processing network services, applied to a target group, wherein the target group includes a primary device and a backup device, characterized in that: The method comprises: Receiving first configuration information sent from the SDN controller through the active device and the standby device respectively, and determining the status information of the active device, wherein the standby device stores the received first configuration information in a persistent database; When the state information is used to determine that the active device is in an abnormal state, automatically clear the configuration information in the active device, and determine a target standby device that replaces the active device to receive the configuration information; Obtaining a currently stored configuration information set from a persistent database through the target standby device, and restoring network services based on the configuration information set, wherein the configuration information set includes the first configuration information; The determining of the status information of the active device comprises: monitoring the heartbeat message sent by the active device within a preset time by the backup device to obtain the message sending result of the active device within the preset time; and determining the status information of the active device according to the message sending result; In the case where the status information is used to determine that the active device is in an abnormal state, the method further includes: sending the status information corresponding to the active device to the SDN controller through the backup device, so that the SDN controller suspends the operation of sending configuration information to the active device based on the status information; After sending the first configuration information to the target backup device, the method further includes: monitoring the status information of the active device; when it is determined according to the status information that the active device is in a normal state, sending online notification information to the SDN controller; and receiving third configuration information sent by the SDN controller, wherein the third configuration information is configuration information received by the SDN controller after suspending the operation of sending configuration information to the active device.

4. A network service processing device, characterized in that: include: An acquisition module, used to acquire first configuration information corresponding to the network service to be issued, wherein the first configuration information includes a network environment required by the network service and resource information required for the operation of the network service; A sending module, used to send the first configuration information to the active device in the target group, and store the first configuration information in a persistent database of the standby device in the target group; a processing module, configured to receive status information corresponding to the primary device fed back by the target cluster, and suspend the operation of sending configuration information to the primary device when it is determined that the primary device is in an abnormal state according to the status information; An execution module, used for acquiring a target standby device in the target group that currently replaces the active device to receive configuration information, and executing a configuration information issuing operation on the target standby device; The network service processing device further includes: a screening module, configured to obtain second configuration information corresponding to the network service to be issued; query whether there is third configuration information associated with the primary device in the second configuration information; if there is third configuration information associated with the primary device in the second configuration information, store the third configuration information in the persistent database; The network service processing device also includes: a second receiving module, which is used to receive online notification information from the main device; obtain the third configuration information from the persistent database based on the online notification information, and send the third configuration information to the main device.

5. A network service processing device, characterized in that: include: A receiving module, configured to receive first configuration information sent from the SDN controller through a primary device and a backup device respectively, and determine status information of the primary device, wherein the backup device stores the received first configuration information in a persistent database; a determination module, configured to automatically clear the configuration information in the primary device and determine a target standby device to receive the configuration information in place of the primary device when the status information is used to determine that the primary device is in an abnormal state; A sending module, used for acquiring a currently stored configuration information set from a persistent database through the target standby device, and restoring network services based on the configuration information set, wherein the configuration information set includes the first configuration information; The receiving module is used to monitor the heartbeat message sent by the main device within a preset time through the backup device to obtain the message sending result of the main device within the preset time; determine the status information of the main device according to the message sending result; The network service processing device further includes: a status sending module, configured to send status information corresponding to the active device to the SDN controller through the standby device, so that the SDN controller suspends the operation of sending configuration information to the active device based on the status information; The network service processing device also includes: a monitoring module, which is used to monitor the status information of the main device; when it is determined that the main device is in a normal state according to the status information, sending online notification information to the SDN controller; receiving third configuration information sent by the SDN controller, wherein the third configuration information is configuration information received by the SDN controller after suspending the operation of sending configuration information to the main device.

Citation Information

Patent Citations

  • Disaster recovery method and disaster recovery system for call center

    CN107770398A