CN111405018A - File transmission method and device, electronic equipment and storage medium - Google Patents

File transmission method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111405018A
CN111405018A CN202010160024.9A CN202010160024A CN111405018A CN 111405018 A CN111405018 A CN 111405018A CN 202010160024 A CN202010160024 A CN 202010160024A CN 111405018 A CN111405018 A CN 111405018A
Authority
CN
China
Prior art keywords
data tunnel
storage device
unique identifier
tunnel
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010160024.9A
Other languages
Chinese (zh)
Other versions
CN111405018B (en
Inventor
张发恩
马鑫意
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Innovation Wisdom Shanghai Technology Co ltd
Original Assignee
Innovation Wisdom Shanghai Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Innovation Wisdom Shanghai Technology Co ltd filed Critical Innovation Wisdom Shanghai Technology Co ltd
Priority to CN202010160024.9A priority Critical patent/CN111405018B/en
Publication of CN111405018A publication Critical patent/CN111405018A/en
Application granted granted Critical
Publication of CN111405018B publication Critical patent/CN111405018B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2592Translation of Internet protocol [IP] addresses using tunnelling or encapsulation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms

Abstract

The application provides a file transmission method, a file transmission device, electronic equipment and a storage medium, wherein the file transmission method can be applied to a server, and the method comprises the following steps: receiving a unique identifier of the storage device sent by the terminal device; determining tunnel indication information corresponding to the unique identifier of the storage device, wherein the tunnel indication information is used for indicating storage index information of the data tunnel; determining a data tunnel corresponding to the unique identifier of the storage device according to the tunnel indication information; and sending the data tunnel to the terminal equipment so that the terminal equipment transmits the file with the storage equipment through the data tunnel. That is to say, the terminal device can use the pre-established data tunnel sent by the server, and can quickly establish connection with the storage device by using the data tunnel, thereby effectively improving the efficiency of file transmission between the terminal device and different storage devices.

Description

File transmission method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of data transmission technologies, and in particular, to a file transmission method and apparatus, an electronic device, and a storage medium.
Background
Internet Protocol Address (Internet Protocol Address), often abbreviated as IP (Internet Protocol) Address, is a digital label assigned to an Internet Protocol device used by a user to access the Internet, and the IP Address can be generally divided into: a public network IP address and a private network IP address. A public network IP address refers to an address directly reachable on the internet, i.e. an IP address that can be accessed directly on the internet. The private IP address is an address that cannot be directly reached on the internet, i.e., an IP address that cannot be directly accessed on the internet.
At present, when a user needs to transmit files with different storage devices, the public network IP address of a target storage device is usually required to be frequently changed, and the time consumption of file transmission is greatly increased; usually, all storage devices do not have public network IP addresses, and some storage devices only have private network IP addresses; that is, it is inefficient for a user to transfer files with different storage devices through the device.
Disclosure of Invention
An object of the embodiments of the present application is to provide a file transmission method, an apparatus, an electronic device, and a storage medium, which are used to solve the problem of low efficiency in transmitting files through a device and different storage devices.
The embodiment of the application provides a file transmission method, which is applied to a server and comprises the following steps: receiving a unique identifier of the storage device sent by the terminal device; determining tunnel indication information corresponding to the unique identifier of the storage device, wherein the tunnel indication information is used for indicating storage index information of the data tunnel; determining a data tunnel corresponding to the unique identifier of the storage device according to the tunnel indication information; and sending the data tunnel to the terminal equipment so that the terminal equipment transmits the file with the storage equipment through the data tunnel. In the implementation process, the unique identifier of the storage device sent by the terminal device is received through the server; the server determines tunnel indication information corresponding to the unique identifier of the storage device; the server determines a data tunnel corresponding to the unique identifier of the storage device according to the tunnel indication information; the server sends a data tunnel to the terminal equipment so that the terminal equipment transmits files with the storage equipment through the data tunnel; that is, the terminal device uses the pre-established data tunnel sent by the server, and can quickly establish connection with the storage device by using the data tunnel, thereby effectively improving the efficiency of file transmission between the terminal device and different storage devices.
Optionally, in this embodiment of the present application, before sending the data tunnel to the terminal device, the method further includes: establishing a data tunnel between a server and at least one gateway device, and acquiring indication information of the data tunnel, wherein a network segment to which a network address of the at least one gateway device belongs is different from a network segment to which the network address of the server belongs; determining a unique identification of at least one storage device to which at least one gateway device is connected; and storing the indication information of the data tunnel and the unique identification of the at least one storage device in a cache. In the implementation process, a data tunnel between a server and at least one gateway device is established, and indication information of the data tunnel is acquired; determining a unique identification of at least one storage device to which at least one gateway device is connected; storing the indication information of the data tunnel and the unique identifier of at least one storage device into a cache; that is to say, by storing the data tunnel established in advance into the cache, and taking out the data tunnel from the cache when the terminal device needs to use the data tunnel, the connection between the data tunnel and the storage device can be quickly established by using the data tunnel, thereby effectively improving the efficiency of file transmission between the terminal device and different storage devices.
Optionally, in this embodiment of the present application, determining tunnel indication information corresponding to the unique identifier of the storage device includes: judging whether the indication information of the data tunnel corresponding to the unique identifier of the storage equipment is found in the cache; and if so, determining the indication information as the tunnel indication information. In the implementation process, the data tunnel corresponding to the unique identifier of the storage device is hit by using the cache, and the data tunnel is taken out from the cache, so that the connection between the data tunnel and the storage device can be quickly established by using the data tunnel, and the efficiency of file transmission between the terminal device and different storage devices is effectively improved.
Optionally, in this embodiment of the present application, after determining whether the indication information of the data tunnel corresponding to the unique identifier of the storage device is found in the cache, the method further includes: if the data tunnel corresponding to the unique identifier of the storage device is not found in the cache, the data tunnel of the storage device is established according to the unique identifier of the storage device, and the indication information for establishing the data tunnel of the storage device is determined as tunnel indication information. In the implementation process, if the data tunnel corresponding to the unique identifier of the storage device is not found in the cache, the data tunnel of the storage device is established according to the unique identifier of the storage device, and the indication information for establishing the data tunnel of the storage device is determined as tunnel indication information; that is to say, when the data tunnel is not searched in the cache, the server establishes the data tunnel, thereby effectively improving the establishing and using efficiency of the data tunnel.
Optionally, in this embodiment of the present application, establishing a data tunnel of a storage device according to a unique identifier of the storage device includes: determining gateway equipment according to the unique identifier of the storage equipment, wherein the network segment to which the network address of the gateway equipment belongs is the same as the network segment to which the network address of the storage equipment belongs; and establishing a data tunnel between the server and the gateway device, wherein the network segment to which the network address of the server belongs is different from the network segment to which the network address of the gateway device belongs. In the implementation process, the gateway equipment is determined according to the unique identifier of the storage equipment; establishing a data tunnel between a server and gateway equipment; that is to say, the server establishes a data tunnel with the gateway device in advance, and then sends the data tunnel to the terminal device, so that the terminal device can quickly establish connection with the storage device by using the data tunnel, and the efficiency of file transmission between the terminal device and different storage devices is effectively improved.
The embodiment of the application further provides a file transmission method, which is applied to terminal equipment and comprises the following steps: obtaining a unique identifier of a storage device; sending the unique identifier of the storage device to a server so that the server determines and sends a data tunnel corresponding to the unique identifier of the storage device; receiving a data tunnel sent by a server; and establishing connection with the storage device by using the data tunnel, and transmitting the file with the storage device. In the implementation process, the data tunnel sent by the server is received by the terminal device, and the terminal device uses the pre-established data tunnel sent by the server to quickly establish connection with the storage device by using the data tunnel, so that the efficiency of file transmission between the terminal device and different storage devices is effectively improved.
The embodiment of the present application further provides a file transmission apparatus, which is applied to a server, and includes: the unique identifier receiving module is used for receiving the unique identifier of the storage device sent by the terminal device; the indication information determining module is used for determining tunnel indication information corresponding to the unique identifier of the storage device, and the tunnel indication information is used for indicating storage index information of the data tunnel; the data tunnel determining module is used for determining a data tunnel corresponding to the unique identifier of the storage device according to the tunnel indication information; and the data tunnel sending module is used for sending the data tunnel to the terminal equipment so that the terminal equipment can transmit the file with the storage equipment through the data tunnel.
Optionally, in this embodiment of the present application, the file transfer apparatus further includes: the tunnel establishment module is used for establishing a data tunnel between the server and at least one gateway device and acquiring indication information of the data tunnel, wherein the network segment to which the network address of at least one gateway device belongs is different from the network segment to which the network address of the server belongs; the identification determining module is used for determining the unique identification of at least one storage device connected with at least one gateway device; and the cache storage module is used for storing the indication information of the data tunnel and the unique identifier of the at least one storage device into a cache.
Optionally, in an embodiment of the present application, the indication information determining module includes: the searching and judging module is used for judging whether the indication information of the data tunnel corresponding to the unique identifier of the storage equipment is searched in the cache; and the first determining module is used for determining the indication information as the tunnel indication information if the indication information of the data tunnel corresponding to the unique identifier of the storage device is found in the cache.
Optionally, in this embodiment of the application, the indication information determining module further includes: and the second determining module is used for establishing the data tunnel of the storage device according to the unique identifier of the storage device if the data tunnel corresponding to the unique identifier of the storage device is not found in the cache, and determining the indication information for establishing the data tunnel of the storage device as tunnel indication information.
Optionally, in an embodiment of the present application, the second determining module includes: the gateway equipment determining module is used for determining the gateway equipment according to the unique identifier of the storage equipment, and the network segment to which the network address of the gateway equipment belongs is the same as the network segment to which the network address of the storage equipment belongs; and the data tunnel establishing module is used for establishing a data tunnel between the server and the gateway equipment, and the network segment to which the network address of the server belongs is different from the network segment to which the network address of the gateway equipment belongs.
The embodiment of the present application further provides a file transmission apparatus, which is applied to a terminal device, and includes: the unique identifier obtaining module is used for obtaining the unique identifier of the storage device; the unique identifier sending module is used for sending the unique identifier of the storage device to the server so that the server can determine and send the data tunnel corresponding to the unique identifier of the storage device; the data tunnel receiving module is used for receiving a data tunnel sent by the server; and the connection file transmission module is used for establishing connection with the storage equipment by using the data tunnel and transmitting files with the storage equipment.
An embodiment of the present application further provides an electronic device, including: a processor and a memory, the memory storing processor-executable machine-readable instructions, the machine-readable instructions when executed by the processor performing the method as described above.
Embodiments of the present application also provide a storage medium having a computer program stored thereon, where the computer program is executed by a processor to perform the method as described above.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic structural diagram of a file transfer system provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of a file transfer method provided in an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a method for establishing a data tunnel according to an embodiment of the present application;
fig. 4 is a schematic timing diagram illustrating interaction between a server and a terminal device according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a document transportation apparatus provided in an embodiment of the present application;
fig. 6 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Icon: 100-a file transfer system; 110-a terminal device; 120-a server; 130-the internet; 140-a gateway device; 150-a storage device; 500-a file transfer device; 510-a unique identification reception module; 520-indication information determination module; 530-data tunnel determination module; 540-data tunnel sending module; 600-an electronic device; 610-a processor; 620-memory; 630-storage medium.
Detailed Description
The technical solution in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
Before the file transmission method provided by the embodiment of the present application is introduced, some concepts related to the embodiment of the present application are introduced, and some concepts related to the embodiment of the present application are as follows:
open System Interconnection (OSI), is a network interconnection model architecture standard promulgated by the ISO organization, which defines a seven-layer framework for network interconnection, where the seven-layer framework includes: a physical layer, a data link layer, a network layer, a transport layer, a session layer, a presentation layer, and an application layer.
A Transmission Control Protocol (TCP), also known as a network communication Protocol, is a connection-oriented, reliable transport layer communication Protocol based on byte streams; in the internet protocol suite (internet protocol suite), the TCP layer is an intermediate layer located above the IP layer and below the application layer; reliable, pipe-like connections are often required between the application layers of different hosts, but the IP layer does not provide such a flow mechanism, but rather provides unreliable packet switching.
A network segment (network segment) refers to a part of a computer network that uses the same physical layer device to directly communicate; the physical layer device here is, for example: transmission media, repeaters, hubs, etc., where direct communication is, for example: devices using the same physical layer are usually directly connected to each other through the same transmission medium, and specifically, two hosts directly connected using a cross twisted pair can directly communicate and the like.
Cloud storage is a new concept extended and developed on the concept of cloud computing (cloud computing), and refers to a system that integrates a large number of storage devices of different types in a network through application software to cooperate through functions such as cluster application, grid technology or distributed file system, and provides data storage and service access functions to the outside.
A Secure Shell (SSH) protocol, which is a security protocol established on the basis of an application layer; SSH protocols are currently a reliable protocol that can provide security for telnet sessions and other web services.
Network sockets (also known as network interfaces or network slots) are endpoints of inter-run data flows in computer networks in computer science; using a network socket based on Internet protocol (Internet protocol) communication, called Internet socket; because of the popularity of the internet protocol, most of the modern web sockets belong to the internet sockets.
A DataBase (DataBase, DB) which is a collection for storing electronic data or electronic files, and in short, can be regarded as an electronic file cabinet, and a user can perform operations such as adding, intercepting, updating, and deleting on data in a file; the database is a collection of data that is stored together in a manner that can be shared by multiple users, has as little redundancy as possible, and is independent of the application.
Please refer to fig. 1 for a schematic structural diagram of a file transfer system provided in the embodiment of the present application; before introducing the file transmission method provided by the embodiment of the present application, one of the file transmission systems 100 provided by the embodiment of the present application is introduced, where the file transmission system 100 includes: a terminal device 110, a server 120, the internet 130, at least one gateway device 140, and at least one storage device 150 corresponding to the gateway device 140; the terminal device 110 may be in communication with a server 120, the server 120 may be in communication with at least one gateway device 140 via the internet 130, and the gateway device 140 may be in communication with at least one storage device 150 corresponding to the gateway device 140.
It is understood that the gateway device 140 and the at least one storage device 150 corresponding to the gateway device 140 are in the same network segment, and the server 120 and the at least one gateway device 140 are in different network segments. If at least one gateway device 140 is a plurality of gateway devices 140, the plurality of gateway devices 140 may be in the same network segment or in different network segments. The terminal device 110 may directly communicate with the server 120 in the same network segment, or may not be in the same network segment as the server 120, for example: the terminal device 110 and the server 120 communicate with each other through at least one network device (not shown), where the network device is not an end receiver of the data traffic, but a device that forwards the data traffic to the end receiver, and the network device includes: bridges, switches, routers, and the like.
The terminal device 110 in the embodiment of the present application is a device that is connected to the server 120 through a communication link and has a function of executing a computer program, and the terminal device 110 may be a tablet computer, a smart phone, a personal digital assistant, an e-book reader, or the like; alternatively, the terminal device 110 may also be an intelligent audio device, a recording pen, a mobile phone, a remote controller, a Personal Computer (PC), a network switch, a network router, or a desktop host, and specifically, for example: personal computer devices such as desktop computers or notebook computers.
The server 120 in the embodiment of the present application refers to a device that provides computing services through a network, and the server 120 includes, for example: x86 server and non-x 86 server, non-x 86 server includes: mainframe, minicomputer, and UNIX server. Certainly, in a specific implementation process, the server 120 may specifically select a mainframe or a minicomputer, where the mainframe refers to a dedicated processor that mainly supports a closed and dedicated device for providing Computing service of a UNIX operating system, and that uses Reduced Instruction Set Computing (RISC), single-length fixed-point Instruction average execution speed (MIPS), and the like; a mainframe, also known as a mainframe, refers to a device that provides computing services using a dedicated set of processor instructions, an operating system, and application software.
The internet 130 in the embodiment of the present application refers to a network connecting a server and a gateway device, where the network is a communication carrier of the server and the gateway device, and specifically includes: the server and the gateway device can communicate through a wireless network, can communicate through a wired network, and can communicate in a mixed mode of the wired network and the wireless network.
The gateway device 140 in this embodiment of the present application is a device that is not the final recipient of the data packet, but merely forwards the data packet to the final recipient, where the gateway device 140 includes: the home router comprises devices such as a home gateway, a home router and an enterprise router.
The storage device 150 in the embodiment of the present application is an electronic computing device capable of providing a storage service, and the storage device 150 has a function of executing a computer program and is capable of digitizing information and storing the information in a medium using an electric, magnetic, optical, or the like. Devices that store information using electrical energy include: various memories, such as Random Access Memories (RAMs), Read-Only memories (ROMs), and the like; devices that store information using magnetic energy such as: hard disk, floppy disk, tape, magnetic core memory, bubble memory; devices that store information optically such as: CD and DVD, etc.; devices that store information using magneto-optical means such as: magneto-optical disks, and the like.
Before introducing the file transmission method provided by the embodiment of the present application, an application scenario applicable to the file transmission method is introduced, where the application scenario includes, but is not limited to: and establishing a cloud storage server by using the file transmission method, or accelerating the file transmission process by using the file transmission method, and the like.
Please refer to fig. 2, which is a schematic diagram illustrating a file transmission method according to an embodiment of the present application; the file transmission method is applied to the server, and can comprise the following steps:
step S210: and the server receives the unique identification of the storage device sent by the terminal device.
Unique Identification (ID), also called unique identifier, refers to an identification symbol capable of uniquely identifying a target, where the unique identification is, for example: a Media Access Control (MAC) address of the storage device, a hard disk serial number of the storage device, a Windows product identification number of the storage device, a machine guid or a motherboard smBIOSUUID, and so on.
The embodiment of step S210 described above is, for example: the server receives the unique identifier of the storage device sent by the terminal device through a Transmission Control Protocol (TCP) or a User Datagram Protocol (UDP); wherein, the TCP protocol is also called network communication protocol, which is a connection-oriented, reliable and byte stream-based transport layer communication protocol; in the Internet protocol suite (Internet protocol suite), the TCP layer is an intermediate layer located above the IP layer and below the application layer; reliable, pipe-like connections are often required between the application layers of different hosts, but the IP layer does not provide such a flow mechanism, but rather provides unreliable packet switching. The UDP Protocol is a short for User Datagram Protocol, a Chinese name is a User Datagram Protocol, and the UDP Protocol is a connectionless transport layer Protocol in an Open System Interconnection (OSI) reference model, and provides a transaction-oriented simple unreliable information transfer service.
Step S220: and the server determines tunnel indication information corresponding to the unique identifier of the storage device.
The tunnel indication information is storage index information indicating a data tunnel, where the data tunnel is a virtual tunnel established between a source device and a destination device on a physical network by using a Tunneling Protocol (Tunneling Protocol), and the source device and the destination device may perform secure communication and data transmission through the virtual tunnel. The tunneling protocol is a network protocol in which a different network protocol is encapsulated in a payload portion using one network protocol; the reason for using tunnels is to transport data over incompatible networks or to provide a secure path over an unsecured network. Common tunneling protocols are for example: SSH Protocol, Point-to-Point Protocol (PPP), or Point-to-Point Protocol Over Ethernet (PPPoE). The above tunnel indication information includes, for example: index information of a network socket established using the SSH protocol, the PPP protocol, or the PPPoE protocol, and the like.
The above-mentioned embodiment of determining the tunnel indication information corresponding to the unique identifier of the storage device in step S220 may include the following steps:
step S221: and the server judges whether the indication information of the data tunnel corresponding to the unique identifier of the storage equipment is found in the cache.
The above embodiment of step S221 is divided into the following two cases:
in the first case, the cache is a local cache; the local cache may be a memory database or a cache database, for example: memcached and Redis, etc.; random Access Memory (RAM) of the server, etc.; then, in this case, the implementation manner of step S221 is, for example: if the Redis service is installed on the server, whether indication information of a data tunnel corresponding to the unique identifier of the storage device exists or not can be inquired by using the Redis service on the server; if the data tunnel exists, finding the indication information of the data tunnel corresponding to the unique identifier of the storage equipment in the cache; if the unique identifier does not exist, the indication information of the data tunnel corresponding to the unique identifier of the storage device is not found in the cache.
In the second case, the cache is an external cache; the external cache may be a cache device in communication with the server, where the cache device refers to a device capable of providing a cache service for the server, and specifically, the cache device may be, for example, a device installed with a Memcached service, or a device installed with a Redis service, and the like; then, in this case, the implementation manner of step S221 is, for example: if the cache device is a device of Redis service, the server may send the unique identifier of the storage device to the cache device; the cache device searches the indication information of the data tunnel corresponding to the unique identifier of the storage device according to the unique identifier of the storage device and sends a search result to the server; the server receives a search result sent by the cache device; if the searching result is found, searching the indication information of the data tunnel corresponding to the unique identifier of the storage equipment in the cache; and if the searching result is that the data tunnel corresponding to the unique identifier of the storage device is not found, the indication information of the data tunnel corresponding to the unique identifier of the storage device is not found in the cache.
Step S222: and if the indication information of the data tunnel corresponding to the unique identifier of the storage device is found in the cache, the server determines the indication information as tunnel indication information.
The embodiment of step S222 described above includes, for example: the index information of the network socket corresponding to the unique identifier of the storage device is queried by using the Redis service on the server, and then the index information of the network socket can be determined as the indication information of the data tunnel corresponding to the unique identifier of the storage device. In the implementation process, the data tunnel corresponding to the unique identifier of the storage device is hit by using the cache, and the data tunnel is taken out from the cache, so that the connection between the data tunnel and the storage device can be quickly established by using the data tunnel, and the efficiency of file transmission between the terminal device and different storage devices is effectively improved.
Step S223: if the data tunnel corresponding to the unique identifier of the storage device is not found in the cache, the server establishes the data tunnel of the storage device according to the unique identifier of the storage device, and determines the indication information for establishing the data tunnel of the storage device as tunnel indication information.
The embodiment of step S223 described above is, for example: if the index information of the network socket corresponding to the unique identifier of the storage device is not inquired by using the Redis service on the server, the server inquires the storage device corresponding to the unique identifier of the storage device in the relational database, establishes the network socket of the data tunnel with the storage device, and determines the index information of the network socket as tunnel indication information. In the implementation process, if the data tunnel corresponding to the unique identifier of the storage device is not found in the cache, the data tunnel of the storage device is established according to the unique identifier of the storage device, and the indication information for establishing the data tunnel of the storage device is determined as tunnel indication information; that is to say, when the data tunnel is not searched in the cache, the server establishes the data tunnel, thereby effectively improving the establishing and using efficiency of the data tunnel.
The above-mentioned embodiment of establishing the data tunnel of the storage device according to the unique identifier of the storage device in step S223 includes:
step S2231: and the server determines the gateway equipment according to the unique identifier of the storage equipment, wherein the network segment to which the network address of the gateway equipment belongs is the same as the network segment to which the network address of the storage equipment belongs.
The above-mentioned implementation manner of step S2231 is, for example, that the server queries a relational database for a storage device corresponding to the unique identifier of the storage device, where the relational database refers to a database that organizes data by using a relational model, the relational database stores data in the form of rows and columns for the user to understand, the series of rows and columns of the relational database are called as a table, and common relational databases are, for example, Mysql, PostgreSQ L, Oracle, SQ L server, and the like.
Step S2232: the server establishes a data tunnel between the server and the gateway device, and the network segment to which the network address of the server belongs is different from the network segment to which the network address of the gateway device belongs.
The embodiment of step S2232 described above is, for example: the server establishes a data tunnel between the server and the gateway device through an SSH protocol, wherein the data tunnel can comprise a network socket, and the server obtains the network socket of the data tunnel and determines the network socket as the data tunnel. Of course, in a specific implementation process, the server may also establish a network socket of a data tunnel between the server and the gateway device through other tunneling protocols, for example: PPP protocol or PPPoE protocol, etc.
In the implementation process, the gateway equipment is determined according to the unique identifier of the storage equipment; establishing a data tunnel between a server and gateway equipment; that is to say, the server establishes a data tunnel with the gateway device in advance, and then sends the data tunnel to the terminal device, so that the terminal device can quickly establish connection with the storage device by using the data tunnel, and the efficiency of file transmission between the terminal device and different storage devices is effectively improved.
Step S230: and the server determines a data tunnel corresponding to the unique identifier of the storage device according to the tunnel indication information.
The above-mentioned embodiment of determining the data tunnel corresponding to the unique identifier of the storage device according to the tunnel indication information in step S230 is, for example: if the tunnel indication information is index information of the network socket, a socket corresponding to the index information of the network socket can be found, and the socket is determined as a data tunnel corresponding to the unique identifier of the storage device.
Step S240: and the server sends the data tunnel to the terminal equipment so that the terminal equipment transmits the file with the storage equipment through the data tunnel.
The server in step S240 above sends the data tunnel to the terminal device in the following embodiments: the server sends a data tunnel to the terminal equipment through a HyperText Transfer Protocol (HTTP) or a HyperText Transfer Protocol security (HTTPS); the HTTP Protocol here is a simple request response Protocol, which typically runs on top of the Transmission Control Protocol (TCP), and specifies what messages a client may send to a server and what responses it gets; the HTTPS protocol is also called HTTP Secure herein, and is a transport protocol for performing Secure communication through a computer network; the main purpose of HTTPS development is to provide authentication to web servers, protecting the privacy and integrity of the exchanged data.
The specific implementation manner of the terminal device transmitting the file with the storage device through the data tunnel in step S240 is, for example: the method comprises the steps that a server establishes a data tunnel between the server and gateway equipment through an SSH protocol, wherein the data tunnel can comprise a network socket, the server sends the network socket of the data tunnel to terminal equipment, and the terminal equipment receives the network socket of the data tunnel sent by the server; the terminal device opens a data tunnel between the server and the gateway device through a network socket, and uses the data tunnel to transmit files with the storage device through a Secure File Transfer Protocol (SSH File Transfer Protocol, also called Secure File Transfer Protocol, abbreviated as Secure FTP or SFTP), where the Secure File Transfer Protocol is a network Transfer Protocol that is a data stream connection and provides File access, transmission and management functions.
In the implementation process, the unique identifier of the storage device sent by the terminal device is received through the server; the server determines tunnel indication information corresponding to the unique identifier of the storage device; the server determines a data tunnel corresponding to the unique identifier of the storage device according to the tunnel indication information; the server sends a data tunnel to the terminal equipment so that the terminal equipment transmits files with the storage equipment through the data tunnel; that is, the terminal device uses the pre-established data tunnel sent by the server, and can quickly establish connection with the storage device by using the data tunnel, thereby effectively improving the efficiency of file transmission between the terminal device and different storage devices.
Please refer to fig. 3, which is a schematic diagram illustrating a method for establishing a data tunnel according to an embodiment of the present application; optionally, in this embodiment of the present application, before sending the data tunnel to the terminal device, a data tunnel between the server and at least one gateway device may also be established in advance, and a specific method for establishing the data tunnel may include the following steps:
step S310: the server establishes a data tunnel between the server and at least one gateway device and acquires tunnel indication information.
It is understood that the network segment to which the network address of the at least one gateway device belongs is different from the network segment to which the network address of the server belongs; if the at least one gateway device is a plurality of gateway devices, network segments to which network addresses of the plurality of gateway devices belong may all be different from each other, may also be partially the same, or may all be the same.
The embodiment of step S310 described above is, for example: the server establishes a data tunnel between the server and the at least one gateway device through an SSH protocol, wherein the data tunnel may include a network socket, and the server obtains the network socket of the at least one data tunnel and determines index information of the network socket as tunnel indication information. Of course, in a specific implementation process, the server may also establish a network socket of a data tunnel between the server and the gateway device through other tunneling protocols, for example: PPP protocol or PPPoE protocol, etc.
Step S320: the server determines a unique identification of at least one storage device to which the at least one gateway device is connected.
The above-mentioned embodiment of step S320 is, for example, that the server stores the unique identifier of at least one gateway device, the unique identifier of the storage device corresponding to the gateway device, and the association relationship between the two devices in a relational database or a non-relational database, and then queries the unique identifier of at least one storage device connected to at least one gateway device in the relational database or the non-relational database, where the non-relational database is also referred to as NoSQ L (Not only for query L) and means Not only structured query language (structured query L and SQ L), and the non-relational database is mainly divided into three non-relational databases of column-oriented storage, document-oriented storage, and key-value pair storage according to the difference of the structured method and the application, and the common non-relational databases include a grafkn knowledge map database, a Neo4j database, a Hadoop subsystem HBase, a mongoddb, and a CouchDB, etc.
Step S330: the server stores the tunnel indication information and the unique identification of the at least one storage device in a cache.
The cache is similar to the concept in step S221, and may be a local cache or an external cache, where the local cache is taken as an example for description, and the implementation manner of step S330 is, for example: the server stores the tunnel indication information and the unique identifier of the at least one storage device into a cache by using a Memcached service or a Redis service, wherein the cache refers to a memory database similar to the Memcached service or the Redis service.
Step S340: and the server receives the unique identification of the storage device sent by the terminal device.
The implementation principle and implementation manner of this step are similar or similar to those of step S210, and therefore, the implementation principle and implementation manner of this step are not described here, and if it is not clear, reference may be made to the description of step S210.
Step S350: and the server determines tunnel indication information corresponding to the unique identifier of the storage device.
The implementation principle and implementation manner of this step are similar or analogous to those of step S220, and therefore, the implementation manner and implementation principle of this step are not described here, and if it is not clear, reference may be made to the description of step S220.
Step S360: and the server determines a data tunnel corresponding to the unique identifier of the storage device according to the tunnel indication information.
The implementation principle and implementation manner of this step are similar or similar to those of step S230, and therefore, the implementation manner and implementation principle of this step are not described here, and if it is not clear, reference may be made to the description of step S230.
Step S370: and the server sends the data tunnel to the terminal equipment so that the terminal equipment transmits the file with the storage equipment through the data tunnel.
The implementation principle and implementation manner of this step are similar or similar to those of step S240, and therefore, the implementation principle and implementation manner of this step are not described here, and if it is not clear, reference may be made to the description of step S240.
In the implementation process, a data tunnel between a server and at least one gateway device is established, and indication information of the data tunnel is acquired; determining a unique identification of at least one storage device to which at least one gateway device is connected; storing the indication information of the data tunnel and the unique identifier of at least one storage device into a cache; that is to say, by storing the data tunnel established in advance into the cache, and taking out the data tunnel from the cache when the terminal device needs to use the data tunnel, the connection between the data tunnel and the storage device can be quickly established by using the data tunnel, thereby effectively improving the efficiency of file transmission between the terminal device and different storage devices.
Please refer to fig. 4, which is a schematic timing diagram illustrating interaction between a server and a terminal device according to an embodiment of the present application; optionally, the server executing the file transmission method may further interact with the terminal device, and the specific interaction method may include the following steps:
step S410: the terminal device obtains the unique identifier of the storage device.
The above embodiment of the terminal device obtaining the unique identifier of the storage device includes: the first mode is that a unique identifier of a pre-stored storage device is obtained, the unique identifier of the storage device is obtained from a file system, or the unique identifier of the storage device is obtained from a database; in a second mode, the unique identifier of the storage device is received and obtained from other terminal devices; in the third mode, software such as a browser is used for obtaining the unique identification of the storage device on the internet, or other application programs are used for accessing the internet to obtain the unique identification of the storage device.
Step S420: and the terminal equipment sends the unique identification of the storage equipment to the server.
It can be understood that the function of the terminal device sending the unique identifier of the storage device to the server is to enable the server to determine and send the data tunnel corresponding to the unique identifier of the storage device; the above-mentioned embodiment in which the terminal device sends the unique identifier of the storage device to the server is, for example: and the terminal equipment sends the unique identification of the storage equipment to the server through a TCP protocol or a UDP protocol.
Step S430: and the server receives the unique identifier of the storage device sent by the terminal device and determines the tunnel indication information corresponding to the unique identifier of the storage device.
The implementation principle and implementation manner of this step are similar or similar to those of step S210 and step S220, and therefore, the implementation principle and implementation manner of this step are not described here, and if it is not clear, reference may be made to the description of step S210 and step S220.
Step S440: and the server determines a data tunnel corresponding to the unique identifier of the storage device according to the tunnel indication information.
The implementation principle and implementation manner of step S440 are similar or analogous to the implementation principle and implementation manner of step S230, and therefore, the implementation manner and implementation principle of step are not described herein, and if it is not clear, reference may be made to the description of step S230.
Step S450: and the server sends the data tunnel to the terminal equipment so that the terminal equipment transmits the file with the storage equipment through the data tunnel.
The implementation principle and implementation manner of step S450 are similar or analogous to that of step S240, and therefore, the implementation principle and implementation manner of step are not described herein, and reference may be made to the description of step S240 if it is unclear.
Step S460: and the terminal equipment receives the data tunnel sent by the server, establishes connection with the storage equipment by using the data tunnel and transmits the file with the storage equipment.
The embodiment of step S460 described above is, for example: the data tunnel may include a network socket, and the terminal device receives the network socket corresponding to the data tunnel sent by the server; the terminal device opens a data tunnel between the server and the gateway device through a network socket, and uses the data tunnel to transmit files with the storage device through a Secure File Transfer Protocol (SSH File Transfer Protocol, also called Secure File Transfer Protocol, abbreviated as Secure FTP or SFTP), where the Secure File Transfer Protocol is a network Transfer Protocol that is a data stream connection and provides File access, transmission and management functions.
In the implementation process, the data tunnel sent by the server is received by the terminal device, and the terminal device uses the pre-established data tunnel sent by the server to quickly establish connection with the storage device by using the data tunnel, so that the efficiency of file transmission between the terminal device and different storage devices is effectively improved.
Please refer to fig. 5, which is a schematic diagram of a file transfer device according to an embodiment of the present application; the embodiment of the present application provides a file transmission apparatus 500, which is applied to a server 120, and includes:
and a unique identifier receiving module 510, configured to receive the unique identifier of the storage device sent by the terminal device.
An indication information determining module 520, configured to determine tunnel indication information corresponding to the unique identifier of the storage device, where the tunnel indication information is used to indicate storage index information of the data tunnel.
And a data tunnel determining module 530, configured to determine, according to the tunnel indication information, a data tunnel corresponding to the unique identifier of the storage device.
And a data tunnel sending module 540, configured to send a data tunnel to the terminal device, so that the terminal device transmits the file with the storage device through the data tunnel.
Optionally, in this embodiment of the present application, the file transfer apparatus further includes:
and the tunnel establishing module is used for establishing a data tunnel between the server and at least one gateway device and acquiring the indication information of the data tunnel, wherein the network segment to which the network address of at least one gateway device belongs is different from the network segment to which the network address of the server belongs.
An identification determination module for determining a unique identification of at least one storage device to which the at least one gateway device is connected.
And the cache storage module is used for storing the indication information of the data tunnel and the unique identifier of the at least one storage device into a cache.
Optionally, in an embodiment of the present application, the indication information determining module includes:
and the searching and judging module is used for judging whether the indication information of the data tunnel corresponding to the unique identifier of the storage device is searched in the cache.
And the first determining module is used for determining the indication information as the tunnel indication information if the indication information of the data tunnel corresponding to the unique identifier of the storage device is found in the cache.
Optionally, in this embodiment of the application, the indication information determining module further includes:
and the second determining module is used for establishing the data tunnel of the storage device according to the unique identifier of the storage device if the data tunnel corresponding to the unique identifier of the storage device is not found in the cache, and determining the indication information for establishing the data tunnel of the storage device as tunnel indication information.
Optionally, in an embodiment of the present application, the second determining module includes:
and the gateway equipment determining module is used for determining the gateway equipment according to the unique identifier of the storage equipment, and the network segment to which the network address of the gateway equipment belongs is the same as the network segment to which the network address of the storage equipment belongs.
And the data tunnel establishing module is used for establishing a data tunnel between the server and the gateway equipment, and the network segment to which the network address of the server belongs is different from the network segment to which the network address of the gateway equipment belongs.
The embodiment of the application provides a file transmission device, is applied to terminal equipment, includes:
and the unique identification obtaining module is used for obtaining the unique identification of the storage equipment.
And the unique identifier sending module is used for sending the unique identifier of the storage device to the server so that the server determines and sends the data tunnel corresponding to the unique identifier of the storage device.
And the data tunnel receiving module is used for receiving the data tunnel sent by the server.
And the connection file transmission module is used for establishing connection with the storage equipment by using the data tunnel and transmitting files with the storage equipment.
It should be understood that the apparatus corresponds to the above-mentioned file transmission method embodiment, and can perform the steps related to the above-mentioned method embodiment, and the specific functions of the apparatus can be referred to the above description, and the detailed description is appropriately omitted here to avoid redundancy. The device includes at least one software function that can be stored in memory in the form of software or firmware (firmware) or solidified in the Operating System (OS) of the device.
Please refer to fig. 6 for a schematic structural diagram of an electronic device according to an embodiment of the present application. An electronic device 600 provided in an embodiment of the present application includes: a processor 610 and a memory 620, the memory 620 storing machine readable instructions executable by the processor 610, the machine readable instructions when executed by the processor 610 perform the method as above.
The embodiment of the present application further provides a storage medium 630, where the storage medium 630 stores a computer program, and the computer program is executed by the processor 610 to perform the file transmission method as above.
The storage medium 630 may be implemented by any type of volatile or nonvolatile storage device or combination thereof, such as a Static Random Access Memory (SRAM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), an Erasable Programmable Read-Only Memory (EPROM), a Programmable Read-Only Memory (PROM-Only), a magnetic Memory, a flash Memory, a magnetic disk or an optical disk.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an alternative embodiment of the embodiments of the present application, but the scope of the embodiments of the present application is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the embodiments of the present application, and all the changes or substitutions should be covered by the scope of the embodiments of the present application.

Claims (10)

1. A file transmission method is applied to a server and comprises the following steps:
receiving a unique identifier of the storage device sent by the terminal device;
determining tunnel indication information corresponding to the unique identifier of the storage device, wherein the tunnel indication information is used for indicating storage index information of a data tunnel;
determining a data tunnel corresponding to the unique identifier of the storage device according to the tunnel indication information;
and sending the data tunnel to the terminal equipment so that the terminal equipment transmits files with the storage equipment through the data tunnel.
2. The method of claim 1, wherein before the sending the data tunnel to the terminal device, further comprising:
establishing a data tunnel between the server and at least one gateway device, and acquiring indication information of the data tunnel, wherein a network segment to which a network address of the at least one gateway device belongs is different from a network segment to which the network address of the server belongs;
determining a unique identification of at least one storage device to which the at least one gateway device is connected;
and storing the indication information of the data tunnel and the unique identification of the at least one storage device in a cache.
3. The method of claim 2, wherein the determining tunnel indication information corresponding to the unique identifier of the storage device comprises:
judging whether the indication information of the data tunnel corresponding to the unique identifier of the storage equipment is found in the cache;
and if so, determining the indication information as the tunnel indication information.
4. The method according to claim 3, wherein after the determining whether the indication information of the data tunnel corresponding to the unique identifier of the storage device is found in the cache, the method further comprises:
if the data tunnel corresponding to the unique identifier of the storage device is not found in the cache, establishing the data tunnel of the storage device according to the unique identifier of the storage device, and determining the indication information for establishing the data tunnel of the storage device as the tunnel indication information.
5. The method of claim 4, wherein the establishing the data tunnel of the storage device according to the unique identifier of the storage device comprises:
determining gateway equipment according to the unique identifier of the storage equipment, wherein the network segment to which the network address of the gateway equipment belongs is the same as the network segment to which the network address of the storage equipment belongs;
and establishing a data tunnel between the server and the gateway equipment, wherein the network segment to which the network address of the server belongs is different from the network segment to which the network address of the gateway equipment belongs.
6. A file transmission method is applied to terminal equipment and comprises the following steps:
obtaining a unique identifier of a storage device;
sending the unique identifier of the storage device to a server so that the server determines and sends a data tunnel corresponding to the unique identifier of the storage device;
receiving the data tunnel sent by the server;
and establishing connection with the storage equipment by using the data tunnel, and transmitting files with the storage equipment.
7. A file transmission device is applied to a server and comprises:
the unique identifier receiving module is used for receiving the unique identifier of the storage device sent by the terminal device;
an indication information determining module, configured to determine tunnel indication information corresponding to the unique identifier of the storage device, where the tunnel indication information is used to indicate storage index information of a data tunnel;
the data tunnel determining module is used for determining a data tunnel corresponding to the unique identifier of the storage device according to the tunnel indication information;
and the data tunnel sending module is used for sending the data tunnel to the terminal equipment so that the terminal equipment can transmit files with the storage equipment through the data tunnel.
8. A file transmission device is applied to a terminal device and comprises:
the unique identifier obtaining module is used for obtaining the unique identifier of the storage device;
the unique identifier sending module is used for sending the unique identifier of the storage device to a server so that the server can determine and send a data tunnel corresponding to the unique identifier of the storage device;
a data tunnel receiving module, configured to receive the data tunnel sent by the server;
and the connection file transmission module is used for establishing connection with the storage equipment by using the data tunnel and transmitting files with the storage equipment.
9. An electronic device, comprising: a processor and a memory, the memory storing machine-readable instructions executable by the processor, the machine-readable instructions, when executed by the processor, performing the method of any of claims 1 to 6.
10. A storage medium, having stored thereon a computer program which, when executed by a processor, performs the method of any one of claims 1 to 6.
CN202010160024.9A 2020-03-10 2020-03-10 File transmission method and device, electronic equipment and storage medium Active CN111405018B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010160024.9A CN111405018B (en) 2020-03-10 2020-03-10 File transmission method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010160024.9A CN111405018B (en) 2020-03-10 2020-03-10 File transmission method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111405018A true CN111405018A (en) 2020-07-10
CN111405018B CN111405018B (en) 2023-04-07

Family

ID=71432720

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010160024.9A Active CN111405018B (en) 2020-03-10 2020-03-10 File transmission method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111405018B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111930542A (en) * 2020-08-18 2020-11-13 创新奇智(成都)科技有限公司 Data acquisition method and device, electronic equipment and computer readable storage medium
CN113660356A (en) * 2021-08-16 2021-11-16 迈普通信技术股份有限公司 Network access method, system, electronic device and computer readable storage medium
CN114172800A (en) * 2021-11-25 2022-03-11 浙江源创智控技术有限公司 KNX multi-gateway communication method, device, equipment and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2144460A1 (en) * 2008-07-10 2010-01-13 TeliaSonera AB Method, system, packet data gateway and computer program for providing connection for data delivery
US7706371B1 (en) * 2005-07-07 2010-04-27 Cisco Technology, Inc. Domain based routing for managing devices operating behind a network address translator
CN102231763A (en) * 2011-06-20 2011-11-02 北京思创银联科技股份有限公司 Sharing method based on NAT (Network Address Translation) penetration
US20120303949A1 (en) * 2010-01-27 2012-11-29 Huawei Technologies Co., Ltd. Packet transmission method, apparatus, and network system
CN105553809A (en) * 2015-12-08 2016-05-04 浙江宇视科技有限公司 STUN tunnel management method and device
US20160285823A1 (en) * 2015-03-23 2016-09-29 Oracle International Corporation Dynamic encryption for tunneled real-time communications
CN107733764A (en) * 2016-08-11 2018-02-23 中国电信股份有限公司 Method for building up, system and the relevant device in virtual expansible LAN tunnel
CN108293022A (en) * 2015-12-30 2018-07-17 华为技术有限公司 A kind of methods, devices and systems of message transmissions
CN108600204A (en) * 2018-04-11 2018-09-28 浙江大学 A kind of corporate intranet access method based on Opposite direction connection and application layer tunnel
CN110099129A (en) * 2019-05-14 2019-08-06 腾讯科技(深圳)有限公司 A kind of data transmission method and equipment
CN110740087A (en) * 2019-09-18 2020-01-31 视联动力信息技术股份有限公司 Message transmission method, terminal, gateway device, electronic device and storage medium
CN110753072A (en) * 2018-07-24 2020-02-04 阿里巴巴集团控股有限公司 Load balancing system, method, device and equipment

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7706371B1 (en) * 2005-07-07 2010-04-27 Cisco Technology, Inc. Domain based routing for managing devices operating behind a network address translator
EP2144460A1 (en) * 2008-07-10 2010-01-13 TeliaSonera AB Method, system, packet data gateway and computer program for providing connection for data delivery
US20120303949A1 (en) * 2010-01-27 2012-11-29 Huawei Technologies Co., Ltd. Packet transmission method, apparatus, and network system
CN102231763A (en) * 2011-06-20 2011-11-02 北京思创银联科技股份有限公司 Sharing method based on NAT (Network Address Translation) penetration
US20160285823A1 (en) * 2015-03-23 2016-09-29 Oracle International Corporation Dynamic encryption for tunneled real-time communications
CN105553809A (en) * 2015-12-08 2016-05-04 浙江宇视科技有限公司 STUN tunnel management method and device
CN108293022A (en) * 2015-12-30 2018-07-17 华为技术有限公司 A kind of methods, devices and systems of message transmissions
CN107733764A (en) * 2016-08-11 2018-02-23 中国电信股份有限公司 Method for building up, system and the relevant device in virtual expansible LAN tunnel
CN108600204A (en) * 2018-04-11 2018-09-28 浙江大学 A kind of corporate intranet access method based on Opposite direction connection and application layer tunnel
CN110753072A (en) * 2018-07-24 2020-02-04 阿里巴巴集团控股有限公司 Load balancing system, method, device and equipment
CN110099129A (en) * 2019-05-14 2019-08-06 腾讯科技(深圳)有限公司 A kind of data transmission method and equipment
CN110740087A (en) * 2019-09-18 2020-01-31 视联动力信息技术股份有限公司 Message transmission method, terminal, gateway device, electronic device and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
袁文斌: ""基于SSH的服务调解系统安全通道的设计及实现"" *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111930542A (en) * 2020-08-18 2020-11-13 创新奇智(成都)科技有限公司 Data acquisition method and device, electronic equipment and computer readable storage medium
CN113660356A (en) * 2021-08-16 2021-11-16 迈普通信技术股份有限公司 Network access method, system, electronic device and computer readable storage medium
CN113660356B (en) * 2021-08-16 2024-01-23 迈普通信技术股份有限公司 Network access method, system, electronic device and computer readable storage medium
CN114172800A (en) * 2021-11-25 2022-03-11 浙江源创智控技术有限公司 KNX multi-gateway communication method, device, equipment and storage medium
CN114172800B (en) * 2021-11-25 2024-05-03 浙江源创智控技术有限公司 KNX multi-gateway communication method, KNX multi-gateway communication device, KNX multi-gateway communication equipment and storage medium

Also Published As

Publication number Publication date
CN111405018B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
CN111405018B (en) File transmission method and device, electronic equipment and storage medium
WO2018107943A1 (en) Network access control method, apparatus and system
US10110538B2 (en) Method and apparatus for message transmission
US9679156B2 (en) Database virtualization
US20140082154A1 (en) File sharing method, terminal and relay server
CN107347062A (en) A kind of method, electronic equipment and the readable storage medium storing program for executing of daily record data processing
CN103036910B (en) A kind of user's web access Behavior-Based control method and device
WO2019076282A1 (en) Method and device for managing user
CN114124929A (en) Cross-network data processing method and device
CN114500633B (en) Data forwarding method, related device, program product and data transmission system
CN106648838B (en) Resource pool management configuration method and device
CN114025009B (en) Method, system, proxy server and device for forwarding request
EP3304299A1 (en) Implicit push data transfer
CN113810349B (en) Data transmission method, device, computer equipment and storage medium
US9648103B2 (en) Non-uniform file access in a distributed file system
CN113612811B (en) Method, system, equipment and medium for client mounting in multiple channels
US11283768B1 (en) Systems and methods for managing connections
CN114710560A (en) Data processing method and system, proxy equipment and terminal equipment
EP3176986A1 (en) Method, device and system for remote desktop protocol gateway to conduct routing and switching
US9294434B1 (en) Connectionless communications
TWI778771B (en) Monitoring method, monitoring system and monitoring device of virtual machine operation
CN115022122B (en) Dynamic restriction method, system and device for VXLAN (virtual extensible local area network) resources
CN113890789B (en) UDP tunnel traffic shunting method and traffic forwarding method suitable for data center
WO2021249055A1 (en) Vpn rule matching method and apparatus, and device, and storage medium
CN116015892A (en) Intranet remote desktop access method based on private encryption protocol flow agent

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant