CN115757283A - File processing method and device, storage medium and electronic equipment - Google Patents

File processing method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN115757283A
CN115757283A CN202211502125.5A CN202211502125A CN115757283A CN 115757283 A CN115757283 A CN 115757283A CN 202211502125 A CN202211502125 A CN 202211502125A CN 115757283 A CN115757283 A CN 115757283A
Authority
CN
China
Prior art keywords
file
user
template
template file
determining
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202211502125.5A
Other languages
Chinese (zh)
Inventor
李洋
肖锋
王刚
马幸晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianyi Digital Life Technology Co Ltd
Original Assignee
Tianyi Digital Life Technology Co Ltd
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 Tianyi Digital Life Technology Co Ltd filed Critical Tianyi Digital Life Technology Co Ltd
Priority to CN202211502125.5A priority Critical patent/CN115757283A/en
Publication of CN115757283A publication Critical patent/CN115757283A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a file processing method and device, a storage medium and electronic equipment, which are applied to a cloud disk system, wherein the cloud disk system comprises a resource pool and a system database, the resource pool stores physical files of each template file, and the system database stores file index information of each template file; acquiring file adaptation characteristics of a user; determining each template file matched with the user based on the file adaptation characteristics and each file index information in the system database; generating a template file list based on the determined template files; acquiring a file query instruction fed back by a user; determining a target template file based on a file index identifier in the file query instruction, and determining a physical file identifier of the target template file; and feeding back the physical file corresponding to the physical file identifier in the resource pool to the user. The invention can realize the processing of the template file without storing the template file in the cloud disk of the user, thereby avoiding the storage of repeated template files in a cloud disk system and avoiding the waste of resources.

Description

File processing method and device, storage medium and electronic equipment
Technical Field
The invention relates to the technical field of internet cloud disks, in particular to a file processing method and device, a storage medium and electronic equipment.
Background
With the development of internet technology, products using cloud technology are beginning to be applied in people's daily life. The cloud technology is a hosting technology for unifying series resources such as hardware, software, network and the like in a wide area network to realize the calculation, storage, processing and sharing of data.
Among various cloud products, cloud disks are widely used by people. When the provider provides cloud disk services for people, a plurality of template files are provided for each user. In order to ensure that each user processes the template files, the template files and related information are stored in the cloud disk of each user. With the increase of the number of users of the cloud disk system, the processing mode of the template file causes a large number of repeated template files to be stored in the cloud disk system, and a large number of resources of the cloud disk system are wasted.
Disclosure of Invention
In view of this, the present invention provides a file processing method and apparatus, a storage medium, and an electronic device, where by applying the scheme, it is not necessary to store related data of template files in a cloud disk of each user, but only to store physical files of each template file that are constructed in advance in a resource pool of a cloud disk system and file index information of each template file in a system database, and then to implement processing on the template files by using file index information and physical file identifiers of the template files, so that only one copy of data of the template files needs to be stored in the cloud disk system, thereby effectively avoiding storing duplicate template files in the cloud disk system, and effectively releasing a large amount of storage resources of the cloud disk system.
In order to achieve the above object, the embodiments of the present invention provide the following technical solutions:
a file processing method is applied to a cloud disk system, the cloud disk system comprises a resource pool and a system database, the resource pool stores physical files of all template files which are constructed in advance, the system database stores file index information of each template file, and the method comprises the following steps:
when a user logs in the cloud disk system, acquiring file adaptation characteristics of the user;
determining each template file matched with the user based on the file adaptation characteristics and each file index information in the system database;
generating a template file list based on each template file matched with the user;
displaying the template file list to the user;
acquiring a file query instruction fed back by the user based on the template file list, and acquiring a file index identifier in the file query instruction;
determining a target template file in each template file matched with the user based on the file index identification, and determining a physical file identification of the target template file;
and feeding back the physical file corresponding to the physical file identifier in the resource pool to the user.
Optionally, the determining, based on the file adaptation feature and the file index information in the system database, each template file matched with the user includes:
determining an applicable condition of each template file based on each file index information;
for each template file, judging whether the file adaptation characteristics meet the applicable conditions of the template file or not;
if the file adaptation characteristics meet the applicable conditions of the template file, determining that the template file is matched with the user;
and if the file adaptation characteristics do not meet the applicable conditions of the template file, determining that the template file is not matched with the user.
The above method, optionally, further includes:
receiving an operation instruction of the target template file sent by the user;
copying the target template file to obtain a copy file of the target template file;
executing the operation corresponding to the operation instruction on the copy file to obtain the private file of the user;
and generating first index information of the private file, and storing the private file and the first index information of the private file into the cloud disk of the user.
In the foregoing method, optionally, after performing the presentation of the template file list to the user, the method further includes:
acquiring second index information of each file stored in the cloud disk of the user;
generating a personal file list based on each second index information;
and displaying the personal file list to the user.
The method described above, optionally, further includes:
obtaining login verification information sent by the user;
authenticating the user based on the login authentication information;
and when the user passes the identity authentication, determining that the user logs in the cloud disk system.
A file processing device is applied to a cloud disk system, the cloud disk system comprises a resource pool and a system database, the resource pool stores physical files of all template files which are constructed in advance, the system database stores file index information of each template file, and the device comprises:
the cloud disk system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring file adaptation characteristics of a user when the user logs in the cloud disk system;
the first determining unit is used for determining each template file matched with the user based on the file adaptation characteristics and each file index information in the system database;
the first generation unit is used for generating a template file list based on each template file matched with the user;
the first display unit is used for displaying the template file list to the user;
the second obtaining unit is used for obtaining a file query instruction fed back by the user based on the template file list and obtaining a file index identifier in the file query instruction;
a second determining unit, configured to determine a target template file among template files matched with the user based on the file index identifiers, and determine a physical file identifier of the target template file;
and the feedback unit is used for feeding back the physical file corresponding to the physical file identifier in the resource pool to the user.
The above apparatus, optionally, the first determining unit includes:
a first determining subunit, configured to determine, based on each of the file index information, an applicable condition of each of the template files;
the judging subunit is used for judging whether the file adaptation characteristics meet the applicable conditions of the template files or not for each template file;
a second determining subunit, configured to determine that the template file matches the user if the file adaptation feature satisfies an applicable condition of the template file;
and the third determining subunit is configured to determine that the template file is not matched with the user if the file adaptation feature does not meet the applicable condition of the template file.
The above apparatus, optionally, further comprises:
the receiving unit is used for receiving an operation instruction of the target template file sent by the user;
the first obtaining unit is used for copying the target template file to obtain a copy file of the target template file;
a second obtaining unit, configured to perform an operation corresponding to the operation instruction on the copy file, so as to obtain a private file of the user;
and the storage unit is used for generating first index information of the private file and storing the private file and the first index information of the private file into the cloud disk of the user.
The above apparatus, optionally, further comprises:
a third obtaining unit, configured to obtain second index information of each file stored in the cloud disk of the user;
a second generating unit configured to generate a personal file list based on each of the second index information;
and the second display unit is used for displaying the personal file list to the user.
The above apparatus, optionally, further comprises:
a fourth obtaining unit, configured to obtain login authentication information sent by the user;
the authentication unit is used for authenticating the identity of the user based on the login authentication information;
and the third determining unit is used for determining that the user logs in the cloud disk system when the user passes the identity authentication.
A storage medium comprising stored instructions, wherein the instructions, when executed, control a device on which the storage medium resides to perform a file processing method as described above.
An electronic device comprising a memory, and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by one or more processors to perform a file processing method as described above.
Compared with the prior art, the invention has the following advantages:
the invention provides a file processing method and device, a storage medium and electronic equipment, which are applied to a cloud disk system, wherein the cloud disk system comprises a resource pool and a system database, the resource pool stores physical files of all template files which are constructed in advance, and the system database stores file index information of each template file; when a user logs in a cloud disk system, acquiring file adaptation characteristics of the user; determining each template file matched with the user based on the file adaptation characteristics and each file index information in the system database; generating a template file list based on each template file matched with the user; displaying the template file list to a user; acquiring a file query instruction fed back by a user based on the template file list, and acquiring a file index identifier in the file query instruction; determining a target template file in each template file matched with the user based on the file index identification, and determining a physical file identification of the target template file; and feeding back the physical file corresponding to the physical file identifier in the resource pool to the user. The template file matched with the user is determined by using the file index information in the system database, the physical file identification is determined based on the file index identification in the file query instruction fed back by the user, the physical file of the template file corresponding to the physical file identification in the resource pool is fed back to the user, and therefore the template file is processed by the user.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flowchart of a method of processing a document according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for a user to log in a system according to an embodiment of the present invention;
FIG. 3 is a flowchart of a method for determining template files matching a user according to an embodiment of the present invention;
FIG. 4 is a flowchart of a method for operating a viewed template file according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a document processing apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
The invention is operational with numerous general purpose or special purpose computing device environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multi-processor apparatus, distributed computing environments that include any of the above devices or equipment, and the like.
The invention can be applied to a cloud disk system constructed by using a computer terminal or distributed computing equipment, preferably, the cloud disk system comprises but is not limited to a resource pool and a system database, wherein the resource pool is used for storing physical files of each template file constructed in advance, and the system database is used for storing file index information of each template file; it should be noted that, besides the resource pool and the system database, the cloud disk system also includes a registration database for storing user registration information, a cloud disk allocated for each user, and other modules or databases, which are not described herein.
Referring to fig. 1, a flowchart of a method of a file processing method according to an embodiment of the present invention is specifically described as follows:
s101, when a user logs in the cloud disk system, file adaptation characteristics of the user are obtained.
In order to improve the security of the use environment of the cloud disk system, the cloud disk system needs to be logged in by a user to use.
Referring to fig. 2, a flowchart of a method for a user to log in a system according to an embodiment of the present invention is specifically described as follows:
s201, obtaining login authentication information sent by a user.
When a user wants to use the cloud disk, login authentication information is input to a cloud disk system, wherein the login authentication information comprises but is not limited to information such as account information and an authentication code, and the account information comprises but is not limited to a personal account and an account password.
Preferably, the verification code is dynamically changed, when the cloud disk system receives a login request sent by a user, the cloud disk system randomly generates the verification code, then the verification code is fed back to the user, and the user can input the received verification code when inputting information such as a personal account number.
S202, performing identity authentication on the user based on the login authentication information, and determining whether the user passes the identity authentication; when the user passes the authentication, S203 is executed; when the user is not authenticated, S204 is performed.
When the identity of the user is verified, whether registered account information which is the same as the account information in the login verification information exists in the cloud disk system or not can be determined, if the registered account information exists, whether a verification code input by the user is the same as the verification code fed back by the cloud disk system or not can be determined, if the verification code input by the user is the same as the verification code fed back by the cloud disk system, the user is determined to pass the identity verification, and if the verification code input by the user is not the same as the verification code, the verification code input by the user is determined to be wrong, and the user is determined not to pass the identity verification.
And when the cloud disk system does not have the registered account information which is the same as the account information in the login authentication information, determining that the user does not pass the identity authentication.
Preferably, the registered account information includes an account allocated to the user by the cloud disk system when the user registers and an account password set by the user.
And S203, determining that the user logs in the cloud disk system.
And S204, the user fails to log in the cloud disk system.
Furthermore, the user can operate the data in the cloud disk system only after logging in the cloud disk system, so that the security of the data in the cloud disk system can be ensured, and the security risk of the cloud disk system is reduced.
It should be noted that the file adaptation features include, but are not limited to, information such as a user level, a region to which the user belongs, and the like, and the user level may be platinum, gold, or common; the region may be a specific province or city.
S102, determining each template file matched with the user based on the file adaptation characteristics and each file index information in the system database.
Referring to fig. 3, a flowchart of a method for determining each template file matched with a user according to an embodiment of the present invention is specifically described as follows:
s301, based on the index information of each file, the applicable condition of each template file is determined.
And analyzing each file index information, thereby obtaining the applicable condition of each template file from each file index information.
The file index information includes, but is not limited to, file index identification, file name, directory, MD5 value, validity period, applicable condition, and the like.
The template file refers to a file which is owned by a group of users with the same characteristics at the same time in a certain time period, and the template file can be time-efficient, that is, the template file can be loaded by the users only in the valid period. The template file may be any type of file, such as a document class: word, txt, etc., picture class: jpg, png, etc., media class: mp4, avi, etc.; further, the validity period may be the valid time of the template file in the cloud disk system, and specifically, the validity period of the template file in the cloud disk system is 7 days, and then the template file is released to the cloud disk system within 7 days, and all users who meet the use condition of the template file can call the file.
Preferably, the applicable conditions include specific conditions to which the template conditions are applied, such as a user rating and a user region, and these conditions may be used in combination or individually. By setting the applicable conditions for each template file, users of audiences can be specified for the template file, for example, when the template file guides a document for user operation, a new user can be set to use the file. By setting the expiration date and the applicable condition for the template file, different template files can be provided for different types of users at different times.
Preferably, the validity period of the template file may be set in applicable conditions.
S302, judging whether the file adaptation characteristics meet the applicable conditions of the template files or not for each template file; if the file adaptation characteristics meet the applicable conditions of the template file, executing S303; if the file adaptation characteristics do not satisfy the applicable conditions of the template file, S304 is executed.
For each template file, firstly, judging whether the template file is in the validity period, if the template file is in the validity period, determining the condition content set in the applicable condition, such as the grade of the user who can use the template file and/or the content of the user in the region where the template file can be used.
When judging whether the file adaptation characteristics meet the application conditions of the template file, judging whether the user meets the application conditions of the template file based on the file adaptation characteristics; for example, if the user level and the region of the template file are specified in the applicable condition, it is necessary to determine whether the user level in the file adaptation feature satisfies the level set in the applicable condition and determine whether the region in the file adaptation feature satisfies the region in the applicable condition.
S303, determining that the template file is matched with the user.
S304, determining that the template file is not matched with the user.
Therefore, each template file matched with the user can be screened out from each template file, and further, the user can call the template file matched with the user.
S103, generating a template file list based on each template file matched with the user.
The template file list contains the file name of each template file matched with the user.
And S104, displaying the template file list to the user.
The list of template files is fed back to the user for presentation to the user on the terminal used by the user.
In the method provided by the embodiment of the present invention, after the template file list is displayed to the user, before S105 is executed, second index information of each file stored in the cloud disk of the user may also be obtained; generating a personal file list based on each second index information; displaying the personal file list to a user; therefore, each file stored in the cloud disk of the user can be displayed to the user, and preferably, the second index information includes the file name, the index identifier and other contents of each file in the cloud disk.
And S105, acquiring a file query instruction fed back by a user based on the template file list, and acquiring a file index identifier in the file query instruction.
When a user has a need of inquiring a certain template file in the template file list, selecting the template file to be inquired from the template file list so as to generate a file inquiry instruction, analyzing the file inquiry instruction and acquiring a file index identifier in the file inquiry instruction; and the file index identifier in the file query instruction is the file index identifier of the template file which needs to be queried by the user.
S106, determining a target template file in each template file matched with the user based on the file index identification, and determining a physical file identification of the target template file.
And for each template file matched by the user, matching a file index identifier in the file index information of the template file with a file index identifier in a file query instruction, determining that the template file is a target template file when the file index identifier in the file index information of the template file is the same as the file index identifier in the file query instruction, and otherwise, determining that the template file is not the target template file.
After the target template file is determined, the physical file identifier of the target template file may be determined according to the file index identifier.
It should be noted that each template file has a unique file index identifier, and each file index identifier has a unique physical file identifier; the physical file identification is used for acquiring a physical file of a template file which needs to be inquired by a user.
And S107, feeding back the physical file corresponding to the physical file identifier in the resource pool to the user.
And determining a physical file corresponding to the physical file identifier in the resource pool, and feeding back the physical file to a user, thereby finishing the query of the template file.
The template file provided by the invention has the unique file index identification and the unique physical file identification in the cloud disk system, the file index identification corresponds to the physical file identification one by one, the physical file identification is used for searching the physical file of the template file, and the specific content of the template file is stored in the physical file. The template file is a public file and can be read by multiple users at the same time, each user acquires a file index identification in the process of reading the template file, then determines a physical file identification corresponding to the file index identification, and acquires the corresponding physical file by using the physical file identification, so that the template file is viewed.
The method provided by the embodiment of the invention is applied to a cloud disk system, the cloud disk system comprises a resource pool and a system database, the resource pool stores physical files of all template files which are constructed in advance, and the system database stores file index information of each template file; when a user logs in a cloud disk system, acquiring file adaptation characteristics of the user; determining each template file matched with the user based on the file adaptation characteristics and each file index information in the system database; generating a template file list based on each template file matched with the user; displaying the template file list to a user; acquiring a file query instruction fed back by a user based on the template file list, and acquiring a file index identifier in the file query instruction; determining a target template file in each template file matched with the user based on the file index identification, and determining a physical file identification of the target template file; and feeding back the physical file corresponding to the physical file identifier in the resource pool to the user. The template file matched with the user is determined by using the file index information in the system database, the physical file identification is determined based on the file index identification in the file query instruction fed back by the user, the physical file of the template file corresponding to the physical file identification in the resource pool is fed back to the user, and therefore the template file is processed by the user.
By applying the method provided by the invention, the template file becomes a public file, all users in the cloud disk system can process the template file, and a plurality of people can look up the document at the same time.
In the method provided by the embodiment of the present invention, after the user views the template file, the user may perform other operations on the template file viewed in the mode, and referring to fig. 4, a flowchart of the method for operating the template file viewed in the embodiment of the present invention is specifically described as follows:
s401, receiving an operation instruction of the target template file sent by a user.
Preferably, the operation instruction may be an instruction for one of modification, unloading, copying, moving, and sharing.
S402, copying the target template file to obtain a copy file of the target template file.
And S403, executing operation corresponding to the operation instruction on the copy file to obtain the private file of the user.
And executing corresponding operation on the copy file according to the operation type of the operation instruction, for example, if the operation type of the operation instruction is modification, modifying the content in the copy file according to the specific modification information in the operation instruction.
S404, generating first index information of the private file, and storing the private file and the first index information of the private file into a cloud disk of the user.
Preferably, the first index information includes, but is not limited to, a file name, a file index identifier, a physical file identifier, and the like.
It should be noted that the places where the private file and the template file are stored are different, the private file is stored in the cloud disk private to the user and only operated by the user, the related data of the template file is stored in the resource pool and the system database of the cloud disk system, and all users using the cloud disk system can access the template file through the resource pool and the system database.
Preferably, after the user converts the target template file into the private file, the copied template file can be recorded to obtain information and user information to the database, then the user does not load the template file any more, and the template file copying operation ratio is small through statistical analysis, so that the data volume of the template file copying is small, and the system is not burdened.
In order to prevent the content of the template file in the cloud disk system from changing, when a user performs operations such as modification, unloading, copying, moving and the like on the template file, the template file needs to be copied, and then corresponding operations are performed on the copied file, so that the content of the template file in the cloud disk system is prevented from changing.
Preferably, in the process of operating the template file by the user, if the user only copies the template file, the template file is converted into a unique file, which can be understood as that the user additionally creates a file, and at this time, a new file index identifier needs to be created for the newly created file; if the user modifies the copied template file after copying the template file, a new physical file identifier needs to be created for the modified template file. Furthermore, if the operation is a copy operation, when a user logs in the cloud disk system, newly created files and original template files can be displayed; if the operation is a moving operation, only the newly created unique file is displayed, and the original template file is not displayed any more.
By applying the method provided by the invention, the cloud disk system can provide operations such as consulting and the like for all users using the cloud disk system only by storing one piece of data of the template file, the memory occupied by the template file in the cloud disk system cannot be increased along with the expansion of the user scale, a large amount of repeated data in the cloud disk system is effectively cleaned, a large amount of storage resources are released, the system processing efficiency is improved, and the system operation cost is reduced.
Corresponding to the method shown in fig. 1, the present invention further provides a file processing apparatus, which is disposed in the cloud disk system and is used for supporting the specific implementation of the method shown in fig. 1.
Referring to fig. 5, a schematic structural diagram of a file processing apparatus according to an embodiment of the present invention is specifically described as follows:
a first obtaining unit 501, configured to obtain a file adaptation feature of a user when the user logs in the cloud disk system;
a first determining unit 502, configured to determine, based on the file adaptation features and file index information in the system database, template files matched with the user;
a first generating unit 503, configured to generate a template file list based on each template file matched with the user;
a first presentation unit 504, configured to present the template file list to the user;
a second obtaining unit 505, configured to obtain a file query instruction fed back by the user based on the template file list, and obtain a file index identifier in the file query instruction;
a second determining unit 506, configured to determine a target template file among template files matched with the user based on the file index identifier, and determine a physical file identifier of the target template file;
a feedback unit 507, configured to feed back, to the user, the physical file in the resource pool corresponding to the physical file identifier.
The device provided by the embodiment of the invention is applied to a cloud disk system, the cloud disk system comprises a resource pool and a system database, the resource pool stores physical files of all template files which are constructed in advance, and the system database stores file index information of each template file; when a user logs in a cloud disk system, acquiring file adaptation characteristics of the user; determining each template file matched with the user based on the file adaptation characteristics and each file index information in the system database; generating a template file list based on each template file matched with the user; displaying the template file list to a user; acquiring a file query instruction fed back by a user based on the template file list, and acquiring a file index identifier in the file query instruction; determining a target template file in each template file matched with the user based on the file index identification, and determining a physical file identification of the target template file; and feeding back the physical file corresponding to the physical file identifier in the resource pool to the user. The template file matched with the user is determined by using the file index information in the system database, the physical file identification is determined based on the file index identification in the file query instruction fed back by the user, the physical file of the template file corresponding to the physical file identification in the resource pool is fed back to the user, and therefore the template file is processed by the user.
In another apparatus provided in the embodiment of the present invention, the first determining unit 502 includes:
a first determining subunit, configured to determine, based on each of the file index information, an applicable condition of each of the template files;
the judging subunit is used for judging whether the file adaptation characteristics meet the applicable conditions of the template files or not for each template file;
the second determining subunit is configured to determine that the template file matches the user if the file adaptation feature meets the applicable condition of the template file;
and the third determining subunit is configured to determine that the template file is not matched with the user if the file adaptation feature does not meet the applicable condition of the template file.
In another apparatus provided in an embodiment of the present invention, the apparatus further includes:
the receiving unit is used for receiving an operation instruction of the target template file sent by the user;
the first obtaining unit is used for copying the target template file to obtain a copy file of the target template file;
a second obtaining unit, configured to execute an operation corresponding to the operation instruction on the duplicate file, so as to obtain a private file of the user;
and the storage unit is used for generating first index information of the private file and storing the private file and the first index information of the private file into the cloud disk of the user.
In another apparatus provided in an embodiment of the present invention, the apparatus further includes:
a third obtaining unit, configured to obtain second index information of each file stored in the cloud disk of the user;
a second generating unit configured to generate a personal file list based on each of the second index information;
and the second display unit is used for displaying the personal file list to the user.
In another apparatus provided in an embodiment of the present invention, the apparatus further includes:
a fourth obtaining unit, configured to obtain login authentication information sent by the user;
the authentication unit is used for authenticating the identity of the user based on the login authentication information;
and the third determining unit is used for determining that the user logs in the cloud disk system when the user passes the identity authentication.
The embodiment of the invention also provides a storage medium, which comprises stored instructions, wherein when the instructions are executed, the equipment where the storage medium is located is controlled to execute the file processing method.
An embodiment of the present invention further provides an electronic device, which is shown in fig. 6 and specifically includes a memory 601 and one or more instructions 602, where the one or more instructions 602 are stored in the memory 601 and configured to be executed by one or more processors 603 to implement the above-mentioned file processing method according to the one or more instructions 602.
The specific implementation procedures and derivatives thereof of the above embodiments are within the scope of the present invention.
All the embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A file processing method is characterized in that the method is applied to a cloud disk system, the cloud disk system comprises a resource pool and a system database, the resource pool stores physical files of all template files which are constructed in advance, the system database stores file index information of each template file, and the method comprises the following steps:
when a user logs in the cloud disk system, acquiring file adaptation characteristics of the user;
determining each template file matched with the user based on the file adaptation characteristics and each file index information in the system database;
generating a template file list based on each template file matched with the user;
displaying the template file list to the user;
acquiring a file query instruction fed back by the user based on the template file list, and acquiring a file index identifier in the file query instruction;
determining a target template file in each template file matched with the user based on the file index identification, and determining a physical file identification of the target template file;
and feeding back the physical file corresponding to the physical file identifier in the resource pool to the user.
2. The method of claim 1, wherein determining the template files matching the user based on the file adaptation features and the file index information in the system database comprises:
determining an applicable condition of each template file based on each file index information;
for each template file, judging whether the file adaptation characteristics meet the applicable conditions of the template file or not;
if the file adaptation characteristics meet the applicable conditions of the template file, determining that the template file is matched with the user;
and if the file adaptation characteristics do not meet the applicable conditions of the template file, determining that the template file is not matched with the user.
3. The method of claim 1, further comprising:
receiving an operation instruction of the target template file sent by the user;
copying the target template file to obtain a copy file of the target template file;
executing the operation corresponding to the operation instruction on the copy file to obtain the private file of the user;
and generating first index information of the private file, and storing the private file and the first index information of the private file into the cloud disk of the user.
4. The method of claim 1, further comprising, after performing the presenting the list of template files to the user:
acquiring second index information of each file stored in the cloud disk of the user;
generating a personal file list based on each second index information;
and displaying the personal file list to the user.
5. The method of claim 1, further comprising:
obtaining login verification information sent by the user;
authenticating the user based on the login authentication information;
and when the user passes the identity authentication, determining that the user logs in the cloud disk system.
6. A file processing apparatus, applied to a cloud disk system, where the cloud disk system includes a resource pool and a system database, the resource pool stores physical files of each template file that are constructed in advance, and the system database stores file index information of each template file, the apparatus including:
the cloud disk system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring file adaptation characteristics of a user when the user logs in the cloud disk system;
the first determining unit is used for determining each template file matched with the user based on the file adaptation characteristics and each file index information in the system database;
the first generation unit is used for generating a template file list based on each template file matched with the user;
the first display unit is used for displaying the template file list to the user;
the second acquisition unit is used for acquiring a file query instruction fed back by the user based on the template file list and acquiring a file index identifier in the file query instruction;
a second determining unit, configured to determine a target template file in each template file matched with the user based on the file index identifier, and determine a physical file identifier of the target template file;
and the feedback unit is used for feeding back the physical file corresponding to the physical file identifier in the resource pool to the user.
7. The apparatus of claim 6, wherein the first determining unit comprises:
a first determining subunit configured to determine an applicable condition of each of the template files based on each of the file index information;
the judging subunit is used for judging whether the file adaptation characteristics meet the applicable conditions of the template files or not for each template file;
the second determining subunit is configured to determine that the template file matches the user if the file adaptation feature meets the applicable condition of the template file;
and the third determining subunit is configured to determine that the template file is not matched with the user if the file adaptation feature does not meet the applicable condition of the template file.
8. The apparatus of claim 6, further comprising:
the receiving unit is used for receiving an operation instruction of the target template file sent by the user;
the first obtaining unit is used for copying the target template file to obtain a copy file of the target template file;
a second obtaining unit, configured to execute an operation corresponding to the operation instruction on the duplicate file, so as to obtain a private file of the user;
and the storage unit is used for generating first index information of the private file and storing the private file and the first index information of the private file into the cloud disk of the user.
9. A storage medium comprising stored instructions, wherein when executed the instructions control a device on which the storage medium resides to perform a file processing method according to any one of claims 1-5.
10. An electronic device comprising a memory, and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by the one or more processors to perform the file processing method of any one of claims 1-5.
CN202211502125.5A 2022-11-28 2022-11-28 File processing method and device, storage medium and electronic equipment Pending CN115757283A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211502125.5A CN115757283A (en) 2022-11-28 2022-11-28 File processing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211502125.5A CN115757283A (en) 2022-11-28 2022-11-28 File processing method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN115757283A true CN115757283A (en) 2023-03-07

Family

ID=85339380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211502125.5A Pending CN115757283A (en) 2022-11-28 2022-11-28 File processing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN115757283A (en)

Similar Documents

Publication Publication Date Title
US10992478B2 (en) Blockchain-based digital identity management method
CN110495132B (en) System and method for generating, uploading and executing code blocks within distributed network nodes
US11588855B2 (en) Policy approval layer
JP4470069B2 (en) Input assist device, input assist system, input assist method, and input assist program
Johnson et al. Using global unique identifiers to link autism collections
US7861287B2 (en) System and method for utilizing audit information for challenge/response during a password reset process
CN113542288B (en) Service authorization method, device, equipment and system
CN111356995A (en) System and method for identity resolution across disparate immutable distributed ledger networks
US8204949B1 (en) Email enabled project management applications
US8838679B2 (en) Providing state service for online application users
CN108701309A (en) A kind of distributed user profile authentication system for security of e-commerce transactions
US11106767B2 (en) Decentralized name verification using recursive attestation
CN111625809B (en) Data authorization method and device, electronic equipment and storage medium
CN108334595B (en) Data sharing method and device
WO2012150979A1 (en) Systems and methods for electronic document identification and certification
CN112613917A (en) Information pushing method, device and equipment based on user portrait and storage medium
JP2008165767A (en) System and method for file transfer management
CN112150113A (en) Method, device and system for borrowing file data and method for borrowing data
CN111651749A (en) Method and device for finding account based on password, computer equipment and storage medium
US20080209218A1 (en) Methods and systems for providing independent verification of information in a public forum
CN107005558A (en) Location-based user's ambiguity is eliminated
CN113312588A (en) Method, device, equipment and storage medium for managing operation authority of online document
US7890762B2 (en) Differentiated proxy digital signatures
CN114422586B (en) Event notification method, event notification device, computer equipment and storage medium
US20100125738A1 (en) Systems and methods for transferring information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination