CN118041901A - File transmission system, method, terminal, server, network connection unit and device - Google Patents

File transmission system, method, terminal, server, network connection unit and device Download PDF

Info

Publication number
CN118041901A
CN118041901A CN202211411315.6A CN202211411315A CN118041901A CN 118041901 A CN118041901 A CN 118041901A CN 202211411315 A CN202211411315 A CN 202211411315A CN 118041901 A CN118041901 A CN 118041901A
Authority
CN
China
Prior art keywords
file
terminal
connection unit
network connection
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211411315.6A
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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN202211411315.6A priority Critical patent/CN118041901A/en
Publication of CN118041901A publication Critical patent/CN118041901A/en
Pending legal-status Critical Current

Links

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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a file transmission system, a method, a terminal, a server, a network connection unit and a device, and relates to the field of data processing. The network connection unit is used for sending the latest network connection unit file information to the server; the server is used for sending the file information to the terminal; the terminal is used for sending a file acquisition request to the server after receiving a file acquisition instruction; the server is further used for sending a target network connection unit file to the terminal after receiving the file acquisition request; the terminal is also used for sending a file sending request to the server after receiving the file sending instruction; the server is also used for sending a target terminal file to the network connection unit after receiving the file sending request; the networking unit is also used for receiving the target terminal file. The scheme provided by the embodiment of the invention can meet the file transmission requirement of the terminal.

Description

File transmission system, method, terminal, server, network connection unit and device
Technical Field
The embodiment of the invention relates to the field of data processing, in particular to a file transmission system, a method, a terminal, a server, a network connection unit and a device.
Background
In the running process of the terminal, there may be a file acquisition requirement for acquiring files stored in other devices, namely, a network connection unit, or a file transmission requirement for transmitting files to the network connection unit, where the network connection unit may be a mobile phone, a tablet computer, a computer, and other devices. The above-described file acquisition requirement and file transmission requirement may be collectively referred to as file transmission requirement.
Disclosure of Invention
The embodiment of the invention aims to provide a file transmission system, a file transmission method, a file transmission terminal, a file transmission server, a network connection unit and a network connection device, so as to meet the file transmission requirement of the file transmission terminal. The specific technical scheme is as follows:
In a first aspect, an embodiment of the present invention provides a file transfer system, including: the terminal, the server and the network connection unit;
The network connection unit is used for sending the latest file information of the network connection unit file stored by the network connection unit file to the server;
The server is used for storing and sending the file information to the terminal;
The terminal is used for sending a file acquisition request for acquiring the target network connection unit file to the server after receiving a file acquisition instruction which is input by a user based on the file information and is specific to the target network connection unit file;
The server is further configured to send the target network connection unit file to the terminal after receiving the file acquisition request;
The terminal is further configured to send a file sending request for the target terminal file to the server after receiving a file sending instruction input by a user and indicating to send the target terminal file to the internet connection unit;
the server is further configured to send the target terminal file to the network connection unit after receiving the file sending request;
the network connection unit is further configured to receive the target terminal file.
In one embodiment of the present invention, the server is specifically configured to:
after receiving the file acquisition request, detecting whether the target network connection unit file is stored; if the target network connection unit file is stored, the stored target network connection unit file is sent to the terminal; if the target network connection unit file is not stored, sending a unit file reporting request aiming at the target network connection unit file to the network connection unit;
The network connection unit is further used for sending the target network connection unit file to the server after receiving the unit file reporting request;
The server is further configured to store and forward the target network connection unit file to the terminal after receiving the target network connection unit file sent by the network connection unit.
In one embodiment of the present invention, the server is specifically configured to:
After receiving the file sending request, detecting whether the target terminal file is stored or not; if the target terminal file is stored, the stored target terminal file is sent to the network connection unit; if the target terminal file is not stored, a terminal file reporting request aiming at the target terminal file is sent to the terminal;
the terminal is further configured to send the target terminal file to the server after receiving the terminal file reporting request;
The server is further configured to store and forward the target terminal file to the network connection unit after receiving the target terminal file sent by the terminal.
In one embodiment of the present invention, the terminal is specifically configured to:
Transmitting a file transmission request containing a target file feature code of the target terminal file to the server;
The server is specifically configured to:
After receiving the file sending request, detecting whether a file with a file feature code being the target file feature code exists in the stored files;
if yes, determining that the target terminal file is stored in the server;
And if the target terminal file does not exist, determining that the target terminal file is not stored in the server.
In one embodiment of the present invention, the networking unit is specifically configured to:
after receiving the target terminal file, storing the target terminal file into a preset temporary directory;
detecting whether a file with the same name as the file name of the target terminal file exists in a preset target directory;
If not, storing the target terminal file into the target directory;
If the same name file exists, when the same name file is not used, the same name file is updated to the target terminal file.
In one embodiment of the present invention, the networking unit is specifically configured to:
And when the same-name file is not used, updating the content of the same-name file into the content of the target terminal file.
In one embodiment of the present invention, the terminal is further configured to send device information of the networking unit to the server;
The server is further configured to send, to the terminal, initialization data of the networking unit based on the device information of the networking unit, where the initialization data of the networking unit includes: authentication information for performing security authentication with the server;
the terminal is further configured to send initialization data of the networking unit to the networking unit based on network connection with the networking unit;
The network connection unit is further used for sending a security authentication request to the server based on authentication information in the initialization data;
the server is further configured to respond to the security authentication request, and perform security authentication on the network connection unit.
In a second aspect, an embodiment of the present invention provides a file transmission method, applied to a terminal, where the method includes:
receiving the latest file information of the network connection unit file stored in the network connection unit sent by the server;
After receiving a file acquisition instruction which is input by a user based on the file information and aims at a target network connection unit file, sending a file acquisition request for acquiring the target network connection unit file to the server;
receiving the target Internet connection unit file sent by the server in response to the file acquisition request;
And after receiving a file sending instruction which is input by a user and indicates that a target terminal file is sent to the network connection unit, sending a file sending request aiming at the target terminal file to the server, so that the server sends the target terminal file to the network connection unit after receiving the file sending request.
In a third aspect, an embodiment of the present invention provides a file transmission method, applied to a server, where the method includes:
receiving the latest file information of the network connection unit file sent by the network connection unit;
Storing and sending the file information to a terminal;
after receiving a file acquisition request which is sent by the terminal based on the file information and used for acquiring a target network connection unit file, sending the target network connection unit file to the terminal;
And after receiving a file sending request for sending a target terminal file sent by the terminal, sending the target terminal file to the network connection unit.
In a fourth aspect, an embodiment of the present invention provides a file transmission method, applied to an internet-connected unit, where the method includes:
The method comprises the steps of sending the latest file information of a network connection unit file stored by the server to enable the server to store and send the file information to a terminal, enabling the terminal to send a file acquisition request for acquiring a target network connection unit file to the server after receiving a file acquisition instruction for the target network connection unit file, which is input by a user based on the file information, so that the server sends the target network connection unit file to the terminal;
Receiving a target terminal file, wherein the target terminal file is as follows: the server sends a file sending request to the network connection unit after receiving the file sending request sent by the terminal, wherein the file sending request is: and the terminal sends the file sending instruction which is input by the user and indicates that the target terminal file is sent to the internet connection unit to the server.
In a fifth aspect, an embodiment of the present invention provides a terminal, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
A memory for storing a computer program;
The processor is used for realizing the following method steps when executing the program stored in the memory:
receiving the latest file information of the network connection unit file stored in the network connection unit sent by the server;
After receiving a file acquisition instruction which is input by a user based on the file information and aims at a target network connection unit file, sending a file acquisition request for acquiring the target network connection unit file to the server;
receiving the target Internet connection unit file sent by the server in response to the file acquisition request;
And after receiving a file sending instruction which is input by a user and indicates that a target terminal file is sent to the network connection unit, sending a file sending request aiming at the target terminal file to the server, so that the server sends the target terminal file to the network connection unit after receiving the file sending request.
In a sixth aspect, an embodiment of the present invention provides a server, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
A memory for storing a computer program;
The processor is used for realizing the following method steps when executing the program stored in the memory:
receiving the latest file information of the network connection unit file sent by the network connection unit;
Storing and sending the file information to a terminal;
after receiving a file acquisition request which is sent by the terminal based on the file information and used for acquiring a target network connection unit file, sending the target network connection unit file to the terminal;
And after receiving a file sending request for sending a target terminal file sent by the terminal, sending the target terminal file to the network connection unit.
In a seventh aspect, an embodiment of the present invention provides a network connection unit, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
A memory for storing a computer program;
The processor is used for realizing the following method steps when executing the program stored in the memory:
The method comprises the steps of sending the latest file information of a network connection unit file stored by the server to enable the server to store and send the file information to a terminal, enabling the terminal to send a file acquisition request for acquiring a target network connection unit file to the server after receiving a file acquisition instruction for the target network connection unit file, which is input by a user based on the file information, so that the server sends the target network connection unit file to the terminal;
Receiving a target terminal file, wherein the target terminal file is as follows: the server sends a file sending request to the network connection unit after receiving the file sending request sent by the terminal, wherein the file sending request is: and the terminal sends the file sending instruction which is input by the user and indicates that the target terminal file is sent to the internet connection unit to the server.
In an eighth aspect, an embodiment of the present invention provides a file transmission device, applied to a terminal, where the device includes:
The first receiving module is used for receiving the latest file information of the network connection unit file stored in the network connection unit sent by the server;
The first sending module is used for sending a file acquisition request for acquiring the target network connection unit file to the server after receiving a file acquisition instruction which is input by a user based on the file information and is specific to the target network connection unit file;
the second receiving module is used for receiving the target Internet connection unit file sent by the server in response to the file acquisition request;
And the second sending module is used for sending a file sending request aiming at the target terminal file to the server after receiving a file sending instruction which is input by a user and indicates to send the target terminal file to the network connection unit, so that the server sends the target terminal file to the network connection unit after receiving the file sending request.
In a ninth aspect, an embodiment of the present invention provides a file transmission device, applied to a server, where the device includes:
the third receiving module is used for receiving the latest file information of the network connection unit file sent by the network connection unit;
the storage and transmission module is used for storing and transmitting the file information to the terminal;
the third sending module is used for sending the target network connection unit file to the terminal after receiving a file acquisition request which is sent by the terminal based on the file information and used for acquiring the target network connection unit file;
and the fourth sending module is used for sending the target terminal file to the network connection unit after receiving the file sending request which is sent by the terminal and used for sending the target terminal file.
In a tenth aspect, an embodiment of the present invention provides a file transmission device, applied to a network connection unit, where the device includes:
a fifth sending module, configured to send, to a server, latest file information of a network connection unit file stored by the server, so that the server stores and sends the file information to a terminal, and cause the terminal to send, after receiving a file acquisition instruction for a target network connection unit file input by a user based on the file information, a file acquisition request for acquiring the target network connection unit file to the server, so that the server sends the target network connection unit file to the terminal;
the fourth receiving module is configured to receive a target terminal file, where the target terminal file is: the server sends a file sending request to the network connection unit after receiving the file sending request sent by the terminal, wherein the file sending request is: and the terminal sends the file sending instruction which is input by the user and indicates that the target terminal file is sent to the internet connection unit to the server.
In an eleventh aspect, embodiments of the present invention provide a computer readable storage medium having a computer program stored therein, which when executed by a processor implements the method steps of any of the second, third or fourth aspects.
The embodiment of the invention has the beneficial effects that:
An embodiment of the present invention provides a file transfer system, where the system includes: terminal, server and network connection unit. The network connection unit is used for sending the latest file information of the network connection unit file stored by the network connection unit file to the server; the server is used for storing and sending the file information to the terminal; the terminal is used for sending a file acquisition request for acquiring the target network connection unit file to the server after receiving a file acquisition instruction which is input by a user based on the file information and is specific to the target network connection unit file; the server is further configured to send the target network connection unit file to the terminal after receiving the file acquisition request; the terminal is further configured to send a file sending request for the target terminal file to the server after receiving a file sending instruction that a user sends the target terminal file to the internet connection unit; the server is further configured to send the target terminal file to the network connection unit after receiving the file sending request; the network connection unit is further configured to receive the target terminal file.
In the scheme provided by the embodiment of the invention, the terminal can acquire the target network connection unit file of the network connection unit, so that the file acquisition requirement of the terminal is met; the terminal can also send the target terminal file to the network connection unit so as to meet the file sending requirement of the terminal, so that the scheme provided by the embodiment of the invention can meet the file transmission requirement of the terminal.
And the terminal can obtain the file information of the network connection unit file stored in the network connection unit, so that the user can select a required target network connection unit file based on the file information, and the user can control the terminal to obtain the designated target network connection unit file by inputting a file obtaining instruction to the terminal. In addition, the user can also control the terminal to send the designated target terminal file to the network connection unit by inputting a file sending instruction to the terminal. That is, according to the scheme provided by the embodiment of the invention, the file transmission between the terminal and the network connection unit can be realized according to the requirement of the user, so as to meet the specific file transmission requirement of the user.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the invention, and other embodiments may be obtained according to these drawings to those skilled in the art.
FIG. 1 is a flow chart of a file transfer method in the prior art;
fig. 2 is a schematic structural diagram of a first file transfer system according to an embodiment of the present invention;
fig. 3 is a flowchart of a first file transfer method according to an embodiment of the present invention;
Fig. 4 is a flowchart of a second file transfer method according to an embodiment of the present invention;
fig. 5 is a flowchart of a third file transfer method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a second file transfer system according to an embodiment of the present invention;
fig. 7 is a flow chart of a file information transmission method according to an embodiment of the present invention;
Fig. 8 is a flowchart of a fourth file transfer method according to an embodiment of the present invention;
Fig. 9 is a flowchart of a fifth file transfer method according to an embodiment of the present invention;
Fig. 10 is a flowchart of a sixth file transfer method according to an embodiment of the present invention;
FIG. 11 is a flowchart illustrating a seventh file transfer method according to an embodiment of the present invention;
Fig. 12 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of a server according to an embodiment of the present invention;
Fig. 14 is a schematic structural diagram of an internet connection unit according to an embodiment of the present invention;
fig. 15 is a schematic structural diagram of a first file transfer device according to an embodiment of the present invention;
Fig. 16 is a schematic structural diagram of a second file transfer device according to an embodiment of the present invention;
Fig. 17 is a schematic structural diagram of a third file transfer device according to an embodiment of the present invention;
fig. 18 is a schematic structural diagram of a fourth file transfer device according to an embodiment of the present invention;
Fig. 19 is a schematic structural diagram of a fifth file transferring apparatus according to an embodiment of the present invention;
fig. 20 is a schematic structural diagram of a sixth file transferring apparatus according to an embodiment of the present invention;
fig. 21 is a schematic structural diagram of a seventh file transferring apparatus according to an embodiment of the present invention;
fig. 22 is a schematic structural diagram of an eighth file transferring apparatus according to an embodiment of the present invention;
fig. 23 is a schematic structural diagram of a ninth file transfer device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. Based on the embodiments of the present application, all other embodiments obtained by the person skilled in the art based on the present application are included in the scope of protection of the present application.
In the prior art, users typically upload and download files through FTP (FILE TRANSFER Protocol) or OSS (Object Storage Service ) technologies. The existing scheme for users to remotely acquire and send networking unit files using a terminal based on FTP protocol or OSS technology is shown in fig. 1.
Referring to fig. 1, a flow chart of a file transfer method in the prior art is shown, and the method includes the following steps S101-S108.
Step S101, uploading the specified file by the network connection unit periodically.
Specifically, the network connection unit periodically uploads the agreed network connection unit file to the server.
Step S102, the server stores the network connection unit file.
Specifically, the server stores the received network connection unit file, and after receiving a download request for the network connection unit file sent by the terminal, the server sends the stored network connection unit file to the terminal.
Step S103, the terminal retrieves the server.
Specifically, the terminal determines the network connection unit file to be downloaded by accessing the network connection unit file information stored in the server.
In step S104, the server provides a list of files that the device is operable to.
Specifically, the server may display the network connection unit file information stored in the server according to a directory form and form a corresponding directory file, so that the terminal accesses the network connection unit file information.
Step S105, the terminal downloads the corresponding file.
Specifically, after the terminal determines the network connection unit file to be downloaded through the access server, the network connection unit file is downloaded.
And S106, uploading the networking unit file by the terminal.
Specifically, the terminal uploads the specific file to the server according to the preset program.
In step S107, the server temporarily stores the file and notifies the network connection unit to download.
Specifically, the server stores the specific file uploaded by the terminal, so as to be used for sending the specific file to the network connection unit later.
Step S108, the networking unit downloads the file and replaces the file.
Specifically, after receiving the download instruction sent by the server, the network connection unit downloads the specific file, and uses the specific file to directly cover and replace the stored file with the same name as the specific file.
In the existing file transmission scheme provided by the embodiment shown in fig. 1, since the network connection unit cannot predict the file required by the terminal, only the preset appointed file can be uploaded to the server, the user can only download the appointed file by using the terminal, so that the selectivity and flexibility of the process of acquiring the file by the terminal are poor, the appointed file uploaded by the network connection unit is not necessarily the file actually required by the terminal, namely, the network connection unit uploads the file of which part cannot be acquired by the terminal, so that the waste of file transmission resources and bandwidth of the network connection unit and the waste of storage resources of the server are caused; similarly, the user can only upload specific files according to the preset program using the terminal, so the selectivity and flexibility of the existing file transmission scheme are poor.
In order to solve the above problems, embodiments of the present invention provide a file transmission system, a method, a terminal, a server, a network connection unit, and an apparatus, which are specifically described below.
First, a file transfer system provided by an embodiment of the present invention will be described.
Fig. 2 is a schematic structural diagram of a first file transfer system according to an embodiment of the present invention, where the system includes a terminal 201, a server 202, and a network connection unit 203. Wherein the server 202 is in communication connection with the terminal 201, and the server 202 is in communication connection with the network connection unit 203.
Specifically, the network connection unit 203 may be a mobile phone, a tablet computer, a computer, or other devices. The terminal 201 and the networking unit 203 may each transmit a file to the server 202 or acquire a file from the server 202. The above-mentioned terminal 201 and the network connection unit 203 may be in a public network environment or a local area network environment, which is not limited in the embodiment of the present invention, but if the terminal 201 and the network connection unit 203 are in the same local area network, the security of file transmission may be improved.
Fig. 3 is a flowchart of a first file transfer method according to an embodiment of the present invention, where the method includes the following steps S301 to S308.
In step S301, the networking unit 203 transmits the latest file information of the networking unit file stored in itself to the server 202.
Specifically, the file information may be related information such as a file directory, a file feature code, or file generation time and modification time, which can indicate the identity of the file, and the file information may be stored in a table in a list form.
Specifically, when the network connection unit 203 and the server 202 are in a communication connection state in which file exchange is possible for the first time, the network connection unit 203 transmits the file information to the server 202. Then, the network connection unit 203 detects the network connection unit file stored by itself at intervals of a preset detection period, and when detecting that the network connection unit file changes, sends new file information corresponding to the changed network connection unit to the server 202. The preset detection period may be 2 minutes, 5 minutes, 10 minutes, or the like, and may be set according to actual needs, which is not limited in the embodiment of the present invention.
In step S302, the server 202 stores the file information.
Specifically, the server may store the above file information in the form of a table or in a database.
In step S303, the server 202 transmits the file information to the terminal 201.
Since the file information may be related information indicating the identity of the file, such as a file directory, a file feature code, or a file generation time and a modification time, the file information may be displayed on a display of the terminal 201 after the terminal obtains the file information, and a user may determine a target network association unit file to be obtained at the terminal 201 based on the file information.
In one embodiment of the present invention, the terminal 201 may display the file information in a browser.
In step S304, the terminal 201, after receiving a file acquisition instruction for a target network connection unit file, which is input by the user based on the file information, transmits a file acquisition request for acquiring the target network connection unit file to the server 202.
Specifically, since the file information is not the file information of a specific type of file agreed according to a certain rule, it may be the file information of all the network connection unit files stored in the network connection unit 203. Therefore, the user has a great selectivity in retrieving the file information at the terminal 201, so that a file acquisition instruction for the target network connection unit file can be input at the terminal 201 as needed.
Specifically, after receiving the file acquisition instruction, the terminal 201 generates the file acquisition request based on the file acquisition instruction, where the file acquisition request may include information capable of determining the identity of the target network connection unit file, such as a file name, a file feature code, or a file generation/modification time of the target network connection unit file. Then, the terminal 201 transmits the file acquisition request to the server 202 to acquire the target network connection unit file.
In step S305, the server 202 transmits the target network connection unit file to the terminal 201 after receiving the file acquisition request.
Since the file acquisition request includes information capable of determining the identity of the target network connection unit file, the server 202 can determine the target network connection unit file to be transmitted to the terminal 201 after receiving the file acquisition request. After obtaining the target network connection unit file based on the file acquisition request, the server 202 transmits the target network connection unit file to the terminal 201 so that the user acquires the target network connection unit file at the terminal 201.
In step S306, the terminal 201, upon receiving a file transmission instruction input by the user indicating that the target terminal file is to be transmitted to the internet connection unit 203, transmits a file transmission request for the target terminal file to the server 202.
Specifically, the target terminal file is not a specific type of file agreed according to a certain rule, but may be any type of terminal file determined by the user at the terminal 201 as needed. The terminal 201 generates the file transmission request based on the file transmission instruction, and transmits the file transmission request to the server 202 to transmit the target terminal file, so that the internet connection unit 203 finally receives the target terminal file.
In step S307, the server 202 transmits the target terminal file to the network connection unit 203 after receiving the file transmission request.
Specifically, the server 202 may obtain the target terminal file based on the file transmission request, and transmit the obtained target terminal file to the networking unit 203.
In step S308, the networking unit 203 receives the target terminal file.
Specifically, the networking unit 203 stores the target terminal file in the networking unit 203 after receiving the target terminal file. Thus, the user is finished transmitting the target terminal file to the networking unit 203 through the terminal 201.
In the scheme provided by the embodiment of the invention, the terminal can acquire the target network connection unit file of the network connection unit, so that the file acquisition requirement of the terminal is met; the terminal can also send the target terminal file to the network connection unit so as to meet the file sending requirement of the terminal, so that the scheme provided by the embodiment of the invention can meet the file transmission requirement of the terminal.
And the terminal can obtain the file information of the network connection unit file stored in the network connection unit, so that the user can select a required target network connection unit file based on the file information, and the user can control the terminal to obtain the designated target network connection unit file by inputting a file obtaining instruction to the terminal. In addition, the user can also control the terminal to send the designated target terminal file to the network connection unit by inputting a file sending instruction to the terminal. That is, according to the scheme provided by the embodiment of the invention, the file transmission between the terminal and the network connection unit can be realized according to the requirement of the user, so as to meet the specific file transmission requirement of the user.
In one embodiment of the present invention, after the step S308, the following steps A1-A4 are further included.
Step A1: after receiving the target terminal file, the networking unit 203 stores the target terminal file in a preset temporary directory.
Step A2: the networking unit 203 detects whether a file with the same name as the file of the target terminal exists in a preset target directory.
Specifically, the networking unit 203 determines whether the target terminal file exists in the target directory by comparing file names.
Step A3: if not, the networking unit 203 stores the target terminal file in the target directory.
Specifically, if the networking unit 203 does not detect the homologous file in the target directory, it considers that the target terminal file does not exist in the target directory, and at this time, the target terminal file may be directly moved from the temporary directory to the target directory.
Step A4: if so, the networking unit 203 updates the same name file to the target terminal file when the same name file is not used.
Specifically, if the networking unit 203 detects the same-name file in the target directory, the use state of the same-name file needs to be considered when moving the target terminal file from the temporary directory to the target directory. When the same-name file is in an unused state, normal use of the same-name file is not affected by updating the same-name file, and if the same-name file is in a use state, the same-name file can be updated after the same-name file is used, which can be called as an intelligent merging file, so that the influence on the behavior of using the same-name file can be avoided.
In one embodiment of the present invention, the networking unit 203 may move the target terminal file from the temporary directory to the target directory when the same-name file is not used, and replace the same-name file with the target terminal file.
In another embodiment of the present invention, the above step A4 may be implemented by the following step A4 a.
Step A4a: if so, the networking unit 203 updates the content of the same name file to the content of the target terminal file when the same name file is not used.
Specifically, after the internet connection unit 203 updates the content of the same name file to the content of the target terminal file, the same name file is replaced, and only the target terminal file is stored in the internet connection unit 203.
From the above, the network connection unit stores the target terminal file by adopting the scheme provided by the embodiment of the invention, and the network connection unit stores the target terminal file in the temporary directory instead of directly storing the target terminal file in the target directory after acquiring the target terminal file, so that the interference of writing the same-name file in the target directory to the use state of the same-name file when the same-name file in the target directory is being used can be avoided.
In yet another embodiment of the present invention, the following steps B1-B5 are further included before the step S301.
In step B1, the terminal 201 transmits the device information of the networking unit 203 to the server 202.
Specifically, the device information may include information such as a device name, a MAC (MEDIA ACCESS Control Address) Address, and an operating system version of the network unit 203. The device information has unique correspondence with the network connection unit 203.
In step B2, the server 202 transmits initialization data of the networking unit 203 to the terminal 201 based on the device information of the networking unit 203.
The initialization data of the networking unit 203 includes: authentication information for performing security authentication with the server 202.
Specifically, the server 202 may generate the initialization data uniquely corresponding to the networking unit 203 based on the device information. The initialization data may include CA (Certification Authority, certificate authority) certificates, networking unit certificate private keys, initialization configuration parameter files, and the like.
And step B3, the terminal 201 transmits initialization data of the networking unit 203 to the networking unit 203 based on the network connection with the networking unit 203.
Specifically, the terminal 201 deploys the initialization data to the network connection unit 203 through a secure path preset between the terminal 201 and the network connection unit 203, for example, if the terminal 201 and the network connection unit 203 are in the same lan, the terminal 201 may deploy the initialization data to the network connection unit 203 through the lan.
In step B4, the networking unit 203 sends a security authentication request to the server 202 based on the authentication information in the initialization data.
Specifically, the security authentication request corresponds to the initialization data and has unique correspondence with the network connection unit 203.
In step B5, the server 202 performs security authentication on the internet connection unit 203 in response to the security authentication request.
Specifically, after the server 202 completes the security authentication on the network connection unit 203 based on the security authentication request, it may be determined that a secure network communication connection is established between the server 202 and the network connection unit 203, and data may be transmitted between the two without risk.
On the basis of the embodiment of the invention shown in fig. 3, the embodiment of the invention provides the embodiment shown in fig. 4.
Referring to fig. 4, a flowchart of a second file transfer method according to an embodiment of the present invention is shown, and compared with the embodiment shown in fig. 3, the above step S305 may be implemented by the following steps S305A-S305F.
In step S305A, the server 202 detects whether the target network connection unit file is stored after receiving the file acquisition request.
Specifically, since the file acquisition request includes information capable of determining the identity of the target network connection unit file, the server 202 may determine, based on the file acquisition request, the target network connection unit file that needs to be sent to the terminal 201. Then, the server 202 detects whether the target network connection unit file is stored in its own storage. Since the speed of accessing the self-cache is faster than that of accessing other storage areas (such as hard disk) when the server searches for the file, in order to improve the efficiency of the server 202 in detecting the target network connection unit file, the server 202 may preferably detect whether the self-cache stores the target network connection unit file.
Based on the detection result, if the server 202 detects that the target networking unit file is stored, step S305B is executed; if the server 202 detects that the target networking unit file is not stored, step S305C is executed.
In step S305B, if the target network connection unit file is stored, the server 202 transmits the stored target network connection unit file to the terminal 201.
Specifically, after the server 202 detects that the target network connection unit file is stored in itself, the stored target network connection unit file is sent to the terminal 201, so that the operation of the user to obtain the target network connection unit file through the terminal 201 is completed.
In step S305C, if the target network connection unit file is not stored, the server 202 transmits a unit file report request for the target network connection unit file to the network connection unit 203.
Specifically, the unit file reporting request includes information capable of determining the identity of the target network connection unit file. When the server 202 detects that the target network connection unit file is not stored in itself, in order to transmit the target network connection unit file to the terminal 201, it is necessary to transmit the unit file report request to the network connection unit 203 so that the network connection unit 203 transmits the target network connection unit file to the server 202.
In step S305D, the networking unit 203 sends the target networking unit file to the server 202 after receiving the unit file report request.
Specifically, the online unit 203 determines, based on the identity information of the target online unit file included in the unit file report request, a unit file to be sent to the server 202, and then sends the unit file to the server 202, so that the server 202 obtains the target online unit file.
In step S305E, the server 202 receives the target network connection unit file transmitted by the network connection unit 203, and then stores the target network connection unit file.
Specifically, the server 202 stores the received target network connection unit file, and may directly send the target network connection unit file to the terminal 201 after receiving a file acquisition request including identity information of the target network connection unit file, so as to improve efficiency of the terminal 201 acquiring the target network connection unit file.
In step S305F, the server 202 forwards the target network connection unit file to the terminal 201.
Specifically, the server 202 forwards the received target network connection unit file sent by the network connection unit 203 to the terminal 201, so that the terminal 201 obtains the target network connection unit file.
As can be seen from the above, in the solution provided in the embodiment of the present invention, after receiving a file acquisition request sent by a terminal, a server detects whether a target network connection unit file corresponding to the file acquisition request is stored in itself, if it detects that the target network connection unit file is stored in itself, then sends the stored target network connection unit file to the terminal, otherwise sends a unit file report request for the target network connection unit file to the network connection unit. And after the network connection unit responds to the unit file reporting request and sends the target network connection unit file to the server, the server sends the target network connection unit file to the terminal. That is, only when the server detects that the target network connection unit file to be acquired by the terminal is not stored, the network connection unit is triggered to upload the unit file to the server, so that the network bandwidth is saved, and the network connection unit and the server flow are saved.
On the basis of the embodiment of the invention shown in fig. 3, the embodiment of the invention provides the embodiment shown in fig. 5.
Referring to fig. 5, a flow chart of a third file transfer method according to an embodiment of the present invention is shown, and compared with the embodiment shown in fig. 3, the above step S307 may be implemented by the following steps S307A-S307F.
In step S307A, the server 202, upon receiving the file transmission request, detects whether or not the target terminal file has been stored.
Specifically, the server 202 determines the target terminal file to be detected based on the target terminal file identity information included in the file transmission request. The server 202 may preferentially detect whether the target terminal file is stored in its own cache, which is advantageous for quickly completing the detection process. If the server 202 detects that the target terminal file is stored, step S307B is executed; if the server 202 detects that the target terminal file is not stored, step S307C is executed.
In step S307B, if the target terminal file is stored, the server 202 transmits the stored target terminal file to the internet connection unit 203.
Specifically, after the server 202 detects that the target terminal file is stored in itself, the stored target terminal file is transmitted to the networking unit 203, and thus the user's operation of transmitting the target terminal file to the networking unit 203 through the terminal 201 is completed.
In step S307C, if the target terminal file is not stored, the server 202 transmits a terminal file report request for the target terminal file to the terminal 201.
Specifically, the terminal file reporting request includes information capable of determining the identity of the target terminal file. When the server 202 detects that the target terminal file is not stored in itself, in order to transmit the target terminal file to the internet connection unit 203, it is necessary to transmit the terminal file report request to the terminal 201 so that the terminal 201 transmits the target terminal file to the server 202.
In step S307D, the terminal 201, upon receiving the terminal file report request, transmits the target terminal file to the server 202.
Specifically, the terminal 201 determines a terminal file to be transmitted to the server 202 based on the identity information of the target terminal file included in the terminal file report request, and then transmits the terminal file to the server 202, so that the server 202 obtains the target terminal file.
In step S307E, the server 202 receives the target terminal file transmitted from the terminal 201, and then stores the target terminal file.
Specifically, the server 202 stores the received target terminal file, and may directly send the target terminal file to the internet connection unit 203 after receiving a file sending request including the identity information of the target terminal file, so as to improve the efficiency of the terminal 201 sending the target terminal file to the internet connection unit 203.
In step S307F, the server 202 forwards the target terminal file to the networking unit 203.
Specifically, the server 202 forwards the received target terminal file sent by the terminal 201 to the networking unit 203, so that the networking unit 203 obtains the target terminal file.
In one embodiment of the present invention, the above step S306 may be implemented by the following step C.
Step C: the terminal 201, upon receiving a file transmission instruction from a user to transmit a target terminal file to the internet connection unit 203, transmits a file transmission request including a target file feature code of the target terminal file to the server 202.
Specifically, since each file has a unique corresponding file feature code, the target file feature code can uniquely identify the target terminal file.
The above step S307A may be implemented by the following step D.
Step D: after receiving the file sending request, the server 202 detects whether a file with a file feature code being the target file feature code exists in the stored files, and if so, determines that the target terminal file is stored in the server 202; if not, it is determined that the target terminal file is not stored in the server 202.
Specifically, the server 202 only needs to detect whether the file feature code of the stored file is the same as the target file feature code, so as to determine whether the target terminal file is stored in the server itself, so that the server can complete the detection of the target terminal file based on the target file feature code.
In the above-mentioned scheme provided by the embodiment of the invention, when the user uses the terminal to send the target terminal file to the network connection unit, the target terminal file is not directly sent to the server. After receiving a file sending request sent by a terminal, the server firstly detects whether a target terminal file corresponding to the file sending request is stored in the server, if the target terminal file is detected to be stored in the server, the server sends the stored target terminal file to the internet connection unit, otherwise, a terminal file reporting request aiming at the target terminal file is sent to the terminal. After the terminal sends the target terminal file to the server in response to the terminal file reporting request, the server sends the target terminal file to the internet connection unit. That is, only when the server detects that the target terminal file which the terminal wants to send is not stored in the server, the terminal can send the target terminal file to the server, so that the terminal is prevented from repeatedly sending the file stored in the server, the bandwidth of the server is saved, and the traffic of the terminal and the server is saved.
Referring to fig. 6, a schematic structural diagram of a second file transfer system according to an embodiment of the present invention is provided. In fig. 6, the first service server 601, the second service server 602 and the third service server 603 are all communicatively connected to the gateway server 604, the gateway server 604 is further communicatively connected to the firewall 605, the firewall 605 is communicatively connected to the remote operation user 607, the fourth accessed device 608 and the second router 609 through the first router 606, and the first accessed device 610, the second accessed device 611 and the third accessed device 612 are communicatively connected to the second router 609, respectively.
Specifically, the first service server 601, the second service server 602, and the third service server 603 refer to the servers described above, the remote operation user 607 refers to the terminals described above, and the fourth accessed device 608, the first accessed device 610, the second accessed device 611, and the third accessed device 612 refer to the networking units described above.
Specifically, the above-mentioned access manner of the communication connection may be a transmission communication medium such as 4G (the 4th generation mobile communication technology, fourth generation mobile communication technology)/5G (the 5th Generation Mobile Communication Technology, fifth generation mobile communication technology), optical fiber, etc.
Referring to fig. 7, a flowchart of a file information transmission method according to an embodiment of the present invention is provided, and the method includes the following steps S701-S712.
In step S701, the terminal registers a new user.
Specifically, the user uses the terminal to send a new user account registration request to the server.
In step S702, the server verifies the user information through authentication methods such as short message verification codes and biometric identification.
Specifically, after receiving the new user account registration request, the server may notify the terminal to set a user name, or may automatically allocate the user name to the terminal according to a preset program. Then, the user can input the short message verification code at the terminal by sending the short message verification code to the terminal, so that the user information is verified; the user information can also be verified by initiating a biometric authentication mode such as a face recognition request to the terminal.
In step S703, the server creates an account for the user.
Specifically, after the user information is verified, the server creates an account for the user, and the user can log in the account at the terminal to access the server.
In step S704, the terminal registers the network connection unit information to the server.
Specifically, the terminal stores network connection unit information such as a device name, a MAC address, and an operating system version of a network connection unit to which the user wants to transfer a file, in advance, and the network connection unit information has unique correspondence with the network connection unit.
Step S705, the server records network connection unit information, issues certificates and issues CA related information.
Specifically, the server generates initialization data uniquely corresponding to the networking unit based on the networking unit information, where the initialization data includes related information such as a certificate, a CA, and the like.
In step S706, the terminal views the related information of the network connection unit through the network connection unit list.
Specifically, the user determines the networking unit with which file transfer is desired by looking at the above-described list of networking units at the terminal.
In step S707, the terminal embeds the initialization data issued by the server in the networking unit.
Specifically, the terminal deploys the initialization data to the networking unit through a secure path preset between the terminal and the networking unit.
In step S708, the network connection unit accesses the server by initializing data.
Specifically, the network connection unit generates a corresponding security authentication request based on the initialization data, and sends the security authentication request to the server.
Step S709, the network connection unit authenticates the server.
Specifically, after the server responds to the security authentication request, the network connection unit completes the security authentication with the server, and the network connection unit and the server can mutually transmit data without risk.
In step S710, the networking unit uploads the working area file information.
Specifically, the working area file directory refers to the file information of the network connection unit file, that is, the network connection unit sends the file information of the network connection unit file stored by itself to the server.
In step S711, the server records the work area file information.
Specifically, the working area file information refers to the file information of the network connection unit file, and the server records the file information of the network connection unit file, so that a user can browse the file information of the network connection unit file through the terminal.
Step S712, the terminal browses the network connection unit working area file list.
Specifically, the work area file list refers to a list in which file information of the aforementioned network connection unit file is recorded. Because the file information of the network connection unit file is recorded in the server, a user can browse the file information of the network connection unit file through the working area file list after accessing the server through the terminal, so that the network connection unit file to be acquired is determined.
As can be seen from the above, in the file transmission method provided in the embodiment shown in fig. 7, the server completes the registration of the new user account through the authentication of the terminal, and the server enables the network connection unit to access the server through the authentication with the network connection unit and can perform the mutual transmission of data without risk. Because the short message verification code and the biological identification used in the authentication process have unique correspondence with the terminal, and the used initialization data have unique correspondence with the network connection unit, the security of the file transmission system can be ensured after the authentication is finished.
Referring to fig. 8, a flowchart of a fourth file transfer method according to an embodiment of the present invention is shown, and the method includes the following steps S801 to S820.
In step S801, the internet connection unit retrieves file information.
Step S802, the network connection unit reports to the server.
In step S803, the network connection unit detects a change in file information in the work directory.
In step S804, the server stores the file information reported by the network connection unit.
In step S805, the terminal retrieves file information of the networking unit.
In step S806, the server represents the file information in the form of a list of files in the network connection unit working area.
In step S807, the terminal switches the directory and browses the file information through the work area file list.
In step S808, the terminal reports a file acquisition request for downloading the target network connection unit file to the server.
In step S809, the server detects the target network connection unit file in the cache.
In step S810, the server determines whether the target network connection unit file exists.
Specifically, if the server detects the target network connection unit file in the cache, determining that the target network connection unit file exists, otherwise, determining that the target network connection unit file does not exist.
If not, steps S811-S812 are performed, otherwise step S813 is performed.
In step S811, the networking unit uploads the target networking unit file to the server.
In step S812, the server stores the target network connection unit file in the temporary directory and responds to the terminal.
Step S813, the terminal obtains the target network connection unit file.
In step S814, the terminal uploads a file transmission instruction for the target terminal file to the server.
In step S815, the server detects whether the target terminal file exists in the cache through the file feature code.
In step S816, the server determines whether the target terminal file exists.
If so, step S818 is performed, and if not, step S817 is performed.
In step S817, the terminal uploads the target terminal file to the specified directory.
In step S818, the server notifies the network connection unit to download the target terminal file.
And step S819, the network connection unit downloads the target terminal file and stores the target terminal file into the temporary directory.
Step S820, the network connection unit intelligently merges the target terminal files.
Specifically, the steps S801 to S820 are similar to the embodiments of the file transfer system described above, and will not be described herein.
From the above, the file transmission method provided by the embodiment shown in fig. 8 can realize the file transmission between the terminal and the network connection unit according to the requirement of the user, so as to meet the specific file transmission requirement of the user. And the network connection unit does not need to periodically upload the network connection unit file to the server. After receiving a file acquisition request sent by a terminal, a server firstly detects whether a target network connection unit file corresponding to the file acquisition request is stored or not, if the target network connection unit file is detected to be stored, the stored target network connection unit file is sent to the terminal, otherwise, a unit file reporting request aiming at the target network connection unit file is sent to the network connection unit. And after the network connection unit responds to the unit file reporting request and sends the target network connection unit file to the server, the server sends the target network connection unit file to the terminal. That is, only when the server detects that the target network connection unit file to be acquired by the terminal is not stored, the network connection unit is triggered to upload the unit file to the server, so that the network bandwidth is saved, and the network connection unit and the server flow are saved.
In addition, when the user uses the terminal to send the target terminal file to the network connection unit, the target terminal file is not directly sent to the server first. After receiving a file sending request sent by a terminal, the server firstly detects whether a target terminal file corresponding to the file sending request is stored in the server, if the target terminal file is detected to be stored in the server, the server sends the stored target terminal file to the internet connection unit, otherwise, a terminal file reporting request aiming at the target terminal file is sent to the terminal. After the terminal sends the target terminal file to the server in response to the terminal file reporting request, the server sends the target terminal file to the internet connection unit. That is, only when the server detects that the target terminal file which the terminal wants to send is not stored in the server, the terminal can send the target terminal file to the server, so that the terminal is prevented from repeatedly sending the file stored in the server, the bandwidth of the server is saved, and the traffic of the terminal and the server is saved.
Based on the same inventive concept, the embodiment of the invention also provides a file transmission method corresponding to the file transmission system.
Referring to fig. 9, a flowchart of a fifth file transfer method according to an embodiment of the present invention is provided, where the method is applied to a terminal, and the method includes the following steps S901 to S904.
Step S901: and receiving the latest file information of the network connection unit file stored in the network connection unit sent by the server.
Step S902: and after receiving a file acquisition instruction which is input by a user based on the file information and aims at the target network connection unit file, sending a file acquisition request for acquiring the target network connection unit file to the server.
Step S903: and receiving the target Internet connection unit file sent by the server in response to the file acquisition request.
Step S904: and after receiving a file sending instruction which is input by a user and indicates that a target terminal file is sent to the internet connection unit, sending a file sending request aiming at the target terminal file to the server, so that the server sends the target terminal file to the internet connection unit after receiving the file sending request.
In the scheme provided by the embodiment of the invention, the terminal can acquire the target network connection unit file of the network connection unit, so that the file acquisition requirement of the terminal is met; the terminal can also send the target terminal file to the network connection unit so as to meet the file sending requirement of the terminal, so that the scheme provided by the embodiment of the invention can meet the file transmission requirement of the terminal.
And the terminal can obtain the file information of the network connection unit file stored in the network connection unit, so that the user can select a required target network connection unit file based on the file information, and the user can control the terminal to obtain the designated target network connection unit file by inputting a file obtaining instruction to the terminal. In addition, the user can also control the terminal to send the designated target terminal file to the network connection unit by inputting a file sending instruction to the terminal. That is, according to the scheme provided by the embodiment of the invention, the file transmission between the terminal and the network connection unit can be realized according to the requirement of the user, so as to meet the specific file transmission requirement of the user.
In one embodiment of the present invention, the following step E is further included after step S904.
Step E: and after receiving a terminal file reporting request for the target terminal file sent by the server, sending the target terminal file to the server so that the server sends the target terminal file to the internet connection unit.
The terminal file reporting request is as follows: the server transmits to the terminal when detecting that the target terminal file is not stored in the server itself.
As can be seen from the above, in the solution provided in the embodiment of the present invention, the terminal sends the target terminal file to the server only after receiving the terminal file reporting request for the target terminal file sent by the server, thereby avoiding the terminal from repeatedly sending the target terminal file stored by the server, saving the bandwidth of the server, and saving the traffic of the terminal and the server.
In one embodiment of the present invention, step S904 may be implemented by the following step F, on the basis of further including step E after step S904.
Step F: and after receiving a file sending instruction which is input by a user and indicates that a target terminal file is sent to the internet connection unit, sending a file sending request containing a target file feature code of the target terminal file to the server, so that the server judges whether the target terminal file is stored or not based on the target file feature code, and sends a terminal file reporting request to the terminal when the target terminal file is not stored.
In view of the above, in the solution provided by the embodiment of the present invention, since each file has a unique corresponding file feature code, the target file feature code can uniquely determine the target terminal file, so that the server can complete detection of the target terminal file based on the target file feature code.
In one embodiment of the present invention, the following steps G1-G3 are further included before step S901.
Step G1: and sending the equipment information of the network connection unit to the server.
Step G2: and receiving initialization data of the networking unit, which is transmitted by the server and is transmitted in response to the equipment information.
The initialization data of the networking unit comprises: authentication information for performing security authentication with the server.
Step G3: and transmitting initialization data of the network connection unit to the network connection unit based on network connection with the network connection unit, so that the network connection unit performs security authentication with the server based on the initialization data.
As can be seen from the above, in the scheme provided by the embodiment of the present invention, after obtaining the initialization data of the network connection unit corresponding to the device information of the network connection unit, the terminal sends the initialization data of the network connection unit to the network connection unit, so that the network connection unit performs security authentication with the server based on the initialization data, thereby ensuring that the network connection unit and the server can perform data transmission with each other without risk.
Referring to fig. 10, a flowchart of a sixth file transfer method according to an embodiment of the present invention is provided, and the method is applied to a server, and the method includes the following steps S1001 to S1004.
Step S1001: and receiving the latest file information of the network connection unit file sent by the network connection unit.
Step S1002: and storing and transmitting the file information to the terminal.
Step S1003: and after receiving a file acquisition request sent by the terminal based on the file information and used for acquiring the target network connection unit file, sending the target network connection unit file to the terminal.
Step S1004: and after receiving a file sending request sent by the terminal and used for sending a target terminal file, sending the target terminal file to the network connection unit.
In the scheme provided by the embodiment of the invention, the terminal can acquire the target network connection unit file of the network connection unit, so that the file acquisition requirement of the terminal is met; the terminal can also send the target terminal file to the network connection unit so as to meet the file sending requirement of the terminal, so that the scheme provided by the embodiment of the invention can meet the file transmission requirement of the terminal.
And the terminal can obtain the file information of the network connection unit file stored in the network connection unit, so that a user can select a required target network connection unit file based on the file information, and the terminal is controlled to obtain the designated target network connection unit file. In addition, the user can control the terminal to send the designated target terminal file to the network connection unit. That is, according to the scheme provided by the embodiment of the invention, the file transmission between the terminal and the network connection unit can be realized according to the requirement of the user, so as to meet the specific file transmission requirement of the user.
In one embodiment of the present invention, step S1003 may be implemented by the following steps H1-H4.
Step H1: and after receiving a file acquisition request sent by the terminal based on the file information and used for acquiring the target network connection unit file, detecting whether the target network connection unit file is stored or not.
Step H2: and if the target network connection unit file is stored, sending the stored target network connection unit file to the terminal.
Step H3: and if the target network connection unit file is not stored, sending a unit file reporting request aiming at the target network connection unit file to the network connection unit so that the network connection unit sends the target network connection unit file to the server based on the unit file reporting request.
Step H4: and after receiving the target network connection unit file sent by the network connection unit, storing and forwarding the target network connection unit file to the terminal.
As can be seen from the above, in the solution provided in the embodiment of the present invention, after receiving a file acquisition request sent by a terminal, a server detects whether a target network connection unit file corresponding to the file acquisition request is stored in itself, if it detects that the target network connection unit file is stored in itself, then sends the stored target network connection unit file to the terminal, otherwise sends a unit file report request for the target network connection unit file to the network connection unit. And after the network connection unit responds to the unit file reporting request and sends the target network connection unit file to the server, the server sends the target network connection unit file to the terminal. That is, only when the server detects that the target network connection unit file to be acquired by the terminal is not stored, the network connection unit is triggered to upload the unit file to the server, so that the network bandwidth is saved, and the network connection unit and the server flow are saved.
In one embodiment of the present invention, step S1004 may be implemented by the following steps I1-I4.
Step I1: after receiving a file transmission request for transmitting a target terminal file transmitted by the terminal, detecting whether the target terminal file is stored.
Step I2: and if the target terminal file is stored, transmitting the stored target terminal file to the network connection unit.
Step I3: and if the target terminal file is not stored, sending a terminal file report request aiming at the target terminal file to the terminal so that the terminal sends the target terminal file to the server based on the terminal file report request.
Step I4: and after receiving the target terminal file sent by the terminal, storing and forwarding the target terminal file to the network connection unit.
In the above-mentioned scheme provided by the embodiment of the invention, when the user uses the terminal to send the target terminal file to the network connection unit, the target terminal file is not directly sent to the server. After receiving a file sending request sent by a terminal, the server firstly detects whether a target terminal file corresponding to the file sending request is stored in the server, if the target terminal file is detected to be stored in the server, the server sends the stored target terminal file to the internet connection unit, otherwise, a terminal file reporting request aiming at the target terminal file is sent to the terminal. After the terminal sends the target terminal file to the server in response to the terminal file reporting request, the server sends the target terminal file to the internet connection unit. That is, only when the server detects that the target terminal file which the terminal wants to send is not stored in the server, the terminal can send the target terminal file to the server, so that the terminal is prevented from repeatedly sending the file stored in the server, the bandwidth of the server is saved, and the traffic of the terminal and the server is saved.
In one embodiment of the present invention, step I1 may be implemented by the following steps I1a-I1 c.
Step I1a: and after receiving a file sending request containing the target file feature code of the target terminal file, detecting whether a file with the file feature code being the target file feature code exists in the stored files.
Step I1b: if so, determining that the target terminal file is stored in the server.
Step I1c: if the target terminal file does not exist, the target terminal file is determined not to be stored in the server.
In the above-mentioned scheme provided by the embodiment of the invention, the server can determine whether the target terminal file is stored or not only by detecting whether the file feature code of the stored file is the same as the target file feature code, so that the server can complete the detection of the target terminal file based on the target file feature code.
In one embodiment of the present invention, the following steps J1-J3 are further included before step S1001.
Step J1: and receiving the equipment information of the networking unit sent by the terminal.
Step J2: and transmitting initialization data of the networking unit to the terminal based on the equipment information of the networking unit, so that the terminal transmits the initialization data to the networking unit, and the networking unit performs security authentication based on the initialization data.
The initialization data of the networking unit comprises: authentication information for performing security authentication with the server.
Step J3: and after receiving a security authentication request generated based on the initialization data and sent by the network connection unit, responding to the security authentication request and performing security authentication on the network connection unit.
In the scheme provided by the embodiment of the invention, the server and the network connection unit perform security authentication, so that the network connection unit and the server can be ensured to perform data transmission without risk.
Referring to fig. 11, a flowchart of a seventh file transfer method according to an embodiment of the present invention is provided, and the method is applied to an internet connection unit, and the method includes the following steps S1101-S1102.
Step S1101: and sending the latest file information of the network connection unit file stored by the server to the server so that the server stores and sends the file information to the terminal, and sending a file acquisition request for acquiring the target network connection unit file to the server after receiving a file acquisition instruction which is input by a user based on the file information and is specific to the target network connection unit file by the terminal so that the server sends the target network connection unit file to the terminal.
Step S1102: and receiving the target terminal file.
The target terminal file is: the server sends a file sending request to the network connection unit after receiving the file sending request sent by the terminal, wherein the file sending request is: and the terminal sends the target terminal file to the server after receiving a file sending instruction which is input by a user and indicates that the target terminal file is sent to the internet connection unit.
In the scheme provided by the embodiment of the invention, the terminal can acquire the target network connection unit file of the network connection unit, so that the file acquisition requirement of the terminal is met; the terminal can also send the target terminal file to the network connection unit so as to meet the file sending requirement of the terminal, so that the scheme provided by the embodiment of the invention can meet the file transmission requirement of the terminal.
And the terminal can obtain the file information of the network connection unit file stored in the network connection unit, so that a user can select a required target network connection unit file based on the file information, and the terminal is controlled to obtain the designated target network connection unit file. In addition, the user can control the terminal to send the designated target terminal file to the network connection unit. That is, according to the scheme provided by the embodiment of the invention, the file transmission between the terminal and the network connection unit can be realized according to the requirement of the user, so as to meet the specific file transmission requirement of the user.
In one embodiment of the present invention, the following step K is further included after step S1101.
Step K: and after receiving a unit file reporting request for the target network connection unit file sent by a server, sending the target network connection unit file corresponding to the unit file reporting request to the server, so that the server sends the target network connection unit file to the terminal.
Wherein, the unit file reporting request is: and after receiving the file acquisition request sent by the terminal, the server determines that the target network connection unit file is not stored, and sends the file to the network connection unit.
As can be seen from the above, in the solution provided in the embodiment of the present invention, the network connection unit only needs to send the target network connection unit file corresponding to the unit file reporting request to the server after receiving the unit file reporting request for the target network connection unit file sent by the server, so as to save network bandwidth and save the network connection unit and server traffic.
In one embodiment of the present invention, the following steps L1-L4 are further included after step S1102.
Step L1: and after receiving the target terminal file, storing the target terminal file into a preset temporary directory.
Step L2: and detecting whether a file with the same name as the file name of the target terminal file exists in a preset target directory.
Step L3: and if the target terminal file does not exist, storing the target terminal file into the target directory.
Step L4: if the same name file exists, when the same name file is not used, the same name file is updated to the target terminal file.
As can be seen from the above, in the solution provided in the embodiment of the present invention, when the peer-name file is in an unused state, the network connection unit moves the target terminal file from the temporary directory to the target directory, and updates the peer-name file to the target terminal file, so that the influence on the behavior of using the peer-name file can be avoided.
In one embodiment of the present invention, step L4 may be implemented by the following step L4 a.
Step L4a: if the same name file exists, when the same name file is not used, the content of the same name file is updated to the content of the target terminal file.
In the above-mentioned scheme provided by the embodiment of the present invention, after the network connection unit updates the content of the same name file to the content of the target terminal file, the same name file is replaced, and only the target terminal file is stored in the network connection unit.
In one embodiment of the present invention, the following step M is further included before step S1101.
Step M: and after receiving the initialization data of the network connection unit sent by the terminal, sending a security authentication request to the server based on authentication information in the initialization data.
The initialization data of the networking unit comprises: authentication information for performing security authentication with the server.
In the scheme provided by the embodiment of the invention, the network connection unit sends the security authentication request to the server, so that the server completes security authentication of the network connection unit, and the network connection unit and the server can be ensured to mutually transmit data without risk.
Based on the same inventive concept, the embodiment of the invention also provides a terminal, a server and a networking unit corresponding to the file transmission system.
Fig. 12 is a schematic structural diagram of a terminal according to an embodiment of the present invention, which includes a processor 1201, a communication interface 1202, a memory 1203, and a communication bus 1204, where the processor 1201, the communication interface 1202, and the memory 1203 complete communication with each other through the communication bus 1204;
A memory 1203 for storing a computer program;
The processor 1201, when executing the program stored in the memory 1203, performs the following method steps:
receiving the latest file information of the network connection unit file stored in the network connection unit sent by the server;
After receiving a file acquisition instruction which is input by a user based on the file information and aims at a target network connection unit file, sending a file acquisition request for acquiring the target network connection unit file to the server;
Receiving the target Internet connection unit file sent by the server in response to the file acquisition request; and after receiving a file sending instruction which is input by a user and indicates that a target terminal file is sent to the internet connection unit, sending a file sending request aiming at the target terminal file to the server, so that the server sends the target terminal file to the internet connection unit after receiving the file sending request.
In the scheme provided by the embodiment of the invention, the terminal can acquire the target network connection unit file of the network connection unit, so that the file acquisition requirement of the terminal is met; the terminal can also send the target terminal file to the network connection unit so as to meet the file sending requirement of the terminal, so that the scheme provided by the embodiment of the invention can meet the file transmission requirement of the terminal.
And the terminal can obtain the file information of the network connection unit file stored in the network connection unit, so that the user can select a required target network connection unit file based on the file information, and the user can control the terminal to obtain the designated target network connection unit file by inputting a file obtaining instruction to the terminal. In addition, the user can also control the terminal to send the designated target terminal file to the network connection unit by inputting a file sending instruction to the terminal. That is, according to the scheme provided by the embodiment of the invention, the file transmission between the terminal and the network connection unit can be realized according to the requirement of the user, so as to meet the specific file transmission requirement of the user.
In one embodiment of the present invention, after receiving the file sending instruction input by the user and indicating to send the target terminal file to the internet connection unit, the method further includes, after sending a file sending request for the target terminal file to the server so that the server sends the target terminal file to the internet connection unit after receiving the file sending request:
And after receiving a terminal file reporting request for the target terminal file sent by the server, sending the target terminal file to the server so that the server sends the target terminal file to the internet connection unit.
The terminal file reporting request is as follows: the server transmits to the terminal when detecting that the target terminal file is not stored in the server itself.
As can be seen from the above, in the solution provided in the embodiment of the present invention, the terminal sends the target terminal file to the server only after receiving the terminal file reporting request for the target terminal file sent by the server, thereby avoiding the terminal from repeatedly sending the target terminal file stored by the server, saving the bandwidth of the server, and saving the traffic of the terminal and the server.
In one embodiment of the present invention, after receiving the file sending instruction input by the user and indicating to send the target terminal file to the internet connection unit, the method further includes, after sending a file sending request for the target terminal file to the server so that the server sends the target terminal file to the internet connection unit after receiving the file sending request:
And after receiving a terminal file reporting request for the target terminal file sent by the server, sending the target terminal file to the server so that the server sends the target terminal file to the internet connection unit.
The terminal file reporting request is as follows: the server transmits to the terminal when detecting that the target terminal file is not stored in the server itself.
The method for transmitting a file transmission request for the target terminal file to the server after receiving a file transmission instruction input by a user and indicating to transmit the target terminal file to the internet connection unit, includes:
And after receiving a file sending instruction which is input by a user and indicates that a target terminal file is sent to the internet connection unit, sending a file sending request containing a target file feature code of the target terminal file to the server, so that the server judges whether the target terminal file is stored or not based on the target file feature code, and sends a terminal file reporting request to the terminal when the target terminal file is not stored.
In view of the above, in the solution provided by the embodiment of the present invention, since each file has a unique corresponding file feature code, the target file feature code can uniquely determine the target terminal file, so that the server can complete detection of the target terminal file based on the target file feature code.
In one embodiment of the present invention, before the receiving the latest file information of the network connection unit file stored in the network connection unit sent by the server, the method further includes:
Transmitting the equipment information of the network connection unit to a server;
Receiving initialization data of the networking unit, which is sent by the server and is sent in response to the equipment information;
The initialization data of the networking unit comprises: authentication information for performing security authentication with the server;
and transmitting initialization data of the network connection unit to the network connection unit based on network connection with the network connection unit, so that the network connection unit performs security authentication with the server based on the initialization data.
As can be seen from the above, in the scheme provided by the embodiment of the present invention, after obtaining the initialization data of the network connection unit corresponding to the device information of the network connection unit, the terminal sends the initialization data of the network connection unit to the network connection unit, so that the network connection unit performs security authentication with the server based on the initialization data, thereby ensuring that the network connection unit and the server can perform data transmission with each other without risk.
Fig. 13 is a schematic structural diagram of a server according to an embodiment of the present invention, including a processor 1301, a communication interface 1302, a memory 1303 and a communication bus 1304, where the processor 1301, the communication interface 1302 and the memory 1303 complete communication with each other through the communication bus 1304;
a memory 1303 for storing a computer program;
Processor 1301, when executing the program stored in memory 1303, implements the following method steps:
receiving the latest file information of the network connection unit file sent by the network connection unit;
Storing and sending the file information to a terminal;
After receiving a file acquisition request sent by the terminal based on the file information and used for acquiring a target network connection unit file, sending the target network connection unit file to the terminal;
and after receiving a file sending request sent by the terminal and used for sending a target terminal file, sending the target terminal file to the network connection unit.
In the scheme provided by the embodiment of the invention, the terminal can acquire the target network connection unit file of the network connection unit, so that the file acquisition requirement of the terminal is met; the terminal can also send the target terminal file to the network connection unit so as to meet the file sending requirement of the terminal, so that the scheme provided by the embodiment of the invention can meet the file transmission requirement of the terminal.
And the terminal can obtain the file information of the network connection unit file stored in the network connection unit, so that a user can select a required target network connection unit file based on the file information, and the terminal is controlled to obtain the designated target network connection unit file. In addition, the user can control the terminal to send the designated target terminal file to the network connection unit. That is, according to the scheme provided by the embodiment of the invention, the file transmission between the terminal and the network connection unit can be realized according to the requirement of the user, so as to meet the specific file transmission requirement of the user.
In one embodiment of the present invention, after receiving a file acquisition request sent by the terminal based on the file information and used for acquiring a target network connection unit file, the sending the target network connection unit file to the terminal specifically includes:
After receiving a file acquisition request sent by the terminal based on the file information and used for acquiring a target network connection unit file, detecting whether the target network connection unit file is stored or not;
If the target network connection unit file is stored, the stored target network connection unit file is sent to the terminal;
If the target network connection unit file is not stored, sending a unit file reporting request for the target network connection unit file to the network connection unit, so that the network connection unit sends the target network connection unit file to the server based on the unit file reporting request;
and after receiving the target network connection unit file sent by the network connection unit, storing and forwarding the target network connection unit file to the terminal.
As can be seen from the above, in the solution provided in the embodiment of the present invention, after receiving a file acquisition request sent by a terminal, a server detects whether a target network connection unit file corresponding to the file acquisition request is stored in itself, if it detects that the target network connection unit file is stored in itself, then sends the stored target network connection unit file to the terminal, otherwise sends a unit file report request for the target network connection unit file to the network connection unit. And after the network connection unit responds to the unit file reporting request and sends the target network connection unit file to the server, the server sends the target network connection unit file to the terminal. That is, only when the server detects that the target network connection unit file to be acquired by the terminal is not stored, the network connection unit is triggered to upload the unit file to the server, so that the network bandwidth is saved, and the network connection unit and the server flow are saved.
In one embodiment of the present invention, after receiving a file sending request sent by the terminal and used for sending a target terminal file, the sending method specifically includes:
After receiving a file sending request sent by the terminal and used for sending a target terminal file, detecting whether the target terminal file is stored or not;
If the target terminal file is stored, transmitting the stored target terminal file to the network connection unit;
if the target terminal file is not stored, a terminal file reporting request aiming at the target terminal file is sent to the terminal, so that the terminal sends the target terminal file to the server based on the terminal file reporting request;
and after receiving the target terminal file sent by the terminal, storing and forwarding the target terminal file to the network connection unit.
In the above-mentioned scheme provided by the embodiment of the invention, when the user uses the terminal to send the target terminal file to the network connection unit, the target terminal file is not directly sent to the server. After receiving a file sending request sent by a terminal, the server firstly detects whether a target terminal file corresponding to the file sending request is stored in the server, if the target terminal file is detected to be stored in the server, the server sends the stored target terminal file to the internet connection unit, otherwise, a terminal file reporting request aiming at the target terminal file is sent to the terminal. After the terminal sends the target terminal file to the server in response to the terminal file reporting request, the server sends the target terminal file to the internet connection unit. That is, only when the server detects that the target terminal file which the terminal wants to send is not stored in the server, the terminal can send the target terminal file to the server, so that the terminal is prevented from repeatedly sending the file stored in the server, the bandwidth of the server is saved, and the traffic of the terminal and the server is saved.
In one embodiment of the present invention, after receiving a file sending request sent by the terminal and used for sending a target terminal file, the detecting whether the target terminal file is stored includes:
After receiving a file sending request containing a target file feature code of the target terminal file, detecting whether a file with the file feature code being the target file feature code exists in the stored file;
If yes, determining that the target terminal file is stored in the server;
if the target terminal file does not exist, the target terminal file is determined not to be stored in the server.
In the above-mentioned scheme provided by the embodiment of the invention, the server can determine whether the target terminal file is stored or not only by detecting whether the file feature code of the stored file is the same as the target file feature code, so that the server can complete the detection of the target terminal file based on the target file feature code.
In one embodiment of the present invention, before the receiving the latest file information of the network connection unit file sent by the network connection unit, the method further includes:
receiving equipment information of an Internet connection unit sent by a terminal;
Transmitting initialization data of the networking unit to the terminal based on the equipment information of the networking unit, so that the terminal transmits the initialization data to the networking unit, and the networking unit performs security authentication based on the initialization data;
the initialization data of the networking unit comprises: authentication information for performing security authentication with the server.
And after receiving a security authentication request generated based on the initialization data and sent by the network connection unit, responding to the security authentication request and performing security authentication on the network connection unit.
In the scheme provided by the embodiment of the invention, the server and the network connection unit perform security authentication, so that the network connection unit and the server can be ensured to perform data transmission without risk.
Fig. 14 is a schematic structural diagram of an internet connection unit according to an embodiment of the present invention, which includes a processor 1401, a communication interface 1402, a memory 1403 and a communication bus 1404, wherein the processor 1401, the communication interface 1402 and the memory 1403 complete communication with each other through the communication bus 1404;
A memory 1403 for storing a computer program;
A processor 1401, when executing a program stored on a memory 1403, performs the following method steps:
The method comprises the steps of sending the latest file information of a network connection unit file stored by the server to the server so that the server stores and sends the file information to a terminal, and sending a file acquisition request for acquiring a target network connection unit file to the server after receiving a file acquisition instruction for the target network connection unit file, which is input by a user based on the file information, by the terminal so that the server sends the target network connection unit file to the terminal;
And receiving the target terminal file.
The target terminal file is: the server sends a file sending request to the network connection unit after receiving the file sending request sent by the terminal, wherein the file sending request is: and the terminal sends the target terminal file to the server after receiving a file sending instruction which is input by a user and indicates that the target terminal file is sent to the internet connection unit.
In the scheme provided by the embodiment of the invention, the terminal can acquire the target network connection unit file of the network connection unit, so that the file acquisition requirement of the terminal is met; the terminal can also send the target terminal file to the network connection unit so as to meet the file sending requirement of the terminal, so that the scheme provided by the embodiment of the invention can meet the file transmission requirement of the terminal.
And the terminal can obtain the file information of the network connection unit file stored in the network connection unit, so that a user can select a required target network connection unit file based on the file information, and the terminal is controlled to obtain the designated target network connection unit file. In addition, the user can control the terminal to send the designated target terminal file to the network connection unit. That is, according to the scheme provided by the embodiment of the invention, the file transmission between the terminal and the network connection unit can be realized according to the requirement of the user, so as to meet the specific file transmission requirement of the user.
In one embodiment of the present invention, after the latest file information of the network connection unit file stored in the server is sent to the server, so that the server stores and sends the file information to the terminal, and the terminal receives a file acquisition instruction for the target network connection unit file input by the user based on the file information, sends a file acquisition request for acquiring the target network connection unit file to the server, so that the server sends the target network connection unit file to the terminal, the method further includes:
And after receiving a unit file reporting request for the target network connection unit file sent by a server, sending the target network connection unit file corresponding to the unit file reporting request to the server, so that the server sends the target network connection unit file to the terminal.
Wherein, the unit file reporting request is: and after receiving the file acquisition request sent by the terminal, the server determines that the target network connection unit file is not stored, and sends the file to the network connection unit.
As can be seen from the above, in the solution provided in the embodiment of the present invention, the network connection unit only needs to send the target network connection unit file corresponding to the unit file reporting request to the server after receiving the unit file reporting request for the target network connection unit file sent by the server, so as to save network bandwidth and save the network connection unit and server traffic.
In one embodiment of the present invention, after the receiving the target terminal file, the method further includes:
after receiving the target terminal file, storing the target terminal file into a preset temporary directory;
Detecting whether a file with the same name as the file name of the target terminal file exists in a preset target directory;
if not, storing the target terminal file into the target directory;
If the same name file exists, when the same name file is not used, the same name file is updated to the target terminal file.
As can be seen from the above, in the solution provided in the embodiment of the present invention, when the peer-name file is in an unused state, the network connection unit moves the target terminal file from the temporary directory to the target directory, and updates the peer-name file to the target terminal file, so that the influence on the behavior of using the peer-name file can be avoided.
In one embodiment of the present invention, if the same name file exists, updating the same name file to the target terminal file when the same name file is not used, specifically including:
If the same name file exists, when the same name file is not used, the content of the same name file is updated to the content of the target terminal file.
In the above-mentioned scheme provided by the embodiment of the present invention, after the network connection unit updates the content of the same name file to the content of the target terminal file, the same name file is replaced, and only the target terminal file is stored in the network connection unit.
In one embodiment of the present invention, before the sending, to the server, the latest file information of the network connection unit file stored by the server, so that the server stores and sends the file information to the terminal, and the terminal sends, after receiving a file acquisition instruction for a target network connection unit file input by a user based on the file information, a file acquisition request for acquiring the target network connection unit file to the server, so that the server sends the target network connection unit file to the terminal, the method further includes:
and after receiving the initialization data of the network connection unit sent by the terminal, sending a security authentication request to the server based on authentication information in the initialization data.
The initialization data of the networking unit comprises: authentication information for performing security authentication with the server.
In the scheme provided by the embodiment of the invention, the network connection unit sends the security authentication request to the server, so that the server completes security authentication of the network connection unit, and the network connection unit and the server can be ensured to mutually transmit data without risk.
The communication bus mentioned above for the electronic device may be a peripheral component interconnect standard (PERIPHERAL COMPONENT INTERCONNECT, PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, etc. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface is used for communication between the electronic device and other devices.
The Memory may include random access Memory (Random Access Memory, RAM) or may include Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but may also be a digital signal Processor (DIGITAL SIGNAL Processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), field-Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware components.
Based on the same inventive concept, the embodiment of the invention also provides a file transmission device corresponding to the file transmission system.
Fig. 15 is a schematic structural diagram of a first file transmission device according to an embodiment of the present invention, where the device is applied to a terminal, and the device includes:
A first receiving module 1501, configured to receive the latest file information of the network connection unit file stored in the network connection unit sent by the server;
a first sending module 1502, configured to send, after receiving a file acquisition instruction for a target network connection unit file input by a user based on the file information, a file acquisition request for acquiring the target network connection unit file to the server;
A second receiving module 1503, configured to receive the target network connection unit file sent by the server in response to the file acquisition request;
And a second sending module 1504, configured to send, after receiving a file sending instruction input by a user and indicating to send a target terminal file to the internet connection unit, a file sending request for the target terminal file to the server, so that the server sends the target terminal file to the internet connection unit after receiving the file sending request.
In the scheme provided by the embodiment of the invention, the terminal can acquire the target network connection unit file of the network connection unit, so that the file acquisition requirement of the terminal is met; the terminal can also send the target terminal file to the network connection unit so as to meet the file sending requirement of the terminal, so that the scheme provided by the embodiment of the invention can meet the file transmission requirement of the terminal.
And the terminal can obtain the file information of the network connection unit file stored in the network connection unit, so that the user can select a required target network connection unit file based on the file information, and the user can control the terminal to obtain the designated target network connection unit file by inputting a file obtaining instruction to the terminal. In addition, the user can also control the terminal to send the designated target terminal file to the network connection unit by inputting a file sending instruction to the terminal. That is, according to the scheme provided by the embodiment of the invention, the file transmission between the terminal and the network connection unit can be realized according to the requirement of the user, so as to meet the specific file transmission requirement of the user.
Fig. 16 is a schematic structural diagram of a second file transfer device according to an embodiment of the present invention, and compared with the embodiment shown in fig. 15, the device further includes:
a sixth sending module 1505, configured to send the target terminal file to the server after receiving a terminal file reporting request sent by the server for the target terminal file, so that the server sends the target terminal file to the internet connection unit.
The terminal file reporting request is as follows: the server transmits to the terminal when detecting that the target terminal file is not stored in the server itself.
As can be seen from the above, in the solution provided in the embodiment of the present invention, the terminal sends the target terminal file to the server only after receiving the terminal file reporting request for the target terminal file sent by the server, thereby avoiding the terminal from repeatedly sending the target terminal file stored by the server, saving the bandwidth of the server, and saving the traffic of the terminal and the server.
In one embodiment of the present invention, compared to the embodiment shown in fig. 16, the second sending module 1504 is specifically configured to:
And after receiving a file sending instruction which is input by a user and indicates that a target terminal file is sent to the internet connection unit, sending a file sending request containing a target file feature code of the target terminal file to the server, so that the server judges whether the target terminal file is stored or not based on the target file feature code, and sending a terminal file reporting request to the terminal under the condition that the target terminal file is not stored.
In view of the above, in the solution provided by the embodiment of the present invention, since each file has a unique corresponding file feature code, the target file feature code can uniquely determine the target terminal file, so that the server can complete detection of the target terminal file based on the target file feature code.
Fig. 17 is a schematic structural diagram of a third file transfer device according to an embodiment of the present invention, and compared with the embodiment shown in fig. 15, the device further includes:
the device information sending module 1506 is configured to send device information of the network connection unit to the server;
A fifth receiving module 1507, configured to receive initialization data of the networking unit sent by the server and sent in response to the device information;
The initialization data of the networking unit comprises: authentication information for performing security authentication with the server;
A seventh transmitting module 1508 configured to transmit, to the network connection unit, initialization data of the network connection unit based on a network connection with the network connection unit, so that the network connection unit performs security authentication with the server based on the initialization data.
As can be seen from the above, in the scheme provided by the embodiment of the present invention, after obtaining the initialization data of the network connection unit corresponding to the device information of the network connection unit, the terminal sends the initialization data of the network connection unit to the network connection unit, so that the network connection unit performs security authentication with the server based on the initialization data, thereby ensuring that the network connection unit and the server can perform data transmission with each other without risk.
Fig. 18 is a schematic structural diagram of a fourth file transfer device according to an embodiment of the present invention, where the device is applied to a server, and the device includes:
A third receiving module 1801, configured to receive the latest file information of the network connection unit file sent by the network connection unit;
A storage transmitting module 1802 configured to store and transmit the file information to a terminal;
a third sending module 1803, configured to send, after receiving a file acquisition request sent by the terminal based on the file information and used to acquire a target network connection unit file, the target network connection unit file to the terminal;
and a fourth transmitting module 1804, configured to transmit the target terminal file to the network connection unit after receiving a file transmission request for transmitting the target terminal file transmitted by the terminal.
In the scheme provided by the embodiment of the invention, the terminal can acquire the target network connection unit file of the network connection unit, so that the file acquisition requirement of the terminal is met; the terminal can also send the target terminal file to the network connection unit so as to meet the file sending requirement of the terminal, so that the scheme provided by the embodiment of the invention can meet the file transmission requirement of the terminal.
And the terminal can obtain the file information of the network connection unit file stored in the network connection unit, so that a user can select a required target network connection unit file based on the file information, and the terminal is controlled to obtain the designated target network connection unit file. In addition, the user can control the terminal to send the designated target terminal file to the network connection unit. That is, according to the scheme provided by the embodiment of the invention, the file transmission between the terminal and the network connection unit can be realized according to the requirement of the user, so as to meet the specific file transmission requirement of the user.
In one embodiment of the present invention, the third sending module 1803 is specifically configured to:
After receiving a file acquisition request sent by the terminal based on the file information and used for acquiring a target network connection unit file, detecting whether the target network connection unit file is stored or not;
If the target network connection unit file is stored, the stored target network connection unit file is sent to the terminal;
If the target network connection unit file is not stored, sending a unit file reporting request for the target network connection unit file to the network connection unit, so that the network connection unit sends the target network connection unit file to the server based on the unit file reporting request;
and after receiving the target network connection unit file sent by the network connection unit, storing and forwarding the target network connection unit file to the terminal.
As can be seen from the above, in the solution provided in the embodiment of the present invention, after receiving a file acquisition request sent by a terminal, a server detects whether a target network connection unit file corresponding to the file acquisition request is stored in itself, if it detects that the target network connection unit file is stored in itself, then sends the stored target network connection unit file to the terminal, otherwise sends a unit file report request for the target network connection unit file to the network connection unit. And after the network connection unit responds to the unit file reporting request and sends the target network connection unit file to the server, the server sends the target network connection unit file to the terminal. That is, only when the server detects that the target network connection unit file to be acquired by the terminal is not stored, the network connection unit is triggered to upload the unit file to the server, so that the network bandwidth is saved, and the network connection unit and the server flow are saved.
In one embodiment of the present invention, the fourth transmitting module 1804 is specifically configured to:
After receiving a file sending request sent by the terminal and used for sending a target terminal file, detecting whether the target terminal file is stored or not;
If the target terminal file is stored, transmitting the stored target terminal file to the network connection unit;
if the target terminal file is not stored, a terminal file reporting request aiming at the target terminal file is sent to the terminal, so that the terminal sends the target terminal file to the server based on the terminal file reporting request;
and after receiving the target terminal file sent by the terminal, storing and forwarding the target terminal file to the network connection unit.
In the above-mentioned scheme provided by the embodiment of the invention, when the user uses the terminal to send the target terminal file to the network connection unit, the target terminal file is not directly sent to the server. After receiving a file sending request sent by a terminal, the server firstly detects whether a target terminal file corresponding to the file sending request is stored in the server, if the target terminal file is detected to be stored in the server, the server sends the stored target terminal file to the internet connection unit, otherwise, a terminal file reporting request aiming at the target terminal file is sent to the terminal. After the terminal sends the target terminal file to the server in response to the terminal file reporting request, the server sends the target terminal file to the internet connection unit. That is, only when the server detects that the target terminal file which the terminal wants to send is not stored in the server, the terminal can send the target terminal file to the server, so that the terminal is prevented from repeatedly sending the file stored in the server, the bandwidth of the server is saved, and the traffic of the terminal and the server is saved.
In one embodiment of the present invention, the fourth transmitting module 1804 is specifically configured to:
After receiving a file sending request containing a target file feature code of the target terminal file, detecting whether a file with the file feature code being the target file feature code exists in the stored file;
If yes, determining that the target terminal file is stored in the server;
if the target terminal file does not exist, determining that the target terminal file is not stored in the server;
If the target terminal file is stored, transmitting the stored target terminal file to the network connection unit;
if the target terminal file is not stored, a terminal file reporting request aiming at the target terminal file is sent to the terminal, so that the terminal sends the target terminal file to the server based on the terminal file reporting request;
and after receiving the target terminal file sent by the terminal, storing and forwarding the target terminal file to the network connection unit.
In the above-mentioned scheme provided by the embodiment of the invention, the server can determine whether the target terminal file is stored or not only by detecting whether the file feature code of the stored file is the same as the target file feature code, so that the server can complete the detection of the target terminal file based on the target file feature code.
Fig. 19 is a schematic structural diagram of a fifth file transfer device according to an embodiment of the present invention, and compared with the embodiment shown in fig. 18, the device further includes:
a sixth receiving module 1805, configured to receive device information of the networking unit sent by the terminal;
An eighth transmitting module 1806, configured to transmit, to the terminal, initialization data of the networking unit based on the device information of the networking unit, so that the terminal transmits the initialization data to the networking unit, and so that the networking unit performs security authentication based on the initialization data.
The initialization data of the networking unit comprises: authentication information for performing security authentication with the server.
And a security authentication module 1807, configured to, after receiving a security authentication request generated based on the initialization data and sent by the network connection unit, respond to the security authentication request and perform security authentication on the network connection unit.
In the scheme provided by the embodiment of the invention, the server and the network connection unit perform security authentication, so that the network connection unit and the server can be ensured to perform data transmission without risk.
Fig. 20 is a schematic structural diagram of a sixth file transmitting apparatus according to an embodiment of the present invention, where the apparatus is applied to a networking unit, and the apparatus includes:
A fifth sending module 2001, configured to send, to a server, latest file information of a network connection unit file stored in the server, so that the server stores and sends the file information to a terminal, and so that the terminal sends, after receiving a file acquisition instruction for a target network connection unit file input by a user based on the file information, a file acquisition request for acquiring the target network connection unit file to the server, so that the server sends the target network connection unit file to the terminal;
a fourth receiving module 2002, configured to receive the target terminal file.
The target terminal file is: the server sends a file sending request to the network connection unit after receiving the file sending request sent by the terminal, wherein the file sending request is: and the terminal sends the target terminal file to the server after receiving a file sending instruction which is input by a user and indicates that the target terminal file is sent to the internet connection unit.
In the scheme provided by the embodiment of the invention, the terminal can acquire the target network connection unit file of the network connection unit, so that the file acquisition requirement of the terminal is met; the terminal can also send the target terminal file to the network connection unit so as to meet the file sending requirement of the terminal, so that the scheme provided by the embodiment of the invention can meet the file transmission requirement of the terminal.
And the terminal can obtain the file information of the network connection unit file stored in the network connection unit, so that a user can select a required target network connection unit file based on the file information, and the terminal is controlled to obtain the designated target network connection unit file. In addition, the user can control the terminal to send the designated target terminal file to the network connection unit. That is, according to the scheme provided by the embodiment of the invention, the file transmission between the terminal and the network connection unit can be realized according to the requirement of the user, so as to meet the specific file transmission requirement of the user.
Fig. 21 is a schematic structural diagram of a seventh file transmission device according to an embodiment of the present invention, and compared with the embodiment shown in fig. 20, the device further includes:
And a ninth sending module 2003, configured to send, after receiving a unit file reporting request for the target network connection unit file sent by the server, a target network connection unit file corresponding to the unit file reporting request to the server, so that the server sends the target network connection unit file to the terminal.
Wherein, the unit file reporting request is: and after receiving the file acquisition request sent by the terminal, the server determines that the target network connection unit file is not stored, and sends the file to the network connection unit.
As can be seen from the above, in the solution provided in the embodiment of the present invention, the network connection unit only needs to send the target network connection unit file corresponding to the unit file reporting request to the server after receiving the unit file reporting request for the target network connection unit file sent by the server, so as to save network bandwidth and save the network connection unit and server traffic.
Fig. 22 is a schematic structural diagram of an eighth file transmission device according to an embodiment of the present invention, and compared with the embodiment shown in fig. 20, the device further includes:
a first storage module 2004, configured to store the target terminal file into a preset temporary directory after receiving the target terminal file;
The same name file detection module 2005 is configured to detect whether a preset target directory has a same name file as the file name of the target terminal file;
A second storage module 2006, configured to store the target terminal file to the target directory if the target terminal file does not exist;
The file updating module 2007 is configured to update the same name file to the target terminal file when the same name file is not used if the same name file exists.
As can be seen from the above, in the solution provided in the embodiment of the present invention, when the peer-name file is in an unused state, the network connection unit moves the target terminal file from the temporary directory to the target directory, and updates the peer-name file to the target terminal file, so that the influence on the behavior of using the peer-name file can be avoided.
In one embodiment of the present invention, the file updating module 2007 is specifically configured to:
If the same name file exists, when the same name file is not used, the content of the same name file is updated to the content of the target terminal file.
In the above-mentioned scheme provided by the embodiment of the present invention, after the network connection unit updates the content of the same name file to the content of the target terminal file, the same name file is replaced, and only the target terminal file is stored in the network connection unit.
Fig. 23 is a schematic structural diagram of a ninth file transfer device according to an embodiment of the present invention, and compared with the embodiment shown in fig. 20, the device further includes:
Tenth transmitting module 2008 is configured to, after receiving initialization data of the networking unit sent by the terminal, transmit a security authentication request to the server based on authentication information in the initialization data.
The initialization data of the networking unit comprises: authentication information for performing security authentication with the server.
In the scheme provided by the embodiment of the invention, the network connection unit sends the security authentication request to the server, so that the server completes security authentication of the network connection unit, and the network connection unit and the server can be ensured to mutually transmit data without risk.
In yet another embodiment of the present invention, there is also provided a computer readable storage medium having a computer program stored therein, the computer program implementing the steps of any one of the file transfer methods described above when executed by a processor.
In the scheme provided by the embodiment of the invention, the terminal can acquire the target network connection unit file of the network connection unit, so that the file acquisition requirement of the terminal is met; the terminal can also send the target terminal file to the network connection unit so as to meet the file sending requirement of the terminal, so that the scheme provided by the embodiment of the invention can meet the file transmission requirement of the terminal.
And the terminal can obtain the file information of the network connection unit file stored in the network connection unit, so that the user can select a required target network connection unit file based on the file information, and the user can control the terminal to obtain the designated target network connection unit file by inputting a file obtaining instruction to the terminal. In addition, the user can also control the terminal to send the designated target terminal file to the network connection unit by inputting a file sending instruction to the terminal. That is, according to the scheme provided by the embodiment of the invention, the file transmission between the terminal and the network connection unit can be realized according to the requirement of the user, so as to meet the specific file transmission requirement of the user.
In yet another embodiment of the present invention, a computer program product containing instructions that, when run on a computer, cause the computer to perform any of the file transfer methods of the above embodiments is also provided.
In the scheme provided by the embodiment of the invention, the terminal can acquire the target network connection unit file of the network connection unit, so that the file acquisition requirement of the terminal is met; the terminal can also send the target terminal file to the network connection unit so as to meet the file sending requirement of the terminal, so that the scheme provided by the embodiment of the invention can meet the file transmission requirement of the terminal.
And the terminal can obtain the file information of the network connection unit file stored in the network connection unit, so that the user can select a required target network connection unit file based on the file information, and the user can control the terminal to obtain the designated target network connection unit file by inputting a file obtaining instruction to the terminal. In addition, the user can also control the terminal to send the designated target terminal file to the network connection unit by inputting a file sending instruction to the terminal. That is, according to the scheme provided by the embodiment of the invention, the file transmission between the terminal and the network connection unit can be realized according to the requirement of the user, so as to meet the specific file transmission requirement of the user.
In the above embodiments, it may be implemented in whole or in part 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 loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present invention, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk Solid STATE DISK (SSD)), etc.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for method, terminal, server, networking unit, apparatus, computer readable storage medium and computer program product embodiments, the description is relatively simple as it is substantially similar to the system embodiments, and relevant places are referred to in the description of the method embodiments.
The foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims (17)

1. A file transfer system, the system comprising: the terminal, the server and the network connection unit;
The network connection unit is used for sending the latest file information of the network connection unit file stored by the network connection unit file to the server;
The server is used for storing and sending the file information to the terminal;
The terminal is used for sending a file acquisition request for acquiring the target network connection unit file to the server after receiving a file acquisition instruction which is input by a user based on the file information and is specific to the target network connection unit file;
The server is further configured to send the target network connection unit file to the terminal after receiving the file acquisition request;
The terminal is further configured to send a file sending request for the target terminal file to the server after receiving a file sending instruction input by a user and indicating to send the target terminal file to the internet connection unit;
the server is further configured to send the target terminal file to the network connection unit after receiving the file sending request;
the network connection unit is further configured to receive the target terminal file.
2. The system according to claim 1, characterized in that said server is specifically configured to:
after receiving the file acquisition request, detecting whether the target network connection unit file is stored; if the target network connection unit file is stored, the stored target network connection unit file is sent to the terminal; if the target network connection unit file is not stored, sending a unit file reporting request aiming at the target network connection unit file to the network connection unit;
The network connection unit is further used for sending the target network connection unit file to the server after receiving the unit file reporting request;
The server is further configured to store and forward the target network connection unit file to the terminal after receiving the target network connection unit file sent by the network connection unit.
3. The system according to claim 1, characterized in that said server is specifically configured to:
After receiving the file sending request, detecting whether the target terminal file is stored or not; if the target terminal file is stored, the stored target terminal file is sent to the network connection unit; if the target terminal file is not stored, a terminal file reporting request aiming at the target terminal file is sent to the terminal;
the terminal is further configured to send the target terminal file to the server after receiving the terminal file reporting request;
The server is further configured to store and forward the target terminal file to the network connection unit after receiving the target terminal file sent by the terminal.
4. A system according to claim 3, characterized in that the terminal is specifically configured to:
Transmitting a file transmission request containing a target file feature code of the target terminal file to the server;
The server is specifically configured to:
After receiving the file sending request, detecting whether a file with a file feature code being the target file feature code exists in the stored files;
if yes, determining that the target terminal file is stored in the server;
And if the target terminal file does not exist, determining that the target terminal file is not stored in the server.
5. The system according to any one of claims 1-4, characterized in that the networking unit is specifically configured to:
after receiving the target terminal file, storing the target terminal file into a preset temporary directory;
detecting whether a file with the same name as the file name of the target terminal file exists in a preset target directory;
If not, storing the target terminal file into the target directory;
If the same name file exists, when the same name file is not used, the same name file is updated to the target terminal file.
6. The system according to claim 5, characterized in that said networking unit is specifically configured to:
And when the same-name file is not used, updating the content of the same-name file into the content of the target terminal file.
7. The system of any one of claims 1-4, wherein,
The terminal is further used for sending the equipment information of the networking unit to the server;
The server is further configured to send, to the terminal, initialization data of the networking unit based on the device information of the networking unit, where the initialization data of the networking unit includes: authentication information for performing security authentication with the server;
the terminal is further configured to send initialization data of the networking unit to the networking unit based on network connection with the networking unit;
The network connection unit is further used for sending a security authentication request to the server based on authentication information in the initialization data;
the server is further configured to respond to the security authentication request, and perform security authentication on the network connection unit.
8. A file transmission method, applied to a terminal, the method comprising:
receiving the latest file information of the network connection unit file stored in the network connection unit sent by the server;
After receiving a file acquisition instruction which is input by a user based on the file information and aims at a target network connection unit file, sending a file acquisition request for acquiring the target network connection unit file to the server;
receiving the target Internet connection unit file sent by the server in response to the file acquisition request;
And after receiving a file sending instruction which is input by a user and indicates that a target terminal file is sent to the network connection unit, sending a file sending request aiming at the target terminal file to the server, so that the server sends the target terminal file to the network connection unit after receiving the file sending request.
9. A file transfer method, applied to a server, comprising:
receiving the latest file information of the network connection unit file sent by the network connection unit;
Storing and sending the file information to a terminal;
after receiving a file acquisition request which is sent by the terminal based on the file information and used for acquiring a target network connection unit file, sending the target network connection unit file to the terminal;
And after receiving a file sending request for sending a target terminal file sent by the terminal, sending the target terminal file to the network connection unit.
10. A method for file transfer, applied to an internet-connected unit, the method comprising:
The method comprises the steps of sending the latest file information of a network connection unit file stored by the server to enable the server to store and send the file information to a terminal, enabling the terminal to send a file acquisition request for acquiring a target network connection unit file to the server after receiving a file acquisition instruction for the target network connection unit file, which is input by a user based on the file information, so that the server sends the target network connection unit file to the terminal;
Receiving a target terminal file, wherein the target terminal file is as follows: the server sends a file sending request to the network connection unit after receiving the file sending request sent by the terminal, wherein the file sending request is: and the terminal sends the file sending instruction which is input by the user and indicates that the target terminal file is sent to the internet connection unit to the server.
11. The terminal is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
A memory for storing a computer program;
The processor is used for realizing the following method steps when executing the program stored in the memory:
receiving the latest file information of the network connection unit file stored in the network connection unit sent by the server;
After receiving a file acquisition instruction which is input by a user based on the file information and aims at a target network connection unit file, sending a file acquisition request for acquiring the target network connection unit file to the server;
receiving the target Internet connection unit file sent by the server in response to the file acquisition request;
And after receiving a file sending instruction which is input by a user and indicates that a target terminal file is sent to the network connection unit, sending a file sending request aiming at the target terminal file to the server, so that the server sends the target terminal file to the network connection unit after receiving the file sending request.
12. The server is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
A memory for storing a computer program;
The processor is used for realizing the following method steps when executing the program stored in the memory:
receiving the latest file information of the network connection unit file sent by the network connection unit;
Storing and sending the file information to a terminal;
after receiving a file acquisition request which is sent by the terminal based on the file information and used for acquiring a target network connection unit file, sending the target network connection unit file to the terminal;
And after receiving a file sending request for sending a target terminal file sent by the terminal, sending the target terminal file to the network connection unit.
13. The networking unit is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
A memory for storing a computer program;
The processor is used for realizing the following method steps when executing the program stored in the memory:
The method comprises the steps of sending the latest file information of a network connection unit file stored by the server to enable the server to store and send the file information to a terminal, enabling the terminal to send a file acquisition request for acquiring a target network connection unit file to the server after receiving a file acquisition instruction for the target network connection unit file, which is input by a user based on the file information, so that the server sends the target network connection unit file to the terminal;
Receiving a target terminal file, wherein the target terminal file is as follows: the server sends a file sending request to the network connection unit after receiving the file sending request sent by the terminal, wherein the file sending request is: and the terminal sends the file sending instruction which is input by the user and indicates that the target terminal file is sent to the internet connection unit to the server.
14. A file transfer device, characterized in that it is applied to a terminal, said device comprising:
The first receiving module is used for receiving the latest file information of the network connection unit file stored in the network connection unit sent by the server;
The first sending module is used for sending a file acquisition request for acquiring the target network connection unit file to the server after receiving a file acquisition instruction which is input by a user based on the file information and is specific to the target network connection unit file;
the second receiving module is used for receiving the target Internet connection unit file sent by the server in response to the file acquisition request;
And the second sending module is used for sending a file sending request aiming at the target terminal file to the server after receiving a file sending instruction which is input by a user and indicates to send the target terminal file to the network connection unit, so that the server sends the target terminal file to the network connection unit after receiving the file sending request.
15. A file transfer device for use with a server, said device comprising:
the third receiving module is used for receiving the latest file information of the network connection unit file sent by the network connection unit;
the storage and transmission module is used for storing and transmitting the file information to the terminal;
the third sending module is used for sending the target network connection unit file to the terminal after receiving a file acquisition request which is sent by the terminal based on the file information and used for acquiring the target network connection unit file;
and the fourth sending module is used for sending the target terminal file to the network connection unit after receiving the file sending request which is sent by the terminal and used for sending the target terminal file.
16. A file transfer device for use with a network connection unit, the device comprising:
a fifth sending module, configured to send, to a server, latest file information of a network connection unit file stored by the server, so that the server stores and sends the file information to a terminal, and cause the terminal to send, after receiving a file acquisition instruction for a target network connection unit file input by a user based on the file information, a file acquisition request for acquiring the target network connection unit file to the server, so that the server sends the target network connection unit file to the terminal;
the fourth receiving module is configured to receive a target terminal file, where the target terminal file is: the server sends a file sending request to the network connection unit after receiving the file sending request sent by the terminal, wherein the file sending request is: and the terminal sends the file sending instruction which is input by the user and indicates that the target terminal file is sent to the internet connection unit to the server.
17. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored therein a computer program which, when executed by a processor, implements the method steps of any of claims 8, 9 or 10.
CN202211411315.6A 2022-11-11 2022-11-11 File transmission system, method, terminal, server, network connection unit and device Pending CN118041901A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211411315.6A CN118041901A (en) 2022-11-11 2022-11-11 File transmission system, method, terminal, server, network connection unit and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211411315.6A CN118041901A (en) 2022-11-11 2022-11-11 File transmission system, method, terminal, server, network connection unit and device

Publications (1)

Publication Number Publication Date
CN118041901A true CN118041901A (en) 2024-05-14

Family

ID=90986516

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211411315.6A Pending CN118041901A (en) 2022-11-11 2022-11-11 File transmission system, method, terminal, server, network connection unit and device

Country Status (1)

Country Link
CN (1) CN118041901A (en)

Similar Documents

Publication Publication Date Title
CN104506510B (en) Method and device for equipment authentication and authentication service system
US9930632B2 (en) M2M application remote registration method, device, system and storage medium
WO2016023357A1 (en) Webpage access method and apparatus, and router
CN112738805A (en) Device control method and apparatus, storage medium, and electronic device
CN101399729B (en) Management system and method for file download and upload
US10021181B2 (en) System and method for discovering a LAN synchronization candidate for a synchronized content management system
CN104796969A (en) Network accessing method and system for equipment of internet of things on basis of recognition codes of internet of things
CN102823195A (en) System and methods for remote maintenance of client systems in an electronic network using software testing by a virtual machine
KR101701158B1 (en) Method and system of providing remote access for device within home network
CN107707557B (en) Anonymous access method, device, network equipment and readable storage medium
WO2019001224A1 (en) Method and device for recommending social user
JP2015001784A (en) Information processing system, information processing apparatus, and information processing program
JP2016144186A (en) Communication information controller, relay system, communication information control method, and communication information control program
WO2024183449A1 (en) Building protocol data processing method, apparatus, and system
KR101723510B1 (en) control method of providing quick pairing of IoT devices using service scriber information
JP6756207B2 (en) Information processing equipment and programs
CN107667518B (en) Automatic discovery and online of electronic devices
JP4735113B2 (en) User terminal identification method
CN118041901A (en) File transmission system, method, terminal, server, network connection unit and device
CN102904935A (en) Downloading method, downloading device and downloading system based on home gateway
CN109560954B (en) Equipment configuration method and device
Ciancetta et al. A Web Service interface for a distributed measurement system based on decentralized sharing network
CN113612735B (en) Secure storage system
KR20130078220A (en) User terminal and data sharing method between applications thereof
US20120047236A1 (en) Method and apparatus for file transfer

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