[go: up one dir, main page]

CN118041782A - Network communication optimization method, device, equipment, storage medium and program product - Google Patents

Network communication optimization method, device, equipment, storage medium and program product Download PDF

Info

Publication number
CN118041782A
CN118041782A CN202410361526.6A CN202410361526A CN118041782A CN 118041782 A CN118041782 A CN 118041782A CN 202410361526 A CN202410361526 A CN 202410361526A CN 118041782 A CN118041782 A CN 118041782A
Authority
CN
China
Prior art keywords
network transmission
transmission node
backup
node
layer device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410361526.6A
Other languages
Chinese (zh)
Inventor
丁国仁
牟超宇
鹿如强
王丹
陈丽
吴树明
张艺暄
吴钱锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202410361526.6A priority Critical patent/CN118041782A/en
Publication of CN118041782A publication Critical patent/CN118041782A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/0836Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability to enhance reliability, e.g. reduce downtime
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0853Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0894Policy-based network configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本申请提供一种网络通信的优化方法、装置、设备、存储介质及程序产品。该方法包括:确定客户端和接入层设备之间的网络传输节点、以及网络传输节点的状态信息,网络传输节点包括防火墙、交换机、核心层设备,网络传输节点的状态信息包括带宽利用率和数据丢包率;根据网络传输节点的状态信息和预设状态阈值,确定网络传输节点中的目标网络传输节点;将目标网络传输节点替换为备份网络传输节点,以进行客户端和接入层设备之间的网络通信,其中,目标网络传输节点包括防火墙、交换机、以及核心层设备,不同目标网络传输节点根据不同的数据同步协议完成数据同步。本申请的方法,增加了网络通信架构的可用性和安全性,提高了网络通信的效率和准确性。

The present application provides a method, device, equipment, storage medium and program product for optimizing network communication. The method includes: determining the network transmission nodes between the client and the access layer device, and the status information of the network transmission nodes, the network transmission nodes include firewalls, switches, and core layer devices, and the status information of the network transmission nodes includes bandwidth utilization and data packet loss rate; determining the target network transmission node in the network transmission node according to the status information of the network transmission node and the preset status threshold; replacing the target network transmission node with a backup network transmission node to perform network communication between the client and the access layer device, wherein the target network transmission node includes a firewall, a switch, and a core layer device, and different target network transmission nodes complete data synchronization according to different data synchronization protocols. The method of the present application increases the availability and security of the network communication architecture and improves the efficiency and accuracy of network communication.

Description

网络通信的优化方法、装置、设备、存储介质及程序产品Network communication optimization method, device, equipment, storage medium and program product

技术领域Technical Field

本申请涉及通信技术领域,尤其涉及一种网络通信的优化方法、装置、设备、存储介质及程序产品。The present application relates to the field of communication technology, and in particular to a method, device, equipment, storage medium and program product for optimizing network communication.

背景技术Background technique

随着企业的发展、业务范围和地域不断地扩大,跨地区、跨省、以及跨国的通信需求日益增加;为了保障业务的安全和稳定,企业通常会建立专网通信架构,保证企业内部通信的机密性、可靠性和实时性。With the development of enterprises, the business scope and region are constantly expanding, and the demand for cross-regional, cross-provincial, and cross-national communications is increasing. In order to ensure the security and stability of the business, enterprises usually establish a private network communication architecture to ensure the confidentiality, reliability and real-time nature of internal communications.

现有的网络通信架构通常采用分层设计,结合高性能的核心层设备、灵活的汇聚层设备和接入层设备,并且配备了防火墙、交换机等安全设备,以实现企业内部通信的高效性、安全性和可靠性。The existing network communication architecture usually adopts a layered design, combining high-performance core layer devices, flexible aggregation layer devices and access layer devices, and is equipped with security devices such as firewalls and switches to achieve high efficiency, security and reliability of internal enterprise communications.

然而,现有的网络通信架构存在单一故障点,一旦架构中的任意一个设备出现故障,均会导致整个局域网部分或全部失效,对整个网络造成严重影响。However, the existing network communication architecture has a single point of failure. Once any device in the architecture fails, the entire LAN will fail partially or completely, causing serious impact on the entire network.

发明内容Summary of the invention

本申请提供一种网络通信的优化方法、装置、设备、存储介质及程序产品,用以解决现有网络通信架构中安全性低、单点故障概率高、可靠性差等问题。The present application provides a network communication optimization method, device, equipment, storage medium and program product to solve the problems of low security, high probability of single point failure and poor reliability in the existing network communication architecture.

第一方面,本申请提供一种网络通信的优化方法,包括:In a first aspect, the present application provides a method for optimizing network communication, comprising:

确定客户端和接入层设备之间的网络传输节点、以及网络传输节点的状态信息,其中,网络传输节点包括防火墙、交换机、核心层设备,网络传输节点的状态信息包括带宽利用率和数据丢包率;Determine the network transmission nodes between the client and the access layer device, and the status information of the network transmission nodes, wherein the network transmission nodes include firewalls, switches, and core layer devices, and the status information of the network transmission nodes includes bandwidth utilization and data packet loss rate;

根据网络传输节点的状态信息和预设状态阈值,确定网络传输节点中的目标网络传输节点;Determine a target network transmission node among the network transmission nodes according to the state information of the network transmission node and a preset state threshold;

将目标网络传输节点替换为备份网络传输节点,以进行客户端和接入层设备之间的网络通信,其中,当目标网络传输节点为防火墙时,备份网络传输节点为根据心跳线协议与防火墙建立同步关联关系的备份防火墙;当目标网络传输节点为交换机时,备份网络传输节点为根据堆叠协议与交换机堆叠连接的备份交换机;当目标网络传输节点为核心层设备时,备份网络传输节点为根据链路聚合控制协议与核心层设备跨设备聚合的备份核心层设备。The target network transmission node is replaced with a backup network transmission node to carry out network communication between the client and the access layer device, wherein, when the target network transmission node is a firewall, the backup network transmission node is a backup firewall that establishes a synchronization association relationship with the firewall according to the heartbeat protocol; when the target network transmission node is a switch, the backup network transmission node is a backup switch that is connected to the switch stack according to the stacking protocol; when the target network transmission node is a core layer device, the backup network transmission node is a backup core layer device that is aggregated across devices with the core layer device according to the link aggregation control protocol.

在本申请实施例中,在确定客户端和接入层设备之间的网络传输节点、以及网络传输节点的状态信息之前,方法还包括:In an embodiment of the present application, before determining the network transmission node between the client and the access layer device, and the status information of the network transmission node, the method further includes:

接收客户端发送的业务数据信息,业务数据信息表征客户端发送的业务类型信息、网络流量速度信息;Receive business data information sent by the client, where the business data information represents business type information and network traffic speed information sent by the client;

根据业务数据信息,确定采集状态信息的采样频率;Determine the sampling frequency of collecting status information according to business data information;

根据采样频率,对客户端和接入层设备之间的网络传输节点进行采样,得到网络传输节点的状态信息。According to the sampling frequency, the network transmission nodes between the client and the access layer device are sampled to obtain the status information of the network transmission nodes.

在本申请实施例中,在根据网络传输节点的状态信息和预设状态阈值,确定网络传输节点中的目标网络传输节点之前,方法还包括:In the embodiment of the present application, before determining the target network transmission node among the network transmission nodes according to the state information of the network transmission node and the preset state threshold, the method further includes:

根据客户端发送的业务数据信息,确定客户端的业务类型信息;Determine the service type information of the client according to the service data information sent by the client;

根据业务类型信息,确定各个业务对网络带宽利用率的要求、以及对数据丢包率的要求;According to the service type information, determine the requirements of each service on network bandwidth utilization and data packet loss rate;

根据网络带宽利用率的要求、以及对数据丢包率的要求,确定带宽利用率阈值、以及数据丢包率阈值;Determine the bandwidth utilization threshold and the data packet loss rate threshold according to the network bandwidth utilization requirement and the data packet loss rate requirement;

根据带宽利用率阈值、以及数据丢包率阈值,得到预设状态阈值。A preset state threshold is obtained according to a bandwidth utilization threshold and a data packet loss rate threshold.

在本申请实施例中,在根据网络传输节点的状态信息和预设状态阈值,确定网络传输节点中的目标网络传输节点之后,方法还包括:In the embodiment of the present application, after determining the target network transmission node among the network transmission nodes according to the state information of the network transmission node and the preset state threshold, the method further includes:

根据目标网络传输节点,确定目标网络传输节点的节点类型;According to the target network transmission node, determining the node type of the target network transmission node;

根据目标网络传输节点的节点类型,确定备份网络传输节点、以及数据同步协议,数据同步协议为目标网络传输节点与备份网络传输节点之间进行数据信息同步的协议;Determine the backup network transmission node and the data synchronization protocol according to the node type of the target network transmission node, where the data synchronization protocol is a protocol for synchronizing data information between the target network transmission node and the backup network transmission node;

根据数据同步协议,将目标网络传输节点的数据信息同步至备份网络传输节点。According to the data synchronization protocol, the data information of the target network transmission node is synchronized to the backup network transmission node.

在本申请实施例中,当目标网络传输节点为防火墙时,根据目标网络传输节点的节点类型,确定备份网络传输节点、以及数据同步协议,包括:In an embodiment of the present application, when the target network transmission node is a firewall, determining a backup network transmission node and a data synchronization protocol according to the node type of the target network transmission node includes:

根据目标网络传输节点的节点类型,确定与防火墙对应的备份防火墙、以及防火墙与备份防火墙之间进行数据同步的心跳线协议;Determine the backup firewall corresponding to the firewall and the heartbeat line protocol for data synchronization between the firewall and the backup firewall according to the node type of the target network transmission node;

根据备份防火墙、以及心跳线协议,确定备份网络传输节点、以及数据同步协议。Determine the backup network transmission node and data synchronization protocol based on the backup firewall and heartbeat protocol.

在本申请实施例中,当目标网络传输节点为交换机时,根据目标网络传输节点的节点类型,确定备份网络传输节点、以及数据同步协议,包括:In an embodiment of the present application, when the target network transmission node is a switch, determining the backup network transmission node and the data synchronization protocol according to the node type of the target network transmission node includes:

根据目标网络传输节点的节点类型,确定与交换机堆叠相连的备份交换机、以及交换机与备份交换机之间进行数据同步的堆叠协议;Determine, according to the node type of the target network transmission node, a backup switch connected to the switch stack and a stacking protocol for data synchronization between the switch and the backup switch;

根据备份交换机、以及堆叠协议,确定备份网络传输节点、以及数据同步协议。The backup network transmission node and the data synchronization protocol are determined according to the backup switch and the stacking protocol.

在本申请实施例中,当目标网络传输节点为核心层设备时,根据目标网络传输节点的节点类型,确定备份网络传输节点、以及数据同步协议,包括:In an embodiment of the present application, when the target network transmission node is a core layer device, determining a backup network transmission node and a data synchronization protocol according to the node type of the target network transmission node includes:

根据目标网络传输节点的节点类型,确定与核心层设备跨设备聚合连接的备份核心层设备、以及核心层设备与备份核心层设备之间进行数据同步的链路聚合协议;Determine, according to the node type of the target network transmission node, a backup core layer device connected to the core layer device through cross-device aggregation, and a link aggregation protocol for data synchronization between the core layer device and the backup core layer device;

根据备份核心层设备、以及链路聚合协议,确定备份网络传输节点、以及数据同步协议。Determine the backup network transmission node and data synchronization protocol based on the backup core layer device and the link aggregation protocol.

在本申请实施例中,在将目标网络传输节点替换为备份网络传输节点,以进行客户端和接入层设备之间的网络通信之后,方法还包括:In an embodiment of the present application, after replacing the target network transmission node with a backup network transmission node to perform network communication between the client and the access layer device, the method further includes:

将目标网络传输节点的节点状态调整为维护状态,以对目标网络传输节点进行故障分析和优化。The node state of the target network transmission node is adjusted to a maintenance state to perform fault analysis and optimization on the target network transmission node.

第二方面,本申请提供一种网络通信的优化装置,包括:In a second aspect, the present application provides a network communication optimization device, comprising:

信息确定模块,用于确定客户端和接入层设备之间的网络传输节点、以及网络传输节点的状态信息,其中,网络传输节点包括防火墙、交换机、核心层设备,网络传输节点的状态信息包括带宽利用率和数据丢包率;An information determination module, used to determine the network transmission nodes between the client and the access layer device, and the status information of the network transmission nodes, wherein the network transmission nodes include firewalls, switches, and core layer devices, and the status information of the network transmission nodes includes bandwidth utilization and data packet loss rate;

节点确定模块,用于根据网络传输节点的状态信息和预设状态阈值,确定网络传输节点中的目标网络传输节点;A node determination module, used to determine a target network transmission node among the network transmission nodes according to the state information of the network transmission nodes and a preset state threshold;

节点替换模块,用于将目标网络传输节点替换为备份网络传输节点,以进行客户端和接入层设备之间的网络通信,其中,当目标网络传输节点为防火墙时,备份网络传输节点为根据心跳线协议与防火墙建立同步关联关系的备份防火墙;当目标网络传输节点为交换机时,备份网络传输节点为根据堆叠协议与交换机堆叠连接的备份交换机;当目标网络传输节点为核心层设备时,备份网络传输节点为根据链路聚合控制协议与核心层设备跨设备聚合的备份核心层设备。A node replacement module is used to replace a target network transmission node with a backup network transmission node to carry out network communication between a client and an access layer device, wherein when the target network transmission node is a firewall, the backup network transmission node is a backup firewall that establishes a synchronization association relationship with the firewall according to a heartbeat protocol; when the target network transmission node is a switch, the backup network transmission node is a backup switch that is connected to the switch stack according to a stacking protocol; when the target network transmission node is a core layer device, the backup network transmission node is a backup core layer device that is aggregated across devices with the core layer device according to a link aggregation control protocol.

第三方面,本申请提供一种电子设备,包括:处理器,以及与所述处理器通信连接的存储器;In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;

所述存储器存储计算机执行指令;The memory stores computer-executable instructions;

所述处理器执行所述存储器存储的计算机执行指令,以实现本申请实施例的方法。The processor executes the computer-executable instructions stored in the memory to implement the method of the embodiment of the present application.

第四方面,本申请提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机执行指令,计算机执行指令被处理器执行时用于实现本申请实施例的方法。In a fourth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the method of the embodiment of the present application.

第五方面,本申请提供一种计算机程序产品,包括计算机程序,该计算机程序产品被处理器执行时实现如第一方面任一项所述的网络通信的优化方法。In a fifth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the network communication optimization method as described in any one of the first aspects.

本申请提供的网络通信的优化方法、装置、设备、存储介质及程序产品,通过确定客户端和接入层设备之间的网络传输节点、以及网络传输节点的状态信息,其中,网络传输节点包括防火墙、交换机、核心层设备,网络传输节点的状态信息包括带宽利用率和数据丢包率;根据网络传输节点的状态信息和预设状态阈值,确定网络传输节点中的目标网络传输节点;将目标网络传输节点替换为备份网络传输节点,以进行客户端和接入层设备之间的网络通信,其中,当目标网络传输节点为防火墙时,备份网络传输节点为根据心跳线协议与防火墙建立同步关联关系的备份防火墙;当目标网络传输节点为交换机时,备份网络传输节点为根据堆叠协议与交换机堆叠连接的备份交换机;当目标网络传输节点为核心层设备时,备份网络传输节点为根据链路聚合控制协议与核心层设备跨设备聚合的备份核心层设备的手段,实现了网络通信架构中故障设备高效率切换解耦合的效果,减少了网络震荡和单点故障等问题的出现,提高了网络业务通信的可靠性。The network communication optimization method, device, equipment, storage medium and program product provided by the present application are implemented by determining the network transmission nodes between the client and the access layer equipment, and the status information of the network transmission nodes, wherein the network transmission nodes include firewalls, switches, and core layer equipment, and the status information of the network transmission nodes includes bandwidth utilization and data packet loss rate; determining the target network transmission node in the network transmission node according to the status information of the network transmission node and a preset status threshold; replacing the target network transmission node with a backup network transmission node to perform network communication between the client and the access layer equipment, wherein when the target network transmission node is a firewall, the backup network transmission node is a backup firewall that establishes a synchronous association relationship with the firewall according to a heartbeat line protocol; when the target network transmission node is a switch, the backup network transmission node is a backup switch that is connected to the switch stack according to a stacking protocol; when the target network transmission node is a core layer equipment, the backup network transmission node is a backup core layer equipment that is aggregated across devices with the core layer equipment according to a link aggregation control protocol, thereby achieving the effect of high-efficiency switching and decoupling of faulty equipment in the network communication architecture, reducing the occurrence of problems such as network oscillation and single point failure, and improving the reliability of network business communication.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。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.

图1为本申请提供的网络通信的优化方法实施例一的流程示意图;FIG1 is a flow chart of a first embodiment of a method for optimizing network communication provided by the present application;

图2为本申请提供的网络通信的优化方法实施例二的流程示意图;FIG2 is a flow chart of a second embodiment of a method for optimizing network communication provided by the present application;

图3为本申请提供的网络通信的优化方法实施例二的网络通信架构结构示意图;FIG3 is a schematic diagram of a network communication architecture structure of a second embodiment of a network communication optimization method provided by the present application;

图4为本申请实施例提供的网络通信的优化装置的结构示意图;FIG4 is a schematic diagram of the structure of a network communication optimization device provided in an embodiment of the present application;

图5为本申请实施例提供的电子设备的结构示意图。FIG5 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

通过上述附图,已示出本申请明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本申请构思的范围,而是通过参考特定实施例为本领域技术人员说明本申请的概念。The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

现有技术中,传统的网络架构中存在单点故障的问题,一旦某个关键节点或设备发生故障,整个网络可能会受到影响,导致整个网络服务终端或者网络数据的丢失;另外,传统的网络架构大多为静态架构,难以适应快速变化的业务需求和技术发展,缺乏灵活性,同时也可能会造成数据传输的延迟。In the prior art, there is a single point failure problem in the traditional network architecture. Once a key node or device fails, the entire network may be affected, resulting in the loss of the entire network service terminal or network data. In addition, most traditional network architectures are static architectures, which are difficult to adapt to rapidly changing business needs and technological developments, lack flexibility, and may also cause delays in data transmission.

为了解决上述问题,本申请提供的网络通信的优化方法、装置、设备及存储介质,可以部署一个包含多个冗余设备的网络架构,包括主备防火墙、堆叠交换机、主备接入层设备构成的多条通信链路,通过快照采样的方式,定期获取网络架构中各条链路的工作状态,比如各条链路下的带宽利用率、以及数据丢包率等信息;根据接收到的客户端发送的业务请求信息,可以确定客户端的各个业务类型以及各个业务类型对应的业务传输要求,根据该业务传输要求可以确定满足客户端业务请求的预设状态阈值;将采集到的状态信息与预设的状态阈值信息进行比对,可以确定链路中未满足工作要求的待替换设备,根据该待替换设备的位置,确定可以代替该待替换设备的目标设备,并将待替换设备替换为该目标设备,从而得到能够安全高效进行网络通信的目标链路。由此,降低了网络架构中单点故障的问题,提高了网络的可靠性和安全性。In order to solve the above problems, the optimization method, device, equipment and storage medium of network communication provided by the present application can deploy a network architecture containing multiple redundant devices, including multiple communication links composed of active and standby firewalls, stacked switches, and active and standby access layer devices, and regularly obtain the working status of each link in the network architecture through snapshot sampling, such as bandwidth utilization under each link, and data packet loss rate and other information; according to the service request information sent by the received client, the various service types of the client and the service transmission requirements corresponding to each service type can be determined, and the preset state threshold that meets the client service request can be determined according to the service transmission requirements; the collected state information is compared with the preset state threshold information, and the device to be replaced that does not meet the working requirements in the link can be determined, and according to the position of the device to be replaced, the target device that can replace the device to be replaced is determined, and the device to be replaced is replaced with the target device, so as to obtain a target link that can safely and efficiently perform network communication. Thus, the problem of single point failure in the network architecture is reduced, and the reliability and security of the network are improved.

下面以具体地实施例对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本申请的实施例进行描述。The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

本申请实施例提供的网络通信的优化方法的执行主体可以是服务器。其中,服务器可以为电脑等设备。本实施例对执行主体的实现方式不做特别限制,只要该执行主体能够确定客户端和接入层设备之间的网络传输节点、以及网络传输节点的状态信息,其中,网络传输节点包括防火墙、交换机、核心层设备,网络传输节点的状态信息包括带宽利用率和数据丢包率;根据网络传输节点的状态信息和预设状态阈值,确定网络传输节点中的目标网络传输节点;将目标网络传输节点替换为备份网络传输节点,以进行客户端和接入层设备之间的网络通信,其中,当目标网络传输节点为防火墙时,备份网络传输节点为根据心跳线协议,与防火墙建立同步关联关系的备份防火墙;当目标网络传输节点为交换机时,备份网络传输节点为根据堆叠协议,与交换机堆叠连接的备份交换机;当目标网络传输节点为核心层设备时,备份网络传输节点为根据链路聚合控制协议,与核心层设备跨设备聚合的备份核心层设备即可。The execution subject of the network communication optimization method provided in the embodiment of the present application can be a server. Among them, the server can be a computer or other devices. This embodiment does not impose any special restrictions on the implementation method of the execution subject, as long as the execution subject can determine the network transmission node between the client and the access layer device, and the status information of the network transmission node, wherein the network transmission node includes a firewall, a switch, and a core layer device, and the status information of the network transmission node includes bandwidth utilization and data packet loss rate; according to the status information of the network transmission node and the preset status threshold, determine the target network transmission node in the network transmission node; replace the target network transmission node with a backup network transmission node to perform network communication between the client and the access layer device, wherein, when the target network transmission node is a firewall, the backup network transmission node is a backup firewall that establishes a synchronous association relationship with the firewall according to the heartbeat line protocol; when the target network transmission node is a switch, the backup network transmission node is a backup switch connected to the switch stack according to the stacking protocol; when the target network transmission node is a core layer device, the backup network transmission node is a backup core layer device that is aggregated across devices with the core layer device according to the link aggregation control protocol.

其中,核心层设备是指网络架构中负责处理大量数据流量、连接不同子网或区域、实现网络互联通信的关键设备,用于处理大规模数据交换和路由,确保网络安全和性能,是整个网络架构的核心部分。Among them, core layer equipment refers to the key equipment in the network architecture that is responsible for processing large amounts of data traffic, connecting different subnets or areas, and realizing network interconnection and communication. It is used to handle large-scale data exchange and routing, ensure network security and performance, and is the core part of the entire network architecture.

网络传输节点可以指网络架构中用于实现数据传输和交换的设备,确保数据能够快速、安全地到达目的地。A network transmission node can refer to a device in a network architecture that is used to implement data transmission and exchange, ensuring that data can reach its destination quickly and securely.

图1为本申请提供的网络通信的优化方法实施例一的流程示意图。如图1所示,该方法可以包括:FIG1 is a flow chart of a first embodiment of a method for optimizing network communication provided by the present application. As shown in FIG1 , the method may include:

S101、确定客户端和接入层设备之间的网络传输节点、以及网络传输节点的状态信息,其中,网络传输节点包括防火墙、交换机、核心层设备,网络传输节点的状态信息包括带宽利用率和数据丢包率。S101. Determine the network transmission nodes between the client and the access layer device, and the status information of the network transmission nodes, wherein the network transmission nodes include firewalls, switches, and core layer devices, and the status information of the network transmission nodes includes bandwidth utilization and data packet loss rate.

其中,客户端用于发送不同的业务请求信息,以使网络架构能够根据不同的业务请求信息,确定相应的网络信息传输通道,并通过网络信息传输通道将客户端的网络流量信息发送至接入层设备,其中,网络信息传输通道包括多个网络传输节点,并且每个网络传输节点均具备相应的备份网络传输节点,以保证在当前网络传输节点出现故障时,备份网络传输节点可以接替当前网络传输节点的数据信息继续进行通信工作。Among them, the client is used to send different business request information so that the network architecture can determine the corresponding network information transmission channel according to different business request information, and send the client's network traffic information to the access layer device through the network information transmission channel. Among them, the network information transmission channel includes multiple network transmission nodes, and each network transmission node has a corresponding backup network transmission node to ensure that when the current network transmission node fails, the backup network transmission node can take over the data information of the current network transmission node to continue communication.

可选地,在确定客户端和接入层设备之间的网络传输节点、以及网络传输节点的状态信息之前,方法还包括:Optionally, before determining the network transmission node between the client and the access layer device, and the status information of the network transmission node, the method further includes:

接收客户端发送的业务数据信息,业务数据信息表征客户端发送的业务类型信息、网络流量速度信息;Receive business data information sent by the client, where the business data information represents business type information and network traffic speed information sent by the client;

根据业务数据信息,确定采集状态信息的采样频率;Determine the sampling frequency of collecting status information according to business data information;

根据采样频率,对客户端和接入层设备之间的网络传输节点进行采样,得到网络传输节点的状态信息。According to the sampling frequency, the network transmission nodes between the client and the access layer device are sampled to obtain the status information of the network transmission nodes.

其中,网络传输节点的状态信息是表征当前网络传输节点是否满足客户端的业务数据传输要求的关键信息,在进行网络信息传输时,提前对各个网络传输节点的状态信息进行检查和预测,能够很大程度地降低网络通信的故障率,保证网络架构工作的高效性和可靠性。Among them, the status information of the network transmission node is the key information that characterizes whether the current network transmission node meets the client's business data transmission requirements. When transmitting network information, checking and predicting the status information of each network transmission node in advance can greatly reduce the failure rate of network communication and ensure the efficiency and reliability of the network architecture.

比如,在接收到客户端发送的业务数据信息之后,对该业务数据信息中包含的业务类型信息和网络流量数据信息进行分析,确定不同业务类型对应的业务对数据传输时间的要求、或者对网络流量传输速度的要求;根据业务对数据传输时间的要求或者对网络流量传输速度的要求,可以设定采集网络传输节点状态信息的采样频率;根据该采样频率,可以对正在进行数据传输的网络传输节点进行实时定期的采样,从而得到各个网络传输节点工作时的状态信息,以保证能够及时发现网络传输节点中的故障信息,从而完成后续的网络传输节点的替换,实现网络数据的高效率通信。For example, after receiving the business data information sent by the client, the business type information and network traffic data information contained in the business data information are analyzed to determine the business requirements for data transmission time or the network traffic transmission speed corresponding to different business types; according to the business requirements for data transmission time or the network traffic transmission speed, the sampling frequency for collecting network transmission node status information can be set; according to the sampling frequency, the network transmission nodes that are performing data transmission can be sampled in real time and regularly, so as to obtain the status information of each network transmission node when it is working, so as to ensure that the fault information in the network transmission node can be discovered in time, thereby completing the subsequent replacement of the network transmission node and realizing efficient communication of network data.

S102、根据网络传输节点的状态信息和预设状态阈值,确定网络传输节点中的目标网络传输节点。S102: Determine a target network transmission node among the network transmission nodes according to the status information of the network transmission nodes and a preset status threshold.

其中,预设状态阈值是指根据上述步骤中获取到的客户端业务数据信息确定的、满足业务数据传输要求的状态信息,预设状态阈值包括带宽利用率阈值和数据丢包率阈值。The preset status threshold refers to status information that is determined based on the client service data information obtained in the above steps and meets the service data transmission requirements. The preset status threshold includes a bandwidth utilization threshold and a data packet loss rate threshold.

根据用户面接收到的客户端发送的业务数据信息,确定客户端每个业务对网络流量传输过程中带宽的要求和数据传输效率的要求;Determine the bandwidth requirements and data transmission efficiency requirements of each client service during network traffic transmission based on the service data information sent by the client received by the user plane;

根据上述带宽的要求和数据传输效率的要求,确定满足客户端业务数据传输要求的带宽利用率阈值和数据丢包率阈值,即预设状态阈值;According to the above bandwidth requirements and data transmission efficiency requirements, determine the bandwidth utilization threshold and data packet loss rate threshold that meet the client service data transmission requirements, that is, the preset state threshold;

将上述预设状态阈值分为三个区间,即第一阈值区间、第二阈值区间、以及第三阈值区间;Dividing the above preset state threshold into three intervals, namely a first threshold interval, a second threshold interval, and a third threshold interval;

根据不同的阈值区间确定各个网络传输节点的状态等级,在当前网络传输节点的工作状态在第一阈值区间时,确定当前网络传输节点的数据传输效率满足客户端的业务需求,并将当前网络传输节点状态设为正常;在当前网络传输节点的工作状态在第二阈值区间时,确定当前网络传输节点的数据传输效率满足客户端的业务需求但可能在继续传输数据过程中出现故障从而不能达到客户端的业务需求,此时将当前网络传输节点状态设为警告状态;在当前网络传输节点的工作状态在第三阈值区间时,确定当前网络传输节点的数据传输效率不能满足客户端的业务需求,并将当前网络传输节点状态设备故障;The status level of each network transmission node is determined according to different threshold intervals. When the working status of the current network transmission node is in the first threshold interval, it is determined that the data transmission efficiency of the current network transmission node meets the business needs of the client, and the current network transmission node status is set to normal; when the working status of the current network transmission node is in the second threshold interval, it is determined that the data transmission efficiency of the current network transmission node meets the business needs of the client, but a failure may occur during the continued data transmission process, thereby failing to meet the business needs of the client, and the current network transmission node status is set to a warning state; when the working status of the current network transmission node is in the third threshold interval, it is determined that the data transmission efficiency of the current network transmission node cannot meet the business needs of the client, and the current network transmission node status device failure is set;

针对上述不同的节点状态设置相应的备份或者处理策略,当节点状态为正常时,当前网络传输节点维持当前状态,备份网络传输节点处于待命状态;当节点状态为警告时,可以启动备份网络传输节点的部分功能,开始准备切换流量至备份网络传输节点;当节点状态为严重警告或故障时,立即启动备份网络传输节点,切换所有流量至备份网络传输节点,同时触发报警通知网络管理员。Corresponding backup or processing strategies are set for the above-mentioned different node states. When the node state is normal, the current network transmission node maintains the current state and the backup network transmission node is in standby state; when the node state is a warning, some functions of the backup network transmission node can be started, and preparations can be made to switch traffic to the backup network transmission node; when the node state is a serious warning or failure, the backup network transmission node is started immediately, all traffic is switched to the backup network transmission node, and an alarm is triggered to notify the network administrator.

通过上述机制,可以根据网络传输节点的状态阈值和状态分级,合理地设置备份或者处理策略,保障网络通信架构的稳定运行,并能够在出现异常情况时及时做出反应和处理。Through the above mechanism, the backup or processing strategy can be reasonably set according to the status threshold and status classification of the network transmission node to ensure the stable operation of the network communication architecture and to be able to respond and handle abnormal situations in a timely manner.

可选地,在根据网络传输节点的状态信息和预设状态阈值,确定网络传输节点中的目标网络传输节点之前,方法还包括:Optionally, before determining the target network transmission node among the network transmission nodes according to the state information of the network transmission nodes and a preset state threshold, the method further includes:

根据客户端发送的业务数据信息,确定客户端的业务类型信息;Determine the service type information of the client according to the service data information sent by the client;

根据业务类型信息,确定各个业务对网络带宽利用率的要求、以及对数据丢包率的要求;According to the service type information, determine the requirements of each service on network bandwidth utilization and data packet loss rate;

根据网络带宽利用率的要求、以及对数据丢包率的要求,确定带宽利用率阈值、以及数据丢包率阈值;Determine the bandwidth utilization threshold and the data packet loss rate threshold according to the network bandwidth utilization requirement and the data packet loss rate requirement;

根据带宽利用率阈值、以及数据丢包率阈值,得到预设状态阈值。A preset state threshold is obtained according to a bandwidth utilization threshold and a data packet loss rate threshold.

其中,带宽利用率阈值可以根据不同的网络信息确定,比如,基于网络类型确定,根据客户端发送的不同类型的网络请求,确定与相应网络对应的不同带宽利用率标准,从而确定带宽利用率阈值;或者,根据客户端发送对于网络应用的需求来确定带宽利用率阈值,从而确保网络能够满足应用的性能需求。Among them, the bandwidth utilization threshold can be determined based on different network information, for example, based on the network type, different bandwidth utilization standards corresponding to the corresponding network are determined according to different types of network requests sent by the client, thereby determining the bandwidth utilization threshold; or, the bandwidth utilization threshold is determined according to the demand for network applications sent by the client, thereby ensuring that the network can meet the performance requirements of the application.

另外,数据丢包率阈值的确定可以根据客户端对网络服务等级的要求或者通信链路中负载情况确定;比如,根据客户端服务等级协议中规定的数据丢包率要求设置相应的数据丢包率阈值;或者根据客户端不同的应用对数据丢包率的包容程度,确定合适的丢包率阈值;或者通过网络监控工具实时监测数据丢包率,根据实际情况调整阈值,确保网络性能达到预期水平;或者考虑网络设备和链路的负载情况,以及网络拥塞的可能性,设置合理的数据丢包率阈值。In addition, the data packet loss rate threshold can be determined based on the client's requirements for the network service level or the load conditions in the communication link; for example, the corresponding data packet loss rate threshold can be set according to the data packet loss rate requirements specified in the client service level agreement; or the appropriate packet loss rate threshold can be determined based on the tolerance of different client applications to the data packet loss rate; or the data packet loss rate can be monitored in real time through a network monitoring tool, and the threshold can be adjusted according to actual conditions to ensure that the network performance reaches the expected level; or a reasonable data packet loss rate threshold can be set considering the load conditions of network devices and links, as well as the possibility of network congestion.

其中,在确定好预设状态阈值之后,可以将定期采集到的状态信息与预设状态阈值进行比对,确定按时采集到的状态信息中未满足该预设状态阈值要求的状态信息,并确定输出该状态信息的网络传输节点为故障节点,从而及时发现网络中无法满足带宽利用率阈值或数据丢包率阈值的信息,并采取相应的措施来调整网络配置、优化网络性能,以确保网络能够满足要求。Among them, after determining the preset status threshold, the status information collected regularly can be compared with the preset status threshold to determine the status information that does not meet the preset status threshold requirement in the status information collected on time, and determine that the network transmission node that outputs the status information is a faulty node, so as to timely discover information in the network that cannot meet the bandwidth utilization threshold or the data packet loss rate threshold, and take corresponding measures to adjust the network configuration and optimize the network performance to ensure that the network can meet the requirements.

