CN113507502A - File transmission method, device, equipment and machine-readable storage medium - Google Patents

File transmission method, device, equipment and machine-readable storage medium Download PDF

Info

Publication number
CN113507502A
CN113507502A CN202110648215.4A CN202110648215A CN113507502A CN 113507502 A CN113507502 A CN 113507502A CN 202110648215 A CN202110648215 A CN 202110648215A CN 113507502 A CN113507502 A CN 113507502A
Authority
CN
China
Prior art keywords
file
uploaded
request
downloading
uploading 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.)
Pending
Application number
CN202110648215.4A
Other languages
Chinese (zh)
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.)
New H3C Security Technologies Co Ltd
Original Assignee
New H3C Security 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 New H3C Security Technologies Co Ltd filed Critical New H3C Security Technologies Co Ltd
Priority to CN202110648215.4A priority Critical patent/CN113507502A/en
Publication of CN113507502A publication Critical patent/CN113507502A/en
Pending legal-status Critical Current

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
    • 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/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present disclosure provides a file transfer method, apparatus, device and machine-readable storage medium, the method comprising: receiving a file uploading request sent by a terminal, and transferring a file to be uploaded in the file uploading request to a file server; replacing the file to be uploaded included in the file uploading request according to the acquired downloading link of the file to be uploaded fed back by the file server; and forwarding the rewritten file uploading request to the management equipment so that the management equipment downloads the file to be uploaded from the file server according to the downloading link included in the file uploading request. According to the technical scheme, the large file to be transmitted is transferred and stored through the file server, so that only the download link related to the large file to be transmitted needs to be transmitted through the WebSocket protocol, the response time of other request messages is not increased, the response time and the throughput of the nano-tube equipment are not reduced, and the efficiency is high.

Description

File transmission method, device, equipment and machine-readable storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a file transmission method, apparatus, device, and machine-readable storage medium.
Background
The devices may be various online devices in the network infrastructure that access or connect to the Internet, such as routers, switches, firewalls, servers, and the like. Or various terminals accessing the Internet.
A management apparatus, an information system for single apparatus management, with which apparatus resources can be efficiently managed and normal operation of the apparatus can be maintained.
Device hosting refers to a process of connecting a device to an operation and maintenance server/SDN controller (or other facilities that need to exchange information with the device), so as to enable the device to report its information to the operation and maintenance server/SDN controller (or other facilities that need to exchange information with the device) and to issue operations/data to the device by the operation and maintenance server/SDN controller (or other facilities that need to exchange information with the device).
Hosting devices such as operation and maintenance servers, SDN controllers, or other facilities that need to exchange information with the devices.
WebSocket is a protocol for full duplex communication over a single TCP connection.
At present, a large-size file is transmitted in a fragmentation mode through a WebSocket protocol, so that the transmission of the large file occupies connection resources, the response time of other request messages is increased, the response time and the throughput of a nanotube device are reduced, and the efficiency is very low.
Disclosure of Invention
In view of the above, the present disclosure provides a file transmission method, a file transmission device, an electronic device, and a machine-readable storage medium to solve the problem of low transmission efficiency of large files.
The specific technical scheme is as follows:
the present disclosure provides a file transmission method applied to a nanotube device, the method comprising: receiving a file uploading request sent by a terminal, and transferring a file to be uploaded in the file uploading request to a file server; replacing the file to be uploaded included in the file uploading request according to the acquired downloading link of the file to be uploaded fed back by the file server; and forwarding the rewritten file uploading request to the management equipment so that the management equipment downloads the file to be uploaded from the file server according to the downloading link included in the file uploading request.
As a technical solution, the receiving a file upload request sent by a terminal, and transferring a file to be uploaded included in the file upload request to a file server includes: receiving a file uploading request sent by a terminal, transferring a file to be uploaded, of which the file size is larger than a threshold value, in the file uploading request to a file server, and executing subsequent steps.
As a technical solution, the replacing, according to the obtained download link of the file to be uploaded fed back by the file server, the file to be uploaded included in the file upload request includes: and setting a flag bit, wherein the flag bit is used for indicating that the associated file uploading request comprises a downloading link fed back by the file server.
The present disclosure also provides a file transmission method applied to a nanotube device, the method includes: receiving a file downloading request sent by a terminal, and forwarding the file downloading request to a management device so that the management device uploads a related file to be downloaded to a file server according to the file downloading request and feeds back a related downloading link to a nano management device; downloading the associated file to be downloaded from the file server according to the download link; and forwarding the file to be downloaded to the terminal.
This disclosure simultaneously provides a file transmission device, is applied to the nanotube equipment, the device includes: the file uploading module is used for receiving a file uploading request sent by the terminal and transferring a file to be uploaded in the file uploading request to the file server; the replacing module is used for replacing the file to be uploaded in the file uploading request according to the acquired downloading link of the file to be uploaded fed back by the file server; and the forwarding module is used for forwarding the rewritten file uploading request to the management equipment so that the management equipment downloads the file to be uploaded from the file server according to the downloading link included in the file uploading request.
As a technical solution, the receiving a file upload request sent by a terminal, and transferring a file to be uploaded included in the file upload request to a file server includes: receiving a file uploading request sent by a terminal, transferring a file to be uploaded, of which the file size is larger than a threshold value, in the file uploading request to a file server, and executing subsequent steps.
As a technical solution, the replacing, according to the obtained download link of the file to be uploaded fed back by the file server, the file to be uploaded included in the file upload request includes: and setting a flag bit, wherein the flag bit is used for indicating that the associated file uploading request comprises a downloading link fed back by the file server.
This disclosure simultaneously provides a file transmission device, is applied to the nanotube equipment, the device includes: the transmission module is used for receiving a file downloading request sent by the terminal and forwarding the file downloading request to the management equipment so that the management equipment uploads the associated file to be downloaded to the file server according to the file downloading request and feeds back the associated downloading link to the nano-tube equipment; the downloading module is used for downloading the associated file to be downloaded from the file server according to the downloading link; and the return module is used for forwarding the file to be downloaded to the terminal.
The present disclosure also provides an electronic device including a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor executing the machine-executable instructions to implement the aforementioned file transmission method.
The present disclosure also provides a machine-readable storage medium having stored thereon machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the aforementioned file transfer method.
The technical scheme provided by the disclosure at least brings the following beneficial effects:
the large file to be transmitted is transferred and stored through the file server, so that only the download link related to the large file to be transmitted needs to be transmitted through the WebSocket protocol, the response time of other request messages is not increased, the response time and the throughput of the nanotube management equipment are not reduced, and the efficiency is high.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments of the present disclosure or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present disclosure, and other drawings can be obtained by those skilled in the art according to the drawings of the embodiments of the present disclosure.
FIG. 1 is a flow diagram of a file transfer method in one embodiment of the present disclosure;
FIG. 2 is a flow diagram of a file transfer method in one embodiment of the present disclosure;
FIG. 3 is a block diagram of a document transport apparatus in one embodiment of the present disclosure;
FIG. 4 is a block diagram of a document transport apparatus in one embodiment of the present disclosure;
fig. 5 is a hardware configuration diagram of an electronic device in an embodiment of the present disclosure.
Detailed Description
The terminology used in the embodiments of the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein is meant to encompass any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information in the embodiments of the present disclosure, such information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. Depending on the context, moreover, the word "if" as used may be interpreted as "at … …" or "when … …" or "in response to a determination".
The managed devices deployed inside the enterprise can directly access the management devices inside the enterprise, in which case the device management pages can be directly accessed by http protocol requests.
The management device deployed in the public network cannot directly access the management device inside the enterprise, and the device actively initiates a request to establish a WebSocket connection with the management device. After the WebSocket connection is established, the receiving and managing device can send a request message to the device through the WebSocket connection to acquire Web page data of the managing device.
The terminal accesses the hosting device and sends a request URL for logging in the management device at the hosting device. For example, a GET request: http:// nanotube device IP/device/web/frame/login
The receiving device receives the terminal login request, encapsulates the request headers, the request body and the URL (converted into request URL of the management device: http://127.0.0.1/web/frame/login. html) into a specific format WebSocket message, and sends the message to the management device through the WebSocket.
And the management equipment restores the request after receiving the message, and the proxy terminal accesses the Web service of the management equipment.
The management equipment acquires the response heads and the response body of the request, packages the response heads and the response body into a WebSocket message with a specific format and responds the WebSocket message to the admission equipment.
And the receiving device receives the WebSocket message, processes and restores the WebSocket message into a response of the URL request and sends the response to the terminal.
Since WebSocket can be inefficient in directly transferring large data, special processing is required for files larger than 1 MB. The large-size file is transmitted in a fragmentation mode through a WebSocket protocol, so that the large-size file can occupy connection resources when being transmitted, the response time of other request messages is prolonged, the response time and the throughput of the nanotube device can be further reduced, and the efficiency is very low.
In view of the above, the present disclosure provides a file transmission method, a file transmission device, an electronic device, and a machine-readable storage medium to solve the problem of low transmission efficiency of large files.
Specifically, the technical scheme is as follows.
In one embodiment, the present disclosure provides a file transfer method applied to a nanotube device, the method including: receiving a file uploading request sent by a terminal, and transferring a file to be uploaded in the file uploading request to a file server; replacing the file to be uploaded included in the file uploading request according to the acquired downloading link of the file to be uploaded fed back by the file server; and forwarding the rewritten file uploading request to the management equipment so that the management equipment downloads the file to be uploaded from the file server according to the downloading link included in the file uploading request.
Specifically, as shown in fig. 1, the method comprises the following steps:
and step S11, receiving a file uploading request sent by the terminal, and transferring the file to be uploaded included in the file uploading request to the file server.
And step S12, replacing the file to be uploaded included in the file uploading request according to the acquired downloading link of the file to be uploaded fed back by the file server.
Step S13, the rewritten file upload request is forwarded to the management device.
And the management equipment downloads the file to be uploaded from the file server according to the download link included in the file uploading request.
The large file to be transmitted is transferred and stored through the file server, so that only the download link related to the large file to be transmitted needs to be transmitted through the WebSocket protocol, the response time of other request messages is not increased, the response time and the throughput of the nanotube management equipment are not reduced, and the efficiency is high.
In one embodiment, the receiving a file upload request sent by a terminal, and transferring a file to be uploaded included in the file upload request to a file server includes: receiving a file uploading request sent by a terminal, transferring a file to be uploaded, of which the file size is larger than a threshold value, in the file uploading request to a file server, and executing subsequent steps.
In an embodiment, the replacing the file to be uploaded included in the file upload request according to the obtained download link of the file to be uploaded fed back by the file server includes: and setting a flag bit, wherein the flag bit is used for indicating that the associated file uploading request comprises a downloading link fed back by the file server.
In an embodiment, the present disclosure also provides a file transmission method applied to a nanotube device, where the method includes: receiving a file downloading request sent by a terminal, and forwarding the file downloading request to a management device so that the management device uploads a related file to be downloaded to a file server according to the file downloading request and feeds back a related downloading link to a nano management device; downloading the associated file to be downloaded from the file server according to the download link; and forwarding the file to be downloaded to the terminal.
Specifically, as shown in fig. 2, the method comprises the following steps:
and step S21, receiving the file downloading request sent by the terminal, and forwarding the file downloading request to the management device.
The management equipment uploads the associated file to be downloaded to the file server according to the file downloading request and feeds back the associated downloading link to the nano management equipment
And step S22, downloading the associated file to be downloaded from the file server according to the download link.
And step S23, forwarding the file to be downloaded to the terminal.
The large file is stored in the file server, and only the storage download path of the file is subjected to message communication, so that the influence of large file transmission on the transmission efficiency of other messages is reduced, and the response speed and the throughput of the nanotube device are greatly increased.
The management device deployed on the public network cannot directly access the management device inside the enterprise, and the device actively initiates a request to establish a WebSocket connection with the management device. After the WebSocket connection is established, the receiving and managing device can send a request message to the device through the WebSocket connection to acquire a Web page of the managing device.
The transmission mode is selected according to the file size, for example, when the file is smaller than the threshold value of 1MB, the base64 encoding mode is used; when the file is larger than or equal to the threshold value of 1MB, the URL equivalent replacement mode is used. This threshold for file size may be set as desired depending on the context of the actual network application.
In the WebSocket message, the flag bit is russian 0, which indicates that the transmission mode of the message is a base64 encoding mode, and indicates that the data in the body field in the message is base64 encoded data.
When the file uploaded by the terminal is less than 1MB, the management equipment performs base64 coding on data in the request body of the terminal, assigns a body field in the WebSocket message, resets the flag bit, judges whether the base64 is needed to decode and restore the body according to the value of the flag bit, and then proxies the request.
When the terminal download file is less than 1MB, the receiving and managing device carries out base64 coding on the data in the request body of the terminal, assigns a body field in the WebSocket message, resets the flag bit, judges whether the base64 is needed to decode and restore the body according to the value of the flag bit, and then sends the body to the terminal.
In the WebSocket message, the flag position bit indicates that the message transmission mode is a URL equivalent replacement mode, and indicates that the data in the body field in the message is big data (more than or equal to 1M).
When the file uploaded by the terminal is more than or equal to 1MB, the data in the request body of the terminal is uploaded to the file server by the receiving device, the URL downloading link of the data is obtained, the URL link is assigned to the body field in the WebSocket message, the flag bit is set, the management device can judge whether the original file needs to be downloaded by the URL link in the body according to the value of the flag bit and restore the body data, and then the request is proxied.
Because the management equipment is in an NAT intranet environment and cannot provide external downloading URL links, large file downloading can be realized by a file server, and a field 'urlExt' is added to the request message, namely, the address of the file server is specified.
When the terminal downloads the file with the file size being more than or equal to 1MB, the management device uploads the data in the file downloading request body to the specified file server, acquires the URL downloading link, assigns the URL link to the body field in the WebSocket message, sets the flag bit, and the admission device downloads the original file body data and restores the body according to the flag bit and the URL link in the body and then sends the original file body data to the terminal.
In one embodiment, the present disclosure also provides a document transportation apparatus, as shown in fig. 3, applied to a nanotube device, the apparatus including: the uploading module 31 is configured to receive a file uploading request sent by a terminal, and forward a file to be uploaded included in the file uploading request to a file server; the replacing module 32 is configured to replace the file to be uploaded included in the file uploading request according to the obtained download link of the file to be uploaded, which is fed back by the file server; and a forwarding module 33, configured to forward the rewritten file upload request to the management device, so that the management device downloads the file to be uploaded from the file server according to the download link included in the file upload request.
In one embodiment, the receiving a file upload request sent by a terminal, and transferring a file to be uploaded included in the file upload request to a file server includes: receiving a file uploading request sent by a terminal, transferring a file to be uploaded, of which the file size is larger than a threshold value, in the file uploading request to a file server, and executing subsequent steps.
In an embodiment, the replacing the file to be uploaded included in the file upload request according to the obtained download link of the file to be uploaded fed back by the file server includes: and setting a flag bit, wherein the flag bit is used for indicating that the associated file uploading request comprises a downloading link fed back by the file server.
In one embodiment, the present disclosure also provides a document transportation apparatus, as shown in fig. 4, applied to a nanotube device, the apparatus including: the transmission module 41 is configured to receive a file download request sent by the terminal, and forward the file download request to the management device, so that the management device uploads the associated file to be downloaded to the file server according to the file download request and feeds back the associated download link to the hosting device; a downloading module 42, configured to download the associated file to be downloaded from the file server according to the download link; and a returning module 43, configured to forward the file to be downloaded to the terminal.
The device embodiments are the same or similar to the corresponding method embodiments and are not described herein again.
In one embodiment, the present disclosure provides an electronic device, which includes a processor and a machine-readable storage medium, where the machine-readable storage medium stores machine-executable instructions capable of being executed by the processor, and the processor executes the machine-executable instructions to implement the foregoing file transmission method, and from a hardware level, a schematic diagram of a hardware architecture may be shown in fig. 5.
In one embodiment, the present disclosure provides a machine-readable storage medium having stored thereon machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the aforementioned file transfer method.
Here, a machine-readable storage medium may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and so forth. For example, the machine-readable storage medium may be: a RAM (random Access Memory), a volatile Memory, a non-volatile Memory, a flash Memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., an optical disk, a dvd, etc.), or similar storage medium, or a combination thereof.
The systems, devices, modules or units described in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the various elements may be implemented in the same one or more software and/or hardware implementations in practicing the disclosure.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Furthermore, these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (which may include, but is not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only an embodiment of the present disclosure, and is not intended to limit the present disclosure. Various modifications and variations of this disclosure will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure should be included in the scope of the claims of the present disclosure.

Claims (10)

1. A file transmission method is applied to a nanotube device, and comprises the following steps:
receiving a file uploading request sent by a terminal, and transferring a file to be uploaded in the file uploading request to a file server;
replacing the file to be uploaded included in the file uploading request according to the acquired downloading link of the file to be uploaded fed back by the file server;
and forwarding the rewritten file uploading request to the management equipment so that the management equipment downloads the file to be uploaded from the file server according to the downloading link included in the file uploading request.
2. The method according to claim 1, wherein the receiving a file uploading request sent by a terminal, and transferring a file to be uploaded included in the file uploading request to a file server comprises:
receiving a file uploading request sent by a terminal, transferring a file to be uploaded, of which the file size is larger than a threshold value, in the file uploading request to a file server, and executing subsequent steps.
3. The method according to claim 1, wherein the replacing the file to be uploaded included in the file uploading request according to the acquired download link of the file to be uploaded fed back by the file server comprises:
and setting a flag bit, wherein the flag bit is used for indicating that the associated file uploading request comprises a downloading link fed back by the file server.
4. A file transmission method is applied to a nanotube device, and comprises the following steps:
receiving a file downloading request sent by a terminal, and forwarding the file downloading request to a management device so that the management device uploads a related file to be downloaded to a file server according to the file downloading request and feeds back a related downloading link to a nano management device;
downloading the associated file to be downloaded from the file server according to the download link;
and forwarding the file to be downloaded to the terminal.
5. A document transport apparatus for use with a nanotube device, the apparatus comprising:
the file uploading module is used for receiving a file uploading request sent by the terminal and transferring a file to be uploaded in the file uploading request to the file server;
the replacing module is used for replacing the file to be uploaded in the file uploading request according to the acquired downloading link of the file to be uploaded fed back by the file server;
and the forwarding module is used for forwarding the rewritten file uploading request to the management equipment so that the management equipment downloads the file to be uploaded from the file server according to the downloading link included in the file uploading request.
6. The apparatus according to claim 5, wherein the receiving of the file upload request sent by the terminal, and the transferring of the file to be uploaded included in the file upload request to the file server, comprises:
receiving a file uploading request sent by a terminal, transferring a file to be uploaded, of which the file size is larger than a threshold value, in the file uploading request to a file server, and executing subsequent steps.
7. The apparatus according to claim 5, wherein the replacing the file to be uploaded included in the file upload request according to the obtained download link of the file to be uploaded fed back by the file server comprises:
and setting a flag bit, wherein the flag bit is used for indicating that the associated file uploading request comprises a downloading link fed back by the file server.
8. A document transport apparatus for use with a nanotube device, the apparatus comprising:
the transmission module is used for receiving a file downloading request sent by the terminal and forwarding the file downloading request to the management equipment so that the management equipment uploads the associated file to be downloaded to the file server according to the file downloading request and feeds back the associated downloading link to the nano-tube equipment;
the downloading module is used for downloading the associated file to be downloaded from the file server according to the downloading link;
and the return module is used for forwarding the file to be downloaded to the terminal.
9. An electronic device, comprising: a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor to perform the method of any one of claims 1 to 4.
10. A machine-readable storage medium having stored thereon machine-executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of any of claims 1-4.
CN202110648215.4A 2021-06-10 2021-06-10 File transmission method, device, equipment and machine-readable storage medium Pending CN113507502A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110648215.4A CN113507502A (en) 2021-06-10 2021-06-10 File transmission method, device, equipment and machine-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110648215.4A CN113507502A (en) 2021-06-10 2021-06-10 File transmission method, device, equipment and machine-readable storage medium

Publications (1)

Publication Number Publication Date
CN113507502A true CN113507502A (en) 2021-10-15

Family

ID=78009836

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110648215.4A Pending CN113507502A (en) 2021-06-10 2021-06-10 File transmission method, device, equipment and machine-readable storage medium

Country Status (1)

Country Link
CN (1) CN113507502A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113938475A (en) * 2021-12-16 2022-01-14 深圳市大头兄弟科技有限公司 Data transmission method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185887A (en) * 2011-01-04 2011-09-14 华为终端有限公司 File downloading method and system for terminal
CN103581272A (en) * 2012-08-08 2014-02-12 腾讯科技(深圳)有限公司 File transfer method and device
CN104025543A (en) * 2011-11-09 2014-09-03 Sk电信有限公司 File Transfer System, Message Server, Terminal, And Method Using Http
US20140258430A1 (en) * 2011-11-22 2014-09-11 Sk Telecom Co., Ltd. Server, device and recording medium for http file transfer during chatting session established by another protocol
CN109347828A (en) * 2018-10-22 2019-02-15 北京达佳互联信息技术有限公司 File Upload and Download method, apparatus, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185887A (en) * 2011-01-04 2011-09-14 华为终端有限公司 File downloading method and system for terminal
CN104025543A (en) * 2011-11-09 2014-09-03 Sk电信有限公司 File Transfer System, Message Server, Terminal, And Method Using Http
US20140258430A1 (en) * 2011-11-22 2014-09-11 Sk Telecom Co., Ltd. Server, device and recording medium for http file transfer during chatting session established by another protocol
CN103581272A (en) * 2012-08-08 2014-02-12 腾讯科技(深圳)有限公司 File transfer method and device
CN109347828A (en) * 2018-10-22 2019-02-15 北京达佳互联信息技术有限公司 File Upload and Download method, apparatus, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113938475A (en) * 2021-12-16 2022-01-14 深圳市大头兄弟科技有限公司 Data transmission method
CN113938475B (en) * 2021-12-16 2022-03-29 深圳市大头兄弟科技有限公司 Data transmission method

Similar Documents

Publication Publication Date Title
US20170149715A1 (en) System and method for providing an actively invalidated client-side network resource cache
US8903972B2 (en) Method and apparatus for sharing contents using information of group change in content oriented network environment
EP3398334A1 (en) Accurate caching in adaptive video streaming
US10263920B2 (en) Enhanced acknowledgement handling in communication packet transfer
CN103220308B (en) A kind of document down loading method, apparatus and system
CN110392020B (en) Streaming media resource transmission method and system
CN104205743A (en) Method and apparatus for content delivery in radio access networks
KR20170125252A (en) Message Fragmentation Method using a MQTT Protocol in M2M/IoT Platforms
CN113507502A (en) File transmission method, device, equipment and machine-readable storage medium
US11706290B2 (en) Direct server reply for infrastructure services
EP2428021A1 (en) P2p for mobile providers
CN104852955A (en) Data processing method and system
EP3186959B1 (en) Enrichment of upper layer protocol content in tcp based session
US8495167B2 (en) Data communications networks, systems, methods and apparatus
US11444882B2 (en) Methods for dynamically controlling transmission control protocol push functionality and devices thereof
CN110677443A (en) Data transmitting and receiving method, transmitting end, receiving end, system and storage medium
JP6690959B2 (en) Device and method for reforming TCP handshake
CN115150333B (en) Congestion control method, congestion control device, computer equipment and storage medium
JP6534625B2 (en) Communication apparatus and communication method
CN114448960A (en) Scheduling system, method, device, equipment and medium
CN113204721A (en) Request processing method, node and storage medium
Hundeboll et al. Peer-assisted content distribution with random linear network coding
CN111835812B (en) Global data acquisition method and device, electronic equipment and computer storage medium
CN113645646B (en) Communication optimization method, device, equipment, server and communication system for low-power-consumption equipment
JP2014523582A (en) Transparent cache for mobile users

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20211015

RJ01 Rejection of invention patent application after publication