WO2017054543A1 - 一种云盘资源访问方法和装置 - Google Patents

一种云盘资源访问方法和装置 Download PDF

Info

Publication number
WO2017054543A1
WO2017054543A1 PCT/CN2016/088215 CN2016088215W WO2017054543A1 WO 2017054543 A1 WO2017054543 A1 WO 2017054543A1 CN 2016088215 W CN2016088215 W CN 2016088215W WO 2017054543 A1 WO2017054543 A1 WO 2017054543A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
cloud disk
cloud
account
index
Prior art date
Application number
PCT/CN2016/088215
Other languages
English (en)
French (fr)
Inventor
范超
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017054543A1 publication Critical patent/WO2017054543A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0643Management of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements

Definitions

  • the present application relates to, but is not limited to, the field of data storage, and in particular, to a cloud disk resource access method and apparatus.
  • Cloud storage provides a large amount of low-cost storage resources.
  • the scale of personal cloud storage users is expanding, including many enterprises (IT Technology) managers are considering enterprises.
  • Data is migrated to the cloud to reduce operating costs.
  • These cloud storage services provide an object operation interface based on the RESTful (Representational State Transfer) interface of HTTP (hypertext transfer protocol) for unstructured data.
  • RESTful Real State Transfer
  • HTTP hypertext transfer protocol
  • the cloud disk unified management solution uses a cloud network disk file manager client to log in multiple accounts in the cloud network disk file manager client, and manages the space of each cloud disk account separately, and performs uploading and downloading. , delete and retrieve cloud disk files and other operations.
  • this management solution cannot be implemented across the cloud disk. It cannot truly realize the integrated utilization and effective management of multiple cloud disk space resources.
  • the data availability and QoS (Quality of Service) between each cloud disk cannot be achieved. Guarantee.
  • the embodiment of the invention provides a cloud disk resource access method and device, which can solve the technical problem that the data availability and QoS of each cloud disk cannot be ensured by integrating and utilizing multiple cloud disk space resources.
  • a cloud disk resource access method includes:
  • the index is an access token obtained by acquiring a cloud disk account in advance, and is established according to the access token.
  • establishing an index according to the access token includes:
  • the access token of the cloud disk account obtained according to the obtained file corresponds to the file in the cloud disk account.
  • the obtaining the access token of the cloud disk account includes:
  • a prompt message is output, prompting the user to input the account and password of the cloud disk account on the authorization page.
  • the access token of the cloud disk account is obtained according to the verification code.
  • the method further includes:
  • the hash value is calculated according to the access token.
  • the performing the corresponding operation on the file in the cloud client by using the index according to the operation instruction includes:
  • downloading the file by sending a download request to a cloud disk account that stores the file, and saving the downloaded file to the cache area;
  • a cloud disk resource access device where the device for storing a cloud disk resource includes:
  • the module is set up to obtain an access token of the cloud disk account, and an index is established according to the access token.
  • the obtaining module is configured to detect an operation instruction of the user on the file in the cloud disk account, and obtain an index corresponding to the file.
  • An execution module configured to perform a corresponding operation on the file in the cloud client by using the index according to the operation instruction, where the cloud client includes a corresponding cloud disk account deposited through the index The file in .
  • the establishing module includes: a scanning unit and a first establishing unit.
  • the establishing module correspondingly establishing an index according to the access token includes:
  • the scanning unit is configured to scan a file in the cloud disk account according to the obtained access token of the cloud disk account.
  • the first establishing unit is configured to establish a global index according to an attribute of a file in the cloud disk account.
  • the establishing module further includes: a first sending unit, an output unit, and an acquiring unit.
  • the first sending unit is configured to send a verification code request to the cloud disk where the cloud disk account is located through the preset interface, so that the cloud disk requests to return a verification resource and a uniform resource locator URL of the authorization page according to the verification code request.
  • the output unit is configured to, when receiving the verification code and the URL of the authorization page, output a prompt message, prompting the user to input the account and password of the cloud disk account on the authorization page.
  • the obtaining unit is configured to detect an account and a secret entered on the authorization page by the user When the code is coded, the access token of the cloud disk account is obtained according to the verification code.
  • the establishing module further includes: a calculating unit, a second establishing unit, and a synchronizing unit.
  • the calculating unit is configured to: after detecting the account and the password entered by the user on the authorization page, after the obtaining unit acquires the access token of the cloud disk account according to the verification code, according to the The access token calculates a hash value.
  • the second establishing unit is configured to establish a correspondence table between the cloud disk account, the access token, and the hash value.
  • the synchronization unit is configured to synchronize the correspondence table to the corresponding cloud disk account, wherein the correspondence is used to obtain the correspondence table from the cloud disk account when the cloud client is replaced And establishing an index according to the corresponding relationship table.
  • the execution module includes: a determining unit, a second sending unit, and an executing unit.
  • the executing module performs corresponding operations on the file in the cloud client by using the index according to the operation instruction, including:
  • the determining unit is configured to determine whether the file exists in a cache area where an index corresponding to the file exists when the operation instruction is to perform an editing operation on the file.
  • the second sending unit is configured to: if the file does not exist in the buffer area, download the file by sending a download request to a cloud disk account that stores the file, and save the downloaded file to the file In the cache area.
  • the execution unit is configured to perform a corresponding editing operation on the file in the buffer area if the file exists in the buffer area.
  • a computer readable storage medium storing computer executable instructions, the computer executable instructions being implemented by a processor to implement the cloud disk resource access method.
  • the file in the cloud disk account is virtually stored in the cloud client by using an access token corresponding to the cloud disk account, and an operation instruction for the file in the cloud disk account is detected, and the operation is obtained.
  • FIG. 1 is a schematic flowchart of a first embodiment of a method for accessing a cloud disk resource according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of establishing an index according to an access token according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of performing a corresponding operation on a file in a cloud client by using an index according to an operation instruction according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of functional modules of a first embodiment of a cloud disk resource access device according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of a module for establishing an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of an execution module in an embodiment of the present invention.
  • the embodiment of the invention provides a cloud disk resource access method.
  • FIG. 1 is a schematic flowchart of a first embodiment of a method for accessing a cloud disk resource according to an embodiment of the present invention.
  • the cloud disk resource access method includes steps S10-S30:
  • Step S10 Acquire an access token of the cloud disk account, and establish an index according to the access token to store the file in the cloud disk account into the cloud client.
  • the cloud client selects the cloud disk account provided by the cloud disk to obtain an access token for each cloud disk account.
  • the cloud client performs authorization for each cloud disk account user through the OAuth (Open Authorization) protocol, and obtains credentials for each user cloud disk account identity authentication and authorization, that is, obtains an access token for each user cloud disk account.
  • the cloud client adds the cloud disk account to its virtual storage pool, calculates a hash value according to the obtained access token, and establishes an index according to the hash value, that is, the cloud disk account is The file is virtually stored in a virtual storage pool in the cloud client.
  • the index library where the index is located maintains attributes such as file name, file size, modification time, and version number of all files in the storage pool, the local cache path of the cloud client, and the location of the cloud main file and the copy file. Set the fields.
  • the OAuth protocol provides a secure, open, and simple standard for authorization of user resources. After a user authorizes a third-party application, the user-authorized resource can be accessed without using the user's username and password.
  • Step S20 detecting an operation instruction of the user on the file in the cloud disk account, and acquiring an index corresponding to the file.
  • the cloud client detects an operation instruction of a file in the cloud disk account by the user, for example, when detecting that the user wants to edit, delete, and back up a file in a cloud disk account, An index corresponding to the file, where the cloud client local path in the index of the file points to a file locally cached by the cloud client.
  • the cloud client provides local cache, multiple copies of the cloud disk, and encrypted storage file attributes for cloud disk storage management.
  • High QoS applications are sensitive to the latency of file storage access, thus preserving the local cache of files.
  • Sensitive data related to security or user privacy needs to be encrypted online before being saved to the cloud disk, converted to ciphertext storage, and key-related data is stored locally in the cloud client.
  • Step S30 Perform a corresponding operation on the file in the cloud client by using the index according to the operation instruction.
  • the cloud client searches for the file to be operated by the user by using an index of the file according to the operation instruction of the file in the cloud disk account, and performs a corresponding operation on the file in the cloud client. operating. For example, when the file 1 in the cache area of the cloud client has the requirements of QoS and backup, the location of the file 1 in the cache area is found by the index of the file 1. The local path in the index of file 1 points to file 1 in the local cache.
  • the cloud client stores the main file 1 in a cloud disk account with a hash value corresponding to the index of the file 1.
  • the copy file of the file 1 can be stored in a cloud disk with a relatively large storage space.
  • the cloud client needs to encrypt the file 2 in the cache and then distribute it to a cloud disk
  • the file 2 does not exist in the cache area, the file needs to be
  • the file 2 in the cloud disk is downloaded to the cache area for decryption processing.
  • the cloud client can also store the index of the file 3 in the cache area, and the main file of the file 3 is stored in the cloud disk to reduce the occupation of the hard disk resource of the cloud client.
  • the file is stored in the cloud client according to the access token of the cloud disk account, and the file in the cloud disk account is detected, and the operation instruction of the file in the cloud disk account is detected, and the file is obtained. Indexing, according to the operation instruction, performing a corresponding operation on the file in the cloud client by using the index.
  • Virtualization of multiple cloud disk space resources in a single storage pool enables unified scheduling management of multiple cloud disk storage resources and provides different storage services according to different business requirements.
  • FIG. 2 is a schematic diagram of obtaining an access token of a cloud disk account according to an embodiment of the present invention, and storing an index according to the access token to store a file in the cloud disk account to a cloud client. Schematic diagram of the process.
  • step S10 includes steps S11-S12:
  • Step S11 Corresponding to the obtained access token of the cloud disk account corresponding to scanning the file in the cloud disk account.
  • Step S12 A global index is established according to the attribute of the file in the cloud disk account, so that the file in the cloud disk account is stored in the cloud client.
  • the metadata of the file stored on the different cloud disk account is scanned according to the access token of each cloud disk account, according to each cloud disk.
  • the attributes such as the name, the location, the size, and the type of the file are associated with each other to establish a global index, so that the files in each of the cloud disk accounts are virtually stored in a virtual storage pool in the cloud client.
  • the obtaining the access token of the cloud disk account in step S11 includes steps S111-S113:
  • the cloud client registers an application API (Application Programming Interface) key of an open interface of each cloud disk account.
  • the cloud client selects a cloud disk account to be added to the storage pool from the cloud disk where the cloud disk account is located, and sends a verification code request to each cloud disk through a preset interface, when the cloud disk receives
  • the cloud disk verifies the identity of the cloud client, and after the cloud disk verifies the identity of the cloud client, sends a verification code of the cloud disk account according to the verification code request.
  • the URL of the authorization page (Uniform Resource Locator) is given to the cloud client.
  • the preset interface is for each cloud disk Application API key for open interfaces. That is, the cloud client selects a cloud disk account to be added to the storage pool from the cloud disk, and sends a verification code request to the cloud disk through an application API key of the open interface of the cloud disk.
  • the cloud client When the cloud client receives the verification code of the cloud disk account and the URL of the authorization page, the prompt message is output, and the user is prompted to input the account and password of the cloud disk account on the authorization page.
  • the cloud client sends the verification code and its callback connection to the cloud disk during the process of the user inputting the account and password of the cloud disk account on the authorization page.
  • the cloud disk authorizes the cloud client to access the resource of the file in the cloud disk account.
  • the cloud disk After the authorization is successful, the cloud disk directs the user to return to the page of the cloud client from the authorization page.
  • the cloud client obtains an access token of the cloud disk account from the cloud disk according to the verification code.
  • the cloud disk grants an access token of the cloud client according to the verification code and an authorization status to the user.
  • the method further includes: after detecting the account and the password entered by the user on the authorization page, after acquiring the access token of the cloud disk account according to the verification code, according to the The access token calculates the hash value.
  • the cloud client calculates a hash value according to the access token, and establishes a correspondence table between the cloud disk account, the access token, and the hash value, and the corresponding relationship table is in the cloud.
  • the client is locally encrypted and saved.
  • the correspondence table is a token table.
  • the token table is synchronized to the corresponding cloud disk for secure backup.
  • the reverse synchronization acquires the token table from the cloud, and does not need to re-authorize the user account for each cloud disk account directly.
  • the access token of the token table is used to scan the corresponding cloud disk to establish a global index of the corresponding cloud disk account file.
  • the corresponding relationship table is synchronized to the corresponding cloud disk account for when the cloud client is replaced.
  • the corresponding relationship table may be obtained from the cloud disk account, and an index is established according to the corresponding relationship table.
  • the cloud client supports remote re-establishment and solves the problem of cloud client environment migration.
  • FIG. 3 is a schematic flowchart of performing a corresponding operation on the file in the cloud client by using the index according to the operation instruction according to the embodiment.
  • step S30 includes steps S31-S33:
  • Step S31 when the operation instruction is to perform an editing operation on the file, determine whether the file exists in a buffer area where the index corresponding to the file exists.
  • the cloud client application uses the unified file. Add a file to the access interface, specifying the name and business attribute of the newly added file. After the cloud client specifies the name and the service attribute of the newly added file, creating an index of the newly added file, and editing the content of the newly added file in the cache area of the cloud client, by using HTTP The interface uploads the newly added file, and updates the local file index of the cloud client.
  • the cloud disk account uses a consistent hash algorithm, that is, the cloud client maps the cloud disk account and the file data in the cloud disk account to the same linear address space, and each cloud disk account is responsible for saving The data between the previous cloud account and the account of this cloud disk.
  • the cloud client needs to edit the file, first determine whether the file to be edited exists in the buffer area where the index is located by using an index of the file to be edited.
  • the unified file access interface may be expanded to a file access interface for the local network, so that not only the application in the local cloud client can invoke the unified file access interface, but also meets multiple terminals through the cloud client.
  • the endpoint accesses the cloud disk resource in the storage pool.
  • Step S32 if the file does not exist in the buffer area, download the file by sending a download request to the cloud disk account that stores the file, and save the downloaded file to the buffer area;
  • the cloud client determines that the file to be edited does not exist in the cache area, sending a request to download the file to be edited to the cloud disk account that stores the file to be edited, when the cloud When the disk account receives the request for downloading the file to be edited, the cloud client may download the file to be edited from the cloud disk account, and save the downloaded file to be edited. To the buffer area.
  • Step S33 if the file exists in the buffer area, perform a corresponding editing operation on the file in the buffer area.
  • the cloud client determines that the file to be edited exists in the cache area, compare the file to be edited in the cache area with a corresponding file in the cloud disk account, and when the file is found When the version of the file to be edited in the cache area is lower than the version of the corresponding file in the cloud disk account, the file corresponding to the file to be edited is downloaded from the cloud disk account, and the cache is replaced. The file to be edited in the area, and performing a corresponding editing operation on the file to be edited in the buffer area. When the cloud client completes the editing operation on the file to be edited, the edited file is uploaded to the cloud disk through the cloud disk update interface.
  • the file of the cloud disk account is cached in the local cache area of the cloud client, when the user is offline, the user can also perform the editing operation of the cloud disk account file in the cloud client.
  • the new version of the file when the cloud disk account is online, synchronizes the new version of the file to the corresponding cloud disk account.
  • developers can abstract data attributes, create data tables based on structured data APIs, and increase the execution of records in data tables. Management operations such as deletion, modification, and query.
  • the cloud client can create an index data table for files stored in the cloud disk, and obtain index information from each cloud disk index data table when scanning the established index, thereby speeding up index establishment efficiency.
  • This embodiment solves the problem of integration of cloud disk resources by uniformly managing the global address space of a plurality of distributed cloud disk storage resources and implementing application storage services with different characteristics.
  • the embodiment of the invention provides a cloud disk resource access device.
  • FIG. 4 is a schematic diagram of functional modules of a first embodiment of a cloud disk resource access device according to an embodiment of the present invention.
  • the apparatus for storing a cloud disk resource includes: an establishing module 10, an obtaining module 20, and an executing module 30.
  • the establishing module 10 is configured to obtain an access token of the cloud disk account, and establish an index according to the access token to store the file in the cloud disk account into the cloud client.
  • the cloud client selects the cloud disk account provided by the cloud disk to obtain an access token for each cloud disk account.
  • the cloud client performs authorization for each cloud disk account user through the OAuth (Open Authorization) protocol, and obtains credentials for each user cloud disk account identity authentication and authorization, that is, obtains an access token for each user cloud disk account.
  • the cloud client adds the cloud disk account to its virtual storage pool, calculates a hash value according to the obtained access token, and establishes an index according to the hash value, that is, the cloud disk account is The file is virtually stored in a virtual storage pool in the cloud client.
  • the index library in which the index is located maintains attributes such as file name, file size, modification time, and version number of all files in the storage pool, a local cache path of the cloud client, and a location of the cloud main file and the copy file.
  • the OAuth protocol provides a secure, open, and simple standard for authorization of user resources. After a user authorizes a third-party application, the user-authorized resource can be accessed without using the user's username and password.
  • the obtaining module 20 is configured to detect an operation instruction of the user on the file in the cloud disk account, and obtain an index corresponding to the file.
  • the cloud client detects an operation instruction of a file in the cloud disk account by the user, for example, when detecting that the user wants to edit, delete, and back up a file in a cloud disk account, An index corresponding to the file, where the cloud client local path in the index of the file points to a file locally cached by the cloud client.
  • the cloud client provides local cache, multiple copies of the cloud disk, and encrypted storage file attributes for cloud disk storage management.
  • High QoS applications are sensitive to the latency of file storage access, thus preserving the local cache of files.
  • Sensitive data related to security or user privacy needs to be encrypted online before being saved to the cloud disk, converted to ciphertext storage, and key-related data is stored locally in the cloud client.
  • the execution module 30 is configured to perform a corresponding operation on the file in the cloud client by using the index according to the operation instruction, where the cloud client includes a corresponding cloud disk stored in the index The file in the account.
  • the cloud client passes the operation instruction of the file in the cloud disk account by the user,
  • the index of the file finds a file to be operated by the user, and performs a corresponding operation on the file in the cloud client. For example, when the file 1 in the cache area of the cloud client has the requirements of QoS and backup, the location of the file 1 in the cache area is found by the index of the file 1.
  • the local path in the index of file 1 points to file 1 in the local cache.
  • the cloud client stores the main file 1 in a cloud disk account with a hash value corresponding to the index of the file 1.
  • the copy file of the file 1 can be stored in a cloud disk with a relatively large storage space.
  • the cloud client needs to encrypt the file 2 in the cache and then distribute it to a cloud disk
  • the file 2 does not exist in the cache area, the file needs to be
  • the file 2 in the cloud disk is downloaded to the cache area for decryption processing.
  • the cloud client can also store the index of the file 3 in the cache area, and the main file of the file 3 is stored in the cloud disk to reduce the occupation of the hard disk resource of the cloud client.
  • the file is stored in the cloud client according to the access token of the cloud disk account, and the file in the cloud disk account is detected, and the operation instruction of the file in the cloud disk account is detected, and the file is obtained. Indexing, according to the operation instruction, performing a corresponding operation on the file in the cloud client by using the index.
  • Virtualization of multiple cloud disk space resources in a single storage pool enables unified scheduling management of multiple cloud disk storage resources and provides different storage services according to different business requirements.
  • FIG. 5 is a schematic diagram of a functional module for establishing a module according to an embodiment of the present invention.
  • the establishing module 10 includes: a scanning unit 11 and a first establishing unit 12.
  • the establishing module correspondingly establishing an index according to the access token includes:
  • the scanning unit 11 is configured to scan the file in the cloud disk account according to the obtained access token of the cloud disk account.
  • the first establishing unit 12 is configured to establish a global index according to the attribute of the file in the cloud disk account to store the file in the cloud disk account into the cloud client.
  • the metadata of the file stored on the different cloud disk account is scanned according to the access token of each cloud disk account, according to the file of each cloud disk.
  • the attributes of the name, the location, the size, the type, and the like are correspondingly set to be globally stored, so that the files in each of the cloud disk accounts are virtually stored in a virtual storage pool in the cloud client.
  • the establishing module 10 further includes: a first sending unit, an output unit, and an acquiring unit.
  • the first sending unit is configured to send a verification code request to the cloud disk where the cloud disk account is located through the preset interface, so that the cloud disk requests to return a verification resource and a uniform resource locator URL of the authorization page according to the verification code.
  • the cloud client registers an application API (Application Programming Interface) key of an open interface of each cloud disk account.
  • the cloud client selects a cloud disk account to be added to the storage pool from the cloud disk where the cloud disk account is located, and sends a verification code request to each cloud disk through a preset interface, when the cloud disk receives
  • the cloud disk verifies the identity of the cloud client, and after the cloud disk verifies the identity of the cloud client, sends a verification code of the cloud disk account according to the verification code request.
  • the URL of the authorization page (Uniform Resource Locator) is given to the cloud client.
  • the preset interface is an application API key of an open interface of each cloud disk. That is, the cloud client selects a cloud disk account to be added to the storage pool from the cloud disk, and sends a verification code request to the cloud disk through an application API key of the open interface of the cloud disk.
  • an output unit configured to: when receiving the verification code and the URL of the authorization page, output a prompt message, prompting the user to input the account and password of the cloud disk account on the authorization page.
  • the obtaining unit is configured to acquire an access token of the cloud disk account according to the verification code when the account and the password entered by the user on the authorization page are detected.
  • the cloud client When the cloud client receives the verification code of the cloud disk account and the URL of the authorization page, the prompt message is output, and the user is prompted to input the account and password of the cloud disk account on the authorization page.
  • the cloud client sends the verification code and its callback connection to the cloud disk during the process of the user inputting the account and password of the cloud disk account on the authorization page.
  • the cloud disk authorizes the cloud client to access the resource of the file in the cloud disk account.
  • the cloud disk After the authorization is successful, the cloud disk directs the user to return to the page of the cloud client from the authorization page.
  • the cloud client obtains an access token of the cloud disk account from the cloud disk according to the verification code.
  • the cloud disk grants an access token of the cloud client according to the verification code and an authorization status to the user.
  • the establishing module 10 further includes: a calculating unit, a second establishing unit, and a synchronizing unit.
  • a calculating unit configured to: after detecting the account and the password entered by the user on the authorization page, after the obtaining unit acquires the access token of the cloud disk account according to the verification code, according to the access The token calculates the hash value.
  • a second establishing unit configured to establish a correspondence table between the cloud disk account, the access token, and the hash value.
  • a synchronization unit configured to synchronize the correspondence table to a corresponding cloud disk account, where the correspondence is used to obtain the correspondence table from the cloud disk account when the client is replaced, according to the The correspondence table corresponds to the index.
  • the cloud client calculates a hash value according to the access token, and establishes a correspondence table between the cloud disk account, the access token, and the hash value, and the corresponding relationship table is in the cloud.
  • the client is locally encrypted and saved.
  • the correspondence table is a token table.
  • the token table corresponding to the cloud disk account is used to synchronize the token table to the corresponding cloud disk for secure backup.
  • the reverse synchronization acquires the token table from the cloud, and does not need to re-authorize the user account for each cloud disk account directly.
  • the access token of the token table is used to scan the corresponding cloud disk to establish a global index of the corresponding cloud disk account file.
  • the corresponding relationship table is synchronized to the corresponding cloud disk account by establishing a corresponding relationship table between the cloud disk account, the access token, and the hash value, so that when the cloud client is replaced,
  • the correspondence relationship table may be obtained from the cloud disk account, and an index is established according to the correspondence relationship table.
  • the cloud client supports remote re-establishment and solves the problem of cloud client environment migration.
  • FIG. 6 is a schematic diagram of a functional module of an execution module according to an embodiment of the present invention.
  • the execution module 30 includes: a determining unit 31, a second sending unit 32, and an executing unit 33.
  • the executing module performs corresponding operations on the file in the cloud client by using the index according to the operation instruction, including:
  • the determining unit 31 is configured to determine whether the file exists in the buffer area where the index corresponding to the file exists when the operation instruction is to perform an editing operation on the file.
  • the cloud client detects that the user's operation instruction is to perform editing on a file in the cloud disk account.
  • the cloud client application uses the unified file access interface to add a file, and specifies the name and service attribute of the newly added file.
  • the cloud client specifies the name and the service attribute of the newly added file, creating an index of the newly added file, and editing the content of the newly added file in the cache area of the cloud client, by using HTTP
  • the interface uploads the newly added file, and updates the local file index of the cloud client.
  • the cloud disk account uses a consistent hash algorithm, that is, the cloud client maps the cloud disk account and the file data in the cloud disk account to the same linear address space, and each cloud disk account is responsible for saving The data between the previous cloud account and the account of this cloud disk.
  • the cloud client needs to edit the file, first determine whether the file to be edited exists in the buffer area where the index is located by using an index of the file to be edited.
  • the unified file access interface may be expanded to a file access interface for the local network, so that not only the application in the local cloud client can invoke the unified file access interface, but also meets multiple terminals through the cloud client.
  • the endpoint accesses the cloud disk resource in the storage pool.
  • the second sending unit 32 is configured to: if the file does not exist in the buffer area, download the file by sending a download request to the cloud disk account that stores the file, and save the downloaded file to the In the cache area.
  • the cloud client determines that the file to be edited does not exist in the cache area, sending a request to download the file to be edited to the cloud disk account that stores the file to be edited, when the cloud When the disk account receives the request for downloading the file to be edited, the cloud client may download the file to be edited from the cloud disk account, and save the downloaded file to be edited. To the buffer area.
  • the executing unit 33 is configured to perform a corresponding editing operation on the file in the buffer area if the file exists in the buffer area.
  • the cloud client determines that the file to be edited exists in the cache area, compare the file to be edited in the cache area with a corresponding file in the cloud disk account, and when the file is found When the version of the file to be edited in the cache area is lower than the version of the corresponding file in the cloud disk account, the file corresponding to the file to be edited is downloaded from the cloud disk account, and the cache is replaced. The file to be edited in the area, and performing a corresponding editing operation on the file to be edited in the buffer area. When the cloud client completes the editing operation on the file to be edited, the edited file is uploaded to the cloud disk through the cloud disk update interface.
  • the file of the cloud disk account cached in the cache area of the cloud client so when the user is offline, the user can also perform the editing operation of the cloud disk account file in the cloud client.
  • the new version of the file when the cloud disk account is online, synchronizes the new version of the file to the corresponding cloud disk account.
  • developers can abstract data attributes, create data tables based on structured data APIs, and increase the execution of records in data tables. Management operations such as deletion, modification, and query.
  • the cloud client can create an index data table for files stored in the cloud disk, and obtain index information from each cloud disk index data table when scanning the established index, thereby speeding up index establishment efficiency.
  • This embodiment solves the problem of integration of cloud disk resources by uniformly managing the global address space of a plurality of distributed cloud disk storage resources and implementing application storage services with different characteristics.
  • a computer readable storage medium storing computer executable instructions, the computer executable instructions being implemented by a processor to implement the cloud disk resource access method.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium (such as ROM/RAM, disk).
  • the optical disc includes a plurality of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method described in the embodiments of the present invention.
  • the file in the cloud disk account is virtually stored in the cloud client by using an access token corresponding to the cloud disk account, and an operation instruction for the file in the cloud disk account is detected, and the operation is obtained.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Storage Device Security (AREA)

Abstract

一种存储云盘资源的方法,包括步骤:获取云盘账号的访问令牌,根据所述访问令牌对应建立索引,以将云盘账号中的文件存储至云客户端中(S10);侦测用户对云盘账号中的文件的操作指令,获取与所述文件对应的索引(S20);根据所述操作指令,通过所述索引在所述云客户端中对所述文件执行对应操作(S30)。还公开了一种存储云盘资源的装置。实现了对多个云盘存储资源的统一调度管理,并根据不同的业务需求提供不同的存储服务。

Description

一种云盘资源访问方法和装置 技术领域
本申请涉及但不限于数据存储领域,尤其涉及一种云盘资源访问方法和装置。
背景技术
移动互联网的发展促使数据爆发增长,云存储提供海量的低成本存储资源,而目前个人云存储用户的规模正在不断扩大,包括很多企业的IT(Internet Technology,互联网技术)管理人员都在考虑将企业数据向云端迁移以降低运维成本。这些云存储服务针对非结构化数据大都提供基于HTTP(hyper text transfer protocol,超文本传输协议)的RESTful(Representational State Transfer)接口方式的对象操作接口。由于不同社交平台绑定自己的云盘应用,公有云盘单个账号申请的免费空间也有限制,因此很用户都同时拥有多个云盘账号。造成单个用户云端的空间资源分散,不能统一管理。同时也有一些企业用户不愿意绑定单个云存储服务提供商,希望从多个云存储服务提供商租用企业云盘,避免单个云存储系统出现故障宕机时数据不可用的情况。
通常云盘统一管理方案都是通过一个云端网盘文件管理器客户端,在云端网盘文件管理器客户端中登录多个账号,对每个云盘账号的空间分别切换管理,执行上传、下载、删除和检索云盘文件等操作。但是这种管理方案是不能跨云盘的执行的,不能真正实现多个云盘空间资源的整合利用和有效管理,每个云盘之间的数据可用性和QoS(Quality of Service,服务质量)无法保证。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本发明实施例提供了一种云盘资源访问方法和装置,能够解决不能实现多个云盘空间资源的整合利用和有效管理,每个云盘之间的数据可用性和QoS无法保证的技术问题。
一种云盘资源访问方法,包括:
侦测用户对所述云盘账号中的文件的操作指令,获取与所述文件对应的索引;其中,所述索引是预先通过获取云盘账号的访问令牌,根据所述访问令牌对应建立的。
根据所述操作指令,通过所述索引在所述云客户端中对所述文件执行对应操作,其中,所述云客户端中包含通过所述索引存入的对应云盘账号中的文件。
可选地,根据所述访问令牌对应建立索引包括:
根据获取的所述云盘账号的访问令牌对应扫描云盘账号中的文件。
根据所述云盘账号中的文件的属性对应建立全局索引。
可选地,所述获取云盘账号的访问令牌包括:
通过预置接口向所述云盘账号所在云盘发送验证码请求,令所述云盘根据所述验证码请求返回验证码和授权页面的统一资源定位符URL。
当接收到所述验证码和所述授权页面的URL时,输出提示消息,提示用户在所述授权页面上对应输入所述云盘账号的账号和密码。
当侦测到所述用户在授权页面上输入的账号和密码时,根据所述验证码对应获取所述云盘账号的访问令牌。
可选地,所述方法还包括:
当侦测到所述用户在授权页面上输入的账号和密码时,在根据所述验证码对应获取所述云盘账号的访问令牌之后,根据所述访问令牌计算哈希值。
建立所述云盘账号、所述访问令牌和所述哈希值的对应关系表。
将所述对应关系表同步到对应的云盘账号中,其中,所述对应关系用于当更换云客户端时,从所述云盘账号中获取所述对应关系表,根据所述对应关系表对应建立索引。
可选地,所述根据所述操作指令,通过所述索引在所述云客户端中对所述文件执行对应操作包括:
当所述操作指令是要对所述文件执行编辑操作时,判断所述文件对应的 索引所在的缓存区中是否存在所述文件。
如果所述缓存区中不存在所述文件,则通过向存储所述文件的云盘账号发送下载请求下载所述文件,并将下载的所述文件保存至所述缓存区中;
如果所述缓存区中存在所述文件,则在所述缓存区中对所述文件执行对应的编辑操作。
一种云盘资源访问装置,所述存储云盘资源的装置包括:
建立模块,设置为获取云盘账号的访问令牌,根据所述访问令牌对应建立索引。
获取模块,设置为侦测用户对所述云盘账号中的文件的操作指令,获取与所述文件对应的索引。
执行模块,设置为根据所述操作指令,通过所述索引在所述云客户端中对所述文件执行对应操作,其中,所述云客户端中包含通过所述索引存入的对应云盘账号中的文件。
可选地,所述建立模块包括:扫描单元和第一建立单元。
所述建立模块根据所述访问令牌对应建立索引包括:
所述扫描单元,设置为根据获取的所述云盘账号的访问令牌对应扫描云盘账号中的文件。
所述第一建立单元,设置为根据所述云盘账号中的文件的属性对应建立全局索引。
可选地,所述建立模块还包括:第一发送单元、输出单元和获取单元。
所述第一发送单元,设置为通过预置接口向所述云盘账号所在云盘发送验证码请求,令所述云盘根据所述验证码请求返回验证码和授权页面的统一资源定位符URL。
所述输出单元,设置为当接收到所述验证码和所述授权页面的URL时,输出提示消息,提示用户在所述授权页面上对应输入所述云盘账号的账号和密码。
所述获取单元,设置为当侦测到所述用户在授权页面上输入的账号和密 码时,根据所述验证码对应获取所述云盘账号的访问令牌。
可选地,所述建立模块还包括:计算单元、第二建立单元和同步单元。
所述计算单元,设置为当侦测到所述用户在授权页面上输入的账号和密码时,在所述获取单元根据所述验证码对应获取所述云盘账号的访问令牌之后,根据所述访问令牌计算哈希值。
所述第二建立单元,设置为建立所述云盘账号、所述访问令牌和所述哈希值的对应关系表。
所述同步单元,设置为将所述对应关系表同步到对应的云盘账号中,其中,所述对应关系用于当更换云客户端时,从所述云盘账号中获取所述对应关系表,根据所述对应关系表对应建立索引。
可选地,所述执行模块包括:判断单元、第二发送单元和执行单元。
所述执行模块根据所述操作指令,通过所述索引在所述云客户端中对所述文件执行对应操作包括:
所述判断单元,设置为当所述操作指令是要对所述文件执行编辑操作时,判断所述文件对应的索引所在的缓存区中是否存在所述文件。
所述第二发送单元,设置为如果所述缓存区中不存在所述文件,则通过向存储所述文件的云盘账号发送下载请求下载所述文件,并将下载的所述文件保存至所述缓存区中。
所述执行单元,设置为如果所述缓存区中存在所述文件,则在所述缓存区中对所述文件执行对应的编辑操作。
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现所述的云盘资源访问方法。
本发明实施例通过根据云盘账号的访问令牌对应建立索引,将云盘账号中文件虚拟存储至云客户端中,侦测对所述云盘账号中的文件的操作指令,获取与所述文件对应的索引,根据所述操作指令,通过所述索引在所述云客户端中对所述文件执行对应操作。实现了将多个云盘空间资源虚拟化在一个存储池中,实现了对多个云盘存储资源的统一调度管理,并根据不同的业务需求提供不同的存储服务。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1为本发明实施例云盘资源访问方法第一实施例的流程示意图;
图2为本发明实施例中根据访问令牌对应建立索引的流程示意图;
图3为本发明实施例中根据操作指令通过索引在云客户端中对文件执行对应操作的流程示意图;
图4为本发明实施例云盘资源访问装置第一实施例的功能模块示意图;
图5为本发明实施例中建立模块示意图;
图6为本发明实施例中执行模块示意图。
本发明的实施方式
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。
本发明实施例提供一种云盘资源访问方法。
参照图1,图1为本发明实施例云盘资源访问方法第一实施例的流程示意图。
在本实施例中,所述云盘资源访问方法包括步骤S10-S30:
步骤S10,获取云盘账号的访问令牌,根据所述访问令牌对应建立索引,以将所述云盘账号中的文件存储至云客户端中。
云客户端选择云盘提供的云盘账号,获取每个云盘账号的访问令牌。所述云客户端通过OAuth(Open Authorization)协议进行每个云盘账号用户的授权,获取每个用户云盘账号身份验证和授权的凭证,即获取每个用户云盘账号的访问令牌。所述云客户端将所述云盘账号添加至其虚拟的存储池中,根据其获取的访问令牌对应计算哈希值,根据所述哈希值对应建立索引,即将所述云盘账号中的文件虚拟存储至所述云客户端中虚拟的存储池中。所述索引所在的索引库维护存储池中所有文件的文件名称、文件大小、修改时间和版本号等属性,云客户端本地缓存路径,云端主文件和副本文件的所在位 置等字段。所述OAuth协议为用户资源的授权提供了一个安全的、开放而又简易的标准,用户对第三方应用一次授权后无需使用用户的用户名与密码就可以访问该用户授权的资源。
步骤S20,侦测用户对所述云盘账号中的文件的操作指令,获取与所述文件对应的索引。
所述云客户端侦测用户对所述云盘账号中的文件的操作指令,如侦测到用户要对某个云盘账号里的文件进行编辑、删除和备份等操作时,获取与所述文件对应的索引,所述文件的索引中的云客户端本地路径指向所述云客户端本地缓存的文件。对于所述云客户端应用的QoS、文件备份和安全加密的操作,所述云客户端提供本地缓存、云盘多副本和加密存储文件属性进行云盘存储管理。高QoS的应用对文件存储访问的延迟敏感,因此保留文件的本地缓存。对于容灾备份相关应用为防止系统故障或操作失误导致数据丢失,因此需要在多个云盘中存储副本进行备份。涉及安全性或用户隐私的敏感数据则需要在保存至云盘前对文件在线加密,转换为密文存储,密钥相关的数据在所述云客户端本地安全存放。
步骤S30,根据所述操作指令,通过所述索引在所述云客户端中对所述文件执行对应操作。
所述云客户端根据所述用户对所述云盘账号中的文件的操作指令,通过所述文件的索引查找到所述用户所要操作文件,在所述云客户端中对所述文件执行对应操作。如当所述云客户端的缓存区中的文件1具有QoS和备份的需求时,通过所述文件1的索引查找到所述文件1在所述缓存区中的位置。所述文件1的索引中的本地路径指向本地缓存区中文件1。所述云客户端将所述主文件1存储至与所述文件1的索引对应的哈希值的云盘账号中,文件1的副本文件可存储至存储空间相对较多的云盘中保存。如当所述云客户端需要对缓存区中的文件2进行在线加密后,再分发至某个云盘中时,如果所述缓存区中不存在所述文件2时,则需要到所述文件2所在的云盘中下载所述文件2到所述缓存区中进行解密处理。如所述云客户端还可以使文件3的索引存储于所述缓存区中,而所述文件3的主文件则存储于云盘中,以减少所述云客户端的硬盘资源的占用。
本实施例通过根据云盘账号的访问令牌对应建立索引,将云盘账号中文件存储至云客户端中,侦测对所述云盘账号中的文件的操作指令,获取与所述文件对应的索引,根据所述操作指令,通过所述索引在所述云客户端中对所述文件执行对应操作。实现了将多个云盘空间资源虚拟化在一个存储池中,实现了对多个云盘存储资源的统一调度管理,并根据不同的业务需求提供不同的存储服务。
参照图2,图2为本发明实施例中获取云盘账号的访问令牌,根据所述访问令牌对应建立索引,以将所述云盘账号中的文件存储至云客户端中的一种流程示意图。
在本实施例中,所述步骤S10包括步骤S11-S12:
步骤S11,根据获取的所述云盘账号的访问令牌对应扫描云盘账号中的文件。
步骤S12,根据所述云盘账号中的文件的属性对应建立全局索引,以将所述云盘账号中的文件存储至云客户端中。
当所述云客户端获取到每个云盘账号的访问令牌时,根据每个云盘账号的访问令牌对应扫描存储于不同云盘账号上的文件的元数据,依据每个云盘的文件的名称、位置、大小、类型等属性对应建立全局索引,以将所述每个云盘账号中文件虚拟存储至云客户端中虚拟的存储池中。
可选地,所述步骤S11中获取云盘账号的访问令牌包括步骤S111-S113:
S111、通过预置接口向所述云盘账号所在云盘发送验证码请求,令所述云盘根据所述验证码请求返回验证码和授权页面的统一资源定位符URL。
所述云客户端注册每个云盘账号的开放接口的应用API(Application Programming Interface,应用程序编程接口)key。所述云客户端从所述云盘账号所在云盘中选择要添加至所述存储池中的云盘账号,并通过预置接口向每个云盘发送验证码请求,当所述云盘接收到所述验证码请求时,所述云盘验证所述云客户端的身份,当所述云盘验证所述云客户端的身份后,根据所述验证码请求发送所述云盘账号的验证码和授权页面的URL(Uniform Resource Locator,统一资源定位符)给所述云客户端。所述预置接口即为每个云盘的 开放接口的应用API key。即所述云客户端从云盘中选择要添加至所述存储池中的云盘账号,通过所述云盘的开放接口的应用API key向所述云盘发送验证码请求。
S112、当接收到所述验证码和所述授权页面的URL时,输出提示消息,提示用户在所述授权页面上对应输入所述云盘账号的账号和密码。
S113、当侦测到所述用户在授权页面上输入的账号和密码时,根据所述验证码对应获取所述云盘账号的访问令牌。
当所述云客户端接收到所述云盘账号的验证码和所述授权页面的URL时,输出提示消息,提示用户在所述授权页面上对应输入所述云盘账号的账号和密码。在用户在所述授权页面上对应输入所述云盘账号的账号和密码的过程中,所述云客户端将所述验证码和其回调连接发送给所述云盘。当所述云客户端侦测到所述用户在所述授权页面上输入的账号和密码时,所述云盘授权所述云客户端访问所述云盘账号中文件的资源。当授权成功后,所述云盘引导所述用户从所述授权页面上返回至所述云客户端的页面。当返回到所述云客户端的页面时,所述云客户端根据所述验证码对应从所述云盘中获取所述云盘账号的访问令牌。所述云盘根据所述验证码和对所述用户的授权情况授予所述云客户端的访问令牌。
可选地,所述方法还包括:当侦测到所述用户在授权页面上输入的账号和密码时,在根据所述验证码对应获取所述云盘账号的访问令牌之后,根据所述访问令牌计算哈希值。
建立所述云盘账号、所述访问令牌和所述哈希值的对应关系表。
将所述对应关系表同步到对应的云盘账号中,其中,所述对应关系用于当更换云客户端时,从所述云盘账号中获取所述对应关系表,根据所述对应关系表对应建立索引。
所述云客户端根据所述访问令牌计算哈希值,建立所述云盘账号、所述访问令牌和所述哈希值的对应关系表,并将所述对应关系表在所述云客户端本地加密保存。所述对应关系表为token表。当所述云客户端在其存储池中完成了添加云盘账号的操作时,使用和所述云盘账号对应的访问令牌将所述 token表同步到对应的云盘中进行安全备份。当需要更换客户端时,在新的云客户端完成在各个云盘的登录认证之后,反向同步从云端获取所述token表,不需要重新对每个云盘账号进行用户的授权认证,直接使用所述token表中的访问令牌扫描对应的云盘建立对应的云盘账号文件的全局索引。
本实施例通过建立每个云盘账号、所述访问令牌和所述哈希值的对应关系表,将所述对应关系表同步到对应的云盘账号中,以供当更换云客户端时,可以从所述云盘账号中获取所述对应关系表,根据所述对应关系表对应建立索引。使所述云客户端支持异地重建,解决了云客户端环境迁移问题。
参照图3,图3为本发明实施例中根据所述操作指令,通过所述索引在所述云客户端中对所述文件执行对应操作的一种流程示意图。
在本实施例中,所述步骤S30包括步骤S31-S33:
步骤S31,当所述操作指令是要对所述文件执行编辑操作时,判断所述文件对应的索引所在的缓存区中是否存在所述文件。
所述云客户端侦测到用户的操作指令是要对云盘账号中的文件执行编辑操作时,如需要在所述云盘账号中新增文件时,所述云客户端的应用使用其统一文件访问接口新增文件,指定所述新增文件的名称和业务属性。当所述云客户端在指定所述新增文件的名称和业务属性后,创建所述新增文件的索引,并在所述云客户端的缓存区中编辑所述新增文件的内容,通过HTTP接口上传所述新增文件,更新所述云客户端的本地文件索引。所述云盘账号使用一致性的哈希算法,即所述云客户端将所述云盘账号和所述云盘账号中的文件数据映射到同一个线性地址空间,每一个云盘账号负责保存前一个云盘账号到本云盘账号之间的数据。当所述云客户端需要编辑文件时,首先通过所述需要编辑的文件的索引判断所述索引所在的缓存区中是否存在所述需要编辑的文件。可选地,所述统一文件访问接口可以扩充为面向本地网络的文件访问接口,不仅使本地的云客户端中的应用可以调用所述统一文件访问接口,同时也满足多个终端通过其云客户端访问存储池中的云盘资源。
步骤S32,如果所述缓存区中不存在所述文件,则通过向存储所述文件的云盘账号发送下载请求下载所述文件,并将下载的所述文件保存至所述缓存区中;
当所述云客户端判定所述缓存区中不存在所述需要编辑的文件时,则向存储所述需要编辑的文件的云盘账号发送下载所述需要编辑的文件的请求,当所述云盘账号接收到所述下载所述需要编辑的文件的请求时,所述云客户端就可以从所述云盘账号中下载所述需要编辑的文件,并将下载的所述需要编辑的文件保存至所述缓存区中。
步骤S33,如果所述缓存区中存在所述文件,则在所述缓存区中对所述文件执行对应的编辑操作。
当所述云客户端判定所述缓存区存在所述需要编辑的文件时,则将所述缓存区中所述需要编辑的文件与所述云盘账号中的对应的文件进行对比,当发现所述缓存区中所述需要编辑的文件的版本低于所述云盘账号中对应的文件的版本时,从所述云盘账号中下载与所述需要编辑的文件对应的文件,替换所述缓存区中的所述需要编辑的文件,并在所述缓存区中对所述需要编辑的文件执行对应的编辑操作。当所述云客户端完成对所述需要编辑的文件的编辑操作时,通过云盘更新接口将所述编辑后的文件上传至所述云盘中。因为在所述云客户端本地的缓存区中缓存的云盘账号的文件,所以在所述用户离线时,所述用户也可以在所述云客户端中进行云盘账号文件的编辑操作,得到新版本的文件,等到所述云盘账号在线时,在将所述新版本的文件同步到对应的云盘账号中。由于某些云盘的存储服务为开发者提供的结构化数据操作和管理的功能,开发者可以将数据的属性抽象出来,基于结构化数据API创建数据表,并对数据表里的记录执行增加、删除、修改和查询等管理操作。所述云客户端可以为云盘存储的文件建立索引数据表,扫描建立的索引时可从各个云盘索引数据表中获取索引信息,从而加快索引的建立效率。
本实施例通过对分散的多个云盘存储资源的全局地址空间统一管理,并实现不同特性的应用存储服务,解决了云盘资源的整合问题。
本发明实施例提供了一种云盘资源访问装置。
参照图4,图4为本发明实施例云盘资源访问装置第一实施例的功能模块示意图。
在本实施例中,所述存储云盘资源的装置包括:建立模块10、获取模块20和执行模块30。
建立模块10,设置为获取云盘账号的访问令牌,根据所述访问令牌对应建立索引,以将所述云盘账号中的文件存储至云客户端中。
云客户端选择云盘提供的云盘账号,获取每个云盘账号的访问令牌。所述云客户端通过OAuth(Open Authorization)协议进行每个云盘账号用户的授权,获取每个用户云盘账号身份验证和授权的凭证,即获取每个用户云盘账号的访问令牌。所述云客户端将所述云盘账号添加至其虚拟的存储池中,根据其获取的访问令牌对应计算哈希值,根据所述哈希值对应建立索引,即将所述云盘账号中的文件虚拟存储至所述云客户端中虚拟的存储池中。所述索引所在的索引库维护存储池中所有文件的文件名称、文件大小、修改时间和版本号等属性,云客户端本地缓存路径,云端主文件和副本文件的所在位置等字段。所述OAuth协议为用户资源的授权提供了一个安全的、开放而又简易的标准,用户对第三方应用一次授权后无需使用用户的用户名与密码就可以访问该用户授权的资源。
获取模块20,设置为侦测用户对所述云盘账号中的文件的操作指令,获取与所述文件对应的索引。
所述云客户端侦测用户对所述云盘账号中的文件的操作指令,如侦测到用户要对某个云盘账号里的文件进行编辑、删除和备份等操作时,获取与所述文件对应的索引,所述文件的索引中的云客户端本地路径指向所述云客户端本地缓存的文件。对于所述云客户端应用的QoS、文件备份和安全加密的操作,所述云客户端提供本地缓存、云盘多副本和加密存储文件属性进行云盘存储管理。高QoS的应用对文件存储访问的延迟敏感,因此保留文件的本地缓存。对于容灾备份相关应用为防止系统故障或操作失误导致数据丢失,因此需要在多个云盘中存储副本进行备份。涉及安全性或用户隐私的敏感数据则需要在保存至云盘前对文件在线加密,转换为密文存储,密钥相关的数据在所述云客户端本地安全存放。
执行模块30,设置为根据所述操作指令,通过所述索引在所述云客户端中对所述文件执行对应操作,其中,所述云客户端中包含通过所述索引存入的对应云盘账号中的文件。
所述云客户端根据所述用户对所述云盘账号中的文件的操作指令,通过 所述文件的索引查找到所述用户所要操作文件,在所述云客户端中对所述文件执行对应操作。如当所述云客户端的缓存区中的文件1具有QoS和备份的需求时,通过所述文件1的索引查找到所述文件1在所述缓存区中的位置。所述文件1的索引中的本地路径指向本地缓存区中文件1。所述云客户端将所述主文件1存储至与所述文件1的索引对应的哈希值的云盘账号中,文件1的副本文件可存储至存储空间相对较多的云盘中保存。如当所述云客户端需要对缓存区中的文件2进行在线加密后,再分发至某个云盘中时,如果所述缓存区中不存在所述文件2时,则需要到所述文件2所在的云盘中下载所述文件2到所述缓存区中进行解密处理。如所述云客户端还可以使文件3的索引存储于所述缓存区中,而所述文件3的主文件则存储于云盘中,以减少所述云客户端的硬盘资源的占用。
本实施例通过根据云盘账号的访问令牌对应建立索引,将云盘账号中文件存储至云客户端中,侦测对所述云盘账号中的文件的操作指令,获取与所述文件对应的索引,根据所述操作指令,通过所述索引在所述云客户端中对所述文件执行对应操作。实现了将多个云盘空间资源虚拟化在一个存储池中,实现了对多个云盘存储资源的统一调度管理,并根据不同的业务需求提供不同的存储服务。
参照图5,图5为本发明实施例中建立模块的一种功能模块示意图。
在本实施例中,所述建立模块10包括:扫描单元11和第一建立单元12。
所述建立模块根据所述访问令牌对应建立索引包括:
扫描单元11,设置为根据获取的所述云盘账号的访问令牌对应扫描云盘账号中的文件。
第一建立单元12,设置为根据所述云盘账号中的文件的属性对应建立全局索引,以将所述云盘账号中的文件存储至云客户端中。
当所述云客户端获取到各个云盘账号的访问令牌时,根据每个云盘账号的访问令牌对应扫描存储于不同云盘账号上的文件的元数据,依据每个云盘的文件的名称、位置、大小、类型等属性对应建立全局索引,以将所述每个云盘账号中文件虚拟存储至云客户端中虚拟的存储池中。
可选地,所述建立模块10还包括:第一发送单元、输出单元和获取单元。
第一发送单元,设置为通过预置接口向所述云盘账号所在云盘发送验证码请求,令所述云盘根据所述验证码请求返回验证码和授权页面的统一资源定位符URL。
所述云客户端注册每个云盘账号的开放接口的应用API(Application Programming Interface,应用程序编程接口)key。所述云客户端从所述云盘账号所在云盘中选择要添加至所述存储池中的云盘账号,并通过预置接口向每个云盘发送验证码请求,当所述云盘接收到所述验证码请求时,所述云盘验证所述云客户端的身份,当所述云盘验证所述云客户端的身份后,根据所述验证码请求发送所述云盘账号的验证码和授权页面的URL(Uniform Resource Locator,统一资源定位符)给所述云客户端。所述预置接口即为各个云盘的开放接口的应用API key。即所述云客户端从云盘中选择要添加至所述存储池中的云盘账号,通过所述云盘的开放接口的应用API key向所述云盘发送验证码请求。
输出单元,设置为当接收到所述验证码和所述授权页面的URL时,输出提示消息,提示用户在所述授权页面上对应输入所述云盘账号的账号和密码。
获取单元,设置为当侦测到所述用户在授权页面上输入的账号和密码时,根据所述验证码对应获取所述云盘账号的访问令牌。
当所述云客户端接收到所述云盘账号的验证码和所述授权页面的URL时,输出提示消息,提示用户在所述授权页面上对应输入所述云盘账号的账号和密码。在用户在所述授权页面上对应输入所述云盘账号的账号和密码的过程中,所述云客户端将所述验证码和其回调连接发送给所述云盘。当所述云客户端侦测到所述用户在所述授权页面上输入的账号和密码时,所述云盘授权所述云客户端访问所述云盘账号中文件的资源。当授权成功后,所述云盘引导所述用户从所述授权页面上返回至所述云客户端的页面。当返回到所述云客户端的页面时,所述云客户端根据所述验证码对应从所述云盘中获取所述云盘账号的访问令牌。所述云盘根据所述验证码和对所述用户的授权情况授予所述云客户端的访问令牌。
可选地,所述建立模块10还包括:计算单元、第二建立单元和同步单元。
计算单元,设置为当侦测到所述用户在授权页面上输入的账号和密码时,在所述获取单元根据所述验证码对应获取所述云盘账号的访问令牌之后,根据所述访问令牌计算哈希值。
第二建立单元,设置为建立所述云盘账号、所述访问令牌和所述哈希值的对应关系表。
同步单元,设置为将所述对应关系表同步到对应的云盘账号中,其中,所述对应关系用于当更换客户端时,从所述云盘账号中获取所述对应关系表,根据所述对应关系表对应建立索引。
所述云客户端根据所述访问令牌计算哈希值,建立所述云盘账号、所述访问令牌和所述哈希值的对应关系表,并将所述对应关系表在所述云客户端本地加密保存。所述对应关系表为token表。当所述云客户端在其存储池中完成了添加云盘账号的操作时,使用和所述云盘账号对应的访问令牌将所述token表同步到对应的云盘中进行安全备份。当需要更换客户端时,在新的云客户端完成在各个云盘的登录认证之后,反向同步从云端获取所述token表,不需要重新对每个云盘账号进行用户的授权认证,直接使用所述token表中的访问令牌扫描对应的云盘建立对应的云盘账号文件的全局索引。
本实施例通过建立各个云盘账号、所述访问令牌和所述哈希值的对应关系表,将所述对应关系表同步到对应的云盘账号中,以供当更换云客户端时,可以从所述云盘账号中获取所述对应关系表,根据所述对应关系表对应建立索引。使所述云客户端支持异地重建,解决了云客户端环境迁移问题。
参照图6,图6为本发明实施例中执行模块的一种功能模块示意图。
在本实施例中,所述执行模块30包括:判断单元31、第二发送单元32和执行单元33。
所述执行模块根据所述操作指令,通过所述索引在所述云客户端中对所述文件执行对应操作包括:
判断单元31,设置为当所述操作指令是要对所述文件执行编辑操作时,判断所述文件对应的索引所在的缓存区中是否存在所述文件。
所述云客户端侦测到用户的操作指令是要对云盘账号中的文件执行编辑 操作时,如需要在所述云盘账号中新增文件时,所述云客户端的应用使用其统一文件访问接口新增文件,指定所述新增文件的名称和业务属性。当所述云客户端在指定所述新增文件的名称和业务属性后,创建所述新增文件的索引,并在所述云客户端的缓存区中编辑所述新增文件的内容,通过HTTP接口上传所述新增文件,更新所述云客户端的本地文件索引。所述云盘账号使用一致性的哈希算法,即所述云客户端将所述云盘账号和所述云盘账号中的文件数据映射到同一个线性地址空间,每一个云盘账号负责保存前一个云盘账号到本云盘账号之间的数据。当所述云客户端需要编辑文件时,首先通过所述需要编辑的文件的索引判断所述索引所在的缓存区中是否存在所述需要编辑的文件。可选地,所述统一文件访问接口可以扩充为面向本地网络的文件访问接口,不仅使本地的云客户端中的应用可以调用所述统一文件访问接口,同时也满足多个终端通过其云客户端访问存储池中的云盘资源。
第二发送单元32,设置为如果所述缓存区中不存在所述文件,则通过向存储所述文件的云盘账号发送下载请求下载所述文件,并将下载的所述文件保存至所述缓存区中。
当所述云客户端判定所述缓存区中不存在所述需要编辑的文件时,则向存储所述需要编辑的文件的云盘账号发送下载所述需要编辑的文件的请求,当所述云盘账号接收到所述下载所述需要编辑的文件的请求时,所述云客户端就可以从所述云盘账号中下载所述需要编辑的文件,并将下载的所述需要编辑的文件保存至所述缓存区中。
执行单元33,设置为如果所述缓存区中存在所述文件,则在所述缓存区中对所述文件执行对应的编辑操作。
当所述云客户端判定所述缓存区存在所述需要编辑的文件时,则将所述缓存区中所述需要编辑的文件与所述云盘账号中的对应的文件进行对比,当发现所述缓存区中所述需要编辑的文件的版本低于所述云盘账号中对应的文件的版本时,从所述云盘账号中下载与所述需要编辑的文件对应的文件,替换所述缓存区中的所述需要编辑的文件,并在所述缓存区中对所述需要编辑的文件执行对应的编辑操作。当所述云客户端完成对所述需要编辑的文件的编辑操作时,通过云盘更新接口将所述编辑后的文件上传至所述云盘中。因 为在所述云客户端本地的缓存区中缓存的云盘账号的文件,所以在所述用户离线时,所述用户也可以在所述云客户端中进行云盘账号文件的编辑操作,得到新版本的文件,等到所述云盘账号在线时,在将所述新版本的文件同步到对应的云盘账号中。由于某些云盘的存储服务为开发者提供的结构化数据操作和管理的功能,开发者可以将数据的属性抽象出来,基于结构化数据API创建数据表,并对数据表里的记录执行增加、删除、修改和查询等管理操作。所述云客户端可以为云盘存储的文件建立索引数据表,扫描建立的索引时可从各个云盘索引数据表中获取索引信息,从而加快索引的建立效率。
本实施例通过对分散的多个云盘存储资源的全局地址空间统一管理,并实现不同特性的应用存储服务,解决了云盘资源的整合问题。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现所述的云盘资源访问方法。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明实施例的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括多个指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明实施例所述的方法。
以上仅为本发明可选实施例,并非因此限制本发明实施例的专利范围,凡是利用本发明实施例说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明实施例的专 利保护范围内。
工业实用性
本发明实施例通过根据云盘账号的访问令牌对应建立索引,将云盘账号中文件虚拟存储至云客户端中,侦测对所述云盘账号中的文件的操作指令,获取与所述文件对应的索引,根据所述操作指令,通过所述索引在所述云客户端中对所述文件执行对应操作。实现了将多个云盘空间资源虚拟化在一个存储池中,实现了对多个云盘存储资源的统一调度管理,并根据不同的业务需求提供不同的存储服务。

Claims (11)

  1. 一种云盘资源访问方法,包括:
    侦测用户对所述云盘账号中的文件的操作指令,获取与所述文件对应的索引;其中,所述索引是预先通过获取云盘账号的访问令牌,根据所述访问令牌对应建立的;
    根据所述操作指令,通过所述索引在所述云客户端中对所述文件执行对应操作,其中,所述云客户端中包含通过所述索引存入的对应云盘账号中的文件。
  2. 如权利要求1所述的云盘资源访问方法,其中,所述根据所述访问令牌对应建立索引包括:
    根据获取的所述云盘账号的访问令牌对应扫描云盘账号中的文件;
    根据所述云盘账号中的文件的属性对应建立全局索引。
  3. 如权利要求2所述的云盘资源访问方法,其中,所述获取云盘账号的访问令牌包括:
    通过预置接口向所述云盘账号所在云盘发送验证码请求,令所述云盘根据所述验证码请求返回验证码和授权页面的统一资源定位符URL;
    当接收到所述验证码和所述授权页面的URL时,输出提示消息,提示用户在所述授权页面上对应输入所述云盘账号的账号和密码;
    当侦测到所述用户在授权页面上输入的账号和密码时,根据所述验证码对应获取所述云盘账号的访问令牌。
  4. 如权利要求3所述的云盘资源访问方法,所述方法还包括:
    当侦测到所述用户在授权页面上输入的账号和密码时,在根据所述验证码对应获取所述云盘账号的访问令牌之后,根据所述访问令牌计算哈希值;
    建立所述云盘账号、所述访问令牌和所述哈希值的对应关系表;
    将所述对应关系表同步到对应的云盘账号中,其中,所述对应关系用于当更换云客户端时,从所述云盘账号中获取所述对应关系表,根据所述对应关系表对应建立索引。
  5. 如权利要求1至4任一项所述的云盘资源访问方法,其中,所述根据所述操作指令,通过所述索引在所述云客户端中对所述文件执行对应操作包括:
    当所述操作指令是要对所述文件执行编辑操作时,判断所述文件对应的索引所在的缓存区中是否存在所述文件;
    如果所述缓存区中不存在所述文件,则通过向存储所述文件的云盘账号发送下载请求下载所述文件,并将下载的所述文件保存至所述缓存区中;
    如果所述缓存区中存在所述文件,则在所述缓存区中对所述文件执行对应的编辑操作。
  6. 一种云盘资源访问装置,包括:建立模块、获取模块和执行模块;
    所述建立模块,设置为获取云盘账号的访问令牌,根据所述访问令牌对应建立索引;
    所述获取模块,设置为侦测用户对所述云盘账号中的文件的操作指令,获取与所述文件对应的索引;
    所述执行模块,设置为根据所述操作指令,通过所述索引在所述云客户端中对所述文件执行对应操作,其中,所述云客户端中包含通过所述索引存入的对应云盘账号中的文件。
  7. 如权利要求6所述的云盘资源访问装置,其中,所述建立模块包括:扫描单元和第一建立单元;
    所述建立模块根据所述访问令牌对应建立索引包括:
    所述扫描单元,设置为根据获取的所述云盘账号的访问令牌对应扫描云盘账号中的文件;
    所述第一建立单元,设置为根据所述云盘账号中的文件的属性对应建立全局索引。
  8. 如权利要求7所述的云盘资源访问装置,所述建立模块还包括:第一发送单元、输出单元和获取单元;
    所述第一发送单元,设置为通过预置接口向所述云盘账号所在云盘发送 验证码请求,令所述云盘根据所述验证码请求返回验证码和授权页面的统一资源定位符URL;
    所述输出单元,设置为当接收到所述验证码和所述授权页面的URL时,输出提示消息,提示用户在所述授权页面上对应输入所述云盘账号的账号和密码;
    所述获取单元,设置为当侦测到所述用户在授权页面上输入的账号和密码时,根据所述验证码对应获取所述云盘账号的访问令牌。
  9. 如权利要求8所述的云盘资源访问装置,所述建立模块还包括:计算单元、第二建立单元和同步单元;
    所述计算单元,设置为当侦测到所述用户在授权页面上输入的账号和密码时,在所述获取单元根据所述验证码对应获取所述云盘账号的访问令牌之后,根据所述访问令牌计算哈希值;
    所述第二建立单元,设置为建立所述云盘账号、所述访问令牌和所述哈希值的对应关系表;
    所述同步单元,设置为将所述对应关系表同步到对应的云盘账号中,其中,所述对应关系用于当更换云客户端时,从所述云盘账号中获取所述对应关系表,根据所述对应关系表对应建立索引。
  10. 如权利要求6至9任一项所述的云盘资源访问装置,其中,所述执行模块包括:判断单元、第二发送单元和执行单元;
    所述执行模块根据所述操作指令,通过所述索引在所述云客户端中对所述文件执行对应操作包括:
    所述判断单元,设置为当所述操作指令是要对所述文件执行编辑操作时,判断所述文件对应的索引所在的缓存区中是否存在所述文件;
    所述第二发送单元,设置为如果所述缓存区中不存在所述文件,则通过向存储所述文件的云盘账号发送下载请求下载所述文件,并将下载的所述文件保存至所述缓存区中;
    所述执行单元,设置为如果所述缓存区中存在所述文件,则在所述缓存区中对所述文件执行对应的编辑操作。
  11. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现权利要求1至5任意一项所述的云盘资源访问方法。
PCT/CN2016/088215 2015-09-29 2016-07-01 一种云盘资源访问方法和装置 WO2017054543A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510634403.6 2015-09-29
CN201510634403.6A CN106557269A (zh) 2015-09-29 2015-09-29 存储云盘资源的方法和装置

Publications (1)

Publication Number Publication Date
WO2017054543A1 true WO2017054543A1 (zh) 2017-04-06

Family

ID=58416015

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/088215 WO2017054543A1 (zh) 2015-09-29 2016-07-01 一种云盘资源访问方法和装置

Country Status (2)

Country Link
CN (1) CN106557269A (zh)
WO (1) WO2017054543A1 (zh)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110719320A (zh) * 2019-09-18 2020-01-21 上海联蔚信息科技有限公司 公有云配置调整信息的生成方法和设备
CN111241555A (zh) * 2019-12-30 2020-06-05 北京顺达同行科技有限公司 模拟用户登录的访问方法、装置、计算机设备和存储介质
CN113253931A (zh) * 2021-05-20 2021-08-13 紫光云技术有限公司 一种适用于rabbitmq自动切换使用云数据盘的方法
US11216516B2 (en) 2018-06-08 2022-01-04 At&T Intellectual Property I, L.P. Method and system for scalable search using microservice and cloud based search with records indexes
CN114257441A (zh) * 2021-12-17 2022-03-29 北京字跳网络技术有限公司 一种基于云文档组件的数据处理方法及装置
CN114389868A (zh) * 2021-12-30 2022-04-22 天翼物联科技有限公司 一种云资源的分配方法、系统、装置及存储介质
CN116319990A (zh) * 2023-05-18 2023-06-23 南京中孚信息技术有限公司 一种支持多种网盘互操作的方法、系统、设备及介质
CN117194054A (zh) * 2023-11-06 2023-12-08 西安一二三云计算有限公司 基于用户画像的云盘资源调度方法

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357864B (zh) * 2017-06-30 2021-02-19 联想(北京)有限公司 一种文件处理方法及终端
CN108494821B (zh) * 2018-02-12 2019-06-11 刘志鹏 网盘集成打开影像的方法
CN112446013A (zh) * 2019-08-30 2021-03-05 中移物联网有限公司 一种云盘管理方法及系统
CN112417405A (zh) * 2020-11-30 2021-02-26 北京小熊博望科技有限公司 一种多云盘聚合方法
CN113703691B (zh) * 2021-10-29 2022-03-25 成都市奇点软件有限公司 一种虚拟云盘方法及系统
CN114449001A (zh) * 2021-12-30 2022-05-06 天翼云科技有限公司 流媒体数据的云存储实现方法、装置、设备及存储介质
CN114567567B (zh) * 2022-02-24 2024-03-01 特赞(上海)信息科技有限公司 自适配多云存储的资源管理方法和系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102271161A (zh) * 2011-08-02 2011-12-07 北京远特科技有限公司 用户中心、具有用户中心的远程信息处理系统及方法
CN103037004A (zh) * 2012-12-21 2013-04-10 曙光信息产业(北京)有限公司 云存储系统操作的实现方法和装置
CN103078906A (zh) * 2012-12-26 2013-05-01 爱迪科特(北京)科技有限公司 文件透明迁移方法
US20150032938A1 (en) * 2013-07-24 2015-01-29 NXGN Data, Inc. System and method for performing efficient processing of data stored in a storage node

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102236750B (zh) * 2010-04-29 2016-03-30 国际商业机器公司 在云存储系统中进行权限控制的方法和装置
CN103442057A (zh) * 2013-08-27 2013-12-11 玉林师范学院 一种基于用户协作云的云存储系统
CN104486388A (zh) * 2014-12-03 2015-04-01 深圳市深信服电子科技有限公司 云存储文件的访问方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102271161A (zh) * 2011-08-02 2011-12-07 北京远特科技有限公司 用户中心、具有用户中心的远程信息处理系统及方法
CN103037004A (zh) * 2012-12-21 2013-04-10 曙光信息产业(北京)有限公司 云存储系统操作的实现方法和装置
CN103078906A (zh) * 2012-12-26 2013-05-01 爱迪科特(北京)科技有限公司 文件透明迁移方法
US20150032938A1 (en) * 2013-07-24 2015-01-29 NXGN Data, Inc. System and method for performing efficient processing of data stored in a storage node

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11216516B2 (en) 2018-06-08 2022-01-04 At&T Intellectual Property I, L.P. Method and system for scalable search using microservice and cloud based search with records indexes
CN110719320B (zh) * 2019-09-18 2022-05-27 上海联蔚数字科技集团股份有限公司 公有云配置调整信息的生成方法和设备
CN110719320A (zh) * 2019-09-18 2020-01-21 上海联蔚信息科技有限公司 公有云配置调整信息的生成方法和设备
CN111241555A (zh) * 2019-12-30 2020-06-05 北京顺达同行科技有限公司 模拟用户登录的访问方法、装置、计算机设备和存储介质
CN113253931A (zh) * 2021-05-20 2021-08-13 紫光云技术有限公司 一种适用于rabbitmq自动切换使用云数据盘的方法
CN114257441A (zh) * 2021-12-17 2022-03-29 北京字跳网络技术有限公司 一种基于云文档组件的数据处理方法及装置
CN114257441B (zh) * 2021-12-17 2023-12-15 北京字跳网络技术有限公司 一种基于云文档组件的数据处理方法及装置
CN114389868A (zh) * 2021-12-30 2022-04-22 天翼物联科技有限公司 一种云资源的分配方法、系统、装置及存储介质
CN114389868B (zh) * 2021-12-30 2024-01-30 天翼物联科技有限公司 一种云资源的分配方法、系统、装置及存储介质
CN116319990A (zh) * 2023-05-18 2023-06-23 南京中孚信息技术有限公司 一种支持多种网盘互操作的方法、系统、设备及介质
CN116319990B (zh) * 2023-05-18 2023-08-22 南京中孚信息技术有限公司 一种支持多种网盘互操作的方法、系统、设备及介质
CN117194054A (zh) * 2023-11-06 2023-12-08 西安一二三云计算有限公司 基于用户画像的云盘资源调度方法
CN117194054B (zh) * 2023-11-06 2024-02-23 西安一二三云计算有限公司 基于用户画像的云盘资源调度方法

Also Published As

Publication number Publication date
CN106557269A (zh) 2017-04-05

Similar Documents

Publication Publication Date Title
WO2017054543A1 (zh) 一种云盘资源访问方法和装置
US10268835B2 (en) Hosted application gateway architecture with multi-level security policy and rule promulgations
US9614796B2 (en) Replacing email file attachment with download link
US10445517B1 (en) Protecting data in insecure cloud storage
US9137222B2 (en) Crypto proxy for cloud storage services
AU2014346473B2 (en) Document management and collaboration system
US10565402B2 (en) System and method for serving online synchronized content from a sandbox domain via a temporary address
US10747822B2 (en) Remote access control for stored data
US9600679B2 (en) Techniques for resource operation based on usage, sharing, and recommendations with modular authentication
US8898765B2 (en) Signing off from multiple domains accessible using single sign-on
GB2596422A (en) Systems and methods for providing access to a data file stored at a data storage system
US20140157435A1 (en) Seamless secure private collaboration across trust boundaries
US10824756B2 (en) Hosted application gateway architecture with multi-level security policy and rule promulgations
US10999370B1 (en) Syncing and sharing data across systems
WO2014113136A1 (en) Seamless secure private collaboration across trust boundaries
US8856907B1 (en) System for and methods of providing single sign-on (SSO) capability in an application publishing and/or document sharing environment
US11334529B2 (en) Recommending files for file sharing system
US9930063B2 (en) Random identifier generation for offline database
EP2974210A1 (en) Multi-identity for secure file sharing
US11943260B2 (en) Synthetic request injection to retrieve metadata for cloud policy enforcement
US9703855B1 (en) System and method for classifying content with a web service
US9665732B2 (en) Secure Download from internet marketplace

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16850167

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16850167

Country of ref document: EP

Kind code of ref document: A1