A file group creation method, system, medium and computing device

By creating file group records and calling interfaces in the tenant management and control software of the cloud storage platform, the file group creation of user dimensions is realized, solving the problem that the cloud storage platform only supports tenant dimension management, reducing development costs and improving functional reuse sex.

CN114691616BActive Publication Date: 2024-11-05ALIBABA (CHINA) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210306765.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-25
Publication Date
2024-11-05
Estimated Expiration
2042-03-25

AI Technical Summary

Technical Problem

The cloud storage platform only supports file management functions in the tenant dimension, and fails to realize file group creation and management of user dimensions.

Method used

By creating file group records in the tenant's control software, including record identification, file reference and permission user fields, and calling the file group creation interface of the cloud storage platform, the file group creation and management of the user dimension is realized.

Benefits of technology

It realizes the file group creation and management functions of the user dimension, reduces the development cost of tenant management software, and allows different tenants to reuse the file group list templates and creation interfaces provided by the cloud storage platform.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114691616B_ABST
    Figure CN114691616B_ABST
Patent Text Reader

Abstract

The multiple embodiments disclosed in this specification provide a method, system, medium and computing device for creating a file group. The cloud storage platform provides a file group list template, and the tenant can execute and fill in each field in the file group list template. The cloud storage platform provides the tenant with a callable file group creation interface. In response to the call to the file group creation interface, the file identifier contained in a file group newly added by the tenant is read from the file group list associated with the tenant, and then a file table associated with the newly added file group record in the file group list is created in the database. The file table in the database can be regarded as a file group created by the tenant.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Multiple embodiments of the present specification relate to the field of information technology, and more particularly, to a file group creation method, system, medium, and computing device. Background Art

[0002] Cloud storage platform is a platform as a service (PAAS) in the field of storage technology. A concept related to cloud storage platform is tenants, which can be understood as the subject who pays the cloud storage platform to purchase cloud storage services. Tenants can upload files to the cloud storage platform for storage in the cloud storage platform's database. In addition, tenants can develop their own management and control software based on the management and control software programming interface provided by the cloud storage platform, and use the management and control software to manage the files they upload to the cloud storage platform.

[0003] In some scenarios, tenants can connect to several users, who can upload files to the tenant's management software, and the tenant's management software can further upload files to the cloud storage platform. It is easy to understand such a business relationship, that is, the tenant is equivalent to the "customer" of the cloud storage platform, the cloud storage platform is responsible for the tenant, and the above-mentioned users are equivalent to the tenant's "customer", the tenant is responsible for the user, and the cloud storage platform does not have to be responsible for the user.

[0004] For users, they usually want to operate in the tenant's management and control software to manage the files they provide to tenants by group and create several file groups. However, for cloud storage platforms, they usually only support file management functions at the tenant level, not at the user level.

[0005] Based on this, how to implement a user-dimensional file group creation solution based on a cloud storage platform is a technical problem that needs to be solved urgently in this field. Summary of the invention

[0006] Multiple embodiments of the present specification provide a file group creation method, system, medium and computing device, so as to implement a user-dimensional file group creation function based on a cloud storage platform.

[0007] The technical solutions provided by the multiple embodiments of this specification are as follows:

[0008] According to a first aspect of multiple embodiments of this specification, a file group creation method is proposed, including:

[0009] In response to the file group creation request sent by the user, the management and control software creates a file group record; wherein the file group record includes a record identification field, a file reference field and an authorized user field, wherein the file reference field includes a number of file identifications to be included in the same file group, and the authorized user field includes a user identification that has the authority to use the file group;

[0010] The management and control software adds the file group record to the associated file group list, and calls the file group creation interface of the cloud storage platform with the software identifier of the management and control software and the record identifier of the file group record as interface input parameters;

[0011] In response to the call to the file group creation interface, the cloud storage platform accesses the file group list associated with the management and control software and reads the file reference field of the file group record corresponding to the record identifier;

[0012] The cloud storage platform creates a file table associated with the file group record in a database according to the file reference field, and the file table includes a file storage address corresponding to each file identifier in the file reference field.

[0013] According to a second aspect of multiple embodiments of this specification, a method for reading a file group created by the method described in the first aspect is provided, comprising:

[0014] In response to a file group read request sent by a user, the management and control software determines a record identifier of a file group record corresponding to the file group to be read;

[0015] If the management and control software determines that the permission user field of the file group record contains the user ID of the user, the file group reading interface of the cloud storage platform is called using the record ID as an interface input parameter;

[0016] In response to the call to the file group reading interface, the cloud storage platform reads each file storage address from the file table associated with the record identifier in the database, reads each file from each file storage address in the database, and returns each read file to the management and control software.

[0017] According to a third aspect of multiple embodiments of this specification, a method for sorting files of a file group created based on the method of the first aspect is proposed, comprising:

[0018] In response to the file sorting request sent by the user, the management and control software determines the file group to which the file to be sorted belongs, as well as the sorting strategy information;

[0019] If the management and control software determines that the permission user field of the corresponding file group record contains the user ID of the user, the file sorting interface of the cloud storage platform is called with the record ID of the file group record and the sorting strategy information as interface input parameters;

[0020] In response to the call to the file sorting interface, the cloud storage platform sorts each file identifier in the file table associated with the record identifier in the database based on the sorting strategy information, and returns the sorting result to the management and control software.

[0021] According to a fourth aspect of multiple embodiments of this specification, a file search method for a file group created by the method of the first aspect is provided, comprising:

[0022] In response to the file search request sent by the user, the management and control software determines the file group to which the file to be searched belongs and the file identifier of the file to be searched;

[0023] If the management and control software determines that the permission user field of the corresponding file group record contains the user ID of the user, the file search interface of the cloud storage platform is called using the record ID of the file group record and the file ID of the file to be searched as interface input parameters;

[0024] In response to the call to the file search interface, the cloud storage platform searches for the file identifier of the file to be searched in the file table associated with the record identifier in the database, and reads the file to be searched from the corresponding storage address and returns it to the management and control software.

[0025] According to a fifth aspect of multiple embodiments of this specification, a method for deleting a file in a file group created by the method according to the first aspect is provided, comprising:

[0026] In response to a file deletion request sent by a user, the management and control software determines the file group to which the file to be deleted belongs;

[0027] If the management and control software determines that the permission user field of the corresponding file group record contains the user ID of the user, the file deletion interface of the cloud storage platform is called using the record ID of the file group record as an interface input parameter;

[0028] In response to the call to the file deletion interface, the cloud storage platform deletes the file identifier of the file to be deleted in the file table associated with the record identifier in the database, and deletes the file identifier from the file reference field of the file group record.

[0029] According to a sixth aspect of multiple embodiments of this specification, a file recycling method based on a file group created by the method according to the first aspect is proposed, comprising:

[0030] In response to the file recycling request sent by the user, the management and control software determines the file group to which the file to be recycled belongs;

[0031] If the management and control software determines that the permission user field of the file group record contains the user ID of the user, the file recovery interface of the cloud storage platform is called using the record ID of the file group record as an interface input parameter;

[0032] In response to the call to the file recycling interface, the cloud storage platform recycles the file identifier of the file to be recycled in the file table associated with the record identifier in the database, and deletes the file identifier from the file reference field in the file group record.

[0033] According to a seventh aspect of multiple embodiments of the present specification, a method for modifying file note information of a file group created based on the method of the first aspect is provided, wherein the file group record further includes at least one file note information field, and different file note information fields of the same file group record are used to record different types of file note information; the file note information field of each file group record includes: file note information of each file in the corresponding file group, and the method includes:

[0034] In response to a file note information modification request sent by a user, the management and control software determines the file identifier of the file whose note information is to be modified, and the file group to which the file belongs;

[0035] If the management and control software determines that the permission user field of the file group record contains the user ID of the user, the file note information modification interface of the cloud storage platform is called using the record ID of the file group record as an interface input parameter;

[0036] The cloud storage platform responds to the call to the file note information modification interface, reads the storage address corresponding to the file identifier from the corresponding file table according to the record identifier and the file identifier, modifies the file note information on the storage address, and updates the corresponding file note information field in the file group record according to the modification result.

[0037] According to an eighth aspect of multiple embodiments of this specification, a file group creation system is provided, including a cloud storage platform and at least one management and control software for docking with the cloud storage platform;

[0038] Any management and control software, in response to a file group creation request sent by a user, creates a file group record; wherein the file group record includes a record identification field, a file reference field and an authorized user field, wherein the file reference field includes a number of file identifications to be included in the same file group, and the authorized user field includes a user identification with the authority to use the file group; in a file group list associated with the tenant, the file group record is added, and the file group creation interface of the cloud storage platform is called with the software identification of the management and control software and the record identification of the file group record as interface input parameters;

[0039] The cloud storage platform, in response to the call to the file group creation interface, accesses the file group list associated with the management and control software, reads the file reference field of the file group record corresponding to the record identifier; creates a file table associated with the file group record in the database according to the file reference field, the file table including the file storage address corresponding to each file identifier in the file reference field

[0040] According to the ninth aspect of multiple embodiments of the present specification, a computing device is proposed, including a memory and a processor; the memory is used to store computer instructions that can be executed on the processor, and the processor is used to implement the functions of the cloud storage platform or management software in the method described in the first aspect when executing the computer instructions.

[0041] According to the tenth aspect of multiple embodiments of the present specification, a computer-readable storage medium is proposed, on which a computer program is stored. When the program is executed by a processor, the function of the cloud storage platform or management software in the method described in the first aspect is implemented.

[0042] In the above technical solution, in the interactive link between the management and control software of each tenant and the cloud storage platform, a file group list associated with the tenant is set for each tenant. In this file group list, there are several file group records, each of which includes a record identification field (used to help the cloud storage platform distinguish different file group records in the same file group list), a file reference field (used to help the cloud storage platform clarify which files are included in the file group) and a permission user field (used to help the tenant to realize the function of creating a file group for the user). When the tenant needs to create a file group for the user, the tenant operates the file group list associated with the tenant's management and control software, adds a file group record corresponding to the file group to be created, and clarifies in the file group record which files the file group needs to contain (file reference field) and which user has the permission to view the file group (permission user field). After that, the tenant can call the file group creation interface of the cloud storage platform, using the software identification of the management and control software and the record identification of the newly added file group record as interface input parameters. In response to the call to the file group creation interface, the cloud storage platform specifies the need to read the file group record corresponding to the record identifier from the file group list associated with the management and control software, and creates a file table associated with the file group record in the database based on the file identifier in the file reference field in the read file group record. The file table records the file storage addresses corresponding to each file identifier, thereby completing the file group creation in the user dimension.

[0043] Through the above technical solution, the cloud storage platform provides a file group list template, and the management and control software can execute and fill in each field in the file group list template. The cloud storage platform provides the management and control software with a callable file group creation interface. In response to the call to the file group creation interface, the file identifier contained in a file group newly added by the management and control software is read from the file group list associated with the management and control software, and then a file table associated with the newly added file group record in the file group list is created in the database. The file table in the database can be regarded as a file group created by the management and control software.

[0044] For the cloud storage platform, it still serves tenants and creates a file table for them as a file group. In the file group list associated with the tenant's management software, the permission user field of each file group record can specify which user has the permission to access the file group, which is equivalent to creating a file group for the user and realizing the creation of file groups in the user dimension.

[0045] In addition, this technical solution can also reduce the development cost of tenants' management and control software. The cloud storage platform can provide a common file group list module to different tenants, and provide tenants with a common file group creation interface. When developing management and control software, tenants do not need to worry about how the management and control software implements the user-dimensional file group creation function based on the cloud storage platform. When creating a file group for the user, they only need to fill in the various fields in the template, create a file group record and add it to the file group list, and call the file group creation interface of the cloud storage platform. This also means that different tenants can reuse the file group list template and file group creation interface provided by the cloud storage platform. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 A business relationship diagram is provided as an example.

[0047] Figure 2 This is a flowchart of a method for creating a file group based on a cloud storage platform provided in this specification.

[0048] Figure 3 It is a structural schematic diagram of a computing device provided by the present disclosure.

[0049] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts. The number of any element in the drawings is for example rather than limitation, and any naming is only for distinction and does not have any limiting meaning. DETAILED DESCRIPTION

[0050] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this specification.

[0051] It should be noted that: in other embodiments, the steps of the corresponding method are not necessarily performed in the order shown and described in this specification. In some other embodiments, the steps included in the method may be more or less than those described in this specification. In addition, a single step described in this specification may be decomposed into multiple steps for description in other embodiments; and multiple steps described in this specification may be combined into a single step for description in other embodiments.

[0052] Several concepts involved in the present disclosure are introduced here.

[0053] Cloud storage platform is a platform as a service (PAAS) in the field of storage technology. Cloud storage platform provides the underlying technical file storage capability. You can develop your own storage management software based on the file storage capability of the cloud storage platform. The storage management software can directly face users, provide file storage services for users, and upload users' files to the database of the cloud storage platform for storage. For example, you can develop storage management software such as "cloud photo album" and "cloud network disk" based on the cloud storage platform.

[0054] The database of the cloud storage platform, that is, the cloud storage space, is the space where files are actually stored. It can be implemented based on table storage OTS or other storage structures.

[0055] File: The present disclosure does not limit the connotation of a file. For example, a file can be a text file, an image file, a video file, an audio file, etc.

[0056] Tenants are entities that pay cloud storage platforms to purchase cloud storage services. Tenants can be the developers of the above-mentioned storage management and control software. Tenants can connect to several users, and users can upload files to the tenant's management and control software, which in turn uploads files to the cloud storage platform. It is easy to understand such a business relationship, that is, tenants are equivalent to the "customers" of the cloud storage platform, and the cloud storage platform is responsible for the tenants, while the above-mentioned users are equivalent to the "customers" of the tenants. The tenants are responsible for the users, but the cloud storage platform does not have to be responsible for the users.

[0057] The tenant's management and control software can be understood as the software developed by the tenant based on the cloud storage platform. The tenant can provide storage services to users based on the C / S architecture or B / S architecture. Therefore, the tenant's management and control software can be the software deployed on the tenant's server. The tenant's users can install software corresponding to the management and control software on their own devices, such as clients, browsers, applets, etc. The users interact with the tenant's management and control software through the software on their own devices.

[0058] User team is the set of users that a tenant connects to. For example, a tenant can be an organization, which has several user teams under it.

[0059] The file group list is a table data structure, where each row is a record and is used to represent a file group. Since the file group list is oriented to the tenant's management and control software, it can be understood as a logical view table presented to users by the cloud storage platform, and a file group record represents a logical view.

[0060] For users, they usually want to operate in the tenant's management and control software to manage the files they provide to tenants by group and create several file groups. However, for cloud storage platforms, they usually only support file management functions at the tenant level, not at the user level.

[0061] For example, the tenant's management software may be cloud album management software, and the tenant's users may wish to create several cloud albums and manage their own photos by album. Different cloud albums may contain duplicate photos.

[0062] To this end, the present disclosure provides a file group creation solution based on the user dimension of the cloud storage platform. Specifically:

[0063] In the interactive link between the management and control software of each tenant and the cloud storage platform, a file group list associated with the management and control software of the tenant is set for each tenant. In this file group list, there are several file group records, each of which includes a record identification field (used to help the cloud storage platform distinguish different file group records in the same file group list), a file reference field (used to help the cloud storage platform clarify which files are included in the file group) and a permission user field (used to help the tenant realize the function of creating a file group for the user). When the management and control software needs to create a file group for the user, it operates on the file group list associated with the management and control software, adds a file group record corresponding to the file group to be created, and clarifies in the file group record which files the file group needs to contain (file reference field) and which user has the permission to view the file group (permission user field). After that, the tenant can call the file group creation interface of the cloud storage platform, using the software identification of the management and control software and the record identification of the newly added file group record as interface input parameters. In response to the call to the file group creation interface, the cloud storage platform specifies the need to read the file group record corresponding to the record identifier from the file group list associated with the management and control software, and creates a file table associated with the file group record in the database based on the file identifier in the file reference field in the read file group record. The file table records the file storage addresses corresponding to each file identifier, thereby completing the file group creation in the user dimension.

[0064] Through the above technical solution, the cloud storage platform provides a file group list template, and the management and control software can execute and fill in each field in the file group list template. The cloud storage platform provides the management and control software with a callable file group creation interface. In response to the call to the file group creation interface, the file identifier contained in a file group newly added by the tenant is read from the file group list associated with the management and control software, and then a file table associated with the newly added file group record in the file group list is created in the database. The file table in the database can be regarded as a file group created by the tenant.

[0065] For the cloud storage platform, it still serves tenants and creates a file table for tenants as a file group. In the file group list associated with the tenant, the permission user field of each file group record can specify which user has the permission to access the file group, which is equivalent to creating a file group for the user and realizing the creation of file groups in the user dimension.

[0066] In addition, this technical solution can also reduce the development cost of tenants' management and control software. The cloud storage platform can provide a common file group list module to different tenants, and provide a common file group creation interface for the tenants' management and control software. When developing management and control software, tenants do not need to worry about how the management and control software implements the user-dimensional file group creation function based on the cloud storage platform. When creating a file group for a user, they only need to fill in the various fields in the template, create a file group record and add it to the file group list, and call the file group creation interface of the cloud storage platform. This also means that different tenants can reuse the file group list template and file group creation interface provided by the cloud storage platform.

[0067] Figure 1 An exemplary business relationship diagram is provided. Figure 1 As shown in the figure, a tenant can connect to multiple users (one-to-many relationship). A user can have the permission to view multiple file groups, and a file group can also be viewed by multiple users at the same time (many-to-many relationship). A file group can include multiple files, and there can be duplicate files in different file groups (many-to-many relationship). The cloud storage database can connect to multiple tenants (one-to-many relationship), and the database can store multiple files (one-to-many relationship).

[0068] The above technical solution is described in detail below in conjunction with the accompanying drawings.

[0069] Figure 2 This is a flowchart of a method for creating a file group based on a cloud storage platform provided in this specification, which includes the following steps:

[0070] S200: In response to a file group creation request sent by a user, the management and control software creates a file group record.

[0071] In the present disclosure, the steps performed by the cloud storage platform may specifically be steps performed by a server system of the cloud storage platform.

[0072] The cloud storage platform can be connected to one or more tenants. For the convenience of description, this disclosure describes the solution for any tenant. A tenant can be connected to one or more users. For the convenience of description, this disclosure also describes the solution for any user.

[0073] Easy to understand and execute Figure 2 Before the method flow shown, the tenant's user has uploaded the file to the tenant's management and control software, and the management and control software has in turn uploaded the user's file to the cloud storage platform, and the cloud storage platform stores the user's file in a database.

[0074] The management and control software of the tenant may have a software identifier, and the software identifier of the management and control software may be the tenant identifier of the tenant.

[0075] In some embodiments, the tenant's management software can automatically record the file identification and profile information of each file uploaded to the cloud storage platform. The management software can display the file identification list and profile information to the user, allowing the user to choose which files to place in the same file group.

[0076] In other embodiments, the tenant's management and control software can call the file list reading interface of the cloud storage platform. In response to the call to the file list reading interface, the cloud storage platform returns a list of all files uploaded by the management and control software to the management and control software. Based on the list, the management and control software can allow the user to select which files they want to group into a file group.

[0077] It should be noted that users can request the management software to group their own files (files previously uploaded by themselves), or request the system to group files that do not belong to them (files previously uploaded by other users). If a user requests the management software to group files that do not belong to them, the management software needs to determine whether the user has the authority to group other users' files into his or her own file group, and will only allow the user's request if the user has the authority.

[0078] In some business scenarios, tenants can connect to several user teams. Users in a user team can share files uploaded by each other. Users can request the management and control software to create a file group for a user team. Any member of the user team can view the files in the file group.

[0079] A file group record may include a record identification field, a file reference field and an authorized user field, wherein the record identification field includes the record identification of the file group record, the file reference field includes the file identifications of several files specified by the user to be included in the same file group, and the authorized user field includes the user identification that has the authority to use the file group. The user identification that has the authority to use the created file group may include at least the user identification of the user who requested to create the file group.

[0080] S202: The management and control software adds the file group record to the file group list associated with the management and control software.

[0081] S204: The management and control software uses the software identifier of the management and control software and the record identifier of the file group record as interface input parameters to call the file group creation interface of the cloud storage platform.

[0082] S206: In response to the call to the file group creation interface, the cloud storage platform accesses the file group list associated with the management and control software, and reads the file reference field of the file group record corresponding to the record identifier.

[0083] The file group list associated with the tenant is usually stored in the cloud storage platform. The management and control software can access the associated file group list and add file group records to the file group list. In addition, in order to actually create a file group in the cloud storage database, the management and control software also needs to call the file group creation interface of the cloud storage platform. The file group creation interface is a management and control software programming interface API.

[0084] When the management and control software calls the file group creation interface, it needs to provide input parameters (referred to as input parameters) to the interface. The input parameters required by the interface are the tenant ID of the tenant (so that the cloud storage platform can clearly identify the file group list associated with which tenant it needs to access) and the record ID of the newly added file group record (so that the cloud storage platform can clearly identify which file group record it needs to read).

[0085] S208: The cloud storage platform creates a file table associated with the file group record in the database according to the file reference field, where the file table includes a file storage address corresponding to each file identifier in the file reference field.

[0086] In the database, the cloud storage platform creates a corresponding file table for each file group record created by the tenant. This file table can be understood as the file group created by the tenant. The file table in the database is not a file group in the user dimension. However, the tenant's management and control software can use the combination of the permission user field in the file group record and the file table in the database to realize the file group creation function in the user dimension.

[0087] In some embodiments, in a file group list, there may be at least one file group record whose permission user field includes at least two user identifiers. This means that a file group shared by multiple users can be created. In actual management and control software, multiple users in a user team can share a file group.

[0088] In addition, in a file group list, there may be partial duplication between a file group record and another file group record. The partial duplication here may mean that at least part of the file identifier included in the file reference field of one file group record is the same as at least part of the file identifier included in the file reference field of another file group record. This means that the relationship between files and file groups can be multiple-reference-multiple, and the same file can be included in multiple file groups.

[0089] Partial duplication here may also mean that at least part of the user identification included in the permission user field of one file group record is the same as at least part of the user identification included in the permission user field of another file group record. This means that a user can have viewing permissions for multiple file groups at the same time.

[0090] In some embodiments, each file group record in the file group list associated with the tenant may also share an index definition field, where the index definition field includes an index table configuration specified by the tenant.

[0091] In this way, the cloud storage platform can read the index definition field of the file group list, and create an index table corresponding to the file group list in the database according to the index table configuration included in the index definition field. The management and control software can call the file group query interface or the file group sorting interface of the cloud storage platform. In response to the call to the file group query interface or the file group sorting interface, the cloud storage platform can perform file group query or file group sorting in the database according to the index table, and return the query result or sorting result to the management and control software.

[0092] In addition, in the embodiment where the file is a picture and the file group is an album, a file group record may further include an album cover field, and the album cover field includes the file identifier of the file specified by the user as the album cover. In this way, the management and control software can read the album cover field from the file group record in the file group list, use the picture corresponding to the corresponding file identifier as the cover picture, and display the cover picture on the file group view component facing the user.

[0093] In some embodiments, each file group record in the file group list associated with the tenant may also share a parameter format definition field, which parameter format definition field includes the input parameter format used by the management and control software when calling the interface of the cloud storage platform, and / or the output parameter format used when the cloud storage platform returns the call result to the management and control software.

[0094] The input parameter format and output parameter format here can be, for example, a key-value pair, where the key is the variable name and the value is the data type of the variable.

[0095] The cloud storage platform can access the parameter format definition field of the file group list associated with the tenant to obtain the input parameter format and output parameter format used when interacting with the management and control software.

[0096] In addition, the file group record may also include a file quantity field, which includes the number of file identifiers in the file reference field of the file group record. In this way, the management and control software can read the file quantity field from the file group record in the file group list and display the corresponding quantity to the user.

[0097] Table 1 below shows a file group list. As shown in Table 1, each row is a file group record. The fields included in the file group record are: record identification field, file reference field, permission user field, shared parameter format definition field, and file quantity field.

[0098]

[0099] Table 1

[0100] Table 2 below shows a file list in a database. Assuming that Table 2 is associated with record 1 in Table 1, then, as shown in Table 2, each row represents a corresponding relationship between a set of file identifiers and file storage addresses.

[0101]

[0102] Table 2

[0103] In addition, the present disclosure also provides a file group reading method based on the above-mentioned file group. Specifically, the management and control software of any tenant of the cloud storage platform, in response to the file group reading request sent by the user, determines the record identifier of the file group record corresponding to the file group to be read; if the management and control software determines that the permission user field of the file group record contains the user identifier of the user, the file group reading interface of the cloud storage platform is called with the record identifier as the interface input parameter; in response to the call to the file group reading interface, the cloud storage platform reads each file storage address from the file table associated with the record identifier in the database, reads each file from each file storage address in the database, and returns each read file to the management and control software.

[0104] The management and control software can use the method of calling the interface of the cloud storage platform, take the record identifier of a file group record in the file group list as an input parameter, read the file group, and then display the file group to the user.

[0105] The present disclosure also provides a file sorting method based on the above-mentioned file group. Specifically, in response to a file sorting request sent by a user, the management and control software determines the file group to which the file to be sorted belongs, as well as the sorting strategy information. If the management and control software determines that the permission user field of the file group record corresponding to the file group contains the user ID of the user, the file sorting interface of the cloud storage platform is called with the record ID of the file group record and the sorting strategy information as interface input parameters. In response to the call to the file sorting interface, the cloud storage platform can sort each file identifier in the file table associated with the record identifier in the database based on the sorting strategy information, and return the sorting result to the management and control software.

[0106] The sorting strategy information here may be, for example, sorting by file upload time, sorting by file size, sorting by the first letter of the file name, etc.

[0107] The management and control software can use the method of calling the interface of the cloud storage platform, using the sorting strategy information and the record identifier of a file group record in the file group list as input parameters, sort the files in the file group, and then display the individual files in the sorted file group to the user based on the sorting result.

[0108] The present disclosure also provides a file search method based on the above-mentioned file group. Specifically, in response to a file search request sent by a user, the management and control software determines the file group to which the file to be searched belongs and the file identifier of the file to be searched. If the management and control software determines that the permission user field of the file group record corresponding to the file group contains the user identifier of the user, the file search interface of the cloud storage platform can be called with the record identifier of the file group record and the file identifier of the file to be searched as interface input parameters. In response to the call to the file search interface, the cloud storage platform can search for the file identifier of the file to be searched in the file table associated with the record identifier in the database, and read the file to be searched from the corresponding storage address and return it to the management and control software.

[0109] The management and control software can use the method of calling the interface of the cloud storage platform, take the file identifier of the file to be searched and the record identifier of a file group record in the file group list as input parameters, search for a file in the file group, and then display the searched files to the user.

[0110] The present disclosure also provides a file deletion method based on the above-mentioned file group. Specifically, in response to a file deletion request sent by a user, the management and control software determines the file group to which the to-be-deleted file belongs. If the management and control software determines that the permission user field of the file group record corresponding to the file group contains the user identifier of the user, the file deletion interface of the cloud storage platform can be called with the record identifier of the file group record as an interface input parameter. In response to the call to the file deletion interface, the cloud storage platform can delete the file identifier of the to-be-deleted file in the file table associated with the record identifier in the database, and delete the file identifier from the file reference field in the file group record.

[0111] The management and control software can call the interface of the cloud storage platform, using the file identifier of the file to be deleted and the record identifier of a file group record in the file group list as input parameters to delete a file in the file group. The deletion result will affect the file group list associated with the tenant, causing the file reference field of the corresponding file group record to no longer include the file identifier.

[0112] It should be noted that the above-mentioned deletion operation can be understood as removing a file from a file group, and the file itself can still be retained in the database.

[0113] The present disclosure also provides a file recovery method based on the above-mentioned file group. Specifically, in response to a file recovery request sent by a user, the management and control software determines the file group to which the file to be recovered belongs. If the management and control software determines that the permission user field of the file group record corresponding to the file group contains the user identifier of the user, the file recovery interface of the cloud storage platform can be called with the record identifier of the file group record as the interface input parameter. In response to the call to the file recovery interface, the cloud storage platform can mark the file identifier of the file to be recovered in the file table associated with the record identifier in the database for recovery, and delete the file identifier from the file reference field in the file group record.

[0114] The management and control software can call the interface of the cloud storage platform, taking the file identifier of the file to be recovered and the record identifier of a file group record in the file group list as input parameters, and recover a file in the file group. The recovery result will affect the file group list associated with the tenant, causing the file reference field of the corresponding file group record to no longer include the file identifier.

[0115] It is easy to understand that the above recycling operation is equivalent to temporarily putting the files in the file group into the recycle bin. The user can also restore the files in the recycle bin, causing the management software to call the interface of the cloud storage platform again and delete the recycling mark of the file identifier of the file in the file table.

[0116] In addition, there is another situation where the user can recycle the file to the recycle bin first and then move the file out of the file group. In this case, it is necessary to first call the file recycling interface of the cloud storage platform and then call the file deletion interface of the cloud storage platform.

[0117] The present disclosure also provides a method for modifying file remark information based on the above-mentioned file group, wherein the file group record in the file group list associated with any management and control software of the cloud storage platform also includes at least one file remark information field, and different file remark information fields of the same file group record are used to record different types of file remark information; the file remark information field of each file group record includes: the file remark information corresponding to each file identifier in the file reference field of the file group record. It is easy to understand that the remark information of files and files is usually stored at the same storage address of the database of the cloud storage platform.

[0118] The above-mentioned remark information modification method may specifically include: in response to a file remark information modification request sent by a user, the management and control software determines the file identifier of the file whose remark information is to be modified, and the file group to which the file belongs. If the management and control software determines that the permission user field of the file group record corresponding to the file group contains the user identifier of the user, the file remark information modification interface of the cloud storage platform may be called with the record identifier of the file group record as the interface input parameter. In response to the call to the file remark information modification interface, the cloud storage platform may read the storage address corresponding to the file identifier from the corresponding file table, modify the file remark information at the storage address, and update the corresponding file remark information field in the file group record according to the modification result.

[0119] The file remark information of a file may be, for example, a user-defined file name, the time when the user last modified the file, and the like.

[0120] The present disclosure also provides a file group creation system, including a cloud storage platform and at least one management and control software for docking with the cloud storage platform;

[0121] Any management and control software, in response to a file group creation request sent by a user, creates a file group record; wherein the file group record includes a record identification field, a file reference field and an authorized user field, wherein the file reference field includes a number of file identifications to be included in the same file group, and the authorized user field includes a user identification with the authority to use the file group; in a file group list associated with the tenant, the file group record is added, and the file group creation interface of the cloud storage platform is called with the software identification of the management and control software and the record identification of the file group record as interface input parameters;

[0122] The cloud storage platform, in response to a call to the file group creation interface, accesses the file group list associated with the management and control software, and reads the file reference field of the file group record corresponding to the record identifier; based on the file reference field, creates a file table associated with the file group record in a database, the file table including the file storage address corresponding to each file identifier in the file reference field.

[0123] The present disclosure also provides a computer-readable storage medium having a computer program stored thereon, and the program, when executed by a processor, implements the method of the embodiment of the present disclosure.

[0124] The present disclosure also provides a computing device, including a memory and a processor; the memory is used to store computer instructions that can be executed on the processor, and the processor is used to implement the method of the embodiment of the present disclosure when executing the computer instructions.

[0125] Figure 3It is a structural diagram of a computing device provided by the present disclosure. The computing device 15 may include but is not limited to: a processor 151, a memory 152, and a bus 153 connecting different system components (including the memory 152 and the processor 151).

[0126] The memory 152 stores computer instructions, which can be executed by the processor 151, so that the processor 151 can execute the method of any embodiment of the present disclosure. The memory 152 may include a random access memory unit RAM 1521, a cache memory unit 1522 and / or a read-only memory unit ROM 1523. The memory 152 may also include: a program tool 1525 having a set of program modules 1524, the program modules 1524 include but are not limited to: an operating system, one or more application programs, other program modules and program data, and one or more combinations of these program modules may include the implementation of a network environment.

[0127] The bus 153 may include, for example, a data bus, an address bus, and a control bus. The computing device 150 may also communicate with an external device 155 through an I / O interface 154, and the external device 155 may be, for example, a keyboard, a Bluetooth device, etc. The computing device 150 may also communicate with one or more networks through a network adapter 156, for example, the network may be a local area network, a wide area network, a public network, etc. As shown in the figure, the network adapter 156 may also communicate with other modules of the computing device 15 through the bus 153.

[0128] In addition, although the operations of the disclosed method are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0129] Although the spirit and principle of the present disclosure have been described with reference to several specific embodiments, it should be understood that the present disclosure is not limited to the disclosed specific embodiments, and the division of various aspects does not mean that the features in these aspects cannot be combined to benefit, and such division is only for the convenience of expression. The present disclosure is intended to cover various modifications and equivalent arrangements included in the spirit and scope of the attached claims.

[0130] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0131] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0132] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0133] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0134] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0135] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0136] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 In a typical configuration, a computer includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0137] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0138] Computer-readable media include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, disk storage, quantum memory, graphene-based storage media or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0139] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0140] The above describes a number of embodiments of the present specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0141] The terms used in the multiple embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit the multiple embodiments of this specification. The singular forms of "a", "said" and "the" used in the multiple embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0142] It should be understood that although the terms first, second, third, etc. may be used to describe various information in multiple embodiments of this specification, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of multiple embodiments of this specification, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0143] Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the method embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The method embodiment described above is merely illustrative, wherein the modules described as separate components may or may not be physically separated, and the functions of each module can be implemented in the same one or more software and / or hardware when implementing the embodiment scheme of this specification. It is also possible to select some or all of the modules according to actual needs to achieve the purpose of the embodiment scheme. A person of ordinary skill in the art can understand and implement it without paying creative labor.

[0144] The above description is only a preferred embodiment of the multiple embodiments of this specification and is not intended to limit the multiple embodiments of this specification. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the multiple embodiments of this specification should be included in the scope of protection of the multiple embodiments of this specification.

Claims

1. A method for creating a file group, comprising: In response to the file group creation request sent by the user, the management and control software creates a file group record; wherein the file group record includes a record identification field, a file reference field and an authorized user field, wherein the file reference field includes a number of file identifications to be included in the same file group, and the authorized user field includes a user identification that has the authority to use the file group; The management and control software adds the file group record to the associated file group list, and calls the file group creation interface of the cloud storage platform using the software identifier of the management and control software and the record identifier of the file group record as interface input parameters; In response to the call to the file group creation interface, the cloud storage platform accesses the file group list associated with the management and control software and reads the file reference field of the file group record corresponding to the record identifier; The cloud storage platform creates a file table associated with the file group record in a database according to the file reference field, and the file table includes a file storage address corresponding to each file identifier in the file reference field.

2. The method of claim 1, wherein: In a file group list, one file group record partially repeats with another file group record, and the partial repeat includes at least one of the following situations: At least part of the file identifier included in the file reference field of one file group record is the same as at least part of the file identifier included in the file reference field of another file group record; At least a portion of a user identifier included in an authorized user field of one file group record is the same as at least a portion of a user identifier included in an authorized user field of another file group record.

3. The method of claim 1, wherein: Each file group record in the file group list associated with the control software also shares an index definition field, which includes an index table configuration; The method further comprises: The cloud storage platform reads the index definition field of the file group list; The cloud storage platform creates an index table corresponding to the file group list in the database according to the index table configuration included in the index definition field; The management and control software calls the file group query interface or the file group sorting interface of the cloud storage platform; In response to the call to the file group query interface or the file group sorting interface, the cloud storage platform performs file group query or file group sorting in the database according to the index table, and returns the query result or sorting result to the management and control software.

4. The method of claim 1, wherein: Files include pictures, and file groups include albums; The file group record also includes an album cover field, and the album cover field includes the file identifier of the file specified by the user as the album cover; The method further comprises: The management and control software reads the album cover field from the file group record, uses the picture corresponding to the corresponding file identifier as the cover picture, and displays the cover picture on the file group view component facing the user.

5. The method of claim 1, wherein: Each file group record in the file group list associated with the management and control software also shares a parameter format definition field, which includes an input parameter format used by the management and control software when calling the interface of the cloud storage platform, and / or an output parameter format used by the cloud storage platform when returning a call result to the management and control software; The method further comprises: The cloud storage platform accesses the parameter format definition field of the file group list associated with the management and control software to obtain the input parameter format and the output parameter format used when interacting with the management and control software.

6. A method for reading a file group created by the method according to any one of claims 1 to 5, comprising: In response to a file group read request sent by a user, the management and control software determines a record identifier of a file group record corresponding to the file group to be read; If the management and control software determines that the permission user field of the file group record contains the user ID of the user, the file group reading interface of the cloud storage platform is called using the record ID as an interface input parameter; In response to the call to the file group reading interface, the cloud storage platform reads each file storage address from the file table associated with the record identifier in the database, reads each file from each file storage address in the database, and returns each read file to the management and control software.

7. A method for sorting files of a file group created based on the method according to any one of claims 1 to 5, comprising: In response to the file sorting request sent by the user, the management and control software determines the file group to which the file to be sorted belongs, as well as the sorting strategy information; If the management and control software determines that the permission user field of the corresponding file group record contains the user ID of the user, the file sorting interface of the cloud storage platform is called using the record ID of the file group record and the sorting strategy information as interface input parameters; In response to the call to the file sorting interface, the cloud storage platform sorts each file identifier in the file table associated with the record identifier in the database based on the sorting strategy information, and returns the sorting result to the management and control software.

8. A file search method based on a file group created by the method according to any one of claims 1 to 5, comprising: In response to the file search request sent by the user, the management and control software determines the file group to which the file to be searched belongs and the file identifier of the file to be searched; If the management and control software determines that the permission user field of the corresponding file group record contains the user ID of the user, the file search interface of the cloud storage platform is called using the record ID of the file group record and the file ID of the file to be searched as interface input parameters; In response to the call to the file search interface, the cloud storage platform searches for the file identifier of the file to be searched in the file table associated with the record identifier in the database, reads the file to be searched from the corresponding storage address and returns it to the management and control software.

9. A method for deleting a file group created based on the method according to any one of claims 1 to 5, comprising: In response to a file deletion request sent by a user, the management and control software determines the file group to which the file to be deleted belongs; If the management and control software determines that the permission user field of the corresponding file group record contains the user ID of the user, the file deletion interface of the cloud storage platform is called using the record ID of the file group record as an interface input parameter; In response to the call to the file deletion interface, the cloud storage platform deletes the file identifier of the file to be deleted in the file table associated with the record identifier in the database, and deletes the file identifier from the file reference field of the file group record.

10. A file recovery method based on a file group created by the method according to any one of claims 1 to 5, comprising: In response to the file recycling request sent by the user, the management and control software determines the file group to which the file to be recycled belongs; If the management and control software determines that the permission user field of the file group record contains the user ID of the user, the file recovery interface of the cloud storage platform is called using the record ID of the file group record as an interface input parameter; In response to the call to the file recycling interface, the cloud storage platform recycles the file identifier of the file to be recycled in the file table associated with the record identifier in the database, and deletes the file identifier from the file reference field in the file group record.

11. A method for modifying file remark information of a file group created based on the method according to any one of claims 1 to 5, wherein: The file group record also includes at least one file note information field, and different file note information fields of the same file group record are used to record different types of file note information; The file remark information field of each file group record includes: file remark information of each file in the corresponding file group, and the method includes: In response to a file note information modification request sent by a user, the management and control software determines the file identifier of the file whose note information is to be modified, and the file group to which the file belongs; If the management and control software determines that the permission user field of the file group record contains the user ID of the user, the file note information modification interface of the cloud storage platform is called using the record ID of the file group record as an interface input parameter; The cloud storage platform responds to the call to the file note information modification interface, reads the storage address corresponding to the file identifier from the corresponding file table according to the record identifier and the file identifier, modifies the file note information on the storage address, and updates the corresponding file note information field in the file group record according to the modification result.

12. A file group creation system, comprising a cloud storage platform and at least one management and control software for interfacing with the cloud storage platform; Any management and control software, in response to a file group creation request sent by a user, creates a file group record; wherein, The file group record includes a record identification field, a file reference field and an authorized user field, wherein the file reference field includes several file identifications to be included in the same file group, and the authorized user field includes the identification of a user who has the authority to use the file group; in the associated file group list, the file group record is added, and the file group creation interface of the cloud storage platform is called with the software identification of the control software and the record identification of the file group record as interface input parameters; The cloud storage platform, in response to a call to the file group creation interface, accesses the file group list associated with the management and control software, and reads the file reference field of the file group record corresponding to the record identifier; based on the file reference field, creates a file table associated with the file group record in a database, the file table including the file storage address corresponding to each file identifier in the file reference field.

13. A computing device comprising a memory and a processor; the memory is used to store computer instructions that can be executed on the processor, and the processor is used to implement the functions of the cloud storage platform or management software in the method described in any one of claims 1 to 11 when executing the computer instructions.

14. A computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the functions of the cloud storage platform or the management and control software in the method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Real-time repetition removal and transmission method for data in network file system

    CN101917396A

  • System having in-memory buffer service, temporary events file storage system and backup events file uploader service

    US20170075627A1