CN111953714B - File sharing method, communication device and storage medium - Google Patents

File sharing method, communication device and storage medium Download PDF

Info

Publication number
CN111953714B
CN111953714B CN201910398587.9A CN201910398587A CN111953714B CN 111953714 B CN111953714 B CN 111953714B CN 201910398587 A CN201910398587 A CN 201910398587A CN 111953714 B CN111953714 B CN 111953714B
Authority
CN
China
Prior art keywords
address
terminal
target server
connection
establishment request
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.)
Active
Application number
CN201910398587.9A
Other languages
Chinese (zh)
Other versions
CN111953714A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910398587.9A priority Critical patent/CN111953714B/en
Publication of CN111953714A publication Critical patent/CN111953714A/en
Application granted granted Critical
Publication of CN111953714B publication Critical patent/CN111953714B/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/50Network services
    • H04L67/56Provisioning of proxy services
    • 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

Abstract

An embodiment of the application provides a file sharing method, a communication device and a storage medium, wherein the method comprises the following steps: the proxy server receives a first connection establishment request sent by the terminal, wherein the first connection establishment request comprises an IP address of a target server; the proxy server establishes a first connection with the terminal according to the first connection establishment request; the proxy server establishes a second connection with the target server according to the IP address of the target server; and the proxy server receives the file sharing instruction sent by the terminal and forwards the file sharing instruction to the target server. The client can send the file sharing instruction to the target server through the proxy server, so that the client can normally access the shared file in the target server across the network.

Description

File sharing method, communication device and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a file sharing method, a communication apparatus, and a storage medium.
Background
The Service Message Block (SMB) protocol is a protocol for file sharing, and for example, a host running the SMB protocol may access a shared file in another host within the same lan as the host.
However, in some scenarios, the client, e.g., the accessing host, and the target server, e.g., the accessing host, may not be in the same lan, and the proxy server is required to be an intermediary for forwarding information exchanged between the two hosts. Because the proxy server cannot acquire the IP address of the target server and cannot perform normal forwarding, the client cannot normally access the shared file in the target server.
Disclosure of Invention
The application provides a file sharing method, a communication device and a storage medium, so that a client can normally access a shared file in a target server across a network.
In a first aspect, the present application provides a file sharing method, including: the method comprises the steps that a proxy server receives a first connection establishment request sent by a terminal, wherein the first connection establishment request comprises an IP address of a target server; the proxy server establishes a first connection with the terminal according to the first connection establishment request; the proxy server establishes a second connection with the target server according to the IP address of the target server; and the proxy server receives the file sharing instruction sent by the terminal and forwards the file sharing instruction to the target server. By the scheme provided by the embodiment, the client can normally access the shared file in the target server across the network.
In one possible design, the first connection establishment request is a SYN message, and an option field of the SYN message includes an IP address of the target server.
In one possible design, after the proxy server receives the first connection establishment request sent by the terminal, the method further includes: the proxy server stores the IP address of the target server, the IP address of the terminal and the port number of the terminal in a database; before the proxy server establishes a second connection with the target server according to the IP address of the target server, the method further includes: and the proxy server acquires the IP address of the target server from the database. By the scheme provided by the embodiment, one terminal can access a plurality of target servers, and one target server can also be accessed by a plurality of terminals, so that the proxy server can forward data between the plurality of terminals and the plurality of target servers, and the efficiency of data forwarding is improved.
In one possible design, the proxy server obtaining the IP address of the target server from the database includes: and the proxy server acquires the IP address of the target server corresponding to the IP address of the terminal and the port number of the terminal from the database.
In one possible design, the receiving, by the proxy server, the first connection establishment request sent by the terminal includes: the proxy server receives a TCP connection establishment request sent by the terminal; the proxy server establishes a first connection with the terminal according to the first connection establishment request, including; and the proxy server establishes the TCP connection with the terminal according to the TCP connection establishment request. Compared with the method for acquiring the IP address of the target server from the SMB protocol by analyzing the SMB protocol, the method provided by the embodiment can save network resources.
In one possible design, before the proxy server establishes the second connection with the target server according to the IP address of the target server, the method further includes: and the proxy server sends a second connection establishment request to the target server according to the IP address of the target server.
In one possible design, the file sharing instructions include at least one of: a shared file reading instruction, a shared file writing instruction and a shared file searching instruction.
In a second aspect, the present application provides a file sharing method, including: a terminal sends a first connection establishment request to a proxy server, wherein the first connection establishment request comprises an IP address of a target server; the terminal establishes a first connection with the proxy server, and the IP address of the target server is used for establishing a second connection between the proxy server and the target server; and the terminal sends a file sharing instruction to the proxy server so that the proxy server forwards the file sharing instruction to the target server.
In one possible design, the first connection establishment request is a synchronization sequence number SYN message, and an option field of the SYN message includes an IP address of the target server.
In one possible design, before the terminal sends the first connection establishment request to the proxy server, the method further includes: the terminal generates a third connection establishment request, wherein the third connection establishment request is used for establishing connection between the terminal and the target server and comprises an IP address of the target server; and the terminal generates the first connection establishment request according to the third connection establishment request.
In a third aspect, the present application provides a communication apparatus comprising: a receiving module, configured to receive a first connection establishment request sent by a terminal, where the first connection establishment request includes an IP address of a target server; the connection establishing module is used for establishing a first connection with the terminal according to the first connection establishing request; establishing a second connection with the target server according to the IP address of the target server; the receiving module is further configured to receive a file sharing instruction sent by the terminal; and the sending module is used for forwarding the file sharing instruction to the target server.
In one possible design, the first connection establishment request is a SYN message, and an option field of the SYN message includes an IP address of the target server.
In one possible design, the communications apparatus further includes: a storage module, configured to store, in a database, the IP address of the target server, the IP address of the terminal, and the port number of the terminal after the receiving module receives the first connection establishment request sent by the terminal; and the acquisition module is used for acquiring the IP address of the target server from the database before the connection establishment module establishes a second connection with the target server according to the IP address of the target server.
In one possible design, the obtaining module is specifically configured to: and acquiring the IP address of the target server corresponding to the IP address of the terminal and the port number of the terminal from the database.
In a possible design, when receiving the first connection establishment request sent by the terminal, the receiving module is specifically configured to: receiving a TCP connection establishment request sent by the terminal; the connection establishing module, when establishing the first connection with the terminal according to the first connection establishing request, is specifically configured to: and establishing the TCP connection with the terminal according to the TCP connection establishment request.
In one possible design, the sending module is further configured to: and before the connection establishing module establishes a second connection with the target server according to the IP address of the target server, sending a second connection establishing request to the target server according to the IP address of the target server.
In one possible design, the file sharing instructions include at least one of: a shared file reading instruction, a shared file writing instruction and a shared file searching instruction.
In a fourth aspect, the present application provides a communication apparatus comprising: a sending module, configured to send a first connection establishment request to a proxy server, where the first connection establishment request includes an IP address of a target server; the connection establishing module is used for establishing a first connection with the proxy server, and the IP address of the target server is used for establishing a second connection between the proxy server and the target server; the sending module is further configured to: and sending a file sharing instruction to the proxy server so that the proxy server forwards the file sharing instruction to the target server.
In one possible design, the first connection establishment request is a SYN message, and an option field of the SYN message includes an IP address of the target server.
In one possible design, the communications apparatus further includes: a generating module, configured to generate a third connection establishment request before the sending module sends the first connection establishment request to the proxy server, where the third connection establishment request is used for establishing a connection between the terminal and the target server, and the third connection establishment request includes an IP address of the target server; and the redirection module is used for generating the first connection establishment request according to the third connection establishment request.
In a fifth aspect, the present application provides a communication device comprising a processor and a transceiver, the processor and the transceiver communicating with each other through an internal connection; the transceiver is used for receiving a first connection establishment request sent by a terminal, wherein the first connection establishment request comprises an IP address of a target server; the processor is used for establishing a first connection with the terminal according to the first connection establishment request; establishing a second connection with the target server according to the IP address of the target server; the transceiver is further configured to: and receiving a file sharing instruction sent by the terminal, and forwarding the file sharing instruction to the target server.
In one possible design, the first connection establishment request is a synchronization sequence number SYN message, and an option field of the SYN message includes an IP address of the target server.
In one possible design, the processor is further to: storing an IP address of the target server, an IP address of the terminal and a port number of the terminal in a database after the transceiver receives a first connection establishment request sent by the terminal; and acquiring the IP address of the target server from the database before establishing a second connection with the target server according to the IP address of the target server.
In one possible design, the processor is specifically configured to: and acquiring the IP address of the target server corresponding to the IP address of the terminal and the port number of the terminal from the database.
In a possible design, when receiving the first connection establishment request sent by the terminal, the transceiver is specifically configured to: receiving a TCP connection establishment request sent by the terminal; when the processor establishes the first connection with the terminal according to the first connection establishment request, the processor is specifically configured to: and establishing the TCP connection with the terminal according to the TCP connection establishment request.
In one possible design, the transceiver is further to: and before the processor establishes a second connection with the target server according to the IP address of the target server, sending a second connection establishment request to the target server according to the IP address of the target server.
In one possible design, the file sharing instructions include at least one of: a shared file reading instruction, a shared file writing instruction and a shared file searching instruction.
In a sixth aspect, the present application provides a communication apparatus comprising: a processor and a transceiver, the processor and the transceiver communicating with each other through an internal connection; the transceiver is used for sending a first connection establishment request to the proxy server, wherein the first connection establishment request comprises an IP address of a target server; the processor is used for establishing a first connection with the proxy server, and the IP address of the target server is used for establishing a second connection between the proxy server and the target server; the transceiver is further configured to: and sending a file sharing instruction to the proxy server so that the proxy server forwards the file sharing instruction to the target server.
In one possible design, the first connection establishment request is a SYN message, and an option field of the SYN message includes an IP address of the target server.
In one possible design, the processor is further to: generating a third connection establishment request before the transceiver sends the first connection establishment request to a proxy server, wherein the third connection establishment request is used for establishing connection between the terminal and the target server and comprises an IP address of the target server; and generating the first connection establishment request according to the third connection establishment request.
In a seventh aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when run on a computer, causes the computer to perform the method according to the first or second aspect.
In an eighth aspect, the present application provides a computer program for performing the method of the first or second aspect when the computer program is executed by a computer.
In a possible design, the program in the eighth aspect may be stored in whole or in part on a storage medium packaged with the processor, or in part or in whole on a memory not packaged with the processor.
In a ninth aspect, an embodiment of the present application further provides a communication system, which includes the communication apparatus in the third aspect and the fourth aspect.
In a tenth aspect, embodiments of the present application further provide a communication system, including the communication apparatus in the fifth aspect and the sixth aspect.
It can be seen that, in the above aspects, the proxy server receives the first connection establishment request sent by the client, so that the proxy server can establish the first connection with the client according to the first connection establishment request, in addition, the first connection establishment request includes the IP address of the target server, so that the proxy server establishes the second connection with the target server according to the IP address of the target server, and the client can send the file sharing instruction to the target server through the proxy server, thereby implementing that the client can normally access the shared file in the target server across the network.
Drawings
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application;
fig. 2 is a schematic view of another application scenario provided in the present application;
fig. 3 is a schematic diagram of another application scenario provided in the present application;
fig. 4 is a schematic diagram of another application scenario provided in the present application;
fig. 5 is a signaling diagram of a file sharing method provided in the present application;
FIG. 6 is a schematic diagram of another file sharing method provided in the present application;
FIG. 7 is a diagram illustrating another file sharing method provided in the present application;
fig. 8 is a schematic structural diagram of a communication device provided in the present application;
fig. 9 is a schematic structural diagram of another communication device provided in the present application;
fig. 10 is a schematic structural diagram of another communication device provided in the present application;
fig. 11 is a schematic structural diagram of another communication device provided in the present application.
Detailed Description
The terminology used in the description of the embodiments section of the present application is for the purpose of describing particular embodiments of the present application only and is not intended to be limiting of the present application.
The embodiment of the application can be applied to various types of communication systems. Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application. The communication system shown in fig. 1 mainly includes a network device 11 and a terminal 12.
Among them, 1) the Network device 11 may be a Network Side device, for example, an Access Point (AP) of a Wireless Local Area Network (WLAN), an Evolved Node B (eNB or eNodeB) of 4G, a base station of next generation communication, such as a New Radio Access Technology (NR) base station (gNB) of 5G, a small station, a micro station, a relay station, a Transmission and Reception Point (TRP), a Road Side Unit (RSU), and the like. In this embodiment, base stations in communication systems of different communication systems are different. For the sake of distinction, a base station of the 4G communication system is referred to as a Long Term Evolution (LTE) eNB, a base station of the 5G communication system is referred to as an NR gNB, and a base station supporting both the 4G communication system and the 5G communication system is referred to as an evolved Long Term Evolution (LTE) eNB.
2) The terminal 12, also referred to as a User Equipment (UE), is a device that provides voice and/or data connectivity to a User, such as a handheld device having wireless connection capability, a vehicle-mounted device, a vehicle having vehicle-to-vehicle (V2V) communication capability, and so on. Common terminals include, for example: a mobile phone, a tablet computer, a notebook computer, a Personal Computer (PC), a palm computer, a Mobile Internet Device (MID), a wearable device, such as a smart watch, a smart bracelet, a pedometer, and the like.
3) "plurality" means two or more, and other terms are analogous. "and/or" describes the corresponding relationship of the associated objects, and indicates that three relationships may exist, for example, a and/or B, and may indicate: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
It should be noted that the number and types of the terminals 12 included in the communication system shown in fig. 1 are merely examples, and the embodiment of the present application is not limited thereto. For example, more terminals 12 communicating with the network device 11 may be included, and are not depicted in the figures one by one for simplicity of description. Furthermore, in the communication system shown in fig. 1, although the network device 11 and the terminal 12 are shown, the communication system may not be limited to include the network device 11 and the terminal 12, and may also include a core network node or a device for carrying a virtualized network function, which is obvious to those skilled in the art and is not described herein again.
In addition, the embodiments of the present application may be applied not only to a 4G wireless communication system represented by Long Term Evolution (LTE), a vehicle-to-outside (V2X) communication system, a Device-to-Device (D2D) communication system, a subsequent Evolution of LTE, and the like, but also to a next generation wireless communication system, i.e., a 5G communication system, and other systems that may appear in the future, such as a wifi network of a next generation, a 5G car networking, and the like.
It should be noted that, as the communication system continuously evolves, names of the network elements may change in other systems that may appear in the future, and in this case, the scheme provided in the embodiment of the present application is also applicable.
Fig. 2 is a schematic view of another application scenario provided in the embodiment of the present application. As shown in fig. 2, the terminal 12 may also communicate with the server 13 through the network device 11. In this embodiment, the terminal 12 may be a client, and the server 13 may be a server. The terminal 12 and the server 13 may communicate through the SMB protocol so that the terminal 12 can access the shared file in the server 13.
Fig. 3 is a schematic view of another application scenario provided in the embodiment of the present application. As shown in fig. 3, the terminal 31 is a personal computer PC, and a client in the terminal 31 accesses a shared file in the server 13 through the internet. That is, the server 13 is responsible for providing the terminal 31 with available shared files over the network. The connection between the terminal 31 and the server 13 may be established through a Transmission Control Protocol/Internet Protocol (TCP/IP), an Internet Packet Exchange Protocol (IPX), or a network Enhanced User Interface (NetBEUI) Protocol. Once the connection between the terminal 31 and the server 13 is established, the terminal 31 may complete an operation on the shared file in the server 13 by sending a file sharing instruction to the server 13, for example, reading the shared file, writing data in the shared file, retrieving the shared file, and the like.
In general, if the terminal 31 and the server 13 are located in the same lan, the terminal 31 and the server 13 can directly communicate. However, in some scenarios, the terminal 31 and the server 13 are not in the same local area network, that is, the terminal 31 and the server 13 may be deployed in different local area networks, and in this case, a proxy server is needed between the terminal 31 and the server 13 to forward the SMB protocol data. As shown in fig. 4, 14 denotes a proxy server. In the present embodiment, the server 13 may be regarded as a target server to distinguish from the proxy server 14. When the proxy server 14 forwards the SMB protocol data across the network, the proxy server 14 cannot resolve and acquire the IP address of the target server 13, so that the file sharing across the network cannot be realized. In view of this problem, this embodiment provides a file sharing method, and the method is described in detail below with reference to specific embodiments.
Fig. 5 is a signaling diagram of a file sharing method according to the present application. As shown in fig. 5, the file sharing method according to this embodiment includes the following steps:
step S501, the client sends a first connection establishment request to the proxy server, wherein the first connection establishment request comprises an IP address of the target server.
In this embodiment, the client may specifically be the terminal in fig. 1 to fig. 4, for example, may be the terminal 31 in fig. 4. Alternatively, the client may be an application installed in the terminal 31. When the client needs to communicate with the target server, for example, the client needs to access a shared file in the target server, the client and the target server are not in the same local area network, so that the client can establish connection and communication with the target server through the proxy server. Specifically, the client sends a first connection establishment request to the proxy server, where the first connection establishment request may include an IP address of the target server.
Step S502, the proxy server establishes a first connection with the client.
After the proxy server receives the first connection establishment request sent by the client, the proxy server can establish a first connection with the client according to the first connection establishment request. The embodiment does not limit the manner of establishing the first connection between the client and the proxy server, for example, a Transmission Control Protocol (TCP) may be used between the client and the proxy server to establish a TCP connection. Accordingly, the first connection establishment request is a TCP connection establishment request.
It can be understood that when the client and the proxy server establish a TCP connection, the client and the proxy server need to perform three handshakes, and in the first handshake, the client needs to send a synchronization Sequence number (SYN) message to the proxy server, assuming that the SYN is j. In the second handshake, the proxy server receives the SYN message (SYN j) sent by the client, acknowledges the SYN message (SYN j), and records Acknowledgement information As (ACK) and ACK j +1, and also generates one SYN message, and, assuming that SYN is k, the proxy server sends the SYN message (SYN k) and ACK (ACK j +1) to the client together. In the third handshake, the client receives the SYN and the ACK sent by the proxy server, confirms the SYN and the ACK, and sends confirmation information to the proxy server, and after the confirmation information is sent, the client and the proxy server enter a TCP connection success state, and the third handshake is completed. After the client and proxy complete three handshakes, the client and proxy may begin transmitting data.
In a possible manner, the first connection establishment request sent by the client to the proxy server is a SYN packet in a process of establishing a TCP connection between the client and the proxy server, that is, in a three-way handshake connection, and an option field of the SYN packet includes an IP address of the target server. The option field, i.e., the option field, may be an original field in the SYN message, or may be a field added by the client in the SYN message. Before the client sends the SYN message to the proxy server, the client writes the IP address of the target server in the option field.
Step S503, the proxy server establishes a second connection with the target server.
When receiving a SYN message sent by a client, the proxy server can analyze an IP address of a target server carried in the SYN message. Specifically, the proxy server may include an IP parsing module (pkt-peek), which may be similar to a packet capture tool and may be configured to parse a packet received by the proxy server from the client, for example, an IP address of a target server carried in a SYN packet.
Further, after resolving the IP address of the target server, the proxy server establishes a second connection with the target server according to the IP address of the target server, where the second connection may be an SMB connection.
In addition, in some embodiments, before the proxy server establishes the second connection with the target server, the proxy server may further send a second connection establishment request to the target server according to the IP address of the target server, where the second connection establishment request may specifically be an SMB connection establishment request.
Step S504, the client sends a file sharing instruction to the proxy server.
It will be appreciated that after the client establishes a first connection with the proxy server and the proxy server establishes a second connection with the target server, the client may communicate with the target server through the proxy server. Specifically, the client sends a file sharing instruction to the proxy server, where the file sharing instruction includes at least one of the following: a shared file reading instruction, a shared file writing instruction and a shared file searching instruction.
And step S505, the proxy server forwards the file sharing instruction to the target server.
After the proxy server receives the file sharing instruction sent by the client, the proxy server forwards the file sharing instruction to the target server. When the file sharing instruction is a shared file reading instruction, the client can read the shared file in the target server; when the file sharing instruction is a shared file writing instruction, the client can write data into the shared file in the target server; and when the file sharing instruction is a shared file retrieval instruction, the client performs retrieval operation on the shared file in the target server.
In this embodiment, the proxy server receives a first connection establishment request sent by the client, so that the proxy server can establish a first connection with the client according to the first connection establishment request, and in addition, the first connection establishment request includes an IP address of the target server, so that the proxy server establishes a second connection with the target server according to the IP address of the target server, and the client can send a file sharing instruction to the target server through the proxy server, thereby enabling the client to normally access a shared file in the target server across a network.
In some application scenarios, one terminal may access multiple target servers, and one target server may be accessed by multiple terminals. At this time, the proxy server needs to forward data between the plurality of terminals and the plurality of target servers. As shown in fig. 6, the terminal 1 needs to access the shared file in the target server 1 through the proxy server, and the terminal 2 needs to access the shared file in the target server 2 through the proxy server. The terminal 1 and the terminal 2 may be terminals of different operating systems, for example, the operating system of the terminal 1 is a Windows operating system, and the operating system of the terminal 2 is a Linux operating system. Terminal 1 and terminal 2 may be equipped with the same client for accessing the shared file in the target server. In particular, the client of the terminal 1 may generate a request for establishing a connection with the target server 1. To distinguish from the first connection establishment request and the second connection establishment request in the above embodiments, the request generated by the client for establishing a connection with the target server may be referred to as a third connection establishment request. Specifically, the source IP address of the request is the IP address of terminal 1, for example, the IP address of terminal 1 is denoted as a; the source port number of the request is the port number of terminal 1, e.g., p 1; the destination IP address of the request is the IP address of the target server 1, e.g., the IP address of the target server 1 is denoted as C; the destination port number of the request is 445, the port number fixedly used by the SMB protocol. However, since the terminal 1 and the target server 1 are not in the same lan, the terminal 1 needs to communicate with the target server through a proxy server. Therefore, the terminal 1 needs to redirect its request to establish a connection with the target server 1 to the proxy server. Specifically, the redirection is to replace the destination IP address of the request with the IP address of the proxy server, for example, the IP address of the proxy server is denoted as B. As shown in fig. 6, the Windows client driver of the terminal 1 replaces the IP address C of the target server 1, which is the destination IP address in the request, with the IP address B of the proxy server. The redirected request is the first connection establishment request in the above embodiment, and the option field in the first connection establishment request includes the IP address C of the target server 1.
Similarly, a client in the terminal 2 may generate a request for establishing a connection with the target server 2. For example, the source IP address of the request is the IP address of terminal 2, e.g., the IP address of terminal 2 is denoted as D; the source port number of the request is the port number of terminal 2, e.g., p 2; the destination IP address of the request is the IP address of the target server 2, e.g., the IP address of the target server 2 is denoted as E; the destination port number of the request is 445. The network filter layer of the terminal 2 may redirect the request to the proxy server, the destination IP address of the redirected request being the IP address B of the proxy server, and the option field in the redirected request comprising the IP address E of the target server 2.
Specifically, the IP parsing module in the proxy server may parse the data or the packet received by the proxy server through the destination port number, for example, the IP parsing module may parse the data or the packet whose destination port number is 445. When the proxy server receives the request after the redirection of the terminal 1 and the request after the redirection of the terminal 2, the IP resolution module in the proxy server may obtain the IP address C of the target server 1 and the IP address E of the target server 2 by resolving the option field in the request, and store the IP address a of the terminal 1, the port number p1 of the terminal 1 and the IP address C of the target server 1 in a database, which may be a Redis database. Similarly, the IP address D of the terminal 2, the port number p2 of the terminal 2, and the IP address E of the destination server 2 may also be stored in the database. Optionally, the Redis database stores the IP address of the terminal, the port number of the terminal, and the IP address of the destination server as hash values.
In addition, the proxy server may establish a connection with the terminal 1 according to a request redirected to the proxy server by the terminal 1, where the connection may specifically be the first connection described in the above embodiment, for example, a TCP connection. After the proxy server establishes a connection with the terminal 1, the proxy server may obtain the IP address C of the target server 1 from the Redis database, and specifically, the proxy server may obtain the IP address C of the target server 1 corresponding to the IP address of the terminal 1 and the port number of the terminal 1 from the Redis database according to the IP address of the terminal 1 and the port number of the terminal 1. Further, the proxy server establishes a connection with the target server according to the IP address C of the target server 1, where the connection may specifically be the second connection described in the above embodiment, and in this embodiment, the second connection may specifically be a socket connection, that is, in a case where the proxy server determines that the destination IP address is the IP address C of the target server 1 and the destination port number is 445, the proxy server may establish a socket connection with the target server 1. Specifically, the proxy server sends a connection establishment request to the target server 1, where the connection establishment request may specifically be the second connection establishment request described in the foregoing embodiment. The source IP address of the connection establishment request is the IP address of the proxy server, for example, the IP address of the proxy server is denoted as B; the source port number of the connection establishment request is a port number of the proxy server, e.g., p 3; the destination IP address of the connection establishment request is the IP address C of the target server 1; the destination port number of the connection establishment request is 445.
Similarly, the proxy server may establish a connection with the terminal 2 according to the request redirected to the proxy server by the terminal 2, where the connection may specifically be the first connection described in the above embodiment, for example, a TCP connection. After the proxy server establishes a connection with the terminal 2, the proxy server may obtain the IP address E of the target server 2 from the Redis database, and specifically, the proxy server may obtain the IP address E of the target server 2 corresponding to the IP address of the terminal 2 and the port number of the terminal 2 from the Redis database according to the IP address of the terminal 2 and the port number of the terminal 2. Further, the proxy server establishes a connection with the target server according to the IP address E of the target server 2, where the connection may specifically be the second connection described in the above embodiment, and in this embodiment, the second connection may specifically be a socket connection, that is, in a case where the proxy server determines that the destination IP address is the IP address E of the target server 2 and the destination port number is 445, the proxy server may establish a socket connection with the target server 2. Specifically, the proxy server sends a connection establishment request to the target server 2, where the connection establishment request may specifically be the second connection establishment request described in the foregoing embodiment. The source IP address of the connection establishment request is the IP address of the proxy server, for example, the IP address of the proxy server is denoted as B; the source port number of the connection establishment request is a port number of the proxy server, e.g., p 4; the destination IP address of the connection establishment request is the IP address E of the target server 2; the destination port number of the connection establishment request is 445.
It is to be understood that some or all of the steps or operations in the above embodiments are only examples, and other operations or variations of various operations may be performed by the embodiments of the present application. Further, the various steps may be performed in a different order presented in the above-described embodiments, and it is possible that not all of the operations in the above-described embodiments are performed.
In addition, the embodiment takes the SMB protocol as an example, and the embodiment may also be applied to other application layer protocols. The specific implementation manner is similar to that of the embodiment of the present application, and is not described herein again.
In this embodiment, a proxy server receives a connection establishment request after a terminal is redirected, acquires an IP address of a target server from the connection establishment request, stores the IP address of the terminal, a port number of the terminal, and the IP address of the target server in a database, and when a proxy server establishes a connection with the terminal, the proxy server can acquire the IP address of the target server corresponding to the IP address and the port number of the terminal from the database, and establish a connection with the target server according to the IP address of the target server, so that the proxy server can forward data between the terminal and the target server to which the terminal needs to be connected, so that one terminal can access a plurality of target servers, and one target server can also be accessed by a plurality of terminals, so that the proxy server can forward data between the plurality of terminals and the plurality of target servers, the efficiency of data forwarding is improved.
According to the above embodiment, in the process of establishing the connection between the client and the proxy server, the client sends the IP address of the target server to the proxy server. For example, the option field of the first SYN message in the process of the client and the proxy server establishing a TCP connection, i.e., a three-way handshake connection, includes the IP address of the target server.
In some other embodiments, the client may also send the IP address of the target server to the proxy server after establishing a connection with the proxy server. As shown in fig. 7, the client and the proxy server first perform SMB connection establishment, and the process of establishing SMB connection includes steps S701 to S703. Further, the client and the proxy server perform session establishment, and the session establishment process includes steps S704-S706. Further, the client and the proxy server perform Tree connection (Tree Connect), and in the process of Tree connection, the client sends a request to the proxy server, wherein the request includes the IP address of the target server. That is, the proxy server obtains the IP address of the target server only during the tree connection, and at this time, the client and the proxy server have already established the SMB connection, that is, the proxy server needs to obtain the IP address of the target server from the SMB protocol by analyzing the SMB protocol. And the option field of the first SYN message in the TCP connection process, namely the three-way handshake connection, established between the client and the proxy server comprises the IP address of the target server, so that the proxy server can acquire the IP address of the target server when establishing SMB connection with the client. Compared with the method shown in fig. 7, the option field of the first SYN packet in the TCP connection process, i.e., the three-way handshake connection, includes the IP address of the target server, so that the problem that the IP address of the target server cannot be obtained before the connection is established by the SMB protocol is solved.
It is to be understood that some or all of the steps or operations in the above-described embodiments are merely examples, and other operations or variations of various operations may be performed by the embodiments of the present application. Further, the various steps may be performed in a different order presented in the above-described embodiments, and it is possible that not all of the operations in the above-described embodiments are performed.
It is to be understood that, in the above embodiments, the operations or steps implemented by the terminal may also be implemented by a component (e.g., a chip or a circuit) available for the terminal, and the operations or steps implemented by the network device (e.g., a proxy server, a target server) may also be implemented by a component (e.g., a chip or a circuit) available for the network device.
Fig. 8 shows a schematic structural diagram of a communication apparatus. The communication device may be configured to implement the method of the corresponding part of the network device (e.g., proxy server, target server) or the method of the corresponding part of the terminal described in the foregoing method embodiment, for specific reference to the description in the foregoing method embodiment.
The communication device 80 may comprise one or more processors 81, and the processors 81 may also be referred to as processing units and may implement certain control functions. The processor 81 may be a general purpose processor or a special purpose processor, etc.
In an alternative design, the processor 81 may also store instructions 83, which may be executed by the processor, so that the communication device 80 performs the method corresponding to the terminal or the network device described in the above method embodiment.
In yet another possible design, the communication device 80 may include circuitry that may implement the functionality of transmitting or receiving or communicating in the foregoing method embodiments.
Optionally, one or more memories 82 may be included in the communication device 80, on which instructions 84 or intermediate data are stored, the instructions 84 being executable on the processor to cause the communication device 80 to perform the methods described in the above method embodiments. Optionally, other related data may also be stored in the memory. Optionally, the processor may also store instructions and/or data therein. The processor and the memory may be provided separately or may be integrated together.
Optionally, the communication device 80 may further include a transceiver 85.
The processor 81 may be referred to as a processing unit. The transceiver 85 may be referred to as a transceiver unit, a transceiver, a transceiving circuit, a transceiver, or the like, and is used for implementing transceiving functions of the communication device.
If the communication device is used to implement the operation corresponding to the proxy server in the embodiment shown in fig. 5, for example, the transceiver may receive a first connection establishment request from the terminal, where the first connection establishment request includes the IP address of the target server. The transceiver may further perform other corresponding communication functions. And the processor is used for completing corresponding determination or control operation, and optionally, corresponding instructions can be stored in the memory. The specific processing manner of each component can be referred to the related description of the previous embodiment.
If the communication device is used to implement the operation corresponding to the client in fig. 5, for example, a first connection establishment request may be sent by the transceiver to the proxy server, the first connection establishment request including the IP address of the target server. The transceiver may further perform other corresponding communication functions. And the processor is used for completing corresponding determination or control operation, and optionally, corresponding instructions can be stored in the memory. The specific processing manner of each component can be referred to the related description of the previous embodiment.
The processors and transceivers described herein may be implemented on Integrated Circuits (ICs), analog ICs, Radio Frequency Integrated Circuits (RFICs), mixed signal ICs, Application Specific Integrated Circuits (ASICs), Printed Circuit Boards (PCBs), electronic devices, and the like. The processor and transceiver may also be fabricated using various 1C process technologies, such as Complementary Metal Oxide Semiconductor (CMOS), N-type metal oxide semiconductor (NMOS), P-type metal oxide semiconductor (PMOS), Bipolar Junction Transistor (BJT), Bipolar CMOS (bicmos), silicon germanium (SiGe), gallium arsenide (GaAs), and the like.
Alternatively, the communication means may be a stand-alone device or may be part of a larger device. For example, the device may be:
(1) a stand-alone integrated circuit IC, or chip, or system-on-chip or subsystem;
(2) a set of one or more ICs, which optionally may also include storage components for storing data and/or instructions;
(3) an ASIC, such as a modem (MSM);
(4) a module that may be embedded within other devices;
(5) receivers, terminals, cellular telephones, wireless devices, handsets, mobile units, network devices, and the like;
(6) others, and so forth.
Fig. 9 is a schematic structural diagram of a communication device according to an embodiment of the present application. As shown in fig. 9, the communication device 90 includes: a receiving module 901, a connection establishing module 902 and a sending module 903; the receiving module 901 is configured to receive a first connection establishment request sent by a terminal, where the first connection establishment request includes an IP address of a target server; the connection establishing module 902 is configured to establish a first connection with the terminal according to the first connection establishing request; establishing a second connection with the target server according to the IP address of the target server; the receiving module 901 is further configured to receive a file sharing instruction sent by the terminal; the sending module 903 is configured to forward the file sharing instruction to the target server.
In fig. 9, further, the first connection establishment request is a SYN message, and an option field of the SYN message includes an IP address of the target server.
In one possible approach, the communication device 90 further includes: a storage module 904 and an acquisition module 905; the storage module 904 is configured to store, in a database, the IP address of the target server, the IP address of the terminal, and the port number of the terminal after the receiving module receives the first connection establishment request sent by the terminal; the obtaining module 905 is configured to obtain the IP address of the target server from the database before the connection establishing module establishes the second connection with the target server according to the IP address of the target server.
In another possible manner, the obtaining module 905 is specifically configured to: and acquiring the IP address of the target server corresponding to the IP address of the terminal and the port number of the terminal from the database.
Optionally, when receiving the first connection establishment request sent by the terminal, the receiving module 901 is specifically configured to: receiving a TCP connection establishment request sent by the terminal; the connection establishing module 902, when establishing the first connection with the terminal according to the first connection establishing request, is specifically configured to: and establishing the TCP connection with the terminal according to the TCP connection establishment request.
Optionally, the sending module 903 is further configured to: and before the connection establishing module establishes a second connection with the target server according to the IP address of the target server, sending a second connection establishing request to the target server according to the IP address of the target server.
Optionally, the file sharing instruction includes at least one of: a shared file reading instruction, a shared file writing instruction and a shared file searching instruction.
The communication device in the embodiment shown in fig. 9 may be used to implement the technical solutions in the method embodiments, and the implementation principles and technical effects may further refer to the relevant descriptions in the method embodiments, and optionally, the communication device may be a proxy server, and may also be a component (e.g., a chip or a circuit) of the proxy server.
Fig. 10 is a schematic structural diagram of another communication device according to an embodiment of the present application. As shown in fig. 10, the communication apparatus 100 includes: a sending module 1001 and a connection establishing module 1002; the sending module 1001 is configured to send a first connection establishment request to a proxy server, where the first connection establishment request includes an IP address of a target server; the connection establishing module 1002 is configured to establish a first connection with the proxy server, and an IP address of the target server is used for establishing a second connection between the proxy server and the target server; the sending module 1001 is further configured to: and sending a file sharing instruction to the proxy server so that the proxy server forwards the file sharing instruction to the target server.
In fig. 10, further, the first connection establishment request is a synchronization sequence number SYN message, and an option field of the SYN message includes an IP address of the target server.
In one possible approach, the communication device 100 further includes: a generating module 1003 and a redirecting module 1004, where the generating module 1003 is configured to generate a third connection establishment request before the sending module sends the first connection establishment request to the proxy server, where the third connection establishment request is used for the communication apparatus 100 to establish a connection with the target server, and the third connection establishment request includes an IP address of the target server; the redirecting module 1004 is configured to generate the first connection establishment request according to the third connection establishment request.
The communication device of the embodiment shown in fig. 10 may be used to implement the technical solutions of the above method embodiments, and the implementation principles and technical effects of the technical solutions may further refer to the relevant descriptions in the method embodiments, and optionally, the communication device may be a terminal, and may also be a component (e.g., a chip or a circuit) of the terminal.
It should be understood that the division of the modules of the communication device shown in fig. 9-10 is merely a logical division, and the actual implementation may be wholly or partially integrated into one physical entity or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling by the processing element in software, and part of the modules can be realized in the form of hardware. For example, the connection establishing module may be a processing element separately set up, or may be implemented by being integrated in a certain chip of the communication apparatus, such as a terminal, or may be stored in a memory of the communication apparatus in the form of a program, and the function of each module may be called and executed by a certain processing element of the communication apparatus. Other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. As another example, when one of the above modules is implemented in the form of a Processing element scheduler, the Processing element may be a general purpose processor, such as a Central Processing Unit (CPU) or other processor capable of invoking programs. As another example, these modules may be integrated together, implemented in the form of a system-on-a-chip (SOC).
Fig. 11 is a schematic structural diagram of another communication device according to an embodiment of the present application. As shown in fig. 11, the communication device 110 includes: the processor 112 and the transceiver 113, the transceiver 113 sends a first connection establishment request to the proxy server, the first connection establishment request includes an IP address of the target server; the processor 112 establishes a first connection with the proxy server, and the IP address of the target server is used for the proxy server to establish a second connection with the target server; the transceiver 113 is further configured to send a file sharing instruction to the proxy server, so that the proxy server forwards the file sharing instruction to the target server. Further, a memory 111 is included for storing computer programs or instructions for invoking the programs or instructions by the processor 112.
The communication device in the embodiment shown in fig. 11 may be configured to execute the technical solution of the above method embodiment, and further refer to the relevant description in the method embodiment, which is not described herein again, where the communication device may be a terminal, or may be a component (e.g., a chip or a circuit) of the terminal.
In fig. 11, the transceiver 113 may be connected to an antenna. In the downlink direction, the transceiver 113 receives information transmitted by the base station via the antenna and sends the information to the processor 112 for processing. In the uplink direction, the processor 112 processes the data of the terminal and transmits the processed data to the base station through the transceiver 113.
Alternatively, the processor 112 may be configured to implement the corresponding functions in the redirection module 1004 of the communication apparatus shown in fig. 10, and the transceiver may be configured to implement the corresponding functions of the sending module 1001 of the communication apparatus shown in fig. 10. Alternatively, part or all of the above modules may be implemented by being embedded in a chip of the terminal in the form of an integrated circuit. And they may be implemented separately or integrated together. That is, the above modules may be configured as one or more integrated circuits implementing the above methods, for example: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others.
Embodiments of the present application further provide a computer-readable storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the communication method described in the above embodiments.
In addition, the present application also provides a computer program product, which includes a computer program that, when running on a computer, causes the computer to execute the communication method described in the above embodiments.
In the above embodiments, all or part of the implementation may be realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the procedures or functions described in accordance with the present application are generated, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk), among others.

Claims (17)

1. A method for sharing a file, comprising:
the method comprises the steps that a proxy server receives a first connection establishment request sent by a terminal, wherein the first connection establishment request comprises an IP address of a target server, the first connection establishment request is a SYN message with a synchronous sequence number, and an option field of the SYN message comprises the IP address of the target server;
the proxy server establishes a first connection with the terminal according to the first connection establishment request;
the proxy server establishes a second connection with the target server according to the IP address of the target server;
the proxy server receives a file sharing instruction sent by the terminal and forwards the file sharing instruction to the target server;
after the proxy server receives a first connection establishment request sent by a terminal, the method further includes:
the proxy server stores the IP address of the target server, the IP address of the terminal and the port number of the terminal in a database;
before the proxy server establishes a second connection with the target server according to the IP address of the target server, the method further includes:
and the proxy server acquires the IP address of the target server corresponding to the IP address of the terminal and the port number of the terminal from the database.
2. The method according to claim 1, wherein the receiving, by the proxy server, the first connection establishment request sent by the terminal comprises:
the proxy server receives a TCP connection establishment request sent by the terminal;
the proxy server establishes a first connection with the terminal according to the first connection establishment request, including;
and the proxy server establishes the TCP connection with the terminal according to the TCP connection establishment request.
3. The method of claim 1, wherein before the proxy server establishes the second connection with the target server based on the IP address of the target server, the method further comprises:
and the proxy server sends a second connection establishment request to the target server according to the IP address of the target server.
4. The method of any of claims 1-3, wherein the file sharing instructions include at least one of:
a shared file reading instruction, a shared file writing instruction and a shared file searching instruction.
5. A method for sharing a file, comprising:
a terminal sends a first connection establishment request to a proxy server, wherein the first connection establishment request comprises an IP address of a target server, the first connection establishment request is a synchronization sequence number (SYN) message, and an option field of the SYN message comprises the IP address of the target server;
the terminal establishes a first connection with the proxy server, and the IP address of the target server is used for establishing a second connection between the proxy server and the target server; the IP address of the target server is the IP address of the target server corresponding to the IP address of the terminal and the port number of the terminal, which are acquired from a database by the proxy server; the IP address of the target server, the IP address of the terminal, and the port number of the terminal in the database are stored by the proxy server after receiving the first connection establishment request;
and the terminal sends a file sharing instruction to the proxy server so that the proxy server forwards the file sharing instruction to the target server.
6. The method according to claim 5, wherein before the terminal sends the first connection establishment request to the proxy server, the method further comprises:
the terminal generates a third connection establishment request, wherein the third connection establishment request is used for establishing connection between the terminal and the target server and comprises an IP address of the target server;
and the terminal generates the first connection establishment request according to the third connection establishment request.
7. A communications apparatus, comprising:
a receiving module, configured to receive a first connection establishment request sent by a terminal, where the first connection establishment request includes an IP address of a target server, the first connection establishment request is a synchronization sequence number SYN packet, and an option field of the SYN packet includes the IP address of the target server;
the connection establishing module is used for establishing a first connection with the terminal according to the first connection establishing request; establishing a second connection with the target server according to the IP address of the target server;
the receiving module is further configured to receive a file sharing instruction sent by the terminal;
the sending module is used for forwarding the file sharing instruction to the target server;
the communication device further includes:
a storage module, configured to store, in a database, the IP address of the target server, the IP address of the terminal, and the port number of the terminal after the receiving module receives a first connection establishment request sent by the terminal;
and the acquisition module is used for acquiring the IP address of the target server corresponding to the IP address of the terminal and the port number of the terminal from the database before the connection establishment module establishes second connection with the target server according to the IP address of the target server.
8. The communication device of claim 7,
the receiving module, when receiving a first connection establishment request sent by a terminal, is specifically configured to: receiving a TCP connection establishment request sent by the terminal;
the connection establishing module, when establishing the first connection with the terminal according to the first connection establishing request, is specifically configured to: and establishing the TCP connection with the terminal according to the TCP connection establishment request.
9. The communication device of claim 7,
the sending module is further configured to: and before the connection establishing module establishes a second connection with the target server according to the IP address of the target server, sending a second connection establishing request to the target server according to the IP address of the target server.
10. The communications apparatus according to any one of claims 7-9, wherein the file sharing instruction comprises at least one of:
a shared file reading instruction, a shared file writing instruction and a shared file searching instruction.
11. A communications apparatus, comprising:
a sending module, configured to send a first connection establishment request to a proxy server, where the first connection establishment request includes an IP address of a target server, the first connection establishment request is a synchronization sequence number SYN packet, and an option field of the SYN packet includes the IP address of the target server;
the connection establishing module is used for establishing a first connection with the proxy server, and the IP address of the target server is used for establishing a second connection between the proxy server and the target server; the IP address of the target server is the IP address of the target server corresponding to the IP address of the terminal and the port number of the terminal, which are acquired from a database by the proxy server; the IP address of the target server, the IP address of the terminal, and the port number of the terminal in the database are stored by the proxy server after receiving the first connection establishment request;
the sending module is further configured to: and sending a file sharing instruction to the proxy server so that the proxy server forwards the file sharing instruction to the target server.
12. The communications device of claim 11, further comprising:
a generating module, configured to generate a third connection establishment request before the sending module sends the first connection establishment request to the proxy server, where the third connection establishment request is used for the communication apparatus to establish a connection with the target server, and the third connection establishment request includes an IP address of the target server;
and the redirection module is used for generating the first connection establishment request according to the third connection establishment request.
13. A communications apparatus, comprising: a processor coupled with a memory;
a memory for storing a computer program;
a processor for executing a computer program stored in the memory to cause the apparatus to perform the method of any of claims 1-6.
14. A communications apparatus, comprising: a processor, a memory, and a transceiver;
the memory for storing a computer program;
the processor configured to execute a computer program stored in the memory to cause the apparatus to perform the method of any of claims 1-6.
15. A processor, comprising: at least one circuit configured to perform the method of any one of claims 1-6.
16. A readable storage medium, comprising a program or instructions for performing the method of any one of claims 1-6 when the program or instructions are run on a computer.
17. A system, characterized in that the system comprises a communication device according to any of claims 7-12.
CN201910398587.9A 2019-05-14 2019-05-14 File sharing method, communication device and storage medium Active CN111953714B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910398587.9A CN111953714B (en) 2019-05-14 2019-05-14 File sharing method, communication device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910398587.9A CN111953714B (en) 2019-05-14 2019-05-14 File sharing method, communication device and storage medium

Publications (2)

Publication Number Publication Date
CN111953714A CN111953714A (en) 2020-11-17
CN111953714B true CN111953714B (en) 2022-07-12

Family

ID=73335637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910398587.9A Active CN111953714B (en) 2019-05-14 2019-05-14 File sharing method, communication device and storage medium

Country Status (1)

Country Link
CN (1) CN111953714B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112995333B (en) * 2021-04-02 2023-05-23 深圳市大富网络技术有限公司 Remote file activation method, system and related device
CN115442332B (en) * 2022-08-30 2023-06-23 潍柴动力股份有限公司 Resource sharing method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1563389A2 (en) * 2001-08-01 2005-08-17 Actona Technologies Ltd. Virtual file-sharing network
CN101841537A (en) * 2010-04-13 2010-09-22 北京时代亿信科技有限公司 Method and system for realizing file sharing access control based on protocol proxy
CN103348347A (en) * 2011-02-08 2013-10-09 汤姆逊许可公司 Method of sharing data in a home network and apparatus implementing the method
CN107566533A (en) * 2017-10-26 2018-01-09 南威软件股份有限公司 A kind of intranet and extranet shared file system realized based on NAS
CN107800695A (en) * 2017-10-17 2018-03-13 郑州云海信息技术有限公司 File access method, device based on Samba agreements, system
US10042719B1 (en) * 2015-09-22 2018-08-07 EMC IP Holding Company LLC Optimizing application data backup in SMB
CN108418802A (en) * 2018-02-02 2018-08-17 大势至(北京)软件工程有限公司 A kind of access control method and system of shared file

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587275A (en) * 2019-01-08 2019-04-05 网宿科技股份有限公司 A kind of method for building up and proxy server of communication connection

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1563389A2 (en) * 2001-08-01 2005-08-17 Actona Technologies Ltd. Virtual file-sharing network
CN101841537A (en) * 2010-04-13 2010-09-22 北京时代亿信科技有限公司 Method and system for realizing file sharing access control based on protocol proxy
CN103348347A (en) * 2011-02-08 2013-10-09 汤姆逊许可公司 Method of sharing data in a home network and apparatus implementing the method
US10042719B1 (en) * 2015-09-22 2018-08-07 EMC IP Holding Company LLC Optimizing application data backup in SMB
CN107800695A (en) * 2017-10-17 2018-03-13 郑州云海信息技术有限公司 File access method, device based on Samba agreements, system
CN107566533A (en) * 2017-10-26 2018-01-09 南威软件股份有限公司 A kind of intranet and extranet shared file system realized based on NAS
CN108418802A (en) * 2018-02-02 2018-08-17 大势至(北京)软件工程有限公司 A kind of access control method and system of shared file

Also Published As

Publication number Publication date
CN111953714A (en) 2020-11-17

Similar Documents

Publication Publication Date Title
CN113691943B (en) Positioning method and related equipment
CN117278995A (en) Efficient discovery of edge computing servers
CN112738881B (en) Network registration method and device
CN111953714B (en) File sharing method, communication device and storage medium
CN111565435B (en) Communication method and access network equipment
CN112584464B (en) Communication method, communication device, and storage medium
CN109428767A (en) Processing method, terminal device and the network equipment of measurement configuration information
US9826432B2 (en) Remote socket connection for data offload
WO2021163901A1 (en) Session processing method and apparatus therefor
WO2018214762A1 (en) Method and apparatus for acquiring paging parameter
CN113296986A (en) Message processing method, device, server and storage medium
WO2021052210A1 (en) Instruction method and apparatus for hybrid automatic repeat request, and storage medium
EP3813481B1 (en) Information transmission methods and system
US20230180344A1 (en) Wireless communication method and device
KR102298616B1 (en) Power saving for non-trigger-based ranging
US11212840B2 (en) Method for random access, terminal, and network device
WO2022160298A1 (en) Time synchronization method, apparatus and system
CN115843435A (en) Network equipment management method and device
CN111565434B (en) Communication method and access network equipment
WO2018032357A1 (en) Method and device for transmitting information
JP2024509035A (en) Data transmission method, terminal device and network device
CN109890016B (en) Method and device for supporting multiple applications to access Bluetooth equipment
CN112383617A (en) Method, device, terminal equipment and medium for long connection
CN111565436A (en) Communication method and access network equipment
WO2024026699A1 (en) Resource selection method and apparatus

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