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

Data transmission method, equipment, device and system Download PDF

Info

Publication number
WO2018082452A1
WO2018082452A1 PCT/CN2017/106985 CN2017106985W WO2018082452A1 WO 2018082452 A1 WO2018082452 A1 WO 2018082452A1 CN 2017106985 W CN2017106985 W CN 2017106985W WO 2018082452 A1 WO2018082452 A1 WO 2018082452A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
data information
information
target device
target
Prior art date
Application number
PCT/CN2017/106985
Other languages
French (fr)
Chinese (zh)
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 WO2018082452A1 publication Critical patent/WO2018082452A1/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

Definitions

  • the present application relates to the field of network technologies, and in particular, to a method, device, device, and system for data transmission.
  • Each cloud computing platform has rich computing resources, including: virtual machines, databases, load balancers, cloud storage platforms, and cloud network security defense platforms. Etc. These computing resources work together to provide multiple services to users.
  • the computing resources of each cloud computing platform are all in the same private network, so computing resources corresponding to the same cloud computing platform can be accessed by private network addresses.
  • the computing resources in the user equipment and the cloud computing platform are not in the same private network. Therefore, they cannot access each other through the private network address.
  • a public network IP address is generally allocated to a computing resource of a cloud computing platform to implement mutual access with a user equipment.
  • the public network IP address is relatively scarce. If a large number of cloud computing platform computing resources are allocated to the public network IP address, a large number of public network IP addresses are consumed, resulting in waste of resources.
  • the present application provides a method, device, device and system for data transmission.
  • a data transmission method comprising:
  • a data transmission method includes:
  • determining whether the source device from which the data information originated is a cloud device or a user device;
  • the source device is a cloud device, obtain tunneling protocol information that matches the data transmission channel that transmits the data information;
  • the raw data information is transmitted to a predetermined unit included in the first target device.
  • a gateway device includes: a receiver, a central processing unit, a processing unit, a data parsing unit, and a transmitter;
  • the central processing unit in response to the receiver receiving the data information, determining whether the source device from which the data information originates is a cloud device or a user device, and the processing unit is based on the As a result of the determination by the central processing unit, the data information is correspondingly processed to obtain the processed data, and the data parsing unit determines the target device indicated by the data information, and the transmitter is based on the processed Data is transmitted to the target device.
  • an apparatus includes: an information acquiring unit, a central processing unit, a processing unit, a data parsing unit, and a transmitting unit;
  • the central processing unit is configured to obtain the data information by the information acquiring unit, and the central processing unit determines, according to the information acquiring unit, the data information, whether the source device from which the data information is originated is a cloud device or a user device, if the central processing
  • the result of the unit determination is that the source device is a cloud device
  • the processing unit decapsulates the data information according to the tunneling protocol information to obtain original data information
  • the data parsing unit determines a target indicated by the data information.
  • the device acts as a first target device; the raw data information is transmitted by the transmission unit to a predetermined unit included in the first target device.
  • a data transmission apparatus includes:
  • a determining unit configured to determine, according to the received data information, whether the source device from which the data information is originated is a cloud device or a user device;
  • a processing unit configured to perform corresponding processing on the data information to obtain processed data according to a result of the determining
  • a determining unit configured to determine a target device indicated by the data information
  • a transmission unit configured to transmit data to the target device based on the processed data.
  • a data transmission apparatus includes:
  • a determining unit configured to determine, according to the acquired data information, that the source device from which the data information is derived is a cloud End device or user device;
  • An acquiring unit configured to acquire, when the source device is a cloud device, tunneling protocol information that matches a data transmission channel that transmits the data information;
  • Decapsulating unit configured to decapsulate the data information according to the tunneling protocol information to obtain original data information
  • a determining unit configured to determine, as the first target device, the target device indicated by the data information
  • a transmitting unit configured to transmit the original data information to the predetermined unit included in the first target device.
  • a system including multiple cloud devices, multiple user devices, and at least one gateway device;
  • the gateway device includes the gateway device according to the third aspect, or the data transmission device according to the fifth aspect;
  • the user equipment includes the apparatus of the fourth aspect, or the data transmission apparatus of the sixth aspect.
  • FIG. 1 is a schematic diagram of an exemplary system architecture to which an embodiment of the present application is applied;
  • FIG. 2 is a flow chart of an embodiment of a data transmission method according to the present application.
  • FIG. 3A is a flowchart of another embodiment of a data transmission method according to the present application.
  • FIG. 3B is a flowchart of another embodiment of a data transmission method according to the present application.
  • FIG. 4 is a flow chart of another embodiment of a data transmission method of the present application.
  • FIG. 5 is a flowchart of another embodiment of a data transmission method according to the present application.
  • FIG. 6 is a flow chart of another embodiment of a data transmission method according to the present application.
  • FIG. 7 is a hardware structural diagram of a device where a data transmission device of the present application is located;
  • FIG. 8 is a block diagram of an embodiment of a gateway device of the present application.
  • FIG. 9 is a block diagram of an embodiment of an apparatus of the present application.
  • Figure 10 is a block diagram of an embodiment of a data transmission device of the present application.
  • FIG. 11 is a block diagram of another embodiment of a data transmission device of the present application.
  • first, second, third, etc. may be used to describe various information in this application, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other.
  • first information may also be referred to as the second information without departing from the scope of the present application.
  • second information may also be referred to as the first information.
  • word "if” as used herein may be interpreted as "when” or “when” or “in response to a determination.”
  • FIG. 1 it is a schematic diagram of an exemplary system architecture to which an embodiment of the present application is applied:
  • the system architecture 100 can include cloud devices 101, 102, user devices 104, 105, 106, and gateway devices 103.
  • the cloud devices 101 and 102 may be various computing devices (such as terminals or servers) in the cloud computing platform.
  • the cloud devices 101 and 102 and the gateway device 103 are all in the private network of the cloud computing platform. You can interact directly to receive or send requests or information.
  • the gateway device 103 may be a gateway device that manages the cloud device to communicate with devices outside the private network.
  • the cloud device 101, 102 can establish a communication connection with the gateway device 103 by any wired or wireless means, and interact with the device outside the private network through the gateway device 103.
  • the user equipments 104, 105, and 106 may be various computing devices other than the cloud computing platform (such as a terminal, a server, or a gateway device). And, the user equipments 104, 105, 106 and the cloud device 101, 102 are not in the same private network. Therefore, the cloud device 101 and 102 cannot directly interact with each other, and the gateway device 103 needs to interact with the cloud devices 101 and 102.
  • FIG. 1 the number of cloud devices, user devices, and gateway devices in FIG. 1 is merely illustrative. Depending on the implementation needs, there can be any number of cloud devices, user devices, and gateway devices.
  • FIG. 2 is a flowchart of an embodiment of a data transmission method of the present application.
  • the embodiment may be applied to a cloud gateway device, and includes the following steps:
  • step 201 in response to receiving the data information, it is determined whether the source device from which the data information originated is a cloud device or a user device.
  • the cloud computing platform may include some computing resources, and the computing resources work in coordination with each other to implement the external service function of the cloud computing platform.
  • Computing resources in the cloud computing platform may include, but are not limited to, virtual machines, databases, load balancers, cloud storage platforms, cloud network security defense platforms, and the like.
  • the cloud device may be various computing devices (such as a terminal, or a server, etc.) included in the cloud computing platform.
  • the cloud device can be a computer running a virtual machine, a storage device storing a database, a load balancer, a server running a cloud storage platform, and the like.
  • the user equipment may be a device other than the device included in the cloud computing platform.
  • the user equipment may be a personal computer, or may be an Internet data center of an enterprise, a government, or the like, a device in a computer room, or the like.
  • the execution entity may be a cloud gateway device, and the cloud gateway device and the cloud device are both in a private network of the cloud computing platform, and the cloud gateway device may be used to manage the cloud device and the device outside the private network (such as a user). Communication between devices, etc.).
  • step 202 based on the result of the above determination, the data information is subjected to corresponding processing to acquire the processed data.
  • the data information may be processed differently according to different results of the foregoing determination to obtain processed data.
  • the source device is a cloud device
  • the tunnel protocol information matched by the data transmission channel may be obtained, and the data information is encapsulated into a tunnel protocol data packet according to the tunnel protocol information, where the tunnel protocol data packet is the processed data.
  • the source device is a user device, it is determined whether the above data information includes an address resolution protocol ARP request. If the ARP request is not included, the tunneling protocol information matching the data transmission channel that transmits the data information is obtained, and the data information is decapsulated according to the tunneling protocol information to obtain original data information, where the original data information is processed. data.
  • step 203 the target device indicated by the above data information is determined.
  • the data information includes information of the target device, and the data information may be parsed, and information of the target device is obtained therefrom to determine a target device indicated by the data information.
  • the target device is the final transmission target of the data information.
  • 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.
  • step 204 data is transmitted to the target device based on the processed data.
  • data may be transmitted to the target device based on the processed data.
  • the processed data is the resulting tunneling protocol packet.
  • the tunnel protocol data packet may be sent to the corresponding target device through a dedicated data transmission channel, and the target device may obtain the foregoing data information after decapsulating the tunnel protocol data packet.
  • the tunnel protocol data packet may also be sent to a gateway corresponding to the target device (a gateway for managing communication between the target device and other devices) through a dedicated data transmission channel, and the gateway decapsulates the tunnel protocol data packet to obtain the above data. Information and send the data information to the target device.
  • the processed data is original data information.
  • the original data information can be directly sent to the corresponding target cloud device.
  • FIG. 3A and 3B are flowcharts of another embodiment of a data transmission method according to the present application.
  • the embodiment may be applied to a cloud gateway device.
  • the embodiment is based on the embodiment of FIG.
  • the process of processing information and transmitting data to a target device is described in further detail, and the method includes the following steps:
  • step 301 in response to receiving the data information, it is determined whether the source device from which the data information originated is a cloud device or a user device.
  • the cloud gateway device when the cloud gateway device receives the data information, it first needs to determine the source device that sends the data information.
  • the source device that sends the data information may be a cloud device or a user device. If the source device is a cloud device, the data information is transmitted from the cloud device to the user device. If the source device is a user device, the data information is transmitted from the user device to the cloud device.
  • step 302 if the source device is a cloud device, the tunnel protocol information matched by the data transmission channel is obtained.
  • step 303 the data information is encapsulated into a tunnel protocol data packet according to the tunneling protocol information.
  • the data information can be sent to the target device through a data transmission channel set in advance.
  • the data transmission channel is a dedicated channel preset between the cloud gateway device and the user equipment, and is dedicated to providing a communication link between the cloud gateway device and the user equipment, and may include various connection types, such as wired and wireless. Communication links or fiber optic cables, etc.
  • tunneling protocol information matching the above data transmission channel can be acquired.
  • the above tunneling protocol information may be obtained from a mapping table of a computing platform's computing resources and tunneling protocol information, such as a vxlan (virtual extensible LAN) vni value (VXLAN Network Identifier).
  • vxlan virtual extensible LAN
  • vni value VXLAN Network Identifier
  • the data information is encapsulated into a tunnel protocol data packet according to the tunnel protocol information
  • the tunnel protocol data packet is a data packet generated by adding an outer packet header to the original data packet, and the outer packet header includes the address of the target device.
  • step 304 the target user equipment of the data information transmission is parsed from the data information as the first target device.
  • the source device is a cloud device
  • the target user equipment indicated by the data information is the final transmission destination of the data information.
  • the data information carries the related information of the transmission target. Therefore, the target user equipment transmitted by the data information can be determined as the first target device by analyzing the data information.
  • step 305a the tunnel protocol data packet is sent to the first target device through the data transmission channel.
  • step 305b the tunnel protocol data packet is sent to the gateway corresponding to the first target device through the data transmission channel.
  • the first target device may directly communicate with the cloud gateway device, or may communicate with the cloud gateway device through the user gateway device.
  • the cloud gateway device can send the tunnel protocol data packet to the first target device by using the foregoing preset data transmission channel, so that the first target device can use the tunnel protocol.
  • the data packet is decapsulated, and after removing the outer packet header, the data information is obtained.
  • the cloud gateway device may send the tunnel to the user gateway device corresponding to the first target device by using the foregoing preset data transmission channel.
  • the channel protocol packet is obtained by the user gateway device to decapsulate the tunnel protocol data packet, and after removing the outer packet header, the data information is obtained, and the data information is sent to the first target device.
  • the source device is a cloud device
  • the received data information is encapsulated into a tunnel protocol data packet according to the tunneling protocol information matched by the data transmission channel, and the target user equipment is determined, and the data transmission channel is used to target the user equipment or
  • the tunnel protocol data packet is sent to the gateway corresponding to the target user equipment.
  • the mutual access between the cloud device and the user device is realized, and the waste of public resources caused by allocating the public network IP address to the cloud device is avoided, and the public resource is saved.
  • FIG. 4 it is a flowchart of another embodiment of a data transmission method according to the present application.
  • the embodiment may be applied to a cloud gateway device.
  • the embodiment processes the data information according to the specific example in FIG. And the process of transmitting data to the target device is described in further detail, and the method includes the following steps:
  • step 401 in response to receiving the data information, it is determined whether the source device from which the data information originated is a cloud device or a user device.
  • step 402 if the source device is a user equipment, it is determined whether the data information includes an address resolution protocol ARP request.
  • the cloud gateway device may further have an ARP (Address Resolution Protocol) proxy function, and the proxy function can process the ARP request of the user equipment. Therefore, if the source device is a user equipment, it may be further determined whether the data information includes an ARP request.
  • ARP is an address resolution protocol, which is a TCP/IP protocol that obtains a physical address based on an IP address.
  • the user equipment may send an ARP request including the target device IP address to the cloud gateway device to obtain the physical address of the target device, so that the target device may directly communicate with the target device through the preset data transmission channel based on the physical address of the target device.
  • step 403 if the data information does not include an ARP request, the tunneling protocol information matching the data transmission channel transmitting the data information is obtained.
  • step 404 the data information is decapsulated according to the tunneling protocol information to obtain original data information.
  • step 405 the target cloud device of the data information transmission is parsed from the data information as a second target device.
  • step 406 the raw data information is sent to the second target device.
  • the data information does not include an ARP request, it may be determined that the data information is transmitted from the user equipment to the cloud device. Therefore, the target cloud device indicated by the data information can be further determined as the second target device. Then, the original data information corresponding to the data information is obtained. Specifically, the data can be acquired first The tunnel protocol information matched by the transmission channel is decapsulated according to the tunnel protocol information, and the outer packet header is removed to obtain original data information. Then, the original data information corresponding to the data packet is sent to the second target device.
  • 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.
  • 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.
  • the source device is a user equipment, and the foregoing 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.
  • the physical address of the third target device may be first searched from the cache. If the physical address of the third target device is not found in the cache, the ARP request may be broadcasted in the private network of the cloud computing platform to broadcast the ARP request, so as to find the third target device indicated by the ARP request. Physical address.
  • the data information may be decapsulated according to the tunnel protocol information matched by the data transmission channel that transmits the data information to obtain the original data information. And determining the target cloud device, and sending the original data information to the target cloud device. If the data information includes the ARP request, the physical address of the target cloud device can be provided to the user equipment through the ARP proxy function of the cloud gateway device, thereby further implementing mutual access between the cloud device and the user device, and avoiding the assignment to the user device. The waste of public resources caused by the public network IP address saves public resources.
  • FIG. 5 is a flowchart of another embodiment of a data transmission method according to the present application.
  • the embodiment may be applied to a user equipment, and includes the following steps:
  • step 501 in response to obtaining the data information, it is determined whether the source device from which the data information originated is a cloud device or a user device.
  • the execution entity is a user equipment
  • the user equipment may be a terminal, a server, or a gateway device.
  • the specific form of the user equipment is not limited in this application.
  • the user equipment 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 can communicate with the cloud gateway device through the user gateway device.
  • step 502 if the source device is a cloud device, the tunneling protocol information matched by the data transmission channel for transmitting the data information is obtained.
  • step 503 the data information is decapsulated according to the tunneling protocol information to obtain original data. information.
  • tunneling protocol information matching the data transmission channel may be first obtained, and then the data packet is decapsulated according to the tunneling protocol information, and the outer packet header is removed to obtain original data information.
  • step 504 the target device indicated by the data information is determined as the first target device.
  • the data information may be determined to be transmitted from the cloud device to the user device. And determining the target user equipment indicated by the data information as the first target device.
  • 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.
  • the data information carries related information of the transmission target, and therefore, the first target device indicated by the data information may be determined by parsing the data information.
  • step 505 the raw data information is transmitted to a predetermined unit included in the first target device.
  • the first target device may be a user equipment that is the execution entity of the embodiment, or may be a user equipment other than the execution entity. If the first target device is the user device that is the execution subject of the embodiment, the unit that obtains the original data information from 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 original data information is transmitted to the predetermined unit included in the first target device by the user device as the execution subject of the present embodiment.
  • the predetermined unit is a unit that requests to acquire original data information in the first target device.
  • the source device of the obtained 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 original data information, and the target user equipment is determined, and The raw data information is transmitted to a predetermined unit included in the target user equipment.
  • the mutual access between the cloud device and the user device is realized, and the waste of public resources caused by allocating the public network IP address to the cloud device is avoided, and the public resource is saved.
  • FIG. 6 is a flowchart of another embodiment of a data transmission method according to the present application.
  • the embodiment may be applied to a user equipment.
  • the embodiment is based on the embodiment of FIG.
  • the process of the method is described in further detail, and the method comprises the following steps:
  • step 601 in response to obtaining the data information, it is determined whether the source device from which the data information originated is a cloud device or a user device.
  • step 602 if the source device is a cloud device, the tunnel protocol information matched by the data transmission channel that transmits the data information is obtained.
  • step 603 the data information is decapsulated according to the tunneling protocol information to obtain original data information.
  • step 604 the target device indicated by the data information is determined as the first target device.
  • step 605 the raw data information is transmitted to a predetermined unit included in the first target device.
  • step 606 if the source device is a user equipment, it is determined whether the data information includes an address resolution protocol ARP request.
  • the user equipment may access the cloud device through the cloud gateway device, or may 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, thereby directly accessing the target cloud through the physical address. device. Therefore, the data information transmitted from the user equipment to the cloud device may also be ARP request data information. It can be understood that the specific content of the data information is not limited in this application. Generally, the ARP request data information carries the related information of the transmission target. Therefore, the target cloud device indicated by the data information and the corresponding cloud gateway device may be determined by parsing the data information.
  • step 607 if the data information does not include an ARP request, the tunneling protocol information matched by the data transmission channel is obtained.
  • step 608 the data information is encapsulated into a tunneling protocol data packet according to the tunneling protocol information.
  • step 609 the target device indicated by the data information is determined as the second target device.
  • step 610 the tunnel protocol data packet is sent to the gateway corresponding to the second target device through the data transmission channel.
  • the data information may be determined to be transmitted from the user equipment 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 transmitted to the second target device through a preset data transmission channel.
  • tunneling protocol information matching the above data transmission channel can be acquired.
  • the tunneling protocol information may be obtained from a mapping table of computing resources and tunneling protocol information of the computing platform.
  • the data information is encapsulated into a tunnel protocol data packet according to the tunnel protocol information, and the tunnel protocol data packet is data information generated by adding an outer packet header to the original data packet.
  • the tunnel protocol data packet is sent to the gateway corresponding to the second target device by using a preset data transmission channel, so that the gateway decapsulates the tunnel protocol data packet, and removes the outer packet header to obtain data information, The data information is sent to the second target device.
  • 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.
  • step 612 the data information is sent to the gateway for the gateway to find the physical address of the third target device.
  • step 613 the physical address of the third target device returned by the gateway is received.
  • 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 equipment that sends the ARP request.
  • the data information when the source device of the received data information is the user equipment, if the data information does not include the ARP request, the data information may be encapsulated according to the tunnel protocol information matched by the data transmission channel that transmits the data information.
  • the tunnel protocol data packet is determined, and the target cloud device is determined, and the foregoing data information is transmitted to the target cloud device based on the tunnel protocol data packet.
  • the data information includes the ARP request, the physical address of the target cloud device can be provided to the user equipment by using the ARP proxy function of the cloud gateway device, thereby further realizing mutual access between the cloud device and the user device, and avoiding the allocation to the cloud device.
  • the waste of public resources caused by the public network IP address saves public resources.
  • the application scenario may be: a process in which the user device A acquires computing resource data from the cloud computing platform, and a process in which the user device A sends the computing resource data to the cloud computing platform.
  • a dedicated data transmission channel may be set in advance between the cloud gateway device of the cloud computing platform and the user device A, so that the cloud gateway device can communicate with the user device A through the dedicated data transmission channel.
  • the cloud device in the cloud computing platform may send the computing resource data requested by the user device A to the cloud gateway device.
  • the cloud gateway device encapsulates the foregoing computing resource data into a tunnel protocol data packet. If the user equipment A has the function of the gateway device, the tunnel protocol data packet can be directly sent to the user equipment A, and the user equipment A solves the tunnel protocol data packet. Encapsulate to restore the above computing resource data. If the user equipment A does not have the function of the gateway device, the tunnel protocol data packet may be sent to the user gateway device corresponding to the user equipment A, and then the tunnel gateway data packet is decapsulated by the user gateway device to restore the computing resource data. And sending the computing resource data to user equipment A.
  • the computing resource data may be directly encapsulated into a tunneling protocol data packet, and then the tunneling protocol data packet is sent to the cloud computing Cloud gateway device in the platform.
  • the computing resource data is sent to the user gateway device corresponding to the user equipment A, and the user gateway device encapsulates the computing resource data into a tunnel protocol data packet, and sends the tunneling protocol data packet to the cloud gateway device in the cloud computing platform.
  • the cloud gateway device decapsulates the tunneling protocol data packet to restore the computing resource data, and sends the computing resource data to the cloud device.
  • the user equipment A can also send an ARP request to the cloud gateway device, where the ARP request includes the IP address of the target cloud device, and the cloud gateway device can obtain a mapping relationship table from the local cache, where the mapping relationship table records the IP addresses of some cloud devices. Mapping of physical addresses. Find the physical address of the target cloud device from the mapping relationship table. The physical address of the target cloud device is returned to the user equipment A, and the user equipment A can directly communicate with the target cloud device through the data transmission channel according to the physical address to send or request to acquire computing resource data.
  • the cloud device and the user device can be mutually accessed without assigning a public network IP address to the cloud device, thereby saving public resources.
  • the present application also provides an embodiment of a data transmission device, apparatus and system.
  • Embodiments of the data transmission device of the present application can be applied to a device.
  • the device embodiment may be implemented by software, or may be implemented by hardware or a combination of hardware and software.
  • the processor of the device in which it is located reads the corresponding computer program instructions in the non-volatile memory into the memory.
  • FIG. 7 which is a hardware structure diagram of the device 700 where the data transmission device 701 is located, the device 700 includes a processor 702, a memory 703, a network interface 704, and a non-volatile memory 705.
  • the internal bus 706, in which the processor 702, the memory 703, the network interface 704, and the non-volatile memory 705 can communicate with each other via the internal bus 706.
  • the device 700 in which the device is located in the embodiment may generally include other functions according to the actual functions of the device.
  • the hardware is not shown one by one in Figure 7.
  • FIG. 8 a block diagram of an embodiment of a gateway device of the present application is shown.
  • the gateway device includes: a receiver 801, a central processing unit 802, a processing unit 803, a data parsing unit 804, and a transmitter 805;
  • the data processing is received by the receiver 801, and the central processing unit 802 determines whether the source device from which the data information is derived is a cloud device or a user device, and the processing unit 803 determines based on the central processing unit 802. As a result, the data information is processed correspondingly to acquire the processed data, and the data parsing unit 804 determines the target device indicated by the data information, and the transmitter 805 processes the processed data based on the data.
  • the standard device transmits data.
  • 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 tunneling protocol information matched by the data transmission channel.
  • the data parsing unit 804 is configured to parse the target user equipment of the data information transmission from the data information as the first target device.
  • the transmitter 805 is configured to: send a tunnel protocol data packet to the first target device by using the data transmission channel, so that the first target device decapsulates the tunnel protocol data packet, and obtains the data information. Or sending a tunneling protocol data packet to the gateway corresponding to the first target device through the data transmission channel, so that the gateway decapsulates the tunneling protocol data packet, and sends the data information to the first target device.
  • the processing unit 803 is configured to: when the source device is the user equipment, and the data information does not include the ARP request, according to the tunneling protocol information that is matched by the data transmission channel that transmits the data information.
  • the data information is decapsulated to obtain raw data information.
  • the data parsing unit 804 is configured to: parse the target cloud device that transmits the data information from the data information, as the second target device.
  • the transmitter 805 is configured to: send the original data information to the second target device.
  • the foregoing gateway device further includes a physical address searching unit (not shown in FIG. 8):
  • the physical address searching unit searches for the physical address of 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 transmitter 805 is further configured to: return a physical address to the source device for the source device to communicate with the third target device based on the physical address.
  • FIG. 9 a block diagram of an embodiment of an apparatus of the present application is shown.
  • the device includes an information acquisition unit 901, a central processing unit 902, a processing unit 903, a data parsing unit 904, and a transmission unit 905.
  • the information processing unit 901 obtains the data information, and the central processing unit 902 determines whether the source device from which the data information is derived is a cloud device or a user device, in response to the information acquiring unit 901 acquiring the data information, 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 data information according to the tunnel protocol information to obtain original data information, and the data parsing unit 904 determines that the target device indicated by the data information is the first target device, and the transmission unit 905 transmits the above-mentioned original data information to a predetermined unit included in the first target device.
  • the processing unit 903 is configured to use the tunnel protocol information matched according to the data transmission channel when the data information does not include the ARP request.
  • the data information is encapsulated into a tunnel protocol data packet
  • the data parsing unit 904 determines that the target device indicated by the data information is the second target device
  • the transmission unit 905 sends the tunnel protocol data packet to the gateway corresponding to the second target device through the data transmission channel. After the gateway decapsulates the tunneling protocol data packet, the data information is sent to the second target device.
  • the data parsing unit 904 is further configured to: when the data information includes the ARP request, determine a gateway corresponding to the third target device, where the third target device is the target cloud device indicated by the ARP request.
  • the transmitting unit 905 is further configured to send the foregoing data information to the gateway, so that the gateway searches for a physical address of the third target device.
  • the information obtaining unit 901 is further configured to receive a physical address of the third target device returned by the gateway.
  • FIG. 10 a block diagram of an embodiment of a data transmission apparatus of the present application is shown.
  • the apparatus includes a judging unit 1001, a processing unit 1002, a determining unit 1003, and a transmitting unit 1004.
  • the determining unit 1001 is configured to determine, according to the received data information, whether the source device from which the data information is originated is a cloud device or a user device.
  • the processing unit 1002 is configured to perform corresponding processing on the data information based on the result of the foregoing determination to acquire the processed data.
  • the determining unit 1003 is configured to determine a target device indicated by the data information.
  • the transmitting unit 1004 is configured to transmit data to the target device based on the processed data.
  • FIG. 11 a block diagram of an embodiment of another data transmission apparatus of the present application is shown.
  • the apparatus includes a judging unit 1101, an obtaining unit 1102, a decapsulating unit 1103, a determining unit 1104, and a transmitting unit 1105.
  • the determining unit 1101 is configured to determine, according to the acquired data information, whether the source device from which the data information is originated is a cloud device or a user device.
  • the obtaining unit 1102 is configured to acquire, when the source device is a cloud device, tunneling protocol information that matches the data transmission channel that transmits the foregoing data information.
  • the decapsulation unit 1103 is configured to decapsulate the data information according to the tunneling protocol information to obtain original data information.
  • the determining unit 1104 is configured to determine, as the first target device, the target device indicated by the foregoing data information.
  • the transmitting unit 1105 is configured to transmit data original data information to a predetermined unit included in the first target device.
  • the device embodiment since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the objectives of the present application. Those of ordinary skill in the art can understand and implement without any creative effort.

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

Disclosed in the present application are a data transmission method, equipment, a device, and a system. The method comprises: in response to receiving data information, determining whether a source device from which the data information is originated is a cloud equipment or a user equipment; performing corresponding processing on the data information on the basis of a result of the determining, so as to obtain processed data; determining a target equipment indicated by the data information; and transmitting data to the target equipment on the basis of the processed data. The embodiment realizes a mutual access between the cloud equipment and the user equipment, avoids the waste of public resources caused by allocating a public network IP address to the cloud equipment, and saves the public resources.

Description

数据传输的方法、设备、装置及系统Method, device, device and system for data transmission
本申请要求2016年11月01日递交的申请号为201610942774.5、发明名称为“数据传输的方法、设备、装置及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application Serial No. No. No. No. No. No. No. No. No. No. No. No. No.
技术领域Technical field
本申请涉及网络技术领域,尤其涉及一种数据传输的方法、设备、装置及系统。The present application relates to the field of network technologies, and in particular, to a method, device, device, and system for data transmission.
背景技术Background technique
随着网络技术的不断发展,云技术也越来越成熟,使人们的生活和工作变得更加方便。越来越多的云计算服务商向大众提供各种云计算平台,每个云计算平台中具有丰富的计算资源,包括:虚拟机,数据库,负载均衡器,云存储平台,云网络安全防御平台等,这些计算资源相互协调工作,能够为用户提供多种服务。每个云计算平台的计算资源均处于同一个私网内,因此对应于同一个云计算平台的计算资源可以通过私网地址相互访问。但是用户设备和云计算平台中的计算资源不在同一私网内,因此,不能通过私网地址相互访问。With the continuous development of network technology, cloud technology is becoming more and more mature, making people's life 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 balancers, cloud storage platforms, and cloud network security defense platforms. Etc. These computing resources work together to provide multiple services to users. The computing resources of each cloud computing platform are all in the same private network, so computing resources corresponding to the same cloud computing platform can be accessed by private network addresses. However, the computing resources in the user equipment and the cloud computing platform are not in the same private network. Therefore, they cannot access each other through the private network address.
在现有技术中,一般通过给云计算平台的计算资源分配公网IP地址,以实现与用户设备的相互访问。但目前公网IP地址比较紧缺,如果给大量的云计算平台计算资源分配公网IP地址,会消耗大量的公网IP地址,造成了资源的浪费。In the prior art, a public network IP address is generally allocated to a computing resource of a cloud computing platform to implement mutual access with a user equipment. However, at present, the public network IP address is relatively scarce. If a large number of cloud computing platform computing resources are allocated to the public network IP address, a large number of public network IP addresses are consumed, resulting in waste of resources.
发明内容Summary of the invention
为了解决上述技术问题,本申请提供了一种数据传输的方法、设备、装置及系统。In order to solve the above technical problem, the present application provides a method, device, device and system for data transmission.
根据本申请实施例的第一方面,提供一种数据传输方法,所述方法包括:According to a first aspect of the embodiments of the present application, a data transmission method is provided, the method comprising:
响应于接收到数据信息,判断所述数据信息所源自的来源设备是云端设备还是用户设备;Determining, in response to receiving the data information, whether the source device from which the data information originated is a cloud device or a user device;
基于所述判断的结果,对所述数据信息进行对应的处理,以获取处理后的数据;And performing corresponding processing on the data information to obtain processed data according to the result of the determining;
确定所述数据信息指示的目标设备;Determining a target device indicated by the data information;
基于所述处理后的数据向所述目标设备传输数据。Transmitting data to the target device based on the processed data.
根据本申请实施例的第二方面,提供一种数据传输方法,所述方法包括:According to a second aspect of the embodiments of the present application, a data transmission method is provided, where the method includes:
响应于获取到数据信息,判断所述数据信息所源自的来源设备是云端设备还是用户 设备;In response to obtaining the data information, determining whether the source device from which the data information originated is a cloud device or a user device;
若所述来源设备是云端设备,获取传输所述数据信息的数据传输通道匹配的隧道协议信息;If the source device is a cloud device, obtain tunneling protocol information that matches the data transmission channel that transmits the data information;
根据所述隧道协议信息对所述数据信息进行解封装,以获得原始数据信息;Decapsulating the data information according to the tunneling protocol information to obtain original data information;
确定所述数据信息指示的目标设备作为第一目标设备;Determining, by the target device indicated by the data information, as a first target device;
向所述第一目标设备包括的预定单元传输所述原始数据信息。The raw 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, where the gateway device includes: a receiver, a central processing unit, a processing unit, a data parsing unit, and a transmitter;
其中,由所述接收器接收数据信息,中央处理单元响应于所述接收器接收到数据信息,判断所述数据信息所源自的来源设备是云端设备还是用户设备,所述处理单元基于所述中央处理单元判断的结果,对所述数据信息进行对应的处理,以获取处理后的数据,所述数据解析单元确定所述数据信息指示的目标设备,由所述发送器基于所述处理后的数据向所述目标设备传输数据。Receiving, by the receiver, the data information, the central processing unit, in response to the receiver receiving the data information, determining whether the source device from which the data information originates is a cloud device or a user device, and the processing unit is based on the As a result of the determination by the central processing unit, the data information is correspondingly processed to obtain the processed data, and the data parsing unit determines the target device indicated by the data information, and the transmitter is based on the processed Data is transmitted to the target device.
根据本申请实施例的第四方面,提供一种设备,所述设备包括:信息获取单元、中央处理单元、处理单元、数据解析单元、传输单元;According to a fourth aspect of the embodiments of the present application, an apparatus is provided, where the apparatus includes: an information acquiring unit, a central processing unit, a processing unit, a data parsing unit, and a transmitting unit;
其中,由所述信息获取单元获取数据信息,中央处理单元响应于所述信息获取单元获取到数据信息,判断所述数据信息所源自的来源设备是云端设备还是用户设备,若所述中央处理单元判断的结果为来源设备是云端设备,则所述处理单元根据所述隧道协议信息对所述数据信息进行解封装,以获得原始数据信息,所述数据解析单元确定所述数据信息指示的目标设备作为第一目标设备;由所述传输单元向所述第一目标设备包括的预定单元传输所述原始数据信息。The central processing unit is configured to obtain the data information by the information acquiring unit, and the central processing unit determines, according to the information acquiring unit, the data information, whether the source device from which the data information is originated is a cloud device or a user device, if the central processing The result of the unit determination is that the source device is a cloud device, and the processing unit decapsulates the data information according to the tunneling protocol information to obtain original data information, and the data parsing unit determines a target indicated by the data information. The device acts as a first target device; the raw data information is transmitted by the transmission unit to a predetermined unit included in the first target device.
根据本申请实施例的第五方面,提供一种数据传输装置,所述装置包括:According to a fifth aspect of the embodiments of the present application, a data transmission apparatus is provided, where the apparatus includes:
判断单元,用于响应于接收到数据信息,判断所述数据信息所源自的来源设备是云端设备还是用户设备;a determining unit, configured to determine, according to the received data information, whether the source device from which the data information is originated is a cloud device or a user device;
处理单元,用于基于所述判断的结果,对所述数据信息进行对应的处理,以获取处理后的数据;a processing unit, configured to perform corresponding processing on the data information to obtain processed data according to a result of the determining;
确定单元,用于确定所述数据信息指示的目标设备;a determining unit, configured to determine a target device indicated by the data information;
传输单元,用于基于所述处理后的数据向所述目标设备传输数据。And a transmission unit, configured to transmit data to the target device based on the processed data.
根据本申请实施例的第六方面,提供一种数据传输装置,所述装置包括:According to a sixth aspect of the embodiments of the present application, a data transmission apparatus is provided, where the apparatus includes:
判断单元,用于响应于获取到数据信息,判断所述数据信息所源自的来源设备是云 端设备还是用户设备;a determining unit, configured to determine, according to the acquired data information, that the source device from which the data information is derived is a cloud End device or user device;
获取单元,用于在所述来源设备是云端设备时,获取传输所述数据信息的数据传输通道匹配的隧道协议信息;An acquiring unit, configured to acquire, when the source device is a cloud device, tunneling protocol information that matches a data transmission channel that transmits the data information;
解封装单元,用于根据所述隧道协议信息对所述数据信息进行解封装,以获得原始数据信息;Decapsulating unit, configured to decapsulate the data information according to the tunneling protocol information to obtain original data information;
确定单元,用于确定所述数据信息指示的目标设备作为第一目标设备;a determining unit, configured to determine, as the first target device, the target device indicated by the data information;
传输单元,用于向所述第一目标设备包括的预定单元传输数据所述原始数据信息。And a transmitting unit, configured to transmit the original data information to the predetermined unit included in the first target device.
根据本申请实施例的第七方面,提供一种系统,所述系统包括多个云端设备,多个用户设备,至少一个网关设备;According to a seventh aspect of the embodiments of the present application, a system is provided, where the system includes multiple cloud devices, multiple user devices, and at least one gateway device;
其中,所述网关设备包括第三方面所述的网关设备,或如第五方面所述的数据传输装置;The gateway device includes the gateway device according to the third aspect, or the data transmission device according to the fifth aspect;
所述用户设备包括第四方面所述的设备,或如第六方面所述的数据传输装置。The user equipment includes the apparatus of the fourth aspect, or the data transmission apparatus of the sixth aspect.
应用上述实施例,通过判断接收到的数据信息所源自的来源设备是云端设备还是用户设备的判断结果,对接收到的数据信息进行相应的处理,并在确定该数据信息指示的目标设备后,基于处理后的数据向目标设备传输数据。从而实现了云端设备和用户设备的相互访问,避免了因向云端设备分配公网IP地址而造成的公共资源的浪费,节省了公共资源。Applying the foregoing embodiment, by determining whether the source device from which the received data information is derived is a cloud device or a user device, performing corresponding processing on the received data information, and determining the target device indicated by the data information Transmitting data to the target device based on the processed data. The mutual access between the cloud device and the user device is realized, and the waste of public resources caused by allocating the public network IP address to the cloud device is avoided, and the public resource is saved.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。The above general description and the following detailed description are intended to be illustrative and not restrictive.
附图说明DRAWINGS
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。The drawings herein are incorporated in and constitute a part of the specification,
图1为应用本申请实施例的示例性系统架构示意图;1 is a schematic diagram of an exemplary system architecture to which an embodiment of the present application is applied;
图2为本申请数据传输方法的一个实施例流程图;2 is a flow chart of an embodiment of a data transmission method according to the present application;
图3A为本申请数据传输方法的另一个实施例流程图;FIG. 3A is a flowchart of another embodiment of a data transmission method according to the present application; FIG.
图3B为本申请数据传输方法的另一个实施例流程图;FIG. 3B is a flowchart of another embodiment of a data transmission method according to the present application; FIG.
图4为本申请数据传输方法的另一个实施例流程图;4 is a flow chart of another embodiment of a data transmission method of the present application;
图5为本申请数据传输方法的另一个实施例流程图;FIG. 5 is a flowchart of another embodiment of a data transmission method according to the present application;
图6为本申请数据传输方法的另一个实施例流程图; 6 is a flow chart of another embodiment of a data transmission method according to the present application;
图7为本申请数据传输装置所在设备的一种硬件结构图;7 is a hardware structural diagram of a device where a data transmission device of the present application is located;
图8为本申请网关设备的一个实施例框图;8 is a block diagram of an embodiment of a gateway device of the present application;
图9为本申请一种设备的一个实施例框图;Figure 9 is a block diagram of an embodiment of an apparatus of the present application;
图10为本申请数据传输装置的一个实施例框图;Figure 10 is a block diagram of an embodiment of a data transmission device of the present application;
图11为本申请数据传输装置的另一个实施例框图。11 is a block diagram of another embodiment of a data transmission device of the present application.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. The following description refers to the same or similar elements in the different figures unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are merely examples of devices and methods consistent with aspects of the present application as detailed in the appended claims.
在本申请使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in the present application is for the purpose of describing particular embodiments, and is not intended to be limiting. The singular forms "a", "the" and "the" It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
应当理解,尽管在本申请可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本申请范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used to describe various information in this application, such 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, the first information may also be referred to as the second information without departing from the scope of the present application. Similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "when" or "when" or "in response to a determination."
参见图1,为应用本申请实施例的示例性系统架构示意图:Referring to FIG. 1 , it is a schematic diagram of an exemplary system architecture to which an embodiment of the present application is applied:
如图1所示,系统架构100可以包括云端设备101、102,用户设备104、105、106,网关设备103。As shown in FIG. 1, the system architecture 100 can include cloud devices 101, 102, user devices 104, 105, 106, and gateway devices 103.
云端设备101、102可以是云计算平台中的各种计算设备(如可以是终端,也可以是服务器),云端设备101、102以及网关设备103均处于云计算平台的私网内,相互之间可以直接进行交互,以接收或发送请求或信息等。网关设备103可以是管理云端设备与上述私网外的设备进行通信的网关设备。云端设备101、102可以通过任意有线或无线的方式与网关设备103建立通信连接,并通过网关设备103与该私网外的设备进行交互。The cloud devices 101 and 102 may be various computing devices (such as terminals or servers) in the cloud computing platform. The cloud devices 101 and 102 and the gateway device 103 are all in the private network of the cloud computing platform. You can interact directly to receive or send requests or information. The gateway device 103 may be a gateway device that manages the cloud device to communicate with devices outside the private network. The cloud device 101, 102 can establish a communication connection with the gateway device 103 by any wired or wireless means, and interact with the device outside the private network through the gateway device 103.
用户设备104、105、106可以是云计算平台以外的各种计算设备(如可以是终端,也可以是服务器,还可以是网关设备等)。并且,用户设备104、105、106与云端设备 101、102并不在同一个私网内,因此,不能与云端设备101、102直接进行交互,需要通过网关设备103与云端设备101、102进行交互。The user equipments 104, 105, and 106 may be various computing devices other than the cloud computing platform (such as a terminal, a server, or a gateway device). And, the user equipments 104, 105, 106 and the cloud device 101, 102 are not in the same private network. Therefore, the cloud device 101 and 102 cannot directly interact with each other, and the gateway device 103 needs to interact with the cloud devices 101 and 102.
应该理解,图1中的云端设备、用户设备和网关设备的数目仅仅是示意性的。根据实现需要,可以具有任意数目的云端设备、用户设备和网关设备。It should be understood that the number of cloud devices, user devices, and gateway devices in FIG. 1 is merely illustrative. Depending on the implementation needs, there can be any number of cloud devices, user devices, and gateway devices.
下面将结合具体的实施例对本申请进行详细描述。The present application will be described in detail below in conjunction with specific embodiments.
参见图2,为本申请数据传输方法的一个实施例流程图,该实施例可以应用在云端网关设备中,包括如下步骤:2 is a flowchart of an embodiment of a data transmission method of the present application. The embodiment may be applied to a cloud gateway device, and includes the following steps:
在步骤201中,响应于接收到数据信息,判断该数据信息所源自的来源设备是云端设备还是用户设备。In step 201, in response to receiving the data information, it is determined whether the source device from which the data information originated is a cloud device or a user device.
一般来说,云计算平台中可以包括一些计算资源,这些计算资源相互协调工作,可以实现云计算平台的对外服务功能。云计算平台中的计算资源可以包括但不限于虚拟机,数据库,负载均衡器,云存储平台,云网络安全防御平台等等。Generally speaking, the cloud computing platform may include some computing resources, and the computing resources work in coordination with each other to implement the external service function of the cloud computing platform. Computing resources in the cloud computing platform may include, but are not limited to, virtual machines, databases, load balancers, cloud storage platforms, cloud network security defense platforms, and the like.
在本实施例中,云端设备可以为云计算平台中包括的各种计算设备(如终端,或者服务器等)。例如,云端设备可以为运行虚拟机的计算机,存储数据库的存储设备,负载均衡器,运行云存储平台的服务器等等。用户设备可以为云计算平台包括的设备以外的设备。例如,用户设备可以为个人计算机,也可能是企业、政府等机构的互联网数据中心、机房中的设备等。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 storing a database, a load balancer, a server running a cloud storage platform, and the like. The user equipment may be a device other than the device included in the cloud computing platform. For example, the user equipment may be a personal computer, or may be an Internet data center of an enterprise, a government, or the like, a device in a computer room, or the like.
在本实施例中,执行主体可以是云端网关设备,云端网关设备与上述云端设备均处于云计算平台的私网内,云端网关设备可以用于管理云端设备与上述私网外的设备(如用户设备等)之间的通信。In this embodiment, the execution entity may be a cloud gateway device, and the cloud gateway device and the cloud device are both in a private network of the cloud computing platform, and the cloud gateway device may be used to manage the cloud device and the device outside the private network (such as a user). Communication between devices, etc.).
在步骤202中,基于上述判断的结果,对上述数据信息进行对应的处理,以获取处理后的数据。In step 202, based on the result of the above determination, the data information is subjected to corresponding processing to acquire the processed data.
在本实施例中,可以根据上述判断的不同结果,对上述数据信息进行不同的处理,以得到处理后的数据。例如,如果来源设备是云端设备,则可以获取数据传输通道匹配的隧道协议信息,并根据该隧道协议信息将上述数据信息封装成隧道协议数据包,该隧道协议数据包即为处理后的数据。In this embodiment, the data information may be processed differently according to different results of the foregoing determination to obtain processed data. For example, if the source device is a cloud device, the tunnel protocol information matched by the data transmission channel may be obtained, and the data information is encapsulated into a tunnel protocol data packet according to the tunnel protocol information, where the tunnel protocol data packet is the processed data.
如果来源设备是用户设备,则确定上述数据信息是否包括地址解析协议ARP请求。若未包括ARP请求,获取传输该数据信息的数据传输通道匹配的隧道协议信息,并根据该隧道协议信息对上述数据信息进行解封装,以获得原始数据信息,该原始数据信息即为处理后的数据。 If the source device is a user device, it is determined whether the above data information includes an address resolution protocol ARP request. If the ARP request is not included, the tunneling protocol information matching the data transmission channel that transmits the data information is obtained, and the data information is decapsulated according to the tunneling protocol information to obtain original data information, where the original data information is processed. data.
在步骤203中,确定上述数据信息指示的目标设备。In step 203, the target device indicated by the above data information is determined.
在本实施例中,上述数据信息中包括目标设备的信息,可以对上述数据信息进行解析,从中获取目标设备的信息,以确定该数据信息指示的目标设备。其中,目标设备为数据信息的最终传输目标。In this embodiment, the data information includes information of the target device, and the data information may be parsed, and information of the target device is obtained therefrom to determine a target device indicated by the data information. Among them, the target device is the final transmission target of the data information.
一般来说,如果来源设备是云端设备,则目标设备通常为用户设备,如果来源设备是用户设备,则目标设备通常为云端设备。Generally, 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 target device based on the processed data.
在本实施例中,可以基于上述处理后的数据向上述目标设备传输数据。例如,如果来源设备是云端设备,处理后的数据为得到的隧道协议数据包。则可以通过专用的数据传输通道向对应的目标设备发送该隧道协议数据包,该目标设备可以将隧道协议数据包解封装后,获取上述数据信息。也可以通过专用的数据传输通道向目标设备对应的网关(用于管理该目标设备与其它设备进行通信的网关)发送该隧道协议数据包,该网关将隧道协议数据包解封装后,得到上述数据信息,并将该数据信息发送给目标设备。In this embodiment, data may 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 resulting tunneling protocol packet. The tunnel protocol data packet may be sent to the corresponding target device through a dedicated data transmission channel, and the target device may obtain the foregoing data information after decapsulating the tunnel protocol data packet. The tunnel protocol data packet may also be sent to a gateway corresponding to the target device (a gateway for managing communication between the target device and other devices) through a dedicated data transmission channel, and the gateway decapsulates the tunnel protocol data packet to obtain the above 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 original data information. The original data information can be directly sent to the corresponding target cloud device.
应用上述实施例,通过判断接收到的数据信息所源自的来源设备是云端设备还是用户设备的判断结果,对接收到的数据信息进行相应的处理,并在确定该数据信息指示的目标设备后,基于处理后的数据向目标设备传输数据。从而实现了云端设备和用户设备的相互访问,避免了因向云端设备分配公网IP地址而造成的公共资源的浪费,节省了公共资源。Applying the foregoing embodiment, by determining whether the source device from which the received data information is derived is a cloud device or a user device, performing corresponding processing on the received data information, and determining the target device indicated by the data information Transmitting data to the target device based on the processed data. The mutual access between the cloud device and the user device is realized, and the waste of public resources caused by allocating the public network IP address to the cloud device is avoided, and the public resource is saved.
参见图3A和图3B,为本申请数据传输方法的另一个实施例流程图,该实施例可以应用在云端网关设备中,该实施例在图2实施例的基础上结合具体的例子对对数据信息进行处理以及向目标设备传输数据的过程进行了进一步详细的描述,该方法包括如下步骤:3A and 3B are flowcharts of another embodiment of a data transmission method according to the present application. The embodiment may be applied to a cloud gateway device. The embodiment is based on the embodiment of FIG. The process of processing information and transmitting data to a target device is described in further detail, and the method includes the following steps:
在步骤301中,响应于接收到数据信息,判断该数据信息所源自的来源设备是云端设备还是用户设备。In step 301, in response to receiving the data information, it is determined whether the source device from which the data information originated is a cloud device or a user device.
在本实施例中,当上述云端网关设备接收到数据信息时,首先需要确定发送该数据信息的来源设备。发送数据信息的来源设备可以是云端设备,也可以是用户设备。如果上述来源设备为云端设备,则说明该数据信息从云端设备向用户设备传输。如果上述来源设备为用户设备,则说明该数据信息从用户设备向云端设备传输。 In this embodiment, when the cloud gateway device receives the data information, it first needs to determine the source device that sends the data information. The source device that sends the data information may be a cloud device or a user device. If the source device is a cloud device, the data information is transmitted from the cloud device to the user device. If the source device is a user device, the data information is transmitted from the user device to the cloud device.
在步骤302中,若来源设备是云端设备,获取数据传输通道匹配的隧道协议信息。In step 302, if the source device is a cloud device, the tunnel protocol information matched by the data transmission channel is obtained.
在步骤303中,根据该隧道协议信息将上述数据信息封装成隧道协议数据包。In step 303, the data information is encapsulated into a tunnel protocol data packet according to the tunneling protocol information.
在本实施例中,可以通过预先设置的数据传输通道将该数据信息发送给目标设备。其中,数据传输通道为预先设置在云端网关设备和用户设备之间的专用通道,专用于在云端网关设备和用户设备之间提供通信链路的介质,可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。In this embodiment, the data information can be sent to the target device through a data transmission channel set in advance. The data transmission channel is a dedicated channel preset between the cloud gateway device and the user equipment, and is dedicated to providing a communication link between the cloud gateway device and the user equipment, and may include various connection types, such as wired and wireless. Communication links or fiber optic cables, etc.
具体来说,首先,可以获取与上述数据传输通道匹配的隧道协议信息。可以从计算平台的计算资源与隧道协议信息(如vxlan(virtual Extensible LAN,虚拟可扩展局域网)的vni值(VXLAN Network Identifier,VXLAN网络标识符))的映射表中获取上述隧道协议信息。Specifically, first, tunneling protocol information matching the above data transmission channel can be acquired. The above tunneling protocol information may be obtained from a mapping table of a computing platform's computing resources and tunneling protocol information, such as a vxlan (virtual extensible LAN) vni value (VXLAN Network Identifier).
接着,根据隧道协议信息将该数据信息封装成隧道协议数据包,隧道协议数据包为在原始数据包的基础上增加了一个外层包头而生成的数据包,外层包头中包含目标设备的地址信息,或者包含目标设备对应的网关的地址信息。Then, the data information is encapsulated into a tunnel protocol data packet according to the tunnel protocol information, and the tunnel protocol data packet is a data packet generated by adding an outer packet header to the original data packet, and the outer packet header includes the address of the target device. Information, or 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 device.
在本实施例中,若来源设备为云端设备,则可以确定数据信息从云端设备向用户设备传输。首先,需要确定上述数据信息指示的目标用户设备作为第一目标设备。其中,该数据信息指示的目标用户设备即为该数据信息的最终传输目标。一般来说,数据信息中携带传输目标的相关信息,因此,可以通过对数据信息的解析确定该数据信息传输的目标用户设备,作为第一目标设备。In this embodiment, if the source device is a cloud device, it may 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 above data information as the first target device. The target user equipment indicated by the data information is the final transmission destination of the data information. Generally, the data information carries the related information of the transmission target. Therefore, the target user equipment transmitted by the data information can be determined as the first target device by analyzing the data information.
在步骤305a中,通过上述数据传输通道向第一目标设备发送该隧道协议数据包。In step 305a, the tunnel protocol data packet is sent to the first target device through the data transmission channel.
在步骤305b中,通过上述数据传输通道向第一目标设备对应的网关发送隧道协议数据包。In step 305b, the tunnel protocol data packet is sent to the gateway corresponding to the first target device through the data transmission channel.
在本实施例中,第一目标设备可以直接与云端网关设备进行通信,也可以通过用户网关设备与云端网关设备进行通信。当第一目标设备能够直接与云端网关设备进行通信时,云端网关设备可以通过上述预先设置的数据传输通道,向第一目标设备发送该隧道协议数据包,以供第一目标设备将该隧道协议数据包进行解封装,去除外层包头后,获取该数据信息。In this embodiment, the first target device may directly communicate with the cloud gateway device, or may 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 by using the foregoing preset data transmission channel, so that the first target device can use the tunnel protocol. The data packet is decapsulated, and after removing the outer packet header, the data information is obtained.
当第一目标设备需要通过用户网关设备与云端网关设备进行通信时,云端网关设备可以通过上述预先设置的数据传输通道,向第一目标设备对应的用户网关设备发送该隧 道协议数据包,以供该用户网关设备将该隧道协议数据包进行解封装,去除外层包头后,获取上述数据信息,并将该数据信息发送给第一目标设备。When the first target device needs to communicate with the cloud gateway device through the user gateway device, the cloud gateway device may send the tunnel to the user gateway device corresponding to the first target device by using the foregoing preset data transmission channel. The channel protocol packet is obtained by the user gateway device to decapsulate the tunnel protocol data packet, and after removing the outer packet header, the data information is obtained, and the data information is sent to the first target device.
应用上述实施例,在来源设备是云端设备时,根据数据传输通道匹配的隧道协议信息将接收到的数据信息封装成隧道协议数据包,确定目标用户设备,并通过数据传输通道向目标用户设备或者向目标用户设备对应的网关发送该隧道协议数据包。从而实现了云端设备和用户设备的相互访问,避免了因向云端设备分配公网IP地址而造成的公共资源的浪费,节省了公共资源。Applying the foregoing embodiment, when the source device is a cloud device, the received data information is encapsulated into a tunnel protocol data packet according to the tunneling protocol information matched by the data transmission channel, and the target user equipment is determined, and the data transmission channel is used to target the user equipment or The tunnel protocol data packet is sent to the gateway corresponding to the target user equipment. The mutual access between the cloud device and the user device is realized, and the waste of public resources caused by allocating the public network IP address to the cloud device is avoided, and the public resource is saved.
参见图4,为本申请数据传输方法的另一个实施例流程图,该实施例可以应用在云端网关设备中,该实施例在图2实施例的基础上结合具体的例子对对数据信息进行处理以及向目标设备传输数据的过程进行了进一步详细的描述,该方法包括如下步骤:Referring to FIG. 4, it is a flowchart of another embodiment of a data transmission method according to the present application. The embodiment may be applied to a cloud gateway device. The embodiment processes the data information according to the specific example in FIG. And the process of transmitting data to the target device is described in further detail, and the method includes the following steps:
在步骤401中,响应于接收到数据信息,判断该数据信息所源自的来源设备是云端设备还是用户设备。In step 401, in response to receiving the data information, it is determined whether the source device from which the data information originated is a cloud device or a user device.
在步骤402中,若来源设备是用户设备,则确定上述数据信息是否包括地址解析协议ARP请求。In step 402, if the source device is a user equipment, it is determined whether the 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 further have an ARP (Address Resolution Protocol) proxy function, and the proxy function can process the ARP request of the user equipment. Therefore, if the source device is a user equipment, it may be further determined whether the data information includes an ARP request. ARP is an address resolution protocol, which is a TCP/IP protocol that obtains a physical address based on an IP address. The user equipment may send an ARP request including the target device IP address to the cloud gateway device to obtain the physical address of the target device, so that the target device may directly communicate with the target device through the preset data transmission channel based on the physical address of the target device.
在步骤403中,若上述数据信息未包括ARP请求,获取传输上述数据信息的数据传输通道匹配的隧道协议信息。In step 403, if the data information does not include an ARP request, the tunneling protocol information matching the data transmission channel transmitting the data information is obtained.
在步骤404中,根据该隧道协议信息对该数据信息进行解封装,以获得原始数据信息。In step 404, the data information is decapsulated according to the tunneling protocol information to obtain original data information.
在步骤405中,从该数据信息中解析出上述数据信息传输的目标云端设备,作为第二目标设备。In step 405, the target cloud device of the data information transmission is parsed from the data information as a second target device.
在步骤406中,向该第二目标设备发送上述原始数据信息。In step 406, the raw data information is sent to the second target device.
在本实施例中,若上述数据信息不包括ARP请求,则可以确定数据信息从用户设备向云端设备传输。因此,可以进一步确定该数据信息指示的目标云端设备作为第二目标设备。然后,获取该数据信息对应的原始数据信息。具体地,首先可以获取与该数据传 输通道匹配的隧道协议信息,根据该隧道协议信息对该数据信息进行解封装,去除外层包头,以获得原始数据信息。然后,向第二目标设备发送该数据包对应的原始数据信息。In this embodiment, if the data information does not include an ARP request, it may be determined that the data information is transmitted from the user equipment to the cloud device. Therefore, the target cloud device indicated by the data information can be further determined as the second target device. Then, the original data information corresponding to the data information is obtained. Specifically, the data can be acquired first The tunnel protocol information matched by the transmission channel is decapsulated according to the tunnel protocol information, and the outer packet header is removed to obtain 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 equipment, and the foregoing 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, in the local cache of the cloud gateway device, a mapping relationship between the IP address of the cloud device and the physical address may be stored. Therefore, the physical address of the third target device may be first searched from the cache. If the physical address of the third target device is not found in the cache, the ARP request may be broadcasted in the private network of the cloud computing platform to broadcast the ARP request, so as to find the third target device indicated by the ARP request. Physical address.
应用上述实施例,在来源设备是用户设备时,若上述数据信息未包括ARP请求,可以根据传输上述数据信息的数据传输通道匹配的隧道协议信息对该数据信息进行解封装,以获得原始数据信息,并确定目标云端设备,向该目标云端设备发送上述原始数据信息。若上述数据信息包括ARP请求,可以通过云端网关设备具有的ARP代理功能,向用户设备提供目标云端设备的物理地址,从而进一步实现了云端设备和用户设备的相互访问,避免了因向用户设备分配公网IP地址而造成的公共资源的浪费,节省了公共资源。When the source device is the user equipment, if the data device does not include the ARP request, the data information may be decapsulated according to the tunnel protocol information matched by the data transmission channel that transmits the data information to obtain the original data information. And determining the target cloud device, and sending the original data information to the target cloud device. If the data information includes the ARP request, the physical address of the target cloud device can be provided to the user equipment through the ARP proxy function of the cloud gateway device, thereby further implementing mutual access between the cloud device and the user device, and avoiding the assignment to the user device. The waste of public resources caused by the public network IP address saves public resources.
参见图5,为本申请数据传输方法的另一个实施例流程图,该实施例可以应用在用户设备中,包括如下步骤:FIG. 5 is a flowchart of another embodiment of a data transmission method according to the present application. The embodiment may be applied to a user equipment, and includes the following steps:
在步骤501中,响应于获取到数据信息,判断该数据信息所源自的来源设备是云端设备还是用户设备。In step 501, in response to obtaining the data information, it is determined whether the source device from which the data information originated is a cloud device or a user device.
在本实施例中,执行主体为用户设备,用户设备可以是终端,也可以是服务器,还可以网关设备,本申请对用户设备的具体形式方面不限定。用户设备可以通过云端网关设备访问云计算平台中的云端设备,并且用户设备可以直接与云端网关设备进行通信,也可以通过用户网关设备与云端网关设备进行通信。In this embodiment, the execution entity is a user equipment, and the user equipment may be a terminal, a server, or a gateway device. The specific form of the user equipment is not limited in this application. The user equipment 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 can communicate with the cloud gateway device through the user gateway device.
在步骤502中,若来源设备是云端设备,获取传输上述数据信息的数据传输通道匹配的隧道协议信息。In step 502, if the source device is a cloud device, the tunneling protocol information matched by the data transmission channel for transmitting the data information is obtained.
在步骤503中,根据该隧道协议信息对上述数据信息进行解封装,以获得原始数据 信息。In step 503, the data information is decapsulated according to the tunneling protocol information to obtain original data. information.
在本实施例中,首先可以获取与该数据传输通道匹配的隧道协议信息,然后根据该隧道协议信息对该数据包进行解封装,去除外层包头,以获得原始数据信息。In this embodiment, tunneling protocol information matching the data transmission channel may be first obtained, and then the data packet is decapsulated according to the tunneling protocol information, and the outer packet header is removed to obtain 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, the data information may be determined to be transmitted from the cloud device to the user device. And determining the target user equipment indicated by the data information as the first target device. 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, the data information carries related information of the transmission target, and therefore, the first target device indicated by the data information may be determined by parsing the data information.
在步骤505中,向第一目标设备包括的预定单元传输原始数据信息。In step 505, the raw 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 equipment that is the execution entity of the embodiment, or may be a user equipment other than the execution entity. If the first target device is the user device that is the execution subject of the embodiment, the unit that obtains the original data information from 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 original data information is transmitted to the predetermined unit included in the first target device by the user device as the execution subject of the present embodiment. The predetermined unit is a unit that requests to acquire original data information in the first target device.
应用上述实施例,在获取到的数据信息的来源设备是云端设备时,根据数据传输通道匹配的隧道协议信息将接收到的数据信息进行解封装,以获得原始数据信息,确定目标用户设备,并向目标用户设备包括的预定单元传输原始数据信息。从而实现了云端设备和用户设备的相互访问,避免了因向云端设备分配公网IP地址而造成的公共资源的浪费,节省了公共资源。Applying the foregoing embodiment, when the source device of the obtained 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 original data information, and the target user equipment is determined, and The raw data information is transmitted to a predetermined unit included in the target user equipment. The mutual access between the cloud device and the user device is realized, and the waste of public resources caused by allocating the public network IP address to the cloud device is avoided, and the public resource is saved.
参见图6,为本申请数据传输方法的另一个实施例流程图,该实施例可以应用在用户设备中,该实施例在图5实施例的基础上结合具体的例子对来源设备为用户设备的情况下该方法的过程进行了进一步详细的描述,该方法包括如下步骤:FIG. 6 is a flowchart of another embodiment of a data transmission method according to the present application. The embodiment may be applied to a user equipment. The embodiment is based on the embodiment of FIG. The process of the method is described in further detail, and the method comprises the following steps:
在步骤601中,响应于获取到数据信息,判断该数据信息所源自的来源设备是云端设备还是用户设备。In step 601, in response to obtaining the data information, it is determined whether the source device from which the data information originated is a cloud device or a user device.
在步骤602中,若来源设备是云端设备,获取传输上述数据信息的数据传输通道匹配的隧道协议信息。In step 602, if the source device is a cloud device, the tunnel protocol information matched by the data transmission channel that transmits the data information is obtained.
在步骤603中,根据该隧道协议信息对上述数据信息进行解封装,以获得原始数据信息。 In step 603, the data information is decapsulated according to the tunneling protocol information to obtain 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 raw 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 equipment, it is determined whether the data information includes an address resolution protocol ARP request.
在本实施例中,用户设备可以通过云端网关设备访问云端设备,也可以向云端网关设备发送ARP请求,以获取需要访问的目标云端设备对应的物理地址,从而直接通过该物理地址访问该目标云端设备。因此,从用户设备向云端设备传输的数据信息也可以是ARP请求数据信息,可以理解,本申请对数据信息的具体内容方面不限定。一般来说,ARP请求数据信息中携带传输目标的相关信息,因此,可以通过对数据信息的解析确定该数据信息指示的目标云端设备以及对应的云端网关设备。In this embodiment, the user equipment may access the cloud device through the cloud gateway device, or may 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, thereby directly accessing the target cloud through the physical address. device. Therefore, the data information transmitted from the user equipment to the cloud device may also be ARP request data information. It can be understood that the specific content of the data information is not limited in this application. Generally, the ARP request data information carries the related information of the transmission target. Therefore, the target cloud device indicated by the data information and the corresponding cloud gateway device may be determined by parsing the data information.
在步骤607中,若该数据信息未包括ARP请求,获取数据传输通道匹配的隧道协议信息。In step 607, if the data information does not include an ARP request, the tunneling protocol information matched by the data transmission channel is obtained.
在步骤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 protocol 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 equipment, and the data information does not include an ARP request, the data information may be determined to be transmitted from the user equipment 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 transmitted to the second target device through a preset data transmission channel.
具体地,首先,可以获取与上述数据传输通道匹配的隧道协议信息。可以从计算平台的计算资源与隧道协议信息的映射表中获取上述隧道协议信息。接着,根据隧道协议信息将该数据信息封装成隧道协议数据包,隧道协议数据包为在原始数据包的基础上增加了一个外层包头而生成的数据信息。Specifically, first, tunneling protocol information matching the above data transmission channel can be acquired. The tunneling protocol information may be obtained from a mapping table of computing resources and tunneling protocol information of the computing platform. Then, the data information is encapsulated into a tunnel protocol data packet according to the tunnel protocol information, and the tunnel protocol data packet is data information generated by adding an outer packet header to the original data packet.
最后,通过预先设置的数据传输通道,向第二目标设备对应的网关发送该隧道协议数据包,以供该网关将该隧道协议数据包进行解封装,去除外层包头以得到数据信息,将该数据信息发送给第二目标设备。Finally, the tunnel protocol data packet is sent to the gateway corresponding to the second target device by using a preset data transmission channel, so that the gateway decapsulates the tunnel protocol data packet, and removes the outer packet header to obtain 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 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 equipment that sends the ARP request.
应用上述实施例,在接收到的数据信息的来源设备是用户设备时,若该数据信息未包括ARP请求,可以根据传输上述数据信息的数据传输通道匹配的隧道协议信息,将该数据信息封装成隧道协议数据包,并确定目标云端设备,基于隧道协议数据包向该目标云端设备传输上述数据信息。若上述数据信息包括ARP请求,可以通过云端网关设备具有的ARP代理功能,向用户设备提供目标云端设备的物理地址,从而进一步实现了云端设备和用户设备的相互访问,避免了因向云端设备分配公网IP地址而造成的公共资源的浪费,节省了公共资源。Applying the foregoing embodiment, when the source device of the received data information is the user equipment, if the data information does not include the ARP request, the data information may be encapsulated according to the tunnel protocol information matched by the data transmission channel that transmits the data information. The tunnel protocol data packet is determined, and the target cloud device is determined, and the foregoing data information is transmitted to the target cloud device based on the tunnel protocol data packet. If the data information includes the ARP request, the physical address of the target cloud device can be provided to the user equipment by using the ARP proxy function of the cloud gateway device, thereby further realizing mutual access between the cloud device and the user device, and avoiding the allocation to the cloud device. The waste of public resources caused by the public network IP address saves public resources.
应当注意,尽管在附图中以特定顺序描述了本申请方法的操作,但是,这并非要求或者暗示必须按照该特定顺序来执行这些操作,或是必须执行全部所示的操作才能实现期望的结果。相反,流程图中描绘的步骤可以改变执行顺序。附加地或备选地,可以省略某些步骤,将多个步骤合并为一个步骤执行,和/或将一个步骤分解为多个步骤执行。It should be noted that although the operations of the method of the present application are described in a particular order in the figures, this is not a requirement or implied that the operations must be performed in the particular order, or that all of the operations shown must be performed to achieve the desired result. . Instead, the steps depicted in the flowcharts can change the order of execution. Additionally or alternatively, certain steps may be omitted, multiple steps being combined into one step, and/or one step being broken down into multiple steps.
下面结合一个完整的数据传输应用实例,对本申请方案进行示意性说明。The solution of the present application is schematically illustrated below in conjunction with a complete data transmission application example.
应用场景可以为:用户设备A从云计算平台获取计算资源数据的过程,以及用户设备A向云计算平台发送计算资源数据的过程。The application scenario may be: a process in which the user device A acquires computing resource data from the cloud computing platform, and a process in which the user device A sends the computing resource data to the cloud computing platform.
具体来说,首先,可以预先在云计算平台的云端网关设备与用户设备A之间设置专用的数据传输通道,以使该云端网关设备能够通过该专用的数据传输通道与用户设备A进行通信。Specifically, first, a dedicated data transmission channel may be set in advance between the cloud gateway device of the cloud computing platform and the user device A, so that the cloud gateway device can communicate with the user device A through the dedicated data transmission channel.
当用户设备A请求从云计算平台获取计算资源数据时,云计算平台中的云端设备可以将用户设备A请求的计算资源数据发送给云端网关设备。云端网关设备将上述计算资源数据封装成隧道协议数据包,如果用户设备A具有网关设备的功能,则可以将该隧道协议数据包直接发送给用户设备A,由用户设备A对隧道协议数据包解封装,以还原上述计算资源数据。如果用户设备A不具有网关设备的功能,则可以将该隧道协议数据包发送给用户设备A对应的用户网关设备,再由用户网关设备将隧道协议数据包解封装,以还原上述计算资源数据,并将该计算资源数据发送给用户设备A。When the user equipment A requests to obtain the computing resource data from the cloud computing platform, the cloud device in the cloud computing platform may send the computing resource data requested by the user device A to the cloud gateway device. The cloud gateway device encapsulates the foregoing computing resource data into a tunnel protocol data packet. If the user equipment A has the function of the gateway device, the tunnel protocol data packet can be directly sent to the user equipment A, and the user equipment A solves the tunnel protocol data packet. Encapsulate to restore the above computing resource data. If the user equipment A does not have the function of the gateway device, the tunnel protocol data packet may be sent to the user gateway device corresponding to the user equipment A, and then the tunnel gateway data packet is decapsulated by the user gateway device to restore the computing resource data. And sending the computing resource data to user equipment A.
当用户设备A向云计算平台传输计算资源数据时,如果用户设备A具有网关设备的功能,则可以直接将该计算资源数据封装成隧道协议数据包,然后,将隧道协议数据包发送给云计算平台中的云端网关设备。如果用户设备A不具有网关设备的功能,则可以 将该计算资源数据发送给用户设备A对应的用户网关设备,由该用户网关设备将计算资源数据封装成隧道协议数据包,并将隧道协议数据包发送给云计算平台中的云端网关设备。最后,云端网关设备将隧道协议数据包解封装,以还原上述计算资源数据,并将该计算资源数据发送给云端设备。When the user equipment A transmits the computing resource data to the cloud computing platform, if the user equipment A has the function of the gateway device, the computing resource data may be directly encapsulated into a tunneling protocol data packet, and then the tunneling protocol data packet is sent to the cloud computing Cloud gateway device in the platform. If user equipment A does not have the function of a gateway device, The computing resource data is sent to the user gateway device corresponding to the user equipment A, and the user gateway device encapsulates the computing resource data into a tunnel protocol data packet, and sends the tunneling protocol data packet to the cloud gateway device in the cloud computing platform. Finally, the cloud gateway device decapsulates the tunneling protocol data packet to restore the computing resource data, and sends the computing resource data to the cloud device.
用户设备A还可以向云端网关设备发送ARP请求,该ARP请求包括目标云端设备的IP地址,云端网关设备可以从本地缓存中获取映射关系表,该映射关系表记录了部分云端设备的IP地址与物理地址的映射关系。从该映射关系表中查找出目标云端设备的物理地址。将目标云端设备的物理地址返回给上述用户设备A,用户设备A可以根据该物理地址,通过数据传输通道直接与目标云端设备进行通信,以发送或者请求获取计算资源数据。The user equipment A can also send an ARP request to the cloud gateway device, where the ARP request includes the IP address of the target cloud device, and the cloud gateway device can obtain a mapping relationship table from the local cache, where the mapping relationship table records the IP addresses of some cloud devices. Mapping of physical addresses. Find the physical address of the target cloud device from the mapping relationship table. The physical address of the target cloud device is returned to the user equipment A, and the user equipment A can directly communicate with the target cloud device through the data transmission channel according to the physical address to send or request to acquire computing resource data.
可见,应用上述方案,无需向云端设备分配公网IP地址,就可以实现云端设备和用户设备的相互访问,从而节省了公共资源。It can be seen that, by applying the foregoing solution, the cloud device and the user device can be mutually accessed without assigning a public network IP address to the cloud device, thereby saving public resources.
与本申请数据传输方法的实施例相对应,本申请还提供了数据传输设备、装置及系统的实施例。Corresponding to the embodiment of the data transmission method of the present application, the present application also provides an embodiment of a data transmission device, apparatus and system.
本申请数据传输装置的实施例可以应用在设备上。装置实施例可以通过软件实现,也可以通过硬件或者软硬件结合的方式实现。以软件实现为例,作为一个逻辑意义上的装置,是通过其所在设备的处理器将非易失性存储器中对应的计算机程序指令读取到内存中运行形成的。从硬件层面而言,如图7所示,为本申请数据传输装置701所在设备700的一种硬件结构图,设备700包括处理器702、内存703、网络接口704、非易失性存储器705以及内部总线706,其中,处理器702、内存703、网络接口704以及非易失性存储器705相互之间可以通过内部总线706进行通信。除了图7所示的处理器702、内存703、网络接口704、非易失性存储器705以及内部总线706之外,实施例中装置所在的设备700通常根据该设备的实际功能,还可以包括其他硬件,图7中不再一一示出。Embodiments of the data transmission device of the present application can be applied to a device. The device embodiment may be implemented by software, or may be implemented by hardware or a combination of hardware and software. Taking the software implementation as an example, as a logical means, the processor of the device in which it is located reads the corresponding computer program instructions in the non-volatile memory into the memory. From a hardware level, as shown in FIG. 7 , which is a hardware structure diagram of the device 700 where the data transmission device 701 is located, the device 700 includes a processor 702, a memory 703, a network interface 704, and a non-volatile memory 705. The internal bus 706, in which the processor 702, the memory 703, the network interface 704, and the non-volatile memory 705 can communicate with each other via the internal bus 706. In addition to the processor 702, the memory 703, the network interface 704, the non-volatile memory 705, and the internal bus 706 shown in FIG. 7, the device 700 in which the device is located in the embodiment may generally include other functions according to the actual functions of the device. The hardware is not shown one by one in Figure 7.
参见图8,为本申请网关设备的一个实施例框图。Referring to FIG. 8, a block diagram of an embodiment of a gateway device of the present application is shown.
该网关设备包括:接收器801、中央处理单元802、处理单元803、数据解析单元804和发送器805;The gateway device includes: a receiver 801, a central processing unit 802, a processing unit 803, a data parsing unit 804, and a transmitter 805;
其中,由接收器801接收数据信息,中央处理单元802响应于接收器801接收到数据信息,判断该数据信息所源自的来源设备是云端设备还是用户设备,处理单元803基于中央处理单元802判断的结果,对数据信息进行对应的处理,以获取处理后的数据,数据解析单元804确定数据信息指示的目标设备,由发送器805基于处理后的数据向目 标设备传输数据。The data processing is received by the receiver 801, and the central processing unit 802 determines whether the source device from which the data information is derived is a cloud device or a user device, and the processing unit 803 determines based on the central processing unit 802. As a result, the data information is processed correspondingly to acquire the processed data, and the data parsing unit 804 determines the target device indicated by the data information, and the transmitter 805 processes the processed data based on the data. The standard device transmits data.
在一个可选的实现方式中,处理单元803配置用于:在来源设备是云端设备时,根据数据传输通道匹配的隧道协议信息,将该数据信息封装成隧道协议数据包。In an optional implementation, 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 tunneling protocol information matched by the data transmission channel.
在另一个可选的实现方式中,数据解析单元804配置用于:从数据信息中解析出数据信息传输的目标用户设备,作为第一目标设备。In another optional implementation manner, the data parsing unit 804 is configured to parse the target user equipment of the data information transmission from the data information as the first target device.
发送器805配置用于:通过数据传输通道向第一目标设备发送隧道协议数据包,以供第一目标设备将隧道协议数据包解封装后,获取数据信息。或者通过数据传输通道向第一目标设备对应的网关发送隧道协议数据包,以供上述网关将隧道协议数据包解封装后,将该数据信息发送给第一目标设备。The transmitter 805 is configured to: send a tunnel protocol data packet to the first target device by using the data transmission channel, so that the first target device decapsulates the tunnel protocol data packet, and obtains the data information. Or sending a tunneling protocol data packet to the gateway corresponding to the first target device through the data transmission channel, so that the gateway decapsulates the tunneling protocol data packet, and sends 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 the user equipment, and the data information does not include the ARP request, according to the tunneling protocol information that is matched by the data transmission channel that transmits the data information. The data information is decapsulated to obtain raw data information.
在另一个可选的实现方式中,数据解析单元804配置用于:从数据信息中解析出数据信息传输的目标云端设备,作为第二目标设备。In another optional implementation, the data parsing unit 804 is configured to: parse the target cloud device that transmits the data information 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中未示出):In another optional implementation manner, the foregoing gateway device further includes a physical address searching unit (not shown in FIG. 8):
该物理地址查找单元在上述数据信息包括ARP请求时,查找出第三目标设备的物理地址,该第三目标设备为该ARP请求指示的目标云端设备。The physical address searching unit searches for the physical address of 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.
发送器805还配置用于:向来源设备返回物理地址,以供来源设备基于该物理地址与第三目标设备进行通信。The transmitter 805 is further configured to: return a physical address to the source device for the source device to communicate with the third target device based on the physical address.
参见图9,为本申请一种设备的一个实施例框图。Referring to FIG. 9, a block diagram of an embodiment of an apparatus of the present application is shown.
该设备包括:信息获取单元901、中央处理单元902、处理单元903、数据解析单元904和传输单元905。The device includes an information acquisition unit 901, a central processing unit 902, a processing unit 903, a data parsing unit 904, and a transmission unit 905.
其中,由信息获取单元901获取数据信息,中央处理单元902响应于信息获取单元901获取到数据信息,判断该数据信息所源自的来源设备是云端设备还是用户设备,若中央处理单元902判断的结果为来源设备是云端设备,则处理单元903根据隧道协议信息对上述数据信息进行解封装,以获得原始数据信息,数据解析单元904确定数据信息指示的目标设备作为第一目标设备,由传输单元905向第一目标设备包括的预定单元传输上述原始数据信息。 The information processing unit 901 obtains the data information, and the central processing unit 902 determines whether the source device from which the data information is derived is a cloud device or a user device, in response to the information acquiring unit 901 acquiring the data information, 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 data information according to the tunnel protocol information to obtain original data information, and the data parsing unit 904 determines that the target device indicated by the data information is the first target device, and the transmission 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 result of the determination by the central processing unit 902 is that the source device is the user equipment, the processing unit 903 is configured to use the tunnel protocol information matched according to the data transmission channel when the data information does not include the ARP request. The data information is encapsulated into a tunnel protocol data packet, the data parsing 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 data packet to the gateway corresponding to the second target device through the data transmission channel. After the gateway decapsulates the tunneling protocol data packet, the data information is sent to the second target device.
在另一个可选的实现方式中,数据解析单元904还配置用于在上述数据信息包括ARP请求时,确定第三目标设备对应的网关,第三目标设备为ARP请求指示的目标云端设备。传输单元905还配置用于向上述网关发送上述数据信息,以供该网关查找出第三目标设备的物理地址。信息获取单元901还配置用于接收该网关返回的第三目标设备的物理地址。In another optional implementation manner, the data parsing unit 904 is further configured to: when the data information includes the ARP request, determine a gateway corresponding to the third target device, where the third target device is the target cloud device indicated by the ARP request. The transmitting unit 905 is further configured to send the foregoing data information to the gateway, so that the gateway searches for a physical address of the third target device. The information obtaining unit 901 is further configured to receive a physical address of the third target device returned by the gateway.
参见图10,为本申请一种数据传输装置的一个实施例框图。Referring to FIG. 10, a block diagram of an embodiment of a data transmission apparatus of the present application is shown.
该装置包括:判断单元1001,处理单元1002,确定单元1003和传输单元1004。The apparatus includes a judging unit 1001, a processing unit 1002, a determining unit 1003, and a transmitting unit 1004.
其中,判断单元1001,用于响应于接收到数据信息,判断该数据信息所源自的来源设备是云端设备还是用户设备。The determining unit 1001 is configured to determine, according to the received data information, whether the source device from which the data information is originated is a cloud device or a user device.
处理单元1002,用于基于上述判断的结果,对该数据信息进行对应的处理,以获取处理后的数据。The processing unit 1002 is configured to perform corresponding processing on the data information based on the result of the foregoing determination to acquire the processed data.
确定单元1003,用于确定该数据信息指示的目标设备。The determining unit 1003 is configured to determine a target device indicated by the data information.
传输单元1004,用于基于处理后的数据向目标设备传输数据。The transmitting unit 1004 is configured to transmit data to the target device based on the processed data.
参见图11,为本申请另一种数据传输装置的一个实施例框图。Referring to FIG. 11, a block diagram of an embodiment of another data transmission apparatus of the present application is shown.
该装置包括:判断单元1101,获取单元1102,解封装单元1103,确定单元1104和传输单元1105。The apparatus includes a judging unit 1101, an obtaining unit 1102, a decapsulating unit 1103, a determining unit 1104, and a transmitting unit 1105.
其中,判断单元1101,用于响应于获取到数据信息,判断该数据信息所源自的来源设备是云端设备还是用户设备。The determining unit 1101 is configured to determine, according to the acquired data information, whether the source device from which the data information is originated is a cloud device or a user device.
获取单元1102,用于在来源设备是云端设备时,获取传输上述数据信息的数据传输通道匹配的隧道协议信息。The obtaining unit 1102 is configured to acquire, when the source device is a cloud device, tunneling protocol information that matches the data transmission channel that transmits the foregoing data information.
解封装单元1103,用于根据该隧道协议信息对上述数据信息进行解封装,以获得原始数据信息。The decapsulation unit 1103 is configured to decapsulate the data information according to the tunneling protocol information to obtain original data information.
确定单元1104,用于确定上述数据信息指示的目标设备作为第一目标设备。The determining unit 1104 is configured to determine, as the first target device, the target device indicated by the foregoing data information.
传输单元1105,用于向第一目标设备包括的预定单元传输数据原始数据信息。 The transmitting unit 1105 is configured to transmit data original data information to a predetermined unit included in the first target device.
上述装置中各个单元的功能和作用的实现过程具体详见上述方法中对应步骤的实现过程,在此不再赘述。The implementation process of the function and the function of each unit in the foregoing device is specifically described in the implementation process of the corresponding steps in the foregoing method, and details are not described herein again.
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本申请方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。For the device embodiment, since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment. The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the objectives of the present application. Those of ordinary skill in the art can understand and implement without any creative effort.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由下面的权利要求指出。Other embodiments of the present application will be readily apparent to those skilled in the <RTIgt; The application is intended to cover any variations, uses, or adaptations of the application, which are in accordance with the general principles of the application and include common general knowledge or common technical means in the art that are not disclosed herein. . The specification and examples are to be regarded as illustrative only,
应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求来限制。 It is to be understood that the invention is not limited to the details of the details and The scope of the present application is limited only by the accompanying claims.

