File data processing method and device, electronic equipment and storage medium

By running the graphical user interface of the file management system on the electronic terminal, local and cloud file data processing is realized, and cumbersome processes are solved in the process of file data processing, and automated classification and large-scale file data processing are realized.

CN119829528AActive Publication Date: 2025-04-15NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411918739.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2025-04-15
Estimated Expiration
2044-12-24

AI Technical Summary

Technical Problem

During the process of document resource sorting, the file data stored on local devices needs to be uploaded to the online resource library when data sharing or cloud processing is performed, but the file marking process is cumbersome and cannot meet the needs of large-scale processing.

Method used

The electronic terminal provides a graphical user interface, runs the file management system, and displays the file management interface, including the local file area, the resource library area and the file preview area. Responsive to the file addition operation, display the local file directory and file data, and display the cloud resource directory in response to the resource type selection operation, establish a mapping relationship between the file data and the cloud folder, and upload the file data to the cloud in parallel.

Benefits of technology

It realizes the display of local file content and cloud file content at the same time in the same file management interface, simplifies user operation process, realizes automated classification and batch file data processing, and meets the needs of large-scale file data processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119829528A_ABST
    Figure CN119829528A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a file data processing method and device, electronic equipment and a storage medium, and relates to the technical field of file management.The method comprises the steps that in response to a file adding operation, a local file directory corresponding to the file adding operation is displayed in a local file area, displaying local file data corresponding to the local file directory in the file preview area; in response to a resource type selection operation for the resource library region, displaying a cloud resource directory of a target resource type corresponding to the resource type selection operation in the resource library region, the cloud resource directory comprising at least one cloud folder; in response to adding the target file data in the file preview area to a target cloud folder in the cloud resource directory, establishing a mapping relationship between the target file data and the target cloud folder; and in response to an uploading operation for the target file data, uploading the target file data to the target cloud folder of the online resource library in parallel according to the mapping relationship.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of file management, and in particular to a method for processing file data, a device for processing file data, an electronic device and a computer-readable storage medium. Background Art

[0002] In the process of organizing file resources, for file data stored in local devices, when data sharing or cloud processing is required, users need to upload local files to the online resource library so that the file data can be processed in the cloud, and it is convenient for other users to obtain the corresponding files from the online resource library. However, in the process of uploading file data from local devices to the online resource library, there are problems such as cumbersome file labeling process and inability to meet the needs of large-scale processing. Summary of the invention

[0003] The embodiments of the present invention provide a method, device, electronic device and computer-readable storage medium for processing file data to solve or partially solve the problem that the processing flow of file data is complicated and cannot meet the needs of large-scale processing.

[0004] An embodiment of the present invention discloses a method for processing file data, wherein a graphical user interface is provided through an electronic terminal, the electronic terminal runs a file management system, and a file management interface corresponding to the file management system is displayed through the graphical user interface, wherein the file management interface includes at least a local file area, a resource library area, and a file preview area, and the method includes:

[0005] In response to a file adding operation on the local file area, displaying a local file directory corresponding to the file adding operation in the local file area, and displaying local file data corresponding to the local file directory in the file preview area;

[0006] In response to a resource type selection operation on the resource library area, displaying a cloud resource directory of a target resource type corresponding to the resource type selection operation in the resource library area, the cloud resource directory including at least one cloud folder;

[0007] In response to adding the target file data in the file preview area to the target cloud folder in the cloud resource directory, establishing a mapping relationship between the target file data and the target cloud folder;

[0008] In response to an upload operation for the target file data, the target file data is uploaded in parallel to the target cloud folder of the online resource library according to the mapping relationship.

[0009] The embodiment of the present invention further discloses a file data processing device, which provides a graphical user interface through an electronic terminal, the electronic terminal runs a file management system, and displays a file management interface corresponding to the file management system through the graphical user interface, the file management interface at least includes a local file area, a resource library area and a file preview area, and the device includes:

[0010] A file display module, configured to, in response to a file adding operation on the local file area, display a local file directory corresponding to the file adding operation in the local file area, and display local file data corresponding to the local file directory in the file preview area;

[0011] A resource library processing module, configured to, in response to a resource type selection operation on the resource library area, display a cloud resource directory of a target resource type corresponding to the resource type selection operation in the resource library area, wherein the cloud resource directory includes at least one cloud folder;

[0012] A mapping module, configured to establish a mapping relationship between the target file data and the target cloud folder in response to adding the target file data in the file preview area to the target cloud folder in the cloud resource directory;

[0013] The uploading module is used for responding to the upload operation on the target file data and uploading the target file data in parallel to the target cloud folder of the online resource library according to the mapping relationship.

[0014] The embodiment of the present invention further discloses an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0015] The memory is used to store computer programs;

[0016] The processor is used to implement the method described in the embodiment of the present invention when executing the program stored in the memory.

[0017] The embodiment of the present invention further discloses a computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, enables the processors to execute the method described in the embodiment of the present invention.

[0018] The embodiments of the present invention include the following advantages:

[0019] In an embodiment of the present invention, a corresponding file management system is constructed to implement file data processing between local and cloud. When the terminal runs the file management system, a corresponding file management interface can be displayed through a graphical user interface. The file management interface includes at least a local file area, a resource library area, and a file preview area. In the process of processing file data, the terminal can respond to a file addition operation on the local file area by displaying a local file directory corresponding to the file addition operation in the local file area, and displaying local file data corresponding to the local file directory in the file preview area. Then, in response to a resource type selection operation on the resource library area, a cloud resource directory of a target resource type corresponding to the resource type selection operation is displayed in the resource library area. The cloud resource directory includes at least A cloud folder can then respond to adding the target file data in the file preview area to the target cloud folder in the cloud resource directory, establish a mapping relationship between the target file data and the target cloud folder, and finally respond to the upload operation for the target file data, upload the target file data in parallel to the target cloud folder of the online resource library according to the mapping relationship, so that the local file content and the cloud file content are displayed simultaneously in the same file management interface, which is convenient for users to quickly find and manage files and simplifies the user operation process. At the same time, in the process of uploading local data, by constructing a mapping relationship between local file data and the cloud folder in the cloud, automatic classification is realized, the file classification process is simplified, and batch file data processing can be realized, which effectively meets the different file data processing needs of users. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 is a flowchart of a method for processing file data provided in an embodiment of the present invention;

[0021] Figure 2 is a schematic diagram of file uploading provided in an embodiment of the present invention;

[0022] Figure 3 is a schematic diagram of a process of uploading a file provided in an embodiment of the present invention;

[0023] Figure 4 is a schematic diagram of a file management interface provided in an embodiment of the present invention;

[0024] Figure 5 is a schematic diagram of a file management interface provided in an embodiment of the present invention;

[0025] Figure 6 is a schematic diagram of a file management interface provided in an embodiment of the present invention;

[0026] Figure 7is a schematic diagram of a file management interface provided in an embodiment of the present invention;

[0027] Figure 8 is a schematic diagram of a file management interface provided in an embodiment of the present invention;

[0028] Fig. 9 is a schematic diagram of a file management interface provided in an embodiment of the present invention;

[0029] Fig.10 is a schematic diagram of a file management interface provided in an embodiment of the present invention;

[0030] Fig.11 is a schematic diagram of a file management interface provided in an embodiment of the present invention;

[0031] Fig.12 is a schematic diagram of a file management interface provided in an embodiment of the present invention;

[0032] Fig.13 is a schematic diagram of a file management interface provided in an embodiment of the present invention;

[0033] Fig.14 is a structural block diagram of a file data processing device provided in an embodiment of the present invention;

[0034] Fig.15 It is a block diagram of an electronic device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0035] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0036] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, some technical features involved in the embodiments of the present invention are explained and illustrated below:

[0037] GUI (Graphical User Interface): Graphical User Interface is a way for users to interact with a computer system, enabling users to perform tasks conveniently through visual elements (such as windows, icons, buttons, etc.).

[0038] Qt: Qt is a mature C++ framework for creating high-quality graphical user interfaces (GUIs). It contains a large number of tools for creating GUI components such as windows, buttons, text boxes, etc., and supports event handling, signal and slot mechanisms and other functions.

[0039] Upload Scheduler (UploadTaskSchedule): The system is responsible for managing the module of file upload tasks and coordinating the parallel processing of uploads.

[0040] Database queue processing thread (DBQueueWorker): a background thread that specifically handles database interaction tasks.

[0041] Upload task thread (UploadTask): responsible for executing the background process of file upload, supporting parallel uploading of multiple files.

[0042] Database queue processing thread (DBQueueWorker): The background process interacts with the database and is responsible for writing upload progress, status and other information back to the database to achieve data persistence.

[0043] Upload task thread (UploadTask): responsible for executing the actual file upload task, supporting multi-task parallelism, and optimizing upload efficiency.

[0044] HTTP (Hypertext Transfer Protocol): Hypertext Transfer Protocol, the basic protocol for transmitting information between servers and systems.

[0045] MD5 (Message-Digest Algorithm 5): A commonly used hash algorithm that generates a unique identification code for a file and is usually used to verify the integrity of the file.

[0046] QTreeView: A control in the Qt framework used to display tree-structured data, often used to display folder or tag structures.

[0047] QListView: A list view control in the Qt framework, mainly used to display file thumbnails and basic information.

[0048] Delegate: Used in Qt to draw and process custom view items, used to display files or thumbnails in special formats.

[0049] thumbnail: A small image version used to quickly preview a file, improving browsing efficiency.

[0050] As an example, in the related art, users upload resource files one by one through existing web pages. Each upload operation requires the user to wait until the file is completely uploaded successfully before continuing to upload the next file or closing the web page. This method of uploading single files one by one is not only time-consuming, but also inefficient, especially for uploading large files or a large number of files.

[0051] In addition, users must keep the page open during the upload process and cannot perform other operations, which reduces the flexibility of the user experience. For large-scale file management, these traditional upload methods have obvious shortcomings, including inefficient manual classification, cumbersome upload process, and poor user experience.

[0052] In this regard, in the present invention, a corresponding file management system is constructed to implement file data processing between local and cloud. When the terminal runs the file management system, the corresponding file management interface can be displayed through a graphical user interface. The file management interface includes at least a local file area, a resource library area, and a file preview area. In the process of processing file data, the terminal can respond to a file adding operation on the local file area, display a local file directory corresponding to the file adding operation in the local file area, and display local file data corresponding to the local file directory in the file preview area. Then, in response to a resource type selection operation on the resource library area, the terminal displays a cloud resource directory of the target resource type corresponding to the resource type selection operation in the resource library area. The cloud resource directory includes at least A cloud folder can then respond to adding the target file data in the file preview area to the target cloud folder in the cloud resource directory, establish a mapping relationship between the target file data and the target cloud folder, and finally respond to the upload operation for the target file data, upload the target file data in parallel to the target cloud folder of the online resource library according to the mapping relationship, so that the local file content and the cloud file content are displayed simultaneously in the same file management interface, which is convenient for users to quickly find and manage files and simplifies the user operation process. At the same time, in the process of uploading local data, by constructing a mapping relationship between local file data and the cloud folder in the cloud, automatic classification is realized, the file classification process is simplified, and batch file data processing can be realized, which effectively meets the different file data processing needs of users.

[0053] Reference Figure 1 , shows a flowchart of a method for processing file data provided in an embodiment of the present invention, wherein a graphical user interface is provided through an electronic terminal, the electronic terminal runs a file management system, and displays a file management interface corresponding to the file management system through the graphical user interface, the file management interface at least includes a local file area, a resource library area, and a file preview area, and may specifically include the following steps:

[0054] Step 101, in response to a file adding operation on the local file area, displaying a local file directory corresponding to the file adding operation in the local file area, and displaying local file data corresponding to the local file directory in the file preview area;

[0055] In an embodiment of the present invention, the file management system may be an application, applet, browser page, etc. running on an electronic terminal. During the running process, the terminal may display a file management interface corresponding to the file management system through a graphical user interface. The file management interface may be an interactive interface developed by a Qt framework, through which a user may browse local folders and display the browsed folders in a tree diagram, etc., so that the user can quickly find and manage files.

[0056] Among them, the file management interface can include a local file area, a resource library area, and a file preview area. The local file area can be used to display the local file directory added by the user, the resource library area can be used to display the cloud file directory, and the file preview area can be used to display the preview image corresponding to the local file, thereby displaying the local file content and the cloud file content at the same time in the same file management interface, which is convenient for users to quickly find and manage files and simplifies the user operation process.

[0057] It should be noted that during operation, the file management system can communicate with the cloud in real time to obtain corresponding data from the cloud server. For example, after obtaining the corresponding data, the corresponding cloud file directory can be displayed in the resource library area, thereby realizing the display of local files and server directory structures in the same interface, avoiding frequent interface switching and improving operational efficiency.

[0058] When uploading local files to the cloud, users can add corresponding file directories in the local file area and preview the file data in the selected folder through the file preview area. Then, they can upload local files to the cloud by adding the file data displayed in the file preview area to the corresponding file location in the resource library area.

[0059] In the process of performing a file adding operation in the local file area, the terminal can display the corresponding local file directory in the local file area according to the file adding operation input by the user in the local file area, and display the local file data corresponding to the local file directory in the file preview area, so that the user can intuitively preview the corresponding local file to be processed through the local file area and the file preview area.

[0060] For file adding operations, the file management system can provide different interaction modes in the local file area, so that users can flexibly select the corresponding interaction mode based on actual needs to add local folders or local files that need to be processed.

