TWI735633B - Data transmission method, equipment, device and system - Google Patents

Data transmission method, equipment, device and system Download PDF

Info

Publication number
TWI735633B
TWI735633B TW106126942A TW106126942A TWI735633B TW I735633 B TWI735633 B TW I735633B TW 106126942 A TW106126942 A TW 106126942A TW 106126942 A TW106126942 A TW 106126942A TW I735633 B TWI735633 B TW I735633B
Authority
TW
Taiwan
Prior art keywords
data
data information
information
cloud
target device
Prior art date
Application number
TW106126942A
Other languages
Chinese (zh)
Other versions
TW201818699A (en
Inventor
鄧良夫
祝順民
文榮
孫成浩
Original Assignee
香港商阿里巴巴集團服務有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 香港商阿里巴巴集團服務有限公司 filed Critical 香港商阿里巴巴集團服務有限公司
Publication of TW201818699A publication Critical patent/TW201818699A/en
Application granted granted Critical
Publication of TWI735633B publication Critical patent/TWI735633B/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

本申請案公開了一種資料傳輸的方法、設備、裝置及系統,所述方法包括:回應於接收到資料資訊,判斷所述資料資訊所源自的來源設備是雲端設備還是使用者設備;基於所述判斷的結果,對所述資料資訊進行對應的處理,以獲取處理後的資料;確定所述資料資訊指示的目標設備;基於所述處理後的資料向所述目標設備傳輸資料。該實施方式實現了雲端設備和使用者設備的相互進接,避免了因向雲端設備分配公網IP位址而造成的公共資源的浪費,節省了公共資源。 This application discloses a data transmission method, equipment, device, and system. The method includes: in response to receiving data information, determining whether the source device from which the data information originates is a cloud device or a user device; According to the result of the judgment, corresponding processing is performed on the data information to obtain processed data; the target device indicated by the data information is determined; and data is transmitted to the target device based on the processed data. This implementation mode realizes the mutual access between the cloud device and the user device, avoids the waste of public resources caused by allocating public network IP addresses to the cloud device, and saves public resources.

Description

資料傳輸的方法、設備、裝置及系統 Data transmission method, equipment, device and system

本申請案涉及網路技術領域,尤其涉及一種資料傳輸的方法、設備、裝置及系統。 This application relates to the field of network technology, and in particular to a method, equipment, device and system for data transmission.

隨著網路技術的不斷發展,雲端技術也越來越成熟,使人們的生活和工作變得更加方便。越來越多的雲端計算服務商向大眾提供各種雲端計算平臺,每個雲端計算平臺中具有豐富的計算資源,包括:虛擬機器,資料庫,負載等化器,雲端儲存平臺,雲端網路安全防禦平臺等,這些計算資源相互協調工作,能夠為使用者提供多種服務。每個雲端計算平臺的計算資源均處於同一個私網內,因此對應於同一個雲端計算平臺的計算資源可以通過私網位址相互進接。但是使用者設備和雲端計算平臺中的計算資源不在同一私網內,因此,不能通過私網位址相互進接。 With the continuous development of network technology, cloud technology has become more and more mature, making people's lives and work more convenient. More and more cloud computing service providers provide various cloud computing platforms to the public. Each cloud computing platform has rich computing resources, including: virtual machines, databases, load equalizers, cloud storage platforms, and cloud network security Defense platforms, etc., these computing resources work in coordination with each other and can provide users with a variety of services. The computing resources of each cloud computing platform are in the same private network, so computing resources corresponding to the same cloud computing platform can be connected to each other through private network addresses. However, the computing resources in the user equipment and the cloud computing platform are not in the same private network, so they cannot be connected to each other through private network addresses.

在現有技術中,一般通過給雲端計算平臺的計算資源配置公網IP位址,以實現與使用者設備的相互進接。但目前公網IP位址比較緊缺,如果給大量的雲端計算平臺計算資源配置公網IP位址,會消耗大量的公網IP位址,造成了資源的浪費。 In the prior art, the computing resources of the cloud computing platform are generally configured with public network IP addresses to achieve mutual access to user equipment. However, public network IP addresses are currently in short supply. If a large number of cloud computing platform computing resources are allocated with public network IP addresses, a large number of public network IP addresses will be consumed, resulting in a waste of resources.

為了解決上述技術問題,本申請案提供了一種資料傳輸的方法、設備、裝置及系統。 In order to solve the above technical problems, this application provides a method, equipment, device and system for data transmission.

根據本申請案實施例的第一方面,提供一種資料傳輸方法,所述方法包括:回應於接收到資料資訊,判斷所述資料資訊所源自的來源設備是雲端設備還是使用者設備;基於所述判斷的結果,對所述資料資訊進行對應的處理,以獲取處理後的資料;確定所述資料資訊指示的目標設備;基於所述處理後的資料向所述目標設備傳輸資料。 According to a first aspect of the embodiments of the present application, there is provided a data transmission method, the method includes: in response to receiving data information, determining whether the source device from which the data information originates is a cloud device or a user device; According to the result of the judgment, corresponding processing is performed on the data information to obtain processed data; the target device indicated by the data information is determined; and data is transmitted to the target device based on the processed data.

根據本申請案實施例的第二方面,提供一種資料傳輸方法,所述方法包括:回應於獲取到資料資訊,判斷所述資料資訊所源自的來源設備是雲端設備還是使用者設備;若所述來源設備是雲端設備,獲取傳輸所述資料資訊的資料傳輸通道匹配的隧道協定資訊;根據所述隧道協定資訊對所述資料資訊進行解封裝,以獲得原始資料資訊;確定所述資料資訊指示的目標設備作為第一目標設備;向所述第一目標設備包括的預定單元傳輸所述原始資料資訊。 According to a second aspect of the embodiments of the present application, there is provided a data transmission method, the method includes: in response to obtaining data information, determining whether the source device from which the data information originates is a cloud device or a user device; The source device is a cloud device, which obtains tunnel protocol information matching the data transmission channel for transmitting the data information; decapsulates the data information according to the tunnel protocol information to obtain the original data information; and determines the data information instruction The target device of is used as the first target device; the original data information is transmitted to a predetermined unit included in the first target device.

根據本申請案實施例的第三方面,提供一種閘道設備,所述閘道設備包括:接收器、中央處理單元、處理單元、資料解析單元、發送器;其中,由所述接收器接收資料資訊,中央處理單元回應於所述接收器接收到資料資訊,判斷所述資料資訊所源自的來源設備是雲端設備還是使用者設備,所述處理單元基於所述中央處理單元判斷的結果,對所述資料資訊進行對應的處理,以獲取處理後的資料,所述資料解析單元確定所述資料資訊指示的目標設備,由所述發送器基於所述處理後的資料向所述目標設備傳輸資料。 According to a third aspect of the embodiments of the present application, a gateway device is provided, the gateway device includes: a receiver, a central processing unit, a processing unit, a data analysis unit, and a transmitter; wherein the receiver receives data In response to the data information received by the receiver, the central processing unit determines whether the source device from which the data information originates is a cloud device or a user device, and the processing unit based on the result determined by the central processing unit, The data information performs corresponding processing to obtain processed data, the data analysis unit determines the target device indicated by the data information, and the transmitter transmits data to the target device based on the processed data .

根據本申請案實施例的第四方面,提供一種設備,所述設備包括:資訊獲取單元、中央處理單元、處理單元、資料解析單元、傳輸單元;其中,由所述資訊獲取單元獲取資料資訊,中央處理單元回應於所述資訊獲取單元獲取到資料資訊,判斷所述資料資訊所源自的來源設備是雲端設備還是使用者設備,若所述中央處理單元判斷的結果為來源設備是雲端設備,則所述處理單元根據所述隧道協定資訊對所述資料資訊進行解封裝,以獲得原始資料資訊,所述資料解析單元確定所述資料資訊指示的目標設備作為第一目標設備;由所述傳輸單元向所述第一目標設備包括的預定單元傳輸所述原始資料資訊。 According to a fourth aspect of the embodiments of the present application, a device is provided, the device includes: an information acquisition unit, a central processing unit, a processing unit, a data analysis unit, and a transmission unit; wherein the information acquisition unit acquires data information, In response to the data information being acquired by the information acquiring unit, the central processing unit determines whether the source device from which the data information originates is a cloud device or a user device, and if the determination result of the central processing unit is that the source device is a cloud device, Then the processing unit decapsulates the data information according to the tunnel agreement information to obtain the original data information, and the data analysis unit determines the target device indicated by the data information as the first target device; The unit transmits the original data information to a predetermined unit included in the first target device.

根據本申請案實施例的第五方面,提供一種資料傳輸裝置,所述裝置包括: 判斷單元,用於回應於接收到資料資訊,判斷所述資料資訊所源自的來源設備是雲端設備還是使用者設備;處理單元,用於基於所述判斷的結果,對所述資料資訊進行對應的處理,以獲取處理後的資料;確定單元,用於確定所述資料資訊指示的目標設備;傳輸單元,用於基於所述處理後的資料向所述目標設備傳輸資料。 According to a fifth aspect of the embodiments of the present application, there is provided a data transmission device, the device comprising: a determining unit for determining whether the source device from which the data information originates is a cloud device or a device in response to receiving data information者 equipment; a processing unit for performing corresponding processing on the data information based on the result of the judgment to obtain processed data; a determining unit for determining the target equipment indicated by the data information; a transmission unit, It is used to transmit data to the target device based on the processed data.

根據本申請案實施例的第六方面,提供一種資料傳輸裝置,所述裝置包括:判斷單元,用於回應於獲取到資料資訊,判斷所述資料資訊所源自的來源設備是雲端設備還是使用者設備;獲取單元,用於在所述來源設備是雲端設備時,獲取傳輸所述資料資訊的資料傳輸通道匹配的隧道協定資訊;解封裝單元,用於根據所述隧道協定資訊對所述資料資訊進行解封裝,以獲得原始資料資訊;確定單元,用於確定所述資料資訊指示的目標設備作為第一目標設備;傳輸單元,用於向所述第一目標設備包括的預定單元傳輸資料所述原始資料資訊。 According to a sixth aspect of the embodiments of the present application, there is provided a data transmission device, the device comprising: a determining unit for determining whether the source device from which the data information originates is a cloud device or a device in response to obtaining data information者 device; an acquisition unit for acquiring tunnel protocol information matching the data transmission channel for transmitting the data information when the source device is a cloud device; a decapsulation unit for acquiring the data according to the tunnel agreement information The information is decapsulated to obtain the original data information; the determining unit is used to determine the target device indicated by the data information as the first target device; the transmission unit is used to transmit the data to a predetermined unit included in the first target device State the original data information.

根據本申請案實施例的第七方面,提供一種系統,所述系統包括多個雲端設備,多個使用者設備,至少一個閘道設備;其中,所述閘道設備包括第三方面所述的閘道設備,或如第五方面所述的資料傳輸裝置; 所述使用者設備包括第四方面所述的設備,或如第六方面所述的資料傳輸裝置。 According to a seventh aspect of the embodiments of the present application, a system is provided. The system includes multiple cloud devices, multiple user devices, and at least one gateway device; wherein, the gateway device includes the third aspect Gateway equipment, or the data transmission device according to the fifth aspect; The user equipment includes the equipment according to the fourth aspect, or the data transmission device according to the sixth aspect.

應用上述實施例,通過判斷接收到的資料資訊所源自的來源設備是雲端設備還是使用者設備的判斷結果,對接收到的資料資訊進行相應的處理,並在確定該資料資訊指示的目標設備後,基於處理後的資料向目標設備傳輸資料。從而實現了雲端設備和使用者設備的相互進接,避免了因向雲端設備分配公網IP位址而造成的公共資源的浪費,節省了公共資源。 Applying the above-mentioned embodiment, by judging whether the source device from which the received data information originates is a cloud device or a user device, the received data information is processed accordingly, and the target device indicated by the data information is determined Then, based on the processed data, it transmits data to the target device. In this way, the mutual access between the cloud device and the user device is realized, the waste of public resources caused by the allocation of public network IP addresses to the cloud device is avoided, and public resources are saved.

應當理解的是,以上的一般描述和後文的細節描述僅是示例性和解釋性的,並不能限制本申請案。 It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the application.

100‧‧‧系統架構 100‧‧‧System Architecture

101、102‧‧‧雲端設備 101, 102‧‧‧Cloud device

103‧‧‧閘道設備 103‧‧‧Gateway equipment

104、105、106‧‧‧使用者設備 104, 105, 106‧‧‧User equipment

700‧‧‧設備 700‧‧‧Equipment

701‧‧‧資料傳輸裝置 701‧‧‧Data Transmission Device

702‧‧‧處理器 702‧‧‧Processor

703‧‧‧記憶體 703‧‧‧Memory

704‧‧‧網路介面 704‧‧‧Network interface

705‧‧‧非易失性記憶體 705‧‧‧Non-volatile memory

706‧‧‧內部匯流排 706‧‧‧Internal bus

801‧‧‧接收器 801‧‧‧Receiver

802‧‧‧中央處理單元 802‧‧‧Central Processing Unit

803‧‧‧處理單元 803‧‧‧Processing unit

804‧‧‧資料解析單元 804‧‧‧Data Analysis Unit

805‧‧‧發送器 805‧‧‧Transmitter

901‧‧‧資訊獲取單元 901‧‧‧Information Acquisition Unit

902‧‧‧中央處理單元 902‧‧‧Central Processing Unit

903‧‧‧處理單元 903‧‧‧Processing unit

904‧‧‧資料解析單元 904‧‧‧Data Analysis Unit

905‧‧‧傳輸單元 905‧‧‧Transmission unit

1001‧‧‧判斷單元 1001‧‧‧Judging unit

1002‧‧‧處理單元 1002‧‧‧Processing unit

1003‧‧‧確定單元 1003‧‧‧Determining the unit

1004‧‧‧傳輸單元 1004‧‧‧Transmission unit

1101‧‧‧判斷單元 1101‧‧‧Judging unit

1102‧‧‧獲取單元 1102‧‧‧Acquisition Unit

1103‧‧‧解封裝單元 1103‧‧‧Decapsulation unit

1104‧‧‧確定單元 1104‧‧‧Determining the unit

1105‧‧‧傳輸單元 1105‧‧‧Transmission unit

此處的附圖被併入說明書中並構成本說明書的一部分,示出了符合本申請案的實施例,並與說明書一起用於解釋本申請案的原理。 The drawings here are incorporated into the specification and constitute a part of the specification, show embodiments conforming to the application, and are used together with the specification to explain the principle of the application.

圖1為應用本申請案實施例的示例性系統架構示意圖;圖2為本申請案資料傳輸方法的一個實施例流程圖;圖3A為本申請案資料傳輸方法的另一個實施例流程圖;圖3B為本申請案資料傳輸方法的另一個實施例流程圖;圖4為本申請案資料傳輸方法的另一個實施例流程 圖;圖5為本申請案資料傳輸方法的另一個實施例流程圖;圖6為本申請案資料傳輸方法的另一個實施例流程圖;圖7為本申請案資料傳輸裝置所在設備的一種硬體結構圖;圖8為本申請案閘道設備的一個實施例方塊圖;圖9為本申請案一種設備的一個實施例方塊圖;圖10為本申請案資料傳輸裝置的一個實施例方塊圖;圖11為本申請案資料傳輸裝置的另一個實施例方塊圖。 Fig. 1 is a schematic diagram of an exemplary system architecture applying an embodiment of the application; Fig. 2 is a flowchart of an embodiment of a data transmission method of the application; Fig. 3A is a flowchart of another embodiment of the data transmission method of the application; 3B is a flowchart of another embodiment of the application data transmission method; FIG. 4 is a flowchart of another embodiment of the application data transmission method; FIG. 5 is a flowchart of another embodiment of the application data transmission method; Fig. 6 is a flowchart of another embodiment of the application data transmission method; Fig. 7 is a hardware structure diagram of the equipment where the application data transmission device is located; Fig. 8 is a block diagram of an embodiment of the gateway device of the application 9 is a block diagram of an embodiment of a device in this application; FIG. 10 is a block diagram of an embodiment of a data transmission device in this application; FIG. 11 is a block diagram of another embodiment of a data transmission device in this application.

這裡將詳細地對示例性實施例進行說明,其示例表示在附圖中。下面的描述涉及附圖時,除非另有表示,不同附圖中的相同數字表示相同或相似的要素。以下示例性實施例中所描述的實施方式並不代表與本申請案相一致的所有實施方式。相反,它們僅是與如所附申請專利範圍中所詳述的、本申請案的一些方面相一致的裝置和方法的例子。 The exemplary embodiments will be described in detail here, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with this application. On the contrary, they are only examples of devices and methods consistent with some aspects of this application as detailed in the scope of the appended application.

在本申請案使用的術語是僅僅出於描述特定實施例的目的,而非旨在限制本申請案。在本申請案和所附申請專利範圍中所使用的單數形式的“一種”、“所述”和“該”也旨 在包括多數形式,除非上下文清楚地表示其他含義。還應當理解,本文中使用的術語“和/或”是指並包含一個或多個相關聯的列出專案的任何或所有可能組合。 The terms used in this application are only for the purpose of describing specific embodiments, and are not intended to limit the application. The singular forms of "a", "the" and "the" used in the patent scope of this application and the appended applications are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and/or" as used herein refers to and includes any or all possible combinations of one or more associated listed items.

應當理解,儘管在本申請案可能採用術語第一、第二、第三等來描述各種資訊,但這些資訊不應限於這些術語。這些術語僅用來將同一類型的資訊彼此區分開。例如,在不脫離本申請案範圍的情況下,第一資訊也可以被稱為第二資訊,類似地,第二資訊也可以被稱為第一資訊。取決於語境,如在此所使用的詞語“如果”可以被解釋成為“在......時”或“當......時”或“回應於確定”。 It should be understood that although the terms first, second, third, etc. may be used in this application to describe various information, the information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this application, the first information can also be referred to as second information, and similarly, the second information can also be referred to as first information. Depending on the context, the word "if" as used herein can be interpreted as "when" or "when" or "in response to certainty".

參見圖1,為應用本申請案實施例的示例性系統架構示意圖:如圖1所示,系統架構100可以包括雲端設備101、102,使用者設備104、105、106,閘道設備103。 Refer to FIG. 1, which is a schematic diagram of an exemplary system architecture applying the embodiment of the present application: As shown in FIG.

雲端設備101、102可以是雲端計算平臺中的各種計算設備(如可以是終端,也可以是伺服器),雲端設備101、102以及閘道設備103均處於雲端計算平臺的私網內,相互之間可以直接進行互動,以接收或發送請求或資訊等。閘道設備103可以是管理雲端設備與上述私網外的設備進行通信的閘道設備。雲端設備101、102可以通過任意有線或無線的方式與閘道設備103建立通信連接,並通過閘道設備103與該私網外的設備進行互動。 The cloud devices 101, 102 can be various computing devices in the cloud computing platform (such as terminals or servers). The cloud devices 101, 102 and the gateway device 103 are all in the private network of the cloud computing platform, and they are mutually connected. You can directly interact with each other to receive or send requests or information. The gateway device 103 may be a gateway device that manages communication between cloud devices and devices outside the private network. The cloud devices 101 and 102 can establish a communication connection with the gateway device 103 in any wired or wireless manner, and interact with devices outside the private network through the gateway device 103.

使用者設備104、105、106可以是雲端計算平臺以外的各種計算設備(如可以是終端,也可以是伺服器,還可 以是閘道設備等)。並且,使用者設備104、105、106與雲端設備101、102並不在同一個私網內,因此,不能與雲端設備101、102直接進行互動,需要通過閘道設備103與雲端設備101、102進行互動。 The user equipment 104, 105, 106 can be various computing devices other than the cloud computing platform (for example, it can be a terminal, a server, or a gateway device, etc.). Moreover, the user equipment 104, 105, 106 and the cloud equipment 101, 102 are not in the same private network, therefore, they cannot directly interact with the cloud equipment 101, 102, and the gateway device 103 needs to communicate with the cloud equipment 101, 102. interactive.

應該理解,圖1中的雲端設備、使用者設備和閘道設備的數目僅僅是示意性的。根據實現需要,可以具有任意數目的雲端設備、使用者設備和閘道設備。 It should be understood that the numbers of cloud devices, user devices, and gateway devices in FIG. 1 are merely illustrative. According to implementation needs, there can be any number of cloud devices, user devices, and gateway devices.

下面將結合具體的實施例對本申請案進行詳細描述。 The application will be described in detail below in conjunction with specific embodiments.

參見圖2,為本申請案資料傳輸方法的一個實施例流程圖,該實施例可以應用在雲端閘道設備中,包括如下步驟:在步驟201中,回應於接收到資料資訊,判斷該資料資訊所源自的來源設備是雲端設備還是使用者設備。 Refer to FIG. 2, which is a flowchart of an embodiment of the data transmission method of this application. This embodiment can be applied to a cloud gateway device and includes the following steps: In step 201, in response to receiving the data information, determine the data information Whether the source device from which it originated is a cloud device or a user device.

一般來說,雲端計算平臺中可以包括一些計算資源,這些計算資源相互協調工作,可以實現雲端計算平臺的對外服務功能。雲端計算平臺中的計算資源可以包括但不限於虛擬機器,資料庫,負載等化器,雲端儲存平臺,雲端網路安全防禦平臺等等。 Generally speaking, a cloud computing platform can include some computing resources, and these computing resources work in coordination with each other to realize the external service function of the cloud computing platform. The computing resources in the cloud computing platform may include, but are not limited to, virtual machines, databases, load equalizers, cloud storage platforms, cloud network security defense platforms, and so on.

在本實施例中,雲端設備可以為雲端計算平臺中包括的各種計算設備(如終端,或者伺服器等)。例如,雲端設備可以為運行虛擬機器的電腦,儲存資料庫的存放裝置,負載等化器,運行雲端儲存平臺的伺服器等等。使用者設備可以為雲端計算平臺包括的設備以外的設備。例如,使用者設備可以為個人電腦,也可能是企業、政府等 機構的網際網路資料中心、機房中的設備等。 In this embodiment, the cloud device may be various computing devices (such as a terminal, or a server, etc.) included in the cloud computing platform. For example, the cloud device can be a computer running a virtual machine, a storage device for storing a database, a load equalizer, a server running a cloud storage platform, and so on. The user equipment may be equipment other than the equipment included in the cloud computing platform. For example, the user equipment may be a personal computer, or it may be an Internet data center or equipment in a computer room of an organization such as a company or government.

在本實施例中,執行主體可以是雲端閘道設備,雲端閘道設備與上述雲端設備均處於雲端計算平臺的私網內,雲端閘道設備可以用於管理雲端設備與上述私網外的設備(如使用者設備等)之間的通信。 In this embodiment, the execution subject may be a cloud gateway device. The cloud gateway device and the aforementioned cloud device are both in the private network of the cloud computing platform, and the cloud gateway device can be used to manage the cloud device and the aforementioned device outside the private network. (Such as user equipment, etc.) communication between.

在步驟202中,基於上述判斷的結果,對上述資料資訊進行對應的處理,以獲取處理後的資料。 In step 202, based on the result of the foregoing judgment, corresponding processing is performed on the foregoing data information to obtain processed data.

在本實施例中,可以根據上述判斷的不同結果,對上述資料資訊進行不同的處理,以得到處理後的資料。例如,如果來源設備是雲端設備,則可以獲取資料傳輸通道匹配的隧道協定資訊,並根據該隧道協定資訊將上述資料資訊封裝成隧道協定資料包,該隧道協定資料包即為處理後的資料。 In this embodiment, different processing can be performed on the above-mentioned data information according to the different results of the above-mentioned judgment, so as to obtain the processed data. For example, if the source device is a cloud device, the tunnel protocol information matching the data transmission channel can be obtained, and the data information can be encapsulated into a tunnel protocol data packet based on the tunnel protocol information, and the tunnel protocol data packet is the processed data.

如果來源設備是使用者設備,則確定上述資料資訊是否包括位址解析協定ARP請求。若未包括ARP請求,獲取傳輸該資料資訊的資料傳輸通道匹配的隧道協定資訊,並根據該隧道協定資訊對上述資料資訊進行解封裝,以獲得原始資料資訊,該原始資料資訊即為處理後的資料。 If the source device is a user device, it is determined whether the aforementioned data information includes an address resolution protocol ARP request. If the ARP request is not included, obtain the tunnel protocol information matching the data transmission channel that transmits the data information, and decapsulate the above data information according to the tunnel protocol information to obtain the original data information. The original data information is the processed material.

在步驟203中,確定上述資料資訊指示的目標設備。 In step 203, the target device indicated by the aforementioned data information is determined.

在本實施例中,上述資料資訊中包括目標設備的資訊,可以對上述資料資訊進行解析,從中獲取目標設備的資訊,以確定該資料資訊指示的目標設備。其中,目標設備為資料資訊的最終傳輸目標。 In this embodiment, the above-mentioned data information includes the information of the target device, and the above-mentioned data information can be parsed to obtain the information of the target device therefrom to determine the target device indicated by the data information. Among them, the target device is the final transmission target of the data information.

一般來說,如果來源設備是雲端設備,則目標設備通 常為使用者設備,如果來源設備是使用者設備,則目標設備通常為雲端設備。 Generally speaking, if the source device is a cloud device, the target device is usually a user device, and if the source device is a user device, the target device is usually a cloud device.

在步驟204中,基於上述處理後的資料向上述目標設備傳輸資料。 In step 204, data is transmitted to the above-mentioned target device based on the above-mentioned processed data.

在本實施例中,可以基於上述處理後的資料向上述目標設備傳輸資料。例如,如果來源設備是雲端設備,處理後的資料為得到的隧道協定資料包。則可以通過專用的資料傳輸通道向對應的目標設備發送該隧道協定資料包,該目標設備可以將隧道協定資料包解封裝後,獲取上述資料資訊。也可以通過專用的資料傳輸通道向目標設備對應的閘道(用於管理該目標設備與其它設備進行通信的閘道)發送該隧道協定資料包,該閘道將隧道協定資料包解封裝後,得到上述資料資訊,並將該資料資訊發送給目標設備。 In this embodiment, data can be transmitted to the target device based on the processed data. For example, if the source device is a cloud device, the processed data is the obtained tunnel protocol data packet. Then, the tunnel protocol data packet can be sent to the corresponding target device through a dedicated data transmission channel, and the target device can decapsulate the tunnel protocol data packet to obtain the aforementioned data information. It is also possible to send the tunnel protocol data packet to the gateway corresponding to the target device (the gateway used to manage the communication between the target device and other devices) through a dedicated data transmission channel. After the gateway decapsulates the tunnel protocol data packet, Obtain the above-mentioned data information, and send the data information to the target device.

如果來源設備是使用者設備,且上述資料資訊中不包括ARP請求,處理後的資料為原始資料資訊。則可以直接向對應的目標雲端設備發送該原始資料資訊。 If the source device is a user device, and the above data information does not include an ARP request, the processed data is the original data information. Then, the original data information can be sent directly to the corresponding target cloud device.

應用上述實施例,通過判斷接收到的資料資訊所源自的來源設備是雲端設備還是使用者設備的判斷結果,對接收到的資料資訊進行相應的處理,並在確定該資料資訊指示的目標設備後,基於處理後的資料向目標設備傳輸資料。從而實現了雲端設備和使用者設備的相互進接,避免了因向雲端設備分配公網IP位址而造成的公共資源的浪費,節省了公共資源。 Applying the above-mentioned embodiment, by judging whether the source device from which the received data information originates is a cloud device or a user device, the received data information is processed accordingly, and the target device indicated by the data information is determined Then, based on the processed data, it transmits data to the target device. In this way, the mutual access between the cloud device and the user device is realized, the waste of public resources caused by the allocation of public network IP addresses to the cloud device is avoided, and public resources are saved.

參見圖3A和圖3B,為本申請案資料傳輸方法的另一個實施例流程圖,該實施例可以應用在雲端閘道設備中,該實施例在圖2實施例的基礎上結合具體的例子對對資料資訊進行處理以及向目標設備傳輸資料的過程進行了進一步詳細的描述,該方法包括如下步驟:在步驟301中,回應於接收到資料資訊,判斷該資料資訊所源自的來源設備是雲端設備還是使用者設備。 Referring to Figures 3A and 3B, this is a flow chart of another embodiment of the application data transmission method. This embodiment can be applied to a cloud gateway device. This embodiment is based on the embodiment of Figure 2 in combination with specific examples. The process of processing data information and transmitting data to the target device is described in further detail. The method includes the following steps: In step 301, in response to receiving the data information, it is determined that the source device from which the data information originates is the cloud The equipment is still user equipment.

在本實施例中,當上述雲端閘道設備接收到資料資訊時,首先需要確定發送該資料資訊的來源設備。發送資料資訊的來源設備可以是雲端設備,也可以是使用者設備。如果上述來源設備為雲端設備,則說明該資料資訊從雲端設備向使用者設備傳輸。如果上述來源設備為使用者設備,則說明該資料資訊從使用者設備向雲端設備傳輸。 In this embodiment, when the aforementioned cloud gateway device receives data information, it first needs to determine the source device that sends the data information. The source device for sending data information can be a cloud device or a user device. If the aforementioned source device is a cloud device, it means that the data information is transmitted from the cloud device to the user device. If the aforementioned source device is a user device, it means that the data information is transferred from the user device to the cloud device.

在步驟302中,若來源設備是雲端設備,獲取資料傳輸通道匹配的隧道協定資訊。 In step 302, if the source device is a cloud device, obtain tunnel protocol information matching the data transmission channel.

在步驟303中,根據該隧道協定資訊將上述資料資訊封裝成隧道協定資料包。 In step 303, the above-mentioned data information is encapsulated into a tunnel agreement data packet according to the tunnel agreement information.

在本實施例中,可以通過預先設置的資料傳輸通道將該資料資訊發送給目標設備。其中,資料傳輸通道為預先設置在雲端閘道設備和使用者設備之間的專用通道,專用於在雲端閘道設備和使用者設備之間提供通信鏈路的媒體,可以包括各種連接類型,例如有線、無線通訊鏈路或者光纖電纜等等。 In this embodiment, the data information can be sent to the target device through a preset data transmission channel. Among them, the data transmission channel is a dedicated channel pre-set between the cloud gateway device and the user device, and is dedicated to the media that provides a communication link between the cloud gateway device and the user device. It can include various connection types, such as Wired, wireless communication link or fiber optic cable, etc.

具體來說,首先,可以獲取與上述資料傳輸通道匹配 的隧道協定資訊。可以從計算平臺的計算資源與隧道協定資訊(如vxlan(virtual Extensible LAN,虛擬可擴展局域網)的vni值(VXLAN Network Identifier,VXLAN網路識別符))的映射表中獲取上述隧道協定資訊。 Specifically, first, the tunnel protocol information matching the above-mentioned data transmission channel can be obtained. The tunnel protocol information can be obtained from the mapping table of the computing resources of the computing platform and the tunnel protocol information (such as the vni value (VXLAN Network Identifier, VXLAN network identifier) of vxlan (virtual Extensible LAN)).

接著,根據隧道協定資訊將該資料資訊封裝成隧道協定資料包,隧道協定資料包為在原始資料包的基礎上增加了一個外層包頭而生成的資料包,外層包頭中包含目標設備的位址資訊,或者包含目標設備對應的閘道的位址資訊。 Then, the data information is encapsulated into a tunnel protocol data packet based on the tunnel protocol information. The tunnel protocol data packet is a data packet generated by adding an outer header to the original data packet, and the outer header contains the address information of the target device , Or contains the address information of the gateway corresponding to the target device.

在步驟304中,從資料資訊中解析出該資料資訊傳輸的目標使用者設備,作為第一目標設備。 In step 304, the target user equipment of the data information transmission is parsed from the data information as the first target equipment.

在本實施例中,若來源設備為雲端設備,則可以確定資料資訊從雲端設備向使用者設備傳輸。首先,需要確定上述資料資訊指示的目標使用者設備作為第一目標設備。其中,該資料資訊指示的目標使用者設備即為該資料資訊的最終傳輸目標。一般來說,資料資訊中攜帶傳輸目標的相關資訊,因此,可以通過對資料資訊的解析確定該資料資訊傳輸的目標使用者設備,作為第一目標設備。 In this embodiment, if the source device is a cloud device, it can be determined that the data information is transmitted from the cloud device to the user device. First, it is necessary to determine the target user equipment indicated by the data information as the first target equipment. The target user equipment indicated by the data information is the final transmission target of the data information. Generally speaking, the data information carries the relevant information of the transmission target. Therefore, the target user equipment of the data information transmission can be determined by analyzing the data information as the first target device.

在步驟305a中,通過上述資料傳輸通道向第一目標設備發送該隧道協定資料包。 In step 305a, the tunnel agreement data packet is sent to the first target device through the above-mentioned data transmission channel.

在步驟305b中,通過上述資料傳輸通道向第一目標設備對應的閘道發送隧道協定資料包。 In step 305b, the tunnel agreement data packet is sent to the gateway corresponding to the first target device through the above-mentioned data transmission channel.

在本實施例中,第一目標設備可以直接與雲端閘道設備進行通信,也可以通過使用者閘道設備與雲端閘道設備 進行通信。當第一目標設備能夠直接與雲端閘道設備進行通信時,雲端閘道設備可以通過上述預先設置的資料傳輸通道,向第一目標設備發送該隧道協定資料包,以供第一目標設備將該隧道協定資料包進行解封裝,去除外層包頭後,獲取該資料資訊。 In this embodiment, the first target device can directly communicate with the cloud gateway device, or it can communicate with the cloud gateway device through the user gateway device. When the first target device can directly communicate with the cloud gateway device, the cloud gateway device can send the tunnel protocol data packet to the first target device through the above-mentioned preset data transmission channel, so that the first target device can use The tunnel protocol data packet is decapsulated, and the data information is obtained after removing the outer header.

當第一目標設備需要通過使用者閘道設備與雲端閘道設備進行通信時,雲端閘道設備可以通過上述預先設置的資料傳輸通道,向第一目標設備對應的使用者閘道設備發送該隧道協定資料包,以供該使用者閘道設備將該隧道協定資料包進行解封裝,去除外層包頭後,獲取上述資料資訊,並將該資料資訊發送給第一目標設備。 When the first target device needs to communicate with the cloud gateway device through the user gateway device, the cloud gateway device can send the tunnel to the user gateway device corresponding to the first target device through the above-mentioned preset data transmission channel Protocol data packet for the user gateway device to decapsulate the tunnel protocol data packet, after removing the outer header, obtain the above data information, and send the data information to the first target device.

應用上述實施例,在來源設備是雲端設備時,根據資料傳輸通道匹配的隧道協定資訊將接收到的資料資訊封裝成隧道協定資料包,確定目標使用者設備,並通過資料傳輸通道向目標使用者設備或者向目標使用者設備對應的閘道發送該隧道協定資料包。從而實現了雲端設備和使用者設備的相互進接,避免了因向雲端設備分配公網IP位址而造成的公共資源的浪費,節省了公共資源。 Applying the above embodiment, when the source device is a cloud device, the received data information is encapsulated into a tunnel protocol data packet according to the tunnel protocol information matched by the data transmission channel, the target user device is determined, and the target user is sent to the target user through the data transmission channel The device or sends the tunnel protocol data packet to the gateway corresponding to the target user device. In this way, the mutual access between the cloud device and the user device is realized, the waste of public resources caused by the allocation of public network IP addresses to the cloud device is avoided, and public resources are saved.

參見圖4,為本申請案資料傳輸方法的另一個實施例流程圖,該實施例可以應用在雲端閘道設備中,該實施例在圖2實施例的基礎上結合具體的例子對對資料資訊進行處理以及向目標設備傳輸資料的過程進行了進一步詳細的描述,該方法包括如下步驟:在步驟401中,回應於接收到資料資訊,判斷該資料 資訊所源自的來源設備是雲端設備還是使用者設備。 Refer to FIG. 4, which is a flowchart of another embodiment of the data transmission method of this application. This embodiment can be applied to a cloud gateway device. This embodiment compares data information with specific examples on the basis of the embodiment in FIG. The process of processing and transmitting data to the target device is described in further detail. The method includes the following steps: In step 401, in response to receiving data information, it is determined whether the source device from which the data information originates is a cloud device or a user者设备.

在步驟402中,若來源設備是使用者設備,則確定上述資料資訊是否包括位址解析協定ARP請求。 In step 402, if the source device is a user device, it is determined whether the aforementioned data information includes an address resolution protocol ARP request.

在本實施例中,雲端閘道設備還可以具有ARP(Address Resolution Protocol,位址解析協定)代理功能,該代理功能能夠處理使用者設備的ARP請求。因此,若上述來源設備為使用者設備時,則可以進一步確定上述資料資訊是否包括ARP請求。ARP即位址解析協定,是根據IP位址獲取物理位址的一個TCP/IP協定。使用者設備可以向雲端閘道設備發送包含目標設備IP位址的ARP請求,以獲取目標設備的物理位址,從而可以基於目標設備的物理位址通過預先設置的資料傳輸通道與目標設備直接進行通信。 In this embodiment, the cloud gateway device may also have an ARP (Address Resolution Protocol, Address Resolution Protocol) proxy function, which can process the ARP request of the user device. Therefore, if the source device is a user device, it can be further determined whether the data information includes an ARP request. ARP stands for Address Resolution Protocol, which is a TCP/IP protocol for obtaining physical addresses based on IP addresses. The user device can send an ARP request containing the IP address of the target device to the cloud gateway device to obtain the physical address of the target device, so that it can directly communicate with the target device through the preset data transmission channel based on the physical address of the target device Communication.

在步驟403中,若上述資料資訊未包括ARP請求,獲取傳輸上述資料資訊的資料傳輸通道匹配的隧道協定資訊。 In step 403, if the data information does not include an ARP request, obtain tunnel protocol information matching the data transmission channel for transmitting the data information.

在步驟404中,根據該隧道協定資訊對該資料資訊進行解封裝,以獲得原始資料資訊。 In step 404, the data information is decapsulated according to the tunnel protocol information to obtain the original data information.

在步驟405中,從該資料資訊中解析出上述資料資訊傳輸的目標雲端設備,作為第二目標設備。 In step 405, the target cloud device for data information transmission is parsed from the data information and used as the second target device.

在步驟406中,向該第二目標設備發送上述原始資料資訊。 In step 406, the above-mentioned original data information is sent to the second target device.

在本實施例中,若上述資料資訊不包括ARP請求,則可以確定資料資訊從使用者設備向雲端設備傳輸。因此, 可以進一步確定該資料資訊指示的目標雲端設備作為第二目標設備。然後,獲取該資料資訊對應的原始資料資訊。具體地,首先可以獲取與該資料傳輸通道匹配的隧道協定資訊,根據該隧道協定資訊對該資料資訊進行解封裝,去除外層包頭,以獲得原始資料資訊。然後,向第二目標設備發送該資料包對應的原始資料資訊。 In this embodiment, if the aforementioned data information does not include an ARP request, it can be determined that the data information is transmitted from the user equipment to the cloud equipment. Therefore, the target cloud device indicated by the data information can be further determined as the second target device. Then, obtain the original data information corresponding to the data information. Specifically, firstly, the tunnel protocol information matching the data transmission channel can be obtained, the data information is decapsulated according to the tunnel protocol information, and the outer header is removed to obtain the original data information. Then, the original data information corresponding to the data packet is sent to the second target device.

在步驟407中,若上述資料資訊包括ARP請求,則查找出第三目標設備的物理位址,該第三目標設備為上述ARP請求指示的目標雲端設備。 In step 407, if the data information includes an ARP request, the physical address of the third target device is found, and the third target device is the target cloud device indicated by the ARP request.

在步驟408中,向來源設備返回該物理位址,以供來源設備基於物理位址與第三目標設備進行通信。 In step 408, the physical address is returned to the source device for the source device to communicate with the third target device based on the physical address.

在本實施例中,若來源設備為使用者設備,並且上述資料資訊包括ARP請求,則查找出第三目標設備(該ARP請求指示的目標雲端設備)的物理位址。一般來說,在雲端閘道設備的本地快取中,可能儲存有部分雲端設備的IP位址與物理位址的映射關係,因此,可以首先從快取中查找該第三目標設備的物理位址。若未從快取中查找出第三目標設備的物理位址,還可以將該ARP請求在雲端計算平臺的私網中用廣播的方式廣播ARP請求,從而查找出該ARP請求指示的第三目標設備的物理位址。 In this embodiment, if the source device is a user device, and the aforementioned data information includes an ARP request, the physical address of the third target device (the target cloud device indicated by the ARP request) is found. Generally speaking, in the local cache of the cloud gateway device, the mapping relationship between the IP address and the physical address of some cloud devices may be stored. Therefore, the physical location of the third target device can be searched first from the cache. site. If the physical address of the third target device is not found from the cache, the ARP request can also be broadcast on the private network of the cloud computing platform to broadcast the ARP request to find the third target indicated by the ARP request The physical address of the device.

應用上述實施例,在來源設備是使用者設備時,若上述資料資訊未包括ARP請求,可以根據傳輸上述資料資訊的資料傳輸通道匹配的隧道協定資訊對該資料資訊進行解封裝,以獲得原始資料資訊,並確定目標雲端設備,向該 目標雲端設備發送上述原始資料資訊。若上述資料資訊包括ARP請求,可以通過雲端閘道設備具有的ARP代理功能,向使用者設備提供目標雲端設備的物理位址,從而進一步實現了雲端設備和使用者設備的相互進接,避免了因向使用者設備分配公網IP位址而造成的公共資源的浪費,節省了公共資源。 Applying the above embodiment, when the source device is a user device, if the data information does not include an ARP request, the data information can be decapsulated according to the tunnel protocol information matched by the data transmission channel through which the data information is transmitted to obtain the original data Information, and determine the target cloud device, and send the above-mentioned raw data information to the target cloud device. If the above data information includes an ARP request, the ARP proxy function of the cloud gateway device can provide the user device with the physical address of the target cloud device, thereby further realizing the mutual access between the cloud device and the user device and avoiding The waste of public resources caused by allocating public network IP addresses to user equipment saves public resources.

參見圖5,為本申請案資料傳輸方法的另一個實施例流程圖,該實施例可以應用在使用者設備中,包括如下步驟:在步驟501中,回應於獲取到資料資訊,判斷該資料資訊所源自的來源設備是雲端設備還是使用者設備。 Refer to Figure 5, which is a flowchart of another embodiment of a data transmission method for this application. This embodiment can be applied to a user equipment and includes the following steps: In step 501, in response to obtaining data information, determine the data information Whether the source device from which it originated is a cloud device or a user device.

在本實施例中,執行主體為使用者設備,使用者設備可以是終端,也可以是伺服器,還可以閘道設備,本申請案對使用者設備的具體形式方面不限定。使用者設備可以通過雲端閘道設備進接雲端計算平臺中的雲端設備,並且使用者設備可以直接與雲端閘道設備進行通信,也可以通過使用者閘道設備與雲端閘道設備進行通信。 In this embodiment, the execution subject is the user equipment, and the user equipment may be a terminal, a server, or a gateway device. This application does not limit the specific form of the user equipment. The user device can access the cloud device in the cloud computing platform through the cloud gateway device, and the user device can directly communicate with the cloud gateway device, or it can communicate with the cloud gateway device through the user gateway device.

在步驟502中,若來源設備是雲端設備,獲取傳輸上述資料資訊的資料傳輸通道匹配的隧道協定資訊。 In step 502, if the source device is a cloud device, obtain tunnel protocol information matching the data transmission channel for transmitting the above-mentioned data information.

在步驟503中,根據該隧道協定資訊對上述資料資訊進行解封裝,以獲得原始資料資訊。 In step 503, the above-mentioned data information is decapsulated according to the tunnel protocol information to obtain the original data information.

在本實施例中,首先可以獲取與該資料傳輸通道匹配的隧道協定資訊,然後根據該隧道協定資訊對該資料包進行解封裝,去除外層包頭,以獲得原始資料資訊。 In this embodiment, the tunnel protocol information matching the data transmission channel can be obtained first, and then the data packet is decapsulated according to the tunnel protocol information, and the outer header is removed to obtain the original data information.

在步驟504中,確定該資料資訊指示的目標設備作為第一目標設備。 In step 504, the target device indicated by the data information is determined as the first target device.

在本實施例中,若來源設備為雲端設備,則可以確定上述資料資訊從雲端設備向使用者設備傳輸。並需要確定該資料資訊指示的目標使用者設備作為第一目標設備。其中,該資料資訊為雲端設備通過預先設置的資料傳輸通道發送的。該資料資訊指示的第一目標設備即為該資料資訊的最終傳輸目標。一般來說,資料資訊中攜帶傳輸目標的相關資訊,因此,可以通過對資料資訊的解析確定該資料資訊指示的第一目標設備。 In this embodiment, if the source device is a cloud device, it can be determined that the aforementioned data information is transmitted from the cloud device to the user device. And it is necessary to determine the target user equipment indicated by the data information as the first target equipment. Among them, the data information is sent by the cloud device through a preset data transmission channel. The first target device indicated by the data information is the final transmission target of the data information. Generally speaking, the data information carries the relevant information of the transmission target. Therefore, the first target device indicated by the data information can be determined by analyzing the data information.

在步驟505中,向第一目標設備包括的預定單元傳輸原始資料資訊。 In step 505, the original data information is transmitted to a predetermined unit included in the first target device.

在本實施例中,第一目標設備可以是作為本實施例執行主體的使用者設備,也可以是除執行主體以外的使用者設備。如果第一目標設備是作為本實施例執行主體的使用者設備,則由該使用者設備中獲得原始資料資訊的單元向該使用者設備中包括的預定單元傳輸原始資料資訊。如果第一目標設備是除執行主體以外的使用者設備,則由作為本實施例執行主體的使用者設備向第一目標設備中包括的預定單元傳輸原始資料資訊。其中,預定單元為第一目標設備中請求獲取原始資料資訊的單元。 In this embodiment, the first target device may be a user device that is the execution subject of this embodiment, or may be a user device other than the execution subject. If the first target device is the user device as the execution subject of this embodiment, the unit that obtains the original data information in the user device transmits the original data information to the predetermined unit included in the user device. If the first target device is a user device other than the execution subject, the user device as the execution subject of this embodiment transmits the original data information to the predetermined unit included in the first target device. Wherein, the predetermined unit is a unit in the first target device that requests to obtain original data information.

應用上述實施例,在獲取到的資料資訊的來源設備是雲端設備時,根據資料傳輸通道匹配的隧道協定資訊將接收到的資料資訊進行解封裝,以獲得原始資料資訊,確定 目標使用者設備,並向目標使用者設備包括的預定單元傳輸原始資料資訊。從而實現了雲端設備和使用者設備的相互進接,避免了因向雲端設備分配公網IP位址而造成的公共資源的浪費,節省了公共資源。 Applying the above embodiment, when the source device of the acquired data information is a cloud device, the received data information is decapsulated according to the tunnel protocol information matched by the data transmission channel to obtain the original data information and determine the target user device. And transmit the original data information to the predetermined unit included in the target user equipment. In this way, the mutual access between the cloud device and the user device is realized, the waste of public resources caused by the allocation of public network IP addresses to the cloud device is avoided, and public resources are saved.

參見圖6,為本申請案資料傳輸方法的另一個實施例流程圖,該實施例可以應用在使用者設備中,該實施例在圖5實施例的基礎上結合具體的例子對來源設備為使用者設備的情況下該方法的過程進行了進一步詳細的描述,該方法包括如下步驟:在步驟601中,回應於獲取到資料資訊,判斷該資料資訊所源自的來源設備是雲端設備還是使用者設備。 Refer to FIG. 6, which is a flowchart of another embodiment of the data transmission method of this application. This embodiment can be applied to user equipment. This embodiment uses specific examples for the source equipment on the basis of the embodiment in FIG. 5 In the case of a user device, the process of the method is described in further detail. The method includes the following steps: In step 601, in response to obtaining data information, determine whether the source device from which the data information originates is a cloud device or a user equipment.

在步驟602中,若來源設備是雲端設備,獲取傳輸上述資料資訊的資料傳輸通道匹配的隧道協定資訊。 In step 602, if the source device is a cloud device, obtain tunneling protocol information matching the data transmission channel for transmitting the above-mentioned data information.

在步驟603中,根據該隧道協定資訊對上述資料資訊進行解封裝,以獲得原始資料資訊。 In step 603, the above-mentioned data information is decapsulated according to the tunnel protocol information to obtain the original data information.

在步驟604中,確定該資料資訊指示的目標設備作為第一目標設備。 In step 604, the target device indicated by the data information is determined as the first target device.

在步驟605中,向第一目標設備包括的預定單元傳輸原始資料資訊。 In step 605, the original data information is transmitted to a predetermined unit included in the first target device.

在步驟606中,若來源設備為使用者設備,則確定該資料資訊是否包括位址解析協定ARP請求。 In step 606, if the source device is a user device, it is determined whether the data information includes an address resolution protocol ARP request.

在本實施例中,使用者設備可以通過雲端閘道設備進接雲端設備,也可以向雲端閘道設備發送ARP請求,以獲取需要進接的目標雲端設備對應的物理位址,從而直接通 過該物理位址進接該目標雲端設備。因此,從使用者設備向雲端設備傳輸的資料資訊也可以是ARP請求資料資訊,可以理解,本申請案對資料資訊的具體內容方面不限定。一般來說,ARP請求資料資訊中攜帶傳輸目標的相關資訊,因此,可以通過對資料資訊的解析確定該資料資訊指示的目標雲端設備以及對應的雲端閘道設備。 In this embodiment, the user equipment can access the cloud device through the cloud gateway device, or send an ARP request to the cloud gateway device to obtain the physical address corresponding to the target cloud device that needs to be accessed, so as to directly pass the The physical address accesses the target cloud device. Therefore, the data information transmitted from the user equipment to the cloud device can also be the ARP request data information. It is understandable that this application does not limit the specific content of the data information. Generally speaking, the ARP request data information carries the relevant information of the transmission target. Therefore, the target cloud device indicated by the data information and the corresponding cloud gateway device can be determined by analyzing the data information.

在步驟607中,若該資料資訊未包括ARP請求,獲取資料傳輸通道匹配的隧道協定資訊。 In step 607, if the data information does not include an ARP request, obtain tunnel protocol information matching the data transmission channel.

在步驟608中,根據該隧道協定資訊將該資料資訊封裝成隧道協定資料包。 In step 608, the data information is encapsulated into a tunneling protocol data packet according to the tunneling protocol information.

在步驟609中,確定該資料資訊指示的目標設備作為第二目標設備。 In step 609, the target device indicated by the data information is determined as the second target device.

在步驟610中,通過資料傳輸通道向第二目標設備對應的閘道發送隧道協定資料包。 In step 610, the tunnel agreement data packet is sent to the gateway corresponding to the second target device through the data transmission channel.

在本實施例中,若來源設備為使用者設備,且該資料資訊未包括ARP請求,則可以確定該資料資訊從使用者設備向雲端設備傳輸。因此,可以進一步確定該資料資訊指示的目標雲端設備作為第二目標設備。可以通過預先設置的資料傳輸通道將該資料資訊發送給第二目標設備。 In this embodiment, if the source device is a user device, and the data information does not include an ARP request, it can be determined that the data information is transmitted from the user device to the cloud device. Therefore, the target cloud device indicated by the data information can be further determined as the second target device. The data information can be sent to the second target device through a preset data transmission channel.

具體地,首先,可以獲取與上述資料傳輸通道匹配的隧道協定資訊。可以從計算平臺的計算資源與隧道協定資訊的映射表中獲取上述隧道協定資訊。接著,根據隧道協定資訊將該資料資訊封裝成隧道協定資料包,隧道協定資料包為在原始資料包的基礎上增加了一個外層包頭而生成 的資料資訊。 Specifically, first, the tunnel agreement information matching the data transmission channel can be obtained. The above-mentioned tunnel agreement information can be obtained from the mapping table between the computing resources of the computing platform and the tunnel agreement information. Then, the data information is encapsulated into a tunnel protocol data packet according to the tunnel protocol information, which is data information generated by adding an outer header on the basis of the original data packet.

最後,通過預先設置的資料傳輸通道,向第二目標設備對應的閘道發送該隧道協定資料包,以供該閘道將該隧道協定資料包進行解封裝,去除外層包頭以得到資料資訊,將該資料資訊發送給第二目標設備。 Finally, through the preset data transmission channel, the tunnel protocol data packet is sent to the gateway corresponding to the second target device, so that the gateway can decapsulate the tunnel protocol data packet, and remove the outer header to obtain the data information. The data information is sent to the second target device.

在步驟611中,若該資料資訊包括ARP請求,則確定第三目標設備對應的閘道,第三目標設備為ARP請求指示的目標雲端設備。 In step 611, if the data information includes an ARP request, the gateway corresponding to the third target device is determined, and the third target device is the target cloud device indicated by the ARP request.

在步驟612中,向上述閘道發送該資料資訊,以供該閘道查找出第三目標設備的物理位址。 In step 612, the data information is sent to the aforementioned gateway for the gateway to find the physical address of the third target device.

在步驟613中,接收該閘道返回的第三目標設備的物理位址。 In step 613, the physical address of the third target device returned by the gateway is received.

在本實施例中,接收雲端上資源對應的閘道返回的第三目標設備的物理位址,然後將該物理位址返回給發送ARP請求的使用者設備。 In this embodiment, the physical address of the third target device returned by the gateway corresponding to the resource on the cloud is received, and then the physical address is returned to the user device that sent the ARP request.

應用上述實施例,在接收到的資料資訊的來源設備是使用者設備時,若該資料資訊未包括ARP請求,可以根據傳輸上述資料資訊的資料傳輸通道匹配的隧道協定資訊,將該資料資訊封裝成隧道協定資料包,並確定目標雲端設備,基於隧道協定資料包向該目標雲端設備傳輸上述資料資訊。若上述資料資訊包括ARP請求,可以通過雲端閘道設備具有的ARP代理功能,向使用者設備提供目標雲端設備的物理位址,從而進一步實現了雲端設備和使用者設備的相互進接,避免了因向雲端設備分配公網IP位址而造成 的公共資源的浪費,節省了公共資源。 Applying the above embodiment, when the source device of the received data information is the user device, if the data information does not include the ARP request, the data information can be encapsulated according to the tunnel protocol information matched by the data transmission channel for transmitting the data information The tunnel protocol data packet is formed, and the target cloud device is determined, and the above-mentioned data information is transmitted to the target cloud device based on the tunnel protocol data packet. If the above data information includes an ARP request, the ARP proxy function of the cloud gateway device can provide the user device with the physical address of the target cloud device, thereby further realizing the mutual access between the cloud device and the user device and avoiding The waste of public resources caused by allocating public IP addresses to cloud devices saves public resources.

應當注意,儘管在附圖中以特定順序描述了本申請案方法的操作,但是,這並非要求或者暗示必須按照該特定順序來執行這些操作,或是必須執行全部所示的操作才能實現期望的結果。相反,流程圖中描繪的步驟可以改變執行順序。附加地或備選地,可以省略某些步驟,將多個步驟合併為一個步驟執行,和/或將一個步驟分解為多個步驟執行。 It should be noted that although the operations of the method of this application are described in a specific order in the drawings, this does not require or imply that these operations must be performed in the specific order, or that all the operations shown must be performed to achieve the desired result. Conversely, the steps depicted in the flowchart can change the order of execution. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step for execution, and/or one step may be decomposed into multiple steps for execution.

下面結合一個完整的資料傳輸應用實例,對本申請案方案進行示意性說明。 In the following, a complete data transmission application example will be used to illustrate the scheme of this application.

應用場景可以為:使用者設備A從雲端計算平臺獲取計算資來源資料的過程,以及使用者設備A向雲端計算平臺發送計算資來源資料的過程。 The application scenario may be: a process in which the user device A obtains computing resource data from the cloud computing platform, and a process in which the user device A sends computing resource data to the cloud computing platform.

具體來說,首先,可以預先在雲端計算平臺的雲端閘道設備與使用者設備A之間設置專用的資料傳輸通道,以使該雲端閘道設備能夠通過該專用的資料傳輸通道與使用者設備A進行通信。 Specifically, first, a dedicated data transmission channel can be set up between the cloud gateway device of the cloud computing platform and the user equipment A in advance, so that the cloud gateway device can communicate with the user equipment through the dedicated data transmission channel A communicates.

當使用者設備A請求從雲端計算平臺獲取計算資來源資料時,雲端計算平臺中的雲端設備可以將使用者設備A請求的計算資來源資料發送給雲端閘道設備。雲端閘道設備將上述計算資來源資料封裝成隧道協定資料包,如果使用者設備A具有閘道設備的功能,則可以將該隧道協定資料包直接發送給使用者設備A,由使用者設備A對隧道協定資料包解封裝,以還原上述計算資來源資料。如果使用 者設備A不具有閘道設備的功能,則可以將該隧道協定資料包發送給使用者設備A對應的使用者閘道設備,再由使用者閘道設備將隧道協定資料包解封裝,以還原上述計算資來源資料,並將該計算資來源資料發送給使用者設備A。 When user device A requests to obtain computing resource data from the cloud computing platform, the cloud device in the cloud computing platform may send the computing resource data requested by user device A to the cloud gateway device. The cloud gateway device encapsulates the aforementioned computing resource data into a tunnel protocol data packet. If user device A has the function of a gateway device, the tunnel protocol data packet can be directly sent to user device A, and user device A Unpack the tunnel protocol data package to restore the above-mentioned calculation resource data. If user device A does not have the function of a gateway device, the tunnel protocol data packet can be sent to the user gateway device corresponding to user device A, and then the user gateway device will decapsulate the tunnel protocol data packet. To restore the above-mentioned calculation resource data, and send the calculation resource data to the user device A.

當使用者設備A向雲端計算平臺傳輸計算資來源資料時,如果使用者設備A具有閘道設備的功能,則可以直接將該計算資來源資料封裝成隧道協定資料包,然後,將隧道協定資料包發送給雲端計算平臺中的雲端閘道設備。如果使用者設備A不具有閘道設備的功能,則可以將該計算資來源資料發送給使用者設備A對應的使用者閘道設備,由該使用者閘道設備將計算資來源資料封裝成隧道協定資料包,並將隧道協定資料包發送給雲端計算平臺中的雲端閘道設備。最後,雲端閘道設備將隧道協定資料包解封裝,以還原上述計算資來源資料,並將該計算資來源資料發送給雲端設備。 When user device A transmits computing resource data to the cloud computing platform, if user device A has the function of a gateway device, it can directly encapsulate the computing resource data into a tunnel agreement data packet, and then, the tunnel agreement data The package is sent to the cloud gateway device in the cloud computing platform. If user device A does not have the function of a gateway device, the computing resource data can be sent to the user gateway device corresponding to user device A, and the user gateway device encapsulates the computing resource data into a tunnel Protocol data package, and send the tunnel protocol data package to the cloud gateway device in the cloud computing platform. Finally, the cloud gateway device unpacks the tunnel protocol data package to restore the aforementioned computing resource source data, and sends the computing resource source data to the cloud device.

使用者設備A還可以向雲端閘道設備發送ARP請求,該ARP請求包括目標雲端設備的IP位址,雲端閘道設備可以從本地快取中獲取映射關係表,該映射關係表記錄了部分雲端設備的IP位址與物理位址的映射關係。從該映射關係表中查找出目標雲端設備的物理位址。將目標雲端設備的物理位址返回給上述使用者設備A,使用者設備A可以根據該物理位址,通過資料傳輸通道直接與目標雲端設備進行通信,以發送或者請求獲取計算資來源資料。 User device A can also send an ARP request to the cloud gateway device. The ARP request includes the IP address of the target cloud device. The cloud gateway device can obtain the mapping table from the local cache. The mapping table records part of the cloud The mapping relationship between the IP address of the device and the physical address. Find the physical address of the target cloud device from the mapping table. The physical address of the target cloud device is returned to the aforementioned user device A, and the user device A can directly communicate with the target cloud device through the data transmission channel according to the physical address to send or request to obtain computing resource data.

可見,應用上述方案,無需向雲端設備分配公網IP位址,就可以實現雲端設備和使用者設備的相互進接,從而節省了公共資源。 It can be seen that by applying the above solution, it is possible to realize the mutual access between the cloud device and the user device without assigning a public network IP address to the cloud device, thereby saving public resources.

與本申請案資料傳輸方法的實施例相對應,本申請案還提供了資料傳輸設備、裝置及系統的實施例。 Corresponding to the embodiments of the data transmission method of this application, this application also provides embodiments of data transmission equipment, devices, and systems.

本申請案資料傳輸裝置的實施例可以應用在設備上。裝置實施例可以通過軟體實現,也可以通過硬體或者軟硬體結合的方式實現。以軟體實現為例,作為一個邏輯意義上的裝置,是通過其所在設備的處理器將非易失性記憶體中對應的電腦程式指令讀取到記憶體中運行形成的。從硬體層面而言,如圖7所示,為本申請案資料傳輸裝置701所在設備700的一種硬體結構圖,設備700包括處理器702、記憶體703、網路介面704、非易失性記憶體705以及內部匯流排706,其中,處理器702、記憶體703、網路介面704以及非易失性記憶體705相互之間可以通過內部匯流排706進行通信。除了圖7所示的處理器702、記憶體703、網路介面704、非易失性記憶體705以及內部匯流排706之外,實施例中裝置所在的設備700通常根據該設備的實際功能,還可以包括其他硬體,圖7中不再一一示出。 The embodiments of the data transmission device of this application can be applied to equipment. The device embodiments can be implemented by software, or can be implemented by hardware or a combination of software and hardware. Taking software implementation as an example, as a logical device, it is formed by reading the corresponding computer program instructions in the non-volatile memory into the memory through the processor of the device where it is located. From the perspective of hardware, as shown in FIG. 7, it is a hardware structure diagram of the device 700 where the data transmission device 701 of this application is located. The device 700 includes a processor 702, a memory 703, a network interface 704, and a non-volatile memory. The non-volatile memory 705 and the internal bus 706, wherein the processor 702, the memory 703, the network interface 704, and the non-volatile memory 705 can communicate with each other through the internal bus 706. In addition to the processor 702, memory 703, network interface 704, non-volatile memory 705, and internal bus 706 shown in FIG. 7, the device 700 where the device is located in the embodiment usually depends on the actual function of the device. Other hardware may also be included, which are not shown one by one in FIG. 7.

參見圖8,為本申請案閘道設備的一個實施例方塊圖。 Refer to Fig. 8, which is a block diagram of an embodiment of the gateway device of this application.

該閘道設備包括:接收器801、中央處理單元802、處理單元803、資料解析單元804和發送器805;其中,由接收器801接收資料資訊,中央處理單元802 回應於接收器801接收到資料資訊,判斷該資料資訊所源自的來源設備是雲端設備還是使用者設備,處理單元803基於中央處理單元802判斷的結果,對資料資訊進行對應的處理,以獲取處理後的資料,資料解析單元804確定資料資訊指示的目標設備,由發送器805基於處理後的資料向目標設備傳輸資料。 The gateway device includes: a receiver 801, a central processing unit 802, a processing unit 803, a data analysis unit 804, and a transmitter 805; wherein the receiver 801 receives data information, and the central processing unit 802 responds to the data received by the receiver 801 Information to determine whether the source device from which the data information originated is a cloud device or a user device. The processing unit 803 performs corresponding processing on the data information based on the result determined by the central processing unit 802 to obtain the processed data. The data analysis unit 804 determines the target device indicated by the data information, and the sender 805 transmits the data to the target device based on the processed data.

在一個可選的實現方式中,處理單元803配置用於:在來源設備是雲端設備時,根據資料傳輸通道匹配的隧道協定資訊,將該資料資訊封裝成隧道協定資料包。 In an optional implementation manner, the processing unit 803 is configured to: when the source device is a cloud device, encapsulate the data information into a tunnel protocol data packet according to the tunnel protocol information matched by the data transmission channel.

在另一個可選的實現方式中,資料解析單元804配置用於:從資料資訊中解析出資料資訊傳輸的目標使用者設備,作為第一目標設備。 In another optional implementation manner, the data analysis unit 804 is configured to analyze the target user equipment for data information transmission from the data information as the first target equipment.

發送器805配置用於:通過資料傳輸通道向第一目標設備發送隧道協定資料包,以供第一目標設備將隧道協定資料包解封裝後,獲取資料資訊。或者通過資料傳輸通道向第一目標設備對應的閘道發送隧道協定資料包,以供上述閘道將隧道協定資料包解封裝後,將該資料資訊發送給第一目標設備。 The transmitter 805 is configured to send a tunnel protocol data packet to the first target device through the data transmission channel, so that the first target device can decapsulate the tunnel protocol data packet to obtain data information. Or send the tunnel protocol data packet to the gateway corresponding to the first target device through the data transmission channel, so that the gateway can decapsulate the tunnel protocol data packet and send the data information to the first target device.

在另一個可選的實現方式中,處理單元803配置用於:在來源設備是使用者設備,並且該資料資訊未包括ARP請求時,根據傳輸該所述資料資訊的資料傳輸通道匹配的隧道協定資訊對該資料資訊進行解封裝,以獲得原始資料資訊。 In another optional implementation manner, the processing unit 803 is configured to: when the source device is a user device, and the data information does not include an ARP request, according to a tunnel protocol that matches the data transmission channel for transmitting the data information The information unpacks the data information to obtain the original data information.

在另一個可選的實現方式中,資料解析單元804配置 用於:從資料資訊中解析出資料資訊傳輸的目標雲端設備,作為第二目標設備。 In another optional implementation manner, the data analysis unit 804 is configured to analyze the target cloud device for data information transmission from the data information as the second target device.

發送器805配置用於:向第二目標設備發送原始資料資訊。 The transmitter 805 is configured to send the original data information to the second target device.

在另一個可選的實現方式中,上述閘道設備還包括物理位址查找單元(圖8中未示出):該物理位址查找單元在上述資料資訊包括ARP請求時,查找出第三目標設備的物理位址,該第三目標設備為該ARP請求指示的目標雲端設備。 In another optional implementation manner, the aforementioned gateway device further includes a physical address search unit (not shown in FIG. 8): the physical address search unit searches for a third target when the aforementioned data information includes an ARP request The physical address of the device, and the third target device is the target cloud device indicated by the ARP request.

發送器805還配置用於:向來源設備返回物理位址,以供來源設備基於該物理位址與第三目標設備進行通信。 The transmitter 805 is further configured to return a physical address to the source device, so that the source device can communicate with the third target device based on the physical address.

參見圖9,為本申請案一種設備的一個實施例方塊圖。 Refer to Fig. 9, which is a block diagram of an embodiment of a device of this application.

該設備包括:資訊獲取單元901、中央處理單元902、處理單元903、資料解析單元904和傳輸單元905。 The device includes: an information acquisition unit 901, a central processing unit 902, a processing unit 903, a data analysis unit 904, and a transmission unit 905.

其中,由資訊獲取單元901獲取資料資訊,中央處理單元902回應於資訊獲取單元901獲取到資料資訊,判斷該資料資訊所源自的來源設備是雲端設備還是使用者設備,若中央處理單元902判斷的結果為來源設備是雲端設備,則處理單元903根據隧道協定資訊對上述資料資訊進行解封裝,以獲得原始資料資訊,資料解析單元904確定資料資訊指示的目標設備作為第一目標設備,由傳輸單元905向第一目標設備包括的預定單元傳輸上述原始資料資訊。 The data information is acquired by the information acquisition unit 901, and the central processing unit 902 responds to the data information acquired by the information acquisition unit 901 and determines whether the source device from which the data information originates is a cloud device or a user device. If the central processing unit 902 determines The result is that the source device is a cloud device, and the processing unit 903 decapsulates the above-mentioned data information according to the tunnel protocol information to obtain the original data information. The data analysis unit 904 determines that the target device indicated by the data information is the first target device. The unit 905 transmits the above-mentioned original data information to a predetermined unit included in the first target device.

在一個可選的實現方式中,若中央處理單元902判斷 的結果為來源設備是使用者設備,則處理單元903配置用於在上述資料資訊未包括ARP請求時,根據資料傳輸通道匹配的隧道協定資訊將該資料資訊封裝成隧道協定資料包,資料解析單元904確定該資料資訊指示的目標設備作為第二目標設備,傳輸單元905通過資料傳輸通道向第二目標設備對應的閘道發送該隧道協定資料包,以供該閘道將該隧道協定資料包解封裝後,將資料資訊發送給第二目標設備。 In an optional implementation manner, if the central processing unit 902 determines that the source device is a user device, the processing unit 903 is configured to, when the above data information does not include an ARP request, according to the tunnel protocol matched by the data transmission channel The information encapsulates the data information into a tunnel protocol data packet, the data analysis unit 904 determines that the target device indicated by the data information is the second target device, and the transmission unit 905 sends the tunnel protocol to the gateway corresponding to the second target device through the data transmission channel A data packet for the gateway to decapsulate the tunnel protocol data packet and send the data information to the second target device.

在另一個可選的實現方式中,資料解析單元904還配置用於在上述資料資訊包括ARP請求時,確定第三目標設備對應的閘道,第三目標設備為ARP請求指示的目標雲端設備。傳輸單元905還配置用於向上述閘道發送上述資料資訊,以供該閘道查找出第三目標設備的物理位址。資訊獲取單元901還配置用於接收該閘道返回的第三目標設備的物理位址。 In another optional implementation manner, the data analysis unit 904 is further configured to determine the gateway corresponding to the third target device when the data information includes the ARP request, and the third target device is the target cloud device indicated by the ARP request. The transmission unit 905 is also configured to send the aforementioned data information to the aforementioned gateway, so that the aforementioned gateway can find the physical address of the third target device. The information acquiring unit 901 is also configured to receive the physical address of the third target device returned by the gateway.

參見圖10,為本申請案一種資料傳輸裝置的一個實施例方塊圖。 Refer to FIG. 10, which is a block diagram of an embodiment of a data transmission device in this application.

該裝置包括:判斷單元1001,處理單元1002,確定單元1003和傳輸單元1004。 The device includes: a judgment unit 1001, a processing unit 1002, a determination unit 1003, and a transmission unit 1004.

其中,判斷單元1001,用於回應於接收到資料資訊,判斷該資料資訊所源自的來源設備是雲端設備還是使用者設備。 The determining unit 1001 is used to determine whether the source device from which the data information originates is a cloud device or a user device in response to receiving the data information.

處理單元1002,用於基於上述判斷的結果,對該資料資訊進行對應的處理,以獲取處理後的資料。 The processing unit 1002 is configured to perform corresponding processing on the data information based on the result of the above judgment to obtain processed data.

確定單元1003,用於確定該資料資訊指示的目標設備。 The determining unit 1003 is used to determine the target device indicated by the data information.

傳輸單元1004,用於基於處理後的資料向目標設備傳輸資料。 The transmission unit 1004 is used to transmit data to the target device based on the processed data.

參見圖11,為本申請案另一種資料傳輸裝置的一個實施例方塊圖。 Refer to FIG. 11, which is a block diagram of an embodiment of another data transmission device in this application.

該裝置包括:判斷單元1101,獲取單元1102,解封裝單元1103,確定單元1104和傳輸單元1105。 The device includes: a judgment unit 1101, an acquisition unit 1102, a decapsulation unit 1103, a determination unit 1104, and a transmission unit 1105.

其中,判斷單元1101,用於回應於獲取到資料資訊,判斷該資料資訊所源自的來源設備是雲端設備還是使用者設備。 Wherein, the determining unit 1101 is configured to determine whether the source device from which the data information originates is a cloud device or a user device in response to obtaining the data information.

獲取單元1102,用於在來源設備是雲端設備時,獲取傳輸上述資料資訊的資料傳輸通道匹配的隧道協定資訊。 The obtaining unit 1102 is configured to obtain tunnel protocol information matching the data transmission channel for transmitting the above-mentioned data information when the source device is a cloud device.

解封裝單元1103,用於根據該隧道協定資訊對上述資料資訊進行解封裝,以獲得原始資料資訊。 The decapsulation unit 1103 is used to decapsulate the above-mentioned data information according to the tunnel protocol information to obtain the original data information.

確定單元1104,用於確定上述資料資訊指示的目標設備作為第一目標設備。 The determining unit 1104 is configured to determine the target device indicated by the aforementioned data information as the first target device.

傳輸單元1105,用於向第一目標設備包括的預定單元傳輸資料原始資料資訊。 The transmission unit 1105 is used to transmit the original data information to the predetermined unit included in the first target device.

上述裝置中各個單元的功能和作用的實現過程具體詳見上述方法中對應步驟的實現過程,在此不再贅述。 For the implementation process of the functions and roles of each unit in the above-mentioned device, please refer to the implementation process of the corresponding steps in the above-mentioned method for details, which will not be repeated here.

對於裝置實施例而言,由於其基本對應於方法實施例,所以相關之處參見方法實施例的部分說明即可。以上所描述的裝置實施例僅僅是示意性的,其中所述作為分離 部件說明的單元可以是或者也可以不是物理上分開的,作為單元顯示的部件可以是或者也可以不是物理單元,即可以位於一個地方,或者也可以分佈到多個網路單元上。可以根據實際的需要選擇其中的部分或者全部模組來實現本申請案方案的目的。本領域普通技術人員在不付出進步性勞動的情況下,即可以理解並實施。 For the device embodiment, since it basically corresponds to the method embodiment, the relevant part can refer to the part of the description of the method embodiment. The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this application. Those of ordinary skill in the art can understand and implement it without making progressive labor.

本領域技術人員在考慮說明書及實踐這裡公開的發明後,將容易想到本申請案的其它實施方案。本申請案旨在涵蓋本申請案的任何變型、用途或者適應性變化,這些變型、用途或者適應性變化遵循本申請案的一般性原理並包括本申請案未公開的本技術領域中的公知常識或慣用技術手段。說明書和實施例僅被視為示例性的,本申請案的真正範圍和精神由下面的申請專利範圍指出。 After considering the specification and practicing the invention disclosed herein, those skilled in the art will easily think of other embodiments of this application. This application is intended to cover any variations, uses, or adaptive changes of this application. These variations, uses, or adaptive changes follow the general principles of this application and include common knowledge in the technical field that is not disclosed in this application. Or conventional technical means. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of this application are pointed out by the following patent scope.

應當理解的是,本申請案並不局限於上面已經描述並在附圖中示出的精確結構,並且可以在不脫離其範圍進行各種修改和改變。本申請案的範圍僅由所附的申請專利範圍來限制。 It should be understood that the application is not limited to the precise structure described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is only limited by the scope of the attached patent application.

Claims (19)

一種資料傳輸方法,其特徵在於,所述方法由雲端計算平臺的雲端閘道設備執行,所述雲端閘道設備與使用者設備之間預先設置專用的資料傳輸通道;所述雲端計算平臺中包括雲端設備;所述方法包括:回應於接收到資料資訊,判斷所述資料資訊所源自的來源設備是雲端設備還是使用者設備;基於所述判斷的結果,對所述資料資訊進行對應的處理,以獲取處理後的資料;確定所述資料資訊指示的目標設備;基於所述處理後的資料向所述目標設備傳輸資料;所述基於所述判斷的結果,對所述資料資訊進行對應的處理,包括:若所述來源設備是雲端設備,獲取資料傳輸通道匹配的隧道協定資訊;所述隧道協定資訊的VNI值與雲端設備之間具有映射關係;根據所述隧道協定資訊將所述資料資訊封裝成隧道協定資料包。 A data transmission method, characterized in that the method is executed by a cloud gateway device of a cloud computing platform, and a dedicated data transmission channel is preset between the cloud gateway device and user equipment; the cloud computing platform includes Cloud equipment; the method includes: in response to receiving data information, determining whether the source device from which the data information originates is a cloud device or a user equipment; based on the result of the determination, performing corresponding processing on the data information , To obtain the processed data; determine the target device indicated by the data information; transmit data to the target device based on the processed data; the corresponding data information is performed based on the result of the judgment The processing includes: if the source device is a cloud device, obtaining tunnel protocol information matching a data transmission channel; a mapping relationship between the VNI value of the tunnel protocol information and the cloud device; and converting the data according to the tunnel protocol information The information is encapsulated into a tunnel protocol packet. 根據申請專利範圍第1項所述的方法,其中,所述確定所述資料資訊指示的目標設備,包括:從所述資料資訊中解析出所述資料資訊傳輸的目標使用者設備,作為第一目標設備; 所述基於所述處理後的資料向所述目標設備傳輸資料,包括:通過所述資料傳輸通道向所述第一目標設備發送所述隧道協定資料包,以供所述第一目標設備將所述隧道協定資料包解封裝後,獲取所述資料資訊;或者通過所述資料傳輸通道向所述第一目標設備對應的閘道發送所述隧道協定資料包,以供所述閘道將所述隧道協定資料包解封裝後,將所述資料資訊發送給所述第一目標設備。 The method according to item 1 of the scope of patent application, wherein the determining the target device indicated by the data information includes: analyzing the target user device of the data information transmission from the data information, as the first Target device The transmitting data to the target device based on the processed data includes: sending the tunnel agreement data packet to the first target device through the data transmission channel, so that the first target device can transfer the data to the first target device. After the tunnel protocol data packet is decapsulated, the data information is obtained; or the tunnel protocol data packet is sent to the gateway corresponding to the first target device through the data transmission channel, so that the gateway can After the tunnel protocol data packet is decapsulated, the data information is sent to the first target device. 根據申請專利範圍第1項所述的方法,其中,所述基於所述判斷的結果,對所述資料資訊進行對應的處理,包括:若所述來源設備是使用者設備,則確定所述資料資訊是否包括位址解析協定ARP請求;若所述資料資訊未包括ARP請求,獲取傳輸所述資料資訊的資料傳輸通道匹配的隧道協定資訊;根據所述隧道協定資訊對所述資料資訊進行解封裝,以獲得原始資料資訊。 The method according to item 1 of the scope of patent application, wherein the corresponding processing of the data information based on the result of the judgment includes: if the source device is a user device, determining the data Whether the information includes an address resolution protocol ARP request; if the data information does not include an ARP request, obtain tunnel protocol information matching the data transmission channel for transmitting the data information; decapsulate the data information according to the tunnel protocol information To get raw data information. 根據申請專利範圍第3項所述的方法,其中,所述確定所述資料資訊指示的目標設備,包括:從所述資料資訊中解析出所述資料資訊傳輸的目標雲端設備,作為第二目標設備; 所述基於所述處理後的資料向所述目標設備傳輸資料,包括:向所述第二目標設備發送所述原始資料資訊。 The method according to item 3 of the scope of patent application, wherein the determining the target device indicated by the data information includes: analyzing the target cloud device for the data information transmission from the data information as the second target equipment; The transmitting data to the target device based on the processed data includes: sending the original data information to the second target device. 根據申請專利範圍第3項所述的方法,其中,所述方法還包括:若所述資料資訊包括ARP請求,則查找出第三目標設備的物理位址,所述第三目標設備為所述ARP請求指示的目標雲端設備;向所述來源設備返回所述物理位址,以供所述來源設備基於所述物理位址與所述第三目標設備進行通信。 The method according to item 3 of the scope of patent application, wherein the method further includes: if the data information includes an ARP request, searching out the physical address of a third target device, and the third target device is the The target cloud device indicated by the ARP request; returning the physical address to the source device for the source device to communicate with the third target device based on the physical address. 一種資料傳輸方法,其特徵在於,所述方法包括:回應於獲取到資料資訊,判斷所述資料資訊所源自的來源設備是雲端設備還是使用者設備;若所述來源設備是雲端設備,獲取傳輸所述資料資訊的資料傳輸通道匹配的隧道協定資訊;所述隧道協定資訊的VNI值與雲端設備之間具有映射關係;所述資料傳輸通道是預先設置在雲端計算平臺的雲端閘道設備與使用者設備之間的通道,且所述雲端計算平臺包括雲端設備;根據所述隧道協定資訊對所述資料資訊進行解封裝,以獲得原始資料資訊;確定所述資料資訊指示的目標設備作為第一目標設備; 向所述第一目標設備包括的預定單元傳輸所述原始資料資訊,所述預定單元為所述第一目標設備中請求獲取原始資料資訊的單元。 A data transmission method, characterized in that, the method comprises: in response to obtaining data information, determining whether the source device from which the data information originates is a cloud device or a user device; if the source device is a cloud device, obtaining The tunnel protocol information matched by the data transmission channel for transmitting the data information; the VNI value of the tunnel protocol information has a mapping relationship with the cloud device; the data transmission channel is the cloud gateway device and the cloud device preset on the cloud computing platform Channel between user equipment, and the cloud computing platform includes cloud equipment; decapsulate the data information according to the tunnel agreement information to obtain the original data information; determine the target device indicated by the data information as the first A target device; The original data information is transmitted to a predetermined unit included in the first target device, and the predetermined unit is a unit in the first target device that requests to obtain the original data information. 根據申請專利範圍第6項所述的方法,其中,所述方法還包括:若所述來源設備為使用者設備,則確定所述資料資訊是否包括位址解析協定ARP請求;若所述資料資訊未包括ARP請求,獲取資料傳輸通道匹配的隧道協定資訊;根據所述隧道協定資訊將所述資料資訊封裝成隧道協定資料包;確定所述資料資訊指示的目標設備作為第二目標設備;通過所述資料傳輸通道向所述第二目標設備對應的閘道發送所述隧道協定資料包,以供所述閘道將所述隧道協定資料包解封裝後,將所述資料資訊發送給所述第二目標設備。 The method according to item 6 of the scope of patent application, wherein the method further includes: if the source device is a user device, determining whether the data information includes an address resolution protocol ARP request; if the data information Without including the ARP request, obtain the tunnel protocol information matching the data transmission channel; encapsulate the data information into a tunnel protocol data packet according to the tunnel protocol information; determine the target device indicated by the data information as the second target device; The data transmission channel sends the tunnel protocol data packet to the gateway corresponding to the second target device, so that the gateway can decapsulate the tunnel protocol data packet and send the data information to the second target device. 2. Target equipment. 根據申請專利範圍第7項所述的方法,其中,所述方法還包括:若所述資料資訊包括ARP請求,則確定第三目標設備對應的閘道,所述第三目標設備為所述ARP請求指示的目標雲端設備; 向所述閘道發送所述資料資訊,以供所述閘道查找出第三目標設備的物理位址;接收所述閘道返回的所述第三目標設備的物理位址。 The method according to item 7 of the scope of patent application, wherein the method further includes: if the data information includes an ARP request, determining a gateway corresponding to a third target device, and the third target device is the ARP The target cloud device of the request instruction; Sending the data information to the gateway for the gateway to find the physical address of the third target device; receiving the physical address of the third target device returned by the gateway. 一種閘道設備,其特徵在於,所述閘道設備包括:接收器、中央處理單元、處理單元、資料解析單元、發送器;所述閘道設備與使用者設備之間預先設置專用的資料傳輸通道;其中,由所述接收器接收資料資訊,中央處理單元回應於所述接收器接收到資料資訊,判斷所述資料資訊所源自的來源設備是雲端設備還是使用者設備,所述處理單元基於所述中央處理單元判斷的結果,對所述資料資訊進行對應的處理,以獲取處理後的資料,所述資料解析單元確定所述資料資訊指示的目標設備,由所述發送器基於所述處理後的資料向所述目標設備傳輸資料;所述處理單元配置用於:在所述來源設備是雲端設備時,根據資料傳輸通道匹配的隧道協定資訊,將所述資料資訊封裝成隧道協定資料包;所述隧道協定資訊的VNI值與雲端設備之間具有映射關係。 A gateway device, characterized in that the gateway device includes: a receiver, a central processing unit, a processing unit, a data analysis unit, and a transmitter; a dedicated data transmission is set in advance between the gateway device and user equipment Channel; wherein the data information is received by the receiver, and the central processing unit determines whether the source device from which the data information originates is a cloud device or a user device in response to the data information received by the receiver, the processing unit Based on the judgment result of the central processing unit, corresponding processing is performed on the data information to obtain the processed data, the data analysis unit determines the target device indicated by the data information, and the transmitter is based on the The processed data transmits data to the target device; the processing unit is configured to: when the source device is a cloud device, encapsulate the data information into tunnel agreement data according to the tunnel agreement information matched by the data transmission channel Package; the VNI value of the tunnel agreement information has a mapping relationship with the cloud device. 根據申請專利範圍第9項所述的閘道設備,其中,所述資料解析單元配置用於:從所述資料資訊中解析出所述資料資訊傳輸的目標使 用者設備,作為第一目標設備;所述發送器配置用於:通過所述資料傳輸通道向所述第一目標設備發送所述隧道協定資料包,以供所述第一目標設備將所述隧道協定資料包解封裝後,獲取所述資料資訊;或者通過所述資料傳輸通道向所述第一目標設備對應的閘道發送所述隧道協定資料包,以供所述閘道將所述隧道協定資料包解封裝後,將所述資料資訊發送給所述第一目標設備。 The gateway device according to item 9 of the scope of patent application, wherein the data analysis unit is configured to: parse the data information from the data information to determine the destination of the data information transmission The user device serves as the first target device; the transmitter is configured to: send the tunnel agreement data packet to the first target device through the data transmission channel, so that the first target device can After the tunnel agreement data packet is decapsulated, the data information is obtained; or the tunnel agreement data packet is sent to the gateway corresponding to the first target device through the data transmission channel for the gateway to transfer the tunnel After the protocol data package is decapsulated, the data information is sent to the first target device. 根據申請專利範圍第9項所述的閘道設備,其中,所述處理單元配置用於:在所述來源設備是使用者設備,並且所述資料資訊未包括ARP請求時,根據傳輸所述資料資訊的資料傳輸通道匹配的隧道協定資訊對所述資料資訊進行解封裝,以獲得原始資料資訊。 The gateway device according to item 9 of the scope of patent application, wherein the processing unit is configured to: when the source device is a user device and the data information does not include an ARP request, transmit the data according to The tunnel protocol information matching the data transmission channel of the information decapsulates the data information to obtain the original data information. 根據申請專利範圍第11項所述的閘道設備,其中,所述資料解析單元配置用於:從所述資料資訊中解析出所述資料資訊傳輸的目標雲端設備,作為第二目標設備;所述發送器配置用於:向所述第二目標設備發送所述原始資料資訊。 The gateway device according to item 11 of the scope of patent application, wherein the data analysis unit is configured to: parse the data information from the data information to obtain the target cloud device for the data information transmission as the second target device; The transmitter is configured to send the original data information to the second target device. 根據申請專利範圍第11項所述的閘道設備,其中,所述閘道設備還包括物理位址查找單元:所述物理位址查找單元在所述資料資訊包括ARP請求時,查找出第三目標設備的物理位址,所述第三目標設備為所述ARP請求指示的目標雲端設備;所述發送器還配置用於:向所述來源設備返回所述物理位址,以供所述來源設備基於所述物理位址與所述第三目標設備進行通信。 The gateway device according to item 11 of the scope of patent application, wherein the gateway device further includes a physical address search unit: the physical address search unit searches for a third address when the data information includes an ARP request The physical address of the target device, the third target device is the target cloud device indicated by the ARP request; the sender is further configured to: return the physical address to the source device for the source The device communicates with the third target device based on the physical address. 一種使用者設備,其特徵在於,所述設備包括:資訊獲取單元、中央處理單元、處理單元、資料解析單元、傳輸單元;其中,由所述資訊獲取單元獲取資料資訊,中央處理單元回應於所述資訊獲取單元獲取到資料資訊,判斷所述資料資訊所源自的來源設備是雲端設備還是使用者設備,若所述中央處理單元判斷的結果為來源設備是雲端設備,則所述處理單元根據所述隧道協定資訊對所述資料資訊進行解封裝,以獲得原始資料資訊,所述資料解析單元確定所述資料資訊指示的目標設備作為第一目標設備;由所述傳輸單元向所述第一目標設備包括的預定單元傳輸所述原始資料資訊,所述預定單元為所述第一目標設備中請求獲取原始資料資訊的單元;所述隧道協定資訊的VNI值與雲端設備之間具有映射關係;所述資料傳輸通道是預先設置在雲端計算平臺的雲 端閘道設備與使用者設備之間的通道,且所述雲端計算平臺包括雲端設備。 A user equipment, characterized in that the equipment comprises: an information acquisition unit, a central processing unit, a processing unit, a data analysis unit, and a transmission unit; wherein the information acquisition unit acquires data information, and the central processing unit responds to the The information obtaining unit obtains the data information, and determines whether the source device from which the data information originates is a cloud device or a user device. If the result of the determination by the central processing unit is that the source device is a cloud device, the processing unit is based on The tunnel protocol information decapsulates the data information to obtain the original data information, the data analysis unit determines the target device indicated by the data information as the first target device; A predetermined unit included in the target device transmits the original data information, the predetermined unit is a unit in the first target device that requests to obtain the original data information; there is a mapping relationship between the VNI value of the tunnel agreement information and the cloud device; The data transmission channel is a cloud pre-set on the cloud computing platform A channel between an end gateway device and a user device, and the cloud computing platform includes a cloud device. 根據申請專利範圍第14項所述的設備,其中,若所述中央處理單元判斷的結果為來源設備是使用者設備,則所述處理單元配置用於在所述資料資訊未包括ARP請求時,根據資料傳輸通道匹配的隧道協定資訊將所述資料資訊封裝成隧道協定資料包,所述資料解析單元確定所述資料資訊指示的目標設備作為第二目標設備,傳輸單元通過所述資料傳輸通道向所述第二目標設備對應的閘道發送所述隧道協定資料包,以供所述閘道將所述隧道協定資料包解封裝後,將所述資料資訊發送給所述第二目標設備。 The device according to item 14 of the scope of patent application, wherein, if the result determined by the central processing unit is that the source device is a user device, the processing unit is configured to, when the data information does not include an ARP request, According to the tunnel protocol information matched by the data transmission channel, the data information is encapsulated into a tunnel protocol data packet, the data analysis unit determines that the target device indicated by the data information is used as the second target device, and the transmission unit transmits to the data transmission channel through the data transmission channel. The gateway corresponding to the second target device sends the tunnel agreement data packet, so that the gateway can send the data information to the second target device after decapsulating the tunnel agreement data packet. 根據申請專利範圍第15項所述的設備,其中,資料解析單元還配置用於在所述資料資訊包括ARP請求時,確定第三目標設備對應的閘道,所述第三目標設備為所述ARP請求指示的目標雲端設備;傳輸單元還配置用於向所述閘道發送所述資料資訊,以供所述閘道查找出第三目標設備的物理位址;資訊獲取單元還配置用於接收所述閘道返回的所述第三目標設備的物理位址。 The device according to item 15 of the scope of patent application, wherein the data analysis unit is further configured to determine a gateway corresponding to a third target device when the data information includes an ARP request, and the third target device is the The target cloud device indicated by the ARP request; the transmission unit is also configured to send the data information to the gateway so that the gateway can find the physical address of the third target device; the information acquisition unit is also configured to receive The physical address of the third target device returned by the gateway. 一種資料傳輸裝置,其特徵在於,所述裝置包括:判斷單元,用於回應於接收到資料資訊,判斷所述資 料資訊所源自的來源設備是雲端設備還是使用者設備;處理單元,用於基於所述判斷的結果,對所述資料資訊進行對應的處理,以獲取處理後的資料;所述基於所述判斷的結果,對所述資料資訊進行對應的處理,包括:若所述設備是雲端設備,獲取資料傳輸通道匹配的隧道協定資訊;所述隧道協定資訊的VNI值與雲端設備之間具有映射關係;根據所述隧道協定資訊將所述資料資訊封裝成隧道協定資料包;所述資料傳輸通道是雲端閘道設備與使用者設備之間預先設置的專用通道;確定單元,用於確定所述資料資訊指示的目標設備;傳輸單元,用於基於所述處理後的資料向所述目標設備傳輸資料。 A data transmission device, characterized in that, the device comprises: a judging unit for judging the data in response to receiving the data information Whether the source device from which the material information originates is a cloud device or a user device; the processing unit is configured to perform corresponding processing on the data information based on the result of the judgment to obtain the processed data; As a result of the judgment, corresponding processing of the data information includes: if the device is a cloud device, obtaining tunnel protocol information matching the data transmission channel; there is a mapping relationship between the VNI value of the tunnel protocol information and the cloud device Encapsulate the data information into a tunnel agreement data packet according to the tunnel agreement information; the data transmission channel is a dedicated channel preset between the cloud gateway device and the user equipment; the determining unit is used to determine the data The target device indicated by the information; a transmission unit for transmitting data to the target device based on the processed data. 一種資料傳輸裝置,其特徵在於,所述裝置包括:判斷單元,用於回應於獲取到資料資訊,判斷所述資料資訊所源自的來源設備是雲端設備還是使用者設備;獲取單元,用於在所述來源設備是雲端設備時,獲取傳輸所述資料資訊的資料傳輸通道匹配的隧道協定資訊;所述隧道協定資訊的VNI值與雲端設備之間具有映射關係;所述資料傳輸通道是預先設置在雲端計算平臺的雲端閘道設備與使用者設備之間的通道,且所述雲端計算平臺包括雲端設備;解封裝單元,用於根據所述隧道協定資訊對所述資料資訊進行解封裝,以獲得原始資料資訊; 確定單元,用於確定所述資料資訊指示的目標設備作為第一目標設備;傳輸單元,用於向所述第一目標設備包括的預定單元傳輸資料所述原始資料資訊,所述預定單元為所述第一目標設備中請求獲取原始資料資訊的單元。 A data transmission device, characterized in that the device comprises: a judging unit for judging whether the source device from which the data information comes from is a cloud device or a user device in response to acquiring data information; and the acquiring unit is used for When the source device is a cloud device, obtain tunnel protocol information matching the data transmission channel for transmitting the data information; there is a mapping relationship between the VNI value of the tunnel protocol information and the cloud device; the data transmission channel is in advance A channel between a cloud gateway device and a user device of a cloud computing platform, and the cloud computing platform includes a cloud device; a decapsulation unit for decapsulating the data information according to the tunnel protocol information, To obtain the original data information; The determining unit is used to determine the target device indicated by the data information as the first target device; the transmission unit is used to transmit the original data information of the data to a predetermined unit included in the first target device, and the predetermined unit is the first target device. The unit in the first target device that requests to obtain the original data information. 一種資料傳輸系統,其特徵在於,所述系統包括多個雲端設備,多個使用者設備,至少一個閘道設備;其中,所述閘道設備包括申請專利範圍第9至13項中任一項所述的閘道設備,或如申請專利範圍第17項所述的裝置;所述使用者設備包括申請專利範圍第14至16項中任一項所述的設備,或如申請專利範圍第18項所述的裝置。 A data transmission system, characterized in that the system includes multiple cloud devices, multiple user devices, and at least one gateway device; wherein, the gateway device includes any one of items 9 to 13 in the scope of patent application The gateway device, or the device described in item 17 of the scope of patent application; the user equipment includes the device described in any one of the scope of patent application 14 to 16, or the device described in the scope of patent application 18 The device described in the item.
TW106126942A 2016-11-01 2017-08-09 Data transmission method, equipment, device and system TWI735633B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201610942774.5 2016-11-01
??201610942774.5 2016-11-01
CN201610942774.5A CN108011801B (en) 2016-11-01 2016-11-01 Data transmission method, equipment, device and system

Publications (2)

Publication Number Publication Date
TW201818699A TW201818699A (en) 2018-05-16
TWI735633B true TWI735633B (en) 2021-08-11

Family

ID=62047935

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106126942A TWI735633B (en) 2016-11-01 2017-08-09 Data transmission method, equipment, device and system

Country Status (3)

Country Link
CN (1) CN108011801B (en)
TW (1) TWI735633B (en)
WO (1) WO2018082452A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111225403A (en) * 2018-11-23 2020-06-02 广州慧睿思通信息科技有限公司 Induction method and device based on mobile communication terminal IP address
CN110971482B (en) * 2019-11-05 2021-07-23 北京字节跳动网络技术有限公司 Back-end server detection method and device based on ebpf and electronic equipment
TWI744002B (en) * 2020-09-22 2021-10-21 財團法人資訊工業策進會 Data transmission system and data transmission method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8259571B1 (en) * 2010-03-26 2012-09-04 Zscaler, Inc. Handling overlapping IP addresses in multi-tenant architecture
US8811409B2 (en) * 2012-06-04 2014-08-19 Telefonaktiebolaget L M Ericsson (Publ) Routing VLAN tagged packets to far end addresses of virtual forwarding instances using separate administrations
TW201526588A (en) * 2013-12-17 2015-07-01 Edgewater Networks Inc Methods and systems to split equipment control between local and remote processing units
US20150281075A1 (en) * 2014-03-31 2015-10-01 Electronics And Telecommunications Research Institute Method and apparatus for processing address resolution protocol (arp) packet
TWI504193B (en) * 2010-05-07 2015-10-11 Broadcom Corp Method and system for offloading tunnel packet processing in cloud computing

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8374183B2 (en) * 2010-06-22 2013-02-12 Microsoft Corporation Distributed virtual network gateways
CN102882758B (en) * 2011-07-12 2018-12-07 华为技术有限公司 Method, network side equipment and the data center apparatus of virtual private cloud access network
CN102891790B (en) * 2012-09-21 2016-03-02 中国电信股份有限公司 The VPN virtual method of the privately owned cloud of a kind of accesses virtual and system
CN103200069B (en) * 2013-03-29 2016-01-27 华为技术有限公司 A kind of method and apparatus of Message processing
CN104113879B (en) * 2014-08-13 2018-03-06 成都西加云杉科技有限公司 It is deployed with cloud AC WiFi communication system and communication means

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8259571B1 (en) * 2010-03-26 2012-09-04 Zscaler, Inc. Handling overlapping IP addresses in multi-tenant architecture
TWI504193B (en) * 2010-05-07 2015-10-11 Broadcom Corp Method and system for offloading tunnel packet processing in cloud computing
US8811409B2 (en) * 2012-06-04 2014-08-19 Telefonaktiebolaget L M Ericsson (Publ) Routing VLAN tagged packets to far end addresses of virtual forwarding instances using separate administrations
TW201526588A (en) * 2013-12-17 2015-07-01 Edgewater Networks Inc Methods and systems to split equipment control between local and remote processing units
US20150281075A1 (en) * 2014-03-31 2015-10-01 Electronics And Telecommunications Research Institute Method and apparatus for processing address resolution protocol (arp) packet

Also Published As

Publication number Publication date
WO2018082452A1 (en) 2018-05-11
TW201818699A (en) 2018-05-16
CN108011801A (en) 2018-05-08
CN108011801B (en) 2020-12-04

Similar Documents

Publication Publication Date Title
CN108449282B (en) Load balancing method and device
WO2021057889A1 (en) Data processing method and apparatus, electronic device, and storage medium
US10389628B2 (en) Exposing a subset of hosts on an overlay network to components external to the overlay network without exposing another subset of hosts on the overlay network
WO2018228069A1 (en) Bras system-based message packaging method and device
WO2016008320A1 (en) Method for acquiring identifier of terminal in network, management network element and storage medium
TWI735633B (en) Data transmission method, equipment, device and system
CN112040030B (en) Message transmission method and device, computer equipment and storage medium
JP2013532438A5 (en)
US9843514B2 (en) Packet processing method and background server
RU2642833C2 (en) Method and device for mediere resource support
CN103905572A (en) Domain name resolution request processing method and device
WO2021197292A1 (en) Method for detecting dhcp hijacking, and device
CN112445700A (en) Test method and device
CN102970387A (en) Domain name resolution method, device and system
CN109246016B (en) Cross-VXLAN message processing method and device
CN105991755A (en) Service message distribution method and service message distribution device
CN114025009A (en) Method, system, proxy server and device for forwarding request
CN111565237B (en) Network parameter determination method and device, computer equipment and storage medium
US20120300776A1 (en) Method for creating virtual link, communication network element, and ethernet network system
JP4019666B2 (en) Gateway device and information device
US20180367452A1 (en) Information centric networking over multi-access network interfaces
TW201517655A (en) Transmission path control device
JP2013126219A (en) Transfer server and transfer program
JP2018527862A (en) Method and apparatus for detecting shared terminal
KR101002142B1 (en) Method for providing information service between private IP network and authorization IP network