External Link Resource Upload via Storage Server Verification
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In existing network hard disk systems, public visitors can download resources via external links but cannot upload resources to the network hard disk, limiting the functionality of external-link creators.
Innovation Solution
A method and apparatus that allow external-link creators to acquire resources by sending a resource check request to a storage server with resource information, an external link identifier, and storage location information, enabling the server to search and store the resource or its location, thus enabling two-way resource sharing through external links.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If public visitors can download resources via external links, then resource accessibility is improved, but resource upload capability is lost
Solution Approach 1:
The external link is designed to support multiple operations including both download and upload functions. The storage server receives operation requests from clients using the external link and routes them to appropriate processing modules, enabling the same link to serve both downloading and uploading purposes
2Adaptability or versatility
If external links are created for public access, then resource sharing scope is expanded, but resource acquisition capability for creators is reduced
Solution Approach 1:
The system implements a feedback mechanism where the storage server checks resource information against the external link's attribute information and returns verification results to the client. This allows the external-link creator to upload resources through the same link they created for sharing, with the server confirming successful uploads by checking resource attributes
3Reliability
If resource checking is performed before storage, then data integrity is improved, but system overhead is increased
Solution Approach 1:
The storage server performs resource checking before actual storage operations by comparing resource information with external link attributes. This preliminary verification ensures data integrity and authorization validity before committing storage resources, preventing unauthorized or malformed data from being stored
Data Source
AI summary
A method and an apparatus for acquiring a resource. An embodiment of the present invention provides a method for acquiring a resource, including receiving, by a storage server, a resource check request sent by a first client, where the resource check request carries resource information of a resource to be uploaded by the first client, an identifier of an external link created by a second client, and storage location information corresponding to the external link; searching, by the storage server, according to the identifier, a database configured to store external-link information for an attribute of the external link corresponding to the identifier of the external link, and checking the resource information according to a value of the found attribute; and if the check succeeds, storing, by the storage server the acquired resource or acquired resource location information according to the storage location information.


