Cloud File Upload Method Using Eigenvalue Pre-check
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In cloud storage systems, the application server cannot perform checking before a client uploads a file, leading to unnecessary file transmission, increased processing time, and potential waste of traffic and storage space due to redundant files.
Innovation Solution
A method where an eigenvalue of the target file is extracted and submitted to the application server for determination, allowing the server to decide if the file should be uploaded, and if so, the file is divided into entities for sequential upload, optimizing the process and reducing unnecessary traffic and storage consumption.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the client uploads the entire file before checking, then the file is available for storage, but traffic is wasted and processing time is increased
Solution Approach 1:
The application server performs preliminary checking of the file (using feature data or hash values) before the client completes the entire upload process. This allows the server to determine in advance whether the file needs to be stored, avoiding the waste of uploading complete files that will later be deleted.
Solution Approach 2:
The patent extracts and transmits only the essential identification information (feature data or hash value) of the file for preliminary checking, rather than transmitting the entire file. This separation allows the server to make storage decisions based on minimal data transfer.
2Reliability
If the application server forwards the file for storage, then the file can be stored centrally, but the client must upload the entire file increasing processing time
Solution Approach 1:
The application server performs preliminary checking before the client completes the full upload. By using feature data or hash values for early verification, the server can determine storage necessity without waiting for complete file transmission, significantly reducing the client's upload time commitment.
Solution Approach 2:
The patent separates the file identification function (feature data/hash) from the file content itself. This segmentation allows the identification data to be processed independently and quickly by the application server, while the actual file upload can be conditionally initiated or cancelled based on the preliminary check result.
3Loss of energy
If the client uploads the file directly to the file server, then traffic is reduced, but redundant files are generated wasting storage space
Solution Approach 1:
The application server acts as an intermediary between the client and file server. It receives the file or file identification from the client, performs preliminary checking using feature data or hash values, and then determines whether to forward the file to the file server. This intermediary role prevents redundant files from being stored while maintaining efficient direct upload paths.
Solution Approach 2:
The application server performs preliminary checking of file identification data before the file is forwarded to the file server for storage. This advance verification ensures that only unique, valid files are transmitted to the file server, preventing storage space waste from redundant copies.
4Reliability
If the application server checks feature data after upload, then file validity can be verified, but the file must be fully uploaded first increasing time consumption
Solution Approach 1:
The application server performs the checking action in advance, using feature data or hash values that can be extracted and processed quickly. By conducting the validity verification before complete file upload, the system avoids the time penalty of uploading entire files only to reject them later.
Solution Approach 2:
The patent extracts the essential verification information (feature data or hash value) from the file and uses this extracted data for preliminary checking. This extraction allows the application server to perform validity verification on minimal data rather than waiting for and processing the entire file.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
The present invention discloses a file uploading method, a client, and an application server in cloud storage, and a cloud storage system. The method includes: extracting an eigenvalue of a target file to be uploaded; submitting an upload request including the eigenvalue to an application server, so that the application server determines, according to the upload request, whether a client needs to upload the target file; receiving an execution instruction that is sent, according to a determining result, by the application server; and if the execution instruction is an upload instruction, uploading the target file to a file server according to the upload instruction. The present invention can optimize a file uploading process, thereby avoiding a waste of traffic, and improving uploading efficiency.