System for realizing remote file transmission and storage through remote equipment
Through remote equipment and network servers, the remote file transfer and storage system are optimized, and the remote file transfer efficiency and long integrity verification time are solved, and efficient and reliable file transfer and automated management are achieved.
Patent Information
- Application Number
- CN202411507885.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-28
- Publication Date
- 2024-11-26
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
During remote file transfer, network stability requirements are high and integrity verification is required after transmission, resulting in reduced efficiency and excessive resource utilization.
Remote file transfer and storage system are realized through remote equipment, including connection establishment unit, host display unit, auxiliary host setting unit, file transfer auxiliary unit and host reset unit, and use network servers to optimize file transfer and integrity verification, and automatically reset operate.
It improves the reliability and accuracy of data transmission, reduces manual intervention, optimizes resource use, and improves system management efficiency and operation efficiency.
Smart Images

Figure CN119030970A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of remote file transmission and storage, and in particular to a system for realizing remote file transmission and storage through remote equipment. Background Art
[0002] With the continuous development of information technology, the knowledge economy is penetrating into all walks of life with its irresistible charm. Modern enterprise management is the first to be affected, gradually moving towards flat organizational structure, flexible management, decentralized office mode, and remote information exchange and collaborative operations. In some large enterprises, file transfer between multiple computers is very common. It is often necessary to transfer some files from one computer to another, or from multiple computers to the main computer at the headquarters. At present, when transferring files remotely, a network connection channel is generally established between two devices, and then the files are directly transferred. However, this method has high requirements on network stability when transferring files, and after the transfer, the files need to be checked for integrity separately, which increases the time required for file transfer. In addition, the files are stored in the network connection channel, which causes the network connection channel to occupy part of the network resources during the transmission process, resulting in reduced efficiency of file transfer. In order to reduce this situation, a system for realizing remote file transmission and storage through remote equipment is proposed. Summary of the invention
[0003] The purpose of the present invention is to provide a system for implementing remote file transmission and storage through remote equipment, so as to solve the problems raised in the above background technology.
[0004] To achieve the above-mentioned purpose, a system for realizing remote file transmission and storage through remote equipment is provided, comprising a connection establishment unit, a host display unit, an auxiliary host setting unit, a file transmission auxiliary unit and a host reset unit; The connection establishment unit is used to install the remote device in the host chassis, complete the switch and reset operations on the host through the remote device, and establish a network server to give the remote device the authority to transfer files to the host using the remote device; The host display unit is used to collect the working status of the host through remote equipment and upload it to the network server, use the network server to display it to the remote device in sequence, and display the list of devices that control the host in real time in the network server; The auxiliary host setting unit is used to filter auxiliary hosts in the idle host list on the network server according to the file size when the remote device is transmitting a file to the host, and control the remote device to perform a power-on operation according to the screening result; The file transfer auxiliary unit is used to use the auxiliary host to perform data detection preprocessing on the files being transferred in combination with the files stored in the working host, send duplicate files to the remote device for reminder, and record and classify the files according to the detection preprocessing records, and then send them to the working host for storage optimization; The host reset unit is used to store and back up the files pre-processed by the detection, and then compare the backup files with the files stored in the working host for integrity verification. After the working host completes storing the files, the remote equipment controls the auxiliary host to reset.
[0005] As a further improvement of the technical solution, the connection establishment unit connects the remote device in series between the host chassis power on and reset buttons and the mainboard FPanel, and communicates and supplies power to the mainboard via USB; Use the integrated 9-pin DuPont cable to connect to the motherboard FPanel interface; The remote equipment is connected to the network server via WiFi, and the remote device is connected to the network server via Ethernet; At the same time, the remote installation reserves an independent power supply interface. When the motherboard does not support USB shutdown power supply, it can still be powered by the standby 5V of the ATX power supply. The remote client connects to the remote device through MQTT with authorization to perform remote power on / off and reset operations.
[0006] As a further improvement of the technical solution, the remote equipment collects the host operation status through the POWERLED interface of the FPanel, and uploads the collected host operation status to the network server.
[0007] As a further improvement of the technical solution, the host display unit includes a host display module and a host control display module; The host display module is used to screen and sort the host operation status uploaded by the remote device in the network server, so as to extract the bandwidth utilization of each host, sort them according to the bandwidth utilization, from low to high, and preferentially display the host with low bandwidth utilization to the remote device in the network server; The host control display module is used to monitor the host to which each remote device is connected, and to display a list of remote devices connected to the host in real time in the network server.
[0008] As a further improvement of the technical solution, the auxiliary host setting unit includes an auxiliary host screening module and a power-on working module; The auxiliary host screening module is used to obtain the file size sent by the remote device when it is detected that a remote device is connected to the host to transfer files, and at the same time screen the hosts that are not connected to the remote device as idle hosts on the network server; The host to which the remote device is connected is the working host; The startup working module is used to screen the idle host list according to the file size, obtain the idle host whose bandwidth utilization space is greater than the file size, and then adjust the idle host to an auxiliary host, and the network server starts the host adjusted to the auxiliary host by controlling the remote device; When there is no idle host, subsequent operations are stopped. When the bandwidth utilization space of the idle host is smaller than the file size, multiple idle hosts are combined to make the bandwidth utilization space larger than the file size.
[0009] As a further improvement of the technical solution, the file transmission auxiliary unit includes a file detection module and a file classification module; The file detection module is used to perform data detection preprocessing on the files being transmitted to the working host through the auxiliary host, deduplicate the files that the working host has not accepted for storage, and send a reminder to delete duplicate files to the remote device during the deduplication process; The file classification module is used to cache and classify the detected files when performing data detection preprocessing on the files, and then send the logs formed by the cache and file classification to the working host, so that the working host can optimize the storage of the files being transmitted.
[0010] As a further improvement of the present technical solution, when the file detection module sends a reminder to delete duplicate files to the remote device, the duplicate files are deleted according to the feedback of the remote device. When the remote device feedbacks deletion, the duplicate files are deleted. Conversely, when the remote device does not feedback deletion, the duplicate files are saved.
[0011] As a further improvement of the technical solution, the host reset unit includes a file backup module and a host reset module; The file backup module is used to store and back up the files in the detection preprocessing process through the auxiliary host. When the working host finishes storing the files transmitted by the remote device, the backup file is used to perform integrity check on the files stored in the working host. When there are missing files, the missing files of the working host are supplemented by the backup file. On the contrary, when there are no missing files, the integrity check is passed. The host reset module is used to determine that the file transfer is completed after passing the integrity check, send a reset signal to the remote equipment of the auxiliary host through the network server, and control the auxiliary host through the remote equipment to complete the reset operation and restore the idle host.
[0012] Compared with the prior art, the present invention has the following beneficial effects: In the system for remote file transmission and storage through remote equipment, by performing integrity check after file transmission, the system can confirm that the data has not been damaged or tampered with during the transmission process, and the use of hash values can effectively detect transmission errors, ensuring that the received data is completely consistent with the original data, thereby improving the reliability and accuracy of data transmission, and then the system sends a reset signal to the remote equipment of the auxiliary host through the network server to automatically trigger the reset operation. This automated process reduces the need for manual intervention, reduces the possibility of operational errors, and improves the management efficiency of the system. After the reset operation is completed, the auxiliary host automatically returns to an idle state and is ready to accept new tasks or data. Such automated management can improve the overall operating efficiency of the system; Through effective file transfer integrity checking and automatic reset operations, the system can optimize resource usage and ensure that the auxiliary host can be restored to an idle state in a timely manner after each task is completed, avoiding the waste of resources that may be caused by untimely reset. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 It is the overall structural principle diagram of the present invention; The meaning of each number in the figure is: 10. Connection establishment unit; 20. Host display unit; 30. Auxiliary host setting unit; 40. File transfer auxiliary unit; 50. Host reset unit. DETAILED DESCRIPTION
[0014] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0015] See also Figure 1 As shown, the purpose of this embodiment is to provide a system for realizing remote file transmission and storage through remote equipment, including a connection establishment unit 10, a host display unit 20, an auxiliary host setting unit 30, a file transmission auxiliary unit 40 and a host reset unit 50; The connection establishment unit 10 is used to install the remote device in the host chassis, complete the switch and reset operation of the host through the remote device, and establish a network server to give the remote device the authority to transfer files to the host using the remote device; The connection establishment unit 10 connects the remote device in series between the host chassis power on and reset buttons and the mainboard FPanel, and communicates and supplies power to the mainboard via USB; Use an integrated 9-pin DuPont cable to connect to the motherboard FPanel interface, compatible with all chassis; The remote equipment is connected to the network server via WiFi, and the remote device is connected to the network server via Ethernet; At the same time, the remote installation reserves an independent power supply interface. When the motherboard does not support USB shutdown power supply, it can still be powered by the standby 5V of the ATX power supply. The remote client connects to the remote device through MQTT with authorization to perform remote power on / off and reset operations.
[0016] The remote equipment collects the host operation status through the POWERLED interface of the FPanel, and uploads the collected host operation status to the network server.
[0017] When the chassis power button or reset button is pressed, the remote device will trigger the power on / off or reset signal; Remote devices such as mobile phones, tablets, PCs, etc. The remote device can also enable "child lock" to disable local button operations, so that the remote device will not trigger the power on / off and reset operations after receiving the button signal from the chassis; The host display unit 20 is used to collect the working status of the host through remote equipment and upload it to the network server, use the network server to display it to the remote device in sequence, and display the list of devices that control the host in real time in the network server; The host display unit 20 includes a host display module and a host control display module; The host display module is used to screen and sort the host operation status uploaded by the remote device in the network server, so as to extract the bandwidth utilization of each host, sort them according to the bandwidth utilization, from low to high, and give priority to displaying the host with low bandwidth utilization to the remote device in the network server. The specific working steps are as follows: Collect data: Use remote equipment to collect host operating status data, including bandwidth utilization, and receive and store this data through a network server, usually in JSON or CSV format; Data processing: Extract bandwidth utilization from the uploaded data. You can use scripts or database queries to parse and process this data, and store the extracted bandwidth utilization and related host information in the database; Sorting: Use tools to sort data by bandwidth utilization; Display data: Display the sorted host list on the front-end interface of the network server, such as a web application, giving priority to hosts with lower bandwidth utilization.
[0018] The host control display module is used to monitor the host to which each remote device is connected, and to display the list of remote devices connected to the host in real time on the network server. The specific working steps are as follows: Data collection: Use network monitoring tools such as Nginx logs and network traffic analysis tools to monitor the connection status of each remote device and host in real time, and record connection logs, including the IP address of the remote device, the IP address of the host, the connection time, and other information; Data storage: Store the connection information in a database, such as MySQL, and query the database periodically to obtain the latest connection data; The data is displayed in real time on the front-end interface of the network server and can be updated in real time using WebSocket.
[0019] The auxiliary host setting unit 30 is used to filter auxiliary hosts in the idle host list on the network server according to the file size when the remote device is transmitting a file to the host, and control the remote device to perform a power-on operation according to the filtering result; The auxiliary host setting unit 30 includes an auxiliary host screening module and a startup working module; The auxiliary host screening module is used to obtain the file size sent by the remote device when it detects that a remote device is connected to the host to transfer files. At the same time, the network server screens the host that has no remote device connected as an idle host. The specific working steps are as follows: Monitor file transfers: Configure remote devices or file transfer servers such as FTP and SFTP servers to log file transfer events, including file sizes, and extract file size information from log files. You can use log parsing tools or scripts such as Python scripts; Get file size: The record format can include the file transfer size, and use the script to extract the file size; Filter idle hosts: Regularly check the database or log to identify hosts that currently have no remote devices connected, and display these idle hosts on the front-end interface of the network server.
[0020] The host to which the remote device is connected is the working host; The startup working module is used to filter the idle host list according to the file size, obtain the idle host whose bandwidth utilization space is greater than the file size, and then adjust the idle host to the auxiliary host, and the network server controls the remote device to start the host adjusted to the auxiliary host; When there are no idle hosts, subsequent operations are stopped. When the bandwidth utilization space of the idle hosts is smaller than the file size, multiple idle hosts are combined to make the bandwidth utilization space larger than the file size. The specific working steps are as follows: Obtain bandwidth utilization space: It is necessary to collect and monitor the bandwidth utilization space of each host. This data can be obtained through network monitoring tools or network management systems, and the bandwidth utilization data can be stored in the database; Filter idle hosts: Get currently unconnected idle hosts from the previously defined database table; Filter eligible hosts: Get the file size from the file transfer log and compare it with the bandwidth utilization space of each idle host; Adjust host status: Update the status of the host in the database or system, mark the qualified host as an auxiliary host, and use remote equipment to power on the device marked as an auxiliary host.
[0021] The file transfer auxiliary unit 40 is used to use the auxiliary host to perform data detection preprocessing on the files being transferred in combination with the files stored in the working host, send duplicate files to the remote device for reminder, and record and classify the files according to the detection preprocessing records, and then send them to the working host for storage optimization; The file transmission auxiliary unit 40 includes a file detection module and a file classification module; The file detection module is used to perform data detection preprocessing on the files being transmitted to the working host through the auxiliary host, deduplicate the files that the working host has not accepted for storage, and send a reminder to delete duplicate files to the remote device during the deduplication process. The specific working steps are as follows: Data detection preprocessing: Calculate the hash value of the file, such as SHA-256, on the auxiliary host to perform deduplication check; Deduplication processing: Maintain a hash table on the working host and the auxiliary host to record the accepted file hash values, calculate the hash value of the file being transferred, and compare it with the existing hash value; Deduplication operation: If duplicate files are found, a deletion reminder is sent to a remote device such as a file transfer server, and then the duplicate files are deleted on the working host.
[0022]
[0023] in, is a file The hash value of , using a hash function such as SHA-256;
[0024] in, is a collection of hash values of stored files;
[0025] Deleting files if is true, that is, the file is a duplicate;
[0026] Send a notification email to the remote device to inform that the file f has been deleted.
[0027] When the file detection module sends a reminder to delete duplicate files to the remote device, it deletes duplicate files according to the feedback of the remote device. When the remote device feedbacks deletion, the duplicate files are deleted. Conversely, when the remote device does not feedback deletion, the duplicate files are saved.
[0028] The file classification module is used to cache and classify the detected files during data detection preprocessing, and then send the logs formed by the cache and file classification to the working host, so that the working host can optimize the storage of the files being transmitted. The specific working steps are as follows:
[0029] File Stored in cache directory for processing;
[0030] To file To classify, is the classification criteria, such as file type or size;
[0031] Generates a log containing cache information and classification results;
[0032] Log Send to the working host;
[0033] The working host optimizes the storage of the transmitted files based on the log information, which may include operations such as compression and merging.
[0034] The host reset unit 50 is used to store and back up the files pre-processed by the detection, and then compare the backup files with the files stored in the working host for integrity verification. After the working host finishes storing the files, the remote equipment controls the auxiliary host to reset.
[0035] The host reset unit 50 includes a file backup module and a host reset module; The file backup module is used to store and back up the files in the detection preprocessing process through the auxiliary host. When the working host finishes storing the files transmitted by the remote device, the backup file is used to perform integrity check on the files stored in the working host. When there are missing files, the missing files of the working host are supplemented by the backup file. Conversely, when there are no missing files, the integrity check is passed. The host reset module is used to determine that the file transfer is complete after passing the integrity check, send a reset signal to the remote equipment of the auxiliary host through the network server, and control the auxiliary host through the remote equipment to complete the reset operation and restore the idle host.
[0036] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments. The above embodiments and descriptions are only preferred examples of the present invention and are not intended to limit the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A system for remote file transmission and storage via remote equipment, characterized in that: It comprises a connection establishing unit (10), a host display unit (20), an auxiliary host setting unit (30), a file transfer auxiliary unit (40) and a host resetting unit (50); The connection establishment unit (10) is used to install the remote device in the host chassis, complete the switch and reset operations on the host through the remote device, and establish a network server to give the remote device the authority to transmit files to the host using the remote device; The host display unit (20) is used to collect the working status of the host through remote equipment and upload it to the network server, use the network server to display it in sequence to the remote device, and display a list of devices that control the host in real time on the network server; The auxiliary host setting unit (30) is used to select auxiliary hosts in an idle host list on a network server according to the size of the file when the remote device is transmitting a file to the host, and to control the remote device to perform a power-on operation according to the screening result; The file transfer auxiliary unit (40) is used to use the auxiliary host to perform data detection preprocessing on the files being transferred in combination with the files stored in the working host, send duplicate files to the remote device for reminder, and record and classify the files according to the detection preprocessing records, and then send them to the working host for storage optimization; The host reset unit (50) is used to store and back up the files pre-processed by the detection, and then compare the backup files with the files stored by the working host for integrity verification. After the working host finishes storing the files, the remote equipment controls the auxiliary host to reset.
2. The system for remote file transmission and storage via remote equipment according to claim 1, characterized in that: The connection establishing unit (10) connects the remote device in series between the power on and reset buttons of the host chassis and the mainboard FPanel, and communicates with the mainboard and supplies power via USB; Use the integrated 9-pin DuPont cable to connect to the motherboard FPanel interface; The remote equipment is connected to the network server via WiFi, and the remote device is connected to the network server via Ethernet; At the same time, the remote installation reserves an independent power supply interface. When the motherboard does not support USB shutdown power supply, it can still be powered by the standby 5V of the ATX power supply. The remote client connects to the remote device through MQTT with authorization to perform remote power on / off and reset operations.
3. The system for remote file transmission and storage via remote equipment according to claim 1, characterized in that: The remote device collects the host operation status through the POWERLED interface of the FPanel, and uploads the collected host operation status to the network server.
4. The system for remote file transmission and storage via remote equipment according to claim 1, characterized in that: The host display unit (20) comprises a host display module and a host control display module; The host display module is used to screen and sort the host operation status uploaded by the remote device in the network server, so as to extract the bandwidth utilization of each host, sort them according to the bandwidth utilization, from low to high, and preferentially display the host with low bandwidth utilization to the remote device in the network server; The host control display module is used to monitor the host to which each remote device is connected, and to display a list of remote devices connected to the host in real time in the network server.
5. The system for remote file transmission and storage via remote equipment according to claim 1, characterized in that: The auxiliary host setting unit (30) comprises an auxiliary host screening module and a startup working module; The auxiliary host screening module is used to obtain the file size sent by the remote device when it is detected that a remote device is connected to the host to transfer files, and at the same time screen the hosts that are not connected to the remote device as idle hosts on the network server; The host to which the remote device is connected is the working host; The startup working module is used to screen the idle host list according to the file size, obtain the idle host whose bandwidth utilization space is greater than the file size, and then adjust the idle host to an auxiliary host, and the network server starts the host adjusted to the auxiliary host by controlling the remote device; When there is no idle host, subsequent operations are stopped. When the bandwidth utilization space of the idle host is smaller than the file size, multiple idle hosts are combined to make the bandwidth utilization space larger than the file size.
6. The system for remote file transmission and storage via remote equipment according to claim 1, characterized in that: The file transmission auxiliary unit (40) comprises a file detection module and a file classification module; The file detection module is used to perform data detection preprocessing on the files being transmitted to the working host through the auxiliary host, deduplicate the files that are not accepted and stored by the working host, and send a reminder to delete duplicate files to the remote device during the deduplication process; The file classification module is used to cache and classify the detected files when performing data detection preprocessing on the files, and then send the logs formed by the cache and file classification to the working host, so that the working host can optimize the storage of the files being transmitted.
7. The system for remote file transmission and storage via remote equipment according to claim 6, characterized in that: When the file detection module sends a reminder to delete duplicate files to the remote device, the duplicate files are deleted according to the feedback of the remote device. When the remote device feedbacks deletion, the duplicate files are deleted. Conversely, when the remote device does not feedback deletion, the duplicate files are saved.
8. The system for remote file transmission and storage via remote equipment according to claim 1, characterized in that: The host reset unit (50) comprises a file backup module and a host reset module; The file backup module is used to store and back up the files in the detection preprocessing process through the auxiliary host. When the working host finishes storing the files transmitted by the remote device, the backup file is used to perform integrity check on the files stored in the working host. When there are missing files, the missing files of the working host are supplemented by the backup file. On the contrary, when there are no missing files, the integrity check is passed. The host reset module is used to determine that the file transfer is completed after passing the integrity check, send a reset signal to the remote equipment of the auxiliary host through the network server, and control the auxiliary host through the remote equipment to complete the reset operation and restore the idle host.
Citation Information
Patent Citations
Idle node assistance method for P2P (peer-to-peer) file transmission
CN102244670A
Replicating data
CN103229172A
Distributed file storage device and method
CN104391930A
File transmission system and method thereof with less resource occupation and high reliability
CN106506690A
Cluster capacity adjusting method and device
CN110289994A
Cited By
System for realizing remote file transmission and storage through remote equipment
CN120050280A
