A data transmission method, device, apparatus, and storage medium

By deploying multiple switching devices in the SDN network, determining the data transmission path, and monitoring and controlling the data transmission process, the problem of difficult expansion of financial data center networks was solved, and efficient and flexible data transmission was achieved.

CN119676157BActive Publication Date: 2025-12-09INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411941358.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-26
Publication Date
2025-12-09
Estimated Expiration
2044-12-26

AI Technical Summary

Technical Problem

When the scale of application of existing financial data center networks reaches a certain stage, the architecture becomes difficult to expand and maintain, the network structure becomes complex, resulting in increased maintenance costs, low data transmission efficiency, and insufficient flexibility.

Method used

In Software-Defined Networking (SDN), multiple network devices are deployed, each containing a switch. The data to be transmitted is obtained through the switch of the starting network device, the address information of the target network device is determined, the data transmission path is determined based on the address information of the tenant and the address information of the target device, and the data is transmitted to the target device. The controller monitors and regulates the data transmission process.

Benefits of technology

It improves the efficiency and flexibility of data transmission, ensures fast and accurate data transmission across different network devices, reduces network redundancy, and enhances network stability and load balancing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119676157B_ABST
    Figure CN119676157B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a data transmission method and device, equipment and storage medium, relating to the field of financial technology or other related fields. The method is applied to a starting network device in a software defined network (SDN) network, and includes: in response to a data transmission instruction issued by a first tenant in the starting network device, obtaining, by a switch in the starting network device, to-be-transmitted data from a preset terminal device; determining address information of a preset target network device, and determining a data transmission path according to the address information of the first tenant in the starting network device and the address information of the preset target network device; the preset target network device is a network device in the SDN network other than the starting network device; and transmitting the to-be-transmitted data to the target network device according to the data transmission path. The method of the present application makes the data center network more simple, saves maintenance costs, and improves the efficiency and flexibility of data transmission.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of financial technology or other related fields, in particular to a data transmission method and device, equipment and storage medium. BACKGROUND

[0002] With the continuous development of new technologies such as mobile Internet, cloud computing, big data and blockchain, human lifestyle and business behavior are gradually changing. The application of these new technologies has given birth to new network transmission models and put forward new technical requirements for the deployment of data center networks.

[0003] For the existing financial data center network, the concept of "vertical layering and horizontal partitioning" is followed. When the application scale develops to a certain stage, problems such as architecture expansion difficulty and maintenance difficulty will occur, thereby increasing the maintenance cost and reducing the efficiency of data transmission.

[0004] Therefore, how to simplify the financial data center network and improve the efficiency and flexibility of the financial data center network in data transmission is a problem to be solved at present. SUMMARY

[0005] The present application provides a data transmission method, device, equipment and storage medium to improve the efficiency and flexibility of data transmission.

[0006] In a first aspect, the present application provides a data transmission method, which is applied to a starting network device in a software defined network (SDN) network. The SDN network is deployed with a plurality of network devices, each of which is deployed with a switch for data transmission. Each network device corresponds to at least one tenant. The starting network device is a network device in the SDN network that obtains data to be transmitted. The method comprises:

[0007] In response to a data transmission instruction issued by a first tenant in the starting network device, obtaining data to be transmitted from a preset terminal device through a switch in the starting network device, wherein the preset terminal device represents a device outside the SDN network;

[0008] Determine the address information of the preset target network device, and determine the data transmission path according to the address information of the first tenant in the starting network device and the address information of the preset target network device; wherein the preset target network device is a network device in the SDN network except the starting network device;

[0009] According to the data transmission path, the data to be transmitted is transmitted to the target network device.

[0010] In a second aspect, the present application provides a data transmission device, which comprises:

[0011] a response module, configured to acquire, in response to a data transmission instruction issued by a first tenant in the starting network device, data to be transmitted from a preset terminal device through a switch in the starting network device; wherein the preset terminal device represents a device outside the SDN network;

[0012] a first determination module, configured to determine address information of a preset target network device, and determine a data transmission path according to address information of the first tenant in the starting network device and the address information of the preset target network device; wherein the preset target network device is a network device in the SDN network other than the starting network device;

[0013] a transmission module, configured to transmit the data to be transmitted to the target network device according to the data transmission path.

[0014] In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory connected with the processor in communication;

[0015] the memory stores computer execution instructions;

[0016] the processor executes the computer execution instructions stored in the memory to implement the method of the first aspect.

[0017] In a fourth aspect, the present application provides a computer readable storage medium, wherein the computer readable storage medium stores computer execution instructions, and the computer execution instructions are executed by a processor to implement the method of the first aspect.

[0018] In a fifth aspect, the present application provides a computer program product, comprising a computer program, wherein the computer program is executed by a processor to implement the method of the first aspect.

[0019] The application provides a data transmission method, device, equipment and storage medium. A plurality of network devices are deployed in an SDN network, a switch is deployed in each network device, the switch is used for data transmission, and each network device corresponds to at least one tenant. In response to a data transmission instruction issued by a first tenant in a starting network device, the switch in the starting network device is used to obtain to-be-transmitted data from a preset terminal device, address information of a preset target network device is determined, a data transmission path is determined according to the address information of the first tenant in the starting network device and the address information of the preset target network device, and finally, the to-be-transmitted data is transmitted to the target network device according to the determined data transmission path. In the method, the optimal data transmission path is determined according to the address information of the first tenant in the starting network device and the address information of the preset target network device, so that the data can be quickly transmitted in different network devices, and the efficiency and flexibility of data transmission are improved. BRIEF DESCRIPTION OF DRAWINGS

[0020] The accompanying drawings, which are incorporated herein and form part of the specification, illustrate embodiments consistent with the present application and, together with the description, further serve to explain the principles of the application.

[0021] Figure 1 A financial data center cross-heterogeneous SDN Fabric networking model architecture diagram of a data transmission method provided by the application;

[0022] Figure 2 An RI controller control plane diagram of a data transmission method provided by the application;

[0023] Figure 3 A firewall device access plane diagram of a data transmission method provided by the application;

[0024] Figure 4 A flowchart of a data transmission method provided by the application;

[0025] Figure 5 A flowchart of a data transmission method provided by the application;

[0026] Figure 6 A flowchart of a data transmission method provided by the application;

[0027] Figure 7 A structural block diagram of a data transmission device provided by an embodiment of the application;

[0028] Figure 8 A structural block diagram of a data transmission device provided by an embodiment of the application;

[0029] Figure 9A structural schematic diagram of a data transmission device provided in the present application is shown.

[0030] The specific embodiments of the present application have been shown in the above-described drawings, and will be described in more detail hereinafter. These drawings and the written description are not intended to restrict the scope of the present application concept in any way, but to illustrate the present application concept to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0031] The exemplary embodiments will be described in detail herein with reference to the attached drawings. In the following description, the same numbers are used to indicate the same or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not meant to represent all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the appended claims.

[0032] It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of related data comply with relevant laws, regulations and standards of relevant countries and regions, necessary security measures are taken, public order and good customs are not violated, and appropriate operation portals are provided for users to choose authorization or refusal.

[0033] And the present application involves big data analysis of user information (including but not limited to personal biological characteristics, identity data, consumption data, asset data, electronic terminal operation data, etc.), and uses artificial intelligence technology for automatic decision-making, and provides appropriate operation portals for users to choose to agree or refuse the automatic decision-making result based on the automatic decision-making result to make a decision that has a significant impact on personal rights and interests; if the user chooses to refuse, the expert decision-making process is entered.

[0034] It should be noted that the data transmission method, device, equipment and storage medium provided by the present application can be used in the field of financial technology, and can also be used in any field other than the field of financial technology. The application field of the data transmission method, device, equipment and storage medium in the present application is not limited.

[0035] First, the terms involved in the present application are explained:

[0036] Software Defined Network (SDN) is the inevitable product of the high-level stage of the development of enterprise-level data center network IT technology, which helps to promote the transformation of financial IT to high-efficiency service, thereby improving the innovation ability of financial institutions and solving the application requirements of high-agility, high-elasticity, high-manageability, high-availability and high-performance of future financial data center network.

[0037] Fabric: In data center networks, Fabric refers to a network architecture or design pattern, usually referring to a flattened network architecture in which all nodes (such as servers, storage devices and network devices) are interconnected through a unified switching structure. This architecture can eliminate the bottlenecks in traditional hierarchical networks, providing higher bandwidth and lower latency.

[0038] With the continuous development of new technologies such as mobile Internet, cloud computing, big data and blockchain, human lifestyle and business behavior are gradually changing. The application of these new technologies has given birth to new network transmission models and put forward new technical requirements for the deployment of data center networks.

[0039] The financial data center network has gone through two main stages so far: the first stage: from nothing to something, the architecture of the network changes with the development of the application system. In this stage, the network architecture of each financial institution is different, and there is no unified model. In order to meet the requirements of application layering and security, the concept of "vertical layering and horizontal partitioning" is followed. The second stage: self-optimization, under the inheritance of the security area protection mechanism, the "bus type, modularization" architecture is widely used. In this stage, the application has reached a considerable scale, and through multi-dimensional analysis of network demand and technical trends, the network construction requirements are refined, and the design architecture is finally determined, which greatly optimizes the network, improves the network scale and expansion capability, and makes the operation and maintenance boundary clearer and the fault elimination means more perfect.

[0040] The financial data center that follows the concept of "vertical layering and horizontal partitioning" has difficulty in expanding the architecture and maintaining the network structure when the application scale develops to a certain stage, which increases the maintenance cost. Although the "bus type, modularization" architecture can effectively cope with the service requirements of traditional business models and capacity scale, it still does not support the efficiency and flexibility of data transmission in the new cloud environment.

[0041] The data transmission method provided in the present application relates to the field of financial technology or other related fields, and particularly relates to a data transmission method, device, equipment and storage medium, aiming to solve the above technical problems of the prior art.

[0042] The technical solutions of the present application and how the technical solutions of the present application solve the above technical problems will be described in detail below with specific examples. The following specific examples can be combined with each other, and the same or similar concepts or processes can not be described again in some examples. The embodiments of the present application will be described below with reference to the drawings.

[0043] Figure 1 The financial data center of the data transmission method provided by the present application is a heterogeneous SDN Fabric networking model architecture diagram, which is shown in Figure 1 It can be seen that the model includes two network devices, Fabric1 and Fabric2, both of which are connected to the data center core switch. The network device includes multiple Leaf switches, multiple Spine switches, a Border leaf switch and a controller. The Leaf switch can connect external devices to obtain the data to be transmitted. Different Leaf switches have different functions, such as obtaining data for calculation, network function related data and other different data according to different functions. Different Leaf switches interact through Spine switches. The Border leaf switch is used to receive data transmitted by the Spine switch, and then transmit the data to the designated target network device through the data center core switch. During the data transmission process, the controller is used to monitor the data transmission process and to overall control the balance of the data in the network device.

[0044] Figure 2 The RI controller control plane of the data transmission method provided by the present application is shown in Figure 2 The RI controller includes an SDN adaptation module, a timing module and a core switch configuration module. The SDN adaptation module is used to connect the controllers of multiple SDN Fabrics through an application programming interface (English: Application Program Interface, API) and obtain information in multiple SDN Fabric devices through the interface. The timing module is used to set a time period and clean up invalid virtual routing tables in the device according to the time period. The core switch configuration module is used to connect the RI controller with the data center core switch and manage the physical layer device through the netconf protocol.

[0045] Figure 3 The firewall device access plane of the data transmission method provided by the present application is shown in Figure 3As shown, the firewall FW is located between the Border leaf switch and the data center core switch, and is used to filter the data to be transmitted. In addition, a direct line is provided between the firewall FW and the Border leaf switch. When the firewall fails, the data can be transmitted through the direct line after the route is changed, so that the stability of the service is ensured.

[0046] Figure 4 A flowchart of a data transmission method provided in the present application is shown in FIG. 1. Figure 4 The method comprises the following steps.

[0047] S401, in response to a data transmission instruction issued by a first tenant in a starting network device, obtaining, by a switch in the starting network device, data to be transmitted from a preset terminal device; wherein the preset terminal device represents a device outside the SDN network.

[0048] Exemplarily, the preset terminal device represents a device outside the SDN network, and the preset terminal device can be various, including a computer, a mobile phone, a sensor, etc. The starting network device is a network device in the SDN network for obtaining data to be transmitted. The starting network device, i.e. the Fabric device, can include multiple switches and multiple tenant information. The switches include leaf switches, spine switches, Border leaf switches, etc. Different leaf switches can be configured to process different types of data or provide different services. For example, one leaf switch can focus on processing data related to computing resources, and another can focus on processing data related to network functions. The leaf switch can directly obtain data to be transmitted from the preset terminal device. For example, when the first tenant sends a data transmission instruction, the instruction indicates that the first tenant wants to start transmitting data, and instructs the switch in the starting network device to obtain data in the preset terminal device. The starting network device responds to the data transmission instruction issued by the first tenant, and directly obtains data to be transmitted from the preset terminal device by using the leaf switch in the starting network device. The data to be transmitted can be computing data, image data, network data, etc. Different data can be obtained by using leaf switches with different functions.

[0049] The beneficial effect of such an arrangement is that the leaf switch in the starting network device directly obtains data to be transmitted, which facilitates improving the efficiency of data transmission.

[0050] S402, determine address information of the preset target network device, determine the data transmission path according to the address information of the first tenant in the starting network device and the address information of the preset target network device; wherein the preset target network device is a network device in the SDN network except the starting network device.

[0051] Exemplarily, the preset target network device is a network device in the SDN network except the starting network device, and the target network device can be multiple, and the starting network device and the target network device can both contain multiple tenant information, wherein the tenant information can be different in different network devices, and the tenant information can include address information of the tenant, identification information of the tenant, etc., and the identification information of the tenant is a unique mark of the tenant. For example, when the switch in the starting network device obtains the data to be transmitted, first determine the address information of the first tenant in the starting network device and the address information of the corresponding target tenant in the target network device, wherein the target tenant refers to the tenant in the target network device receiving the data to be transmitted. When transmitting data from the starting network device to the target network device, first determine the corresponding virtual routing table in the starting network device according to the identification information of the first tenant, and obtain the address information of the target device and the identification information of the target tenant in the virtual routing table, wherein the virtual routing table is used to store the address information of the tenant, the identification information of the tenant, and multiple data transmission paths formed according to the address information of the tenant in the starting network device and the address information of the target network device, wherein the address information of the target network device contains the address information of the target tenant, and each tenant can correspond to a virtual routing table. When the data is transmitted to the target device, since there can be multiple tenants in the target network device, and the same tenant can use the same address, the corresponding virtual routing table in the target network device can be found according to the identification information of the target tenant, and the corresponding tenant of the target tenant, i.e. the target tenant, can be found from the virtual routing table according to the identification information of the target tenant, and finally the data is transmitted to the target tenant.

[0052] The address information of the first tenant in the starting network device and the address information of the target network device can be obtained in a virtual routing table corresponding to the first tenant in the starting network device, the virtual routing table containing the address information of the first tenant in the starting network device, the address information of the target network device, the identification information of the target tenant, and a plurality of data transmission paths formed according to the address information of the first tenant in the starting network device and the address information of the target network device. If the first tenant replaces a new network device as the starting network device, the first tenant is a new tenant for the new starting network device, and a new virtual routing table is created in the starting network device, and the address information of the tenant, the address information of the target tenant corresponding to the data transmission of the tenant, and the identification information of the target tenant are stored in the created virtual routing table. The controller of the starting network device is used as the master controller, and the master controller of the starting network device can connect the controllers of the network devices through an API interface. If the target tenant in the target network device is a new tenant, there are two cases for the new tenant, that is, the address information of the tenant does not exist in the virtual routing table of the first tenant or the tenant is a newly registered tenant in the target network device. If the first case, the address information and the identification information of the target tenant can be obtained through the API interface, and the address information of the first tenant in the starting network device, the address information of the target tenant, and the identification information of the target tenant are stored in the virtual routing table corresponding to the first tenant. If the second case, after obtaining the address information and the identification information of the target tenant and storing them in the virtual routing table corresponding to the first tenant, a virtual routing table of the target tenant is created in the target network device according to the identification information of the target tenant. There can be multiple tenants in the target network device, and the target tenant can be a second tenant or a third tenant. The newly created routing table is formed when the tenant registers in the new network device. The path of data transmission refers to the sequence of network devices and links through which data is transmitted from the starting network device to the target network device, for example, data transmission from device 1 to device 3 can be directly from device 1 to device 3, and when considering link failure or data overload between devices, the best path can be from device 1 to device 2 and then to device 3. The controller can calculate and select the best path based on a preset dynamic routing protocol (such as OSPF protocol, EIGRP protocol, BGP protocol, etc.), and finally determine the best data transmission path, wherein the controller has a global view of the entire network for monitoring and regulating the data transmission process.

[0053] The beneficial effect of such arrangement is that the transmission path of data is determined according to the address information of the target network device and the address information of the starting network device, which facilitates accurate and rapid data transmission and improves the efficiency of data transmission.

[0054] In the embodiment, the address information of the preset target network device is determined, including: if the identification information of the second tenant of the preset target network device is not included in the data transmission instruction, obtaining the address information of the preset target network device from the virtual routing table corresponding to the first tenant of the starting network device.

[0055] Exemplarily, the identification information is a unique mark of a tenant, and the starting network device can contain multiple tenant information, each tenant corresponding to a virtual routing table. The virtual routing table in the starting network device can store the address information of the tenant in the starting network device, the address information of the target network device, and the identification information of the second tenant in the target network device. The second tenant refers to the tenant receiving data in the target network device. If the identification information of the second tenant of the preset target network device is not included in the data transmission instruction, it indicates that the first tenant in the starting network device has transmitted data to the second tenant in the target network device, so the virtual routing table corresponding to the first tenant is already contained in the virtual routing table of the starting network device, and the virtual routing table already contains the address information of the first tenant in the starting network device, the address information of the target network device, and the identification information of the second tenant, wherein the address information of the target network device contains the address information of the second tenant. For example, in response to the data transmission instruction of the first tenant, the starting network device obtains the data to be transmitted in the preset terminal device. Since the virtual routing table corresponding to the first tenant, the first tenant address information in the virtual routing table, the address information of the target network device, and the identification information of the second tenant already exist in the virtual routing table corresponding to the first tenant in the starting network device, if the identification information of the second tenant is not included in the instruction, the virtual routing table corresponding to the first tenant is directly determined according to the identification information of the first tenant, and the address information of the preset target network device and the identification information of the second tenant in the target network device can be obtained in the virtual routing table corresponding to the first tenant.

[0056] The beneficial effect of such setting is that the address information is directly obtained in the virtual routing table, which facilitates improving the efficiency of data transmission.

[0057] S403, transmitting the data to be transmitted to the target network device according to the data transmission path.

[0058] Exemplarily, the virtual routing table stores a transmission path of the to-be-transmitted data, and the data transmission path can be multiple. For example, data is transmitted from device 1 to device 2, and the data can be directly transmitted from device 1 to device 2, but when the path fails, the data can be transmitted from device 1 to device 3 and then to device 2, so as to ensure the stability of data transmission. For example, the virtual routing table can form multiple data transmission paths according to address information of the first tenant in the starting network device and address information of the target network device, wherein the address information of the target network device includes address information of the second tenant in the target network device. The controller can determine the best data transmission path in the virtual routing table according to a preset routing protocol and a load balancing strategy, wherein the load balancing refers to keeping the data amount in the network device or in each transmission path balanced to avoid overload. After the data is transmitted to the target network device, the virtual routing table corresponding to the second tenant is found in the target network device according to the identification information of the second tenant, because the tenants in the target network device can be multiple, the target tenant corresponding to the second tenant can be found according to the identification information of the second tenant in the virtual routing table, and finally the data is transmitted to the target tenant. The controller has a global view of the entire network, and can calculate the data amount in each network device for monitoring and regulating the data transmission process. Based on the best transmission path, the to-be-transmitted data is transmitted to the target tenant, i.e., the second tenant, in the target network device. The target network device can also include multiple tenant information.

[0059] The beneficial effect of such a setting is that data is transmitted based on the best data transmission path, which facilitates improving the efficiency of data transmission.

[0060] The present application provides a data transmission method, device, equipment and storage medium, a plurality of network devices are deployed in an SDN network, a switch is deployed in each network device, the switch is used for data transmission, and each network device corresponds to at least one tenant. In response to a data transmission instruction issued by a first tenant in a starting network device, the to-be-transmitted data is obtained from a preset terminal device through the switch in the starting network device, the address information of a preset target network device is determined, the data transmission path is determined according to the address information of the first tenant in the starting network device and the address information of the preset target network device, and finally the to-be-transmitted data is transmitted to the target network device according to the determined data transmission path. In the method, the best data transmission path is determined according to the address information of the first tenant in the starting network device and the address information of the preset target network device, so that the data can be quickly transmitted in different network devices, and the efficiency and flexibility of data transmission are improved.

[0061] Figure 5 A flowchart of a data transmission method provided by the present application is shown inFigure 5 The method comprises the following steps of:

[0062] S501, in response to the data transmission instruction issued by the first tenant in the starting network device, obtaining the to-be-transmitted data from the preset terminal device through the switch in the starting network device; wherein the preset terminal device represents the device outside the SDN network.

[0063] Exemplarily, this step can refer to the above step S401, and will not be described here.

[0064] S502, if the data transmission instruction includes the identification information of the second tenant of the preset target network device, obtaining the address information of the second tenant of the preset target network device through the controller in the starting network device, and storing the address information of the second tenant of the preset target network device into the virtual routing table corresponding to the first tenant of the starting network device, determining the data transmission path according to the address information of the first tenant in the starting network device and the address information of the preset target network device; wherein the preset target network device is the network device in the SDN network except the starting network device.

[0065] Exemplarily, the preset target network device is a network device in the SDN network except the starting network device. The identification information of the tenant represents a unique mark of the tenant. The virtual routing table in the starting network device can be used to store address information of a first tenant in the starting network device, address information of the target network device, identification information of a second tenant, and a plurality of data transmission paths formed according to the first tenant address information and the target network device address information. For example, when the to-be-transmitted data is acquired, if the second tenant identification information of the preset target network device is included in the data transmission instruction, it indicates that the second tenant is a new tenant, and the starting network device does not have tenant information corresponding to the second tenant at this time. Then, based on the RI controller in the starting network device and the second tenant identification information, the address information of the second tenant in the target network device is acquired through an API interface, where the RI controller is a master controller, which can be connected to controllers of a plurality of network devices through the API interface, so as to acquire address information of each network device and tenant information of each tenant in each network device. The address information of the second tenant is stored in the virtual routing table corresponding to the first tenant. Each network device includes a controller, the RI controller in the starting network device is a master controller, and is used to control network devices except the starting network device. In addition, when a new tenant appears in the starting network device, a new virtual routing table is created in the starting network device according to the identification information of the tenant, and the address information of the new tenant acquired through the controller and target tenant address information in the target network device corresponding to the new tenant address information in the starting network device are stored in the newly created virtual routing table. The newly created routing table is formed when the tenant registers in the new network device, and the target tenant refers to a tenant receiving data in the target network device.

[0066] The beneficial effect of such a setting is that the address information of the second tenant is acquired through the controller, and the flexibility of data transmission is improved.

[0067] S503, according to the data transmission path, transmitting the to-be-transmitted data to the target network device.

[0068] Exemplarily, this step can refer to step S403 described above, and will not be described here.

[0069] The application provides a data transmission method, device, equipment and storage medium. A plurality of network devices are deployed in an SDN network, a switch is deployed in each network device, the switch is used for data transmission, and each network device corresponds to at least one tenant. In response to a data transmission instruction issued by a first tenant in a starting network device, the switch in the starting network device is used to obtain to-be-transmitted data from a preset terminal device, address information of a preset target network device is determined, a data transmission path is determined according to the address information of the first tenant in the starting network device and the address information of the preset target network device, and finally, the to-be-transmitted data is transmitted to the target network device according to the determined data transmission path. In the method, the optimal data transmission path is determined according to the address information of the first tenant in the starting network device and the address information of the preset target network device, so that the data can be quickly transmitted in different network devices, and the efficiency and flexibility of data transmission are improved.

[0070] Figure 6 A flowchart of a data transmission method provided by the application is shown in FIG. Figure 6 The method comprises the following steps.

[0071] S601, in response to a data transmission instruction issued by a first tenant in a starting network device, to-be-transmitted data is obtained from a preset terminal device through a switch in the starting network device; wherein the preset terminal device represents a device outside the SDN network.

[0072] Exemplarily, the step can be understood with reference to the above step S501, and details are not repeated.

[0073] S602, identification information of the first tenant in the starting network device is determined, address information corresponding to the identification information of the first tenant is determined, the address information of the first tenant is determined, and a data transmission path is determined according to the address information of the first tenant in the starting network device and the address information of the preset target network device.

[0074] Exemplarily, the identification information of the first tenant is used to represent a unique mark of the first tenant. The tenant can refer to an individual or a group using the same network infrastructure. The starting network device can contain multiple tenant information, and each tenant corresponds to a virtual routing table. The virtual routing table is used to store the first tenant address information in the starting network device, the address information of the target network device, and the identification information of the target tenant, and multiple data transmission paths formed according to the first tenant address information and the address information of the target network device, wherein the address information of the target network device contains the address information of the target tenant, and the target tenant refers to the tenant receiving data in the target network device. When the data to be transmitted is obtained, if the address information of the first tenant in the starting network device and the address information of the target tenant in the target network device already exist in the virtual routing table of the starting network device, the identification information of the first tenant in the starting network device is first determined, and according to the identification information of the first tenant, the virtual routing table corresponding to the tenant is found. The address information of the first tenant, the address information of the target tenant in the target network device, and the identification information of the target tenant can be obtained from the virtual routing table corresponding to the tenant, and the address information corresponding to the identification information of the first tenant is determined as the address information of the first tenant. Based on the preset routing protocol and load balancing strategy, the controller can determine the best data transmission path according to the address information of the first tenant and the address information of the target tenant in the target network device, wherein the controller is used to monitor and control the whole data transmission process.

[0075] The beneficial effect of such arrangement is that the address information of the tenant is determined according to the identification of the tenant, which facilitates to improve the accuracy of data transmission.

[0076] In the embodiment, determining the address information corresponding to the identification information of the first tenant as the address information of the first tenant includes: determining the virtual routing table corresponding to the identification information of the first tenant according to the preset association relationship; wherein the preset association relationship represents the association relationship between the identification information and the virtual routing table; and obtaining the address information of the first tenant from the virtual routing table.

[0077] Exemplarily, the preset association relationship represents an association relationship between the identification information and the virtual routing table, the identification information of the first tenant represents a unique mark of the first tenant, and the starting network device can contain multiple tenant information, and each tenant corresponds to a virtual routing table. For example, after obtaining the to-be-transmitted data, first, the address information of the first tenant in the starting network device, the address information of the second tenant in the target network device, and the identification information of the second tenant are obtained. The virtual routing table corresponding to the first tenant in the starting network device is determined according to the identification information of the first tenant, and the address information of the first tenant and the address information of the second tenant and the identification information of the second tenant can be obtained from the virtual routing table. The virtual routing table in the starting network device stores the address information of the first tenant and the address information of the second tenant and multiple data transmission paths formed according to the address information of the first tenant and the address information of the second tenant. The tenant can be an individual or a group sharing a network infrastructure, and the virtual routing table can be provided with a three-layer sub-interface of a VLAN ID or a VLAN interface to distinguish different individuals under the same tenant. When the data is transmitted to the target network device, the target network device can have multiple tenant information, and the virtual routing table corresponding to the second tenant can be found according to the identification information of the second tenant, and the second tenant is determined according to the identification information in the virtual routing table, and finally the data is transmitted to the second tenant.

[0078] The beneficial effect of such a setting is that the corresponding virtual routing table is determined according to the identification information of the tenant, and the address information of the tenant is obtained, so as to facilitate improving the accuracy and efficiency of data transmission.

[0079] S603, transmitting the to-be-transmitted data to the target network device according to the data transmission path.

[0080] Exemplarily, this step can refer to step S503 described above, and will not be described here.

[0081] In this embodiment, a controller is deployed in each network device; further comprising: determining, by the controller in the starting network device, a creation time of the virtual routing table in the starting network device; determining a current time, and if a time difference between the creation time and the current time exceeds a preset time difference threshold, deleting the virtual routing table corresponding to the creation time.

[0082] Exemplarily, a plurality of network devices are deployed in the SDN network, and each network device contains a controller. The controller in the starting network device is taken as a master controller, i.e., an RI controller. For example, the RI controller can calculate the creation time of the virtual routing table in the starting network device according to a preset time period, and determine the current time. If the time difference between the current time and the creation time of the virtual routing table in the starting network exceeds a preset time difference threshold, it indicates that the virtual routing table in the starting network is an invalid virtual routing table. The virtual routing table corresponding to the creation time is deleted from the starting network device. Meanwhile, the RI controller connects the controllers of the plurality of network devices through an API interface, and deletes the information associated with the invalid virtual routing table in each network device through the API interface. For example, the preset time period is 7 days, and the preset time difference threshold is 30 days. The RI controller calculates the creation time of the virtual routing table in the starting network device every 7 days, and determines the current time. If the time difference between the current time and the creation time of the virtual routing table exceeds 30 days, the virtual routing table is determined as an expired virtual routing table, and the virtual routing table is deleted. Meanwhile, the information associated with the information in the virtual routing table in each network device is also deleted, so as to ensure the effectiveness of the routing information in the virtual routing table and the efficient operation of the network.

[0083] The beneficial effect of such a setting is that the invalid virtual routing table is cleared according to the preset time difference threshold, which facilitates smoother network, reduces data redundancy, and improves data transmission efficiency.

[0084] In the embodiment, the method further includes: obtaining a preset address range and an address of the to-be-transmitted data; wherein the preset address range represents address information allowed to be transmitted; and if the address information of the preset target network device is within the preset address range, the to-be-transmitted data is transmitted into the target network device according to a data transmission path.

[0085] Exemplarily, the preset address range table represents address information allowed to be transmitted, the SDN network further comprises a firewall, the firewall can filter the data to be transmitted according to the preset filtering rule thereof, and the firewall is arranged between the Border Leaf switch and the data center core switch. The address information of the target network device comprises address information of a tenant. For example, after the data to be transmitted is acquired, the data is filtered by the firewall before being forwarded by the Border Leaf switch to the data center core switch. First, the preset address range of the firewall and the address of the data to be transmitted are acquired, wherein the address of the data to be transmitted is the address information of the target network device. If the address information of the target network device is within the preset address range of the firewall, it indicates that the data to be transmitted can pass through the firewall, and then the data to be transmitted is transmitted into the data center core switch and finally into the target network device. If the address of the data to be transmitted is not within the preset address range of the firewall, it indicates that the data to be transmitted cannot pass through the firewall, and then the data is not forwarded. In addition, a direct line is further arranged between the Border Leaf switch and the data center core switch, when the firewall fails, without entering the machine room, based on the preset routing protocol, the firewall-free mode can be automatically switched, the data to be transmitted can directly pass through the direct line from the Border Leaf switch to the data center core switch, and then to the target network device, thereby ensuring the stability of the service.

[0086] The beneficial effect of such an arrangement is that the data to be transmitted is transmitted according to the filtering rule of the firewall, which facilitates the screening of the data and improves the accuracy and stability of data transmission.

[0087] In the embodiment, the controller is arranged in each network device, the controller in the starting network device is a master controller among the controllers in all network devices; further comprising: determining the current stored data amount of each network device through the master controller, determining a first network device and a second network device; wherein the data amount of the first network device is greater than a preset quantity threshold, and the data amount of the second network device is less than the preset quantity threshold; determining the difference between the data amount in the first network device and the preset quantity threshold as an adjusted quantity; and transferring the data of the adjusted quantity from the first network device to the second network device.

[0088] Exemplarily, the SDN network comprises a plurality of network devices, each of which comprises a controller, and a controller in a starting network device is set as a master controller, i.e., an RI controller. The RI controller is preset with a quantity threshold value, wherein a data quantity of a first network device is greater than the preset quantity threshold value, and a data quantity of a second network device is less than the preset quantity threshold value. For example, the master controller can calculate a current data quantity in each network device, and determine the first network device and the second network device. A difference between the data quantity in the first network device and the preset quantity threshold value is calculated, and a difference value obtained is determined as an adjustment quantity, and the data of the adjustment quantity is transferred from the first network device to the second network device. If there are a plurality of network devices with data quantities less than the preset quantity threshold value, i.e., there are a plurality of second network devices, the second network devices are sorted according to the difference values of the differences between the data quantities in the second network devices and the preset quantity threshold value, and the data of the adjustment quantity is preferentially transferred to the network device with a larger difference value, i.e., the network device with the least data quantity.

[0089] The beneficial effect of such setting is that the data in the network devices is adjusted according to the calculated data quantities of the network devices, so as to maintain the load balance of the network and improve the efficiency of data transmission.

[0090] In this embodiment, the data of the adjustment quantity is transferred from the first network device to the second network device, comprising: determining a receiving device from each second network device according to a current stored data quantity in each second network device; and transferring the data of the adjustment quantity from the first network device to the receiving device.

[0091] Exemplarily, the data quantity of the first network device is greater than the preset quantity threshold value, and the data quantity of the second network device is less than the preset quantity threshold value. The controller in the starting network device is set as the master controller. For example, the master controller in the starting network device can calculate the data quantities in the network devices, determine the network device with a data quantity greater than the preset quantity threshold value as the first network device, and determine the network device with a data quantity less than the preset quantity threshold value as the second network device. A difference between the calculated data quantity of the first network device and the preset quantity threshold value is calculated to obtain an adjustment quantity. The data quantities in the second network devices are respectively subtracted from the preset quantity threshold value to obtain a plurality of data quantity difference values of the second network devices, the data quantity difference values of the second network devices are sorted to determine a maximum data quantity difference value of the second network device, i.e., the current data quantity in the second network device corresponding to the data quantity difference value is the least, the second network device corresponding to the data quantity difference value is determined as the receiving device, and finally, the data of the adjustment quantity is transferred to the receiving device.

[0092] The beneficial effect of such an arrangement is that the data is forwarded according to the data volume of different network devices, so as to maintain the load balancing of the network devices and improve the efficiency and flexibility of data transmission.

[0093] In the embodiment, each network device includes a plurality of first switches, a plurality of second switches, and a third switch. The first switch is configured to obtain the to-be-transmitted data from the preset terminal device and send the to-be-transmitted data to the second switch. The second switch is configured to send the received to-be-transmitted data to the third switch. The third switch is configured to send the received to-be-transmitted data to the target network device. The to-be-transmitted data is obtained from the preset terminal device through the switch in the starting network device, including: the to-be-transmitted data is obtained from the preset terminal device through the first switch in the starting network device, and the to-be-transmitted data is forwarded to the second switch. The to-be-transmitted data is forwarded to the third switch through the second switch.

[0094] Exemplarily, the preset terminal device can be a computer, a mobile phone, a sensor, or the like. The network architecture adopted in the starting network device is a leaf-spine architecture, which includes a plurality of first switches, a plurality of second switches, and a third switch. The first switch is a leaf switch, which can directly obtain the to-be-transmitted data in the terminal device. There can be a plurality of leaf switches, and different leaf switches can have different functions. For example, there can be a leaf switch responsible for obtaining data in a network element service device, and there can also be a leaf switch responsible for obtaining data in a computing service device. Different leaf switches cannot directly communicate with each other, but communicate with each other through a spine switch. The second switch is a spine switch, which is configured to receive the to-be-transmitted data obtained by the leaf switch and forward the data to the third switch. In addition, by increasing more leaf switches and spine switches, the capacity of the network can be easily expanded to support more servers and devices without significantly affecting the performance of the network. Moreover, the path length between the leaf and the spine is fixed and relatively short, usually only two hops (from the leaf to the spine and then to the leaf), which helps to reduce the delay of the network. The third switch is a Border Leaf switch, which is a specific type of leaf switch responsible for connecting the starting network device and the data center core switch.

[0095] When the leaf switch in the starting network device acquires the to-be-transmitted data in the preset terminal device, the leaf switch forwards the to-be-transmitted data to the spine switch, and the data acquired by different leaf switches can be interacted through multiple spine switches. Since each leaf switch is connected with multiple spine switches, even if a certain spine switch fails, data can still be transmitted through other spine switches, improving the fault tolerance and reliability of the network. The spine switch forwards the to-be-transmitted data to the Border Leaf switch, and finally, the Border Leaf switch forwards the to-be-transmitted data to the target network device through the data center core switch.

[0096] The beneficial effect of such a setting is that the leaf switch and the spine switch are used to transmit data, which facilitates reducing the delay of the network, improving the fault tolerance of the network, and improving the efficiency of data transmission.

[0097] The present application provides a data transmission method, device, equipment and storage medium, a plurality of network devices are deployed in an SDN network, a switch is deployed in each network device, the switch is used for data transmission, and each network device corresponds to at least one tenant. In response to a data transmission instruction issued by a first tenant in a starting network device, the switch in the starting network device acquires to-be-transmitted data from a preset terminal device, then determines address information of a preset target network device, determines a data transmission path according to the address information of the first tenant in the starting network device and the address information of the preset target network device, and finally transmits the to-be-transmitted data to the target network device according to the determined data transmission path. In this method, the best data transmission path is determined according to the address information of the first tenant in the starting network device and the address information of the preset target network device, so that data can be quickly transmitted in different network devices, improving the efficiency and flexibility of data transmission.

[0098] Figure 7 A structural block diagram of a data transmission device provided by an embodiment of the present application is shown in Figure 7 The data transmission device 700 provided by the embodiment includes:

[0099] The response module 701 is configured to acquire to-be-transmitted data from a preset terminal device through a switch in the starting network device in response to a data transmission instruction issued by a first tenant in the starting network device. The preset terminal device represents a device outside the SDN network.

[0100] The first determining module 702 is configured to determine address information of a preset target network device, and determine a data transmission path according to address information of a first tenant in the starting network device and the address information of the preset target network device; the preset target network device is a network device in the SDN network except the starting network device.

[0101] The transmission module 703 is configured to transmit the to-be-transmitted data to the target network device according to the data transmission path.

[0102] Figure 8 A structural block diagram of a data transmission device provided by an embodiment of the present application is shown in FIG. 8. The device 800 includes a response module 801, a first determining module 802, and a transmission module 803. The first determining module 802 includes a first obtaining unit 8021, a second obtaining unit 8022, a first determining unit 8023, and a second determining unit 8024. Figure 8

[0103] In one example, the first determining module 802 includes:

[0104] The first obtaining unit 8021 is configured to, if the data transmission instruction does not include identification information of a second tenant of the preset target network device, obtain address information of the preset target network device from a virtual routing table corresponding to the first tenant of the starting network device.

[0105] In one example, a controller is deployed in each network device, and the first determining module 802 includes:

[0106] The second obtaining unit 8022 is configured to, if the data transmission instruction includes the identification information of the second tenant of the preset target network device, obtain address information of the second tenant of the preset target network device through the controller in the starting network device, and store the address information of the second tenant of the preset target network device into the virtual routing table corresponding to the first tenant of the starting network device.

[0107] In one example, the device further includes:

[0108] The first determining unit 8023 is configured to determine identification information of the first tenant in the starting network device.

[0109] The second determining unit 8024 is configured to determine address information corresponding to the identification information of the first tenant, as address information of the first tenant.

[0110] In one example, the second determining unit 8024 includes:

[0111] ​The determining subunit is configured to determine a virtual routing table corresponding to the identification information of the first tenant according to a preset association relationship, wherein the preset association relationship represents an association relationship between identification information and a virtual routing table.

[0112] The obtaining subunit is configured to obtain address information of the first tenant from the virtual routing table.

[0113] In one example, each network device is deployed with a controller, and further comprises:

[0114] The second determining module is configured to determine, by the controller in the starting network device, a creation time of the virtual routing table in the starting network device.

[0115] The deleting module is configured to determine a current time, and if a time difference between the creation time and the current time exceeds a preset time difference threshold, delete the virtual routing table corresponding to the creation time.

[0116] In one example, further comprises:

[0117] The obtaining module is configured to obtain a preset address range and address of to-be-transmitted data, wherein the preset address range represents address information allowed to be transmitted.

[0118] The transmitting-in module is configured to, if the address information of the preset target network device is within the preset address range, transmit the to-be-transmitted data into the target network device according to the data transmission path.

[0119] In one example, each network device is deployed with a controller, and the controller in the starting network device is a master controller among the controllers in all network devices; further comprises:

[0120] The third determining module is configured to determine, by the master controller, a current stored data amount of each network device, and determine a first network device and a second network device, wherein the data amount of the first network device is greater than a preset amount threshold, and the data amount of the second network device is less than the preset amount threshold.

[0121] The fourth determining module is configured to determine a difference between the data amount in the first network device and the preset amount threshold as a to-be-adjusted amount.

[0122] The transferring-in module is configured to transfer the data of the to-be-adjusted amount from the first network device to the second network device.

[0123] In one example, the transferring-in module comprises:

[0124] The third determining unit is configured to determine, according to the current stored data amount in each second network device, a to-be-received device from each second network device.

[0125] a transfer unit, configured to transfer the data of the to-be-adjusted quantity from the first network device to the to-be-received device.

[0126] In one example, each network device comprises a plurality of first switches, a plurality of second switches, and a third switch, the first switches are configured to obtain the to-be-transmitted data from the preset terminal device and send the to-be-transmitted data to the second switches, the second switches are configured to send the received to-be-transmitted data to the third switch, and the third switch is configured to send the received to-be-transmitted data to the target network device; obtaining the to-be-transmitted data from the preset terminal device through the switches in the starting network device comprises:

[0127] a first forwarding module, configured to obtain the to-be-transmitted data from the preset terminal device through the first switch in the starting network device and forward the to-be-transmitted data to the second switch;

[0128] a second forwarding module, configured to forward the to-be-transmitted data to the third switch through the second switch.

[0129] Figure 9 A structural schematic diagram of a data transmission device is provided in the present application. As shown in the figure, Figure 9 the electronic device 900 provided in the present embodiment comprises at least one processor 901 and a memory 902. Optionally, the device 900 further comprises a communication component 903. The processor 901, the memory 902, and the communication component 903 are connected through a bus.

[0130] In the specific implementation process, the at least one processor 901 executes the computer execution instructions stored in the memory 902, so that the at least one processor 901 executes the above-mentioned method.

[0131] The specific implementation process of the processor 901 can refer to the method embodiments described above, which has similar implementation principles and technical effects, and will not be described here in detail.

[0132] It should be noted that, for the above-mentioned method embodiments, in order to simply describe, they are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited to the action order described, because according to the present application, certain steps can be performed in other order or simultaneously. Secondly, those skilled in the art should know that the embodiments described in the specification all belong to optional embodiments, and the actions and modules involved are not necessarily required by the present application.

[0133] It should be further noted that although the steps in the flowchart are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowchart may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.

[0134] It should be understood that the above-described device embodiments are merely illustrative, and the device of this application can also be implemented in other ways. For example, the division of units / modules in the above embodiments is only a logical functional division, and there may be other division methods in actual implementation. For example, multiple units, modules, or components may be combined, or integrated into another system, or some features may be ignored or not executed.

[0135] Furthermore, unless otherwise specified, the functional units / modules in the various embodiments of this application can be integrated into one unit / module, or each unit / module can exist physically separately, or two or more units / modules can be integrated together. The integrated units / modules described above can be implemented in hardware or as software program modules.

[0136] When integrated units / modules are implemented in hardware, the hardware can be digital circuits, analog circuits, etc. The physical implementation of the hardware structure includes, but is not limited to, transistors, memristors, etc. Unless otherwise specified, the processor can be any suitable hardware processor, such as a CPU, GPU, FPGA, DSP, and ASIC, etc. Unless otherwise specified, the storage unit can be any suitable magnetic or magneto-optical storage medium, such as Resistive Random Access Memory (RRAM), Dynamic Random Access Memory (DRAM), Static Random Access Memory (SRAM), Enhanced Dynamic Random Access Memory (EDRAM), High-Bandwidth Memory (HBM), Hybrid Memory Cube (HMC), etc.

[0137] If the integrated units / modules are implemented in the form of software program modules and sold or used as independent products, they can be stored in a computer readable memory. Based on such understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a memory and includes a number of instructions for causing a computer device (which can be a personal computer, a server or a network device, etc.) to execute all or part of the steps of the embodiments of the method of the present application. The aforementioned memory includes: a U disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store program codes.

[0138] In the above embodiments, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the related description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above embodiments are described, however, as long as the combinations of the technical features do not exist contradictory, they should be considered as the scope of the present application.

[0139] Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. The 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 in the art to which the application pertains or can relate. The specification and examples are to be regarded as exemplary only, and the true scope and spirit of the application are indicated by the following claims.

[0140] It should be understood that the application is not limited to the precise construction that has been described above and shown in the accompanying drawings, and that various modifications and changes can be made by those skilled in the art without departing from the scope of the application. The scope of the application is limited only by the appended claims.

Claims

1. A data transmission method, characterized in that, The method is applied to an initiating network device in a Software-Defined Network (SDN) network. The SDN network deploys multiple network devices, each containing a switch for data transmission. Each network device corresponds to at least one tenant. The initiating network device is the network device in the SDN network that acquires data to be transmitted. The method includes: In response to a data transmission command issued by a first tenant in the initiating network device, data to be transmitted is obtained from a preset terminal device through a switch in the initiating network device; wherein, the preset terminal device represents a device outside the SDN network; The address information of the preset target network device is determined, and the data transmission path is determined based on the address information of the first tenant in the starting network device and the address information of the preset target network device; wherein, the preset target network device is a network device in the SDN network other than the starting network device; According to the data transmission path, the data to be transmitted is transmitted to the target network device; Determine the address information of the preset target network device, including: If the data transmission instruction does not include the identification information of the second tenant of the preset target network device, then the address information of the preset target network device is obtained from the virtual routing table corresponding to the first tenant of the starting network device. Each network device contains a controller; the address information of the preset target network device is determined, including: If the data transmission instruction includes the identification information of the second tenant of the preset target network device, then the controller in the starting network device obtains the address information of the second tenant of the preset target network device and stores the address information of the second tenant of the preset target network device in the virtual routing table corresponding to the first tenant of the starting network device.

2. The method according to claim 1, characterized in that, Before determining the data transmission path based on the address information of the first tenant in the starting network device and the address information of the preset target network device, the process further includes: Determine the identification information of the first tenant in the initial network device; The address information corresponding to the identification information of the first tenant is determined, which is the address information of the first tenant.

3. The method according to claim 2, characterized in that, The address information corresponding to the identifier information of the first tenant is determined, which is the address information of the first tenant, including: Based on a preset association relationship, a virtual routing table corresponding to the identification information of the first tenant is determined; wherein, the preset association relationship represents the association relationship between the identification information and the virtual routing table; Obtain the address information of the first tenant from the virtual routing table.

4. The method according to claim 1, characterized in that, Each network device contains a controller; it also includes: The creation time of the virtual routing table in the starting network device is determined by the controller in the starting network device. If the time difference between the creation time and the current time exceeds a preset time difference threshold, the virtual routing table corresponding to the creation time is deleted.

5. The method according to claim 1, characterized in that, Also includes: Obtain a preset address range and the address of the data to be transmitted; wherein, the preset address range represents the address information that is allowed to be transmitted; If the address information of the preset target network device is within the preset address range, then the data to be transmitted is transmitted to the target network device according to the data transmission path.

6. The method according to any one of claims 1-5, characterized in that, Each network device is equipped with a controller, and the controller in the initial network device is the master controller among all the controllers in the network devices; it also includes: The main controller determines the current amount of data stored in each network device and identifies the first network device and the second network device; wherein the data amount of the first network device is greater than a preset threshold, and the data amount of the second network device is less than the preset threshold. The difference between the amount of data in the first network device and the preset quantity threshold is determined as the quantity to be adjusted; The data to be adjusted is transferred from the first network device to the second network device.

7. The method according to claim 6, characterized in that, Transferring the data to be adjusted from the first network device to the second network device includes: Based on the amount of data currently stored in each of the second network devices, determine the receiving device from each of the second network devices; The data to be adjusted is transferred from the first network device to the receiving device.

8. The method according to claim 1, characterized in that, Each network device includes multiple first switches, multiple second switches, and a third switch. The first switch is used to obtain data to be transmitted from a preset terminal device and send the data to be transmitted to the second switch. The second switch is used to send the received data to be transmitted to the third switch. The third switch is used to send the received data to be transmitted to the target network device. The data to be transmitted is obtained from a preset terminal device through the switch in the starting network device, including: The system obtains data to be transmitted from a preset terminal device through the first switch in the starting network device and forwards the data to be transmitted to the second switch. The data to be transmitted is forwarded to the third switch via the second switch.

9. A data transmission apparatus, comprising: A response module is used to respond to a data transmission command issued by the first tenant in the initiating network device, and to obtain the data to be transmitted from a preset terminal device through a switch in the initiating network device; wherein, the preset terminal device represents a device outside the SDN network; The first determining module is used to determine the address information of a preset target network device, and to determine the data transmission path based on the address information of the first tenant in the starting network device and the address information of the preset target network device; wherein, the preset target network device is a network device in the SDN network other than the starting network device; A transmission module is used to transmit the data to be transmitted to the target network device according to the data transmission path; The first determining module includes: The first acquisition unit is configured to acquire the address information of the preset target network device from the virtual routing table corresponding to the first tenant of the starting network device if the data transmission instruction does not include the identification information of the second tenant of the preset target network device. Each network device is equipped with a controller, and the first determining module also includes: The second acquisition unit is configured to, if the data transmission instruction includes the identification information of the second tenant of the preset target network device, acquire the address information of the second tenant of the preset target network device through the controller in the starting network device, and store the address information of the second tenant of the preset target network device in the virtual routing table corresponding to the first tenant of the starting network device.

10. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1-8.

11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-8.

12. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method of any one of claims 1-8.

Citation Information

Patent Citations

  • Overlay network routing method and system, and equipment

    CN108111413A

  • Tenant communication method and device, electronic equipment and storage medium

    CN117792995A