[0061] In an optional implementation, the content displayed by the graphical user interface also includes a first file management interface, and the first file management interface includes a first local folder and / or a first local file, wherein the first file management interface may be a file management system provided by the terminal itself, for example, a file manager provided in a PC terminal, etc., and the corresponding local folders and / or local files, etc. may be displayed in the file manager. Specifically, in response to adding the first target local folder in the first file management interface to the local file area, the terminal may display the local file directory corresponding to the first target local folder in the local file area; or, in response to adding the first target local file in the first file management interface to the local file area, the terminal may display the local file directory to which the first target local file belongs in the local file area.

[0062] In another optional implementation, the local file area includes an import control, through which the corresponding local folder or local file, etc. can be imported. Specifically, the terminal can display a second file management interface in response to a selection operation on the import control, where the second file management interface includes a second local folder and / or a second local file, and then in response to adding the second target local folder in the second file management interface to the local file area, display the local file directory corresponding to the second target local folder in the local file area; or, in response to adding the second target local file in the second file management interface to the local file area, display the local file directory to which the second target local file belongs in the local file area.

[0063] It should be noted that, for the second file management interface, it can be a file manager that reads the local file path of the terminal by calling the corresponding interface, and then displays it inside the file management system. The display method between the first file management interface and the second file management interface can be the same or different. In terms of the reading method, the user can input a reading operation for the local file displayed in the first file management interface to open the corresponding local file; in the second file management interface, the user can only input a selection operation for the local folder or local file, and can only add the selected local folder or local file to the local file area to display the corresponding local file directory in the local file area, and display the corresponding preview image of the local file in the file preview area, etc.

[0064] In another optional implementation, the terminal can also respond to the path import operation for the local file area, obtain the local file path corresponding to the path import operation, and if the local file path is valid, display the local file directory corresponding to the local file path in the local file area. Wherein, a corresponding file path import control can also be provided in the local file area, and the user can copy the valid local file path and then import the local file path through the file path import control. Based on the local file path imported by the user, the system can display the corresponding local file directory in the local file area.

[0065] Based on the above process, after the user adds the corresponding local file directory in the local file area, the system can display the corresponding file data in the file preview area according to the type of file adding operation. Specifically, if the file adding operation is the first user operation of adding a local folder, the folder hierarchy corresponding to the added target folder will be displayed in a tree structure in the local file area; if the file adding operation is the second user operation of adding a local file, the folder to which the added target local file belongs will be displayed in the local file area.

[0066] For example, assuming that the file adding operation input by the user is to add the corresponding folder A, the folder A includes folder a and folder b, the folder a includes files ①, file ② and file ③, and the folder b includes file ④, then the following local file directory can be displayed in the local file area:

[0067] -Folder A

[0068] -Folder a

[0069] -Folder b

[0070] In this case, the terminal can select a target folder from the local file directory in response to a selection operation on the local file directory, and display the local file data contained in the target folder in the file preview area. For example, assuming that the user selects folder A, the terminal can display folder a and folder b in the file preview area; if the user selects folder a, the terminal can display files ①, ② and ③ in the file preview area, thereby displaying the corresponding local file directory in the local file area and displaying the local file data corresponding to the local file directory in the file preview area, so that the user can intuitively preview the corresponding local files to be processed through the local file area and the file preview area.

[0071] In addition, assuming that the file adding operation input by the user is to add the corresponding file ①, the terminal can display the following local file directory in the local file area:

[0072] -Folder a

[0073] At the same time, file ① is displayed in the file preview area, thereby displaying the corresponding local file directory in the local file area, and displaying the local file data corresponding to the local file directory in the file preview area, so that the user can intuitively preview the corresponding local file to be processed through the local file area and the file preview area.

[0074] It should be noted that for the above process of displaying the corresponding local file directory in the local file area, the terminal can be implemented through the QTreeView component. Combined with the QFileSystemModel, the terminal can dynamically read the local file system and display the folder hierarchy in a tree structure. At the same time, the user can click on the corresponding folder to view the contents therein.

[0075] In addition, when the user clicks on a folder, the system reads the image files in the folder, generates thumbnails through the thumbnail method, and then displays the thumbnails in the file preview area. After generating the corresponding thumbnails, the system uses the MD5 encryption result of the image file path as the thumbnail file name. In this way, the thumbnail and the original file path can be mapped one-to-one, ensuring uniqueness and stability in most cases.

[0076] In order to avoid repeated thumbnail generation, the system will store the MD5 encryption result of the thumbnail path and the original file path in the database to establish a mapping relationship between the thumbnail and the file path. When the user previews the same folder again, the system will first query the records in the database to find the thumbnail path corresponding to the MD5 value of the file path, thus avoiding the operation of repeated thumbnail generation and improving the loading speed.

[0077] Furthermore, the file preview interface can use QListView to display the file list, and combine the custom delegate to draw thumbnails. When drawing, each file will be loaded into the queue, and the thumbnail path will be checked and loaded into the QlistView Model one by one through an independent thread, and the delegate will be refreshed to update the thumbnail. In order to optimize the performance when loading large folders, the system will not load thumbnails of all files at once. When the user scrolls to a file item, the system will dynamically load or generate a thumbnail of the file to ensure that the interface remains smooth when processing a large number of files.

[0078] Step 102, in response to a resource type selection operation on the resource library area, displaying a cloud resource directory of a target resource type corresponding to the resource type selection operation in the resource library area, wherein the cloud resource directory includes at least one cloud folder;

[0079] After the user has determined the local file directory and the corresponding local files to be processed in the local file area, the user can also determine the upload location of the local files in the resource library area. Specifically, the terminal can respond to the resource type selection operation for the resource library area, determine the resource type of the file upload, and then display the cloud resource directory corresponding to the target resource type in the resource library area. Among them, the cloud resource directory can include at least one cloud folder, so that the user can upload the local file to the corresponding cloud folder, and at the same time as completing the data upload, the uploaded data can be classified.

[0080] Before determining the resource type, the user can first determine the resource library that needs to be uploaded in the resource library area. Optionally, the terminal can respond to the resource library selection operation for the resource library area and display the target resource library corresponding to the resource library selection area in the resource library area. Different resource libraries are used to store different data.

[0081] After determining the resource library, the user can select the corresponding resource type. For example, assuming that the data being processed is data related to the game application, the resource type may include resource packages, models, and galleries, etc. The resource package may include data packets related to game resources, etc. The model may be a virtual model corresponding to a virtual object in the game, etc. The gallery may be images involved in the game, etc. It can be understood that the resource type can be adjusted specifically according to the different file data being processed, and the present invention is not limited to this.

[0082] Based on the above process, after determining the resource library and the corresponding resource type in the resource library, the terminal can display the corresponding cloud resource directory in the resource library area, so that the user can determine the location of the file upload through the cloud folder displayed in the cloud resource directory.

