Method for uploading file, client, server and system
A file uploading and client-side technology, applied in the transmission system, electrical components, etc., can solve the problems of large network transmission volume and long waiting time for users, and achieve the effect of reducing delay, reducing network transmission volume, and reducing waiting time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0062] The embodiment of the present invention provides a method for uploading files, see figure 1 , the method flow is as follows:
[0063] 101: Receive the file upload request sent by the client;
[0064] 102: Judging whether there is a file with the same MD5 value as the file to be uploaded, if yes, then execute step 103, otherwise, execute step 104;
[0065] 103: If there is a file with the same MD5 value as the file to be uploaded, use the file with the same MD5 value as the file to be uploaded;
[0066] 104: If there is no file with the same MD5 value as the file to be uploaded, then judge whether there is a file with the same file name as the file to be uploaded in the files uploaded by the client before, if yes, then perform step 105, otherwise, Execute step 106;
[0067] 105: If there is a file with the same file name as the file to be uploaded, calculate the different parts of the file to be uploaded and the file with the same file name, and make the client upload...
Embodiment 2
[0071] The embodiment of the present invention provides a method for uploading files, see figure 2 , the method flow is as follows:
[0072] 201: Receive the file upload request sent by the client;
[0073] Specifically, the server receives the file upload request sent by the user through the client, and the request includes the user's local address of the file to be uploaded by the user. For example, when a user requests to upload an attachment in an email, to upload a photo to an album, or to upload a video, etc., the corresponding client sends these file upload requests to the server.
[0074] Among them, after the client receives the user's file upload request and before sending the file upload request to the server, it can first check whether the format, size, specification and security of the file to be uploaded meet the requirements. The file upload request is sent to the server for subsequent processing, and if at least one item does not meet the requirements, an er...
Embodiment 3
[0108] An embodiment of the present invention provides a file uploading client, which is used to execute the method steps performed by the client in the first and second embodiments above, see image 3 , the client includes:
[0109] Sending module 301, configured to send a file upload request to the server;
[0110] The partial upload module 302 is used to upload the file to the server when the server judges that there is a file with the same file name as the file to be uploaded in the file uploaded by the client after the sending module 301 sends the file upload request to the server. Different parts of the file with the same name as the file to be uploaded;
[0111] The full upload module 303 is used to send a file upload request to the server after the sending module 301, when the server judges that there is no file with the same file name as the file to be uploaded in the file uploaded by the client, send the file to the server Upload all the files to be uploaded.
[0...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com