CN114996576A - Recommendation method and recommendation system for file processing - Google Patents
Recommendation method and recommendation system for file processing Download PDFInfo
- Publication number
- CN114996576A CN114996576A CN202210642282.XA CN202210642282A CN114996576A CN 114996576 A CN114996576 A CN 114996576A CN 202210642282 A CN202210642282 A CN 202210642282A CN 114996576 A CN114996576 A CN 114996576A
- Authority
- CN
- China
- Prior art keywords
- file
- processing
- type
- files
- priority
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a recommendation method and a recommendation system for file processing, wherein the recommendation method for file processing comprises the following steps: s1: responding to file operation uploaded by a user in a management system, analyzing the uploaded file to obtain file information, wherein the file information comprises a file type and file characteristics; s2: based on the uploaded file type, the server recommends at least one processing function matching the file type from the template library; and S3, displaying the processing identification of the processing function on the operation interface. The technical scheme adopted by the invention can provide intelligent processing function setting and recommendation, and the recommended configuration template is generated after the analysis is carried out according to the file characteristics, so that a batch creation mode is supported, manual operation is greatly reduced, the efficiency of file processing configuration is improved, and errors are reduced.
Description
Technical Field
The invention relates to the technical field of file processing, in particular to a recommendation method and a recommendation system for file processing.
Background
Cloud storage is a mode of online storage on the internet, that is, data, files and the like are stored in a server usually hosted by a third party, and a user can conveniently access the data, the files and the like at any time and any place by connecting to the cloud through any internet-connectable device.
With the development of computer technology, mobile internet and storage technology has developed into a complex technology system, and the demand of internet users for information has also changed exponentially, and the information is more and more diversified from the early stage of query browsing and the present information processing, storage, use and access.
For internet users, various files of the internet users are used to be uploaded to a cloud server, so that the internet users can conveniently access the cloud server at any time, and therefore, a user processing platform is provided for a cloud service provider or a service platform for providing file storage or processing for the users, and various requirements of the users are met.
The existing processing platform can set some fixed templates according to the processing of files with more daily user operations, call the fixed templates for users, save various complex configuration operations for the users, but the existing customized templates are configured in advance, cannot analyze the requirements of the users in advance, require the users to carry out complex setting and selection by themselves, and when the number of the files and the types of the files are increased, the workload is very large, and errors are easy to occur due to manual operation selection and configuration, so that the problem of troubleshooting is complicated, and a great amount of time is wasted.
Disclosure of Invention
The invention provides a recommendation method for file processing to solve the technical problems in the prior art, which comprises the following steps:
s1: responding to file operation uploaded by a user in a management system, analyzing the uploaded file to obtain file information, wherein the file information comprises a file type and file characteristics;
s2: based on the uploaded file type, the server recommends at least one processing function matching the file type from the template library;
and S3, displaying the processing identification of the processing function on the operation interface.
Furthermore, the uploaded files are analyzed, and the file types are identified according to mime type information of the files to obtain the file types.
Further, when the file type is a picture class file, the server matching processing function includes: processing and marking pictures, and arranging the priority according to the use frequency in the preset past time period.
Further, when the file type is a video file, the recommended processing function module is set to be a synchronous processing mode, and the priority is arranged according to the use frequency in the preset past time period.
Further, when the file type is a video file and the recommended processing function is video watermarking or video transcoding, different definitions are defined according to the resolution and code rate combination of the video file, if the definition is higher than a preset threshold and the duration of the file is larger than the preset threshold, an asynchronous processing mode is set, and the priority is arranged according to the use frequency in a preset past time period.
Further, step S4 and step S5 are included, wherein:
step S4, analyzing all file characteristics of the user, prioritizing the characteristic indexes and recommending template parameters, including:
analyzing the file format, wherein the format priority is higher when the number of files is larger;
analyzing the size of the picture file, wherein the larger the number of files is, the higher the priority is in the file size interval;
analyzing the definition of the video files, wherein the definition of the video files is higher when the number of the files is larger, and the priority is higher;
analyzing the duration of the video files, wherein the priority is higher in a duration interval with more files;
and step S5, configuring the templates of the processing functions according to the characteristic index priority sequence obtained in the step S4.
Further, the template configuration includes:
s50: according to the file format analysis, preferentially recommending a file format with high priority as an input type of a processing template;
s51: recommending processing parameters according to the file characteristic information, comprising:
matching recommended picture processing parameters according to the size interval of the picture files with high priority;
and matching recommended video processing parameters according to the definition and duration intervals of the video files with high priority.
Further, the method also includes step S52: after steps S50 and S51 are executed, the recommended configuration of a format file is output, and the configuration is trimmed and saved as a new file processing template.
Further, step S53 is included: batch creation, that is, applying the process template in step S52 to a plurality of file formats, a plurality of process templates are created quickly.
The invention also provides a file processing recommendation system, which comprises an analysis module, a matching module and a display module, wherein:
the analysis module is used for responding to file operation uploaded by a user in the management system, analyzing the uploaded file and obtaining file information, wherein the file information comprises a file type and file characteristics;
the matching module is used for recommending at least one processing function matched with the file type from the template library by the server based on the uploaded file type;
the display module is used for displaying the processing identifier of the processing function on the operation interface.
The present invention also provides a storage medium having stored thereon a computer program which, when executed by a processor, performs a recommendation method as described for file processing.
The present invention also provides an electronic device comprising: the file processing system comprises a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, when an electronic device runs, the processor is communicated with the storage medium through the bus, and the processor executes the machine-readable instructions to execute the recommendation method of the file processing.
In practical applications, the modules in the recommendation method and the recommendation system disclosed by the invention can be deployed on one target server, or each module can be deployed on different target servers independently, and particularly, the modules can be deployed on the cluster target servers according to needs in order to provide stronger computing processing capacity.
Therefore, the technical scheme adopted by the invention can provide intelligent processing function setting and recommendation, and the recommended configuration template is generated after the analysis is carried out according to the file characteristics, so that the batch creation mode is supported, the manual operation is greatly reduced, the efficiency of file processing configuration is improved, and the error is reduced.
In order that the invention may be more clearly and fully understood, specific embodiments thereof are described in detail below with reference to the accompanying drawings.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a flowchart illustrating a file processing recommendation method according to an embodiment of the present application.
Fig. 2 is a schematic diagram illustrating a recommendation that a file type is a video file according to an embodiment of the present application.
FIG. 3 is a schematic diagram of a processing template of an arrangement according to an embodiment of the present application.
Detailed Description
Referring to fig. 1, fig. 1 is a flowchart illustrating a recommendation method for file processing according to an embodiment of the present application.
The file processing recommendation method in the embodiment of the application comprises the following steps:
s1: responding to file operation uploaded by a user in a management system, analyzing the uploaded file to obtain file information, wherein the file information comprises a file type and file characteristics;
s2: based on the uploaded file type, the server recommends at least one processing function matching the file type from the template library;
and S3, displaying the processing identification of the processing function on the operation interface.
The technical means of the present application will be described in detail below with reference to specific preferred embodiments.
S1: responding to file operation uploaded by a user in a management system, analyzing the uploaded file to obtain file information, wherein the file information comprises a file type and file characteristics;
for a conventional file management system, after a user uploads a file, what process needs to be done and what is used
The function modules generally need to be set or selected by the user. In this embodiment, when a user uploads a file, the management system analyzes the uploaded file, for example, the mime type information of the file is used for identifying to obtain a file type, and after the file type is identified, a related processing function for processing the file type is automatically displayed according to the file type, so that the user can quickly find the required processing function, and the probability of function use errors is also reduced.
S2: based on the uploaded file type, the server recommends at least one processing function matching the file type from the template library.
For example, when the file type is a picture file, the processing function that the server matches to the management system includes: picture processing, picture marking, picture format conversion, picture encryption, and the like. Further, as a preferred embodiment, the priority may be also arranged by the frequency of use in a preset past time period. For example, in the past period of analysis by the server, the user needs to mark and classify the uploaded pictures, that is, to mark the pictures in a classified manner, and the operation is the most frequent, so that when the processing function of the management system is matched, the processing function marked by the pictures is displayed at the forefront position as the highest priority mode.
Referring to fig. 2, fig. 2 is a schematic diagram illustrating a recommendation that a file type is a video file according to an embodiment of the present application. As shown in fig. 2, the recommended processing functions are displayed, and when the file type is a video-type file, the recommended processing function modules are set as a synchronous processing mode and are prioritized according to the frequency of use in a preset past time period. As another preferred embodiment, the method may also be configured as an asynchronous processing mode, that is, when the file type is a video file and the recommended processing function is video watermarking or video transcoding, the file type may be defined as different definitions according to the combination of resolution and bitrate of the video file, and when the definition is higher than a preset threshold and the duration is greater than the preset threshold, the method is configured as an asynchronous processing mode and the priority is arranged according to the usage frequency in a preset past time period.
In addition, the present application further provides a more preferred implementation manner, based on the above embodiment, further including step S4 and step S5, where:
and step S4, analyzing all file characteristics of the user, and performing priority ranking on the characteristic indexes for recommending template parameters.
And step S5, configuring the templates of the processing functions according to the characteristic index priority sequence obtained in the step S4.
Wherein, step S4 includes:
file format analysis, the higher the number of files, the higher the format priority:
and analyzing the size of the picture file, wherein the larger the number of files is, the higher the priority is in the file size interval.
In the following, taking the picture files of the user as an example, if the picture files in the management system of the user account are distributed as follows:
the jpg format has 100w of more than 20MB, 10w of more than 20MB, and 85w of less than 5MB
The png format comprises more than 529 with 35w 20MB and less than 13.8w with 5MB
The bmp format 5.8w files of which the number is basically 5MB or less
Other formats.
As a preferred embodiment, step S5 includes S50 and S51:
s50, preferentially recommending the file format with high priority as the input type of the processing template according to the file format analysis; based on the client file distribution condition, the default input format of the recommendation processing is jpg; the input type pull down menu is provided in the order jpg, png, bmp, other formats.
S51: recommending processing parameters according to the file characteristic information, comprising:
matching recommended picture processing parameters according to the high-priority picture file size interval;
and matching recommended video processing parameters according to the definition and duration intervals of the video files with high priority.
Or, taking a jpg picture as an implementation example, assuming that the intervals set by the size of the picture file are as follows:
more than 20MB pictures, the number accounts for 50%; the number of 10MB-20MB pictures accounts for 30%; 20% or less of 20 MB. According to the size interval of the high-priority image file, matching recommended image processing parameters, so that the situation that more high-definition large images with the depth of more than 20MB exist in the jpg format file can be analyzed, recommending the image compression function, and displaying the corresponding compression ratio according to the file format selected and processed by the user; if the client selects the file with the png format for configuration, the compression function cannot be recommended because high-definition large images above 20MB are few;
further, as a more preferable embodiment, the method further includes step S52: after steps S50 and S51 are executed, the system outputs a recommended configuration of format file processing, and the user can fine-tune the configuration as required and save the configuration as a new file processing template.
Referring to fig. 3, fig. 3 is a schematic diagram of processing templates configured according to an embodiment of the present invention, and as a more preferred implementation manner, the method further includes step S53, where the processing template in step S52 is applied to multiple file formats and multiple processing templates are created quickly by using a batch creation mode. By taking the embodiment of the pictures as an example, the picture files in the png format and the bmp format have less high-definition large pictures and do not need to be compressed, and the pictures need to be converted into the pictures in the jpg format for distribution and access, so that a user can select a batch creation mode to submit, multiplex the processing parameters of the png format files and create the processing templates of the png format files and the bmp 2 format files at the same time.
In addition, step S4 also includes analysis of the video file, including:
analyzing the definition of the video files, wherein the definition of the video files is higher when the number of the files is larger, and the priority is higher;
analyzing the duration of the video files, wherein the priority is higher in a duration interval with more files;
the recommendation of the processing function of the video file may be processed by referring to a picture recommendation method.
Step S4 also includes processing for other file types than picture files and video files, such as document files, etc., and the above embodiment can also be referred to.
In addition, based on the above embodiment, the present application further provides a file processing recommendation system, including an analysis module, a matching module, and a presentation module, where:
the analysis module is used for responding to file operation uploaded by a user in the management system, analyzing the uploaded file and obtaining file information, wherein the file information comprises a file type and file characteristics;
the matching module is used for recommending at least one processing function matched with the file type from the template library by the server based on the uploaded file type;
the display module is used for displaying the processing identifier of the processing function on the operation interface.
Therefore, the technical scheme of the application obtains good technical effects: the method can provide intelligent processing function setting and recommendation, generate a recommended configuration template after analyzing according to file characteristics, support a batch creation mode, greatly reduce manual operation, improve file processing efficiency and reduce errors.
The embodiment of the present application further provides a storage medium, where a computer program is stored on the storage medium, and when the computer program is executed by a processor, the recommendation method for file processing is executed.
An embodiment of the present application further provides an electronic device, including: the file processing system comprises a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, when an electronic device runs, the processor is communicated with the storage medium through the bus, and the processor executes the machine-readable instructions to execute the recommendation method for file processing according to any one of the file processing methods.
It should be noted that, all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, which may be stored in a computer-readable storage medium, which may include, but is not limited to: a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, or the like.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (12)
1. A recommendation method for file processing is characterized by comprising the following steps:
s1: responding to file operation uploaded by a user in a management system, analyzing the uploaded file to obtain file information, wherein the file information comprises a file type and file characteristics;
s2: based on the uploaded file type, the server recommends at least one processing function matching the file type from the template library;
and S3, displaying the processing identification of the processing function on the operation interface.
2. The recommendation method for file processing according to claim 1, wherein the uploaded files are parsed and the file types are identified according to mime type information of the files.
3. The file processing recommendation method of claim 1, wherein when said file type is a picture class file, the server matching processing function comprises: processing and marking pictures, and arranging the priority according to the use frequency in the preset past time period.
4. The method according to claim 1, wherein when the file type is a video-type file, the recommended processing function module is set to a synchronous processing mode and prioritizes the use frequency in a preset past time period.
5. The method according to claim 1, wherein when the file type is a video type file and the recommended processing function is video watermarking or video transcoding, different definitions are defined according to the resolution and code rate combination of the video file, and if the definition is higher than a preset threshold and the duration is longer than the preset threshold, the file is set as an asynchronous processing mode and prioritized according to the use frequency in a preset past time period.
6. The file processing recommendation method of claim 1, further comprising step S4 and step S5, wherein:
step S4, analyzing all file characteristics of the user, prioritizing the characteristic indexes and recommending template parameters, including:
analyzing the file format, wherein the format priority is higher when the number of files is larger;
analyzing the size of the picture file, wherein the larger the number of files is, the higher the priority is in the file size interval;
analyzing the definition of the video files, wherein the definition of the video files is higher when the number of the video files is larger, and the priority is higher;
analyzing the duration of the video files, wherein the priority is higher in a duration interval with more files;
and step S5, configuring the templates of the processing functions according to the characteristic index priority sequence obtained in the step S4.
7. A method of recommending file processing according to claim 6, characterized in that the template configuration comprises:
s50: according to the file format analysis, preferentially recommending a high-priority file format as an input type of a processing template;
s51: recommending processing parameters according to the file characteristic information, comprising:
matching recommended picture processing parameters according to the high-priority picture file size interval;
and matching recommended video processing parameters according to the definition and duration intervals of the video files with high priority.
8. The file processing recommendation method according to claim 7, further comprising step S52: after steps S50 and S51 are executed, the recommended configuration of a format file is output, and the configuration is trimmed and saved as a new file processing template.
9. The file processing recommendation method according to claim 8, comprising step S53: batch creation, that is, applying the process template in step S52 to a plurality of file formats, a plurality of process templates are created quickly.
10. A file processing recommendation system is characterized by comprising an analysis module, a matching module and a display module, wherein:
the analysis module is used for responding to file operation uploaded by a user in the management system, analyzing the uploaded file and obtaining file information, wherein the file information comprises a file type and file characteristics;
the matching module is used for recommending at least one processing function matched with the file type from the template library by the server based on the uploaded file type;
the display module is used for displaying the processing identifier of the processing function on the operation interface.
11. A storage medium having stored thereon a computer program for executing the method of recommending file processing according to any of claims 1 to 9 when the computer program is executed by a processor.
12. An electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, when an electronic device runs, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to execute the recommendation method for processing the file according to any one of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210642282.XA CN114996576A (en) | 2022-06-08 | 2022-06-08 | Recommendation method and recommendation system for file processing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210642282.XA CN114996576A (en) | 2022-06-08 | 2022-06-08 | Recommendation method and recommendation system for file processing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114996576A true CN114996576A (en) | 2022-09-02 |
Family
ID=83032613
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210642282.XA Pending CN114996576A (en) | 2022-06-08 | 2022-06-08 | Recommendation method and recommendation system for file processing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114996576A (en) |
-
2022
- 2022-06-08 CN CN202210642282.XA patent/CN114996576A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20150278248A1 (en) | Personal Information Management Service System | |
EP2284736A1 (en) | System and method for automated color scheme transformation | |
CN110795180B (en) | Two-dimensional code management method, system, electronic equipment and storage medium | |
WO2019127894A1 (en) | Method for converting pdf file into picture, electronic device, and computer-readable storage medium | |
CN112953993A (en) | Resource scheduling method, device, network system and storage medium | |
CN113568614A (en) | Task issuing method, electronic device and storage medium | |
CN111447219B (en) | Image display method and device, storage medium and computer equipment | |
CN113220427A (en) | Task scheduling method and device, computer equipment and storage medium | |
CN114996576A (en) | Recommendation method and recommendation system for file processing | |
CN115495513A (en) | Event standardization method and device | |
CN113255317B (en) | OFD format invoice analysis method, system and equipment based on cloud service | |
CN116048486A (en) | Processing method of configuration item data, electronic equipment and computer readable storage medium | |
CN109299223B (en) | Method and device for inquiring instruction | |
CN111343502B (en) | Video processing method, electronic device and computer readable storage medium | |
CN114173154A (en) | Video processing method and system | |
CN112308074B (en) | Method and device for generating thumbnail | |
CN113743060A (en) | Customizable report generation method and device, computer equipment and storage medium | |
WO2016173136A1 (en) | Terminal application processing method and device thereof | |
CN112632422A (en) | Intelligent image cutting method and device, electronic equipment and storage medium | |
CN117311996B (en) | Batch data configuration and processing and running method and device for computing tasks | |
CN113569092B (en) | Video classification method and device, electronic equipment and storage medium | |
CN113781062B (en) | User tag display method and device | |
CN113986850B (en) | Storage method, device, equipment and computer readable storage medium of electronic volume | |
WO2024140088A1 (en) | Multimedia editing resource recommendation method and apparatus, device and storage medium | |
CN113806596B (en) | Operation data management method and related device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |