CN112564983B - Data transmission method, device, computer system and medium - Google Patents
Data transmission method, device, computer system and medium Download PDFInfo
- Publication number
- CN112564983B CN112564983B CN202011543032.8A CN202011543032A CN112564983B CN 112564983 B CN112564983 B CN 112564983B CN 202011543032 A CN202011543032 A CN 202011543032A CN 112564983 B CN112564983 B CN 112564983B
- Authority
- CN
- China
- Prior art keywords
- sdwan controller
- sdwan
- controller
- long connection
- connection channel
- 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.)
- Active
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 81
- 238000000034 method Methods 0.000 title claims abstract description 63
- 230000015654 memory Effects 0.000 claims description 10
- 238000004590 computer program Methods 0.000 description 13
- 238000004891 communication Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 12
- 230000004044 response Effects 0.000 description 8
- 230000002085 persistent effect Effects 0.000 description 6
- 230000014509 gene expression Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000012795 verification Methods 0.000 description 4
- 230000000977 initiatory effect Effects 0.000 description 3
- 238000003491 array Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 239000000758 substrate Substances 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0668—Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/22—Alternate routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/28—Routing or path finding of packets in data switching networks using route fault recovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本公开提供了一种数据传输方法,包括:基于配置的第一SDWAN控制器的地址信息,建立与第一SDWAN控制器之间的第一长连接通道;基于第二SDWAN控制器的地址信息,建立与第二SDWAN控制器之间的第二长连接通道;通过第一长连接通道接收第一SDWAN控制器的工作状态信息,通过第二长连接通道接收第二SDWAN控制器的工作状态信息;在接收到第一SDWAN控制器的工作状态为主工作状态的情况下,通过第一长连接通道传输业务数据;在接收到第一SDWAN控制器和第二SDWAN控制器的工作状态发生切换的情况下,将业务数据切换到第二长连接通道进行传输。本公开还提供了一种数据传输装置、计算机系统和存储介质。
The present disclosure provides a data transmission method, including: based on the configured address information of the first SDWAN controller, establishing a first long connection channel with the first SDWAN controller; based on the address information of the second SDWAN controller, Establish a second long connection channel with the second SDWAN controller; receive the working status information of the first SDWAN controller through the first long connection channel, and receive the working status information of the second SDWAN controller through the second long connection channel; When receiving the working state of the first SDWAN controller as the main working state, transmit business data through the first long connection channel; when receiving the switching of the working states of the first SDWAN controller and the second SDWAN controller Next, switch the business data to the second long connection channel for transmission. The present disclosure also provides a data transmission device, a computer system and a storage medium.
Description
技术领域technical field
本公开涉及网络通信技术领域,更具体地,涉及一种数据传输方法、装置、计算机系统和存储介质。The present disclosure relates to the technical field of network communication, and more specifically, to a data transmission method, device, computer system and storage medium.
背景技术Background technique
随着互联网技术的快速发展,企业的运作越来越离不开网络的支撑。网络设备发生故障会造成业务中断,因此,在发生故障时保证业务连续对于网络通信来说至关重要。With the rapid development of Internet technology, the operation of enterprises is increasingly inseparable from the support of the network. The failure of network equipment will cause business interruption, so it is very important for network communication to ensure business continuity in the event of a failure.
对于常规的局域网,基于VRRP(Virtual Router Redundancy Protocol,虚拟路由冗余协议)可以在网络发生故障时透明地进行节点切换而不影响主机之间的数据通信。For a conventional local area network, based on VRRP (Virtual Router Redundancy Protocol, Virtual Router Redundancy Protocol), node switching can be performed transparently when a network failure occurs without affecting data communication between hosts.
但是,VRRP是基于同一局域网内的解决方案,在广义网场景中,该协议的应用受到了限制。因此,广义网场景中无法保证网络发生故障时透明地进行节点切换而不影响主机之间的数据通信,从而造成业务中断。However, VRRP is a solution based on the same local area network. In the generalized network scenario, the application of this protocol is limited. Therefore, in the generalized network scenario, it is impossible to ensure transparent node switching when a network failure occurs without affecting data communication between hosts, resulting in service interruption.
发明内容Contents of the invention
有鉴于此,本公开提供了一种数据传输方法、装置、计算机系统和存储介质。In view of this, the present disclosure provides a data transmission method, device, computer system and storage medium.
本公开的一个方面提供了一种数据传输方法,应用于CPE终端,包括:基于配置的第一SDWAN控制器的地址信息,建立与所述第一SDWAN控制器之间的第一长连接通道;基于第二SDWAN控制器的地址信息,建立与所述第二SDWAN控制器之间的第二长连接通道;通过所述第一长连接通道接收所述第一SDWAN控制器的工作状态信息,通过所述第二长连接通道接收所述第二SDWAN控制器的工作状态信息,在同一时刻所述第一SDWAN控制器的工作状态和所述第二SDWAN控制器的工作状态中一个为主工作状态,另一个为备用工作状态;在接收到所述第一SDWAN控制器的工作状态为主工作状态的情况下,通过所述第一长连接通道传输业务数据;在接收到所述第一SDWAN控制器和所述第二SDWAN控制器的工作状态发生切换的情况下,将所述业务数据切换到所述第二长连接通道进行传输。One aspect of the present disclosure provides a data transmission method applied to a CPE terminal, including: establishing a first long connection channel with the first SDWAN controller based on configured address information of the first SDWAN controller; Based on the address information of the second SDWAN controller, establish a second long connection channel with the second SDWAN controller; receive the working status information of the first SDWAN controller through the first long connection channel, and pass The second long connection channel receives the working state information of the second SDWAN controller, and at the same time, one of the working states of the first SDWAN controller and the working state of the second SDWAN controller is the main working state , and the other is a standby working state; when receiving the working state of the first SDWAN controller as the main working state, transmit service data through the first long connection channel; after receiving the first SDWAN controller When the working states of the controller and the second SDWAN controller are switched, the service data is switched to the second long connection channel for transmission.
本公开的另一个方面提供了一种数据传输方法,应用于SDWAN控制器平台,所述SDWAN控制器平台包括第一SDWAN控制器和第二SDWAN控制器,包括:根据接收到的来自CPE终端的包括所述第一SDWAN控制器的地址信息的第一连接请求,建立所述第一SDWAN控制器与CPE终端之间的第一长连接通道;根据接收到的来自CPE终端的包括所述第二SDWAN控制器的地址信息的第二连接请求,建立所述第二SDWAN控制器与CPE终端之间的第二长连接通道;通过所述第一长连接通道发送所述第一SDWAN控制器的工作状态信息,通过所述第二长连接通道发送所述第二SDWAN控制器的工作状态信息,在同一时刻所述第一SDWAN控制器的工作状态和所述第二SDWAN控制器的工作状态中一个为主工作状态,另一个为备用工作状态;当所述第一SDWAN控制器的工作状态为主工作状态的情况下,通过所述第一长连接通道传输业务数据;在所述第一SDWAN控制器和所述第二SDWAN控制器的工作状态发生切换的情况下,将所述第一SDWAN控制器和所述第二SDWAN控制器切换后的工作状态发送给所述CPE终端;通过所述第二长连接通道传输所述业务数据。Another aspect of the present disclosure provides a data transmission method, which is applied to an SDWAN controller platform, and the SDWAN controller platform includes a first SDWAN controller and a second SDWAN controller, including: according to the received data from the CPE terminal A first connection request including the address information of the first SDWAN controller, establishing a first long connection channel between the first SDWAN controller and the CPE terminal; according to the received request from the CPE terminal including the second A second connection request for the address information of the SDWAN controller, establishing a second long connection channel between the second SDWAN controller and the CPE terminal; sending the work of the first SDWAN controller through the first long connection channel Status information, sending the working status information of the second SDWAN controller through the second long connection channel, at the same time one of the working status of the first SDWAN controller and the working status of the second SDWAN controller The main working state, the other is the standby working state; when the working state of the first SDWAN controller is the main working state, the service data is transmitted through the first long connection channel; in the first SDWAN controller When the working status of the first SDWAN controller and the second SDWAN controller is switched, send the switched working status of the first SDWAN controller and the second SDWAN controller to the CPE terminal; through the second SDWAN controller The two long connection channels transmit the service data.
本公开的另一个方面提供了一种数据传输装置,应用于CPE终端,包括:第一建立模块,用于基于配置的第一SDWAN控制器的地址信息,建立与所述第一SDWAN控制器之间的第一长连接通道;第二建立模块,用于基于第二SDWAN控制器的地址信息,建立与所述第二SDWAN控制器之间的第二长连接通道;第一接收模块,用于通过所述第一长连接通道接收所述第一SDWAN控制器的工作状态信息,通过所述第二长连接通道接收所述第二SDWAN控制器的工作状态信息,在同一时刻所述第一SDWAN控制器的工作状态和所述第二SDWAN控制器的工作状态中一个为主工作状态,另一个为备用工作状态;第一传输模块,用于在接收到所述第一SDWAN控制器的工作状态为主工作状态的情况下,通过所述第一长连接通道传输业务数据;切换模块,用于在接收到所述第一SDWAN控制器和所述第二SDWAN控制器的工作状态发生切换的情况下,将所述业务数据切换到所述第二长连接通道进行传输。Another aspect of the present disclosure provides a data transmission device applied to a CPE terminal, including: a first establishment module, configured to establish a relationship with the first SDWAN controller based on the configured address information of the first SDWAN controller The first long connection channel between; the second establishment module is used to establish the second long connection channel between the second SDWAN controller and the second SDWAN controller based on the address information of the second SDWAN controller; the first receiving module is used for Receive the working status information of the first SDWAN controller through the first long connection channel, receive the working status information of the second SDWAN controller through the second long connection channel, and at the same time, the first SDWAN One of the working state of the controller and the working state of the second SDWAN controller is the main working state, and the other is the standby working state; the first transmission module is used to receive the working state of the first SDWAN controller In the case of the main working state, the service data is transmitted through the first long connection channel; the switching module is used to switch the working state of the first SDWAN controller and the second SDWAN controller after receiving Next, switch the service data to the second long connection channel for transmission.
本公开的另一个方面提供了一种数据传输装置,应用于SDWAN控制器平台,所述SDWAN控制器平台包括第一SDWAN控制器和第二SDWAN控制器,包括:第三建立模块,用于根据接收到的来自CPE终端的包括所述第一SDWAN控制器的地址信息的第一连接请求,建立所述第一SDWAN控制器与CPE终端之间的第一长连接通道;第四建立模块,用于根据接收到的来自CPE终端的包括所述第二SDWAN控制器的地址信息的第二连接请求,建立所述第二SDWAN控制器与CPE终端之间的第二长连接通道;第一发送模块,用于通过所述第一长连接通道发送所述第一SDWAN控制器的工作状态信息,通过所述第二长连接通道发送所述第二SDWAN控制器的工作状态信息,在同一时刻所述第一SDWAN控制器的工作状态和所述第二SDWAN控制器的工作状态中一个为主工作状态,另一个为备用工作状态;第二传输模块,用于当所述第一SDWAN控制器的工作状态为主工作状态的情况下,通过所述第一长连接通道传输业务数据;第二发送模块,用于在所述第一SDWAN控制器和所述第二SDWAN控制器的工作状态发生切换的情况下,将所述第一SDWAN控制器和所述第二SDWAN控制器切换后的工作状态发送给所述CPE终端;第三传输模块,用于通过所述第二长连接通道传输所述业务数据。Another aspect of the present disclosure provides a data transmission device, which is applied to an SDWAN controller platform, and the SDWAN controller platform includes a first SDWAN controller and a second SDWAN controller, including: a third establishment module, configured to The received first connection request from the CPE terminal including the address information of the first SDWAN controller establishes the first long connection channel between the first SDWAN controller and the CPE terminal; the fourth establishment module uses Establishing a second long connection channel between the second SDWAN controller and the CPE terminal according to the received second connection request including the address information of the second SDWAN controller from the CPE terminal; the first sending module , for sending the working status information of the first SDWAN controller through the first long connection channel, sending the working status information of the second SDWAN controller through the second long connection channel, and at the same time the One of the working state of the first SDWAN controller and the working state of the second SDWAN controller is the main working state, and the other is the standby working state; the second transmission module is used when the first SDWAN controller is working In the case of the main working state, the service data is transmitted through the first long connection channel; the second sending module is used to switch between the working states of the first SDWAN controller and the second SDWAN controller In this case, the switched working status of the first SDWAN controller and the second SDWAN controller is sent to the CPE terminal; the third transmission module is used to transmit the service through the second long connection channel data.
本公开的另一方面提供了一种计算机可读存储介质,存储有计算机可执行指令,所述指令在被执行时用于实现如上所述的方法。Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, which are used to implement the above method when executed.
本公开的另一方面提供了一种计算机程序,所述计算机程序包括计算机可执行指令,所述指令在被执行时用于实现如上所述的方法。Another aspect of the present disclosure provides a computer program comprising computer-executable instructions for implementing the method as described above when executed.
本公开的另一方面提供了一种计算机系统,包括:一个或多个处理器;存储装置,用于存储一个或多个程序,其中,当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如上所述的方法。Another aspect of the present disclosure provides a computer system, including: one or more processors; a storage device for storing one or more programs, wherein, when the one or more programs are executed by the one or more When executed by one or more processors, the one or more processors implement the method as described above.
根据本申请的实施例,基于配置的第一SDWAN控制器的地址信息,建立与第一SDWAN控制器之间的第一长连接通道;基于第二SDWAN控制器的地址信息,建立与第二SDWAN控制器之间的第二长连接通道;通过第一长连接通道接收第一SDWAN控制器的工作状态信息,通过第二长连接通道接收第二SDWAN控制器的工作状态信息,在同一时刻第一SDWAN控制器的工作状态和第二SDWAN控制器的工作状态中一个为主工作状态,另一个为备用工作状态;在接收到第一SDWAN控制器的工作状态为主工作状态的情况下,通过第一长连接通道传输业务数据;在接收到第一SDWAN控制器和第二SDWAN控制器的工作状态发生切换的情况下,将业务数据切换到第二长连接通道进行传输。由于终端与网络管控平台中的至少两个SDWAN控制器分别建立长连接通路,在至少两个SDWAN控制器发生主备状态切换时,终端进行业务数据传输通道的切换,能够保持业务数据传输不中断,保持业务连续。According to an embodiment of the present application, based on the configured address information of the first SDWAN controller, establish a first long connection channel with the first SDWAN controller; based on the address information of the second SDWAN controller, establish a connection with the second SDWAN The second long connection channel between the controllers; receive the working status information of the first SDWAN controller through the first long connection channel, receive the working status information of the second SDWAN controller through the second long connection channel, and at the same time the first One of the working state of the SDWAN controller and the working state of the second SDWAN controller is the main working state, and the other is the standby working state; when the working state of the first SDWAN controller is received as the main working state, through the second A long connection channel transmits service data; in the case of receiving a switch between the working states of the first SDWAN controller and the second SDWAN controller, switch the service data to the second long connection channel for transmission. Since the terminal establishes long connection paths with at least two SDWAN controllers in the network management and control platform, when at least two SDWAN controllers switch between active and standby states, the terminal switches the service data transmission channel, which can keep the service data transmission uninterrupted , to maintain business continuity.
附图说明Description of drawings
通过以下参照附图对本公开实施例的描述,本公开的上述以及其他目的、特征和优点将更为清楚,在附图中:The above and other objects, features and advantages of the present disclosure will be more clearly described through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
图1示意性示出了根据本公开实施例的可以应用数据传输方法和装置的示例性系统示意图;FIG. 1 schematically shows an exemplary system diagram to which a data transmission method and device can be applied according to an embodiment of the present disclosure;
图2示意性示出了根据本公开实施例的数据传输方法的流程图;FIG. 2 schematically shows a flow chart of a data transmission method according to an embodiment of the present disclosure;
图3A示意性示出了根据本公开实施例的通过第一长连接通道传输业务数据的方法的流程图;FIG. 3A schematically shows a flow chart of a method for transmitting service data through a first long connection channel according to an embodiment of the present disclosure;
图3B示意性示出了根据本公开实施例的将业务数据切换到第二长连接通道进行传输的方法的流程图;FIG. 3B schematically shows a flowchart of a method for switching service data to a second long connection channel for transmission according to an embodiment of the present disclosure;
图4示意性示出了根据本公开另一实施例的数据传输方法的流程图;FIG. 4 schematically shows a flowchart of a data transmission method according to another embodiment of the present disclosure;
图5A示意性示出了根据本公开实施例的通过第一长连接通道传输业务数据的的方法的流程图;FIG. 5A schematically shows a flowchart of a method for transmitting service data through a first long connection channel according to an embodiment of the present disclosure;
图5B示意性示出了根据本公开实施例的通过第二长连接通道传输业务数据的方法的流程图;FIG. 5B schematically shows a flowchart of a method for transmitting service data through a second long connection channel according to an embodiment of the present disclosure;
图6示意性示出了根据本公开另一实施例的数据传输方法的流程图;FIG. 6 schematically shows a flowchart of a data transmission method according to another embodiment of the present disclosure;
图7示意性示出了根据本公开的实施例的数据传输装置的框图;Fig. 7 schematically shows a block diagram of a data transmission device according to an embodiment of the present disclosure;
图8示意性示出了根据本公开另一实施例的数据传输装置的框图;以及Fig. 8 schematically shows a block diagram of a data transmission device according to another embodiment of the present disclosure; and
图9示意性示出了根据本公开实施例的计算机系统的框图。Fig. 9 schematically shows a block diagram of a computer system according to an embodiment of the present disclosure.
具体实施方式Detailed ways
以下,将参照附图来描述本公开的实施例。但是应该理解,这些描述只是示例性的,而并非要限制本公开的范围。在下面的详细描述中,为便于解释,阐述了许多具体的细节以提供对本公开实施例的全面理解。然而,明显地,一个或多个实施例在没有这些具体细节的情况下也可以被实施。此外,在以下说明中,省略了对公知结构和技术的描述,以避免不必要地混淆本公开的概念。Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. It should be understood, however, that these descriptions are exemplary only, and are not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Also, in the following description, descriptions of well-known structures and techniques are omitted to avoid unnecessarily obscuring the concept of the present disclosure.
在此使用的术语仅仅是为了描述具体实施例,而并非意在限制本公开。在此使用的术语“包括”、“包含”等表明了所述特征、步骤、操作和/或部件的存在,但是并不排除存在或添加一个或多个其他特征、步骤、操作或部件。The terminology used herein is for the purpose of describing particular embodiments only, and is not intended to be limiting of the present disclosure. The terms "comprising", "comprising", etc. used herein indicate the presence of stated features, steps, operations and/or components, but do not exclude the presence or addition of one or more other features, steps, operations or components.
在此使用的所有术语(包括技术和科学术语)具有本领域技术人员通常所理解的含义,除非另外定义。应注意,这里使用的术语应解释为具有与本说明书的上下文相一致的含义,而不应以理想化或过于刻板的方式来解释。All terms (including technical and scientific terms) used herein have the meaning commonly understood by one of ordinary skill in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted to have a meaning consistent with the context of this specification, and not be interpreted in an idealized or overly rigid manner.
在使用类似于“A、B和C等中至少一个”这样的表述的情况下,一般来说应该按照本领域技术人员通常理解该表述的含义来予以解释(例如,“具有A、B和C中至少一个的系统”应包括但不限于单独具有A、单独具有B、单独具有C、具有A和B、具有A和C、具有B和C、和/或具有A、B、C的系统等)。在使用类似于“A、B或C等中至少一个”这样的表述的情况下,一般来说应该按照本领域技术人员通常理解该表述的含义来予以解释(例如,“具有A、B或C中至少一个的系统”应包括但不限于单独具有A、单独具有B、单独具有C、具有A和B、具有A和C、具有B和C、和/或具有A、B、C的系统等)。Where expressions such as "at least one of A, B, and C, etc." are used, they should generally be interpreted as those skilled in the art would normally understand the expression (for example, "having A, B, and C A system of at least one of "shall include, but not be limited to, systems with A alone, B alone, C alone, A and B, A and C, B and C, and/or A, B, C, etc. ). Where expressions such as "at least one of A, B, or C, etc." are used, they should generally be interpreted as those skilled in the art would normally understand the expression (for example, "having A, B, or C A system of at least one of "shall include, but not be limited to, systems with A alone, B alone, C alone, A and B, A and C, B and C, and/or A, B, C, etc. ).
随着互联网技术的快速发展,企业的运作越来越离不开网络的支撑,从基本的电子邮件、到办公自动化,再到各种各样的信息化系统和平台,都迫切地需要一张强有力的支撑网络。With the rapid development of Internet technology, the operation of enterprises is increasingly inseparable from the support of the network. From basic e-mail, to office automation, to various information systems and platforms, there is an urgent need for a strong Strong support network.
WAN(Wide Ares Netwoek,广义网)相比与常规的局域网能够提供更大地理范围的计算机网络,SDWAN(Software-Defined WAN,软件定义广义网)是将网络控制能力通过软件方式定义,用于连接广义网场景中的企业网络、数据中心、互联网应用和云服务等。WAN (Wide Ares Netwoek, generalized network) can provide a larger geographical range of computer networks than conventional LANs. SDWAN (Software-Defined WAN, software-defined generalized network) defines network control capabilities through software for connection Enterprise networks, data centers, Internet applications, and cloud services in generalized network scenarios.
在网络发生故障时保证业务不中断对于网络通信来说至关重要。It is very important for network communication to ensure uninterrupted business in the event of network failure.
对于常规的局域网,可以基于VRRP来保证在网络发生故障时透明地进行节点切换而不影响主机之间的数据通信。VRRP(虚拟路由冗余协议)协议是一种容错的主备模式的协议,保证当主机的下一跳路由出现故障时,由另一台路由器来代替出现故障的路由器进行工作,通过VRRP可以在网络发生故障时透明的进行节点切换而不影响主机之间的数据通信。For a conventional LAN, VRRP can be used to ensure transparent node switching when a network failure occurs without affecting data communication between hosts. VRRP (Virtual Routing Redundancy Protocol) protocol is a fault-tolerant active-standby protocol, which ensures that when the next-hop route of the host fails, another router will replace the failed router to work. When a network failure occurs, node switching is performed transparently without affecting data communication between hosts.
该VRRP协议规定多台路由器属于一个虚拟路由器,对外提供一个虚拟IP地址和MAC地址。主机将虚拟路由器当作默认网关。在虚拟路由器内部,同一时间有一台主路由器(Master)对外提供服务,一般情况下主路由器是由选举算法产生,它拥有对外服务的虚拟IP,提供各种网络功能,如ARP(Address Resolution Protocol,地址解析协议)请求,ICMP(Internet Control Message Protocol,互联网控制报文协议)数据转发等。备用路由器由虚拟路由器中的其他物理路由器构成,不拥有对外的虚拟IP,也不对外提供网络功能,仅接收主路由器的VRRP状态通告信息。当主路由器失败时,处于后援(BACK UP)角色的备用路由器将重新进行选举,产生一个新的主路由器进入MASTER角色,继续提供对外服务,整个切换对用户来说是完全透明的。The VRRP protocol stipulates that multiple routers belong to a virtual router and provide a virtual IP address and MAC address to the outside. The host uses the virtual router as the default gateway. Inside the virtual router, there is a master router (Master) that provides external services at the same time. Generally, the master router is generated by an election algorithm. It has a virtual IP for external services and provides various network functions, such as ARP (Address Resolution Protocol, Address Resolution Protocol) request, ICMP (Internet Control Message Protocol, Internet Control Message Protocol) data forwarding, etc. The standby router is composed of other physical routers in the virtual router. It does not have an external virtual IP, nor does it provide network functions externally. It only receives VRRP status notification information from the primary router. When the main router fails, the standby router in the role of backup (BACK UP) will re-elect, and a new main router will enter the role of MASTER to continue to provide external services. The whole switch is completely transparent to users.
基于VRRP的解决方案是主路由器多播方式定期发送VRRP报文,通知备用组内的其他路由器自身工作正常。这种给出的解决方案是基于同一局域网内,且虚拟IP为固定IP的情况,并不适用于跨机房和公私有云(或虚拟化)环境的部署场景,因为在这两个场景下,在SDWAN管控平台设备上无法配置虚拟IP,也就无法保证网络发生故障时透明的进行节点切换而不影响主机之间的数据通信。The solution based on VRRP is that the master router periodically sends VRRP messages in multicast mode to notify other routers in the backup group that they are working normally. This given solution is based on the same local area network and the virtual IP is a fixed IP. It is not suitable for deployment scenarios across computer rooms and public and private cloud (or virtualization) environments, because in these two scenarios, The virtual IP cannot be configured on the SDWAN management and control platform device, and it is impossible to guarantee transparent node switching without affecting the data communication between the hosts when the network fails.
有鉴于此,本公开的实施例提供了一种数据传输方法和装置。该方法包括:基于配置的第一SDWAN控制器的地址信息,建立与第一SDWAN控制器之间的第一长连接通道;基于第二SDWAN控制器的地址信息,建立与第二SDWAN控制器之间的第二长连接通道;通过第一长连接通道接收第一SDWAN控制器的工作状态信息,通过第二长连接通道接收第二SDWAN控制器的工作状态信息,在同一时刻第一SDWAN控制器的工作状态和第二SDWAN控制器的工作状态中一个为主工作状态,另一个为备用工作状态;在接收到第一SDWAN控制器的工作状态为主工作状态的情况下,通过第一长连接通道传输业务数据;在接收到第一SDWAN控制器和第二SDWAN控制器的工作状态发生切换的情况下,将业务数据切换到第二长连接通道进行传输。In view of this, the embodiments of the present disclosure provide a data transmission method and device. The method includes: based on the configured address information of the first SDWAN controller, establishing a first long connection channel with the first SDWAN controller; based on the address information of the second SDWAN controller, establishing a connection with the second SDWAN controller The second long connection channel between; receive the working status information of the first SDWAN controller through the first long connection channel, receive the working status information of the second SDWAN controller through the second long connection channel, and at the same time the first SDWAN controller One of the working states of the working state of the first SDWAN controller and the working state of the second SDWAN controller is the main working state, and the other is the standby working state; when the working state of the first SDWAN controller is received as the main working state, through the first long connection The channel transmits service data; in the case of receiving the switching of the working states of the first SDWAN controller and the second SDWAN controller, switch the service data to the second long connection channel for transmission.
图1示意性示出了根据本公开实施例的可以应用数据传输方法和装置的示例性系统示意图。需要注意的是,图1所示仅为可以应用本公开实施例的系统的示例,以帮助本领域技术人员理解本公开的技术内容,但并不意味着本公开实施例不可以用于其他设备、系统、环境或场景。Fig. 1 schematically shows an exemplary system diagram to which a data transmission method and device can be applied according to an embodiment of the present disclosure. It should be noted that FIG. 1 is only an example of a system to which the embodiment of the present disclosure can be applied, to help those skilled in the art understand the technical content of the present disclosure, but it does not mean that the embodiment of the present disclosure cannot be applied to other devices , system, environment or scenario.
如图1所示,根据该实施例的系统架构100可以包括终端设备110和网络管控平台120,网络管控平台120包括服务器121和服务器122。As shown in FIG. 1 , a
终端设备110可以是SDWAN CPE(Customer Premise Equipment,客户端设备),服务器121和服务器122均可以是SDWAN控制器。服务器121和服务器122之间可以基于VRRP协议选举出主控制器。终端设备110分别与服务器121和服务器122之间建立长连接,服务器121和服务器122可以向终端设备110发送各自的主备状态。The
终端设备110通过与处于主状态的服务器之间的长连接通道将业务数据上报给处于主状态的服务器(例如处于主状态的服务器为服务器121),但仍与服务器121和服务器122均保持长连接。如果服务器121和服务器122的主备状态发生切换,则服务器121和服务器122均会通知终端设备110自身主备状态的变化。终端设备110在确定服务器121和服务器122的主备状态发生切换的情况下(如服务器121从主状态切换到备用状态,服务器122从备用状态切换到主状态),终端设备110将业务数据通过与新的主状态的服务器(服务器122)之间的通路上报给新的主状态的服务器(服务器122),从而保证业务不中断。The
根据本公开实施例,在终端设备110端处理主备通路切换的逻辑,并与服务器121和服务器122均保持长连接,当需要进行主备切换时,免去建立连接的逻辑和时间损耗,以防造成不必要的业务中断。与常规局域网中配置虚拟IP保证业务不中断的方式,本公开实施例无需配置虚IP,也就不需要部署环境必须是同一局域网内或必须提供固定IP,因此可以在跨机房和公私有云(或虚拟化)环境场景下支持保证业务不中断。According to the embodiment of the present disclosure, the logic of switching between active and standby channels is processed on the
应该理解,图1中的终端设备和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。It should be understood that the numbers of terminal devices and servers in FIG. 1 are only illustrative. According to the implementation needs, there can be any number of terminal devices, networks and servers.
图2示意性示出了根据本公开实施例的数据传输方法的流程图。Fig. 2 schematically shows a flowchart of a data transmission method according to an embodiment of the present disclosure.
根据本公开实施例,该方法的执行主体可以是SDWAN CPE终端设备(以下简称CPE终端)。CPE终端与网络管控平台中的SDWAN控制器进行交互,网络管控平台可以包括至少两个SDWAN控制器,以网络管控平台包括第一SDWAN控制器和第二SDWAN控制器对本公开实施例进行说明。According to an embodiment of the present disclosure, the subject of execution of the method may be an SDWAN CPE terminal device (hereinafter referred to as a CPE terminal). The CPE terminal interacts with the SDWAN controller in the network management and control platform. The network management and control platform may include at least two SDWAN controllers. The embodiment of the present disclosure will be described with the network management and control platform including the first SDWAN controller and the second SDWAN controller.
如图2所示,该方法包括操作S201~S205。As shown in FIG. 2, the method includes operations S201-S205.
在操作S201,基于配置的第一SDWAN控制器的地址信息,建立与第一SDWAN控制器之间的第一长连接通道。In operation S201, based on the configured address information of the first SDWAN controller, a first long connection channel with the first SDWAN controller is established.
根据本公开实施例,CPE终端上可以配置有网络管控平台中当前处于主工作状态的SDWAN控制器(如第一SDWAN控制器)的业务IP和端口地址。CPE终端通过配置的第一SDWAN控制器的业务IP和端口地址向第一SDWAN控制器发起连接请求,第一SDWAN控制器向CPE终端返回连接成功的消息,则CPE终端与第一SDWAN控制器之间建立一条长连接通道(第一长连接通道,也可以称为通路或链路)。According to the embodiment of the present disclosure, the service IP and port address of the SDWAN controller (such as the first SDWAN controller) currently in the main working state in the network management and control platform may be configured on the CPE terminal. The CPE terminal initiates a connection request to the first SDWAN controller through the configured service IP and port address of the first SDWAN controller, and the first SDWAN controller returns a successful connection message to the CPE terminal, and the connection between the CPE terminal and the first SDWAN controller A long connection channel (the first long connection channel, which may also be called a path or a link) is established between them.
根据本公开实施例,CPE终端在与第一SDWAN控制器建立第一长连接通道之后,第一SDWAN控制器可以向CPE终端发送自身处于主工作状态的信息。可以理解,每个SDWAN控制器在第一次与CPE终端建立长连接之后,均会向CPE终端发送自身的工作状态信息。According to the embodiment of the present disclosure, after the CPE terminal establishes the first long connection channel with the first SDWAN controller, the first SDWAN controller may send information that it is in the main working state to the CPE terminal. It can be understood that each SDWAN controller will send its own working status information to the CPE terminal after establishing a long connection with the CPE terminal for the first time.
可以理解,CPE终端在发起连接请求之前,可以发起认证请求,第一SDWAN控制器接收认证请求并向CPE终端返回认证响应消息,认证响应消息中包括用于身份验证的认证信息(token),则CPE终端在发起连接请求或后续的业务请求时可以使用token进行身份认证。It can be understood that the CPE terminal can initiate an authentication request before initiating a connection request, and the first SDWAN controller receives the authentication request and returns an authentication response message to the CPE terminal, and the authentication response message includes authentication information (token) for identity verification, then CPE terminals can use tokens for identity authentication when initiating connection requests or subsequent service requests.
在操作S202,基于第二SDWAN控制器的地址信息,建立与第二SDWAN控制器之间的第二长连接通道。In operation S202, based on the address information of the second SDWAN controller, a second long connection channel with the second SDWAN controller is established.
根据本公开实施例,网络管控平台中的第一SDWAN控制器和第二SDWAN控制器分别配置对方的业务地址,具体地,在第一SDWAN控制器上配置有第二SDWAN控制器的业务IP地址和端口地址,在第二SDWAN控制器上配置有第一SDWAN控制器的业务IP地址和端口地址。According to the embodiment of the present disclosure, the first SDWAN controller and the second SDWAN controller in the network management and control platform are respectively configured with the service address of the other party, specifically, the service IP address of the second SDWAN controller is configured on the first SDWAN controller and port address, the service IP address and port address of the first SDWAN controller are configured on the second SDWAN controller.
第一SDWAN控制器与CPE终端之间还可以建立短连接通道,第一SDWAN控制器可以通过短连接通道将第二SDWAN控制器的业务IP地址和端口地址发送给CPE终端,使得CPE终端也可以与第二SDWAN控制器建立长连接通道。A short connection channel can also be established between the first SDWAN controller and the CPE terminal, and the first SDWAN controller can send the service IP address and port address of the second SDWAN controller to the CPE terminal through the short connection channel, so that the CPE terminal can also Establish a long connection channel with the second SDWAN controller.
根据本公开实施例,网络管控平台中的第一SDWAN控制器和第二SDWAN控制器分别配置对方的业务地址,使得在CPE终端端仅需配置一个SDWAN控制器的业务地址信息,在与CPE终端建立一条长连接后,将另一个SDWAN控制器的业务地址发送给CPE终端,CPE终端便可以与另一个SDWAN控制器建立长连接。According to the embodiment of the present disclosure, the first SDWAN controller and the second SDWAN controller in the network management and control platform respectively configure the service address of the other party, so that only one SDWAN controller needs to be configured at the CPE terminal end. After establishing a long connection, send the service address of another SDWAN controller to the CPE terminal, and the CPE terminal can establish a long connection with another SDWAN controller.
可以理解,CPE终端通过第二SDWAN控制器的地址信息与第二SDWAN控制器的地址信息建立第二长连接通道,在第二长连接通道建立之后,第二SDWAN控制器可以向CPE终端发送自身处于备用工作状态的信息。It can be understood that the CPE terminal establishes a second long connection channel through the address information of the second SDWAN controller and the address information of the second SDWAN controller. After the second long connection channel is established, the second SDWAN controller can send itself to the CPE terminal. Information in a standby working state.
在操作S203,通过第一长连接通道接收第一SDWAN控制器的工作状态信息,通过第二长连接通道接收第二SDWAN控制器的工作状态信息。In operation S203, the working status information of the first SDWAN controller is received through the first long connection channel, and the working status information of the second SDWAN controller is received through the second long connection channel.
根据本公开实施例,在同一时刻第一SDWAN控制器的工作状态和第二SDWAN控制器的工作状态中一个为主工作状态,另一个为备用工作状态。第一SDWAN控制器通过第一长连接通道发送自身的工作状态,第二SDWAN控制器通过第二长连接通道发送自身的工作状态。According to an embodiment of the present disclosure, at the same time, one of the working states of the first SDWAN controller and the working state of the second SDWAN controller is the main working state, and the other is the standby working state. The first SDWAN controller sends its own working status through the first long connection channel, and the second SDWAN controller sends its own working status through the second long connection channel.
在操作S204,在接收到第一SDWAN控制器的工作状态为主工作状态的情况下,通过第一长连接通道传输业务数据。In operation S204, if the working state of the first SDWAN controller is received as the main working state, the service data is transmitted through the first long connection channel.
根据本公开实施例,如果通过第一长连接通道接收到网络管控平台中的第一SDWAN控制器当前为主工作状态的消息,CPE终端通过与第一SDWAN控制器之间的第一长连接通道可以传输业务数据。According to an embodiment of the present disclosure, if a message that the first SDWAN controller in the network management and control platform is currently in the active state is received through the first long connection channel, the CPE terminal communicates with the first SDWAN controller through the first long connection channel Business data can be transferred.
在操作S205,在接收到第一SDWAN控制器和第二SDWAN控制器的工作状态发生切换的情况下,将业务数据切换到第二长连接通道进行传输。In operation S205, in the case of receiving a switching of the working states of the first SDWAN controller and the second SDWAN controller, switch the service data to the second long connection channel for transmission.
根据本公开实施例,通过该第一长连接通道还可以等待接收第一SDWAN控制器的工作状态发生变化的消息。According to an embodiment of the present disclosure, through the first long connection channel, it is also possible to wait to receive a message that the working state of the first SDWAN controller changes.
根据本公开实施例,通过与第二SDWAN控制器之间的第二长连接通道,CPE终端可以接收到第二SDWAN控制器的工作状态发生变化的消息。According to the embodiment of the present disclosure, through the second long connection channel with the second SDWAN controller, the CPE terminal can receive a message that the working status of the second SDWAN controller changes.
示例性地,在网络管控平台中,由于第一SDWAN控制器故障,第二SDWAN控制器变为主工作状态,则第二SDWAN控制器会向CPE终端发送自身的工作状态为主工作状态的信息。Exemplarily, in the network management and control platform, due to the failure of the first SDWAN controller, the second SDWAN controller becomes the main working state, then the second SDWAN controller will send information that its own working state is the main working state to the CPE terminal .
示例性地,在网络管控平台中,第一SDWAN控制器由主工作状态切换到备用工作状态,第二SDWAN控制器由备用工作状态切换到主工作状态,则第一SDWAN控制器会向CPE终端发送自身的工作状态切换为备用工作状态的信息,第二SDWAN控制器会向CPE终端发送自身的工作状态切换为主工作状态的信息。Exemplarily, in the network management and control platform, the first SDWAN controller is switched from the main working state to the standby working state, and the second SDWAN controller is switched from the standby working state to the main working state, then the first SDWAN controller will send the CPE terminal After sending the information that its own working state is switched to the standby working state, the second SDWAN controller will send the information that its own working state is switched to the main working state to the CPE terminal.
根据本公开实施例,CPE终端在接收到第一SDWAN控制器和第二SDWAN控制器的工作状态发生切换之后,确定第二SDWAN控制器为主工作状态的信息,会在本端进行业务通道的切换,将业务数据切换到第二长连接通道进行传输,能够避免业务中断。According to the embodiment of the present disclosure, after receiving the switching of the working states of the first SDWAN controller and the second SDWAN controller, the CPE terminal determines that the second SDWAN controller is in the main working state, and will carry out the service channel on the local end. Switching, switching the service data to the second long connection channel for transmission, can avoid service interruption.
根据本申请的实施例,基于配置的第一SDWAN控制器的地址信息,建立与第一SDWAN控制器之间的第一长连接通道,基于第二SDWAN控制器的地址信息,建立与第二SDWAN控制器之间的第二长连接通道,通过第一长连接通道接收第一SDWAN控制器的工作状态信息,通过第二长连接通道接收第二SDWAN控制器的工作状态信息,在接收到第一SDWAN控制器的工作状态为主工作状态的情况下,通过第一长连接通道传输业务数据,在接收到第一SDWAN控制器和第二SDWAN控制器的工作状态发生切换的情况下,将业务数据切换到第二长连接通道进行传输。由于终端与网络管控平台中的至少两个SDWAN控制器分别建立长连接通路,在至少两个SDWAN控制器发生主备状态切换时,终端进行业务数据传输通道的切换,能够保持业务数据传输不中断,保持业务连续。According to an embodiment of the present application, based on the configured address information of the first SDWAN controller, a first long connection channel with the first SDWAN controller is established, and based on the address information of the second SDWAN controller, a connection with the second SDWAN controller is established. The second long connection channel between the controllers receives the working status information of the first SDWAN controller through the first long connection channel, and receives the working status information of the second SDWAN controller through the second long connection channel. After receiving the first When the working state of the SDWAN controller is the main working state, the business data is transmitted through the first long connection channel, and when the working state of the first SDWAN controller and the second SDWAN controller are switched, the business data is transferred to Switch to the second long connection channel for transmission. Since the terminal establishes long connection paths with at least two SDWAN controllers in the network management and control platform, when at least two SDWAN controllers switch between active and standby states, the terminal switches the service data transmission channel, which can keep the service data transmission uninterrupted , to maintain business continuity.
图3A示意性示出了根据本公开实施例的通过第一长连接通道传输业务数据的方法的流程图。Fig. 3A schematically shows a flowchart of a method for transmitting service data through a first long connection channel according to an embodiment of the present disclosure.
如图3A所示,该方法包括操作S301~S303。As shown in FIG. 3A, the method includes operations S301-S303.
在操作S301,向第一SDWAN控制器发送第一认证请求。In operation S301, a first authentication request is sent to a first SDWAN controller.
在操作S302,接收来自第一SDWAN控制器的第一认证信息,第一认证信息表征第一认证请求认证通过。In operation S302, first authentication information from the first SDWAN controller is received, the first authentication information indicates that the first authentication request is authenticated successfully.
在操作S303,根据第一认证信息,通过第一长连接通道传输业务数据。In operation S303, the service data is transmitted through the first long connection channel according to the first authentication information.
根据本申请的实施例,CPE终端的业务数据通过第一长连接通道进行传输,在业务数据在传输前需要进行认证,只有认证通过的CPE终端可以进行业务数据的交互,未认证或认证不通过的CPE终端无法与网络管控平台进行业务通信。According to the embodiment of this application, the business data of the CPE terminal is transmitted through the first long connection channel, and the business data needs to be authenticated before transmission, and only the CPE terminal that has passed the authentication can interact with the business data, and the unauthenticated or the authentication fails CPE terminals cannot communicate with the network management and control platform.
具体地,CPE终端通过与第一SDWAN控制器之间的短连接通道发起认证请求,第一SDWAN控制器接收认证请求并通过短连接向CPE终端返回认证响应消息,认证响应消息中包括用于身份验证的认证信息(token),CPE发起业务请求时可以使用token进行身份认证,认证通过的情况下,可以通过第一长连接通道传输业务数据。Specifically, the CPE terminal initiates an authentication request through a short connection channel with the first SDWAN controller, and the first SDWAN controller receives the authentication request and returns an authentication response message to the CPE terminal through the short connection. Verified authentication information (token), when the CPE initiates a service request, the token can be used for identity authentication, and if the authentication is passed, the service data can be transmitted through the first long connection channel.
图3B示意性示出了根据本公开实施例的将业务数据切换到第二长连接通道进行传输的方法的流程图。Fig. 3B schematically shows a flowchart of a method for switching service data to a second long connection channel for transmission according to an embodiment of the present disclosure.
如图3B所示,该方法包括操作S311~S313。As shown in FIG. 3B, the method includes operations S311-S313.
在操作S311,向第二SDWAN控制器发送第二认证请求。In operation S311, a second authentication request is sent to the second SDWAN controller.
在操作S312,接收来自第二SDWAN控制器的第二认证信息,第二认证信息表征第二认证请求认证通过。In operation S312, receiving second authentication information from the second SDWAN controller, the second authentication information indicates that the authentication of the second authentication request is passed.
在操作S313,根据第二认证信息,通过第二长连接通道传输业务数据。In operation S313, the service data is transmitted through the second long connection channel according to the second authentication information.
根据本申请的实施例,CPE终端的业务数据切换到第二长连接通道进行传输,业务数据在传输前需要进行认证,只有认证通过的CPE终端可以进行业务数据的交互,未认证或认证不通过的CPE终端无法与网络管控平台进行业务通信。According to the embodiment of this application, the business data of the CPE terminal is switched to the second long connection channel for transmission, and the business data needs to be authenticated before transmission. Only the CPE terminals that pass the authentication can interact with the business data, and those that are not authenticated or fail to pass the authentication CPE terminals cannot communicate with the network management and control platform.
具体地,CPE终端通过与第二SDWAN控制器之间的短连接发起认证请求,第二SDWAN控制器接收认证请求并通过短连接向CPE终端返回认证响应消息,认证响应消息中包括用于身份验证的认证信息(token),CPE发起业务请求时可以使用token进行身份认证,认证通过的情况下,可以通过第二长连接通道传输业务数据。Specifically, the CPE terminal initiates an authentication request through a short connection with the second SDWAN controller, and the second SDWAN controller receives the authentication request and returns an authentication response message to the CPE terminal through the short connection. The authentication response message includes The authentication information (token), the CPE can use the token for identity authentication when initiating a service request, and if the authentication is passed, the service data can be transmitted through the second long connection channel.
图4示意性示出了根据本公开另一实施例的数据传输方法的流程图。Fig. 4 schematically shows a flowchart of a data transmission method according to another embodiment of the present disclosure.
根据本公开实施例,该方法的执行主体可以是网络管控平台,网络管控平台可以包括至少两个SDWAN控制器,以网络管控平台包括第一SDWAN控制器和第二SDWAN控制器对本公开实施例进行说明。According to an embodiment of the present disclosure, the subject of execution of the method may be a network management and control platform, and the network management and control platform may include at least two SDWAN controllers, and the network management and control platform includes a first SDWAN controller and a second SDWAN controller. illustrate.
如图4所示,该方法包括操作S401~S406。As shown in Fig. 4, the method includes operations S401-S406.
在操作S401,根据接收到的来自CPE终端的包括第一SDWAN控制器的地址信息的第一连接请求,建立第一SDWAN控制器与CPE终端之间的第一长连接通道。In operation S401, according to the received first connection request including address information of the first SDWAN controller from the CPE terminal, a first long connection channel between the first SDWAN controller and the CPE terminal is established.
根据本公开的实施例,如果网络管控平台中的第一SDWAN控制器当前为主工作状态,CPE终端中配置有当前处于主工作状态的第一SDWAN控制器的业务IP地址和端口地址,则CPE终端根据第一SDWAN控制器的IP地址和端口地址首先与第一SDWAN控制器建立第一长连接通道。According to an embodiment of the present disclosure, if the first SDWAN controller in the network management and control platform is currently in the main working state, and the CPE terminal is configured with the service IP address and port address of the first SDWAN controller currently in the main working state, then the CPE The terminal first establishes a first long connection channel with the first SDWAN controller according to the IP address and port address of the first SDWAN controller.
在操作S402,根据接收到的来自CPE终端的包括第二SDWAN控制器的地址信息的第二连接请求,建立第二SDWAN控制器与CPE终端之间的第二长连接通道。In operation S402, according to the received second connection request including the address information of the second SDWAN controller from the CPE terminal, a second long connection channel between the second SDWAN controller and the CPE terminal is established.
根据本公开的实施例,网络管控平台中的第一SDWAN控制器和第二SDWAN控制器分别配置对方的业务地址,具体地,在第一SDWAN控制器上配置有第二SDWAN控制器的业务IP地址和端口地址,在第二SDWAN控制器上配置有第一SDWAN控制器的业务IP地址和端口地址。CPE终端与第一SDWAN控制器可以建立短连接,第一SDWAN控制器可以通过短连接将第二SDWAN控制器的业务IP地址和端口地址发送给CPE终端,CPE终端根据第二SDWAN控制器的业务IP地址和端口地址与第二SDWAN控制器建立第二长连接通道。According to an embodiment of the present disclosure, the first SDWAN controller and the second SDWAN controller in the network management and control platform are respectively configured with the service address of the other party, specifically, the service IP address of the second SDWAN controller is configured on the first SDWAN controller. For the address and port address, the service IP address and port address of the first SDWAN controller are configured on the second SDWAN controller. The CPE terminal can establish a short connection with the first SDWAN controller, and the first SDWAN controller can send the service IP address and port address of the second SDWAN controller to the CPE terminal through the short connection. The IP address and the port address establish a second long connection channel with the second SDWAN controller.
在操作S403,通过第一长连接通道发送第一SDWAN控制器的工作状态信息,通过第二长连接通道发送第二SDWAN控制器的工作状态信息。In operation S403, the working status information of the first SDWAN controller is sent through the first long connection channel, and the working status information of the second SDWAN controller is sent through the second long connection channel.
根据本公开的实施例,在同一时刻第一SDWAN控制器的工作状态和第二SDWAN控制器的工作状态中一个为主工作状态,另一个为备用工作状态。According to an embodiment of the present disclosure, at the same moment, one of the working states of the first SDWAN controller and the working state of the second SDWAN controller is the main working state, and the other is the standby working state.
根据本申请的实施例,CPE终端在与第一SDWAN控制器建立第一长连接通道之后,第一SDWAN控制器可以向CPE终端发送自身处于主工作状态的信息。CPE终端与第二SDWAN控制器的地址信息建立第二长连接通道之后,第二SDWAN控制器可以向CPE终端发送自身处于备用工作状态的信息。According to the embodiment of the present application, after the CPE terminal establishes the first long connection channel with the first SDWAN controller, the first SDWAN controller may send information that it is in the main working state to the CPE terminal. After the CPE terminal establishes the second long connection channel with the address information of the second SDWAN controller, the second SDWAN controller may send information that it is in a standby working state to the CPE terminal.
可以理解,每个SDWAN控制器在第一次与CPE终端建立长连接之后,均会向CPE终端发送自身的工作状态信息。It can be understood that each SDWAN controller will send its own working status information to the CPE terminal after establishing a long connection with the CPE terminal for the first time.
在操作S404,当第一SDWAN控制器的工作状态为主工作状态的情况下,通过第一长连接通道传输业务数据。In operation S404, when the working state of the first SDWAN controller is the main working state, the service data is transmitted through the first long connection channel.
根据本公开实施例,如果第一SDWAN控制器的工作状态为主工作状态,第一SDWAN控制器通过第一长连接通道发送自身为主工作状态的信息,CPE终端和第一SDWAN控制器通过第一长连接通道进行业务数据传输。According to the embodiment of the present disclosure, if the working state of the first SDWAN controller is the main working state, the first SDWAN controller sends information about its main working state through the first long connection channel, and the CPE terminal and the first SDWAN controller pass the first long connection channel A long connection channel for business data transmission.
在操作S405,在第一SDWAN控制器和第二SDWAN控制器的工作状态发生切换的情况下,将第一SDWAN控制器和第二SDWAN控制器切换后的工作状态发送给CPE终端。In operation S405, in the case that the working states of the first SDWAN controller and the second SDWAN controller are switched, the switched working states of the first SDWAN controller and the second SDWAN controller are sent to the CPE terminal.
根据本申请的实施例,如果第一SDWAN控制器和第二SDWAN控制器的主备状态切换,则第一SDWAN控制器和第二SDWAN控制器会将自身的新的工作状态信息发送给CPE终端。According to the embodiment of this application, if the active/standby state of the first SDWAN controller and the second SDWAN controller is switched, the first SDWAN controller and the second SDWAN controller will send their new working state information to the CPE terminal .
示例性地,在网络管控平台中,由于第一SDWAN控制器故障,第二SDWAN控制器切换为主工作状态,则第二SDWAN控制器会向CPE终端发送自身的工作状态切换为主工作状态的信息。Exemplarily, in the network management and control platform, due to the failure of the first SDWAN controller, the second SDWAN controller switches to the main working state, then the second SDWAN controller will send the message that its working state is switched to the main working state to the CPE terminal information.
示例性地,在网络管控平台中,由于人工设置,第一SDWAN控制器由主工作状态切换到备用工作状态,第二SDWAN控制器由备用工作状态切换到主工作状态,则第一SDWAN控制器会向CPE终端发送自身的工作状态切换为备用工作状态的信息,第二SDWAN控制器会向CPE终端发送自身的工作状态切换为主工作状态的信息。Exemplarily, in the network management and control platform, due to manual settings, the first SDWAN controller switches from the main working state to the standby working state, and the second SDWAN controller switches from the standby working state to the main working state, then the first SDWAN controller It will send the information that its own working state is switched to the standby working state to the CPE terminal, and the second SDWAN controller will send the information that its own working state is switched to the main working state to the CPE terminal.
在操作S406,通过第二长连接通道传输业务数据。In operation S406, the service data is transmitted through the second long connection channel.
根据本申请的实施例,在CPE终端端,CPE终端在接收到第二SDWAN控制器为主工作状态的信息之后,会在本端进行业务通道的切换,将业务数据切换到第二长连接通道进行传输,从而CPE终端和第二SDWAN控制器通过第二长连接通道进行业务数据传输,能够避免业务中断。According to the embodiment of this application, at the CPE terminal end, after receiving the information that the second SDWAN controller is in the main working state, the CPE terminal will switch the service channel at the local end, and switch the service data to the second long connection channel The transmission is performed, so that the CPE terminal and the second SDWAN controller perform service data transmission through the second long connection channel, which can avoid service interruption.
根据本申请的实施例,建立第一SDWAN控制器与CPE终端之间的第一长连接通道,建立第二SDWAN控制器与CPE终端之间的第二长连接通道,通过第一长连接通道发送第一SDWAN控制器的工作状态信息,通过第二长连接通道发送第二SDWAN控制器的工作状态信息,当第一SDWAN控制器的工作状态为主工作状态的情况下,通过第一长连接通道传输业务数据,在第一SDWAN控制器和第二SDWAN控制器的工作状态发生切换的情况下,将第一SDWAN控制器和第二SDWAN控制器切换后的工作状态发送给CPE终端,通过第二长连接通道传输业务数据。由于网络管控平台中的至少两个SDWAN控制器与终端侧分别建立长连接通路,在SDWAN控制器发生主备状态切换时通知终端,使得终端侧进行业务数据传输通道的切换,能够保持业务数据传输不中断,保持业务连续。According to the embodiment of the present application, the first long connection channel between the first SDWAN controller and the CPE terminal is established, the second long connection channel between the second SDWAN controller and the CPE terminal is established, and the transmission is sent through the first long connection channel The working state information of the first SDWAN controller, send the working state information of the second SDWAN controller through the second long connection channel, when the working state of the first SDWAN controller is the main working state, through the first long connection channel To transmit business data, when the working status of the first SDWAN controller and the second SDWAN controller are switched, send the switched working status of the first SDWAN controller and the second SDWAN controller to the CPE terminal, through the second The long connection channel transmits business data. Since at least two SDWAN controllers in the network management and control platform respectively establish long connection paths with the terminal side, the terminal is notified when the SDWAN controller switches between active and standby states, so that the terminal side can switch the service data transmission channel, and the service data transmission can be maintained Maintain business continuity without interruption.
图5A示意性示出了根据本公开实施例的通过第一长连接通道传输业务数据的方法的流程图。Fig. 5A schematically shows a flowchart of a method for transmitting service data through a first long connection channel according to an embodiment of the present disclosure.
如图5A所示,该方法包括操作S501~S502。As shown in FIG. 5A, the method includes operations S501-S502.
在操作S501,根据接收到的来自CPE终端的第三认证请求,向CPE终端发送第三认证信息。第三认证信息表征第三认证请求通过。In operation S501, third authentication information is sent to the CPE terminal according to the received third authentication request from the CPE terminal. The third authentication information indicates that the third authentication request is passed.
在操作S502,根据接收到的来自CPE终端的第三认证信息,传输业务数据。In operation S502, service data is transmitted according to the received third authentication information from the CPE terminal.
根据本申请的实施例,在第一SDWAN控制器为主工作状态时,CPE终端的业务数据通过第一长连接通道进行传输,在第二SDWAN控制器为主工作状态时,CPE终端的业务数据通过第二长连接通道进行传输。但业务数据在传输前需要进行认证,只有认证通过的CPE终端可以进行业务数据的交互,未认证或认证不通过的CPE终端无法与网络管控平台进行业务通信。According to the embodiment of the present application, when the first SDWAN controller is in the main working state, the service data of the CPE terminal is transmitted through the first long connection channel; when the second SDWAN controller is in the main working state, the service data of the CPE terminal Transmit through the second long connection channel. However, business data needs to be authenticated before transmission. Only certified CPE terminals can interact with business data, and unauthenticated or failed authentication CPE terminals cannot communicate with the network management and control platform.
示例性地,CPE终端通过与第一SDWAN控制器之间的短连接发起认证请求,第一SDWAN控制器接收认证请求并通过短连接向CPE终端返回认证响应消息,认证响应消息中包括用于身份验证的认证信息(token),CPE发起业务请求时可以使用token进行身份认证,认证通过的情况下,可以通过第一长连接通道传输业务数据,第一SDWAN控制器接收CPE终端发送过来的业务数据。Exemplarily, the CPE terminal initiates an authentication request through a short connection with the first SDWAN controller, and the first SDWAN controller receives the authentication request and returns an authentication response message to the CPE terminal through the short connection. Verified authentication information (token), when the CPE initiates a service request, the token can be used for identity authentication. If the authentication is passed, the service data can be transmitted through the first long connection channel, and the first SDWAN controller receives the service data sent by the CPE terminal .
图5B示意性示出了根据本公开实施例的通过第二长连接通道传输业务数据的方法的流程图。Fig. 5B schematically shows a flowchart of a method for transmitting service data through a second long connection channel according to an embodiment of the present disclosure.
如图5B所示,该方法包括操作S511~S512。As shown in FIG. 5B, the method includes operations S511-S512.
在操作S511,根据接收到的来自CPE终端的第四认证请求,向CPE终端发送第四认证信息,第四认证信息表征第四认证请求通过。In operation S511, according to the received fourth authentication request from the CPE terminal, send fourth authentication information to the CPE terminal, where the fourth authentication information indicates that the fourth authentication request is passed.
在操作S512,根据接收到的来自CPE终端的第四认证信息,传输业务数据。In operation S512, service data is transmitted according to the received fourth authentication information from the CPE terminal.
根据本申请的实施例,CPE终端通过与第二SDWAN控制器之间的短连接发起认证请求,第二SDWAN控制器接收认证请求并通过短连接向CPE终端返回认证响应消息,认证响应消息中包括用于身份验证的认证信息(token),CPE发起业务请求时可以使用token进行身份认证,认证通过的情况下,可以通过第二长连接通道传输业务数据,第二SDWAN控制器接收CPE终端发送过来的业务数据。According to the embodiment of this application, the CPE terminal initiates an authentication request through a short connection with the second SDWAN controller, and the second SDWAN controller receives the authentication request and returns an authentication response message to the CPE terminal through the short connection, and the authentication response message includes Authentication information (token) for identity verification. When the CPE initiates a service request, the token can be used for identity authentication. If the authentication is passed, the service data can be transmitted through the second long connection channel, and the second SDWAN controller receives the CPE terminal. business data.
图6示意性示出了根据本公开另一实施例的数据传输方法的流程图。Fig. 6 schematically shows a flowchart of a data transmission method according to another embodiment of the present disclosure.
根据本申请的实施例,网络管控平台包括SDWAN控制器A和SDWAN控制器B,SDWAN控制器A当前处于主工作状态。首先在SDWAN控制器A上配置SDWAN控制器B的业务IP和端口;在SDWAN控制器B上配置SDWAN控制器A的业务IP和端口;在SDWAN控制器A上对CPE终端进行添加,并在该CPE终端上配置SDWAN控制器A的地址和设备上线需要的基本信息。其中,在SDWAN控制器A可以添加多个CPE终端。设备上线需要的基本信息包括设备验证码、设备序列号等等。在以上配置完成后,执行如图6所示的操作。According to the embodiment of the present application, the network management and control platform includes SDWAN controller A and SDWAN controller B, and SDWAN controller A is currently in the main working state. First configure the service IP and port of SDWAN controller B on SDWAN controller A; configure the service IP and port of SDWAN controller A on SDWAN controller B; add the CPE terminal on SDWAN controller A, and Configure the address of SDWAN controller A and the basic information required for the device to go online on the CPE terminal. Among them, multiple CPE terminals can be added to SDWAN controller A. The basic information required for the device to go online includes the device verification code, device serial number, and so on. After the above configuration is complete, perform the operations shown in Figure 6.
如图6所示,该方法包括操作S601~S609。As shown in FIG. 6, the method includes operations S601-S609.
在操作S601,CPE终端端向SDWAN控制器A发送认证请求,并接收认证结果和用于身份验证的token,当后续CPE终端向网络管控平台发送业务数据时,网络管控平台会验证token。In operation S601, the CPE terminal sends an authentication request to SDWAN controller A, and receives the authentication result and the token used for identity verification. When the subsequent CPE terminal sends service data to the network management and control platform, the network management and control platform will verify the token.
在操作S602,CPE终端向SDWAN控制器A发送建立长连接请求,SDWAN控制器A返回建立长连接成功消息并返回SDWAN控制器自身当前为主工作状态的信息。In operation S602, the CPE terminal sends a request to establish a persistent connection to SDWAN controller A, and SDWAN controller A returns a message of establishing a persistent connection successfully and returns information that the SDWAN controller itself is currently in the main working state.
在操作S603,CPE终端向SDWAN控制器A发送CPE基本信息以及token,SDWAN控制器A验证token通过后,向CPE终端返回配置的SDWAN控制器B的IP地址和端口。In operation S603, the CPE terminal sends the basic information of the CPE and the token to the SDWAN controller A, and the SDWAN controller A returns the configured IP address and port of the SDWAN controller B to the CPE terminal after verifying that the token passes.
在操作S604,CPE终端通过与SDWAN控制器A之间的长连接传输业务数据,并定时更新token,以防过期。In operation S604, the CPE terminal transmits service data through a persistent connection with the SDWAN controller A, and regularly updates the token to prevent it from being expired.
在操作S605,CPE终端根据SDWAN控制器A返回的SDWAN控制器B的IP地址和端口,与SDWAN控制器B建立长连接,用于接收SDWAN控制器B的工作状态信息。In operation S605, the CPE terminal establishes a persistent connection with SDWAN controller B according to the IP address and port of SDWAN controller B returned by SDWAN controller A, for receiving the working status information of SDWAN controller B.
在操作S606,SDWAN控制器A和SDWAN控制器B发生主备状态切换时,通知CPE终端。CPE终端根据SDWAN控制器A和SDWAN控制器B的状态决定是否进行长连接通路的切换。例如,若SDWAN控制器A为备用工作状态,SDWAN控制器B为主工作状态,则触发CPE终端进行数据传输通路的切换。In operation S606, the SDWAN controller A and the SDWAN controller B notify the CPE terminal when the active/standby state switching occurs. The CPE terminal decides whether to switch the long connection path according to the status of SDWAN controller A and SDWAN controller B. For example, if SDWAN controller A is in the standby working state and SDWAN controller B is in the main working state, the CPE terminal is triggered to switch the data transmission path.
在操作S607,CPE终端确定进行长连接通路的切换,则向SDWAN控制器B发送认证请求,并接收认证结果和token。In operation S607, the CPE terminal determines to switch the long connection path, then sends an authentication request to the SDWAN controller B, and receives the authentication result and token.
在操作S608,CPE终端向SDWAN控制器B发送CPE基本信息和token,SDWAN控制器B向CPE返回配置的SDWAN控制器A的IP地址和端口。In operation S608, the CPE terminal sends CPE basic information and token to the SDWAN controller B, and the SDWAN controller B returns the configured IP address and port of the SDWAN controller A to the CPE.
在操作S609,CPE终端用与SDWAN控制器B之间的长连接传输数据,并定时更新token,以防过期。In operation S609, the CPE terminal uses the persistent connection with the SDWAN controller B to transmit data, and regularly updates the token to prevent it from being expired.
可以理解的是,CPE与SDWAN控制器之间的交互,不仅有通过长连接通道进行的,也有通过短连接进行的。例如,SDWAN控制器的地址信息的交互是使用短连接完成的;SDWAN控制器的状态信息以及传输业务数据都是通过长连接进行的。It can be understood that the interaction between the CPE and the SDWAN controller is not only performed through long connection channels, but also through short connections. For example, the interaction of the address information of the SDWAN controller is completed using a short connection; the status information of the SDWAN controller and the transmission of business data are all carried out through a long connection.
CPE与SDWAN控制器进行认证,也可以通过短连接进行,只有认证通过的设备,才能传输业务数据。The authentication between CPE and SDWAN controller can also be done through a short connection, and only devices that pass the authentication can transmit business data.
图7示意性示出了根据本公开的实施例的数据传输装置的框图。Fig. 7 schematically shows a block diagram of a data transmission device according to an embodiment of the present disclosure.
如图7所示,数据传输装置700包括第一建立模块710、第二建立模块720、第一接收模块730、第一传输模块740和切换模块750。As shown in FIG. 7 , the
第一建立模块710用于基于配置的第一SDWAN控制器的地址信息,建立与第一SDWAN控制器之间的第一长连接通道。The
第二建立模块720用于基于第二SDWAN控制器的地址信息,建立与第二SDWAN控制器之间的第二长连接通道。The
第一接收模块730用于通过第一长连接通道接收第一SDWAN控制器的工作状态信息,通过第二长连接通道接收第二SDWAN控制器的工作状态信息,在同一时刻第一SDWAN控制器的工作状态和第二SDWAN控制器的工作状态中一个为主工作状态,另一个为备用工作状态。The
第一传输模块740用于在接收到第一SDWAN控制器的工作状态为主工作状态的情况下,通过第一长连接通道传输业务数据。The
切换模块750用于在接收到第一SDWAN控制器和第二SDWAN控制器的工作状态发生切换的情况下,将业务数据切换到第二长连接通道进行传输。The
根据本申请的实施例,数据传输装置700还包括第二接收模块。According to the embodiment of the present application, the
第二接收模块用于在第二建立模块720建立与第二SDWAN控制器之间的第二长连接通道之前,接收第二SDWAN控制器的地址信息。The second receiving module is configured to receive address information of the second SDWAN controller before the
根据本申请的实施例,接收到第一SDWAN控制器和第二SDWAN控制器的工作状态发生切换的包括:通过第一长连接通道接收到第一SDWAN控制器的工作状态切换为备用工作状态的信息;通过第二长连接通道接收到第二SDWAN控制器的工作状态切换为主工作状态的信息。According to an embodiment of the present application, receiving the switching of the working state of the first SDWAN controller and the second SDWAN controller includes: receiving the switching of the working state of the first SDWAN controller to the standby working state through the first long connection channel Information; the information that the working state of the second SDWAN controller is switched to the main working state is received through the second long connection channel.
根据本申请的实施例,第一传输模块740具体用于向第一SDWAN控制器发送第一认证请求;接收来自第一SDWAN控制器的第一认证信息,第一认证信息表征第一认证请求认证通过;根据第一认证信息,通过第一长连接通道传输业务数据。According to the embodiment of this application, the
根据本申请的实施例,切换模块750具体用于向第二SDWAN控制器发送第二认证请求;接收来自第二SDWAN控制器的第二认证信息,第二认证信息表征第二认证请求认证通过;根据第二认证信息,通过第二长连接通道传输业务数据。According to an embodiment of the present application, the
图8示意性示出了根据本公开另一实施例的数据传输装置的框图。Fig. 8 schematically shows a block diagram of a data transmission device according to another embodiment of the present disclosure.
如图8所示,数据传输装置800包括第三建立模块810、第四建立模块820、第一发送模块830、第二传输模块840、第二发送模块850和第三传输模块860。As shown in FIG. 8 , the
第三建立模块810用于根据接收到的来自CPE终端的包括第一SDWAN控制器的地址信息的第一连接请求,建立第一SDWAN控制器与CPE终端之间的第一长连接通道。The
第四建立模块820用于根据接收到的来自CPE终端的包括第二SDWAN控制器的地址信息的第二连接请求,建立第二SDWAN控制器与CPE终端之间的第二长连接通道。The
第一发送模块830用于通过第一长连接通道发送第一SDWAN控制器的工作状态信息,通过第二长连接通道发送第二SDWAN控制器的工作状态信息,在同一时刻第一SDWAN控制器的工作状态和第二SDWAN控制器的工作状态中一个为主工作状态,另一个为备用工作状态。The
第二传输模块840用于当第一SDWAN控制器的工作状态为主工作状态的情况下,通过第一长连接通道传输业务数据。The
第二发送模块850用于在第一SDWAN控制器和第二SDWAN控制器的工作状态发生切换的情况下,将第一SDWAN控制器和第二SDWAN控制器切换后的工作状态发送给CPE终端。The
第三传输模块860用于通过第二长连接通道传输业务数据。The
根据本申请的实施例,数据传输装置800还包括第三发送模块。According to the embodiment of the present application, the
第三发送模块用于在第四建立模块820建立第二SDWAN控制器与CPE终端之间的第二长连接通道之前,发送第二SDWAN控制器的地址信息。The third sending module is configured to send the address information of the second SDWAN controller before the
根据本申请的实施例,第二发送模块850具体用于通过第一长连接通道发送第一SDWAN控制器的工作状态切换为备用工作状态的信息;通过第二长连接通道发送第二SDWAN控制器的工作状态切换为主工作状态的信息。According to the embodiment of the present application, the
根据本申请的实施例,第二传输模块840具体用于根据接收到的来自CPE终端的第三认证请求,向CPE终端发送第三认证信息,第三认证信息表征第三认证请求通过;根据接收到的来自CPE终端的第三认证信息,传输业务数据。According to the embodiment of the present application, the
根据本申请的实施例,第三传输模块860具体用于根据接收到的来自CPE终端的第四认证请求,向CPE终端发送第四认证信息,第四认证信息表征第四认证请求通过;根据接收到的来自CPE终端的第四认证信息,传输业务数据。According to the embodiment of the present application, the
根据本公开的实施例的模块、子模块、单元、子单元中的任意多个、或其中任意多个的至少部分功能可以在一个模块中实现。根据本公开实施例的模块、子模块、单元、子单元中的任意一个或多个可以被拆分成多个模块来实现。根据本公开实施例的模块、子模块、单元、子单元中的任意一个或多个可以至少被部分地实现为硬件电路,例如现场可编程门阵列(FPGA)、可编程逻辑阵列(PLA)、片上系统、基板上的系统、封装上的系统、专用集成电路(ASIC),或可以通过对电路进行集成或封装的任何其他的合理方式的硬件或固件来实现,或以软件、硬件以及固件三种实现方式中任意一种或以其中任意几种的适当组合来实现。或者,根据本公开实施例的模块、子模块、单元、子单元中的一个或多个可以至少被部分地实现为计算机程序模块,当该计算机程序模块被运行时,可以执行相应的功能。Modules, sub-modules, units, any multiple of sub-units according to the embodiments of the present disclosure, or at least part of the functions of any multiple of them may be implemented in one module. Any one or more of modules, submodules, units, and subunits according to the embodiments of the present disclosure may be implemented by being divided into multiple modules. Any one or more of modules, submodules, units, and subunits according to embodiments of the present disclosure may be at least partially implemented as hardware circuits, such as field programmable gate arrays (FPGAs), programmable logic arrays (PLAs), system-on-chip, system-on-substrate, system-on-package, application-specific integrated circuit (ASIC), or hardware or firmware that may be implemented by any other reasonable means of integrating or packaging circuits, or in a combination of software, hardware, and firmware Any one of these implementations or an appropriate combination of any of them. Alternatively, one or more of the modules, submodules, units, and subunits according to the embodiments of the present disclosure may be at least partially implemented as computer program modules, and when the computer program modules are executed, corresponding functions may be performed.
例如,第一建立模块710、第二建立模块720、第一接收模块730、第一传输模块740和切换模块750中的任意多个可以合并在一个模块/单元/子单元中实现,或者其中的任意一个模块/单元/子单元可以被拆分成多个模块/单元/子单元。或者,这些模块/单元/子单元中的一个或多个模块/单元/子单元的至少部分功能可以与其他模块/单元/子单元的至少部分功能相结合,并在一个模块/单元/子单元中实现。根据本公开的实施例,第一建立模块710、第二建立模块720、第一接收模块730、第一传输模块740和切换模块750中的至少一个可以至少被部分地实现为硬件电路,例如现场可编程门阵列(FPGA)、可编程逻辑阵列(PLA)、片上系统、基板上的系统、封装上的系统、专用集成电路(ASIC),或可以通过对电路进行集成或封装的任何其他的合理方式等硬件或固件来实现,或以软件、硬件以及固件三种实现方式中任意一种或以其中任意几种的适当组合来实现。或者,第一建立模块710、第二建立模块720、第一接收模块730、第一传输模块740和切换模块750中的至少一个可以至少被部分地实现为计算机程序模块,当该计算机程序模块被运行时,可以执行相应的功能。For example, any number of the
需要说明的是,本公开的实施例中数据传输装置部分与本公开的实施例中数据传输方法部分是相对应的,数据传输装置部分的描述具体参考数据传输方法部分,在此不再赘述。It should be noted that the part of the data transmission device in the embodiments of the present disclosure corresponds to the part of the data transmission method in the embodiments of the present disclosure, and the description of the data transmission device part refers to the part of the data transmission method, and details are not repeated here.
图9示意性示出了根据本公开实施例的适于实现上文描述的方法的计算机系统的框图。图9示出的计算机系统仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。Fig. 9 schematically shows a block diagram of a computer system suitable for implementing the method described above according to an embodiment of the present disclosure. The computer system shown in FIG. 9 is only an example, and should not limit the functions and scope of use of the embodiments of the present disclosure.
如图9所示,根据本公开实施例的计算机系统900包括处理器901,其可以根据存储在只读存储器(ROM)902中的程序或者从存储部分908加载到随机访问存储器(RAM)903中的程序而执行各种适当的动作和处理。处理器901例如可以包括通用微处理器(例如CPU)、指令集处理器和/或相关芯片组和/或专用微处理器(例如,专用集成电路(ASIC)),等等。处理器901还可以包括用于缓存用途的板载存储器。处理器901可以包括用于执行根据本公开实施例的方法流程的不同动作的单一处理单元或者是多个处理单元。As shown in FIG. 9 , a
在RAM 903中,存储有系统900操作所需的各种程序和数据。处理器901、ROM 902以及RAM 903通过总线904彼此相连。处理器901通过执行ROM 902和/或RAM 903中的程序来执行根据本公开实施例的方法流程的各种操作。需要注意,所述程序也可以存储在除ROM 902和RAM 903以外的一个或多个存储器中。处理器901也可以通过执行存储在所述一个或多个存储器中的程序来执行根据本公开实施例的方法流程的各种操作。In the
根据本公开的实施例,系统900还可以包括输入/输出(I/O)接口905,输入/输出(I/O)接口905也连接至总线904。系统900还可以包括连接至I/O接口905的以下部件中的一项或多项:包括键盘、鼠标等的输入部分906;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分907;包括硬盘等的存储部分908;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分909。通信部分909经由诸如因特网的网络执行通信处理。驱动器910也根据需要连接至I/O接口905。可拆卸介质911,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器910上,以便于从其上读出的计算机程序根据需要被安装入存储部分908。According to an embodiment of the present disclosure, the
根据本公开的实施例,根据本公开实施例的方法流程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读存储介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分909从网络上被下载和安装,和/或从可拆卸介质911被安装。在该计算机程序被处理器901执行时,执行本公开实施例的系统中限定的上述功能。根据本公开的实施例,上文描述的系统、设备、装置、模块、单元等可以通过计算机程序模块来实现。According to the embodiments of the present disclosure, the method flow according to the embodiments of the present disclosure can be implemented as a computer software program. For example, the embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable storage medium, where the computer program includes program codes for executing the methods shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via
本公开还提供了一种计算机可读存储介质,该计算机可读存储介质可以是上述实施例中描述的设备/装置/系统中所包含的;也可以是单独存在,而未装配入该设备/装置/系统中。上述计算机可读存储介质承载有一个或者多个程序,当上述一个或者多个程序被执行时,实现根据本公开实施例的方法。The present disclosure also provides a computer-readable storage medium. The computer-readable storage medium may be included in the device/apparatus/system described in the above embodiments; it may also exist independently without being assembled into the device/system device/system. The above-mentioned computer-readable storage medium carries one or more programs, and when the above-mentioned one or more programs are executed, the method according to the embodiment of the present disclosure is realized.
根据本公开的实施例,计算机可读存储介质可以是非易失性的计算机可读存储介质。例如可以包括但不限于:便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. Examples may include, but are not limited to: portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD- ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
例如,根据本公开的实施例,计算机可读存储介质可以包括上文描述的ROM 902和/或RAM 903和/或ROM 902和RAM 903以外的一个或多个存储器。For example, according to an embodiment of the present disclosure, a computer-readable storage medium may include one or more memories other than the above-described
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,上述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。电要注意的是,框图或流程图中的每个方框、以及框图或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。本领域技术人员可以理解,本公开的各个实施例和/或权利要求中记载的特征可以进行多种组合和/或结合,即使这样的组合或结合没有明确记载于本公开中。特别地,在不脱离本公开精神和教导的情况下,本公开的各个实施例和/或权利要求中记载的特征可以进行多种组合和/或结合。所有这些组合和/或结合均落入本公开的范围。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or portion of code that includes one or more logical functions for implementing specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It is to be noted that each block in the block diagrams or flowchart illustrations, and combinations of blocks in the block diagrams or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a A combination of dedicated hardware and computer instructions. Those skilled in the art can understand that various combinations and/or combinations can be made in the various embodiments of the present disclosure and/or the features described in the claims, even if such combinations or combinations are not explicitly recorded in the present disclosure. In particular, without departing from the spirit and teaching of the present disclosure, the various embodiments of the present disclosure and/or the features described in the claims can be combined and/or combined in various ways. All such combinations and/or combinations fall within the scope of the present disclosure.
以上对本公开的实施例进行了描述。但是,这些实施例仅仅是为了说明的目的,而并非为了限制本公开的范围。尽管在以上分别描述了各实施例,但是这并不意味着各个实施例中的措施不能有利地结合使用。本公开的范围由所附权利要求及其等同物限定。不脱离本公开的范围,本领域技术人员可以做出多种替代和修改,这些替代和修改都应落在本公开的范围之内。The embodiments of the present disclosure have been described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the various embodiments have been described separately above, this does not mean that the measures in the various embodiments cannot be advantageously used in combination. The scope of the present disclosure is defined by the appended claims and their equivalents. Various substitutions and modifications can be made by those skilled in the art without departing from the scope of the present disclosure, and these substitutions and modifications should all fall within the scope of the present disclosure.
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011543032.8A CN112564983B (en) | 2020-12-23 | 2020-12-23 | Data transmission method, device, computer system and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011543032.8A CN112564983B (en) | 2020-12-23 | 2020-12-23 | Data transmission method, device, computer system and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112564983A CN112564983A (en) | 2021-03-26 |
CN112564983B true CN112564983B (en) | 2023-05-26 |
Family
ID=75031841
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011543032.8A Active CN112564983B (en) | 2020-12-23 | 2020-12-23 | Data transmission method, device, computer system and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112564983B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113923076A (en) * | 2021-09-06 | 2022-01-11 | 长沙市同迅计算机科技有限公司 | SD-WAN-based Ethernet two-layer data exchange method |
CN116132220B (en) * | 2021-11-15 | 2024-07-02 | 中国联合网络通信集团有限公司 | Data transmission method, device, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015043406A1 (en) * | 2013-09-25 | 2015-04-02 | 腾讯科技(深圳)有限公司 | Method and device for acquiring streaming media data, and storage medium |
CN109344014A (en) * | 2018-09-26 | 2019-02-15 | 新华三大数据技术有限公司 | A kind of main/standby switching method, device and communication equipment |
CN110336855A (en) * | 2019-05-09 | 2019-10-15 | 广州市番禺区中心医院 | A medical cloud data system |
WO2019206296A1 (en) * | 2018-04-28 | 2019-10-31 | 北京京东尚科信息技术有限公司 | Fault handling method and device for gateway server |
CN111130979A (en) * | 2019-12-09 | 2020-05-08 | 苏州浪潮智能科技有限公司 | Method and equipment for connecting branch node with central node in SDWAN (software development wide area network) scene |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20200076683A1 (en) * | 2018-08-31 | 2020-03-05 | Hewlett Packard Enterprise Development Lp | Dynamic Cloud-Based Provisioning of Branch-Based Networking Devices |
-
2020
- 2020-12-23 CN CN202011543032.8A patent/CN112564983B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015043406A1 (en) * | 2013-09-25 | 2015-04-02 | 腾讯科技(深圳)有限公司 | Method and device for acquiring streaming media data, and storage medium |
WO2019206296A1 (en) * | 2018-04-28 | 2019-10-31 | 北京京东尚科信息技术有限公司 | Fault handling method and device for gateway server |
CN109344014A (en) * | 2018-09-26 | 2019-02-15 | 新华三大数据技术有限公司 | A kind of main/standby switching method, device and communication equipment |
CN110336855A (en) * | 2019-05-09 | 2019-10-15 | 广州市番禺区中心医院 | A medical cloud data system |
CN111130979A (en) * | 2019-12-09 | 2020-05-08 | 苏州浪潮智能科技有限公司 | Method and equipment for connecting branch node with central node in SDWAN (software development wide area network) scene |
Also Published As
Publication number | Publication date |
---|---|
CN112564983A (en) | 2021-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10567340B2 (en) | Data center system | |
US8886783B2 (en) | System and method for providing secure subnet management agent (SMA) based fencing in an infiniband (IB) network | |
US9137141B2 (en) | Synchronization of load-balancing switches | |
US9935848B2 (en) | System and method for supporting subnet manager (SM) level robust handling of unkown management key in an infiniband (IB) network | |
US7016299B2 (en) | Network node failover using path rerouting by manager component or switch port remapping | |
US8654630B2 (en) | Techniques for link redundancy in layer 2 networks | |
US8938521B2 (en) | Bi-directional synchronization enabling active-active redundancy for load-balancing switches | |
US8984114B2 (en) | Dynamic session migration between network security gateways | |
CN113472646B (en) | Data transmission method, node, network manager and system | |
US20140198649A1 (en) | Extended link aggregation (lag) for use in multiple switches | |
CN1937528A (en) | Information processing apparatuses, communication load decentralizing method and communication system | |
US8880932B2 (en) | System and method for signaling dynamic reconfiguration events in a middleware machine environment | |
Reghu et al. | Development of robust infrastructure in networking to survive a disaster | |
CN112564983B (en) | Data transmission method, device, computer system and medium | |
US20080205376A1 (en) | Redundant router having load sharing functionality | |
US9794172B2 (en) | Edge network virtualization | |
WO2020057445A1 (en) | Communication system, method, and device | |
CN110602022A (en) | Access authentication method of port, terminal and storage medium | |
CN109039680B (en) | A method, system and BNG for switching main broadband network gateway BNG and standby BNG | |
CN113015962B (en) | System and method for supporting heterogeneous and asymmetric dual-track architecture configurations in high performance computing environments | |
CN114826887B (en) | Private network connection communication method and system | |
CN102594684B (en) | A kind of processing method and network access equipment of RADIUS messages | |
CN116599840B (en) | Method, device and storage medium for dual uplink management configuration of network equipment | |
KR101308088B1 (en) | Method and apparatus for blocking the search for the website | |
KR102097999B1 (en) | The IP in IP communication system using virtual router |
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 | ||
CB02 | Change of applicant information |
Address after: 100044 2nd floor, building 1, yard 26, Xizhimenwai South Road, Xicheng District, Beijing Applicant after: Qianxin Wangshen information technology (Beijing) Co.,Ltd. Applicant after: QAX Technology Group Inc. Address before: 100097 No. 202, 203, 205, 206, 207, 208, 2nd floor, block D, No. 51, Kunming Hunan Road, Haidian District, Beijing Applicant before: LEGENDSEC INFORMATION TECHNOLOGY (BEIJING) Inc. Applicant before: QAX Technology Group Inc. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |