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.

Active Publication Date: 2018-04-17
ALIBABA GRP HLDG LTD
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] When the client needs to read or write data, it first requests the allocation of a proxy server from the central server, and then performs read or write operations through the proxy server; this processing method requires the client to interact with the c...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • File access method, device and system and electronic equipment
  • File access method, device and system and electronic equipment
  • File access method, device and system and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

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 ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a file access method, device and system and electronic equipment. The method is used in a system which comprises at least one central server, at least one client, and a plurality of proxy servers. The method comprises the steps that the client obtains the information of the proxy servers from the central server; the client determines the proxy server corresponding to a to-be-visited file according to the name of the to-be-visited file, predetermined rules and the information of the proxy servers; the client transmits an access request of the to-be-visited file to the proxy server corresponding to the to-be-visited file. The method can alleviate the pressure on the central server, and improves the access efficiency of a distributed storage system.

Description

technical field [0001] The invention relates to the network field, in particular to a file access method, device, system and electronic equipment. Background technique [0002] As the infrastructure of an Internet company or software company, a large-scale distributed storage system provides storage services for various application layer businesses. [0003] A proxy-based file access system for distributed storage systems such as figure 1 As shown, there are usually multiple peer-to-peer agents providing services, figure 1 The client in is the client program of the end user; the proxy server accesses the distributed storage system by invoking the sdk software development kit (Software Development Kit, sdk) provided by the distributed storage system, and through the representational state transfer (REpresentational State Transfer, REST ) Application Programming Interface (Application Programming Interface, API) provides proxy services to the client; the central server provi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L29/08G06F17/30
CPCH04L67/1097G06F16/183H04L67/56
Inventor 刘金鑫董乘宇朱家稷
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products