[0083] It should be noted that when there is no corresponding cloud folder in the cloud resource directory, the user can also add the corresponding cloud folder in the resource library area in real time. Specifically, the terminal can respond to the directory addition operation for the cloud folder, and display a directory addition pop-up window in the file management interface, and the directory addition pop-up window includes at least an input area and a preview area. Then, in response to the content input operation for the input area, preview information corresponding to the target content displayed in the input area is displayed in the preview area, and then in response to the addition operation for the preview information, a cloud folder corresponding to the preview information is added in the resource library area, so that the user can meet the actual file data processing needs by adding the corresponding cloud folder in real time.

[0084] In an optional implementation, the content input operation at least includes a file path input operation, and the preview information at least includes a folder name. The terminal can respond to the file path input operation for the input area, display at least one local folder path corresponding to the file path input operation in the input area, and then extract the last folder name from the local folder path and display the folder name in the name input area. For example, the user can enter file paths such as "D:\Props\2024Pass\TestDirectoryTest1", "D:\Props\2024Pass\TestDirectoryTest2", "D:\Props\2024Pass\TestDirectoryTest3" in the input area, and the terminal can analyze the file path entered by the user, and extract the last folder name, such as "Test1", "Test2" and "Test3" as the corresponding file names, and display these file names in the preview area. If the user determines to build a cloud folder based on these file names, the terminal can display the cloud folder with the corresponding name in the corresponding position of the resource library area, so that the user can add the corresponding cloud folder in real time to meet the actual file data processing needs.

[0085] In another optional implementation, the content input operation includes at least a text input operation, and the preview information includes at least a keyword. The terminal can also respond to the text input operation on the input area, display at least one keyword corresponding to the file path input operation in the input area, and display the keyword in the name input area. For example, the user can enter keywords such as "high mountain", "flowing water", "forest" and "peak" in the input area, and the terminal can directly use these keywords as corresponding file names and display these file names in the preview area. If the user determines to build a cloud folder based on these file names, the terminal can display the cloud folder with the corresponding name in the corresponding position in the resource library area, so that the user can add the corresponding cloud folder in real time to meet the actual file data processing needs.

[0086] It should be noted that, for the cloud file directory displayed in the resource library area above, the system can obtain the tag information on the server through HTTP request, and display it in a tree structure in QTreeView after parsing, so that the user can browse the corresponding cloud folders and select the corresponding cloud folders to classify the target file data to be uploaded, etc. The present invention does not limit this.

[0087] Step 103, in response to adding the target file data in the file preview area to the target cloud folder in the cloud resource directory, establishing a mapping relationship between the target file data and the target cloud folder;

[0088] After determining the local files to be uploaded and the location to upload the local files, the user can directly select the corresponding local folders and / or local files in the file preview area, and add the local folders and / or local files to the target cloud folder in the resource library area, and establish a mapping relationship between the corresponding target file data and the target cloud folder, so that in the subsequent file data uploading process, the file data can be uploaded to the corresponding location in the cloud based on the established mapping relationship. In this way, in the process of uploading local data, by constructing a mapping relationship between local file data and the cloud folder in the cloud, automatic classification is achieved, the file classification process is simplified, and batch file data processing can be realized, effectively meeting the different file data processing needs of users.

[0089] It should be noted that users can classify multiple files or folders into corresponding cloud folders in the resource library area at one time by operations such as box selection or dragging. Therefore, in the process of establishing a mapping relationship by box selection or dragging, the terminal can obtain the upload conditions corresponding to the target cloud folder and the information type corresponding to the target file data, and then match the information type with the upload conditions. If the information type meets the upload conditions, a mapping relationship between the target file data and the target cloud folder is established, which can greatly simplify the classification process, especially to meet the needs of batch operation scenarios.

[0090] In addition, when the file classification is completed, the file management system can asynchronously process the mapping relationship between files and directories in the background to ensure smooth operation. At the same time, when the file classification is completed, the classification results will be updated in real time in the file management interface.

[0091] Among them, the upload conditions at least include the resource type, and the information type at least includes the file format. The file format of the file to be uploaded can be matched with the resource type. If the file format does not meet the resource type, a prompt message for the target file data is output, and the prompt message is information indicating that the target file data does not match the resource type; if the file format meets the resource type, a mapping relationship between the target file data and the target cloud folder is established.

[0092] For example, assuming the resource type is a gallery, the file format that satisfies the gallery can represent the format of an image, etc. Only when the dragged local folder and / or local file is in an image-related format can the corresponding mapping relationship be established. Otherwise, the terminal can output a corresponding prompt message in the file management interface.

[0093] In one example, the target file data includes at least a target folder and / or a target local file. In the process of establishing a mapping relationship, if the file formats of the local files contained in the target folder all satisfy the resource type, a first mapping relationship between the target folder and the target cloud folder is established; if the file format of the target local file satisfies the resource type, a second mapping relationship between the target file and the target cloud folder is established.

[0094] In addition, the file management interface also includes a file details area. After establishing the corresponding mapping relationship, the terminal can display the file identifier corresponding to the target file data in the target cloud folder. For the file identifier, the user can add a corresponding file tag for the file corresponding to the corresponding file identifier. Specifically, the terminal can respond to the selection operation of the target file identifier in the resource library area, display the detailed information of the file corresponding to the target file identifier in the file details area, and then respond to the tag editing operation of the detailed information to determine the target file tag for the target cloud file. After completing the classification of the file data, the user can further mark the corresponding file through a convenient annotation operation to generate a file tag corresponding to the file, which further simplifies the user's operation method, reduces the operation burden, and improves the file processing efficiency.

[0095] Optionally, the file details area includes at least a tag area. In the tagging process, the terminal can respond to a trigger operation on the tag area and display a tag window in the file management interface. The tag window includes at least a history tag. Then, in response to an input operation on the tag area or a selection operation on the history tag, the target file tag for the target cloud file is determined. For each tagging result, the system can record the corresponding file tag and display the corresponding history tag during the user's tagging process. On the one hand, the history tag can effectively improve the user's efficiency in tagging files. On the other hand, the user can also independently input the corresponding file tag to meet actual needs.

[0096] It should be noted that in the above process, by rewriting the dragMoveEvent method of QTreeView, when the user drags multiple files from the local preview area to the tag tree node of the server, the system can determine the type of information dragged (such as file format, file path, file type (folder or file), etc.) after the file is placed in the target cloud folder, and those that meet the package type will be allowed to be placed in the tree node. After QtreeView receives the placement object, the parsed file path will be stored in the QTreeView model, and the tree diagram will be dynamically updated to show that the file has been classified into the corresponding target cloud folder, and the user can clearly see the corresponding relationship between each file and the cloud folder.

[0097] Furthermore, after parsing the file information, the target tag node information and the tag information are placed in the queue together. In a separate thread, the queue information is obtained in a loop, and the tag information of each file obtained is mapped to the file information in a one-to-one relationship. The matched files and tag information will be stored in the database for subsequent query and management of the system. In order to avoid blocking the user interface when processing a large number of files, all file parsing and database read and write operations are performed in the background thread. The background thread is responsible for handling drag and drop classification operations to ensure that the user interface remains smooth and responsive during the operation.

