CN116132220A - Data transmission method, device, equipment and storage medium - Google Patents

Data transmission method, device, equipment and storage medium Download PDF

Info

Publication number
CN116132220A
CN116132220A CN202111347102.7A CN202111347102A CN116132220A CN 116132220 A CN116132220 A CN 116132220A CN 202111347102 A CN202111347102 A CN 202111347102A CN 116132220 A CN116132220 A CN 116132220A
Authority
CN
China
Prior art keywords
sdwan
data
operation state
determining
equipment
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.)
Granted
Application number
CN202111347102.7A
Other languages
Chinese (zh)
Other versions
CN116132220B (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202111347102.7A priority Critical patent/CN116132220B/en
Publication of CN116132220A publication Critical patent/CN116132220A/en
Application granted granted Critical
Publication of CN116132220B publication Critical patent/CN116132220B/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
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • 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)
  • Computer Security & Cryptography (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a data transmission method, a device, equipment and a storage medium, wherein the method comprises the following steps: when first data to be sent exist in terminal equipment, acquiring an operation state of the terminal equipment, wherein the operation state is an independent operation state or a non-independent operation state; if the operation state of the terminal equipment is an independent operation state, determining a target SDWAN device in at least two software-defined wide area network (SDWAN) devices according to the destination address of the first data, and sending the first data to the target SDWAN device through a VPN tunnel; and if the operation state of the terminal equipment is the non-independent operation state, sending the first data to the first SDWAN equipment through a preset tunnel. The rate of data transmission is improved.

Description

Data transmission method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of network communications technologies, and in particular, to a data sending method, device, equipment, and storage medium.
Background
Software-Defined wide area Network (SDWAN) technology is applied to a wide area Network (Wide Area Network, WAN) scenario.
In the related art, the SDWAN is generally formed by: and respectively placing an SDWAN terminal at the entrance of the enterprise branch office side and the cloud server side, and setting a plurality of network service providing points (Point of presence, POP) with SDWAN functions in the public network. Under the dispatching of an SDWAN controller, the SDWAN functional equipment in the SDWAN terminal and the POP point selects an optimal path of a WAN side according to a service requirement and an algorithm, and opens a virtual private network (Virtual Private Network, VPN) tunnel, so that rapid networking and rapid cloud entry between branches are realized.
However, in the above SDWAN networking manner, the optimal path can be selected only by means of the computing power of the SDWAN controller, and the inter-branch networking manner is not flexible enough, resulting in a low data transmission rate.
Disclosure of Invention
The application provides a data transmission method, a device, equipment and a storage medium, which improve the data transmission rate.
In a first aspect, the present application provides a data transmission method, including:
when first data to be sent exist in terminal equipment, acquiring an operation state of the terminal equipment, wherein the operation state is an independent operation state or a non-independent operation state;
if the operation state of the terminal equipment is an independent operation state, determining a target SDWAN device in at least two software-defined wide area network (SDWAN) devices according to the destination address of the first data, and sending the first data to the target SDWAN device through a VPN tunnel;
and if the operation state of the terminal equipment is the non-independent operation state, sending the first data to the first SDWAN equipment through a preset tunnel.
In one possible implementation, determining a target SDWAN device from at least two SDWAN devices according to a destination address of the first data includes:
determining the type of the first data according to the destination address of the first data, wherein the type of the first data is intranet data or extranet data;
and determining the target SDWAN device in the at least two SDWAN devices according to the type of the first data.
In one possible implementation, determining the target SDWAN device among the at least two SDWAN devices according to the type of the first data includes:
acquiring a device level of each of the at least two SDWAN devices, where the device level is a first level or a second level, and a service area of the first level SDWAN device includes a service area of the second level SDWAN device;
determining the target SDWAN device from the at least two SDWAN devices according to the type of the first data and the device level of each SDWAN device.
In one possible implementation, determining the target SDWAN device among the at least two SDWAN devices according to the type of the first data and the device level of each SDWAN device includes:
if the type of the first data is intranet data, determining a second-level SDWAN device corresponding to the terminal device in the at least two SDWAN devices as the target SDWAN device;
and if the type of the first data is external network data, determining one stage of SDWAN equipment corresponding to the terminal equipment in the at least two SDWAN equipment as the target SDWAN equipment.
In one possible implementation manner, determining the type of the first data according to the destination address of the first data includes:
acquiring a preset address set;
if the address set comprises the destination address of the first data, determining that the type of the first data is an intranet type;
and if the address set does not comprise the destination address of the first data, determining that the type of the first data is an extranet type.
In a possible implementation manner, obtaining the operation state of the terminal device includes:
receiving the operation state of the terminal equipment sent by an SDWAN controller;
the operation state is determined by the first SDWAN device according to device information of the terminal device, wherein the device information comprises memory utilization rate of the terminal device and CPU utilization rate of a central processing unit.
In one possible implementation, sending the first data to the first SDWAN device through a preset tunnel includes:
determining the first SDWAN device, wherein the first SDWAN device is a secondary SDWAN device corresponding to the terminal device;
and sending the first data to the first SDWAN device through a preset tunnel.
In a second aspect, the present application provides a data transmitting apparatus, including an acquisition module, a determination module, and a transmission module, where,
the acquisition module is used for acquiring an operation state of the terminal equipment when first data to be transmitted exist in the terminal equipment, wherein the operation state is an independent operation state or a non-independent operation state;
the determining module is configured to determine, if the operation state of the terminal device is an independent operation state, a target SDWAN device from at least two software-defined wide area network SDWAN devices according to a destination address of the first data, and send the first data to the target SDWAN device through a VPN tunnel;
and the sending module is used for sending the first data to the first SDWAN device through a preset tunnel if the operation state of the terminal device is a non-independent operation state.
In one possible implementation manner, the determining module is specifically configured to:
determining the type of the first data according to the destination address of the first data, wherein the type of the first data is intranet data or extranet data;
and determining the target SDWAN device in the at least two SDWAN devices according to the type of the first data.
In one possible implementation manner, the determining module is specifically configured to:
acquiring a device level of each of the at least two SDWAN devices, where the device level is a first level or a second level, and a service area of the first level SDWAN device includes a service area of the second level SDWAN device;
determining the target SDWAN device from the at least two SDWAN devices according to the type of the first data and the device level of each SDWAN device.
In one possible implementation manner, the determining module is specifically configured to:
if the type of the first data is intranet data, determining a second-level SDWAN device corresponding to the terminal device in the at least two SDWAN devices as the target SDWAN device;
and if the type of the first data is external network data, determining one stage of SDWAN equipment corresponding to the terminal equipment in the at least two SDWAN equipment as the target SDWAN equipment.
In one possible implementation manner, the determining module is specifically configured to:
acquiring a preset address set;
if the address set comprises the destination address of the first data, determining that the type of the first data is an intranet type;
and if the address set does not comprise the destination address of the first data, determining that the type of the first data is an extranet type.
In one possible implementation manner, the acquiring module is specifically configured to:
receiving the operation state of the terminal equipment sent by an SDWAN controller;
the operation state is determined by the first SDWAN device according to device information of the terminal device, wherein the device information comprises memory utilization rate of the terminal device and CPU utilization rate of a central processing unit.
In one possible implementation manner, the sending module is specifically configured to:
determining the first SDWAN device, wherein the first SDWAN device is a secondary SDWAN device corresponding to the terminal device;
and sending the first data to the first SDWAN device through a preset tunnel.
In a third aspect, the present application provides a data transmission apparatus, including: a processor, a memory;
the memory stores computer-executable instructions;
the processor executes the computer-executable command stored in the memory, causing the processor to perform the data transmission method according to any one of the first aspects.
In a fourth aspect, the present application provides a computer-readable storage medium having stored therein computer-executable instructions for implementing the data transmission method of any one of the first aspects when the computer-executable instructions are executed by a processor.
In a fifth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the data transmission method according to any one of the first aspects.
The application provides a data transmission method, a device, equipment and a storage medium, when terminal equipment needs to transmit first data, the operation state of the terminal equipment needs to be determined to be an independent operation state or a non-independent operation state; if the operation state of the terminal equipment is an independent operation state, determining a target SDWAN equipment in at least two SDWAN equipment according to the destination address of the first data, and sending the first data to the target SDWAN equipment through a VPN tunnel; and if the operation state of the terminal equipment is the non-independent operation state, sending the first data to the first SDWAN equipment through the gateway. In the process, the terminal equipment can open the VPN tunnel by utilizing the self operation capability, so that the flexibility of a networking mode among branches is improved, and the data transmission rate is further improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic diagram of a network architecture of an SDWAN according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a data transmission method according to an embodiment of the present application;
fig. 3 is a second flowchart of a data transmission method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a data sending device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a data sending device according to an embodiment of the present application.
Specific embodiments thereof have been shown by way of example in the drawings and will herein be described in more detail. These drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be clearly and completely described in the following in conjunction with the embodiments of the present application, and it is apparent that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
In order to facilitate understanding, terms involved in the embodiments of the present application are explained below.
Network service provider (point of presence, POP): a local access point, which may be an internet service provider, is primarily the infrastructure that allows remote users to connect to the internet. POP points may include routers, switches, servers, and other data communication devices; in general, the closer the POP point is to the terminal device, the less line signal loss, and the higher the bandwidth guarantee that the POP point can provide for the terminal device.
An application scenario to which the embodiments of the present application are applicable is described below with reference to fig. 1.
Fig. 1 is a schematic diagram of a network architecture of an SDWAN according to an embodiment of the present application. Referring to fig. 1, the system includes a terminal device, a primary SDWAN device, and a secondary SDWAN device. The terminal device and the SDWAN device can be connected through the Internet, and the SDWAN device can be connected through VPN.
The terminal device may be an SDWAN terminal placed at the side of an enterprise branch office, or may be a gateway placed at the side of the enterprise branch office. For example, the enterprise a has 6 enterprise branches, 5 enterprise branches are provided with SDWAN terminals, and 1 enterprise branch is provided with a gateway. The enterprise branch office may connect to the public network through an SDWAN terminal or gateway.
The primary SDWAN device may include a provincial core switch in which hardware with SDWAN functionality may be disposed, the hardware having computing capabilities.
The secondary SDWAN device may include a municipal aggregation switch in which hardware with SDWAN functionality may be disposed, the hardware having computing capabilities.
The primary and secondary SDWAN devices may act as POP points.
The terminal device, the primary SDWAN device and the secondary SDWAN device may be controlled by an SDWAN controller, and the SDWAN controller may be in the form of software or hardware.
Based on the network architecture of the SDWAN as shown in fig. 1, the terminal device may transmit the traffic data of the mobile device in the enterprise branch office where the terminal device is located to the SDWAN device through a VPN tunnel or a VxLAN tunnel; connect to the cloud server through the SDWAN device.
In the related art, the optimal path for networking and cloud entry can be selected only by means of the computing capability of the SDWAN controller, and the networking mode is not flexible enough, so that the data transmission rate is low.
In order to solve the above technical problems, the present application proposes a data transmission method, when a terminal device needs to send first data, it needs to determine whether an operation state of the terminal device itself is an independent operation state or a non-independent operation state; if the operation state of the terminal equipment is an independent operation state, determining a target SDWAN equipment in at least two SDWAN equipment according to the destination address of the first data, and sending the first data to the target SDWAN equipment through a VPN tunnel; and if the operation state of the terminal equipment is the non-independent operation state, sending the first data to the first SDWAN equipment through the gateway. In the process, the terminal equipment can open the VPN tunnel by utilizing the self operation capability, so that the flexibility of a networking mode among branches is improved, and the data transmission rate is further improved.
The technical scheme shown in the application is described in detail through specific embodiments. It should be noted that the following embodiments may exist independently or may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 2 is a flowchart of a data transmission method according to an embodiment of the present application. Referring to fig. 2, the method may include:
s201, acquiring an operation state of the terminal equipment when first data to be transmitted exist in the terminal equipment.
The execution body of the application may be a terminal device, or may be a data transmitting device provided in the terminal device. The data transmitting means may be implemented by software or by a combination of software and hardware.
The first data may be traffic data.
The operation state may be an independent operation state or a dependent operation state; the independent operation state may mean that the terminal device has computing capability and may directly open a VPN tunnel; the non-independent operation state may mean that the terminal device does not have computing capability and cannot open a VPN tunnel.
The operation state of the terminal device can be obtained by: receiving an operation state of terminal equipment sent by an SDWAN controller; the operation state is determined by the SDWAN controller according to the device information of the terminal device, and the device information may include the memory usage rate of the terminal device and the CPU usage rate of the central processing unit.
For example, the SDWAN controller obtains the memory usage and the CPU usage of the terminal device, and if the memory usage and the CPU usage of the terminal device are both lower than the preset threshold, the SDWAN controller determines that the operation state of the terminal device is an independent operation state, and transmits the result to the terminal device, and the terminal device executes step S202 according to the operation state thereof; if the memory usage rate and/or the CPU usage rate of the terminal device are higher than the preset threshold, the SDWAN controller may determine that the operation state of the terminal device is a non-independent operation state, and transmit the result to the terminal device, where the terminal device executes step S203 according to the operation state thereof.
S202, if the operation state of the terminal equipment is an independent operation state, determining a target SDWAN equipment in at least two SDWAN equipment according to the destination address of the first data, and sending the first data to the target SDWAN equipment through a VPN tunnel.
The SDWAN devices may be divided into primary SDWAN devices and secondary SDWAN devices.
The destination address may be an internet protocol (Internet Protocol, IP) address.
The target SDWAN device may be determined from among the at least two SDWAN devices according to the destination address of the first data by: determining the type of the first data according to the destination address of the first data, wherein the type of the first data is intranet data or extranet data; a target SDWAN device is determined among the at least two SDWAN devices based on the type of the first data.
And S203, if the operation state of the terminal equipment is the non-independent operation state, sending first data to the first SDWAN equipment through a preset tunnel.
The preset tunnel may be a virtual extended local area network (Virtual Extensible Local Area Network, VXLAN) tunnel.
The first SDWAN device may be a secondary SDWAN device.
In the embodiment shown in fig. 2, when first data to be sent exists in the terminal device, the operation state of the terminal device sent by the SDWAN controller is received, if the operation state of the terminal device is an independent operation state, determining a target SDWAN device in at least two SDWAN devices according to the destination address of the first data, and sending the first data to the target SDWAN device through the VPN tunnel; and if the operation state of the terminal equipment is the non-independent operation state, sending the first data to the first SDWAN equipment through a preset tunnel. In the process, the terminal equipment can open the VPN tunnel by utilizing the self operation capability, so that the flexibility of a networking mode among branches is improved, and the data transmission rate is further improved.
In addition to any of the above embodiments, the data transmission method will be described in detail below with reference to the embodiment shown in fig. 3.
Fig. 3 is a second flowchart of a data transmission method according to an embodiment of the present application. Referring to fig. 3, the method may include:
s301, acquiring an operation state of the terminal equipment when first data to be transmitted exist in the terminal equipment.
If the operation state of the terminal device is an independent operation state, executing S302;
if the operation state of the terminal device is a non-independent operation state, S306 is executed.
The terminal device may be an SDWAN terminal or a gateway. When the terminal device is a gateway, the gateway may be functionally similar to an SDWAN terminal by way of an issuing plug-in.
Specifically, the SDWAN controller issues plug-ins to the gateway, the second-level SDWAN device and the first-level SDWAN device, and the plug-ins determine whether the plug-ins can be installed on the three-layer device according to the device information of the gateway, the second-level SDWAN device and the first-level SDWAN device, and if which layer of device meets the conditions, the plug-ins can be installed on the layer of device; if the plug-in units can be installed on all three layers of equipment, the plug-in units can be installed on which equipment according to the requirements of users, and the installation mode is as follows:
1. if only one user has a demand, the plug-in is installed on the terminal equipment corresponding to the user.
2. If there are multiple users with needs and the service areas of the multiple users are located in the service area of the same secondary SDWAN device, the plug-in is installed on the secondary SDWAN device, and the users with needs can call the plug-in capability on the secondary SDWAN device through the label of the application layer.
3. If there are multiple users with demands, the service areas of the multiple users are not located in the service areas of the same two-level SDWAN device, but are located in the service areas of the same one-level SDWAN device, the plug-in is installed on the one-level SDWAN device, and the users with demands can call the plug-in capability on the one-level SDWAN device through the labels of the application layer.
S302, determining the type of the first data according to the destination address of the first data.
The type of the first data may be determined from the destination address of the first data by: acquiring a preset address set; if the address set comprises the destination address of the first data, determining that the type of the first data is the intranet type; and if the address set does not comprise the destination address of the first data, determining that the type of the first data is an extranet type.
The preset set of addresses may include the IP address of the enterprise branch office, or may include a specified IP address.
S303, acquiring the device level of each of at least two SDWAN devices.
The device level may be primary or secondary.
The service area of the primary SDWAN device includes the service area of the secondary SDWAN device.
S304, determining a target SDWAN device in at least two SDWAN devices according to the type of the first data and the device level of each SDWAN device.
The target SDWAN device may be determined among the at least two SDWAN devices by:
if the type of the first data is intranet data, determining a second-level SDWAN device corresponding to the terminal device in at least two SDWAN devices as a target SDWAN device; and if the type of the first data is the external network data, determining the first-stage SDWAN device corresponding to the terminal device in the at least two SDWAN devices as the target SDWAN device.
For example, the operation state of the terminal device is an independent operation state, the terminal device has three first data to be sent, the three first data are respectively IP1, IP2 and IP3, according to destination addresses of the three first data, it can be determined that IP1 and IP2 are intranet data, and IP3 is extranet data, then the terminal device sends IP1 and IP2 to the second-level SDWAN device through the VPN tunnel, and sends IP3 to the first-level SDWAN device.
If all the secondary SDWAN devices are consumed, intranet data can be sent to the primary SDWAN devices.
And S305, sending the first data to the target SDWAN device through the VPN tunnel.
There may be multiple VPN tunnels for the terminal device to the target SDWAN device.
For example, if the terminal device has two first data IP1 and IP2 to be sent, and the operation state of the terminal device is an independent operation state, the terminal device may open two VPN tunnels leading to the SDWAN device, VPN tunnel 1 and VPN tunnel 2; the terminal device may send IP1 to the secondary SDWAN device through VPN tunnel 1 and IP2 to the primary SDWAN device through VPN tunnel 2.
S306, determining the first SDWAN device.
The first SDWAN device may be a secondary SDWAN device corresponding to the terminal device.
S307, the first data is sent to the first SDWAN device through a preset tunnel.
If the operation state of the terminal equipment is the non-independent operation state, the terminal equipment does not distinguish the type of the first data, the first data is directly sent to the second-level SDWAN equipment through a preset tunnel, and the second-level SDWAN equipment distinguishes the first data according to the destination address of the first data.
In the embodiment shown in fig. 3, when there is first data to be sent in the terminal device, the operation state of the terminal device sent by the SDWAN controller is received, and if the operation state of the terminal device is an independent operation state, the type of the first data is determined according to the destination address of the first data; determining a target SDWAN device in at least two SDWAN devices according to the type of the first data and the device level of each SDWAN device, and sending the first data to the target SDWAN device through a VPN tunnel; if the operation state of the terminal equipment is the non-independent operation state, the first SDWAN equipment is determined first, and first data are sent to the first SDWAN equipment through a preset tunnel. In the process, the terminal equipment can open the VPN tunnel by utilizing the self operation capability, so that the flexibility of a networking mode among branches is improved, and the data transmission rate is further improved.
On the basis of any one of the above embodiments, a data transmission method will be described in detail by way of specific examples.
And the SDWAN controller issues the plug-in to the gateway, and installs the plug-in on corresponding equipment according to the information of the gateway, the second-level SDWAN equipment and the first-level SDWAN equipment.
The SWAN controller obtains equipment information (memory utilization rate and CPU utilization rate) of the terminal equipment (gateway or SDWAN terminal) through the plug-in, and if the memory utilization rate and the CPU utilization rate of the terminal equipment are lower than a preset threshold value, the operation state of the terminal equipment is determined to be an independent operation state. The terminal device distinguishes the first data according to the destination address of the first data to be transmitted. If the first data are intranet data, the terminal equipment can send the first data to the second-level SDWAN equipment corresponding to the terminal equipment through the VPN tunnel, and the second-level SDWAN equipment sends the first data to corresponding equipment or a cloud server; if the first data is the external network data, the terminal device can send the first data to the first-stage SDWAN device corresponding to the terminal device through the VPN tunnel, and the first-stage SDWAN device sends the first data to the corresponding device or the cloud server.
If the memory utilization rate and/or the CPU utilization rate of the terminal equipment are/is higher than a preset threshold value, determining that the operation state of the terminal equipment is an independent operation state. The terminal equipment does not distinguish the first data, the first data is directly sent to the second-level SDWAN equipment corresponding to the terminal equipment through the VxLAN tunnel, the second-level SDWAN equipment distinguishes the type of the first data according to the destination address of the first data, and if the first data is intranet data, the second-level SDWAN equipment sends the first data to corresponding equipment or a cloud server through the VPN tunnel; if the first data is the external network data, the second-level SDWAN device sends the first data to the first-level SDWAN device through the VPN tunnel, and the first-level SDWAN device sends the first data to the corresponding device or the cloud server.
In the process, the gateway is similar to the SDWAN terminal in function by issuing plug-in units; meanwhile, the terminal equipment (gateway or SDWAN terminal) can utilize its own computing capability to open VPN tunnel, so as to improve flexibility of networking mode between branches and further improve data transmission rate.
Fig. 4 is a schematic structural diagram of a data transmitting apparatus according to an embodiment of the present application. Referring to fig. 4, the data transmission apparatus 10 may include an acquisition module 11, a determination module 12, and a transmission module 13, wherein,
the obtaining module 11 is configured to obtain an operation state of a terminal device when there is first data to be sent in the terminal device, where the operation state is an independent operation state or a non-independent operation state;
the determining module 12 is configured to determine, if the operation state of the terminal device is an independent operation state, a target SDWAN device from at least two software-defined wide area network SDWAN devices according to a destination address of the first data, and send the first data to the target SDWAN device through a VPN tunnel;
the sending module 13 is configured to send the first data to a first SDWAN device through a preset tunnel if the operation state of the terminal device is a non-independent operation state.
In one possible implementation, the determining module 12 is specifically configured to:
determining the type of the first data according to the destination address of the first data, wherein the type of the first data is intranet data or extranet data;
and determining the target SDWAN device in the at least two SDWAN devices according to the type of the first data.
In one possible implementation, the determining module 12 is specifically configured to:
acquiring a device level of each of the at least two SDWAN devices, where the device level is a first level or a second level, and a service area of the first level SDWAN device includes a service area of the second level SDWAN device;
determining the target SDWAN device from the at least two SDWAN devices according to the type of the first data and the device level of each SDWAN device.
In one possible implementation, the determining module 12 is specifically configured to:
if the type of the first data is intranet data, determining a second-level SDWAN device corresponding to the terminal device in the at least two SDWAN devices as the target SDWAN device;
and if the type of the first data is external network data, determining one stage of SDWAN equipment corresponding to the terminal equipment in the at least two SDWAN equipment as the target SDWAN equipment.
In one possible implementation, the determining module 12 is specifically configured to:
acquiring a preset address set;
if the address set comprises the destination address of the first data, determining that the type of the first data is an intranet type;
and if the address set does not comprise the destination address of the first data, determining that the type of the first data is an extranet type.
In one possible implementation, the obtaining module 11 is specifically configured to:
receiving the operation state of the terminal equipment sent by an SDWAN controller;
the operation state is determined by the first SDWAN device according to device information of the terminal device, wherein the device information comprises memory utilization rate of the terminal device and CPU utilization rate of a central processing unit.
In one possible embodiment, the sending module 13 is specifically configured to:
determining the first SDWAN device, wherein the first SDWAN device is a secondary SDWAN device corresponding to the terminal device;
and sending the first data to the first SDWAN device through a preset tunnel.
The data transmitting apparatus 10 provided in the present application may execute the technical scheme shown in the foregoing data transmitting method embodiment, and its implementation principle and beneficial effects are similar, and will not be described in detail again.
Fig. 5 is a schematic structural diagram of a data sending device according to an embodiment of the present application. Referring to fig. 5, the data transmission apparatus 20 includes: a memory 21, and a processor 22. The memory 21, the processor 22, are illustratively interconnected by a bus 23.
Memory 21 stores computer-executable instructions;
the processor 22 executes computer-executable instructions stored in the memory 21, causing the processor 22 to perform the data transmission method of any one of the above.
The data transmission device shown in the embodiment of fig. 5 may implement the technical solution shown in the embodiment of the data transmission method, and its implementation principle and beneficial effects are similar, and will not be described herein again.
Embodiments of the present application also provide a computer-readable storage medium having stored therein computer-executable instructions for implementing the data transmission method of any one of the preceding claims when the computer-executable instructions are executed by a processor.
The embodiment of the application also provides a computer program product, which comprises a computer program, and the computer program can realize the data transmission method when being executed by a processor.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the present application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A data transmission method, comprising:
when first data to be sent exist in terminal equipment, acquiring an operation state of the terminal equipment, wherein the operation state is an independent operation state or a non-independent operation state;
if the operation state of the terminal equipment is an independent operation state, determining a target SDWAN device in at least two software-defined wide area network (SDWAN) devices according to the destination address of the first data, and sending the first data to the target SDWAN device through a VPN tunnel;
and if the operation state of the terminal equipment is the non-independent operation state, sending the first data to the first SDWAN equipment through a preset tunnel.
2. The method of claim 1, wherein determining a target SDWAN device from among at least two SDWAN devices based on a destination address of the first data comprises:
determining the type of the first data according to the destination address of the first data, wherein the type of the first data is intranet data or extranet data;
and determining the target SDWAN device in the at least two SDWAN devices according to the type of the first data.
3. The method of claim 2, wherein determining the target SDWAN device among the at least two SDWAN devices according to the type of the first data comprises:
acquiring a device level of each of the at least two SDWAN devices, where the device level is a first level or a second level, and a service area of the first level SDWAN device includes a service area of the second level SDWAN device;
determining the target SDWAN device from the at least two SDWAN devices according to the type of the first data and the device level of each SDWAN device.
4. The method of claim 3, wherein determining the target SDWAN device among the at least two SDWAN devices based on the type of the first data and the device level of each SDWAN device comprises:
if the type of the first data is intranet data, determining a second-level SDWAN device corresponding to the terminal device in the at least two SDWAN devices as the target SDWAN device;
and if the type of the first data is external network data, determining one stage of SDWAN equipment corresponding to the terminal equipment in the at least two SDWAN equipment as the target SDWAN equipment.
5. The method according to any of claims 2-4, wherein determining the type of the first data based on the destination address of the first data comprises:
acquiring a preset address set;
if the address set comprises the destination address of the first data, determining that the type of the first data is an intranet type;
and if the address set does not comprise the destination address of the first data, determining that the type of the first data is an extranet type.
6. The method according to any one of claims 1-4, wherein obtaining the operational state of the terminal device comprises:
receiving the operation state of the terminal equipment sent by an SDWAN controller;
the operation state is determined by the SDWAN controller according to the equipment information of the terminal equipment, wherein the equipment information comprises the memory utilization rate of the terminal equipment and the CPU utilization rate of a central processing unit.
7. The method of any of claims 1-4, wherein sending the first data to the first SDWAN device through the preset tunnel comprises:
determining the first SDWAN device, wherein the first SDWAN device is a secondary SDWAN device corresponding to the terminal device;
and sending the first data to the first SDWAN device through a preset tunnel.
8. A data transmitting device is characterized by comprising an acquisition module, a determination module and a transmitting module, wherein,
the acquisition module is used for acquiring an operation state of the terminal equipment when first data to be transmitted exist in the terminal equipment, wherein the operation state is an independent operation state or a non-independent operation state;
the determining module is configured to determine, if the operation state of the terminal device is an independent operation state, a target SDWAN device from at least two software-defined wide area network SDWAN devices according to a destination address of the first data, and send the first data to the target SDWAN device through a VPN tunnel;
and the sending module is used for sending the first data to the first SDWAN device through a preset tunnel if the operation state of the terminal device is a non-independent operation state.
9. A data transmission apparatus, characterized by comprising: a processor, a memory;
the memory stores computer-executable instructions; the processor executing computer-executable instructions stored in the memory, causing the processor to perform the data transmission method of any one of claims 1-7.
10. A computer readable storage medium having stored therein computer executable instructions for implementing the data transmission method of any of claims 1-7 when the computer executable instructions are executed by a processor.
CN202111347102.7A 2021-11-15 2021-11-15 Data transmission method, device, equipment and storage medium Active CN116132220B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111347102.7A CN116132220B (en) 2021-11-15 2021-11-15 Data transmission method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111347102.7A CN116132220B (en) 2021-11-15 2021-11-15 Data transmission method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116132220A true CN116132220A (en) 2023-05-16
CN116132220B CN116132220B (en) 2024-07-02

Family

ID=86293725

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111347102.7A Active CN116132220B (en) 2021-11-15 2021-11-15 Data transmission method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116132220B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343070A (en) * 2020-03-03 2020-06-26 深圳市吉祥腾达科技有限公司 Communication control method for sdwan network
CN111510316A (en) * 2019-01-31 2020-08-07 丛林网络公司 Method for communication in SD-WAN, SD-WAN and service provider
US20200287976A1 (en) * 2019-03-06 2020-09-10 Hewlett Packard Enterprise Development Lp Adaptive routing of branch traffic in software-defined wide area network (sdwan) deployments
US20200314022A1 (en) * 2019-03-25 2020-10-01 Cisco Technology, Inc. PREDICTIVE ROUTING USING MACHINE LEARNING IN SD-WANs
CN111786867A (en) * 2019-04-04 2020-10-16 厦门网宿有限公司 Data transmission method and server
CN111786870A (en) * 2019-04-04 2020-10-16 厦门网宿有限公司 Data transmission method and strongswan server
CN112564983A (en) * 2020-12-23 2021-03-26 网神信息技术(北京)股份有限公司 Data transmission method, device, computer system and medium
CN112640548A (en) * 2018-11-30 2021-04-09 Oppo广东移动通信有限公司 Wireless communication method and terminal device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112640548A (en) * 2018-11-30 2021-04-09 Oppo广东移动通信有限公司 Wireless communication method and terminal device
CN111510316A (en) * 2019-01-31 2020-08-07 丛林网络公司 Method for communication in SD-WAN, SD-WAN and service provider
US20200287976A1 (en) * 2019-03-06 2020-09-10 Hewlett Packard Enterprise Development Lp Adaptive routing of branch traffic in software-defined wide area network (sdwan) deployments
US20200314022A1 (en) * 2019-03-25 2020-10-01 Cisco Technology, Inc. PREDICTIVE ROUTING USING MACHINE LEARNING IN SD-WANs
CN111786867A (en) * 2019-04-04 2020-10-16 厦门网宿有限公司 Data transmission method and server
CN111786870A (en) * 2019-04-04 2020-10-16 厦门网宿有限公司 Data transmission method and strongswan server
CN111343070A (en) * 2020-03-03 2020-06-26 深圳市吉祥腾达科技有限公司 Communication control method for sdwan network
CN112564983A (en) * 2020-12-23 2021-03-26 网神信息技术(北京)股份有限公司 Data transmission method, device, computer system and medium

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
L. DUNBAR; A. MALIS;FUTUREWEI;C. JACQUENET;ORANGE;: "Gap Analysis of Dynamic Networks to Hybrid Cloud DCs draft-ietf-rtgwg-net2cloud-gap-analysis-02", IETF, 19 June 2019 (2019-06-19) *
RAKHMAT YUNIARTO: ""Performance Analysis of Multipath Deployment in Software-Defined Wide Area Network (SDWAN)"", 《2021 INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE AND COMPUTER SCIENCE TECHNOLOGY (ICAICST)》, 30 July 2021 (2021-07-30) *
屠寅灿: "" 自研SDWAN在全球业务场景中的设计与实现"", 《电子测试 》, 28 February 2021 (2021-02-28) *
柴瑶琳;穆博;马军锋;: "SD-WAN关键技术", 中兴通讯技术, no. 02, 28 March 2019 (2019-03-28) *

Also Published As

Publication number Publication date
CN116132220B (en) 2024-07-02

Similar Documents

Publication Publication Date Title
CN104243210A (en) Method and system for remotely having access to administrative web pages of routers
CN111830844B (en) Intelligent equipment control method and device and intelligent home control panel
CN114244906B (en) Data traffic distribution method, device, equipment and medium
CN110311861B (en) Method and device for guiding data flow
CN108600018A (en) A kind of discovery method, apparatus, train apparatus and the storage medium of train topology
WO2024109326A1 (en) Network relay method, system, computer device, and readable storage medium
CN115914164A (en) Tunnel connection method and device, electronic equipment and storage medium
CN116132220B (en) Data transmission method, device, equipment and storage medium
CN113765801B (en) Message processing method and device applied to data center, electronic equipment and medium
CN112714146B (en) Resource scheduling method, device, equipment and computer readable storage medium
CN114286420B (en) PON technology-based gateway locking method, device, server and medium
CN115225634B (en) Data forwarding method, device and computer program product under virtual network
CN115242597A (en) Information processing method, device and storage medium
CN115242754B (en) Information return method, request response method, message sending method and device
CN114338525B (en) Automatic route aggregation method and device, electronic equipment and storage medium
CN116582487B (en) Data distribution transmission method and device, electronic equipment and storage medium
CN114697774B (en) Port management method and device, computer readable storage medium and electronic equipment
CN116346256A (en) Control method, device, equipment and medium for transferring and separating BFD information transmission
CN117119554A (en) Configuration method and device of relay user equipment, electronic equipment and storage medium
CN115766557A (en) Routing system, table item generation method of session maintenance table and related device
CN118075228A (en) Communication method, device, equipment and medium of virtual machine
CN118265101A (en) Network distribution method, system, electronic equipment and storage medium
CN118118413A (en) Network data aggregation method, system, device, electronic equipment and storage medium
CN116684056A (en) Terminal access adjustment method based on independent networking shared base station and related equipment
CN117395101A (en) Cross-data center communication method, system, device, equipment and medium

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
GR01 Patent grant