File access method, device and system and electronic equipment
A file access and electronic device technology, applied in the network field, can solve the problems of high access pressure on the central server, inability to provide distributed storage services, and increased client access delay.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0101] Embodiment 1. A file access method, used in a system including at least one central server, at least one client, and multiple proxy servers, such as figure 2 As shown, including S110~S130:
[0102] S110. The client obtains information of multiple proxy servers from the central server;
[0103] S120. The client determines the proxy server corresponding to the file to be accessed according to the name of the file to be accessed, a predetermined rule, and the information of the plurality of proxy servers;
[0104] S130. The client sends an access request for the file to be accessed to a proxy server corresponding to the file to be accessed.
[0105] In this embodiment, the client obtains the information of multiple proxy servers at one time, and can determine the proxy server used when accessing the file without accessing the central server, so the access delay can be reduced and the access efficiency can be improved; in addition, the same A client may use different pro...
Embodiment 2
[0149] Embodiment 2. A file access method, used in a system comprising at least one central server, at least one client, and multiple proxy servers, such as Figure 4As shown, including S210~S220:
[0150] S210. The central server determines multiple proxy servers for the client;
[0151] S220. The central server sends the determined information of multiple proxy servers to the client.
[0152] In this embodiment, the information of multiple proxy servers sent by the central server to the client may be used for the client to select a proxy server for accessing files.
[0153] In this embodiment, the client does not need to interact with the central server when accessing the file, so the access delay can be reduced and the access efficiency can be improved.
[0154] In this embodiment, the system including at least one central server, at least one client, and multiple proxy servers may be, but not limited to, used for file access to a distributed storage system. The proxy se...
Embodiment 3
[0169] Embodiment 3. A file access method, used in a system comprising at least one central server and multiple proxy servers, such as Figure 5 As shown, including S310~S320:
[0170] S310. After the proxy server fails to obtain the write lock of the file to be accessed, it initiates an operation of preempting the write lock of the file to be accessed to the central server;
[0171] S320. After the proxy server successfully seizes the write lock of the file to be accessed, it performs a write operation on the file to be accessed.
[0172] In this embodiment, when the proxy server that is writing to a certain file fails, other proxy servers can occupy the write lock of the file, so as to complete the writing operation of the file.
[0173] In this embodiment, the system including at least one central server and multiple proxy servers may be used, but not limited to, for file access to a distributed storage system. The proxy server can, but is not limited to, access files in ...
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