[0098] Step 104 , in response to the upload operation for the target file data, the target file data is uploaded in parallel to the target cloud folder of the online resource library according to the mapping relationship.

[0099] After realizing the selection of local files, the selection of cloud resource library, the selection of cloud resource directory and the marking of files through the above process, the user can input the corresponding upload operation to upload the file data to be uploaded to the corresponding file directory on the cloud, which not only realizes the classification of files, but also completes the marking of files, and can also realize batch data processing, greatly improving the file processing efficiency.

[0100] In some feasible implementations, the terminal can respond to the upload operation for the target file data, display the permission setting interface in the file management interface, the permission setting interface includes several permission types, and then respond to the selection operation for the permission type, determine the target permission type, and upload the target file data in parallel to the target cloud folder of the online resource library according to the target permission type and the mapping relationship. Among them, during the upload process, the user can further set the permission type corresponding to the uploaded target file data in the permission setting interface. The permission type represents the data range of the file data. The right type can include intellectual property type, general type, confidential type and external type, etc. The intellectual property type represents that the file data belongs to data related to the intellectual property object, the general type represents that the file data belongs to general data, the confidential type represents that the file data belongs to data that needs to be kept confidential, and the external type represents that the file data belongs to data obtained from external channels of the enterprise, etc. By setting the corresponding permission type, the file data can be further classified so that the user can quickly find the corresponding type of file data according to actual needs.

[0101] Optionally, refer to Figure 2, shows a schematic diagram of file upload provided in an embodiment of the present invention. For a file management system, it may include an upload scheduler, a database queue processing thread, and an upload task thread, etc., wherein the upload scheduler may be used to receive and manage all upload tasks. When a user submits an upload request, the scheduler distributes the task to each upload task queue. At the same time, the scheduler continues to receive real-time status information from each upload task, such as upload progress, task status, etc., and communicates with the front-end interface through signals, so that the user can intuitively view the upload progress of each file on the interface; for the database queue processing thread, each upload task has an independent database queue processing thread specifically responsible for interacting with the database. When the upload task is executed, it will first read the file-related information (such as file path, label, etc.) from the database through the thread, and write the upload progress, status and other information back to the database in time during the task process to ensure data persistence and subsequent queries; for the upload task thread, the core of each task is the upload thread, which is responsible for uploading files to the server. Since each task runs independently, multiple files can be uploaded at the same time without affecting each other, which greatly improves the utilization of bandwidth.

[0102] It should be noted that the embodiments of the present invention include but are not limited to the above examples. It is understandable that those skilled in the art can also make settings according to actual needs under the guidance of the ideas of the embodiments of the present invention, and the present invention is not limited to this.

[0103] In an embodiment of the present invention, a corresponding file management system is constructed to implement file data processing between local and cloud. When the terminal runs the file management system, a corresponding file management interface can be displayed through a graphical user interface. The file management interface includes at least a local file area, a resource library area, and a file preview area. In the process of processing file data, the terminal can respond to a file addition operation on the local file area by displaying a local file directory corresponding to the file addition operation in the local file area, and displaying local file data corresponding to the local file directory in the file preview area. Then, in response to a resource type selection operation on the resource library area, a cloud resource directory of a target resource type corresponding to the resource type selection operation is displayed in the resource library area. The cloud resource directory includes at least A cloud folder can then respond to adding the target file data in the file preview area to the target cloud folder in the cloud resource directory, establish a mapping relationship between the target file data and the target cloud folder, and finally respond to the upload operation for the target file data, upload the target file data in parallel to the target cloud folder of the online resource library according to the mapping relationship, so that the local file content and the cloud file content are displayed simultaneously in the same file management interface, which is convenient for users to quickly find and manage files and simplifies the user operation process. At the same time, in the process of uploading local data, by constructing a mapping relationship between local file data and the cloud folder in the cloud, automatic classification is realized, the file classification process is simplified, and batch file data processing can be realized, which effectively meets the different file data processing needs of users.

[0104] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, the following examples are used for exemplary description:

[0105] Reference Figure 3 , showing a schematic diagram of the file upload process provided in an embodiment of the present invention, including: ① Select a local folder in the client or drag a file to the client interface; ② Select a resource library; ③ Select a resource type; ④ Batch create online resource library catalog categories; ⑤ Visual preview of batch drag file categories; ⑥ Continue to label resources as needed; ⑦ Batch set permissions; ⑧ Batch upload; ⑨ View uploaded resources online. Among them, when the user drags a local folder or file to the client interface, the client can parse the local file to generate a corresponding preview image; and in the process of selecting a resource library, the resource library that the user can select can be displayed according to the logged-in user account permissions, etc., and the present invention does not limit this.

[0106] Reference Figures 4 to 13 , shows a schematic diagram of a file management interface provided in an embodiment of the present invention, wherein, Figure 4As shown, the terminal runs a corresponding file management system and displays a file management interface 401 through a graphical user interface. The file management interface 40 may include at least a local file area 410, a resource library area 420, and a file preview area 430. The local file area 410 may include a file data import control 4101 and a file path import control 4102. The user may import local file data by dragging a corresponding folder or file to the file data import control 4101, or may import local file data through the file path import control 4102. Specifically:

[0107] like Figure 4 As shown, the user can switch to the client file management interface, open the local folder 402 at the same time, and then drag the local folder or file to the local file area of ​​the file management interface, and then visually preview the local folder content in the file preview area 430 for asset organization and upload, such as Figure 5 As shown, when the user drags or imports a file path to import a local folder A into the file management system, the client can display the contents of the folder A, such as the folder a and files, in the file preview area 430 .

[0108] Select a folder in the local directory area of ​​resource management, and you can display a thumbnail of the folder content in the middle preview area. Also, below the local directory is the online repository list. Click the drop-down arrow to select the corresponding project repository where you need to upload local files to the online resource library, such as Figure 6 As shown, after the user clicks the drop-down arrow, the client can display the corresponding project resource library in the resource library area, or quickly search by entering the warehouse name, etc., so as to determine the upload target location of the local file.

[0109] After switching the project repository, you need to select the resource type to upload in the corresponding location in the resource library area. Figure 7 As shown in the figure, resource types include resource packages, models, and libraries. Figure 8 As shown in the figure, after selecting the resource type to upload, the directory created under the module of that type will be displayed. Fig. 9 As shown, if you need to add a directory, you can select an existing directory and right-click it to display the directory menu. Select Add Directory in Batch. In the pop-up window for adding directories in batches, copy the local folder path (by copying the local folder path, you can add the corresponding directory to achieve batch folder directory input). The last folder name in the path will be automatically extracted and a directory will be generated on the right side of the pop-up window. Fig. 9As shown, the last folder corresponding to the file paths such as "D:\Users\Username\Test Directory\Test 1", "D:\Users\Username\Test Directory\Test 2", and "D:\Users\Username\Test Directory\Test 3" can be extracted as the name of the newly generated directory, that is, "Test 1", "Test 2", and "Test 3". In addition, corresponding keywords can also be input as the directory name, which is not limited in the present invention.

[0110] Click the "Generate Directory" button in the batch creation directory pop-up window to generate a new directory under the selected directory, such as Fig.10 As shown, a new file directory can be generated under the selected folder.

[0111] In the local directory, you can select the folder or file in the directory and drag it to the directory in the resource type module below to complete the classification of local files or folders, such as Fig.11 As shown, the user can drag folder a to the cloud file directory corresponding to test 1, and / or drag the file to the cloud file directory corresponding to test 2, thereby completing the classification of local files or folders by establishing corresponding mapping relationships. In the subsequent uploading process, the files can be uploaded through the constructed mapping relationships.

[0112] In addition, the client can also integrate the tag library so that users can quickly label resources, such as Fig.12 As shown: First, by selecting a classified resource package, the resource package details will be displayed on the right side of the interface. Then, in the label area of ​​the resource package details, you can double-click the input area in the label window to enter a custom label. Each time you add a label, it will be stored in the history record, so that you can directly select the label for annotation next time.

[0113] Before uploading, you can also set the resource upload permissions in batches. After clicking the Upload button, the permission setting interface will pop up. Select any type to complete the setting in batches, such as Fig.13 As shown in the figure, the permission setting interface can provide IP assets, general assets, confidential assets, and external assets for users to choose from. When the user clicks the upload button and sets the asset type, the client can switch to the upload interface. The top "resource upload" module in the upload interface can display the real-time progress of resource upload.

[0114] Through the above process, local file content and cloud file content are displayed simultaneously in the same file management interface, which is convenient for users to quickly find and manage files and simplifies the user operation process. At the same time, in the process of uploading local data, by building a mapping relationship between local file data and cloud folders in the cloud, automatic classification is achieved, the file classification process is simplified, and batch file data processing can be realized, which effectively meets the different file data processing needs of users.

[0115] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0116] Reference Fig.14 , shows a structural block diagram of a file data processing device provided in an embodiment of the present invention, wherein a graphical user interface is provided through an electronic terminal, the electronic terminal runs a file management system, and displays a file management interface corresponding to the file management system through the graphical user interface, the file management interface at least includes a local file area, a resource library area, and a file preview area, and may specifically include the following modules:

[0117] A file display module 1401 is used for, in response to a file adding operation on the local file area, displaying a local file directory corresponding to the file adding operation in the local file area, and displaying local file data corresponding to the local file directory in the file preview area;

[0118] A resource library processing module 1402, configured to, in response to a resource type selection operation on the resource library area, display a cloud resource directory of a target resource type corresponding to the resource type selection operation in the resource library area, wherein the cloud resource directory includes at least one cloud folder;

[0119] A mapping module 1403, configured to establish a mapping relationship between the target file data and the target cloud folder in response to adding the target file data in the file preview area to the target cloud folder in the cloud resource directory;

[0120] The uploading module 1404 is configured to respond to an upload operation on the target file data and upload the target file data in parallel to the target cloud folder of the online resource library according to the mapping relationship.

[0121] In some feasible implementations, the content displayed by the graphical user interface also includes a first file management interface, the first file management interface includes a first local folder and / or a first local file, and the file display module 1401 is specifically used to:

[0122] In response to adding a first target local folder in the first file management interface to the local file area, displaying a local file directory corresponding to the first target local folder in the local file area;

[0123] Or, in response to adding the first target local file in the first file management interface to the local file area, displaying the local file directory to which the first target local file belongs in the local file area.

[0124] In some feasible implementations, the local file area includes an import control, and the file display module 1401 is specifically used to:

[0125] In response to a selection operation on the import control, displaying a second file management interface, wherein the second file management interface includes a second local folder and / or a second local file;

[0126] In response to adding a second target local folder in the second file management interface to the local file area, displaying a local file directory corresponding to the second target local folder in the local file area;

[0127] Or, in response to adding the second target local file in the second file management interface to the local file area, the local file directory to which the second target local file belongs is displayed in the local file area.

[0128] In some feasible implementations, the file display module 1401 is specifically used to:

[0129] In response to a path import operation for the local file area, a local file path corresponding to the path import operation is acquired, and if the local file path is valid, a local file directory corresponding to the local file path is displayed in the local file area.

[0130] In some feasible implementations, the file display module 1401 is specifically used to:

[0131] If the file adding operation is a first user operation of adding a local folder, the folder hierarchy corresponding to the added target folder is displayed in a tree structure in the local file area;

[0132] If the file adding operation is a second user operation of adding a local file, the folder to which the added target local file belongs is displayed in the local file area.

[0133] In some feasible implementations, the file display module 1401 is specifically used to:

[0134] In response to a selection operation on the local file directory, a target folder is selected from the local file directory, and local file data contained in the target folder is displayed in the file preview area.

[0135] In some feasible implementations, the device further includes:

[0136] The resource library selection module is used to display a target resource library corresponding to the resource library selection area in the resource library area in response to a resource library selection operation on the resource library area.

[0137] In some feasible implementations, the mapping module 1403 is specifically used to:

[0138] Obtaining the upload conditions corresponding to the target cloud folder;

[0139] Obtaining the information type corresponding to the target file data;

[0140] If the information type meets the upload condition, a mapping relationship between the target file data and the target cloud folder is established.

[0141] In some feasible implementations, the upload condition includes at least a resource type, the information type includes at least a file format, and the mapping module 1403 is specifically configured to:

[0142] If the file format does not satisfy the resource type, outputting prompt information for the target file data, the prompt information being information indicating that the target file data does not match the resource type;

[0143] If the file format satisfies the resource type, a mapping relationship between the target file data and the target cloud folder is established.

[0144] In some feasible implementations, the target file data at least includes a target folder and / or a target local file, and the mapping module 1403 is specifically used to:

[0145] If the file formats of the local files contained in the target folder all meet the resource type, a first mapping relationship between the target folder and the target cloud folder is established;

[0146] If the file format of the target local file satisfies the resource type, a second mapping relationship between the target file and the target cloud folder is established.

[0147] Some possible implementations also include:

[0148] A directory adding module, configured to display a directory adding floating window on the file management interface in response to a directory adding operation on the cloud folder, wherein the directory adding floating window includes at least an input area and a preview area;

[0149] a content input module, configured to display, in the preview area, preview information corresponding to the target content displayed in the input area in response to a content input operation on the input area;

[0150] The folder adding module is used to add a cloud folder corresponding to the preview information in the resource library area in response to an adding operation on the preview information.

[0151] In some feasible implementations, the content input operation at least includes a file path input operation, the preview information at least includes a folder name, and the content input module is specifically configured to:

[0152] In response to a file path input operation on the input area, displaying at least one local folder path corresponding to the file path input operation in the input area;

[0153] The last folder name is extracted from the local folder path and displayed in the name input area.

[0154] In some feasible implementations, the content input operation includes at least a text input operation, the preview information includes at least a keyword, and the content input module is specifically configured to:

[0155] In response to a text input operation on the input area, at least one keyword corresponding to the file path input operation is displayed in the input area, and the keyword is displayed in the name input area.

[0156] In some feasible implementations, the file management interface further includes a file details area, and the device further includes:

[0157] An identification display module, used for displaying a file identification corresponding to the target file data in the target cloud folder;

[0158] A detail display module, configured to display detailed information of a file corresponding to the target file identifier in the file detail area in response to a selection operation on the target file identifier in the resource library area;

[0159] The tag determination module is used to determine a target file tag for the target cloud file in response to a tag editing operation on the detail information.

[0160] In some feasible implementations, the file details area includes at least a label area, and the label determination module is specifically configured to:

[0161] In response to a trigger operation on the label area, displaying a label window in the file management interface, wherein the label window includes at least a history label;

[0162] In response to an input operation on the tag area or a selection operation on the history tag, a target file tag for the target cloud file is determined.

[0163] In some feasible implementations, the upload module 1404 is specifically used to:

[0164] In response to an upload operation for the target file data, displaying a permission setting interface in the file management interface, the permission setting interface including several permission types;

[0165] In response to the selection operation for the permission type, a target permission type is determined, and the target file data is uploaded to the target cloud folder of the online resource library in parallel according to the target permission type and the mapping relationship.

[0166] As for the device 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.

[0167] In addition, an embodiment of the present invention further provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the various processes of the above-mentioned file data processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0168] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the above-mentioned file data processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0169] Fig.15 A schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention.

[0170] The electronic device 1500 includes but is not limited to: a radio frequency unit 1501, a network module 1502, an audio output unit 1503, an input unit 1504, a sensor 1505, a display unit 1506, a user input unit 1507, an interface unit 1508, a memory 1509, a processor 1510, and a power supply 1511. Those skilled in the art will appreciate that the electronic device structure involved in the embodiments of the present invention does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. In the embodiments of the present invention, the electronic device includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal, a wearable device, and a pedometer.

[0171] It should be understood that in the embodiment of the present invention, the radio frequency unit 1501 can be used for receiving and sending signals during information transmission or call. Specifically, after receiving downlink data from the base station, it is sent to the processor 1510 for processing; in addition, the uplink data is sent to the base station. Generally, the radio frequency unit 1501 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 1501 can also communicate with the network and other devices through a wireless communication system.

[0172] The electronic device provides users with wireless broadband Internet access through the network module 1502, such as helping users to send and receive emails, browse web pages, and access streaming media.

[0173] The audio output unit 1503 can convert the audio data received by the RF unit 1501 or the network module 1502 or stored in the memory 1509 into an audio signal and output it as sound. Moreover, the audio output unit 1503 can also provide audio output related to a specific function performed by the electronic device 1500 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 1503 includes a speaker, a buzzer, a receiver, etc.

[0174] The input unit 1504 is used to receive audio or video signals. The input unit 1504 may include a graphics processor (GPU) 15041 and a microphone 15042. The graphics processor 15041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 1506. The image frame processed by the graphics processor 15041 can be stored in the memory 1509 (or other storage medium) or sent via the radio frequency unit 1501 or the network module 1502. The microphone 15042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 1501 in the case of a telephone call mode.

[0175] The electronic device 1500 also includes at least one sensor 1505, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 15061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 15061 and / or the backlight when the electronic device 1500 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 1505 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.

[0176] The display unit 1506 is used to display information input by the user or information provided to the user. The display unit 1506 may include a display panel 15061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0177] The user input unit 1507 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 1507 includes a touch panel 15071 and other input devices 15072. The touch panel 15071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 15071 or near the touch panel 15071 using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 15071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 1510, receives the command sent by the processor 1510 and executes it. In addition, the touch panel 15071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 15071, the user input unit 1507 may also include other input devices 15072. Specifically, other input devices 15072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.

[0178] Further, the touch panel 15071 may be covered on the display panel 15061. When the touch panel 15071 detects a touch operation on or near it, it is transmitted to the processor 1510 to determine the type of the touch event, and then the processor 1510 provides a corresponding visual output on the display panel 15061 according to the type of the touch event. It can be understood that in one embodiment, the touch panel 15071 and the display panel 15061 are used as two independent components to implement the input and output functions of the electronic device, but in some embodiments, the touch panel 15071 and the display panel 15061 can be integrated to implement the input and output functions of the electronic device, which is not limited here.

[0179] The interface unit 1508 is an interface for connecting an external device to the electronic device 1500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 1508 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 1500 or may be used to transmit data between the electronic device 1500 and an external device.

[0180] The memory 1509 can be used to store software programs and various data. The memory 1509 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 1509 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0181] The processor 1510 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 1509 and calling data stored in the memory 1509, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 1510 may include one or more processing units; preferably, the processor 1510 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 1510.

[0182] The electronic device 1500 may also include a power supply 1511 (such as a battery) for supplying power to each component. Preferably, the power supply 1511 may be logically connected to the processor 1510 via a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system.

[0183] In addition, the electronic device 1500 includes some functional modules not shown, which will not be described in detail here.

[0184] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article 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, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0185] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0186] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.

[0187] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0188] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0189] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0190] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0191] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0192] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.

[0193] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for processing file data, characterized in that: A graphical user interface is provided by an electronic terminal, the electronic terminal runs a file management system, and a file management interface corresponding to the file management system is displayed by the graphical user interface, the file management interface at least including a local file area, a resource library area, and a file preview area, the method comprising: In response to a file adding operation on the local file area, displaying a local file directory corresponding to the file adding operation in the local file area, and displaying local file data corresponding to the local file directory in the file preview area; In response to a resource type selection operation on the resource library area, displaying a cloud resource directory of a target resource type corresponding to the resource type selection operation in the resource library area, wherein the cloud resource directory includes at least one cloud folder; In response to adding the target file data in the file preview area to the target cloud folder in the cloud resource directory, establishing a mapping relationship between the target file data and the target cloud folder; In response to an upload operation for the target file data, the target file data is uploaded in parallel to the target cloud folder of the online resource library according to the mapping relationship.

2. The method according to claim 1, characterized in that The content displayed by the graphical user interface also includes a first file management interface, the first file management interface includes a first local folder and / or a first local file, and in response to a file adding operation on the local file area, displaying a local file directory corresponding to the file adding operation in the local file area includes: In response to adding a first target local folder in the first file management interface to the local file area, displaying a local file directory corresponding to the first target local folder in the local file area; Or, in response to adding the first target local file in the first file management interface to the local file area, displaying the local file directory to which the first target local file belongs in the local file area.

3. The method according to claim 1, characterized in that The local file area includes an import control, and in response to a file adding operation on the local file area, displaying a local file directory corresponding to the file adding operation in the local file area includes: In response to a selection operation on the import control, displaying a second file management interface, wherein the second file management interface includes a second local folder and / or a second local file; In response to adding a second target local folder in the second file management interface to the local file area, displaying a local file directory corresponding to the second target local folder in the local file area; Or, in response to adding the second target local file in the second file management interface to the local file area, the local file directory to which the second target local file belongs is displayed in the local file area.

4. The method according to claim 1, characterized in that: In response to the file adding operation on the local file area, displaying the local file directory corresponding to the file adding operation in the local file area includes: In response to a path import operation for the local file area, a local file path corresponding to the path import operation is acquired, and if the local file path is valid, a local file directory corresponding to the local file path is displayed in the local file area.

5. The method according to any one of claims 1 to 4, characterized in that: The displaying of the local file directory corresponding to the file adding operation in the local file area includes: If the file adding operation is a first user operation of adding a local folder, the folder hierarchy corresponding to the added target folder is displayed in a tree structure in the local file area; If the file adding operation is a second user operation of adding a local file, the folder to which the added target local file belongs is displayed in the local file area.

6. The method according to any one of claims 1 to 4, characterized in that: The displaying the local file data corresponding to the local file directory in the file preview area includes: In response to a selection operation on the local file directory, a target folder is selected from the local file directory, and local file data contained in the target folder is displayed in the file preview area.

7. The method according to claim 1, characterized in that In response to the resource type selection operation on the resource library area, before displaying the cloud resource directory of the target resource type corresponding to the resource type selection operation in the resource library area, the method further includes: In response to a resource library selection operation for the resource library area, a target resource library corresponding to the resource library selection area is displayed in the resource library area.

8. The method according to claim 1, characterized in that The establishing of a mapping relationship between the target file data and the target cloud folder includes: Obtaining the upload conditions corresponding to the target cloud folder; Obtaining the information type corresponding to the target file data; If the information type meets the upload condition, a mapping relationship between the target file data and the target cloud folder is established.

9. The method according to claim 8, characterized in that The upload condition at least includes a resource type, the information type at least includes a file format, and if the information type satisfies the upload condition, establishing a mapping relationship between the target file data and the target cloud folder, including: If the file format does not satisfy the resource type, outputting prompt information for the target file data, the prompt information being information indicating that the target file data does not match the resource type; If the file format satisfies the resource type, a mapping relationship between the target file data and the target cloud folder is established.

10. The method according to claim 9, characterized in that The target file data at least includes a target folder and / or a target local file, and if the file format satisfies the resource type, a mapping relationship between the target file data and the target cloud folder is established, including: If the file formats of the local files contained in the target folder all meet the resource type, a first mapping relationship between the target folder and the target cloud folder is established; If the file format of the target local file satisfies the resource type, a second mapping relationship between the target file and the target cloud folder is established.

11. The method according to any one of claims 7 to 10, characterized in that: Also includes: In response to a directory adding operation for the cloud folder, displaying a directory adding floating window on the file management interface, the directory adding floating window at least including an input area and a preview area; In response to a content input operation on the input area, displaying preview information corresponding to the target content displayed in the input area in the preview area; In response to the adding operation on the preview information, a cloud folder corresponding to the preview information is added in the resource library area.

12. The method according to claim 11, characterized in that The content input operation at least includes a file path input operation, the preview information at least includes a folder name, and in response to the content input operation on the input area, displaying in the preview area preview information corresponding to the target content displayed in the input area, comprises: In response to a file path input operation on the input area, displaying at least one local folder path corresponding to the file path input operation in the input area; The last folder name is extracted from the local folder path and displayed in the name input area.

13. The method according to claim 11, characterized in that The content input operation at least includes a text input operation, the preview information at least includes a keyword, and in response to the content input operation on the input area, displaying in the preview area preview information corresponding to the target content displayed in the input area, comprises: In response to a text input operation on the input area, at least one keyword corresponding to the file path input operation is displayed in the input area, and the keyword is displayed in the name input area.

14. The method according to claim 1, characterized in that The file management interface also includes a file details area, and the method further includes: Displaying a file identifier corresponding to the target file data in the target cloud folder; In response to a selection operation on a target file identifier in the resource library area, displaying detailed information of a file corresponding to the target file identifier in the file details area; In response to a tag editing operation on the detail information, a target file tag for the target cloud file is determined.

15. The method according to claim 14, characterized in that The file details area at least includes a tag area, and the determining of a target file tag for the target cloud file in response to a tag editing operation on the detail information includes: In response to a trigger operation on the label area, displaying a label window in the file management interface, wherein the label window includes at least a history label; In response to an input operation on the tag area or a selection operation on the history tag, a target file tag for the target cloud file is determined.

16. The method according to claim 1, characterized in that In response to the upload operation for the target file data, uploading the target file data in parallel to the target cloud folder of the online resource library according to the mapping relationship includes: In response to an upload operation for the target file data, displaying a permission setting interface in the file management interface, the permission setting interface including several permission types; In response to the selection operation for the permission type, a target permission type is determined, and the target file data is uploaded to the target cloud folder of the online resource library in parallel according to the target permission type and the mapping relationship.

17. A file data processing device, characterized in that: A graphical user interface is provided through an electronic terminal, the electronic terminal runs a file management system, and a file management interface corresponding to the file management system is displayed through the graphical user interface, the file management interface at least includes a local file area, a resource library area, and a file preview area, the device includes: A file display module, configured to, in response to a file adding operation on the local file area, display a local file directory corresponding to the file adding operation in the local file area, and display local file data corresponding to the local file directory in the file preview area; A resource library processing module, configured to, in response to a resource type selection operation on the resource library area, display a cloud resource directory of a target resource type corresponding to the resource type selection operation in the resource library area, wherein the cloud resource directory includes at least one cloud folder; A mapping module, configured to establish a mapping relationship between the target file data and the target cloud folder in response to adding the target file data in the file preview area to the target cloud folder in the cloud resource directory; The uploading module is used for responding to the uploading operation on the target file data and uploading the target file data in parallel to the target cloud folder of the online resource library according to the mapping relationship.

18. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; The memory is used to store computer programs; The processor is used to implement the method according to any one of claims 1 to 16 when executing the program stored in the memory.

19. A computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform the method according to any one of claims 1 to 16.

Citation Information

Patent Citations

  • Cloud-local file synchronization implementing method and system

    CN107332918A

  • File transfer method, system, computer device and storage medium

    CN109040252A

  • File management method and device, computer equipment and storage medium

    CN110442553A

  • Display device, file sharing method and server

    CN112399212A

  • Platform independent enhanced help system for an internet enabled embedded system

    US6289370B1