比如,将定期采集到的带宽利用率信息和数据丢包率信息与预设的阈值进行比对,如果某个采样周期内的带宽利用率超过预设的阈值或者数据丢包率超过预设的阈值,则说明当前网络传输节点无法满足要求,此时,需要确定在该采样周期内发生数据传输故障时的准确时间段,将该准确时间段内所传输的数据状态信息与预设的状态阈值进行二次状态比对,确定该时间段内数据传输发生故障的准确数据点,并将该数据点之间的数据信息进行标记,以便后续进行网络传输节点切换时,将该数据点之间的数据信息同步至备份网络传输节点,从而避免将发生故障的数据信息同步至备份网络传输节点。For example, the regularly collected bandwidth utilization information and data packet loss rate information are compared with the preset threshold value. If the bandwidth utilization within a certain sampling period exceeds the preset threshold value or the data packet loss rate exceeds the preset threshold value, it means that the current network transmission node cannot meet the requirements. At this time, it is necessary to determine the exact time period when the data transmission failure occurred within the sampling period, and perform a secondary state comparison of the data status information transmitted within the exact time period with the preset state threshold to determine the exact data point where the data transmission failure occurred within the time period, and mark the data information between the data points so that when the network transmission node is switched later, the data information between the data points can be synchronized to the backup network transmission node, thereby avoiding synchronizing the failed data information to the backup network transmission node.

另外,对于超过阈值的网络传输信息,可以采用颜色或者报警等方式将其标注出来,以便在监测界面或者报告中直观地显示出网络问题,或者,可以设置实时报警或通知机制,及时向网络管理员发送警报信息,以便及时采取措施解决网络问题;另外,对于超过阈值的网络传输信息,需要进一步分析和排查问题的原因,原因可能包括网络拥塞、设备故障、链路质量等问题。In addition, for network transmission information that exceeds the threshold, it can be marked with color or alarm, so that the network problem can be intuitively displayed in the monitoring interface or report, or a real-time alarm or notification mechanism can be set up to send alarm information to the network administrator in time so that timely measures can be taken to solve the network problem; in addition, for network transmission information that exceeds the threshold, it is necessary to further analyze and troubleshoot the cause of the problem, which may include network congestion, equipment failure, link quality and other issues.

其中,在若状态比对结果表征状态信息未满足预设状态阈值,则确定与状态信息对应的目标网络传输节点之后,方法还包括:Wherein, if the status comparison result indicates that the status information does not meet the preset status threshold, after determining the target network transmission node corresponding to the status information, the method further includes:

根据目标网络传输节点,确定目标网络传输节点的节点类型;According to the target network transmission node, determining the node type of the target network transmission node;

根据目标网络传输节点的节点类型,确定备份网络传输节点、以及数据同步协议,数据同步协议为目标网络传输节点与备份网络传输节点之间进行数据信息同步的协议;Determine the backup network transmission node and the data synchronization protocol according to the node type of the target network transmission node, where the data synchronization protocol is a protocol for synchronizing data information between the target network transmission node and the backup network transmission node;

根据数据同步协议,将目标网络传输节点的数据信息同步至备份网络传输节点。According to the data synchronization protocol, the data information of the target network transmission node is synchronized to the backup network transmission node.

其中,在确定无法满足预设状态阈值要求的网络传输故障节点之后,需要将该网络传输故障节点切换至满足预设状态阈值要求的网络传输节点,比如,在确定好网络传输故障节点之后,快速制定并实施有效的故障恢复策略,包括自动切换至备用网络传输节点、及时通知网络管理员等步骤,以最小化网络中断的时间和影响。Among them, after determining the network transmission fault node that cannot meet the preset status threshold requirements, it is necessary to switch the network transmission fault node to a network transmission node that meets the preset status threshold requirements. For example, after determining the network transmission fault node, quickly formulate and implement an effective fault recovery strategy, including automatically switching to a backup network transmission node, promptly notifying the network administrator and other steps to minimize the time and impact of network interruption.

可选地,当目标网络传输节点为防火墙时,根据目标网络传输节点的节点类型,确定备份网络传输节点、以及数据同步协议,包括:Optionally, when the target network transmission node is a firewall, determining the backup network transmission node and the data synchronization protocol according to the node type of the target network transmission node includes:

根据目标网络传输节点的节点类型,确定与防火墙对应的备份防火墙、以及防火墙与备份防火墙之间进行数据同步的心跳线协议;Determine the backup firewall corresponding to the firewall and the heartbeat line protocol for data synchronization between the firewall and the backup firewall according to the node type of the target network transmission node;

根据备份防火墙、以及心跳线协议,确定备份网络传输节点、以及数据同步协议。Determine the backup network transmission node and data synchronization protocol based on the backup firewall and heartbeat protocol.

其中,当将出现传输故障的目标网络传输节点切换至备用网络传输节点时,需要确定目标网络传输节点的节点类型、以及网络传输故障节点与备用网络传输节点之间的数据同步协议;比如,当出现数据传输故障的网络传输节点为防火墙时,可以确定与该防火墙对应的备用网络传输节点为备用防火墙、以及与备防火墙之间进行数据同步的心跳线协议;备防火墙可以通过心跳线协议,定期监测收到的主防火墙心跳信号,以确认主防火墙的状态,如果备防火墙在一定时间内未收到主防火墙的心跳信息,则会认为主防火墙出现故障,此时备防火墙根据主防火墙在未发送心跳信息之间所定期发送的数据信息,接管主防火墙的功能,并开始接收来自网络的流量,此时备防火墙成为新的主防火墙;另外,当原来的主防火墙修复完成之后,也可以将其重新配置为备防火墙,等待下一次切换。Among them, when the target network transmission node with transmission failure is switched to the backup network transmission node, it is necessary to determine the node type of the target network transmission node and the data synchronization protocol between the network transmission failure node and the backup network transmission node; for example, when the network transmission node with data transmission failure is a firewall, it can be determined that the backup network transmission node corresponding to the firewall is the backup firewall, and the heartbeat line protocol for data synchronization with the backup firewall; the backup firewall can regularly monitor the received heartbeat signal of the main firewall through the heartbeat line protocol to confirm the status of the main firewall. If the backup firewall does not receive the heartbeat information of the main firewall within a certain period of time, it will be considered that the main firewall has failed. At this time, the backup firewall takes over the function of the main firewall according to the data information regularly sent by the main firewall between the heartbeat information is not sent, and starts to receive traffic from the network. At this time, the backup firewall becomes the new main firewall; in addition, when the original main firewall is repaired, it can also be reconfigured as a backup firewall and wait for the next switch.

可选地,当目标网络传输节点为交换机时,根据目标网络传输节点的节点类型,确定备份网络传输节点、以及数据同步协议,包括:Optionally, when the target network transmission node is a switch, determining the backup network transmission node and the data synchronization protocol according to the node type of the target network transmission node includes:

根据目标网络传输节点的节点类型,确定与交换机堆叠相连的备份交换机、以及交换机与备份交换机之间进行数据同步的堆叠协议;Determine, according to the node type of the target network transmission node, a backup switch connected to the switch stack and a stacking protocol for data synchronization between the switch and the backup switch;

根据备份交换机、以及堆叠协议,确定备份网络传输节点、以及数据同步协议。The backup network transmission node and the data synchronization protocol are determined according to the backup switch and the stacking protocol.

其中,当出现数据传输故障的网络传输节点为交换机时,可以确定与该交换机堆叠连接的备用网络传输节点为备用交换机、以及与备交换机之间进行数据同步的堆叠协议;备交换机可以通过堆叠协议,定期监测收到的主交换机的状态信息,包括端口状态、虚拟局域网信息(英文:Virtual Local Area Network,简称:VLAN)、路由表等,以确认主交换机的状态,如果备交换机在一定时间内未收到主防火墙的状态信息,则会认为主交换机出现故障,此时备交换机根据主交换机在未发送状态信息之间所定期发送的数据信息,接管主交换机的功能,并开始接收来自防火墙的数据信息,此时备交换机成为新的主交换机;另外,当原来的主交换机修复完成之后,也可以将其重新配置为备交换机,等待下一次切换。Among them, when the network transmission node with data transmission failure is a switch, it can be determined that the backup network transmission node connected to the switch stack is the backup switch, and the stacking protocol for data synchronization between the backup switch and the backup switch; the backup switch can regularly monitor the status information received from the main switch through the stacking protocol, including port status, virtual local area network information (English: Virtual Local Area Network, abbreviated as: VLAN), routing table, etc., to confirm the status of the main switch. If the backup switch does not receive the status information of the main firewall within a certain period of time, it will be considered that the main switch has failed. At this time, the backup switch takes over the function of the main switch according to the data information regularly sent by the main switch between the status information is not sent, and starts to receive data information from the firewall. At this time, the backup switch becomes the new main switch; in addition, when the original main switch is repaired, it can also be reconfigured as a backup switch and wait for the next switch.

可选地,当目标网络传输节点为核心层设备时,根据目标网络传输节点的节点类型,确定备份网络传输节点、以及数据同步协议,包括:Optionally, when the target network transmission node is a core layer device, determining the backup network transmission node and the data synchronization protocol according to the node type of the target network transmission node includes:

根据目标网络传输节点的节点类型,确定与核心层设备跨设备聚合连接的备份核心层设备、以及核心层设备与备份核心层设备之间进行数据同步的链路聚合协议;Determine, according to the node type of the target network transmission node, a backup core layer device connected to the core layer device through cross-device aggregation, and a link aggregation protocol for data synchronization between the core layer device and the backup core layer device;

根据备份核心层设备、以及链路聚合协议,确定备份网络传输节点、以及数据同步协议。Determine the backup network transmission node and data synchronization protocol based on the backup core layer device and the link aggregation protocol.

其中,当出现数据传输故障的网络传输节点为核心层设备时,可以确定与该核心层设备跨设备聚合连接的备用网络传输节点为备用核心层设备、以及与备核心层设备之间进行数据同步的链路聚合控制协议;备核心层设备可以通过链路聚合控制协议,定期监测收到的主核心层设备的状态信息,包括配置信息、VLAN信息、路由表等,以确认主核心层设备的状态,如果备核心层设备在一定时间内未收到主核心层设备的状态信息,则会认为主核心层设备出现故障,此时备核心层设备根据主核心层设备在未发送状态信息之间所定期发送的数据信息,接管主核心层设备的功能,并开始接收来自堆叠交换机的数据信息,此时备核心层设备成为新的核心层设备;另外,当原来的主核心层设备修复完成之后,也可以重新进行链路聚合和数据同步,确保网络恢复到原有的工作状态。Among them, when the network transmission node where data transmission failure occurs is a core layer device, the backup network transmission node that is aggregated and connected to the core layer device across devices can be determined as the backup core layer device, as well as the link aggregation control protocol for data synchronization with the backup core layer device; the backup core layer device can regularly monitor the status information received from the main core layer device through the link aggregation control protocol, including configuration information, VLAN information, routing table, etc., to confirm the status of the main core layer device. If the backup core layer device does not receive the status information of the main core layer device within a certain period of time, it will be considered that the main core layer device has failed. At this time, the backup core layer device takes over the function of the main core layer device according to the data information regularly sent by the main core layer device between the status information being not sent, and starts to receive data information from the stacked switches. At this time, the backup core layer device becomes the new core layer device; in addition, after the original main core layer device is repaired, link aggregation and data synchronization can be re-performed to ensure that the network is restored to its original working state.

S103、将目标网络传输节点替换为备份网络传输节点,以进行客户端和接入层设备之间的网络通信,当目标网络传输节点为防火墙时,备份网络传输节点为根据心跳线协议,与防火墙建立同步关联关系的备份防火墙;当目标网络传输节点为交换机时,备份网络传输节点为根据堆叠协议,与交换机堆叠连接的备份交换机;当目标网络传输节点为核心层设备时,备份网络传输节点为根据链路聚合控制协议,与核心层设备跨设备聚合的备份核心层设备。S103. Replace the target network transmission node with a backup network transmission node to carry out network communication between the client and the access layer device. When the target network transmission node is a firewall, the backup network transmission node is a backup firewall that establishes a synchronous association relationship with the firewall according to the heartbeat protocol; when the target network transmission node is a switch, the backup network transmission node is a backup switch that is connected to the switch stack according to the stacking protocol; when the target network transmission node is a core layer device, the backup network transmission node is a backup core layer device that is aggregated across devices with the core layer device according to the link aggregation control protocol.

其中,在将目标网络传输节点替换为备份网络传输节点,以进行客户端和接入层设备之间的网络通信之后,方法还包括:After replacing the target network transmission node with a backup network transmission node to perform network communication between the client and the access layer device, the method further includes:

将目标网络传输节点的节点状态调整为维护状态,以对目标网络传输节点进行故障分析和优化。The node state of the target network transmission node is adjusted to a maintenance state to perform fault analysis and optimization on the target network transmission node.

其中,在进行实际网络传输节点切换的过程中,可以根据网络的具体需求和架构,选择合适的切换策略和机制,确保网络能够及时有效地应对节点或者设备无法满足阈值的情况,保证网络的正常运行和性能表现。比如,可以通过负载均衡技术,在接收到客户端的网络流量信息之后,自动将网络流量分担到多个节点或者设备上,从而避免单点故障导致的性能问题,即当某个节点或设备无法满足阈值时,可以动态调整负载均衡策略,将流量重新分配到其他正常节点或设备上;或者,当发现某个节点或设备无法满足阈值时,网络管理员可以手动介入,将流量切换到备用节点或设备上,直至原节点或设备恢复正常;其次,可以制定并实施有效的故障恢复策略,包括快速检测故障、自动切换到备用节点或设备、及时通知网络管理员等步骤,以最小化网络中断时间和影响;另外,可以定期检查和维护网络传输节点或者设备,及时替换到老化或故障的设备,预防性地提升网络的稳定性和可靠性,从而在一定程度上提高网络架构的安全性和可靠性。Among them, in the process of switching the actual network transmission node, appropriate switching strategies and mechanisms can be selected according to the specific needs and architecture of the network to ensure that the network can respond to the situation where the node or device cannot meet the threshold in a timely and effective manner, and ensure the normal operation and performance of the network. For example, through load balancing technology, after receiving the network traffic information of the client, the network traffic can be automatically shared to multiple nodes or devices, so as to avoid performance problems caused by single point failures, that is, when a node or device cannot meet the threshold, the load balancing strategy can be dynamically adjusted to redistribute the traffic to other normal nodes or devices; or, when it is found that a node or device cannot meet the threshold, the network administrator can manually intervene and switch the traffic to the backup node or device until the original node or device returns to normal; secondly, an effective fault recovery strategy can be formulated and implemented, including steps such as rapid fault detection, automatic switching to the backup node or device, and timely notification of the network administrator, so as to minimize the network interruption time and impact; in addition, the network transmission nodes or devices can be regularly inspected and maintained, and aging or faulty devices can be replaced in time to preventively improve the stability and reliability of the network, thereby improving the security and reliability of the network architecture to a certain extent.

本申请提供的网络通信的优化方法,可以通过确定客户端和接入层设备之间的网络传输节点、以及网络传输节点的状态信息,其中,网络传输节点包括防火墙、交换机、核心层设备,网络传输节点的状态信息包括带宽利用率和数据丢包率;根据网络传输节点的状态信息和预设状态阈值,确定网络传输节点中的目标网络传输节点;将目标网络传输节点替换为备份网络传输节点,以进行客户端和接入层设备之间的网络通信,其中,当目标网络传输节点为防火墙时,备份网络传输节点为根据心跳线协议,与防火墙建立同步关联关系的备份防火墙;当目标网络传输节点为交换机时,备份网络传输节点为根据堆叠协议,与交换机堆叠连接的备份交换机;当目标网络传输节点为核心层设备时,备份网络传输节点为根据链路聚合控制协议,与核心层设备跨设备聚合的备份核心层设备,从而解决了现有技术中网络架构存在单点故障、可用性差等问题。The network communication optimization method provided in the present application can be achieved by determining the network transmission nodes between the client and the access layer device, and the status information of the network transmission nodes, wherein the network transmission nodes include firewalls, switches, and core layer devices, and the status information of the network transmission nodes includes bandwidth utilization and data packet loss rate; determining the target network transmission node in the network transmission node according to the status information of the network transmission node and a preset status threshold; replacing the target network transmission node with a backup network transmission node to perform network communication between the client and the access layer device, wherein when the target network transmission node is a firewall, the backup network transmission node is a backup firewall that establishes a synchronization association relationship with the firewall according to a heartbeat protocol; when the target network transmission node is a switch, the backup network transmission node is a backup switch that is connected to the switch stack according to a stacking protocol; when the target network transmission node is a core layer device, the backup network transmission node is a backup core layer device that is aggregated across devices with the core layer device according to a link aggregation control protocol, thereby solving the problems of single point failure and poor availability in the network architecture in the prior art.

图2为本申请提供的网络通信的优化方法实施例二的流程示意图。如图2所示,该方法的流程包括:FIG2 is a flow chart of a second embodiment of the network communication optimization method provided by the present application. As shown in FIG2, the flow of the method includes:

S201、接收客户端发送的业务数据信息。S201. Receive business data information sent by a client.

其中,根据用户数据面接收到客户端发送的业务请求信息和数据流量信息,确定各个业务的业务类型、以及每个业务对网络流量传输的要求;根据各个业务类型和网络流量传输要求,可以进一步设备网络架构中各个网络信息传输设备的内部配置信息。Among them, according to the service request information and data flow information sent by the client received by the user data plane, the service type of each service and the requirements of each service for network flow transmission are determined; according to each service type and network flow transmission requirements, the internal configuration information of each network information transmission device in the device network architecture can be further obtained.

S202、根据业务数据信息,确定目标网络信息传输设备。S202: Determine a target network information transmission device according to the business data information.

其中,根据客户端发送的业务数据信息,可以确定每个业务的业务类型;根据各个业务的业务类型,可以确定每个业务进行数据传输所需要的虚拟专用网络(英文:VirtualPrivate Network,简称:VPN);根据各个VPN,可以确定网络通信架构中需要在防火墙内部所绑定的各个VPN,以保证客户端每个业务之间可以相互隔离互不影响,保证了各个业务的安全性;根据各个VPN,确定防火墙的虚拟路由器冗余协议信息(英文:Virtual RouterRedundancy Protocol,简称:VRRP),并设置主防火墙和备防火墙,主防火墙的工作优先级高于备防火墙的工作优先级,主防火墙和备防火墙之间通过VRRP中的心跳线进行数据同步,以保证当主防火墙出现故障时,备防火墙可以接替主防火墙继续工作;将主防火墙和备防火墙统称为第一目标网络信息传输设备。Among them, according to the business data information sent by the client, the business type of each business can be determined; according to the business type of each business, the virtual private network (English: Virtual Private Network, referred to as: VPN) required for data transmission of each business can be determined; according to each VPN, the various VPNs that need to be bound inside the firewall in the network communication architecture can be determined to ensure that each business of the client can be isolated from each other and do not affect each other, thereby ensuring the security of each business; according to each VPN, the virtual router redundancy protocol information (English: Virtual Router Redundancy Protocol, referred to as: VRRP) of the firewall is determined, and the main firewall and the backup firewall are set. The working priority of the main firewall is higher than the working priority of the backup firewall. The main firewall and the backup firewall synchronize data through the heartbeat line in the VRRP to ensure that when the main firewall fails, the backup firewall can take over the main firewall and continue to work; the main firewall and the backup firewall are collectively referred to as the first target network information transmission device.

其次,客户端发送的业务数据信息经过防火墙的分流和检测之后,需要传送至交换机部分,交换机根据防火墙发送的不同VPN下的业务信息,为各个业务配置相应的VLAN局域网通道,以保证将各个业务发送至相应的承载网;其中,交换机部分配置为堆叠交换机结构,通过将两个交换机堆叠后在逻辑上成为一台交换机,从而达到冗余的效果;该堆叠交换机即为第二目标网络信息传输设备。Secondly, the business data information sent by the client needs to be transmitted to the switch part after being diverted and detected by the firewall. The switch configures the corresponding VLAN LAN channel for each business according to the business information under different VPNs sent by the firewall to ensure that each business is sent to the corresponding bearer network; wherein, the switch part is configured as a stacked switch structure, by stacking two switches to logically become one switch, thereby achieving a redundancy effect; the stacked switch is the second target network information transmission device.

另外,业务数据信息经过堆叠交换机之后需要发送至核心层设备,为了保证业务数据信息传输的准确性,可以通过链路聚合的方式将核心层设备和堆叠交换机进行相连;比如,将堆叠交换机中的第一交换机和第二交换机的接口绑定在一个聚合组中,该聚合组应该配置为switch模式,设置第一核心层设备和第二核心层设备,第一核心层设备和第二核心层设备对第一交换机和第二交换机方向两条链路做跨设备聚合,并且需要放通具体实际业务交换机上对应的VLAN虚拟局域网;该第一核心层设备和第二核心层设备统称为第三目标网络信息传输设备。In addition, the business data information needs to be sent to the core layer device after passing through the stacked switch. In order to ensure the accuracy of the business data information transmission, the core layer device and the stacked switch can be connected by link aggregation; for example, the interfaces of the first switch and the second switch in the stacked switch are bound to an aggregation group, and the aggregation group should be configured as a switch mode, and the first core layer device and the second core layer device are set. The first core layer device and the second core layer device perform cross-device aggregation on the two links in the direction of the first switch and the second switch, and the corresponding VLAN virtual LAN on the specific actual business switch needs to be opened; the first core layer device and the second core layer device are collectively referred to as the third target network information transmission device.

因此,上述第一目标网络信息传输设备、第二目标网络信息传输设备、以及第三目标网络信息传输设备统称为该网络通信架构中的目标网络信息传输设备。Therefore, the above-mentioned first target network information transmission device, second target network information transmission device, and third target network information transmission device are collectively referred to as target network information transmission devices in the network communication architecture.

S203、根据目标网络信息传输设备,得到目标网络信息传输设备的状态信息。S203: Obtain status information of the target network information transmission device according to the target network information transmission device.

其中,为了保证目标网络信息传输设备的准确性和可靠性,需要实时采集各个传输设备的工作状态信息,以保证当传输设备发生故障时能够第一时间切换至备用设备,进而减少网络震荡,提高业务的可靠性;因此,本申请实施例提出一种定期采集目标网络信息传输设备状态信息的方式,即快照采集方式,根据客户端各个业务的业务类型,确定每个业务进行网络通信时所需要的时间周期,根据该时间周期设置快照采集状态信息的采集周期,根据该采集周期定期采集各个目标网络信息传输设备的工作状态信息,比如带宽利用率、数据丢包率等信息,实现了当数据传输通道出现工作状态指标不稳的时候进行主动预警,主动切换至备用网络信息传输设备,从而最大程度的保证业务的连续性和可靠性。Among them, in order to ensure the accuracy and reliability of the target network information transmission equipment, it is necessary to collect the working status information of each transmission equipment in real time to ensure that when the transmission equipment fails, it can switch to the backup equipment as soon as possible, thereby reducing network shocks and improving business reliability; therefore, the embodiment of the present application proposes a method for regularly collecting the status information of the target network information transmission equipment, that is, a snapshot collection method, according to the business type of each business of the client, the time period required for each business to communicate on the network is determined, and the collection period of the snapshot collection status information is set according to the time period. According to the collection period, the working status information of each target network information transmission device is regularly collected, such as bandwidth utilization, data packet loss rate and other information, so as to realize active early warning when the working status indicators of the data transmission channel are unstable, and actively switch to the backup network information transmission equipment, thereby ensuring the continuity and reliability of the business to the greatest extent.

S204、根据目标网络信息传输设备的状态信息,确定目标网络信息传输链路。S204: Determine a target network information transmission link according to the status information of the target network information transmission device.

其中,根据定期采集到的各个目标网络信息传输设备的状态信息,可以确定每个传输设备中能够准确传输数据信息的目标设备、以及该目标设备对应的目标信息通道,根据该目标信息通道即可确定完成客户端业务数据信息传输的目标网络信息传输链路。Among them, based on the status information of each target network information transmission device collected regularly, the target device in each transmission device that can accurately transmit data information and the target information channel corresponding to the target device can be determined. Based on the target information channel, the target network information transmission link that completes the client business data information transmission can be determined.

图3为本申请实施例提供的网络通信架构结构示意图,如图3所示。FIG3 is a schematic diagram of the network communication architecture structure provided in an embodiment of the present application, as shown in FIG3 .

用户面功能(英文:User Plane Function,简称:UPF)为5G定义的一种用户面网元,主要负责处理用户数据平面的功能。User plane function (UPF) is a user plane network element defined by 5G, which is mainly responsible for processing the functions of the user data plane.

路由与交换业务网元(英文:Routing and Switching Gateway,简称RSG)为网络中的核心层设备,在网络中负责路由和交换业务数据,连接不同的网络节点和终端设备,确保数据的传输和交换顺畅。Routing and Switching Gateway (RSG) is a core layer device in the network. It is responsible for routing and switching business data in the network, connecting different network nodes and terminal devices, and ensuring smooth data transmission and exchange.

客户侧服务网关(英文:Customer Side Gateway,简称:CSG)为网络中的接入层设备,用于连接客户侧设备和运营商的网络,提供服务接入和数据传输功能。The Customer Side Gateway (CSG) is an access layer device in the network, used to connect the customer-side device and the operator's network, providing service access and data transmission functions.

伪线(英文:Pseudo Wire,简称:PW)是通信网络中承载传输业务的最基本的通道,PW技术使得网络能够提供多种接入业务,同时减少了传统网络升级的成本和复杂性。Pseudo Wire (PW) is the most basic channel for carrying transmission services in communication networks. PW technology enables the network to provide multiple access services while reducing the cost and complexity of traditional network upgrades.

目标网络信息传输设备的确定过程如下:当客户端发送的业务数据信息能够准确发送至承载网时,业务数据信息的传输方向为:移动终端、基站、UPF、主防火墙、堆叠交换机、RSG1、CSG、客户网络;The process of determining the target network information transmission device is as follows: when the service data information sent by the client can be accurately sent to the bearer network, the transmission direction of the service data information is: mobile terminal, base station, UPF, main firewall, stack switch, RSG1, CSG, customer network;

当主防火墙至交换机1的链路中断,则防火墙主备连同VRRP主备发生切换,业务数据信息的传输方向为:移动终端、基站、UPF、备防火墙、堆叠交换机、RSG1、CSG、客户网络;When the link from the main firewall to switch 1 is interrupted, the firewall master-slave and VRRP master-slave switch occurs, and the transmission direction of service data information is: mobile terminal, base station, UPF, standby firewall, stack switch, RSG1, CSG, customer network;

当RSG1至交换机1的链路中断,则PW主备发生切换,业务数据信息的传输方向为:移动终端、基站、UPF、主防火墙、堆叠交换机、RSG2、CSG、客户网络;When the link from RSG1 to switch 1 is interrupted, the PW primary and backup are switched, and the transmission direction of service data information is: mobile terminal, base station, UPF, main firewall, stack switch, RSG2, CSG, customer network;

当承载网上存在故障导致PW切换,业务数据信息的传输方向为:移动终端、基站、UPF、主防火墙、堆叠交换机、RSG2、CSG、客户网络;When a fault occurs on the bearer network and causes PW switching, the transmission direction of service data information is: mobile terminal, base station, UPF, main firewall, stack switch, RSG2, CSG, customer network;

当主防火墙至交换机1的链路中断,同时RSG1至交换机1的链路中断,业务数据信息的传输方向为:移动终端、基站、UPF、备防火墙、堆叠交换机、RSG2、CSG、客户网络;When the link from the main firewall to switch 1 is interrupted, and the link from RSG1 to switch 1 is interrupted at the same time, the transmission direction of service data information is: mobile terminal, base station, UPF, standby firewall, stack switch, RSG2, CSG, customer network;

当备防火墙至交换机2的链路中断,同时RSG2至交换机2的链路中断,业务数据信息的传输方向为:移动终端、基站、UPF、主防火墙、堆叠交换机、RSG1、CSG、客户网络;When the link from the standby firewall to switch 2 is interrupted, and the link from RSG2 to switch 2 is interrupted at the same time, the transmission direction of service data information is: mobile terminal, base station, UPF, main firewall, stack switch, RSG1, CSG, customer network;

当主防火墙至交换机1的链路中断,同时RSG2至交换机2的链路中断,业务数据信息的传输方向为:移动终端、基站、UPF、备防火墙、堆叠交换机、RSG1、CSG、客户网络;When the link from the main firewall to switch 1 is interrupted, and the link from RSG2 to switch 2 is interrupted at the same time, the transmission direction of service data information is: mobile terminal, base station, UPF, standby firewall, stack switch, RSG1, CSG, customer network;

当备防火墙至交换机2的链路中断,同时RSG1至交换机1的链路中断,业务数据信息的传输方向为:移动终端、基站、UPF、主防火墙、堆叠交换机、RSG2、CSG、客户网络。When the link from the backup firewall to switch 2 is interrupted and the link from RSG1 to switch 1 is interrupted, the transmission direction of the service data information is: mobile terminal, base station, UPF, main firewall, stack switch, RSG2, CSG, customer network.

因此,只要不是同一平面的2台防火墙或者2台交换机或者2台RSG或者2个PW同时故障,用户的数据传输都不会受到影响,通过设备本身的快速检测和切换机制,在普通业务场景完全可以做到用户的无感知,保证了用户的体验,提高了专线的高可用性。Therefore, as long as two firewalls, two switches, two RSGs, or two PWs on the same plane do not fail at the same time, the user's data transmission will not be affected. Through the device's own fast detection and switching mechanism, the user can be completely unaware in ordinary business scenarios, ensuring the user experience and improving the high availability of the dedicated line.

本申请实施例提供的网络通信的优化方法,通过设备本身的快速检测和切换机制,在普通业务场景完全可以做到用户的无感知,提高了客户专线的稳定性和冗余性,保证用户良好的网络体验。The network communication optimization method provided in the embodiment of the present application can achieve complete user-imperceptible performance in ordinary business scenarios through the rapid detection and switching mechanism of the device itself, thereby improving the stability and redundancy of customer dedicated lines and ensuring a good network experience for users.

图4为本申请实施例提供的网络通信的优化装置的结构示意图。如图4所示,网络通信的优化装置30包括信息确定模块301、节点确定模块302、以及节点替换模块303,其中:FIG4 is a schematic diagram of the structure of the network communication optimization device provided in an embodiment of the present application. As shown in FIG4, the network communication optimization device 30 includes an information determination module 301, a node determination module 302, and a node replacement module 303, wherein:

信息确定模块301,用于确定客户端和接入层设备之间的网络传输节点、以及网络传输节点的状态信息,其中,网络传输节点包括防火墙、交换机、核心层设备,网络传输节点的状态信息包括带宽利用率和数据丢包率;The information determination module 301 is used to determine the network transmission nodes between the client and the access layer device, and the status information of the network transmission nodes, wherein the network transmission nodes include firewalls, switches, and core layer devices, and the status information of the network transmission nodes includes bandwidth utilization and data packet loss rate;

节点确定模块302,用于根据网络传输节点的状态信息和预设状态阈值,确定网络传输节点中的目标网络传输节点;A node determination module 302, configured to determine a target network transmission node among the network transmission nodes according to the state information of the network transmission nodes and a preset state threshold;

节点替换模块303,用于将目标网络传输节点替换为备份网络传输节点,以进行客户端和接入层设备之间的网络通信,其中,当目标网络传输节点为防火墙时,备份网络传输节点为根据心跳线协议,与防火墙建立同步关联关系的备份防火墙;当目标网络传输节点为交换机时,备份网络传输节点为根据堆叠协议,与交换机堆叠连接的备份交换机;当目标网络传输节点为核心层设备时,备份网络传输节点为根据链路聚合控制协议,与核心层设备跨设备聚合的备份核心层设备。The node replacement module 303 is used to replace the target network transmission node with a backup network transmission node to carry out network communication between the client and the access layer device, wherein, when the target network transmission node is a firewall, the backup network transmission node is a backup firewall that establishes a synchronization association relationship with the firewall according to the heartbeat line protocol; when the target network transmission node is a switch, the backup network transmission node is a backup switch that is connected to the switch stack according to the stacking protocol; when the target network transmission node is a core layer device, the backup network transmission node is a backup core layer device that is aggregated across devices with the core layer device according to the link aggregation control protocol.

在本申请实施例中,信息确定模块301还具体用于:In the embodiment of the present application, the information determination module 301 is further specifically used for:

接收客户端发送的业务数据信息,业务数据信息表征客户端发送的业务类型信息、网络流量速度信息;Receive business data information sent by the client, where the business data information represents business type information and network traffic speed information sent by the client;

根据业务数据信息,确定采集状态信息的采样频率;Determine the sampling frequency of collecting status information according to business data information;

根据采样频率,对客户端和接入层设备之间的网络传输节点进行采样,得到网络传输节点的状态信息。According to the sampling frequency, the network transmission nodes between the client and the access layer device are sampled to obtain the status information of the network transmission nodes.

在本申请实施例中,节点确定模块302还具体用于:In the embodiment of the present application, the node determination module 302 is further specifically used for:

根据客户端发送的业务数据信息,确定客户端的业务类型信息;Determine the service type information of the client according to the service data information sent by the client;

根据业务类型信息,确定各个业务对网络带宽利用率的要求、以及对数据丢包率的要求;According to the service type information, determine the requirements of each service on network bandwidth utilization and data packet loss rate;

根据网络带宽利用率的要求、以及对数据丢包率的要求,确定带宽利用率阈值、以及数据丢包率阈值;Determine the bandwidth utilization threshold and the data packet loss rate threshold according to the network bandwidth utilization requirement and the data packet loss rate requirement;

根据带宽利用率阈值、以及数据丢包率阈值,得到预设状态阈值。A preset state threshold is obtained according to a bandwidth utilization threshold and a data packet loss rate threshold.

