CN112564983B - Data transmission method, device, computer system and medium - Google Patents

Data transmission method, device, computer system and medium Download PDF

Info

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
working state
controller
long connection
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
Application number
CN202011543032.8A
Other languages
Chinese (zh)
Other versions
CN112564983A (en
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.)
Qianxin Technology Group Co Ltd
Secworld Information Technology Beijing Co Ltd
Original Assignee
Qianxin Technology Group Co Ltd
Secworld Information Technology Beijing 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 Qianxin Technology Group Co Ltd, Secworld Information Technology Beijing Co Ltd filed Critical Qianxin Technology Group Co Ltd
Priority to CN202011543032.8A priority Critical patent/CN112564983B/en
Publication of CN112564983A publication Critical patent/CN112564983A/en
Application granted granted Critical
Publication of CN112564983B publication Critical patent/CN112564983B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing 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

The present disclosure provides a data transmission method, including: establishing a first long connection channel with the first SDWAN controller based on the address information of the configured first SDWAN controller; establishing a second long connection channel with the second SDWAN controller based on address information of the second SDWAN controller; receiving the working state information of the first SDWAN controller through a first long connecting channel, and receiving the working state information of the second SDWAN controller through a second long connecting channel; transmitting service data through a first long connection channel under the condition that the working state of the first SDWAN controller is received as a main working state; and under the condition that the working states of the first SDWAN controller and the second SDWAN controller are received to be switched, switching the service data to a second long connection channel for transmission. The present disclosure also provides a data transmission device, a computer system, and a storage medium.

Description

Data transmission method, device, computer system and medium
Technical Field
The present disclosure relates to the field of network communication technologies, and in particular, to a data transmission method, apparatus, computer system, and storage medium.
Background
With the rapid development of internet technology, enterprises are increasingly free from the support of networks. Failure of network devices causes interruption of traffic, and thus ensuring traffic continuity in the event of failure is critical to network communications.
For conventional local area networks, VRRP (Virtual Router Redundancy Protocol, virtual routing redundancy protocol) based nodes can be switched transparently in the event of a network failure without affecting data communication between hosts.
However, VRRP is based on a solution within the same local area network, and the application of this protocol is limited in a generalized network scenario. Therefore, in the generalized network scene, the transparent node switching can not be ensured when the network fails, and the data communication between the hosts is not affected, so that the service interruption is caused.
Disclosure of Invention
In view of this, the present disclosure provides a data transmission method, apparatus, computer system, and storage medium.
One aspect of the present disclosure provides a data transmission method applied to a CPE terminal, including: establishing a first long connection channel between the first SDWAN controller and the first SDWAN controller based on address information of the configured first SDWAN controller; establishing a second long connection channel with a second SDWAN controller based on address information of the second SDWAN controller; receiving the working state information of the first SDWAN controller through the first long connecting channel, and receiving the working state information of the second SDWAN controller through the second long connecting channel, wherein one of the working state of the first SDWAN controller and the working state of the second SDWAN controller is a main working state and the other is a standby working state at the same moment; transmitting service data through the first long connection channel when the working state of the first SDWAN controller is the main working state is received; and under the condition that the working states of the first SDWAN controller and the second SDWAN controller are received to be switched, switching the service data to the second long connection channel for transmission.
Another aspect of the present disclosure provides a data transmission method applied to an SDWAN controller platform, the SDWAN controller platform including a first SDWAN controller and a second SDWAN controller, including: according to the received first connection request comprising the 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; establishing a second long connection channel between the second SDWAN controller and the CPE terminal according to a received second connection request comprising address information of the second SDWAN controller from the CPE terminal; transmitting the working state information of the first SDWAN controller through the first long connecting channel, transmitting the working state information of the second SDWAN controller through the second long connecting channel, wherein one of the working state of the first SDWAN controller and the working state of the second SDWAN controller is a main working state and the other is a standby working state at the same moment; transmitting service data through the first long connection channel when the working state of the first SDWAN controller is a main working state; under the condition that the working states of the first SDWAN controller and the second SDWAN controller are switched, the working states of the first SDWAN controller and the second SDWAN controller after being switched are sent to the CPE terminal; and transmitting the service data through the second long connection channel.
Another aspect of the present disclosure provides a data transmission apparatus applied to a CPE terminal, including: a first establishing module, configured to establish a first long connection channel with a first SDWAN controller based on address information of the configured first SDWAN controller; a second establishing module, configured to establish a second long connection channel with a second SDWAN controller based on address information of the second SDWAN controller; the first receiving module is configured to receive, through the first long connection channel, working state information of the first SDWAN controller, and receive, through the second long connection channel, working state information of the second SDWAN controller, where one of the working state of the first SDWAN controller and the working state of the second SDWAN controller is a main working state and the other is a standby working state at the same time; the first transmission module is used for transmitting service data through the first long connection channel under the condition that the working state of the first SDWAN controller is received as a main working state; and the switching module is used for switching the service data to the second long connection channel for transmission under the condition that the working states of the first SDWAN controller and the second SDWAN controller are received to be switched.
Another aspect of the present disclosure provides a data transmission apparatus for use with an SDWAN controller platform, the SDWAN controller platform including a first SDWAN controller and a second SDWAN controller, comprising: a third establishing module, configured to establish a first long connection channel between the first SDWAN controller and the CPE terminal according to a received first connection request from the CPE terminal, where the first connection request includes address information of the first SDWAN controller; a fourth establishing module, configured to establish a second long connection channel between the second SDWAN controller and the CPE terminal according to a second connection request that is received from the CPE terminal and includes address information of the second SDWAN controller; a first sending module, configured to send, through the first long connection channel, working state information of the first SDWAN controller, and send, through the second long connection channel, working state information of the second SDWAN controller, where one of the working state of the first SDWAN controller and the working state of the second SDWAN controller is a main working state and the other is a standby working state at the same time; the second transmission module is used for transmitting service data through the first long connection channel when the working state of the first SDWAN controller is the main working state; a second sending module, configured to send, when the working states of the first SDWAN controller and the second SDWAN controller are switched, the working states of the first SDWAN controller and the second SDWAN controller after being switched to the CPE terminal; and the third transmission module is used for transmitting the service data through the second long connection channel.
Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions that, when executed, are configured to implement a method as described above.
Another aspect of the present disclosure provides a computer program comprising computer executable instructions which when executed are for implementing a method as described above.
Another aspect of the present disclosure provides a computer system comprising: one or more processors; and a storage means for storing one or more programs, which when executed by the one or more processors cause the one or more processors to implement the methods as described above.
According to an embodiment of the application, a first long connection channel between the first SDWAN controller and the first SDWAN controller is established based on address information of the configured first SDWAN controller; establishing a second long connection channel with the second SDWAN controller based on address information of the second SDWAN controller; receiving the working state information of the first SDWAN controller through a first long connecting channel, and receiving the working state information of the second SDWAN controller through a second long connecting channel, wherein one of the working state of the first SDWAN controller and the working state of the second SDWAN controller is a main working state and the other is a standby working state at the same moment; transmitting service data through a first long connection channel under the condition that the working state of the first SDWAN controller is received as a main working state; and under the condition that the working states of the first SDWAN controller and the second SDWAN controller are received to be switched, switching the service data to a second long connection channel for transmission. Because the terminal and at least two SDWAN controllers in the network management and control platform respectively establish long connection paths, when the main and standby states of the at least two SDWAN controllers are switched, the terminal switches the service data transmission channels, so that the service data transmission can be kept uninterrupted, and the service continuity is kept.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent from the following description of embodiments thereof with reference to the accompanying drawings in which:
FIG. 1 schematically illustrates an exemplary system diagram to which data transmission methods and apparatus may be applied, according to embodiments of the present disclosure;
fig. 2 schematically illustrates a flow chart of a data transmission method according to an embodiment of the present disclosure;
fig. 3A schematically illustrates a flow chart of a method of transmitting traffic data over a first long connection channel in accordance with an embodiment of the present disclosure;
fig. 3B schematically illustrates a flowchart of a method of switching traffic data to a second long connection channel for transmission in accordance with an embodiment of the present disclosure;
fig. 4 schematically illustrates a flow chart of a data transmission method according to another embodiment of the present disclosure;
fig. 5A schematically illustrates a flow chart of a method of transmitting traffic data over a first long connection channel in accordance with an embodiment of the present disclosure;
fig. 5B schematically illustrates a flow chart of a method of transmitting traffic data over a second long connection channel in accordance with an embodiment of the present disclosure;
fig. 6 schematically illustrates a flow chart of a data transmission method according to another embodiment of the present disclosure;
Fig. 7 schematically illustrates a block diagram of a data transmission apparatus according to an embodiment of the present disclosure;
fig. 8 schematically illustrates a block diagram of a data transmission apparatus according to another embodiment of the present disclosure; and
fig. 9 schematically illustrates a block diagram of a computer system according to an embodiment of the disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is only exemplary and is 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. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to unnecessarily obscure the concepts 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 disclosure. The terms "comprises," "comprising," and/or the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude 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 same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It should be noted that the terms used herein should be construed to have meanings consistent with the context of the present specification and should not be construed in an idealized or overly formal manner.
Where expressions like at least one of "A, B and C, etc. are used, the expressions should generally be interpreted in accordance with the meaning as commonly understood by those skilled in the art (e.g.," a system having at least one of A, B and C "shall include, but not be limited to, a system having a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a formulation similar to at least one of "A, B or C, etc." is used, in general such a formulation should be interpreted in accordance with the ordinary understanding of one skilled in the art (e.g. "a system with at least one of A, B or C" would include but not be limited to systems with a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
With the rapid development of internet technology, enterprises are running more and more from the support of networks, from basic email, to office automation, to various informatization systems and platforms, a strong support network is urgently needed.
A WAN (Wide Ares Netwoek, generalized network) is a computer network capable of providing a larger geographical range than a conventional local area network, and an SDWAN (Software-Defined generalized network) is a network control capability Defined by Software for connecting enterprise networks, data centers, internet applications, cloud services, etc. in a generalized network scenario.
Ensuring that traffic is not interrupted when the network fails is critical to network communications.
For conventional local area networks, it is possible to guarantee transparent node switching without affecting data communication between hosts when the network fails, based on VRRP. The VRRP (virtual route redundancy protocol) protocol is a fault-tolerant protocol in a main-standby mode, and ensures that when the next-hop route of a host fails, another router replaces the failed router to work, and node switching can be transparently performed when the network fails through the VRRP without affecting data communication among the hosts.
The VRRP protocol specifies that multiple routers belong to a virtual router, providing a virtual IP address and MAC address to the outside. The host takes the virtual router as a default gateway. Inside the virtual router, a Master router (Master) provides services to the outside at the same time, and is generally generated by an election algorithm, and has virtual IP for external services, and provides various network functions, such as ARP (Address Resolution Protocol ) request, ICMP (Internet Control Message Protocol, internet control message protocol) data forwarding, and the like. The standby router is composed of other physical routers in the virtual router, does not possess external virtual IP, does not provide network functions for the outside, and only receives VRRP state notification information of the main router. When the primary router fails, the backup router in the backup (BACK UP) role will reselect, generating a new primary router to enter the MASTER role, continuing to provide external services, and the whole switch is completely transparent to the user.
The solution based on VRRP is that the multicast mode of the main router periodically transmits VRRP messages to inform other routers in the standby group that the routers work normally. The given solution is based on the condition that the virtual IP is fixed IP in the same local area network, and is not suitable for deployment scenes of cloud (or virtualization) environments crossing machine rooms and public and private, because the virtual IP cannot be configured on the SDWAN management platform device under the two scenes, transparent node switching can not be ensured when the network fails, and data communication between hosts is not affected.
In view of this, embodiments of the present disclosure provide a data transmission method and apparatus. The method comprises the following steps: establishing a first long connection channel with the first SDWAN controller based on the address information of the configured first SDWAN controller; establishing a second long connection channel with the second SDWAN controller based on address information of the second SDWAN controller; receiving the working state information of the first SDWAN controller through a first long connecting channel, and receiving the working state information of the second SDWAN controller through a second long connecting channel, wherein one of the working state of the first SDWAN controller and the working state of the second SDWAN controller is a main working state and the other is a standby working state at the same moment; transmitting service data through a first long connection channel under the condition that the working state of the first SDWAN controller is received as a main working state; and under the condition that the working states of the first SDWAN controller and the second SDWAN controller are received to be switched, switching the service data to a second long connection channel for transmission.
Fig. 1 schematically illustrates an exemplary system diagram to which data transmission methods and apparatuses may be applied according to embodiments of the present disclosure. It should be noted that fig. 1 is merely an example of a system to which embodiments of the present disclosure may be applied to assist those skilled in the art in understanding the technical content of the present disclosure, but does not mean that embodiments of the present disclosure may not be used in other devices, systems, environments, or scenarios.
As shown in fig. 1, a system architecture 100 according to this embodiment may include a terminal device 110 and a network management platform 120, the network management platform 120 including a server 121 and a server 122.
Terminal device 110 may be an SDWAN CPE (Customer Premise Equipment, client device), and server 121 and server 122 may each be an SDWAN controller. The master controller may be elected between server 121 and server 122 based on the VRRP protocol. A long connection is established between the terminal device 110 and the server 121 and the server 122, respectively, and the server 121 and the server 122 may send respective active/standby states to the terminal device 110.
The terminal device 110 reports service data to the server in the master state (for example, the server in the master state is the server 121) through a long connection channel with the server in the master state, but still maintains a long connection with both the server 121 and the server 122. If the active/standby states of the server 121 and the server 122 are switched, the server 121 and the server 122 each notify the terminal device 110 of the change of the active/standby state. In the case where the terminal device 110 determines that the active/standby states of the server 121 and the server 122 are switched (e.g., the server 121 is switched from the active state to the standby state, and the server 122 is switched from the standby state to the active state), the terminal device 110 reports the service data to the server (server 122) in the new active state through a path between the terminal device and the server (server 122) in the new active state, thereby ensuring that the service is not interrupted.
According to the embodiment of the present disclosure, the logic for processing the active-standby path switching at the terminal device 110 and maintaining long connection with both the server 121 and the server 122, when the active-standby switching is required, the logic for establishing connection and time loss are avoided, so as to prevent unnecessary service interruption. Compared with the mode of configuring virtual IP in a conventional local area network to ensure that the service is not interrupted, the embodiment of the invention does not need to configure virtual IP, and does not need to deploy the environment to be in the same local area network or provide fixed IP, so that the service is ensured not to be interrupted in a cloud (or virtualization) environment scene crossing machine rooms and public and private.
It should be understood that the number of terminal devices and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Fig. 2 schematically illustrates a flow chart of a data transmission method according to an embodiment of the present disclosure.
According to an embodiment of the present disclosure, the execution entity of the method may be an SDWAN CPE terminal device (hereinafter referred to as CPE terminal). The CPE terminal interacts with the SDWAN controller in the network management and control platform, which may include at least two SDWAN controllers, and the network management and control platform includes a first SDWAN controller and a second SDWAN controller to illustrate embodiments of the disclosure.
As shown in fig. 2, the method includes operations S201 to S205.
In operation S201, a first long connection channel with the first SDWAN controller is established based on address information of the configured first SDWAN controller.
According to the embodiment of the disclosure, the CPE terminal may be configured with a service IP and a port address of an SDWAN controller (e.g., a first SDWAN controller) currently in a main working state in the network management platform. And 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 message of successful connection to the CPE terminal, so that a long connection channel (a first long connection channel can also be called a channel or a link) is established between the CPE terminal and the first SDWAN controller.
According to the embodiment of the disclosure, after the CPE terminal establishes the first long connection channel with the first SDWAN controller, the first SDWAN controller may send information that the CPE terminal is in a main working state to itself. It will be appreciated that each SDWAN controller will send its own operating status information to the CPE terminals after the first time a long connection is established with the CPE terminals.
It may be appreciated that, before the CPE terminal initiates the connection request, the CPE terminal may initiate an authentication request, and the first SDWAN controller receives the authentication request and returns an authentication response message to the CPE terminal, where the authentication response message includes authentication information (token) for identity verification, and then the CPE terminal may use the token to perform identity authentication when initiating the connection request or a subsequent service request.
In operation S202, a second long connection channel with the second SDWAN controller is established based on address information of the second SDWAN controller.
According to the embodiment of the disclosure, a first SDWAN controller and a second SDWAN controller in the network management and control platform respectively configure service addresses of each other, specifically, a service IP address and a port address of the second SDWAN controller are configured on the first SDWAN controller, and a service IP address and a port address of the first SDWAN controller are configured on the second SDWAN controller.
A short connection channel can be established between the first SDWAN controller and the CPE terminal, and the first SDWAN controller can send the service IP address and the 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.
According to the embodiment of the disclosure, the first SDWAN controller and the second SDWAN controller in the network management and control platform respectively configure the service address of each other, so that only the service address information of one SDWAN controller needs to be configured at the CPE terminal, after a long connection is established with the CPE terminal, the service address of the other SDWAN controller is sent to the CPE terminal, and the CPE terminal can establish the long connection with the other SDWAN controller.
It can be understood that the CPE terminal establishes a second long connection channel with the address information of the second SDWAN controller through the address information of the second SDWAN controller, and after the second long connection channel is established, the second SDWAN controller may send information that the CPE terminal is in a standby working state to itself.
In operation S203, the operation state information of the first SDWAN controller is received through the first long connection channel, and the operation state information of the second SDWAN controller is received through the second long connection channel.
According to the embodiment of the disclosure, one of the working state of the first SDWAN controller and the working state of the second SDWAN controller is a main working state and the other is a standby working state at the same time. The first SDWAN controller sends the working state of the first SDWAN controller through a first long connecting channel, and the second SDWAN controller sends the working state of the second SDWAN controller through a second long connecting channel.
In operation S204, in the case that the operation state of the first SDWAN controller is the main operation state, the service data is transmitted through the first long connection channel.
According to the embodiment of the disclosure, if a message that the first SDWAN controller in the network management and control platform is currently in the main working state is received through the first long connection channel, the CPE terminal can transmit service data through the first long connection channel between the CPE terminal and the first SDWAN controller.
In operation S205, in the case that the switching of the operation states of the first SDWAN controller and the second SDWAN controller occurs is received, the service data is switched to the second long connection channel for transmission.
According to the embodiment of the disclosure, the first long connection channel can also wait to receive a message that the working state of the first SDWAN controller changes.
According to the embodiment of the disclosure, the CPE terminal may receive the message that the working state of the second SDWAN controller is changed through the second long connection channel with the second SDWAN controller.
In the network management platform, the second SDWAN controller changes to the primary working state due to the failure of the first SDWAN controller, and then the second SDWAN controller sends the information that the working state of the second SDWAN controller is the primary working state to the CPE terminal.
In an exemplary embodiment, in the network management platform, the first SDWAN controller is switched from the primary working state to the standby working state, and the second SDWAN controller is switched from the standby working state to the primary working state, so that the first SDWAN controller may send information that the working state of the first SDWAN controller is switched to the standby working state to the CPE terminal, and the second SDWAN controller may send information that the working state of the second SDWAN controller is switched to the primary working state to the CPE terminal.
According to the embodiment of the 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 the information of the main working state, and switches the service channel at the home terminal, and switches the service data to the second long connection channel for transmission, so that service interruption can be avoided.
According to the embodiment of the application, a first long connection channel between the first SDWAN controller and the first SDWAN controller is established based on address information of the configured first SDWAN controller, a second long connection channel between the first SDWAN controller and the second SDWAN controller is established based on address information of the second SDWAN controller, working state information of the first SDWAN controller is received through the first long connection channel, working state information of the second SDWAN controller is received through the second long connection channel, service data is transmitted through the first long connection channel when the working state of the first SDWAN controller is received to be in a main working state, and the service data is switched to the second long connection channel to be transmitted when the working states of the first SDWAN controller and the second SDWAN controller are received to be switched. Because the terminal and at least two SDWAN controllers in the network management and control platform respectively establish long connection paths, when the main and standby states of the at least two SDWAN controllers are switched, the terminal switches the service data transmission channels, so that the service data transmission can be kept uninterrupted, and the service continuity is kept.
Fig. 3A schematically illustrates a flow chart of a method of transmitting traffic data over a first long connection channel according to an embodiment of the disclosure.
As shown in fig. 3A, the method includes operations S301 to S303.
In operation S301, a first authentication request is sent to a first SDWAN controller.
In operation S302, first authentication information is received from the first SDWAN controller, the first authentication information characterizing authentication of the first authentication request.
In operation S303, service data is transmitted through the first long connection channel according to the first authentication information.
According to the embodiment of the application, the service data of the CPE terminal is transmitted through the first long connection channel, authentication is needed before the transmission of the service data, only the CPE terminal passing authentication can interact with the service data, and the CPE terminal which is not authenticated or does not pass authentication cannot communicate with the network management and control platform.
Specifically, the CPE terminal initiates an authentication request through a short connection channel with the first SDWAN controller, the first SDWAN controller receives the authentication request and returns an authentication response message to the CPE terminal through short connection, the authentication response message includes authentication information (token) for identity verification, the token can be used for identity authentication when the CPE initiates a service request, and service data can be transmitted through the first long connection channel when the authentication passes.
Fig. 3B schematically illustrates a flowchart of a method of switching traffic data to a second long connection channel for transmission in accordance with an embodiment of the present disclosure.
As shown in fig. 3B, the method includes operations S311 to S313.
In operation S311, a second authentication request is sent to the second SDWAN controller.
In operation S312, second authentication information is received from the second SDWAN controller, the second authentication information characterizing the authentication of the second authentication request.
In operation S313, service data is transmitted through the second long connection channel according to the second authentication information.
According to the embodiment of the application, the service data of the CPE terminal is switched to the second long connection channel for transmission, the service data needs to be authenticated before transmission, only the CPE terminal passing authentication can interact the service data, and the CPE terminal which is not authenticated or does not pass authentication cannot communicate with the network management and control platform.
Specifically, the CPE terminal initiates an authentication request through a short connection with the second SDWAN controller, where the second SDWAN controller receives the authentication request and returns an authentication response message to the CPE terminal through the short connection, where the authentication response message includes authentication information (token) for authentication, and the CPE can use the token to perform identity authentication when initiating the service request, and can transmit service data through the second long connection channel if the authentication passes.
Fig. 4 schematically illustrates a flow chart of a data transmission method according to another embodiment of the present disclosure.
According to an embodiment of the present disclosure, the execution subject of the method may be a network management platform, where the network management platform may include at least two SDWAN controllers, and where the network management platform includes a first SDWAN controller and a second SDWAN controller to illustrate an embodiment of the present disclosure.
As shown in fig. 4, the method includes operations S401 to S406.
In operation S401, a first long connection channel between a first SDWAN controller and a CPE terminal is established according to a first connection request including address information of the first SDWAN controller received from the CPE terminal.
According to an embodiment of the disclosure, if a first SDWAN controller in a network management and control platform is currently in a main working state, a service IP address and a port address of the first SDWAN controller which is currently in the main working state are configured in a CPE terminal, the CPE terminal first establishes a first long connection channel with the first SDWAN controller according to the IP address and the port address of the first SDWAN controller.
In operation S402, a second long connection channel between the second SDWAN controller and the CPE terminal is established according to a second connection request including address information of the second SDWAN controller received from the CPE terminal.
According to an embodiment of the present disclosure, a first SDWAN controller and a second SDWAN controller in a network management and control platform respectively configure service addresses of each other, specifically, a service IP address and a port address of the second SDWAN controller are configured on the first SDWAN controller, and a service IP address and a port address of the first SDWAN controller are configured on the second SDWAN controller. The CPE terminal and the first SDWAN controller can establish short connection, the first SDWAN controller can send the service IP address and the port address of the second SDWAN controller to the CPE terminal through the short connection, and the CPE terminal establishes a second long connection channel with the second SDWAN controller according to the service IP address and the port address of the second SDWAN controller.
In operation S403, the operating state information of the first SDWAN controller is transmitted through the first long connection channel, and the operating state information of the second SDWAN controller is transmitted through the second long connection channel.
According to an embodiment of the present disclosure, one of the operating state of the first SDWAN controller and the operating state of the second SDWAN controller is a primary operating state and the other is a standby operating state at the same time.
According to the embodiment of the application, after the CPE terminal establishes the first long connection channel with the first SDWAN controller, the first SDWAN controller may send information that the CPE terminal is in the main working state to the CPE terminal. After the CPE terminal establishes a second long connection channel with address information of the second SDWAN controller, the second SDWAN controller may send information that the CPE terminal is in a standby working state to itself.
It will be appreciated that each SDWAN controller will send its own operating status information to the CPE terminals after the first time a long connection is established with the CPE terminals.
In operation S404, in case that the operation state of the first SDWAN controller is the main operation state, service data is transmitted through the first long connection channel.
According to the embodiment of the disclosure, if the working state of the first SDWAN controller is the primary working state, the first SDWAN controller sends information of the primary working state of itself through the first long connection channel, and the CPE terminal and the first SDWAN controller perform service data transmission through the first long connection channel.
In operation S405, in the case where the operation states of the first SDWAN controller and the second SDWAN controller are switched, the operation states of the first SDWAN controller and the second SDWAN controller after being switched are transmitted to the CPE terminal.
According to the embodiment of the application, if the primary and standby states of the first and second SDWAN controllers are switched, the first and second SDWAN controllers send their new operating state information to the CPE terminal.
In the network management platform, the second SDWAN controller switches to the primary working state due to the failure of the first SDWAN controller, and then the second SDWAN controller sends information that the working state of the second SDWAN controller switches to the primary working state to the CPE terminal.
In an exemplary network management platform, due to manual setting, 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, so that the first SDWAN controller may send information that the working state of the first SDWAN controller is switched to the standby working state to the CPE terminal, and the second SDWAN controller may send information that the working state of the second SDWAN controller is switched to the main working state to the CPE terminal.
In operation S406, service data is transmitted through the second long connection channel.
According to the embodiment of the application, at the CPE terminal, after receiving the information that the second SDWAN controller is in the main working state, the CPE terminal switches the service channel at the local end and switches the service data to the second long connecting channel for transmission, so that the CPE terminal and the second SDWAN controller transmit the service data through the second long connecting channel, and service interruption can be avoided.
According to the embodiment of the application, a first long connection channel between a first SDWAN controller and a CPE terminal is established, a second long connection channel between a second SDWAN controller and the CPE terminal is established, working state information of the first SDWAN controller is sent through the first long connection channel, working state information of the second SDWAN controller is sent through the second long connection channel, when the working state of the first SDWAN controller is a main working state, service data are transmitted through the first long connection channel, and when the working states of the first SDWAN controller and the second SDWAN controller are switched, the working states of the first SDWAN controller and the second SDWAN controller are sent to the CPE terminal, and the service data are transmitted through the second long connection channel. Because at least two SDWAN controllers in the network management and control platform and the terminal side establish long connection paths respectively, the terminal is informed when the SDWAN controllers switch the main and standby states, so that the switching of the service data transmission channels on the terminal side can keep the service data transmission uninterrupted and keep the service continuous.
Fig. 5A schematically illustrates a flow chart of a method of transmitting traffic data over a first long connection channel according to an embodiment of the disclosure.
As shown in fig. 5A, the method includes operations S501 to S502.
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 characterizes a passage of the third authentication request.
In operation S502, service data is transmitted according to the received third authentication information from the CPE terminal.
According to the embodiment of the 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, and when the second SDWAN controller is in the main working state, the service data of the CPE terminal is transmitted through the second long connection channel. However, the service data needs to be authenticated before transmission, only the CPE terminals passing authentication can interact the service data, and the CPE terminals which are not authenticated or pass authentication cannot communicate with the network management and control platform.
The CPE terminal initiates an authentication request through a short connection with a first SDWAN controller, the first 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 authentication information (token) for authentication, the token can be used for identity authentication when the CPE initiates a service request, and under the condition that authentication is passed, service data can be transmitted through a first long connection channel, and the first SDWAN controller receives the service data sent by the CPE terminal.
Fig. 5B schematically illustrates a flowchart of a method of transmitting traffic data over a second long connection channel in accordance with an embodiment of the present disclosure.
As shown in fig. 5B, the method includes operations S511 to S512.
In operation S511, fourth authentication information is sent to the CPE terminal according to the received fourth authentication request from the CPE terminal, the fourth authentication information characterizing the passage of the fourth authentication request.
In operation S512, service data is transmitted according to the fourth authentication information received from the CPE terminal.
According to the embodiment of the application, the CPE terminal initiates an authentication request through a short connection with the second SDWAN controller, 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 comprises authentication information (token) for identity authentication, the token can be used for identity authentication when the CPE initiates a service request, and under the condition that the authentication passes, service data can be transmitted through a second long connection channel, and the second SDWAN controller receives the service data sent by the CPE terminal.
Fig. 6 schematically illustrates a flow chart of a data transmission method according to another embodiment of the present disclosure.
According to an embodiment of the present application, the network management platform includes an SDWAN controller a and an SDWAN controller B, where the SDWAN controller a is currently in a primary operating state. Firstly, configuring service IP and port of an SDWAN controller B on the SDWAN controller A; configuring service IP and port of SDWAN controller A on SDWAN controller B; and adding the CPE terminal on the SDWAN controller A, and configuring the address of the SDWAN controller A and basic information required by equipment on-line on the CPE terminal. Wherein multiple CPE terminals may be added at SDWAN controller a. The basic information required for the device to be on-line includes a device authentication code, a device serial number, and the like. After the above configuration is completed, the operation shown in fig. 6 is performed.
As shown in fig. 6, the method includes operations S601 to S609.
In operation S601, the CPE terminal sends an authentication request to the SDWAN controller a, receives an authentication result and a token for identity verification, and when the subsequent CPE terminal sends service data to the network management and control platform, the network management and control platform verifies the token.
In operation S602, the CPE terminal sends a long connection establishment request to the SDWAN controller a, and the SDWAN controller a returns a long connection establishment success message and returns information that the SDWAN controller itself is currently in a primary working state.
In operation S603, the CPE terminal sends CPE basic information and a token to the SDWAN controller a, and after the SDWAN controller a verifies that the token passes, the configured IP address and port of the SDWAN controller B are returned to the CPE terminal.
In operation S604, the CPE terminal transmits service data through a long connection with the SDWAN controller a and updates the token at a timing to prevent expiration.
In operation S605, the CPE terminal establishes a long connection with the SDWAN controller B according to the IP address and port of the SDWAN controller B returned by the SDWAN controller a, for receiving the operation status information of the SDWAN controller B.
In operation S606, the CPE terminals are notified when the active-standby state switching occurs to the SDWAN controller a and the SDWAN controller B. The CPE terminal decides whether to switch the long connection path according to the states of the SDWAN controller A and the SDWAN controller B. For example, if the SDWAN controller a is in the standby working state and the SDWAN controller B is in the main working state, the CPE terminal is triggered to switch the data transmission path.
In operation S607, the CPE terminal determines that the long connection path is switched, and then sends an authentication request to the SDWAN controller B and receives an authentication result and a token.
In operation S608, the CPE terminal sends CPE basic information and token to the SDWAN controller B, which returns the configured IP address and port of the SDWAN controller a to the CPE.
In operation S609, the CPE terminal transmits data with a long connection with the SDWAN controller B and updates the token at a timing to prevent expiration.
It will be appreciated that the interaction between the CPE and the SDWAN controller is not only through long connection channels, but also through short connections. For example, the interaction of address information of the SDWAN controller is accomplished using a short connection; the status information of the SDWAN controller and the transmission of traffic data are all done over long connections.
The CPE and the SDWAN controller can be authenticated, and the service data can be transmitted only by the equipment passing the authentication through short connection.
Fig. 7 schematically illustrates a block diagram of a data transmission apparatus according to an embodiment of the present disclosure.
As shown in fig. 7, the data transmission apparatus 700 includes a first setup module 710, a second setup module 720, a first receive module 730, a first transmission module 740, and a switch module 750.
The first establishing module 710 is configured to establish a first long connection channel with the first SDWAN controller based on address information of the configured first SDWAN controller.
The second establishing module 720 is configured to establish a second long connection channel with the second SDWAN controller based on address information of the second SDWAN controller.
The first receiving module 730 is configured to 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, where one of the working status of the first SDWAN controller and the working status of the second SDWAN controller is in a main working status and the other is in a standby working status at the same time.
The first transmission module 740 is configured to transmit service data through the first long connection channel when the operation state of the first SDWAN controller is received as the main operation state.
The switching module 750 is configured to switch the service data to the second long connection channel for transmission when receiving that the working states of the first SDWAN controller and the second SDWAN controller are switched.
According to an embodiment of the present application, the data transmission device 700 further comprises a second receiving module.
The second receiving module is configured to receive address information of the second SDWAN controller before the second establishing module 720 establishes a second long connection channel with the second SDWAN controller.
According to an embodiment of the present application, receiving that the working states of the first SDWAN controller and the second SDWAN controller are switched includes: receiving information of switching the working state of the first SDWAN controller into a standby working state through a first long connection channel; and receiving information of switching the working state of the second SDWAN controller into the main working state through the second long connecting channel.
According to an embodiment of the present application, the first transmission module 740 is specifically configured to send a first authentication request to the first SDWAN controller; receiving first authentication information from a first SDWAN controller, wherein the first authentication information characterizes the authentication passing of a first authentication request; and transmitting service data through the first long connection channel according to the first authentication information.
According to an embodiment of the present application, the switching module 750 is specifically configured to send a second authentication request to the second SDWAN controller; receiving second authentication information from a second SDWAN controller, the second authentication information characterizing authentication of the second authentication request; and transmitting the service data through the second long connection channel according to the second authentication information.
Fig. 8 schematically illustrates a block diagram of a data transmission apparatus according to another embodiment of the present disclosure.
As shown in fig. 8, the data transmission apparatus 800 includes a third setup module 810, a fourth setup module 820, a first transmission module 830, a second transmission module 840, a second transmission module 850, and a third transmission module 860.
The third establishing module 810 is configured to establish a first long connection channel between the first SDWAN controller and the CPE terminal according to a first connection request including address information of the first SDWAN controller received from the CPE terminal.
The fourth establishing module 820 is configured to establish a second long connection channel between the second SDWAN controller and the CPE terminal according to the second connection request including the address information of the second SDWAN controller received from the CPE terminal.
The first sending module 830 is configured to send the working status information of the first SDWAN controller through the first long connection channel, send the working status information of the second SDWAN controller through the second long connection channel, and at the same time, one of the working status of the first SDWAN controller and the working status of the second SDWAN controller is a main working status, and the other is a standby working status.
The second transmission module 840 is configured to transmit service data through the first long connection channel when the working state of the first SDWAN controller is the primary working state.
The second sending module 850 is configured to send, when the working states of the first SDWAN controller and the second SDWAN controller are switched, the working states of the first SDWAN controller and the second SDWAN controller after being switched to the CPE terminal.
The third transmission module 860 is configured to transmit service data through the second long connection channel.
According to an embodiment of the present application, the data transmission apparatus 800 further includes a third transmitting module.
The third sending module is configured to send address information of the second SDWAN controller before the fourth establishing module 820 establishes the second long connection channel between the second SDWAN controller and the CPE terminal.
According to an embodiment of the present application, the second sending module 850 is specifically configured to send, through the first long connection channel, information that the working state of the first SDWAN controller is switched to the standby working state; and sending information that the working state of the second SDWAN controller is switched to the main working state through the second long connecting channel.
According to an embodiment of the present application, the second transmission module 840 is specifically configured to send third authentication information to the CPE terminal according to the received third authentication request from the CPE terminal, where the third authentication information characterizes that the third authentication request passes; and transmitting service data according to the received third authentication information from the CPE terminal.
According to an embodiment of the present application, the third transmission module 860 is specifically configured to send fourth authentication information to the CPE terminal according to a received fourth authentication request from the CPE terminal, where the fourth authentication information characterizes that the fourth authentication request passes; and transmitting service data according to the received fourth authentication information from the CPE terminal.
Any number of modules, sub-modules, units, sub-units, or at least some of the functionality of any number of the sub-units according to embodiments of the present disclosure may be implemented in one module. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented as split into multiple modules. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system-on-chip, a system-on-substrate, a system-on-package, an Application Specific Integrated Circuit (ASIC), or in any other reasonable manner of hardware or firmware that integrates or encapsulates the circuit, or in any one of or a suitable combination of three of software, hardware, and firmware. Alternatively, one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be at least partially implemented as computer program modules, which when executed, may perform the corresponding functions.
For example, any of the first setup module 710, the second setup module 720, the first receive module 730, the first transmit module 740, and the switch module 750 may be combined in one module/unit/sub-unit or any one of the modules/units/sub-units may be split into a plurality of modules/units/sub-units. Alternatively, at least some of the functionality of one or more of these modules/units/sub-units may be combined with at least some of the functionality of other modules/units/sub-units and implemented in one module/unit/sub-unit. According to embodiments of the present disclosure, at least one of the first setup module 710, the second setup module 720, the first receive module 730, the first transmit module 740, and the switch module 750 may be implemented at least in part as hardware circuitry, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or as hardware or firmware in any other reasonable manner of integrating or packaging the circuitry, or as any one of or a suitable combination of three of software, hardware, and firmware. Alternatively, at least one of the first setup module 710, the second setup module 720, the first receive module 730, the first transmit module 740, and the switch module 750 may be at least partially implemented as computer program modules, which when executed, may perform the corresponding functions.
It should be noted that, in the embodiment of the present disclosure, the data transmission device portion corresponds to the data transmission method portion in the embodiment of the present disclosure, and the description of the data transmission device portion specifically refers to the data transmission method portion and is not described herein.
Fig. 9 schematically illustrates a block diagram of a computer system suitable for implementing the above-described method according to an embodiment of the present disclosure. The computer system illustrated in fig. 9 is merely an example, and should not be construed as limiting the functionality and scope of use of the embodiments of the present disclosure.
As shown in fig. 9, a computer system 900 according to an embodiment of the present disclosure includes a processor 901, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 902 or a program loaded from a storage portion 908 into a Random Access Memory (RAM) 903. The processor 901 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or an associated chipset and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), or the like. Processor 901 may also include on-board memory for caching purposes. Processor 901 may include a single processing unit or multiple processing units for performing the different actions of the method flows according to embodiments of the present disclosure.
In the RAM 903, various programs and data necessary for the operation of the system 900 are stored. The processor 901, the ROM 902, and the RAM 903 are connected to each other by a bus 904. The processor 901 performs various operations of the method flow according to the embodiments of the present disclosure by executing programs in the ROM 902 and/or the RAM 903. Note that the program may be stored in one or more memories other than the ROM 902 and the RAM 903. The processor 901 may also perform various operations of the method flow according to embodiments of the present disclosure by executing programs stored in the one or more memories.
According to an embodiment of the disclosure, the system 900 may also include an input/output (I/O) interface 905, the input/output (I/O) interface 905 also being connected to the bus 904. The system 900 may also include one or more of the following components connected to the I/O interface 905: an input section 906 including a keyboard, a mouse, and the like; an output portion 907 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage portion 908 including a hard disk or the like; and a communication section 909 including a network interface card such as a LAN card, a modem, or the like. The communication section 909 performs communication processing via a network such as the internet. The drive 910 is also connected to the I/O interface 905 as needed. A removable medium 911 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed as needed on the drive 910 so that a computer program read out therefrom is installed into the storage section 908 as needed.
According to embodiments of the present disclosure, the method flow according to embodiments of the present disclosure may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from the network via the communication portion 909 and/or installed from the removable medium 911. The above-described functions defined in the system of the embodiments of the present disclosure are performed when the computer program is executed by the processor 901. The systems, devices, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
The present disclosure also provides a computer-readable storage medium that may be embodied in the apparatus/device/system described in the above embodiments; or may exist alone without being assembled into the apparatus/device/system. The computer-readable storage medium carries one or more programs which, when executed, implement methods in accordance with embodiments of the present disclosure.
According to embodiments 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: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
For example, according to embodiments of the present disclosure, the computer-readable storage medium may include ROM 902 and/or RAM 903 and/or one or more memories other than ROM 902 and RAM 903 described above.
The flowcharts 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 the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). 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 the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. Those skilled in the art will appreciate that the features recited in the various embodiments of the disclosure and/or in the claims may be combined in various combinations and/or combinations, even if such combinations or combinations are not explicitly recited in the disclosure. In particular, the features recited in the various embodiments of the present disclosure and/or the claims may be variously combined and/or combined without departing from the spirit and teachings of the present disclosure. All such combinations and/or combinations fall within the scope of the present disclosure.
The embodiments of the present disclosure are described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the embodiments cannot be used advantageously in combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be made by those skilled in the art without departing from the scope of the disclosure, and such alternatives and modifications are intended to fall within the scope of the disclosure.

Claims (14)

1. The data transmission method is applied to the CPE terminal and comprises the following steps:
establishing a first long connection channel between the first SDWAN controller and the first SDWAN controller based on address information of the configured first SDWAN controller;
establishing a second long connection channel with a second SDWAN controller based on address information of the second SDWAN controller;
receiving the working state information of the first SDWAN controller through the first long connecting channel, and receiving the working state information of the second SDWAN controller through the second long connecting channel, wherein one of the working state of the first SDWAN controller and the working state of the second SDWAN controller is a main working state and the other is a standby working state at the same moment;
Transmitting service data through the first long connection channel when the working state of the first SDWAN controller is the main working state is received;
and under the condition that the working states of the first SDWAN controller and the second SDWAN controller are received to be switched, switching the service data to the second long connection channel for transmission.
2. The method of claim 1, further comprising, prior to establishing a second long connection channel with a second SDWAN controller based on address information of the second SDWAN controller:
address information of the second SDWAN controller is received.
3. The method of claim 1, wherein receiving the switch in operating state of the first and second SDWAN controllers comprises:
receiving information of switching the working state of the first SDWAN controller into a standby working state through the first long connection channel;
and receiving information of switching the working state of the second SDWAN controller into a main working state through the second long connecting channel.
4. The method of claim 1, wherein the transmitting traffic data over the first long connection channel comprises:
Sending a first authentication request to the first SDWAN controller;
receiving first authentication information from the first SDWAN controller, the first authentication information characterizing that the first authentication request is authenticated;
and transmitting service data through the first long connection channel according to the first authentication information.
5. The method of claim 1, wherein the switching the traffic data to the second long connection channel for transmission comprises:
sending a second authentication request to the second SDWAN controller;
receiving second authentication information from the second SDWAN controller, the second authentication information characterizing authentication of the second authentication request;
and transmitting service data through the second long connection channel according to the second authentication information.
6. A data transmission method applied to an SDWAN controller platform, the SDWAN controller platform comprising a first SDWAN controller and a second SDWAN controller, the method comprising:
according to the received first connection request comprising the 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;
Establishing a second long connection channel between the second SDWAN controller and the CPE terminal according to a received second connection request comprising address information of the second SDWAN controller from the CPE terminal;
transmitting the working state information of the first SDWAN controller through the first long connecting channel, transmitting the working state information of the second SDWAN controller through the second long connecting channel, wherein one of the working state of the first SDWAN controller and the working state of the second SDWAN controller is a main working state and the other is a standby working state at the same moment;
transmitting service data through the first long connection channel when the working state of the first SDWAN controller is a main working state;
under the condition that the working states of the first SDWAN controller and the second SDWAN controller are switched, the working states of the first SDWAN controller and the second SDWAN controller after being switched are sent to the CPE terminal;
and transmitting the service data through the second long connection channel.
7. The method of claim 6, further comprising, prior to establishing a second long connection channel between the second SDWAN controller and a CPE terminal:
And sending the address information of the second SDWAN controller.
8. The method of claim 6, wherein the sending the operating status information after the switching of the first SDWAN controller and the second SDWAN controller to the CPE terminal comprises:
transmitting information of switching the working state of the first SDWAN controller into a standby working state through the first long connection channel;
and sending information that the working state of the second SDWAN controller is switched to the main working state through the second long connecting channel.
9. The method of claim 6, wherein transmitting traffic data over the first long connection channel comprises:
according to the received third authentication request from the CPE terminal, third authentication information is sent to the CPE terminal, and the third authentication information characterizes the third authentication request to pass;
and transmitting the service data according to the received third authentication information from the CPE terminal.
10. The method of claim 6, wherein transmitting the traffic data over the second long connection channel comprises:
according to the received fourth authentication request from the CPE terminal, fourth authentication information is sent to the CPE terminal, and the fourth authentication information characterizes that the fourth authentication request passes;
And transmitting the service data according to the received fourth authentication information from the CPE terminal.
11. A data transmission device, applied to a CPE terminal, comprising:
a first establishing module, configured to establish a first long connection channel with a first SDWAN controller based on address information of the configured first SDWAN controller;
a second establishing module, configured to establish a second long connection channel with a second SDWAN controller based on address information of the second SDWAN controller;
the first receiving module is configured to receive, through the first long connection channel, working state information of the first SDWAN controller, and receive, through the second long connection channel, working state information of the second SDWAN controller, where one of the working state of the first SDWAN controller and the working state of the second SDWAN controller is a main working state and the other is a standby working state at the same time;
the first transmission module is used for transmitting service data through the first long connection channel under the condition that the working state of the first SDWAN controller is received as a main working state;
and the switching module is used for switching the service data to the second long connection channel for transmission under the condition that the working states of the first SDWAN controller and the second SDWAN controller are received to be switched.
12. A data transmission apparatus for use with an SDWAN controller platform, the SDWAN controller platform comprising a first SDWAN controller and a second SDWAN controller, the apparatus comprising:
a third establishing module, configured to establish a first long connection channel between the first SDWAN controller and the CPE terminal according to a received first connection request from the CPE terminal, where the first connection request includes address information of the first SDWAN controller;
a fourth establishing module, configured to establish a second long connection channel between the second SDWAN controller and the CPE terminal according to a second connection request that is received from the CPE terminal and includes address information of the second SDWAN controller;
a first sending module, configured to send, through the first long connection channel, working state information of the first SDWAN controller, and send, through the second long connection channel, working state information of the second SDWAN controller, where one of the working state of the first SDWAN controller and the working state of the second SDWAN controller is a main working state and the other is a standby working state at the same time;
the second transmission module is used for transmitting service data through the first long connection channel when the working state of the first SDWAN controller is the main working state;
A second sending module, configured to send, when the working states of the first SDWAN controller and the second SDWAN controller are switched, the working states of the first SDWAN controller and the second SDWAN controller after being switched to the CPE terminal;
and the third transmission module is used for transmitting the service data through the second long connection channel.
13. A computer system, comprising:
one or more processors;
a memory for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1 to 10.
14. A computer readable storage medium having stored thereon executable instructions which when executed by a processor cause the processor to implement the method of any of claims 1 to 10.
CN202011543032.8A 2020-12-23 2020-12-23 Data transmission method, device, computer system and medium Active CN112564983B (en)

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)

* Cited by examiner, † Cited by third party
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
CN116132220A (en) * 2021-11-15 2023-05-16 中国联合网络通信集团有限公司 Data transmission method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
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 kind of medical treatment 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)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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 kind of medical treatment 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
US11237858B2 (en) Software-defined data center, and deployment method for service cluster therein
US10567340B2 (en) Data center system
EP3373547B1 (en) Method for realizing disaster tolerance backup
US11451509B2 (en) Data transmission method and computer system
US9137141B2 (en) Synchronization of load-balancing switches
KR101691759B1 (en) Virtual chassis system control protocols
EP4183118A1 (en) Multi-edge etherchannel (meec) creation and management
US7516202B2 (en) Method and apparatus for defining failover events in a network device
US11588679B2 (en) System and method of establishing seamless remote access virtual private network connections
CN112564983B (en) Data transmission method, device, computer system and medium
JP5107339B2 (en) System and method for active geographic redundancy
US8880932B2 (en) System and method for signaling dynamic reconfiguration events in a middleware machine environment
US10484333B2 (en) Methods and systems for providing limited data connectivity
WO2020057445A1 (en) Communication system, method, and device
WO2021139304A1 (en) Method and device for multi-cloud interconnection
US20230345273A1 (en) Fault processing method, control plane network element, steering decision-making network element, and related device
US8711681B2 (en) Switch redundancy in systems with dual-star backplanes
US20200228373A1 (en) Autonomous system bridge connecting in a telecommunications network
US8161147B2 (en) Method of organising servers
KR20200072941A (en) Method and apparatus for handling VRRP(Virtual Router Redundancy Protocol)-based network failure using real-time fault detection
US8023407B2 (en) Redundancy in a communication network
WO2018223991A1 (en) Method and system for switching between active bng and standby bng, and bng
KR102376484B1 (en) Apparatus and method for automatic switching of duplication lines
CN114826887B (en) Private network connection communication method and system
WO2018171901A1 (en) System and method for dynamic peer detection in a software defined network

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
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: Qianxin Technology Group Co.,Ltd.

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: Qianxin Technology Group Co.,Ltd.

GR01 Patent grant
GR01 Patent grant