Claims (21)

  1. 一种数据传输方法,其特征在于,所述方法包括:A data transmission method, characterized in that the method comprises:
    响应于接收到数据信息,判断所述数据信息所源自的来源设备是云端设备还是用户设备;Determining, in response to receiving the data information, whether the source device from which the data information originated is a cloud device or a user device;
    基于所述判断的结果,对所述数据信息进行对应的处理,以获取处理后的数据;And performing corresponding processing on the data information to obtain processed data according to the result of the determining;
    确定所述数据信息指示的目标设备;Determining a target device indicated by the data information;
    基于所述处理后的数据向所述目标设备传输数据。Transmitting data to the target device based on the processed data.
  2. 根据权利要求1所述的方法,其特征在于,所述基于所述判断的结果,对所述数据信息进行对应的处理,包括:The method according to claim 1, wherein the processing of the data information according to the result of the determining comprises:
    若所述来源设备是云端设备,获取数据传输通道匹配的隧道协议信息;If the source device is a cloud device, obtain tunneling protocol information that is matched by the data transmission channel;
    根据所述隧道协议信息将所述数据信息封装成隧道协议数据包。The data information is encapsulated into a tunnel protocol data packet according to the tunneling protocol information.
  3. 根据权利要求2所述的方法,其特征在于,所述确定所述数据信息指示的目标设备,包括:The method according to claim 2, wherein the determining the target device indicated by the data information comprises:
    从所述数据信息中解析出所述数据信息传输的目标用户设备,作为第一目标设备;Demyimating, from the data information, the target user equipment that is transmitted by the data information, as a first target device;
    所述基于所述处理后的数据向所述目标设备传输数据,包括:Transmitting the data to the target device based on the processed data, including:
    通过所述数据传输通道向所述第一目标设备发送所述隧道协议数据包,以供所述第一目标设备将所述隧道协议数据包解封装后,获取所述数据信息;或者Transmitting, by the data transmission channel, the tunnel protocol data packet to the first target device, where the first target device decapsulates the tunnel protocol data packet, and acquiring the data information; or
    通过所述数据传输通道向所述第一目标设备对应的网关发送所述隧道协议数据包,以供所述网关将所述隧道协议数据包解封装后,将所述数据信息发送给所述第一目标设备。Transmitting, by the data transmission channel, the tunnel protocol data packet to a gateway corresponding to the first target device, where the gateway decapsulates the tunnel protocol data packet, and sending the data information to the first A target device.
  4. 根据权利要求1所述的方法,其特征在于,所述基于所述判断的结果,对所述数据信息进行对应的处理,包括:The method according to claim 1, wherein the processing of the data information according to the result of the determining comprises:
    若所述来源设备是用户设备,则确定所述数据信息是否包括地址解析协议ARP请求;If the source device is a user equipment, determining whether the data information includes an address resolution protocol ARP request;
    若所述数据信息未包括ARP请求,获取传输所述数据信息的数据传输通道匹配的隧道协议信息;If the data information does not include an ARP request, obtain tunneling protocol information that matches the data transmission channel that transmits the data information;
    根据所述隧道协议信息对所述数据信息进行解封装,以获得原始数据信息。Decapsulating the data information according to the tunneling protocol information to obtain original data information.
  5. 根据权利要求4所述的方法,其特征在于,所述确定所述数据信息指示的目标设备,包括:The method according to claim 4, wherein the determining the target device indicated by the data information comprises:
    从所述数据信息中解析出所述数据信息传输的目标云端设备,作为第二目标设备; Parsing the target cloud device of the data information transmission from the data information as a second target device;
    所述基于所述处理后的数据向所述目标设备传输数据,包括:Transmitting the data to the target device based on the processed data, including:
    向所述第二目标设备发送所述原始数据信息。Sending the raw data information to the second target device.
  6. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method of claim 4, wherein the method further comprises:
    若所述数据信息包括ARP请求,则查找出第三目标设备的物理地址,所述第三目标设备为所述ARP请求指示的目标云端设备;If the data information includes an ARP request, the physical address of the third target device is found, where the third target device is 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.
  7. 一种数据传输方法,其特征在于,所述方法包括:A data transmission method, characterized in that the method comprises:
    响应于获取到数据信息,判断所述数据信息所源自的来源设备是云端设备还是用户设备;Determining, in response to obtaining the data information, 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, obtain tunneling protocol information that matches the data transmission channel that transmits the data information;
    根据所述隧道协议信息对所述数据信息进行解封装,以获得原始数据信息;Decapsulating the data information according to the tunneling protocol information to obtain original data information;
    确定所述数据信息指示的目标设备作为第一目标设备;Determining, by the target device indicated by the data information, as a first target device;
    向所述第一目标设备包括的预定单元传输所述原始数据信息。The raw data information is transmitted to a predetermined unit included in the first target device.
  8. 根据权利要求7所述的方法,其特征在于,所述方法还包括:The method of claim 7, wherein the method further comprises:
    若所述来源设备为用户设备,则确定所述数据信息是否包括地址解析协议ARP请求;If the source device is a user equipment, determining whether the data information includes an address resolution protocol ARP request;
    若所述数据信息未包括ARP请求,获取数据传输通道匹配的隧道协议信息;If the data information does not include an ARP request, obtain tunneling protocol information that is matched by the data transmission channel;
    根据所述隧道协议信息将所述数据信息封装成隧道协议数据包;Encapsulating the data information into a tunnel protocol data packet according to the tunneling protocol information;
    确定所述数据信息指示的目标设备作为第二目标设备;Determining, by the target device indicated by the data information, as a second target device;
    通过所述数据传输通道向所述第二目标设备对应的网关发送所述隧道协议数据包,以供所述网关将所述隧道协议数据包解封装后,将所述数据信息发送给所述第二目标设备。Transmitting, by the data transmission channel, the tunnel protocol data packet to a gateway corresponding to the second target device, after the gateway decapsulates the tunnel protocol data packet, and sending the data information to the Two target devices.
  9. 根据权利要求8所述的方法,其特征在于,所述方法还包括:The method of claim 8 further comprising:
    若所述数据信息包括ARP请求,则确定第三目标设备对应的网关,所述第三目标设备为所述ARP请求指示的目标云端设备;If the data information includes an ARP request, determining a gateway corresponding to the third target device, where the third target device is the target cloud device indicated by the ARP request;
    向所述网关发送所述数据信息,以供所述网关查找出第三目标设备的物理地址;Sending the data information to the gateway, where the gateway searches for a physical address of the third target device;
    接收所述网关返回的所述第三目标设备的物理地址。Receiving a physical address of the third target device returned by the gateway.
  10. 一种网关设备,其特征在于,所述网关设备包括:接收器、中央处理单元、处理 单元、数据解析单元、发送器;A gateway device, comprising: a receiver, a central processing unit, and processing Unit, data parsing unit, transmitter;
    其中,由所述接收器接收数据信息,中央处理单元响应于所述接收器接收到数据信息,判断所述数据信息所源自的来源设备是云端设备还是用户设备,所述处理单元基于所述中央处理单元判断的结果,对所述数据信息进行对应的处理,以获取处理后的数据,所述数据解析单元确定所述数据信息指示的目标设备,由所述发送器基于所述处理后的数据向所述目标设备传输数据。Receiving, by the receiver, the data information, the central processing unit, in response to the receiver receiving the data information, determining whether the source device from which the data information originates is a cloud device or a user device, and the processing unit is based on the As a result of the determination by the central processing unit, the data information is correspondingly processed to obtain the processed data, and the data parsing unit determines the target device indicated by the data information, and the transmitter is based on the processed Data is transmitted to the target device.
  11. 根据权利要求10所述的网关设备,其特征在于,所述处理单元配置用于:The gateway device according to claim 10, wherein the processing unit is configured to:
    在所述来源设备是云端设备时,根据数据传输通道匹配的隧道协议信息,将所述数据信息封装成隧道协议数据包。When the source device is a cloud device, the data information is encapsulated into a tunnel protocol data packet according to the tunneling protocol information matched by the data transmission channel.
  12. 根据权利要求11所述的网关设备,其特征在于,所述数据解析单元配置用于:The gateway device according to claim 11, wherein the data parsing unit is configured to:
    从所述数据信息中解析出所述数据信息传输的目标用户设备,作为第一目标设备;Demyimating, from the data information, the target user equipment that is transmitted by the data information, as a first target device;
    所述发送器配置用于:The transmitter is configured to:
    通过所述数据传输通道向所述第一目标设备发送所述隧道协议数据包,以供所述第一目标设备将所述隧道协议数据包解封装后,获取所述数据信息;或者Transmitting, by the data transmission channel, the tunnel protocol data packet to the first target device, where the first target device decapsulates the tunnel protocol data packet, and acquiring the data information; or
    通过所述数据传输通道向所述第一目标设备对应的网关发送所述隧道协议数据包,以供所述网关将所述隧道协议数据包解封装后,将所述数据信息发送给所述第一目标设备。Transmitting, by the data transmission channel, the tunnel protocol data packet to a gateway corresponding to the first target device, where the gateway decapsulates the tunnel protocol data packet, and sending the data information to the first A target device.
  13. 根据权利要求10所述的网关设备,其特征在于,所述处理单元配置用于:The gateway device according to claim 10, wherein the processing unit is configured to:
    在所述来源设备是用户设备,并且所述数据信息未包括ARP请求时,根据传输所述数据信息的数据传输通道匹配的隧道协议信息对所述数据信息进行解封装,以获得原始数据信息。When the source device is a user equipment, and the data information does not include an ARP request, the data information is decapsulated according to tunneling protocol information matched by the data transmission channel that transmits the data information to obtain original data information.
  14. 根据权利要求13所述的网关设备,其特征在于,所述数据解析单元配置用于:The gateway device according to claim 13, wherein the data parsing unit is configured to:
    从所述数据信息中解析出所述数据信息传输的目标云端设备,作为第二目标设备;Parsing the target cloud device of the data information transmission from the data information as a second target device;
    所述发送器配置用于:The transmitter is configured to:
    向所述第二目标设备发送所述原始数据信息。Sending the raw data information to the second target device.
  15. 根据权利要求13所述的网关设备,其特征在于,所述网关设备还包括物理地址查找单元:The gateway device according to claim 13, wherein the gateway device further comprises a physical address searching unit:
    所述物理地址查找单元在所述数据信息包括ARP请求时,查找出第三目标设备的物理地址,所述第三目标设备为所述ARP请求指示的目标云端设备;The physical address searching unit searches for a physical address of the third target device when the data information includes an ARP request, and the third target device is the target cloud device indicated by the ARP request;
    所述发送器还配置用于: The transmitter is also configured to:
    向所述来源设备返回所述物理地址,以供所述来源设备基于所述物理地址与所述第三目标设备进行通信。Returning the physical address to the source device for the source device to communicate with the third target device based on the physical address.
  16. 一种数据传输设备,其特征在于,所述设备包括:信息获取单元、中央处理单元、处理单元、数据解析单元、传输单元;A data transmission device, comprising: an information acquisition unit, a central processing unit, a processing unit, a data parsing unit, and a transmission unit;
    其中,由所述信息获取单元获取数据信息,中央处理单元响应于所述信息获取单元获取到数据信息,判断所述数据信息所源自的来源设备是云端设备还是用户设备,若所述中央处理单元判断的结果为来源设备是云端设备,则所述处理单元根据隧道协议信息对所述数据信息进行解封装,以获得原始数据信息,所述数据解析单元确定所述数据信息指示的目标设备作为第一目标设备;由所述传输单元向所述第一目标设备包括的预定单元传输所述原始数据信息。The central processing unit is configured to obtain the data information by the information acquiring unit, and the central processing unit determines, according to the information acquiring unit, the data information, whether the source device from which the data information is originated is a cloud device or a user device, if the central processing As a result of the unit determination, the source device is a cloud device, and the processing unit decapsulates the data information according to the tunnel protocol information to obtain original data information, where the data parsing unit determines the target device indicated by the data information as a first target device; the raw data information is transmitted by the transmission unit to a predetermined unit included in the first target device.
  17. 根据权利要求16所述的设备,其特征在于,若所述中央处理单元判断的结果为来源设备是用户设备,则所述处理单元配置用于在所述数据信息未包括ARP请求时,根据数据传输通道匹配的隧道协议信息将所述数据信息封装成隧道协议数据包,所述数据解析单元确定所述数据信息指示的目标设备作为第二目标设备,传输单元通过所述数据传输通道向所述第二目标设备对应的网关发送所述隧道协议数据包,以供所述网关将所述隧道协议数据包解封装后,将所述数据信息发送给所述第二目标设备。The device according to claim 16, wherein if the result of the determination by the central processing unit is that the source device is a user device, the processing unit is configured to use the data according to the data when the data information does not include an ARP request. Transmitting channel matching tunneling protocol information, the data information is encapsulated into a tunneling protocol data packet, the data parsing unit determines a target device indicated by the data information as a second target device, and the transmitting unit transmits the data to the The gateway corresponding to the second target device sends the tunneling protocol data packet, and the gateway sends the data information to the second target device after the gateway decapsulates the tunneling protocol data packet.
  18. 根据权利要求17所述的设备,其特征在于,The device according to claim 17, wherein
    数据解析单元还配置用于在所述数据信息包括ARP请求时,确定第三目标设备对应的网关,所述第三目标设备为所述ARP请求指示的目标云端设备;The data parsing unit is further configured to: when the data information includes an ARP request, determine a gateway corresponding to the third target device, where the third target device is the target cloud device indicated by the ARP request;
    传输单元还配置用于向所述网关发送所述数据信息,以供所述网关查找出第三目标设备的物理地址;The transmitting unit is further configured to send the data information to the gateway, where the gateway searches for a physical address of the third target device;
    信息获取单元还配置用于接收所述网关返回的所述第三目标设备的物理地址。The information obtaining unit is further configured to receive a physical address of the third target device returned by the gateway.
  19. 一种数据传输装置,其特征在于,所述装置包括:A data transmission device, characterized in that the device comprises:
    判断单元,用于响应于接收到数据信息,判断所述数据信息所源自的来源设备是云端设备还是用户设备;a determining unit, configured to determine, according to the received data information, whether the source device from which the data information is originated is a cloud device or a user device;
    处理单元,用于基于所述判断的结果,对所述数据信息进行对应的处理,以获取处理后的数据;a processing unit, configured to perform corresponding processing on the data information to obtain processed data according to a result of the determining;
    确定单元,用于确定所述数据信息指示的目标设备;a determining unit, configured to determine a target device indicated by the data information;
    传输单元,用于基于所述处理后的数据向所述目标设备传输数据。And a transmission unit, configured to transmit data to the target device based on the processed data.
  20. 一种数据传输装置,其特征在于,所述装置包括: A data transmission device, characterized in that the device comprises:
    判断单元,用于响应于获取到数据信息,判断所述数据信息所源自的来源设备是云端设备还是用户设备;a determining unit, configured to determine, according to the acquired data information, whether the source device from which the data information is derived is a cloud device or a user device;
    获取单元,用于在所述来源设备是云端设备时,获取传输所述数据信息的数据传输通道匹配的隧道协议信息;An acquiring unit, configured to acquire, when the source device is a cloud device, tunneling protocol information that matches a data transmission channel that transmits the data information;
    解封装单元,用于根据所述隧道协议信息对所述数据信息进行解封装,以获得原始数据信息;Decapsulating unit, configured to decapsulate the data information according to the tunneling protocol information to obtain original data information;
    确定单元,用于确定所述数据信息指示的目标设备作为第一目标设备;a determining unit, configured to determine, as the first target device, the target device indicated by the data information;
    传输单元,用于向所述第一目标设备包括的预定单元传输数据所述原始数据信息。And a transmitting unit, configured to transmit the original data information to the predetermined unit included in the first target device.
  21. 一种数据传输系统,其特征在于,所述系统包括多个云端设备,多个用户设备,至少一个网关设备;A data transmission system, characterized in that the system comprises a plurality of cloud devices, a plurality of user devices, and at least one gateway device;
    其中,所述网关设备包括权利要求10至15中任一项所述的网关设备,或如权利要求20所述的数据传输装置;The gateway device includes the gateway device according to any one of claims 10 to 15, or the data transmission device according to claim 20;
    所述用户设备包括权利要求16至18中任一项所述的数据传输设备,或如权利要求20所述的数据传输装置。 The user equipment comprises the data transmission device according to any one of claims 16 to 18, or the data transmission device according to claim 20.
PCT/CN2017/106985 2016-11-01 2017-10-20 Data transmission method, equipment, device and system WO2018082452A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2018082452A1 true WO2018082452A1 (en) 2018-05-11

Family

ID=62047935

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/106985 WO2018082452A1 (en) 2016-11-01 2017-10-20 Data transmission method, equipment, device and system

Country Status (3)

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

Cited By (1)

* 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

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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 (4)

* 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
CN102948132A (en) * 2010-06-22 2013-02-27 微软公司 Distributed virtual network gateways
CN104335532A (en) * 2012-06-04 2015-02-04 瑞典爱立信有限公司 Routing VLAN tagged packets to far end addresses of virtual forwarding instances using separate administrations
US20150281075A1 (en) * 2014-03-31 2015-10-01 Electronics And Telecommunications Research Institute Method and apparatus for processing address resolution protocol (arp) packet

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8493851B2 (en) * 2010-05-07 2013-07-23 Broadcom Corporation Method and system for offloading tunnel packet processing in cloud computing
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
TW201526588A (en) * 2013-12-17 2015-07-01 Edgewater Networks Inc Methods and systems to split equipment control between local and remote processing units
CN104113879B (en) * 2014-08-13 2018-03-06 成都西加云杉科技有限公司 It is deployed with cloud AC WiFi communication system and communication means

Patent Citations (4)

* 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
CN102948132A (en) * 2010-06-22 2013-02-27 微软公司 Distributed virtual network gateways
CN104335532A (en) * 2012-06-04 2015-02-04 瑞典爱立信有限公司 Routing VLAN tagged packets to far end addresses of virtual forwarding instances using separate administrations
US20150281075A1 (en) * 2014-03-31 2015-10-01 Electronics And Telecommunications Research Institute Method and apparatus for processing address resolution protocol (arp) packet

Cited By (1)

* 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

Also Published As

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

Similar Documents

Publication Publication Date Title
US11659441B2 (en) Load balance method and apparatus thereof
US20200195740A1 (en) Subscribe and publish method and server
CN112511611B (en) Communication method, device and system of node cluster and electronic equipment
US10187459B2 (en) Distributed load balancing system, health check method, and service node
US11140071B2 (en) Multipath data transmission method and device
CN107872542B (en) Data transmission method and network equipment
CN112583618B (en) Method, device and computing equipment for providing network service for business
US20140067914A1 (en) Computer system and packet transfer method
US9843514B2 (en) Packet processing method and background server
US20160344681A1 (en) Apparatus and Methods for Assigning Internetwork Addresses
WO2018082452A1 (en) Data transmission method, equipment, device and system
JP7535022B2 (en) Apparatus, method and program for remotely managing devices
CN112583910B (en) Equipment access method and device of Internet of things platform, electronic equipment and storage medium
EP3217611A1 (en) Media resource feedback method and device
WO2023125151A1 (en) Data migration system, method and apparatus for internet-of-things device, and storage medium
CN112929411A (en) Distributed file transmission method, server and private cloud equipment
CN109714376B (en) Method, device and system for sending fixed network message
CN114025009B (en) Method, system, proxy server and device for forwarding request
EP2963880B1 (en) Data sending and processing method and router
CN105323128B (en) method, device and system for accessing front-end equipment to server
US20120300776A1 (en) Method for creating virtual link, communication network element, and ethernet network system
WO2014135102A1 (en) Wlan user management method, device and system
CN111565237B (en) Network parameter determination method and device, computer equipment and storage medium
CN112543351A (en) Network video data processing method and processing system
JP4019666B2 (en) Gateway device and information device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17867309

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17867309

Country of ref document: EP

Kind code of ref document: A1