在本申请实施例中,节点确定模块302还具体用于:In the embodiment of the present application, the node determination module 302 is further specifically used for:

根据目标网络传输节点,确定目标网络传输节点的节点类型;According to the target network transmission node, determining the node type of the target network transmission node;

根据目标网络传输节点的节点类型,确定备份网络传输节点、以及数据同步协议,数据同步协议为目标网络传输节点与备份网络传输节点之间进行数据信息同步的协议;Determine the backup network transmission node and the data synchronization protocol according to the node type of the target network transmission node, where the data synchronization protocol is a protocol for synchronizing data information between the target network transmission node and the backup network transmission node;

根据数据同步协议,将目标网络传输节点的数据信息同步至备份网络传输节点。According to the data synchronization protocol, the data information of the target network transmission node is synchronized to the backup network transmission node.

在本申请实施例中,节点替换模块303还具体用于:In the embodiment of the present application, the node replacement module 303 is further specifically used for:

在本申请实施例中,当目标网络传输节点为防火墙时,根据目标网络传输节点的节点类型,确定备份网络传输节点、以及数据同步协议,包括:In an embodiment of the present application, when the target network transmission node is a firewall, determining a backup network transmission node and a data synchronization protocol according to the node type of the target network transmission node includes:

根据目标网络传输节点的节点类型,确定与防火墙对应的备份防火墙、以及防火墙与备份防火墙之间进行数据同步的心跳线协议;Determine the backup firewall corresponding to the firewall and the heartbeat line protocol for data synchronization between the firewall and the backup firewall according to the node type of the target network transmission node;

根据备份防火墙、以及心跳线协议,确定备份网络传输节点、以及数据同步协议。Determine the backup network transmission node and data synchronization protocol based on the backup firewall and heartbeat protocol.

在本申请实施例中,节点替换模块303还具体用于:In the embodiment of the present application, the node replacement module 303 is further specifically used for:

根据目标网络传输节点的节点类型,确定与交换机堆叠相连的备份交换机、以及交换机与备份交换机之间进行数据同步的堆叠协议;Determine, according to the node type of the target network transmission node, a backup switch connected to the switch stack and a stacking protocol for data synchronization between the switch and the backup switch;

根据备份交换机、以及堆叠协议,确定备份网络传输节点、以及数据同步协议。The backup network transmission node and the data synchronization protocol are determined according to the backup switch and the stacking protocol.

在本申请实施例中,节点替换模块303还具体用于:In the embodiment of the present application, the node replacement module 303 is further specifically used for:

根据目标网络传输节点的节点类型,确定与核心层设备跨设备聚合连接的备份核心层设备、以及核心层设备与备份核心层设备之间进行数据同步的链路聚合协议;Determine, according to the node type of the target network transmission node, a backup core layer device connected to the core layer device through cross-device aggregation, and a link aggregation protocol for data synchronization between the core layer device and the backup core layer device;

根据备份核心层设备、以及链路聚合协议,确定备份网络传输节点、以及数据同步协议。Determine the backup network transmission node and data synchronization protocol based on the backup core layer device and the link aggregation protocol.

在本申请实施例中,节点替换模块303还具体用于:In the embodiment of the present application, the node replacement module 303 is further specifically used for:

将目标网络传输节点的节点状态调整为维护状态,以对目标网络传输节点进行故障分析和优化。The node state of the target network transmission node is adjusted to a maintenance state to perform fault analysis and optimization on the target network transmission node.

由上可知,本申请实施例的网络通信的优化装置30由信息确定模块301,用于确定客户端和接入层设备之间的网络传输节点、以及网络传输节点的状态信息,其中,网络传输节点包括防火墙、交换机、核心层设备,网络传输节点的状态信息包括带宽利用率和数据丢包率;节点确定模块302,用于根据网络传输节点的状态信息和预设状态阈值,确定网络传输节点中的目标网络传输节点;节点替换模块303,用于将目标网络传输节点替换为备份网络传输节点,以进行客户端和接入层设备之间的网络通信,其中,当目标网络传输节点为防火墙时,备份网络传输节点为根据心跳线协议与防火墙建立同步关联关系的备份防火墙;当目标网络传输节点为交换机时,备份网络传输节点为根据堆叠协议与交换机堆叠连接的备份交换机;当目标网络传输节点为核心层设备时,备份网络传输节点为根据链路聚合控制协议与核心层设备跨设备聚合的备份核心层设备构成,由此实现了主动进行切换规避误差,切换更加科学可靠的效果,最大程度保证业务的连续性和可靠性。As can be seen from the above, the network communication optimization device 30 of the embodiment of the present application is composed of an information determination module 301, which is used to determine the network transmission node between the client and the access layer device, and the status information of the network transmission node, wherein the network transmission node includes a firewall, a switch, and a core layer device, and the status information of the network transmission node includes bandwidth utilization and data packet loss rate; a node determination module 302, which is used to determine the target network transmission node in the network transmission node according to the status information of the network transmission node and a preset status threshold; a node replacement module 303, which is used to replace the target network transmission node with a backup network transmission node to perform network communication between the client and the access layer device, wherein when the target network transmission node is a firewall, the backup network transmission node is a backup firewall that establishes a synchronous association relationship with the firewall according to the heartbeat line protocol; when the target network transmission node is a switch, the backup network transmission node is a backup switch connected to the switch stack according to the stacking protocol; when the target network transmission node is a core layer device, the backup network transmission node is a backup core layer device that is aggregated across devices with the core layer device according to the link aggregation control protocol, thereby achieving active switching to avoid errors, making the switching more scientific and reliable, and ensuring the continuity and reliability of the business to the greatest extent.

图5为本申请实施例提供的电子设备的结构示意图。如图5所示,该电子设备40包括:FIG5 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. As shown in FIG5 , the electronic device 40 includes:

该电子设备40可以包括一个或者一个以上处理核心的处理器401、一个或一个以上计算机可读存储介质的存储器402、通信部件403等部件。其中,处理器401、存储器402以及通信部件403通过总线404连接。The electronic device 40 may include a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a communication component 403 and other components. The processor 401 , the memory 402 and the communication component 403 are connected via a bus 404 .

在具体实现过程中,至少一个处理器401执行存储器402存储的计算机执行指令,使得至少一个处理器401执行如上的网络通信的优化方法。In a specific implementation process, at least one processor 401 executes the computer execution instructions stored in the memory 402, so that at least one processor 401 executes the above network communication optimization method.

处理器401的具体实现过程可参见上述方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The specific implementation process of the processor 401 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

在上述的图5所示的实施例中,应理解,处理器可以是中央处理单元(英文:Central Processing Unit,简称:CPU),还可以是其他通用处理器、数字信号处理器(英文:Digital Signal Processor,简称:DSP)、专用集成电路(英文:Application SpecificIntegrated Circuit,简称:ASIC)等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合发明所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。In the embodiment shown in FIG. 5 above, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

存储器可能包含高速存储器(Random Access Memory,RAM),也可能还包括非易失性存储器(Non-volatile Memory,NVM),例如至少一个磁盘存储器。The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (Non-volatile Memory, NVM), such as at least one disk memory.

总线可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外部设备互连(Peripheral Component,PCI)总线或扩展工业标准体系结构(ExtendedIndustry Standard Architecture,EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,本申请附图中的总线并不限定仅有一根总线或一种类型的总线。The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.

在一些实施例中,还提出一种计算机程序产品,包括计算机程序或指令,该计算机程序或指令被处理器执行时实现上述任一种网络通信的优化方法中的步骤。In some embodiments, a computer program product is also proposed, including a computer program or instructions, which implement the steps in any of the above-mentioned network communication optimization methods when executed by a processor.

以上各个操作的具体实施可参见前面的实施例,在此不再赘述。The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

本领域普通技术人员可以理解,上述实施例的各种方法中的全部或部分步骤可以通过指令来完成,或通过指令控制相关的硬件来完成,该指令可以存储于一计算机可读存储介质中,并由处理器进行加载和执行。A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

为此,本申请实施例提供一种计算机可读存储介质,其中存储有多条指令,该指令能够被处理器进行加载,以执行本申请实施例所提供的任一种网络通信的优化方法中的步骤。To this end, an embodiment of the present application provides a computer-readable storage medium, in which multiple instructions are stored. The instructions can be loaded by a processor to execute the steps in any one of the network communication optimization methods provided in the embodiments of the present application.

其中,该存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

根据本申请的一个方面,提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。According to one aspect of the present application, a computer program product or a computer program is provided. The computer program product or the computer program comprises computer instructions stored in a computer-readable storage medium.

由于该存储介质中所存储的指令,可以执行本申请实施例所提供的任一种网络通信的优化方法中的步骤,因此,可以实现本申请实施例所提供的任一种网络通信的优化方法所能实现的有益效果,详见前面的实施例,在此不再赘述。Since the instructions stored in the storage medium can execute the steps in any network communication optimization method provided in the embodiments of the present application, the beneficial effects that can be achieved by any network communication optimization method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

本实施例还提供一种计算机程序产品,包括计算机程序,计算机程序被处理器执行时实现上述任意一个实施例提供的网络通信的优化方法。This embodiment also provides a computer program product, including a computer program, which implements the network communication optimization method provided by any one of the above embodiments when the computer program is executed by a processor.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由下面的权利要求书指出。Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求书来限制。It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims (12)

1.一种网络通信的优化方法,其特征在于,包括:1. A method for optimizing network communication, comprising: 确定客户端和接入层设备之间的网络传输节点、以及所述网络传输节点的状态信息,其中,所述网络传输节点包括防火墙、交换机、核心层设备,所述网络传输节点的状态信息包括带宽利用率和数据丢包率;Determine the network transmission nodes between the client and the access layer device, and the status information of the network transmission nodes, wherein the network transmission nodes include firewalls, switches, and core layer devices, and the status information of the network transmission nodes includes bandwidth utilization and data packet loss rate; 根据所述网络传输节点的状态信息和预设状态阈值,确定所述网络传输节点中的目标网络传输节点;Determining a target network transmission node among the network transmission nodes according to the state information of the network transmission node and a preset state threshold; 将所述目标网络传输节点替换为备份网络传输节点,以进行所述客户端和所述接入层设备之间的网络通信,其中,当所述目标网络传输节点为防火墙时,所述备份网络传输节点为根据心跳线协议与所述防火墙建立同步关联关系的备份防火墙;当所述目标网络传输节点为交换机时,所述备份网络传输节点为根据堆叠协议与所述交换机堆叠连接的备份交换机;当所述目标网络传输节点为核心层设备时,所述备份网络传输节点为根据链路聚合控制协议与所述核心层设备跨设备聚合的备份核心层设备。The target network transmission node is replaced with a backup network transmission node to perform network communication between the client and the access layer device, wherein when the target network transmission node is a firewall, the backup network transmission node is a backup firewall that establishes a synchronization association relationship with the firewall according to a heartbeat protocol; when the target network transmission node is a switch, the backup network transmission node is a backup switch that is connected to the switch stack according to a stacking protocol; when the target network transmission node is a core layer device, the backup network transmission node is a backup core layer device that is aggregated across devices with the core layer device according to a link aggregation control protocol. 2.根据权利要求1所述的方法,其特征在于,在所述确定客户端和接入层设备之间的网络传输节点、以及所述网络传输节点的状态信息之前,所述方法还包括:2. The method according to claim 1, characterized in that before determining the network transmission node between the client and the access layer device and the status information of the network transmission node, the method further comprises: 接收客户端发送的业务数据信息,所述业务数据信息表征所述客户端发送的业务类型信息、网络流量速度信息;Receiving service data information sent by a client, wherein the service data information represents service type information and network traffic speed information sent by the client; 根据所述业务数据信息,确定采集状态信息的采样频率;Determine the sampling frequency of the acquisition status information according to the business data information; 根据所述采样频率,对所述客户端和所述接入层设备之间的网络传输节点进行采样,得到所述网络传输节点的状态信息。According to the sampling frequency, the network transmission nodes between the client and the access layer device are sampled to obtain the status information of the network transmission nodes. 3.根据权利要求1所述的方法,其特征在于,在所述根据所述网络传输节点的状态信息和预设状态阈值,确定所述网络传输节点中的目标网络传输节点之前,所述方法还包括:3. The method according to claim 1, characterized in that before determining the target network transmission node among the network transmission nodes according to the state information of the network transmission node and a preset state threshold, the method further comprises: 根据所述客户端发送的业务数据信息,确定所述客户端的业务类型信息;Determining the service type information of the client according to the service data information sent by the client; 根据所述业务类型信息,确定各个业务对网络带宽利用率的要求、以及对数据丢包率的要求;Determine the requirements of each service on network bandwidth utilization and data packet loss rate according to the service type information; 根据所述网络带宽利用率的要求、以及对数据丢包率的要求,确定带宽利用率阈值、以及数据丢包率阈值;Determine a bandwidth utilization threshold and a data packet loss rate threshold according to the network bandwidth utilization requirement and the data packet loss rate requirement; 根据所述带宽利用率阈值、以及数据丢包率阈值,得到预设状态阈值。A preset state threshold is obtained according to the bandwidth utilization threshold and the data packet loss rate threshold. 4.根据权利要求1所述的方法,其特征在于,所述将所述目标网络传输节点替换为备份网络传输节点,以进行所述客户端和所述接入层设备之间的网络通信,包括:4. The method according to claim 1, wherein replacing the target network transmission node with a backup network transmission node to perform network communication between the client and the access layer device comprises: 根据所述目标网络传输节点,确定所述目标网络传输节点的节点类型;Determining a node type of the target network transmission node according to the target network transmission node; 根据所述目标网络传输节点的节点类型,确定备份网络传输节点、以及数据同步协议,所述数据同步协议为所述目标网络传输节点与所述备份网络传输节点之间进行数据信息同步的协议;Determine a backup network transmission node and a data synchronization protocol according to the node type of the target network transmission node, wherein the data synchronization protocol is a protocol for synchronizing data information between the target network transmission node and the backup network transmission node; 根据所述数据同步协议,将所述目标网络传输节点的数据信息同步至所述备份网络传输节点;According to the data synchronization protocol, synchronizing the data information of the target network transmission node to the backup network transmission node; 将所述目标网络传输节点替换为所述备份网络传输节点,以进行所述客户端和所述接入层设备之间的网络通信。The target network transmission node is replaced by the backup network transmission node to perform network communication between the client and the access layer device. 5.根据权利要求4所述的方法,其特征在于,当所述目标网络传输节点为防火墙时,所述根据所述目标网络传输节点的节点类型,确定备份网络传输节点、以及数据同步协议,包括:5. The method according to claim 4, characterized in that when the target network transmission node is a firewall, determining the backup network transmission node and the data synchronization protocol according to the node type of the target network transmission node comprises: 根据所述目标网络传输节点的节点类型,确定与所述防火墙对应的备份防火墙、以及所述防火墙与所述备份防火墙之间进行数据同步的心跳线协议;Determine, according to the node type of the target network transmission node, a backup firewall corresponding to the firewall, and a heartbeat line protocol for data synchronization between the firewall and the backup firewall; 根据所述备份防火墙、以及所述心跳线协议,确定备份网络传输节点、以及数据同步协议。According to the backup firewall and the heartbeat protocol, a backup network transmission node and a data synchronization protocol are determined. 6.根据权利要求4所述的方法,其特征在于,当所述目标网络传输节点为交换机时,所述根据所述目标网络传输节点的节点类型,确定备份网络传输节点、以及数据同步协议,包括:6. The method according to claim 4, characterized in that when the target network transmission node is a switch, determining the backup network transmission node and the data synchronization protocol according to the node type of the target network transmission node comprises: 根据所述目标网络传输节点的节点类型,确定与所述交换机堆叠相连的备份交换机、以及所述交换机与所述备份交换机之间进行数据同步的堆叠协议;Determine, according to the node type of the target network transmission node, a backup switch connected to the switch stack, and a stacking protocol for data synchronization between the switch and the backup switch; 根据所述备份交换机、以及所述堆叠协议,确定备份网络传输节点、以及数据同步协议。A backup network transmission node and a data synchronization protocol are determined according to the backup switch and the stacking protocol. 7.根据权利要求4所述的方法,其特征在于,当所述目标网络传输节点为核心层设备时,所述根据所述目标网络传输节点的节点类型,确定备份网络传输节点、以及数据同步协议,包括:7. The method according to claim 4, characterized in that when the target network transmission node is a core layer device, determining the backup network transmission node and the data synchronization protocol according to the node type of the target network transmission node comprises: 根据所述目标网络传输节点的节点类型,确定与所述核心层设备跨设备聚合连接的备份核心层设备、以及所述核心层设备与所述备份核心层设备之间进行数据同步的链路聚合协议;Determine, according to the node type of the target network transmission node, a backup core layer device that is connected to the core layer device in cross-device aggregation, and a link aggregation protocol for data synchronization between the core layer device and the backup core layer device; 根据所述备份核心层设备、以及所述链路聚合协议,确定备份网络传输节点、以及数据同步协议。A backup network transmission node and a data synchronization protocol are determined according to the backup core layer device and the link aggregation protocol. 8.根据权利要求1所述的方法,其特征在于,在所述将所述目标网络传输节点替换为备份网络传输节点,以进行所述客户端和所述接入层设备之间的网络通信之后,所述方法还包括:8. The method according to claim 1, characterized in that after replacing the target network transmission node with a backup network transmission node to perform network communication between the client and the access layer device, the method further comprises: 将所述目标网络传输节点的节点状态调整为维护状态,以对所述目标网络传输节点进行故障分析和优化。The node state of the target network transmission node is adjusted to a maintenance state, so as to perform fault analysis and optimization on the target network transmission node. 9.一种网络通信的优化装置,其特征在于,包括:9. A network communication optimization device, characterized in that it comprises: 信息确定模块,用于确定客户端和接入层设备之间的网络传输节点、以及所述网络传输节点的状态信息,其中,所述网络传输节点包括防火墙、交换机、核心层设备,所述网络传输节点的状态信息包括带宽利用率和数据丢包率;An information determination module, used to determine the network transmission nodes between the client and the access layer device, and the status information of the network transmission nodes, wherein the network transmission nodes include firewalls, switches, and core layer devices, and the status information of the network transmission nodes includes bandwidth utilization and data packet loss rate; 节点确定模块,用于根据所述网络传输节点的状态信息和预设状态阈值,确定所述网络传输节点中的目标网络传输节点;A node determination module, used to determine a target network transmission node among the network transmission nodes according to the state information of the network transmission node and a preset state threshold; 节点替换模块,用于将所述目标网络传输节点替换为备份网络传输节点,以进行所述客户端和所述接入层设备之间的网络通信,其中,当所述目标网络传输节点为防火墙时,所述备份网络传输节点为根据心跳线协议与所述防火墙建立同步关联关系的备份防火墙;当所述目标网络传输节点为交换机时,所述备份网络传输节点为根据堆叠协议与所述交换机堆叠连接的备份交换机;当所述目标网络传输节点为核心层设备时,所述备份网络传输节点为根据链路聚合控制协议与所述核心层设备跨设备聚合的备份核心层设备。A node replacement module is used to replace the target network transmission node with a backup network transmission node to perform network communication between the client and the access layer device, wherein when the target network transmission node is a firewall, the backup network transmission node is a backup firewall that establishes a synchronization association relationship with the firewall according to a heartbeat protocol; when the target network transmission node is a switch, the backup network transmission node is a backup switch that is connected to the switch stack according to a stacking protocol; when the target network transmission node is a core layer device, the backup network transmission node is a backup core layer device that is aggregated across devices with the core layer device according to a link aggregation control protocol. 10.一种电子设备,其特征在于,包括:处理器,以及与所述处理器通信连接的存储器;10. An electronic device, comprising: a processor, and a memory communicatively connected to the processor; 所述存储器存储计算机执行指令;The memory stores computer-executable instructions; 所述处理器执行所述存储器存储的计算机执行指令,以实现如权利要求1至8中任一项所述的方法。The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 8. 11.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现如权利要求1至8中任一项所述的方法。11. A computer-readable storage medium, characterized in that the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method according to any one of claims 1 to 8. 12.一种计算机程序产品,其特征在于,包括计算机程序,该计算机程序被处理器执行时实现如权利要求1至8中任一项所述的方法。12. A computer program product, characterized in that it comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.
CN202410361526.6A 2024-03-27 2024-03-27 Network communication optimization method, device, equipment, storage medium and program product Pending CN118041782A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410361526.6A CN118041782A (en) 2024-03-27 2024-03-27 Network communication optimization method, device, equipment, storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410361526.6A CN118041782A (en) 2024-03-27 2024-03-27 Network communication optimization method, device, equipment, storage medium and program product

Publications (1)

Publication Number Publication Date
CN118041782A true CN118041782A (en) 2024-05-14

Family

ID=91000672

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410361526.6A Pending CN118041782A (en) 2024-03-27 2024-03-27 Network communication optimization method, device, equipment, storage medium and program product

Country Status (1)

Country Link
CN (1) CN118041782A (en)

Similar Documents

Publication Publication Date Title
EP1982447B1 (en) System and method for detecting and recovering from virtual switch link failures
EP2878105B1 (en) System and method using rsvp hello suppression for graceful restart capable neighbors
WO2020038308A1 (en) Switching method, device and transfer control separation system of control plane device
US9385944B2 (en) Communication system, path switching method and communication device
CN108306777B (en) SDN controller-based virtual gateway active/standby switching method and device
CN102364900B (en) Based on the data transmission method of FRR and equipment in a kind of IRF system
CN101094157A (en) Method for implementing network interconnection by using link aggregation
WO2011157145A2 (en) Main/backup switching method between communication device, communication device, system and service request device
EP3029883B1 (en) Network protection method and apparatus, next-ring node, and system
CN114465948B (en) Main and standby disaster recovery method, device, equipment and medium
CN101729426A (en) Method and system for quickly switching between master device and standby device of virtual router redundancy protocol (VRRP)
US8477598B2 (en) Method and system for implementing network element-level redundancy
Thorat et al. Optimized self-healing framework for software defined networks
CN107332793B (en) A message forwarding method, related equipment and system
WO2011157146A2 (en) Main/backup switching method between communication devices, communication device, system and service request device
CN106453074A (en) Switching method and apparatus
WO2017000096A1 (en) Link recovery method and network device
CN105281929B (en) A kind of service network interface state-detection and fault-tolerant devices and methods therefor
CN116248581B (en) Cloud scene gateway cluster master-slave switching method and system based on SDN
WO2018223991A1 (en) Method and system for switching between active bng and standby bng, and bng
CN118041782A (en) Network communication optimization method, device, equipment, storage medium and program product
CN117938741A (en) WAN port and LAN port multiplexing switching method, device and storage medium of switch
WO2024051258A1 (en) Event processing method, apparatus and system
CN102045259B (en) Packet switching equipment and method for managing customer service
CN107104837B (en) Method and control device for path detection

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination