Data transmission method and device, equipment and storage medium
By using the switch of the starting network device in the SDN network to obtain data and determine the transmission path, the problem of difficulty in architecture expansion and high maintenance costs of financial data center networks when expanding application scale is solved, and efficient and flexible data transmission is achieved.
Patent Information
- Application Number
- CN202411941358.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2044-12-26
AI Technical Summary
When the application scale of existing financial data center networks expand, they are difficult to expand the architecture, high maintenance costs, and insufficient data transmission efficiency and flexibility.
In a software-defined network (SDN), 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 data is transmitted to the target network device.
Improves the efficiency and flexibility of data transmission, simplifies the architecture of the financial data center network, and reduces maintenance costs.
Smart Images

Figure CN119676157A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of financial technology or other related fields, and in particular to a data transmission method, device, equipment and storage medium. Background Art
[0002] With the continuous development of new technologies such as mobile Internet, cloud computing, big data and blockchain, people's lifestyles and business behaviors are gradually changing. The application of these new technologies has spawned 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 that follows the concept of "vertical layering and horizontal partitioning", when the application scale develops to a certain stage, problems such as difficulty in architecture expansion and difficulty in maintenance will arise, which will increase maintenance costs and reduce the efficiency of data transmission.
[0004] Therefore, how to simplify the financial data center network and improve the efficiency and flexibility of data transmission in the financial data center network is an urgent problem to be solved. Summary of the invention
[0005] The present application provides a data transmission method, apparatus, device 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, wherein a plurality of network devices are deployed in the SDN network, each of which is deployed with a switch, the switch is used for data transmission, and 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 the 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 other than the starting network device in the SDN network;
[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, including:
[0011] A response module, configured to respond to a data transmission instruction issued by the first tenant in the starting network device, and obtain 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 is used to determine the address information of a preset target network device, and determine 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; wherein the preset target network device is a network device other than the starting network device in the SDN network;
[0013] A transmission module is used 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 communicatively connected to the processor;
[0015] The memory stores computer-executable instructions;
[0016] The processor executes the computer-executable instructions stored in the memory to implement the method according to 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-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method described in the first aspect.
[0018] In a fifth aspect, the present application provides a computer program product, including a computer program, which implements the method described in the first aspect when executed by a processor.
[0019] The present application provides a data transmission method, apparatus, device and storage medium. A plurality of network devices are deployed in the SDN network, and 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 the first tenant in the starting network device, the switch in the starting network device obtains the data to be transmitted from the preset terminal device, and then determines the address information of the preset target network device, determines 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, and finally, according to the determined data transmission path, transmits the data to be transmitted to the target network device. In this 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, thereby improving the efficiency and flexibility of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0021] Figure 1 A diagram of the cross-heterogeneous SDN Fabric networking model architecture of a financial data center for a data transmission method provided in this application;
[0022] Figure 2 A control plane diagram of an RI controller for a data transmission method provided in this application;
[0023] Figure 3 A firewall device access plan for a data transmission method provided by this application;
[0024] Figure 4 A flowchart of a data transmission method provided by this application;
[0025] Figure 5 A flowchart of a data transmission method provided by this application;
[0026] Figure 6 A flowchart of a data transmission method provided by this application;
[0027] Figure 7 A structural block diagram of a data transmission device provided in an embodiment of the present application;
[0028] Figure 8 A structural block diagram of a data transmission device provided in an embodiment of the present application;
[0029] Fig. 9A structural schematic diagram of a data transmission device provided in this application.
[0030] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0031] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0032] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with the relevant laws, regulations and standards of the relevant countries and regions, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0033] In addition, this application involves conducting big data analysis of user information (including but not limited to personal biometrics, identity data, consumption data, asset data, electronic terminal operation data, etc.), and using artificial intelligence technology to make automated decisions, and making technical solutions that have a significant impact on personal rights and interests based on the results of automated decisions. The application provides users with corresponding operation entrances for them to choose to agree or reject the results of automated decisions; if the user chooses to reject, the expert decision-making process will be entered.
[0034] It should be noted that the data transmission method, device, equipment and storage medium provided in 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 this application are explained:
[0036] Software Defined Network (SDN) is the inevitable product of the advanced development of enterprise-level data center network IT technology. It will help promote the transformation of financial IT to efficient service, thereby enhancing 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 networks.
[0037] Fabric: In data center networks, Fabric refers to a network architecture or design pattern, usually a flat network architecture in which all nodes (such as servers, storage devices, and network devices) are interconnected through a unified switching structure. This architecture eliminates bottlenecks in traditional hierarchical networks and provides higher bandwidth and lower latency.
[0038] With the continuous development of new technologies such as mobile Internet, cloud computing, big data and blockchain, people's lifestyles and business behaviors are gradually changing. The application of these new technologies has spawned 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 major stages so far: the first stage: from scratch, the network architecture 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. Due to the requirements of application layering and security, the concept of "vertical layering and horizontal partitioning" is followed. The second stage: self-optimization, under the inherited security area protection mechanism, the "bus type, modular" architecture is generally adopted. In this stage, the application development has reached a considerable scale. The network analyzes the needs and technology trends from multiple dimensions, extracts the network construction needs, and finally determines the design architecture. The network is greatly optimized, the network scale and expansion capabilities are improved, the operation and maintenance boundaries are clearer, and the troubleshooting methods are more sound.
[0040] For financial data centers that follow the concept of "vertical stratification and horizontal partitioning", when the application scale develops to a certain stage, the architecture becomes difficult to expand and difficult to maintain, and the network structure becomes complex, which increases the maintenance cost. Although the "bus-type, modular" architecture can effectively cope with the service requirements of traditional business models and capacity scale, it still does not provide enough support for the efficiency and flexibility of data transmission in the new cloud environment.
[0041] A data transmission method provided in this application relates to the field of financial technology or other related fields, and in particular to a data transmission method, device, equipment and storage medium, which aims to solve the above technical problems of the prior art.
[0042] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0043] Figure 1 The architecture diagram of the cross-heterogeneous SDN Fabric networking model of a financial data center for a data transmission method provided in this application is composed of Figure 1 It can be seen that the model includes two network devices, namely Fabric1 and Fabric2. Both network devices are connected to the core switch of the data center. The network devices include multiple Leaf switches, multiple Spine switches, a Border leaf switch and a controller. Leaf switches can connect to external devices to obtain data to be transmitted. Different Leaf switches have different functions. For example, they can obtain different data such as data used for calculation and network function-related data according to different functions. Different Leaf switches interact with each other through Spine switches. Borderleaf switches are used to receive data transmitted by Spine switches, and then transmit the data to the specified target network device through the core switch of the data center. During the data transmission process, the controller is used to monitor the data transmission process and perform overall regulation on the balance of data in the network devices.
[0044] Figure 2 A control plane diagram of an RI controller of a data transmission method provided in this application, such as Figure 2 As shown in the figure, the RI controller includes an SDN adapter module, a timing module, and a core switching configuration module. The SDN adapter module is used to connect multiple SDN Fabric controllers through an application programming interface (API) and obtain information from multiple SDN Fabric devices through the API. 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 switching configuration module is used to connect the RI controller to the core switch of the data center and manage the physical layer devices through the netconf protocol.
[0045] Figure 3 A firewall device access plan diagram of a data transmission method provided by this application, such as Figure 3As shown in the figure, 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, there is a direct line between the firewall FW and the Border leaf switch. When the firewall fails, it automatically switches to the non-firewall mode after the route is changed without entering the computer room, and the data can be transmitted through this direct line, thereby ensuring the stability of the business.
[0046] Figure 4 A flow chart of a data transmission method provided in this application is as follows: Figure 4 As shown, the method includes:
[0047] S401. In response to a data transmission instruction issued by a first tenant in a starting network device, obtain 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.
[0048] Exemplarily, the preset terminal device represents a device outside the SDN network, and there may be multiple preset terminal devices, including computers, mobile phones, sensors, etc. The starting network device is a network device that obtains data to be transmitted in the SDN network. The starting network device, that is, the Fabric device, may contain multiple switches and multiple tenant information. Among them, the switch includes a leaf switch, a spine switch, and a Border leaf switch, etc. There may be multiple leaf switches, and different leaf switches may be configured to process different types of data or provide different services. For example, one leaf switch may focus on processing data related to computing resources, while another may focus on processing data related to network functions. And the leaf switch may directly obtain the data to be transmitted from the preset terminal device. For example, when the first tenant sends a data transmission instruction, that is, the instruction indicates that the first tenant wants to start transmitting data, and instructs the switch in the starting network device to obtain the data in the preset terminal device. In response to the data transmission instruction issued by the first tenant, the starting network device uses the leaf switch in the starting network device to directly obtain the data to be transmitted from the preset terminal device, wherein the data to be transmitted may be computing data, image data, network data, etc., and different data can be obtained using leaf switches with different functions.
[0049] The beneficial effect of such a setting is that the data to be transmitted is directly obtained through the leaf switch in the starting network device, which is convenient for improving the efficiency of data transmission.
[0050] S402. Determine the address information of a preset target network device, and determine 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; wherein the preset target network device is a network device other than the starting network device in the SDN network.
[0051] Exemplarily, the preset target network device is a network device other than the starting network device in the SDN network, and there may be multiple target network devices. Both the starting network device and the target network device may contain multiple tenant information, wherein the tenant information may be different in different network devices, and the tenant information may include the address information of the tenant, the identification information of the tenant, etc., and the identification information of the tenant is the unique mark of the tenant. For example, when the switch in the starting network device obtains the data to be transmitted, 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 are first determined, wherein the target tenant refers to the tenant receiving the data to be transmitted in the target network device. When transmitting data from the starting network device to the target network device, the corresponding virtual routing table in the starting network device is first determined according to the identification information of the first tenant, and the address information of the target device and the identification information of the target tenant are obtained in the virtual routing table, wherein the virtual routing table is used to store the address information of the tenant, the tenant identification information, and multiple data transmission paths formed according to the tenant address information 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 may correspond to a virtual routing table. After 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. From the virtual routing table, the corresponding tenant, that is, the target tenant, can be found 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 the virtual routing table corresponding to the first tenant in the starting network device. The virtual routing table contains the address information of the first tenant of the starting network device, the address information of the target network device and the identification information of the target tenant, as well as multiple data transmission paths formed according to the address information of the first tenant of 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, then for the new starting network device, the first tenant is a new tenant, 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 tenant when transmitting data, 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 main controller, and the main controller of the starting network device can be connected to the controllers of each network device through an API interface. If the target tenant in the target network device is a new tenant, there are two situations 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 it is the first situation, the address information and identification information of the target tenant can be obtained through the API interface, and the first tenant address information, target tenant address information, and target tenant identification information in the starting network device are stored in the virtual routing table of the first tenant. If it is the second situation, after obtaining the address information and identification information of the target tenant and storing them in the virtual routing table corresponding to the first tenant, the virtual routing table of the target tenant must be 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 the second tenant or the third tenant. The newly created routing table is formed when the tenant registers in the new network device. The data transmission path refers to the sequence of network devices and links that data passes through when it 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. When considering link failures between devices or data overload, the best path may be data transmission from device 1 to device 2 and then to device 3. The controller can calculate and select the best path based on preset dynamic routing protocols (such as OSPF protocol, EIGRP protocol, BGP protocol, etc.), and finally determine the best data transmission path. The controller has a global view of the entire network, which is used to monitor and regulate the data transmission process.
[0053] The beneficial effect of such a setting is that the data transmission path is determined according to the address information of the target network device and the address information of the starting network device, so as to facilitate accurate and fast data transmission and improve the efficiency of data transmission.
[0054] In this embodiment, determining the address information of the preset target network device includes: if the data transmission instruction does not include the identification information of the second tenant of the preset target network device, 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 the tenant, and the starting network device may contain multiple tenant information, each tenant corresponds to a virtual routing table, and the virtual routing table in the starting network device may 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, and the second tenant refers to the tenant receiving data in the target network device. If the data transmission instruction does not include the identification information of the second tenant of the preset target network device, 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 of the starting network device already contains the virtual routing table corresponding to the first tenant, 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 there is no identification information of the second tenant in the instruction, the virtual routing table corresponding to the first tenant is directly determined according to the identification information of the first tenant. 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 a setting is that the address information is directly obtained in the virtual routing table, which facilitates improving the efficiency of data transmission.
[0057] S403: Transmit the data to be transmitted to the target network device according to the data transmission path.
[0058] Exemplarily, the virtual routing table stores the transmission path of the data to be transmitted, and there may be multiple paths for data transmission. For example, when transmitting data from device 1 to device 2, data can be directly transmitted from device 1 to 2, but when the path fails, data can be transmitted from device 1 to device 3 and then to device 2 to ensure the stability of data transmission. For example, the virtual routing table can form multiple data transmission paths according to the address information of the first tenant in the starting network device and the address information of the target network device, wherein the address information of the target network device includes the 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 the preset routing protocol and load balancing strategy, wherein load balancing refers to keeping the amount of data in the network device or in each transmission path balanced to avoid overload. After the data is transmitted to the target network device, the corresponding virtual routing table is found in the target network device according to the identification information of the second tenant. Since there can be multiple tenants in the target network device, the corresponding tenant, i.e., the target tenant, can be found according to the identification information of the second tenant in the virtual routing table, and the data is finally transmitted to the target tenant. The controller has a global view of the entire network and can calculate the amount of data in each network device to monitor and control the data transmission process. Based on the optimal transmission path, the data to be transmitted is transmitted to the target tenant in the target network device, that is, the second tenant. The target network device can also contain multiple tenant information.
[0059] The beneficial effect of such an arrangement is that data is transmitted based on an optimal data transmission path, thereby facilitating improving the efficiency of data transmission.
[0060] The present application provides a data transmission method, apparatus, device and storage medium. A plurality of network devices are deployed in the SDN network, and 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 the first tenant in the starting network device, the switch in the starting network device obtains the data to be transmitted from the preset terminal device, and then determines the address information of the preset target network device, determines 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, and finally, according to the determined data transmission path, transmits the data to be transmitted to the target network device. In this 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, thereby improving the efficiency and flexibility of data transmission.
[0061] Figure 5 A flow chart of a data transmission method provided in this application is as follows: Figure 5 As shown, the method includes:
[0062] S501. In response to a data transmission instruction issued by a first tenant in an initial network device, data to be transmitted is obtained from a preset terminal device through a switch in the initial network device; wherein the preset terminal device represents a device outside the SDN network.
[0063] Exemplarily, this step may refer to the above-mentioned step S401 and will not be described in detail.
[0064] S502. If the data transmission instruction includes identification information of a second tenant of a preset target network device, the address information of the second tenant of the preset target network device is obtained through a controller in the starting network device, and the address information of the second tenant of the preset target network device is stored in a virtual routing table corresponding to the first tenant of the starting network device, and 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; wherein the preset target network device is a network device other than the starting network device in the SDN network.
[0065] Exemplarily, the preset target network device is a network device other than the starting network device in the SDN network. The identification information of the tenant represents the unique mark of the tenant. The virtual routing table in the starting network device can be used to store 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, as well as multiple data transmission paths formed according to the address information of the first tenant and the address information of the target network device. For example, when the data to be transmitted is obtained, if the data transmission instruction includes the identification information of the second tenant of the preset target network device, it indicates that the second tenant is a new tenant, and there is no tenant information corresponding to the second tenant in the starting network device at this time. Based on the RI controller in the starting network device and the identification information of the second tenant, the address information of the second tenant in the target network device is obtained through the API interface, wherein the RI controller is the main controller, which can be connected to the controllers of multiple network devices through the API interface, so as to obtain the address information of each network device and the tenant information of the tenant in each network device. The address information of the second tenant is stored in the virtual routing table corresponding to the first tenant. Among them, each network device includes a controller, and the RI controller in the starting network device is the main controller, which is used to control network devices other than the starting network device. In addition, if 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 obtained through the controller and the 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 is registered in the new network device, and the target tenant refers to the tenant who receives data in the target network device.
[0066] The beneficial effect of such a setting is that the address information of the second tenant is obtained through the controller, thereby improving the flexibility of data transmission.
[0067] S503: Transmit the data to be transmitted to the target network device according to the data transmission path.
[0068] Exemplarily, this step may refer to the above-mentioned step S403 and will not be described in detail.
[0069] The present application provides a data transmission method, apparatus, device and storage medium. A plurality of network devices are deployed in the SDN network, and 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 the first tenant in the starting network device, the switch in the starting network device obtains the data to be transmitted from the preset terminal device, and then determines the address information of the preset target network device, determines 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, and finally, according to the determined data transmission path, transmits the data to be transmitted to the target network device. In this 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, thereby improving the efficiency and flexibility of data transmission.
[0070] Figure 6 A flow chart of a data transmission method provided in this application is as follows: Figure 6 As shown, the method includes:
[0071] S601. In response to a data transmission instruction issued by a first tenant in a starting network device, obtain 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.
[0072] Exemplarily, this step may refer to the above-mentioned step S501 and will not be described in detail.
[0073] S602. Determine the identification information of the first tenant in the starting network device, determine the address information corresponding to the identification information of the first tenant, which is the address information of the first tenant, 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.
[0074] Exemplarily, the identification information of the first tenant is used to characterize the unique mark of the first tenant, wherein the tenant can refer to an individual or a group using the same network infrastructure. The starting network device may contain multiple tenant information, and each tenant corresponds to a virtual routing table, which 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, as well as 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 includes 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, and the address information of the first tenant in the starting network device, 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 optimal 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 regulate the data transmission process as a whole.
[0075] The beneficial effect of such a setting is that the address information of the tenant is determined according to the tenant's identifier, which facilitates improving the accuracy of data transmission.
[0076] In this embodiment, determining the address information corresponding to the identification information of the first tenant as the address information of the first tenant includes: determining 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 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 the association relationship between the identification information and the virtual routing table, the identification information of the first tenant represents the unique mark of the first tenant, the starting network device may contain multiple tenant information, and each tenant corresponds to a virtual routing table. For example, after obtaining the data to be transmitted, 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 must first be obtained. According to the identification information of the first tenant, the virtual routing table corresponding to it in the starting network device is determined, 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 contains the address information of the first tenant and the address information of the second tenant, as well as 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 that shares a network infrastructure. A three-layer sub-interface or VLANInterface interface of a VLAN ID can be set in the virtual routing table to distinguish different individuals under the same tenant. When data is transmitted to the target network device, there may be multiple tenant information in the target network device. The corresponding virtual routing table can be found according to the identification information of the second tenant, the second tenant can be determined according to the identification information in the virtual routing table, and finally the data can be 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 improve the accuracy and efficiency of data transmission.
[0079] S603: Transmit the data to be transmitted to the target network device according to the data transmission path.
[0080] Exemplarily, this step may refer to the above-mentioned step S503 and will not be described in detail.
[0081] In this embodiment, a controller is deployed in each network device; it also includes: determining the creation time of the virtual routing table in the starting network device through the controller in the starting network device; determining the current time, and if the 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, multiple network devices are deployed in the SDN network, each of which contains a controller, and the controller in the starting network device is used as the main controller, namely, the 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 the preset time difference threshold, it indicates that the virtual routing table in the starting network is an invalid virtual routing table, and the virtual routing table corresponding to the creation time is deleted from the starting network device. At the same time, the RI controller is connected to the controllers of multiple 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. At the same time, the information associated with the information in the virtual routing table in each network device is also deleted, thereby ensuring the validity 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 invalid virtual routing tables are cleared according to a preset time difference threshold, so as to make the network more smooth, reduce data redundancy, and improve the efficiency of data transmission.
[0084] In this embodiment, it also includes: obtaining a preset address range and the address of the data to be transmitted; wherein the preset address range represents the address information allowed to be transmitted; if the address information of the preset target network device is within the preset address range, the data to be transmitted is transmitted to the target network device according to the data transmission path.
[0085] Exemplarily, the preset address range represents the address information allowed to be transmitted, and the SDN network also includes a firewall, which can filter the data to be transmitted according to its preset filtering rules, wherein the firewall is set between the BorderLeaf switch and the data center core switch. The address information of the target network device contains the address information of the tenant. For example, after obtaining the data to be transmitted, before the Border Leaf switch forwards the data to the data center core switch, the data needs to be filtered through the firewall. First, the preset address range of the firewall and the address of the data to be transmitted are obtained, 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 address range preset by the firewall, indicating that the data to be transmitted can pass through the firewall, the data to be transmitted is transmitted to the data center core switch, and finally transferred to the target network device. If the address of the data to be transmitted is not within the address range preset by the firewall, indicating that the data to be transmitted cannot pass through the firewall, the data will not be forwarded. In addition, a direct line is set up between the Border Leaf switch and the core switch of the data center. When the firewall fails, without entering the computer room, it can automatically switch to the firewall-free mode based on the preset routing protocol. The data to be transmitted can directly reach the core switch of the data center from the Border Leaf switch through the direct line, and then reach the target network device, thereby ensuring the stability of the business.
[0086] The beneficial effect of such a setting is that the data to be transmitted is transmitted according to the filtering rules of the firewall, which facilitates the screening of data and improves the accuracy and stability of data transmission.
[0087] In this embodiment, a controller is deployed in each network device, and the controller in the starting network device is the main controller among the controllers in all network devices; it also includes: determining the current amount of data stored in each network device through the main controller, and determining the first network device and the second network device; wherein the amount of data of the first network device is greater than a preset quantity threshold, and the amount of data of the second network device is less than the preset quantity threshold; determining the difference between the amount of data in the first network device and the preset quantity threshold as the amount to be adjusted; and transferring the amount of data to be adjusted from the first network device to the second network device.
[0088] Exemplarily, the SDN network includes multiple network devices, each of which includes a controller, and the controller in the starting network device is set as the main controller, that is, the RI controller. A quantity threshold is preset in the RI controller, wherein the data volume of the first network device is greater than the preset quantity threshold, and the data volume of the second network device is less than the preset quantity threshold. For example, the main controller can calculate the current data volume in each network device and determine the first network device and the second network device. The data volume in the first network device is subtracted from the preset quantity threshold, and the obtained difference is determined as the quantity to be adjusted, and the data of the quantity to be adjusted is transferred from the first network device to the second network device, wherein, if there are multiple network devices with a data volume less than the preset quantity threshold, that is, there can be multiple second network devices, then the data is sorted according to the numerical value of the difference between the data volume of each second network device and the preset quantity threshold, and the data of the quantity to be adjusted is preferentially transferred to the network device with a larger difference, that is, the network device corresponding to the difference has the least data volume and is determined as the second network device.
[0089] The beneficial effect of such an arrangement is that, according to the calculated data volume of each network device, the data in the network device is adjusted, so as to maintain the load balance of the network and improve the efficiency of data transmission.
[0090] In this embodiment, transferring the amount of data to be adjusted from the first network device to the second network device includes: determining the device to be received from each second network device according to the current amount of data stored in each second network device; and transferring the amount of data to be adjusted from the first network device to the device to be received.
[0091] Exemplarily, the amount of data of the first network device is greater than a preset quantity threshold, and the amount of data of the second network device is less than the preset quantity threshold. The controller in the starting network device serves as the main controller. For example, the main controller in the starting network device can calculate the amount of data in each network device, determine the network device with a data amount greater than the preset quantity threshold as the first network device, and determine the network device with a data amount less than the preset quantity threshold as the second network device. And the calculated amount of data of the first network device is subtracted from the preset quantity threshold to obtain the amount to be adjusted. Among them, there can be multiple second network devices, and the amount of data in each second network device is subtracted from the preset quantity threshold to obtain the data amount difference of multiple second network devices, and the data amount difference of multiple second network devices is sorted, and the data amount difference of the second network device with the maximum value is determined, that is, the current amount of data in the second network device corresponding to the data amount difference is the least, and the second network device corresponding to the data amount difference is determined as the device to be received, and finally, the data of the amount to be adjusted is transmitted to the device to be received.
[0092] The beneficial effect of such a setting is that data forwarding is adjusted according to the data volume of different network devices, which facilitates maintaining load balancing of network devices and improves the efficiency and flexibility of data transmission.
[0093] In this embodiment, 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. Obtaining the data to be transmitted from the preset terminal device through the switch in the starting network device includes: obtaining the data to be transmitted from the preset terminal device through the first switch in the starting network device, and forwarding the data to be transmitted to the second switch; forwarding the data to be transmitted to the third switch through the second switch.
[0094] Exemplarily, the preset terminal device can be a computer, a mobile phone, a sensor or other device. The network architecture used in the starting network device is a leaf-spine architecture, which contains multiple first switches, multiple second switches, and a third switch, wherein the first switch is a leaf switch, which can directly obtain the data to be transmitted in the terminal device. There can be multiple leaf switches, and different leaf switches can have different functions. For example, there can be a leaf switch responsible for obtaining data in the network element service device, and there can also be a leaf switch responsible for obtaining data in the computing service device. Different leaf switches cannot communicate directly with each other, but interact through the spine switch. The second switch is the spine switch, which is used to receive the data to be transmitted obtained from the leaf switch and forward the data to the third switch. In addition, by adding 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, and the path length of the data between the leaf and the spine is fixed and short, usually only two hops (from leaf to spine and then to leaf), which helps to reduce network latency. The third switch is the Border Leaf switch, which is a specific type of leaf switch responsible for connecting the starting network device and the core switch of the data center.
[0095] When the leaf switch in the starting network device obtains the data to be transmitted in the preset terminal device, it forwards the data to be transmitted to the spine switch. The data obtained by different leaf switches can interact through multiple spine switches. Since each leaf switch is connected to multiple spine switches, even if a spine switch fails, the data can still be transmitted through other spine switches, which improves the fault tolerance and reliability of the network. The spine switch forwards the data to be transmitted to the Border Leaf switch, and finally, the Border Leaf switch forwards the data to be transmitted to the target network device through the data center core switch.
[0096] The beneficial effect of this setting is that the leaf switches and spine switches are used to transmit data, which makes it easy to reduce network latency, improve network fault tolerance, and improve data transmission efficiency.
[0097] The present application provides a data transmission method, apparatus, device and storage medium. A plurality of network devices are deployed in the SDN network, and 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 the first tenant in the starting network device, the switch in the starting network device obtains the data to be transmitted from the preset terminal device, and then determines the address information of the preset target network device, determines 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, and finally, according to the determined data transmission path, transmits the data to be transmitted to the target network device. In this 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, thereby improving the efficiency and flexibility of data transmission.
[0098] Figure 7 A structural block diagram of a data transmission device provided in an embodiment of the present application, such as Figure 7 As shown, a data transmission device 700 provided in this embodiment includes:
[0099] A response module 701 is used to respond to a data transmission instruction issued by the first tenant in the starting network device, and obtain the 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;
[0100] The first determination module 702 is used to 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 other than the starting network device in the SDN network;
[0101] The transmission module 703 is used to transmit the data to be transmitted to the target network device according to the data transmission path.
[0102] Figure 8 A structural block diagram of a data transmission device provided in an embodiment of the present application, such as Figure 8 As shown, the device 800 includes a response module 801, a first determination module 802, and a transmission module 803, wherein the first determination module 802 includes a first acquisition unit 8021, a second acquisition unit 8022, a first determination unit 8023, and a second determination unit 8024.
[0103] In one example, the first determining module 802 includes:
[0104] The first acquisition unit 8021 is used 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.
[0105] In one example, a controller is deployed in each network device, and the first determination module 802 includes:
[0106] The second acquisition unit 8022 is used to obtain the address information of the second tenant of the preset target network device through the controller in the starting network device if the data transmission instruction includes the identification information of the second tenant of the preset target 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.
[0107] In one example, it also includes:
[0108] A first determining unit 8023 is used to determine the identification information of the first tenant in the starting network device;
[0109] The second determining unit 8024 is configured to determine that the address information corresponding to the identification information of the first tenant is the address information of the first tenant.
[0110] In one example, the second determining unit 8024 includes:
[0111] A determination subunit, 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 the identification information and the virtual routing table;
[0112] An acquisition subunit is used to acquire the address information of the first tenant from the virtual routing table.
[0113] In one example, a controller is deployed in each network device, and further includes:
[0114] A second determining module, configured to determine, through a controller in the starting network device, a creation time of a virtual routing table in the starting network device;
[0115] The deletion module is used to determine the current time, and 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.
[0116] In one example, it also includes:
[0117] An acquisition module, used to acquire a preset address range and an address of data to be transmitted; wherein the preset address range represents address information that is allowed to be transmitted;
[0118] The transmission module is used to transmit the data to be transmitted to the target network device according to the data transmission path if the address information of the preset target network device is within the preset address range.
[0119] In one example, a controller is deployed in each network device, and the controller in the starting network device is a main controller among the controllers in all network devices; further comprising:
[0120] A third determination module is used to determine the amount of data currently stored in each network device through the main controller, and determine the first network device and the second network device; wherein the amount of data of the first network device is greater than a preset amount threshold, and the amount of data of the second network device is less than the preset amount threshold;
[0121] A fourth determination module, configured to determine a difference between the amount of data in the first network device and a preset amount threshold as the amount to be adjusted;
[0122] A transfer module is used to transfer the amount of data to be adjusted from the first network device to the second network device.
[0123] In one example, the import module includes:
[0124] A third determining unit, configured to determine a device to be received from each of the second network devices according to the amount of data currently stored in each of the second network devices;
[0125] A transfer unit is used 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 includes a plurality of first switches, a plurality of 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, and the third switch is used to send the received data to be transmitted to the target network device; obtaining the data to be transmitted from the preset terminal device through the switch in the starting network device includes:
[0127] A first forwarding module, configured to obtain data to be transmitted from a preset terminal device through a first switch in the starting network device, and forward the data to be transmitted to the second switch;
[0128] The second forwarding module is used to forward the data to be transmitted to the third switch through the second switch.
[0129] Fig. 9 This is a schematic diagram of the structure of a data transmission device provided by this application. Fig. 9 As shown, the electronic device 900 provided in this embodiment includes: at least one processor 901 and a memory 902. Optionally, the device 900 also includes a communication component 903. The processor 901, the memory 902 and the communication component 903 are connected via a bus.
[0130] In a specific implementation process, at least one processor 901 executes the computer execution instructions stored in the memory 902, so that at least one processor 901 executes the above method.
[0131] The specific implementation process of the processor 901 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.
[0132] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all 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 various steps in the flowchart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowchart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0134] It should be understood that the above-mentioned device embodiments are only illustrative, and the device of the present application can also be implemented in other ways. For example, the division of units / modules in the above-mentioned embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.
[0135] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present application may be integrated into one unit / module, each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.
[0136] If the integrated unit / module is implemented in the form of hardware, the hardware may be a digital circuit, an analog circuit, etc. The physical implementation of the hardware structure includes but is not limited to transistors, memristors, etc. Unless otherwise specified, the processor may be any appropriate hardware processor, such as a CPU, a GPU, an FPGA, a DSP, an ASIC, etc. Unless otherwise specified, the storage unit may be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory (RRAM), a dynamic random access memory (DRAM), a static random access memory (SRAM), an enhanced dynamic random access memory (EDRAM), a high-bandwidth memory (HBM), a hybrid memory cube (HMC), etc.
[0137] If the integrated unit / module is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0138] In the above embodiments, the description of each embodiment has its own emphasis. For the part not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0139] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0140] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A data transmission method, characterized in that: The method is applied to a starting network device in a software defined network (SDN) network, wherein a plurality of network devices are deployed in the SDN network, each of which is deployed with a switch, the switch is used for data transmission, and each network device corresponds to at least one tenant; the starting network device is a network device that obtains data to be transmitted in the SDN network; the method comprises: In response to a data transmission instruction issued by the 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; 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 other than the starting network device in the SDN network; According to the data transmission path, the data to be transmitted is transmitted to the target network device.
2. The method according to claim 1, characterized in that 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, 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.
3. The method according to claim 1, characterized in that A controller is deployed in each network device; 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, the address information of the second tenant of the preset target network device is obtained through the controller in the starting network device, and the address information of the second tenant of the preset target network device is stored in the virtual routing table corresponding to the first tenant of the starting network device.
4. The method according to claim 1, characterized in that: Before 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, the method further includes: Determining identification information of a first tenant in the starting network device; Address information corresponding to the identification information of the first tenant is determined to be the address information of the first tenant.
5. The method according to claim 4, characterized in that Determining that address information corresponding to the identification information of the first tenant is the address information of the first tenant, includes: According to a preset association relationship, determine a virtual routing table corresponding to the identification information of the first tenant; wherein the preset association relationship represents an association relationship between the identification information and the virtual routing table; The address information of the first tenant is obtained from the virtual routing table.
6. The method according to claim 1, characterized in that Each network device is deployed with a controller; and also includes: Determining, by a controller in the starting network device, a creation time of a virtual routing table in the starting network device; The current time is determined, and 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.
7. The method according to claim 1, characterized in that Also includes: Acquire a preset address range and an address of data to be transmitted; wherein the preset address range represents address information allowed to be transmitted; If the address information of the preset target network device is within the preset address range, the data to be transmitted is transmitted to the target network device according to the data transmission path.
8. The method according to any one of claims 1 to 7, characterized in that: A controller is deployed in each network device, and the controller in the starting network device is a main controller among the controllers in all network devices; and further comprising: Determine, by means of the main controller, the amount of data currently stored in each network device, and determine the first network device and the second network device; wherein the amount of data in the first network device is greater than a preset amount threshold, and the amount of data in the second network device is less than the preset amount threshold; Determine the difference between the amount of data in the first network device and a preset amount threshold as the amount to be adjusted; The amount of data to be adjusted is transferred from the first network device to the second network device.
9. The method according to claim 8, characterized in that Transferring the amount of data to be adjusted from the first network device to the second network device includes: Determining a device to be received from each of the second network devices according to the amount of data currently stored in each of the second network devices; The amount of data to be adjusted is transferred from the first network device to the device to be received.
10. The method according to claim 1, characterized in that Each network device includes a plurality of first switches, a plurality of second switches, and a third switch, wherein 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, and the third switch is used to send the received data to be transmitted to the target network device; Obtaining data to be transmitted from a preset terminal device through a switch in the starting network device, including: Obtaining the data to be transmitted from a preset terminal device through the first switch in the starting network device, and forwarding the data to be transmitted to the second switch; The data to be transmitted is forwarded to the third switch through the second switch.
11. A data transmission device, comprising: A response module, configured to respond to a data transmission instruction issued by the first tenant in the starting network device, and obtain 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; A first determination module is used to determine the address information of a preset target network device, and determine 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; wherein the preset target network device is a network device other than the starting network device in the SDN network; A transmission module is used to transmit the data to be transmitted to the target network device according to the data transmission path.
12. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 10.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 10 when executed by a processor.
14. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 10 when being executed by a processor.
Citation Information
Patent Citations
Overlay network routing method and system, and equipment
CN108111413A
Tenant communication method and device, electronic equipment and storage medium
CN117792995A
Region interconnect controller, region interconnect control method, and computer storage medium
US20210377149A1
Deployment checks for a containerized SDN architecture system
US20240095158A1
Filters for advertised routes from tenant gateways in a software-defined data center
US20240403097A1