Method, device and equipment for processing multimedia files in storage device
By receiving service requests, determining the display interface page type and displaying candidate service identifiers, the problem of time-consuming user needs to manually process multimedia files of storage devices is solved, automatic processing is realized, and efficiency and user experience is improved.
Patent Information
- Application Number
- CN202310802920.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-30
- Publication Date
- 2025-08-08
- Estimated Expiration
- 2043-06-30
AI Technical Summary
In the prior art, users need to manually process multimedia files in storage devices, resulting in a long time consumption and poor user experience.
By receiving a service request, the display interface page type is determined, the candidate service identification is displayed, and after the service identification is selected, the multimedia file is processed based on the service identification.
It realizes automatic processing of multimedia files, improves file processing efficiency and saves user time.
Smart Images

Figure CN116992057B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of artificial intelligence, specifically to technical fields such as natural language processing, deep learning, and cloud services, and in particular to methods, devices, and equipment for processing multimedia files in storage devices. Background Art
[0002] Storage devices are devices that can provide users with file management functions such as storage, access, backup, and sharing, such as network disks, cloud disks, hard drives, flash memory cards, USB flash drives, etc.
[0003] Currently, when a user needs to process multimedia files in a storage device, the user needs to manually browse the multimedia files and process them accordingly. However, manual processing takes a lot of time, which makes the user's experience poor. Therefore, a method for processing multimedia files in a storage device more conveniently and quickly is needed. Summary of the Invention
[0004] The present disclosure provides a method, apparatus, and device for processing multimedia files in a storage device.
[0005] According to a first aspect of the present disclosure, a method for processing multimedia files in a storage device is provided, including: receiving a service request; determining the type of a page currently displayed in a display interface corresponding to the storage device when the service request does not include a service identifier; determining and displaying a first candidate service identifier based on the type of the currently displayed page; and processing a first multimedia file displayed on the current page based on a first service associated with the first service identifier when it is detected that the first service identifier is selected.
[0006] According to a second aspect of the present disclosure, a device for processing multimedia files in a storage device is provided, including: a first receiving module for receiving a service request; a first determining module for determining the type of a page currently displayed in a display interface corresponding to the storage device when the service request does not include a service identifier; a first display module for determining and displaying a first candidate service identifier based on the type of the currently displayed page; and a first processing module for processing a first multimedia file displayed in the current page based on a first service associated with the first service identifier when detecting that the first service identifier is selected.
[0007] According to a third aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method for processing multimedia files in a storage device as described in the first aspect.
[0008] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the method for processing multimedia files in a storage device as described in the first aspect.
[0009] According to another aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the method for processing multimedia files in a storage device according to the first aspect is implemented.
[0010] The method, apparatus, and device for processing multimedia files in a storage device provided by the present disclosure have the following beneficial effects:
[0011] In the present disclosure, a service request is first received. If the service request does not include a service identifier, the type of the page currently displayed in the display interface corresponding to the storage device is determined. Then, based on the page type, a first candidate service identifier is determined and displayed. After that, if it is detected that the first service identifier is selected, the first multimedia file displayed in the current page is processed based on the first service associated with the first service identifier. Thus, by providing the user with available candidate services based on the type of page displayed on the display interface, and intelligently processing the multimedia files in the storage device page based on the selected service identifier, automatic processing of multimedia files is achieved, improving the efficiency of file processing and saving user time.
[0012] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The accompanying drawings are provided to facilitate a better understanding of the present invention and do not constitute a limitation of the present disclosure.
[0014] Figure 1 This is a flowchart of a method for processing multimedia files in a storage device according to an embodiment of the present disclosure;
[0015] Figure 2 is a schematic diagram of a conversation interface of the present disclosure;
[0016] Figure 3 is a flowchart of a method for processing multimedia files in a storage device according to another embodiment of the present disclosure;
[0017] Figure 4 is a flowchart of a method for processing multimedia files in a storage device according to another embodiment of the present disclosure;
[0018] Figure 5 is a schematic diagram of a display interface of the present disclosure;
[0019] Figure 6 is a flowchart of a method for processing multimedia files in a storage device according to another embodiment of the present disclosure;
[0020] Figure 7 is a schematic diagram of a conversation interface of the present disclosure;
[0021] Figure 8 A flowchart of a method for processing multimedia files in a storage device according to another embodiment of the present disclosure is provided;
[0022] Figure 9 is a schematic diagram of a conversation interface of the present disclosure;
[0023] Figure 10 This is a flow chart of a device for processing multimedia files in a storage device according to an embodiment of the present disclosure;
[0024] Figure 11 is a flow chart of a device for processing multimedia files in a storage device according to another embodiment of the present disclosure;
[0025] Figure 12 The block diagram is a block diagram of an electronic device for implementing the method for processing multimedia files in a storage device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0026] The following description of exemplary embodiments of the present disclosure is made in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding. These details should be considered as merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0027] The present disclosure relates to the field of artificial intelligence, and specifically to technical fields such as natural language processing, deep learning, and cloud services.
[0028] Artificial Intelligence (AI) is a new technical science that studies and develops theories, methods, technologies, and application systems for simulating, extending, and expanding human intelligence.
[0029] Natural Language Processing (NLP) enables computers to understand natural language like humans, thereby enabling computers to process data such as text, voice, and images, achieve intelligent interaction, and solve problems related to natural language processing, such as text analysis, information retrieval, sentiment analysis, and so on.
[0030] Deep learning involves learning the inherent patterns and representational hierarchies of sample data. The information gained from this learning process is highly helpful in interpreting data such as text, images, and sounds. The ultimate goal of deep learning is to enable machines to have the same analytical and learning capabilities as humans, enabling them to recognize data such as text, images, and sounds.
[0031] Cloud services are a model of various services provided through cloud computing technology based on the Internet. They can provide various computer resources, including computing power, storage, databases, networks and software, so that users can access these resources through the Internet.
[0032] In the technical solution disclosed herein, the acquisition, storage, application and other processing of user personal information involved comply with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0033] The following describes a method, apparatus, and device for processing multimedia files in a storage device according to embodiments of the present disclosure with reference to the accompanying drawings.
[0034] Among them, it should be noted that the execution subject of the method for processing multimedia files in the storage device of this embodiment is the processing device of multimedia files in the storage device, which can be implemented by software and / or hardware. The device can be configured in an electronic device. The electronic device can be any device with computing capabilities, such as a personal computer (PC), a mobile terminal, a server, etc. The mobile terminal can be, for example, a vehicle-mounted device, a mobile phone, a tablet computer, a personal digital assistant, a wearable device, a smart speaker, and other hardware devices with various operating systems, touch screens and / or display screens. In the embodiment of the present disclosure, the processing device of multimedia files in the storage device can be a service robot with a file processing function, and the service robot can be embedded in the storage device of the electronic device so that the electronic device can perform the file processing function. Therefore, in the following embodiments of the present disclosure, the execution subject is an example of a service robot embedded in a storage device.
[0035] Figure 1 The present invention is a flowchart of a method for processing multimedia files in a storage device according to an embodiment of the present invention.
[0036] like Figure 1 As shown, the method for processing multimedia files in the storage device includes:
[0037] Step 101: Receive a service request.
[0038] In the present disclosure, when a user wants to process multimedia files in a storage device to obtain information, he or she can send a service request to the service robot embedded in the storage device to realize intelligent processing of the multimedia files. The service request can be triggered by triggering controls, inputting identifiers, etc., and the present disclosure does not limit this.
[0039] In some possible implementations, the service robot may determine that a service request has been received when it detects that a preset control in a display interface corresponding to the storage device is triggered.
[0040] Among them, the preset control may refer to a control used to start the service robot.
[0041] In the embodiment of the present disclosure, the user can start the service robot by clicking on a preset control in any display interface containing a preset control in the storage device, so that the service robot can receive the service request.
[0042] Alternatively, the service robot may also determine that a service request has been received when the first identifier is received through a preset input box.
[0043] Among them, the preset input box can be an input box preset in a dialogue interface that can communicate with a service robot, or it can be an input box in a storage device display interface that can call a service robot, etc. This disclosure does not limit this.
[0044] The first identifier is a symbol that can be used to invoke the function selector. For example, the first identifier can be " / ". The function selector can include service identifiers corresponding to multiple file processing functions. It is understood that the functions that can be invoked in the function selector can be customized according to actual needs to meet the needs of storage device users to personalize the functions in the function selector.
[0045] In the disclosed embodiment, the user may input a first identifier “ / ” in an input box preset on the dialogue interface with the service robot, so that the service robot may receive a service request after detecting the first identifier.
[0046] Alternatively, it may be determined that the service request has been received when the received input data includes preset characters, wherein the input data is text data or audio data.
[0047] Among them, the preset characters refer to characters that are preset in the service robot and can call the file processing function. For example, the preset characters can be "service". When the user enters "video processing service" or "text processing service", since the input data contains the word "service", the service robot can recognize and determine to receive the service request, call the corresponding file processing function, etc. This disclosure does not limit this.
[0048] It should be noted that the input data can be sent in the form of text in the input box on the dialogue interface, or it can be sent by clicking the voice control on the dialogue interface to call up the voice input port of the service robot and input the corresponding voice through the voice input port, so that the service robot can receive the service request.
[0049] In the disclosed embodiment, service requests can be received in a variety of ways, thereby improving the efficiency of receiving service requests for processing multimedia files, allowing users to send requests in a way that best suits them, and improving user experience.
[0050] Step 102: When the service request does not include a service identifier, determine the type of the page currently displayed in the display interface corresponding to the storage device.
[0051] The service identifier refers to information that can uniquely identify a service. The type of display page can be any of a video playback page, an audio playback page, a file display page, a multimedia file list page, and the present disclosure does not limit this. Because different types of display pages display different types of multimedia files, and the storage device may provide different services for different types of multimedia files, determining the type of the currently displayed page can determine the type of multimedia files on the page, thereby providing conditions for providing targeted candidate service identifiers.
[0052] In the embodiment of the present disclosure, the service request may also include a service identifier. In this case, after the service robot receives the service request, it can process the multimedia files in the current display page of the storage device based on the service associated with the service identifier.
[0053] Step 103: Determine and display a first candidate service identifier according to the type of the currently displayed page.
[0054] Among them, the first candidate service identifier refers to one or more optional service identifiers in different types of display pages, which may include at least one of file summary generation service, file rewriting service, file summary service, file segmentation service, file key information positioning service, image generation service, multi-file fusion service, file type conversion service, file search service and file knowledge point extraction service, etc. The present disclosure does not limit this to facilitate users to select processing services for multimedia files according to processing needs.
[0055] It should be noted that the file summary generation service can call a generative language model with file generation capabilities to extract information and generate summaries from multimedia files. The file rewriting service can call a generative language model with file rewriting capabilities to rewrite the content of multimedia files. The file summarization service can call a generative language model with file summarization capabilities to summarize the key content of multimedia files. The file segmentation service can intelligently divide a multimedia file into multiple paragraphs with different themes based on its content. The file key information location service can determine the location of target keywords in a multimedia file, or search for frames where characters in an image appear in a video file, etc., which are not limited by this disclosure. The image generation service can obtain images of the target type based on user needs using the image generation model. The multi-file fusion service can call a generative language model with file fusion capabilities to fuse multiple multimedia files using this generative language model. The file type conversion service can convert the types of one or more multimedia files, such as converting a video file to an audio file, etc. The file search service can search for related files in a storage device based on information entered by the user. The file knowledge point extraction service can call a generative language model with knowledge point extraction function to extract knowledge points from multimedia files through the generative language model.
[0056] In the present disclosure, the first candidate service identifiers corresponding to different types of pages may be different. For example, when the type of the displayed page is a video playback page, the video can be summarized, segmented, screenshoted, etc., so the first candidate service identifier determined by the corresponding type can be a file summary generation service, a file segmentation service, an image generation service, etc. Alternatively, when the type of the displayed page is a multimedia file list page, multiple files in the list can be merged, or a target multimedia file can be searched in the list, etc., so the first candidate service identifier determined by the type can be a multi-file fusion service, a file search service, etc., and the present disclosure does not limit this.
[0057] In some possible implementations, the first candidate service identifier can be displayed in the dialog interface. Alternatively, the first candidate service identifier can be displayed in a preset pop-up window, where the pop-up window is located on a display layer above the display layer of the display interface. This can improve the usability of the display page, more effectively and intuitively present the determined first candidate service identifier to the user, and further enhance the user experience.
[0058] Among them, the dialogue interface refers to the interface used during the dialogue between the service robot and the user.
[0059] In some possible implementations, a target display mode can be determined based on the number of first candidate service identifiers to be displayed, and then the first candidate service identifiers can be displayed based on the target display mode. This allows the display mode to be adjusted based on actual conditions, effectively avoiding operational errors caused by an unreasonable display mode when there are too many first candidate service identifiers.
[0060] The target display mode may include at least one of the following: a target display area, the size of the target display area, the display style of the first candidate service identifier, the number of first candidate service identifiers included in the display interface, etc., which is not limited in this disclosure. Thus, through the use of various display modes, the overall coordination and aesthetics of the interface are improved when displaying the first candidate service identifier results.
[0061] It should be noted that the display style of the first candidate service logo may include font size, etc., which is not limited in this disclosure.
[0062] In some possible implementations, there may be multiple first candidate service identifiers, and the display order of these multiple first candidate service identifiers needs to be sorted. Therefore, the weight of each first candidate service can be determined based on the historical usage information of the user of the storage device. Then, based on the weight of each first candidate service, the display order of the multiple first candidate service identifiers can be determined. Then, the multiple first candidate service identifiers can be displayed based on the display order of the multiple first candidate service identifiers. This allows the user's service preference order to be determined based on the user's historical usage frequency of each service, thereby optimizing the user's usage experience and providing conditions for improving the processing efficiency of multimedia files.
[0063] In the embodiment of the present disclosure, the historical usage of each first candidate service by the user of the storage device is retrieved. The higher the historical usage frequency, the greater the weight of the corresponding first candidate service. Therefore, the associated first candidate service identifiers of each first candidate service can be sorted according to the weight of each first candidate service, and then the first candidate service identifiers can be displayed based on the sorting result.
[0064] Step 104 : When it is detected that the first service identifier is selected, the first multimedia file displayed on the current page is processed based on the first service associated with the first service identifier.
[0065] The first multimedia file may be one or more videos, audios, etc., which is not limited in this disclosure.
[0066] In the embodiment of the present disclosure, the user can click on the first candidate service identifier of the target in the display list of the first candidate service identifier according to his or her own needs, so that the service robot can detect the selected first service identifier and process the first multimedia file displayed on the current page based on the first service associated with the first service identifier.
[0067] In an embodiment of the present disclosure, the result obtained after processing the first multimedia file displayed on the current page can be sent to the user in the dialogue interface in the form of a reply message or file sending, so that the user can obtain the processing result of the first multimedia file.
[0068] For example, Figure 2 This is a schematic diagram of a dialogue interface of the present disclosure. Figure 2 As shown in Figure a, A is the current display page. After the user enters the first identifier " / " in the input box of the dialogue interface with the service robot, the dialogue interface displays a function selector. Since the current display page type is a video playback page, the first candidate service identifier in the function selector can be a file summary generation service, a file segmentation service, or an image generation service. Figure 2 As shown in Figure b, when the user selects the file summary generation service as the first service identifier, the service robot generates a summary of the video file in the current page and sends the generated summary result to the user in the dialogue interface.
[0069] The method for processing multimedia files in a storage device provided by an embodiment of the present disclosure first receives a service request. If the service identifier is not included in the service request, the method determines the type of the page currently displayed in the display interface corresponding to the storage device. Then, based on the page type, the method determines and displays a first candidate service identifier. After that, if it is detected that the first service identifier is selected, the method processes the first multimedia file displayed in the current page based on the first service associated with the first service identifier. Thus, by providing the user with available candidate services based on the type of page displayed on the display interface, and intelligently processing the multimedia files in the storage device page based on the selected service identifier, the method realizes automatic processing of multimedia files, improves the efficiency of file processing, and saves user time.
[0070] Figure 3It is a flowchart of a method for processing multimedia files in a storage device provided according to another embodiment of the present disclosure.
[0071] like Figure 3 As shown, the method for processing multimedia files in the storage device may include:
[0072] Step 301: Receive a service request.
[0073] Step 302: When the service request does not include a service identifier, determine the type of the page currently displayed in the display interface corresponding to the storage device.
[0074] Step 303: Determine and display a first candidate service identifier according to the type of the currently displayed page.
[0075] For the specific implementation of the above steps 301 to 303, please refer to the detailed description of the above embodiments of the present disclosure, which will not be repeated here.
[0076] Step 304: When it is detected that the first service identifier is selected, traverse the files in the storage device based on the first service identifier and the identifier of the first multimedia file.
[0077] In an embodiment of the present disclosure, the storage device may store files generated after historical processing of the first multimedia file in the currently displayed page. Therefore, after determining the first service identifier, the files in the storage device can be traversed to find files associated with the first service identifier and the identifier of the first multimedia file.
[0078] Step 305 : If the storage device does not contain a target file matching the first service identifier and the identifier of the first multimedia file, the first multimedia file displayed on the current page is processed based on the first service associated with the first service identifier.
[0079] The target file refers to a file stored in a storage device and generated after a first service operation associated with a first service identifier is performed on a first multimedia file.
[0080] In some possible implementations, if the storage device contains a target file that matches the first service identifier and the identifier of the first multimedia file, the target file may be displayed on the display interface or dialogue interface. Alternatively, an access link associated with the target file may be displayed on the display interface or dialogue interface, and when the access link is detected to be triggered, the target file may be displayed on the display interface of the storage device. Thus, by displaying the target file or its corresponding access link that matches the first service identifier and the identifier of the first multimedia file on the storage device, the waiting time for online processing of the multimedia file can be reduced, thereby improving the processing efficiency of the multimedia file.
[0081] In the disclosed embodiment, after determining the first service identifier for processing the multimedia file in the currently displayed page, the service robot can first search the storage device to see whether it contains the corresponding historically generated file, and then process the first multimedia file after confirming that it does not contain any file that matches the first service identifier and the identifier of the first multimedia file. This effectively avoids repeated operations on the multimedia file, provides conditions for improving processing efficiency, and saves storage space of the storage device.
[0082] Step 306: Display the target file processed based on the first service in the display interface or the dialogue interface.
[0083] In the embodiment of the present disclosure, the service robot can display the target file generated after the first multimedia file is processed based on the first service in a display interface or a dialogue interface, and send it to the user as the processing result of the first multimedia file, so that the user can obtain the processing result of the multimedia file during the interaction with the service robot, reducing the time for the user to obtain the processing result of the multimedia file.
[0084] In some possible implementation forms, the target file can be associated with the first service identifier and the identifier of the first multimedia file and stored in a storage device, so that when processing the first multimedia file, it can be confirmed in the storage device whether there is a corresponding historically generated file, which provides conditions for avoiding the service robot from repeatedly processing the multimedia file and further improves the processing efficiency of the multimedia file.
[0085] Step 307: When an editing instruction for the target file is received, the target file is updated based on the editing instruction.
[0086] In the disclosed embodiment, the user can adjust the intelligently generated target file as needed. When the user clicks the editing control in the interface where the target file is located, the service robot can receive the corresponding editing instructions for the target file, and update the target file based on the instructions.
[0087] It should be noted that in the present disclosure, it is possible to edit the target file historically generated in the storage device, or to edit the target file generated by processing the first multimedia file displayed on the current page based on the first service associated with the first service identifier. The present disclosure does not limit this.
[0088] Step 308: associate the updated file with the first service identifier and the identifier of the first multimedia file and store them in a storage device.
[0089] In the embodiment of the present disclosure, the target file generated by intelligent processing can be adjusted according to user needs, and the updated target file can be associated with its corresponding identifier and stored in the storage device, so that the processing results of the multimedia file can better meet user needs, further optimize the user experience of the storage device in processing multimedia files, and improve the reliability of the storage device storing files as multimedia file processing results.
[0090] In this embodiment, a service request is first received. If the service request does not include a service identifier, the type of the page currently displayed on the display interface corresponding to the storage device is determined. Then, based on the type of the currently displayed page, a first candidate service identifier is determined and displayed. Then, if the first service identifier is detected to be selected, the files in the storage device are traversed based on the first service identifier and the identifier of the first multimedia file. If the storage device does not contain a target file that matches the first service identifier and the identifier of the first multimedia file, the first multimedia file displayed on the current page is processed based on the first service associated with the first service identifier. The target file processed based on the first service is then displayed on the display interface or the dialogue interface. Then, if an edit instruction for the target file is received, the target file is updated based on the edit instruction and the updated file is associated with the first service identifier and the identifier of the first multimedia file and stored in the storage device. Thus, by checking whether the file in the storage device matches the first service identifier and the identifier of the first multimedia file, the target file after the first multimedia file processing is obtained based on the matching result, and the editing of the target file and the update of the stored associated identifier are realized, thereby improving the efficiency of file processing and optimizing the user experience of the storage device.
[0091] Figure 4 It is a flowchart of a method for processing multimedia files in a storage device provided according to another embodiment of the present disclosure.
[0092] like Figure 4 As shown, the method for processing multimedia files in the storage device may include:
[0093] Step 401: When it is detected that the storage service of the storage device is called, a second multimedia file newly stored in the storage device is obtained.
[0094] In the present disclosure, in order to reduce the waiting time for online processing of multimedia files, the file can be processed when the user stores the new multimedia file in the storage device.
[0095] Step 402: Determine the type of the second multimedia file.
[0096] The type of the second multimedia file may be video, audio, etc., which is not limited in the present disclosure.
[0097] Step 403: Process the second multimedia file based on the service associated with the type of the second multimedia file, and obtain a corresponding processing result file.
[0098] In the embodiment of the present disclosure, a history of services provided for different types of multimedia files may be obtained to determine the service associated with the type of the second multimedia file. Alternatively, the service associated with the type of the second multimedia file may be determined based on an association between file types and services preset in the service robot.
[0099] In the embodiment of the present disclosure, the second multimedia file may be associated with multiple services. In this case, the second multimedia file may be processed separately based on each service to obtain corresponding multiple processing result files.
[0100] Step 404: associate the processing result file with the associated service identifier and the identifier of the second multimedia file and store them in a storage device.
[0101] For the specific implementation of the above step 404, please refer to the detailed description of the above embodiment of the present disclosure, which will not be repeated here.
[0102] Step 405: When a display request for the second multimedia file is received, the second multimedia file and the file identifier of the processing result file associated with the identifier of the second multimedia file are obtained.
[0103] The file identifier may be a file title, abstract, link, etc., which is not limited in this disclosure.
[0104] In an embodiment of the present disclosure, when a user clicks on a second multimedia file stored in a storage device, a request to display the second multimedia file may be received. Alternatively, the user may send a message such as "Play XXX multimedia file" on the dialogue interface, and the service robot may receive a request to display the second multimedia file, etc., which is not limited in the present disclosure.
[0105] Step 406: Display the second multimedia file in the first area of the display interface, and display the file identifier of the processing result file in the second area of the display interface.
[0106] For example, Figure 5 This is a schematic diagram of a display interface of the present disclosure, such as Figure 5As shown, B is the first area and C is the second area. Based on a display request sent by a user, the corresponding second multimedia file is displayed in the first area. Simultaneously, each processing result file for the second multimedia file stored in the storage device is obtained and its file identifier is displayed in the second area. These identifiers may be file identifier 1, file identifier 2, file identifier 3, etc. The number of file identifiers displayed may not be fixed and may be determined based on user needs or the number of services associated with the type of the second multimedia file. This is not limited in this disclosure.
[0107] In this embodiment, first, when it is detected that the storage service of the storage device has been called, a second multimedia file newly stored in the storage device is obtained, then the type of the second multimedia file is determined, and based on the service associated with the type of the second multimedia file, the second multimedia file is processed to obtain a corresponding processing result file, and then the processing result file is associated with the associated service identifier and the identifier of the second multimedia file and stored in the storage device, and then, when a display request for the second multimedia file is received, the second multimedia file and the file identifier of the processing result file associated with the identifier of the second multimedia file are obtained, the second multimedia file is displayed in the first area of the display interface, and the file identifier of the processing result file is displayed in the second area of the display interface. Thus, by processing the new multimedia file in advance according to its type, conditions are provided for reducing the waiting time for online processing of multimedia files, and when a display request is received, the processing result file of the corresponding multimedia file is directly obtained and displayed in the storage device, further improving the processing efficiency of multimedia files and saving user time.
[0108] Figure 6 It is a flowchart of a method for processing multimedia files in a storage device provided according to another embodiment of the present disclosure.
[0109] like Figure 6 As shown, the method for processing multimedia files in the storage device may include:
[0110] Step 601: When it is detected that a third multimedia file is selected, the number of second identifiers included in a preset input box is determined.
[0111] The second identifier refers to a symbol that can be used to call a file selector in a display interface or a dialogue interface. For example, the second identifier can be “+” or “@”.
[0112] In the present disclosure, a user can select another multimedia file by entering a second identifier in an input box in the dialogue interface based on having selected at least one multimedia file, thereby realizing joint processing of multiple multimedia files, such as merging multiple multimedia files.
[0113] Since the service for processing a single multimedia file may be different from the service for jointly processing multiple multimedia files, in order to provide candidate services to users more accurately, the service robot in the present disclosure can detect the number of second identifiers contained in the input box every time it detects that a third multimedia file is selected.
[0114] Step 602: Determine and display a second candidate service identifier based on the number of second identifiers and the type of the third multimedia file.
[0115] In an embodiment of the present disclosure, an optional second candidate service identifier can be first determined based on the number of second identifiers. For example, when the number of second identifiers is greater than 2, the service corresponding to the second candidate service identifier should meet the condition that it can process multiple multimedia files. Then, based on the type of the selected third multimedia file, such as video, audio, text, etc., the second candidate service identifier is determined. Alternatively, it is also possible to first screen based on the type of the third multimedia file, and then screen again based on the number of second identifiers to determine the identifier of the second candidate service, which is not limited in the present disclosure.
[0116] Step 603: When it is detected that the second service identifier is selected, the third multimedia file and the remaining selected multimedia files are processed based on the second service associated with the second service identifier.
[0117] It should be noted that after the service robot determines and displays the second candidate service identifier, the user may continue to enter other identifiers in the input box, such as the second identifier, to select a multimedia file, etc., without selecting a service. The service robot may then continue to recommend candidate files or services based on the user's input, and this disclosure does not limit this.
[0118] For the specific implementation of the above step 603, please refer to the detailed description of any of the above embodiments of the present disclosure, which will not be repeated here.
[0119] For example, Figure 7 This is a schematic diagram of a dialogue interface of the present disclosure, and the second identifier is "+". Figure 7As shown, if "+XXX" has been entered in the input box of the dialogue interface, and the user enters a second identifier "+", the service robot can display a file selector on the dialogue interface, where the file selector includes file identifiers corresponding to multiple multimedia files in the current storage device space. At this time, if the user selects "XXX" in the file selector as the third multimedia file, the service robot can determine that the number of second identifiers "+" contained in the input box is 2, and thus display second candidate service identifiers associated with the "two" "+"s and "XXX" or "XXX" in the function selector, such as "PDF file merging service" or "Word file comparison service". If the user selects a second service, the service robot processes the multiple multimedia files based on the second service associated with the selected second service identifier.
[0120] Among them, it should be noted that Figure 7 Only some multimedia file identifiers are exemplified. Correspondingly, the multimedia file identifiers can also be viewed by sliding down the interface corresponding to the document selector, or a sliding bar is displayed on the document selector, and other multimedia file identifiers in the document selector can be viewed by operating the sliding bar. This implementation does not make specific limitations on this.
[0121] In this embodiment, when a third multimedia file is detected to be selected, the number of second identifiers contained in a preset input box is first determined. Then, based on the number of second identifiers and the type of the third multimedia file, a second candidate service identifier is determined and displayed. Then, when the second service identifier is detected to be selected, the third multimedia file and the remaining selected multimedia files are processed based on the second service associated with the second service identifier. In this way, multiple multimedia files stored in a storage device can be jointly processed, further enriching the diversity of multimedia file processing.
[0122] Figure 8 It is a flowchart of a method for processing multimedia files in a storage device provided according to another embodiment of the present disclosure.
[0123] like Figure 8 As shown, the method for processing multimedia files in the storage device may include:
[0124] Step 801: Receive a multimedia file generation request, wherein the generation request includes reference information and the type of the target multimedia file.
[0125] The multimedia file generation request may be a request for generating an image or a text file, so as to determine the type of the target multimedia file. The reference information may be a keyword or a description of the image, etc. This disclosure does not limit this.
[0126] In the disclosed embodiment, the user can send a conversation content to the service robot in the conversation interface, such as "help me generate an XX picture", so that the service robot can receive the multimedia file generation request.
[0127] Step 802: Determine a multimedia file of the same type as the target multimedia file stored in the storage device as a reference multimedia file.
[0128] For example, when the target multimedia file in the request is a landscape image, the service robot may first retrieve a landscape image stored in a storage device as a style reference for multimedia file generation, etc., though this disclosure is not limited to this. By determining the multimedia reference file, conditions can be provided for generating a multimedia file that better suits the user's style preferences, thereby improving the efficiency of multimedia file generation.
[0129] Step 803: Generate a multimedia file corresponding to the type of the target multimedia file based on the reference multimedia file and the reference information.
[0130] In the embodiment of the present disclosure, a generation model preset in the service robot can be called according to the reference multimedia file and reference information to obtain a multimedia file corresponding to the type of the target multimedia file.
[0131] For example, Figure 9 As shown, Figure 9 This is a schematic diagram of a dialogue interface of the present invention. The user sends "Help me generate a landscape picture" to the service robot in the dialogue interface, so that the service robot can receive the user's generation request, and extract the reference information in the content as "landscape", and the type of the target multimedia file is "landscape picture", and then use the multimedia file of the same type as the target multimedia file stored in the storage device as a reference to generate a multimedia file corresponding to the type of the target multimedia file, and send the generated result to the user in the dialogue interface.
[0132] Referring to the above example, when generating a landscape image, the service robot can also generate a new landscape image based on the content of the landscape images already stored by the user in the storage device. For example, if the landscape images stored by the user are mostly spring images, the service robot can generate a new spring-related image as a generated result and send it to the user. Alternatively, if the landscape images stored by the user are mostly images of flowers and plants, the service robot can generate a landscape image related to flowers and plants as a generated result and send it to the user.
[0133] In this embodiment, a multimedia file generation request is first received, wherein the generation request includes reference information and the type of the target multimedia file. A multimedia file of the same type as the target multimedia file stored in the storage device is then identified as a reference multimedia file. Then, based on the reference multimedia file and the reference information, a multimedia file corresponding to the type of the target multimedia file is generated. This enables a service robot embedded in a storage device to generate multimedia files, further increasing the functional diversity of the storage device.
[0134] In order to implement the above embodiment, the embodiment of the present disclosure further provides an apparatus for processing multimedia files in a storage device.
[0135] Figure 10 It is a structural diagram of a multimedia file processing device in a storage device provided according to an embodiment of the present disclosure.
[0136] like Figure 10 As shown, the apparatus 1000 for processing multimedia files in the storage device may include: a first receiving module 1001, a first determining module 1002, a first display module 1003 and a first processing module 1004, wherein:
[0137] The first receiving module 1001 is configured to receive a service request.
[0138] The first determining module 1002 is configured to determine the type of the page currently displayed in the display interface corresponding to the storage device when the service request does not include a service identifier.
[0139] The first display module 1003 is configured to determine and display a first candidate service identifier according to the type of the currently displayed page.
[0140] The first processing module 1004 is configured to process the first multimedia file displayed on the current page based on the first service associated with the first service identifier when it is detected that the first service identifier is selected.
[0141] It should be noted that the above explanation of the embodiment of the method for processing multimedia files in a storage device is also applicable to this embodiment, and will not be repeated in this embodiment.
[0142] The method for processing multimedia files in a storage device provided by an embodiment of the present disclosure first receives a service request. If the service request does not include a service identifier, the method determines the type of the page currently displayed in the display interface corresponding to the storage device. Then, based on the page type, a first candidate service identifier is determined and displayed. Then, if the first service identifier is detected to be selected, the method processes the first multimedia file displayed on the current page based on the first service associated with the first service identifier. Thus, by providing the user with available candidate services based on the type of page displayed on the display interface, and intelligently processing the multimedia files in the storage device page based on the selected service identifier, automatic processing of multimedia files is achieved, improving file processing efficiency and saving user time.
[0143] In some embodiments of the present disclosure, Figure 11 FIG. 1 is a structural diagram of a device for processing multimedia files in a storage device according to another embodiment of the present disclosure. Figure 11 As shown, the apparatus 1200 for processing multimedia files in the storage device may include: a first receiving module 1101, a first determining module 1102, a first display module 1103, a first processing module 1104, a first obtaining module 1105, a second determining module 1106, a second processing module 1107, a storage module 1108, a second obtaining module 1109, a second display module 1110, a third determining module 1111, a fourth determining module 1112, a third processing module 1113, a second receiving module 1114, a fifth determining module 1115, and a generating module 1116. The first display module 1103 includes: a first determining unit 11031, a first display unit 11032, a second determining unit 11033, a third determining unit 11034, and a second display unit 11035. The first processing module 1104 includes: an updating unit 11041 and a storage unit 11042.
[0144] In some embodiments of the present disclosure, the first receiving module 1101 is specifically configured to:
[0145] In the case where it is detected that a preset control in the display interface corresponding to the storage device is triggered, it is determined that a service request is received; or,
[0146] In the case where the first identifier is received through the preset input box, it is determined that the service request is received; or,
[0147] In a case where the received input data includes preset characters, it is determined that the service request is received, wherein the input data is text data or audio data.
[0148] In some embodiments of the present disclosure, the type of the page is any one of the following: a video playback page, an audio playback page, a file display page, and a multimedia file list page.
[0149] In some embodiments of the present disclosure, the first receiving module 1101 is specifically configured to: display the first candidate service identifier in the dialogue interface; or,
[0150] The first candidate service identifier is displayed in a preset pop-up window, wherein the display layer where the pop-up window is located is above the display layer where the display interface is located.
[0151] In some embodiments of the present disclosure, the first display module 1103 includes:
[0152] The first determining unit 11031 is configured to determine a target display mode according to the number of first candidate service identifiers to be displayed;
[0153] The first display unit 11032 is configured to display the first candidate service identifier based on the target display mode.
[0154] In some embodiments of the present disclosure, the target display mode includes at least one of the following: a target display area, a size of the target display area, a display style of the first candidate service identifier, and the number of first candidate service identifiers included in the display interface.
[0155] In some embodiments of the present disclosure, the first display module 1103 includes:
[0156] The second determining unit 11033 is configured to determine a weight of each first candidate service based on historical usage information of a user belonging to the storage device;
[0157] The third determining unit 11034 is configured to determine a display order of the plurality of first candidate service identifiers based on the weight of each first candidate service;
[0158] The second display unit 11035 is configured to display the multiple first candidate service identifiers according to the display order of the multiple first candidate service identifiers.
[0159] In some embodiments of the present disclosure, the first processing module 1104 is specifically configured to:
[0160] Traversing files in the storage device based on the first service identifier and the identifier of the first multimedia file;
[0161] When the storage device does not contain a target file matching the first service identifier and the identifier of the first multimedia file, the first multimedia file displayed on the current page is processed based on the first service associated with the first service identifier.
[0162] In some embodiments of the present disclosure, the first processing module 1104 is specifically configured to:
[0163] The target file processed based on the first service is displayed in the display interface or the dialogue interface.
[0164] In some embodiments of the present disclosure, the first processing module 1104 is specifically configured to:
[0165] The target file is associated with the first service identifier and the identifier of the first multimedia file and stored in a storage device.
[0166] In some embodiments of the present disclosure, the first processing module 1104 is specifically configured to:
[0167] When the storage device contains a target file that matches the first service identifier and the identifier of the first multimedia file, the target file is displayed in the display interface or the dialogue interface, or an access link associated with the target file is displayed in the display interface or the dialogue interface.
[0168] In some embodiments of the present disclosure, the first processing module 1104 includes:
[0169] An updating unit 11041 is configured to update the target file based on the editing instruction received for the target file;
[0170] The storage unit 11042 is configured to associate the updated file with the first service identifier and the identifier of the first multimedia file and store them in a storage device.
[0171] In some embodiments of the present disclosure, the apparatus further comprises:
[0172] The first acquisition module 1105 is configured to acquire a second multimedia file newly stored in the storage device when detecting that the storage service of the storage device is called;
[0173] A second determining module 1106 determines the type of the second multimedia file;
[0174] A second processing module 1107 is configured to process the second multimedia file based on a service associated with the type of the second multimedia file and obtain a corresponding processing result file;
[0175] The storage module 1108 is configured to associate the processing result file with the associated service identifier and the identifier of the second multimedia file and store them in a storage device.
[0176] In some embodiments of the present disclosure, the apparatus further comprises:
[0177] A second obtaining module 1109 is configured to obtain, upon receiving a display request for a second multimedia file, the second multimedia file and a file identifier of a processing result file associated with the identifier of the second multimedia file;
[0178] The second display module 1110 is configured to display the second multimedia file in the first area of the display interface and to display a file identifier of the processing result file in the second area of the display interface.
[0179] In some embodiments of the present disclosure, the apparatus further comprises:
[0180] A third determining module 1111 is configured to determine the number of second identifiers included in a preset input box when detecting that a third multimedia file is selected;
[0181] a fourth determining module 1112, configured to determine and display a second candidate service identifier according to the number of second identifiers and the type of the third multimedia file;
[0182] The third processing module 1113 is configured to process the third multimedia file and the remaining selected multimedia files based on the second service associated with the second service identifier when it is detected that the second service identifier is selected.
[0183] In some embodiments of the present disclosure, the apparatus further comprises:
[0184] The second receiving module 1114 is configured to receive a multimedia file generation request, wherein the generation request includes reference information and a type of a target multimedia file;
[0185] A fifth determining module 1115 is configured to determine a multimedia file of the same type as the target multimedia file stored in the storage device as a reference multimedia file;
[0186] The generating module 1116 is configured to generate a multimedia file corresponding to the type of the target multimedia file based on the reference multimedia file and the reference information.
[0187] In some embodiments of the present disclosure, the first candidate service identifier includes at least one of the following: a file summary generation service, a file rewriting service, a file summarization service, a file segmentation service, a file key information location service, an image generation service, a multi-file fusion service, a file type conversion service, a file search service, and a file knowledge point extraction service.
[0188] It is understandable that the present embodiment Figure 11The processing device 1100 of multimedia files in the storage device in the embodiment may have the same function and structure as the processing device 1000 of multimedia files in the storage device in the above embodiment, the first receiving module 1101 may have the same function and structure as the first receiving module 1001 in the above embodiment, the first determining module 1102 may have the same function and structure as the first determining module 1002 in the above embodiment, the first display module 1103 may have the same function and structure as the first display module 1003 in the above embodiment, and the first processing module 1104 may have the same function and structure as the first processing module 1004 in the above embodiment.
[0189] It should be noted that the above explanation of the embodiment of the method for processing multimedia files in a storage device is also applicable to the apparatus for processing multimedia files in a storage device in this embodiment, and will not be repeated here.
[0190] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.
[0191] Figure 12 A schematic block diagram of an example electronic device 1200 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are provided as examples only and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0192] like Figure 12 As shown, the electronic device 1200 may include a computing unit 1201, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1202 or a computer program loaded from a storage unit 1208 into a random access memory (RAM) 1203. Various programs and data required for the operation of the device 1200 may also be stored in the RAM 1203. The computing unit 1201, the ROM 1202, and the RAM 1203 are connected to each other via a bus 1204. An input / output (I / O) interface 1205 is also connected to the bus 1204.
[0193] Various components in device 1200 are connected to I / O interface 1205, including an input unit 1206, such as a keyboard and mouse; an output unit 1207, such as various types of displays and speakers; a storage unit 1208, such as a magnetic disk and optical disk; and a communication unit 1209, such as a network card, a modem, a wireless communication transceiver, etc. Communication unit 1209 allows device 1200 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0194] The computing unit 1201 can be a variety of general-purpose and / or specialized processing components with processing and computing capabilities. Some examples of the computing unit 1201 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units that run machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 1201 performs the various methods and processes described above, such as the method for processing multimedia files in a storage device. For example, in some embodiments, the method for processing multimedia files in a storage device can be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as the storage unit 1208. In some embodiments, part or all of the computer program can be loaded and / or installed on the device 1200 via the ROM 1202 and / or the communication unit 1209. When the computer program is loaded into the RAM 1203 and executed by the computing unit 1201, one or more steps of the method for processing multimedia files in a storage device described above can be performed. Alternatively, in other embodiments, the computing unit 1201 may be configured to execute the method for processing multimedia files in the storage device in any other appropriate manner (for example, by means of firmware).
[0195] Various embodiments of the devices and techniques described above herein can be implemented in digital electronic circuit devices, integrated circuit devices, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), devices on a chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable device that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage device, at least one input device, and at least one output device, and transmit data and instructions to the storage device, the at least one input device, and the at least one output device.
[0196] The program code for implementing the method of the present disclosure can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device so that when the program code is executed by the processor or controller, the functions / operations specified in the flow chart and / or block diagram are implemented. The program code can be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0197] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use with an instruction execution device, device or equipment or used in combination with an instruction execution device, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared or semiconductor devices, devices or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0198] To provide interaction with a user, the devices and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0199] The apparatus and techniques described herein can be implemented in a computing device that includes backend components (e.g., as a data server), or a computing device that includes middleware components (e.g., an application server), or a computing device that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the apparatus and techniques described herein), or a computing device that includes any combination of such backend components, middleware components, or front-end components. The components of the apparatus can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), the Internet, and a blockchain network.
[0200] A computer device may include a client and a server. The client and server are generally remote from each other and typically interact via a communication network. The client-server relationship is established by computer programs running on the respective computers and establishing a client-server relationship with each other. The server may be a cloud server, also known as a cloud service server or cloud host, a host product within a cloud service ecosystem that addresses the management difficulties and poor scalability of traditional physical hosts and VPS services ("Virtual Private Servers" or "VPS"). The server may be a cloud server, a distributed device server, or a server integrated with blockchain.
[0201] It's important to note that artificial intelligence (AI) is the study of how computers can simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, and planning). This encompasses both hardware and software technologies. AI hardware technologies generally include sensors, specialized AI chips, cloud services, distributed storage, and big data processing. AI software technologies primarily encompass computer vision, speech recognition, natural language processing, machine learning / deep learning, big data processing, and knowledge graphs.
[0202] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this disclosure can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved. This is not a limitation herein.
[0203] The above specific embodiments do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure shall be included within the scope of protection of this disclosure.
Claims
1. A method for processing multimedia files in a storage device, comprising: Receive service requests; In a case where the service request does not include a service identifier, determining the type of a page currently displayed in a display interface corresponding to the storage device, wherein the type of the page is any one of the following: a video playback page, an audio playback page, a file display page, and a multimedia file list page; Determine and display a first candidate service identifier according to the type of the currently displayed page, wherein the first candidate service identifier refers to one or more service identifiers in different types of displayed pages; When detecting that the first service identifier is selected, processing the first multimedia file displayed on the current page based on the first service associated with the first service identifier; There are multiple first candidate service identifiers, and displaying the first candidate service identifiers includes: Determining a weight of each first candidate service based on historical usage information of a user of the storage device; determining a display order of the plurality of first candidate service identifiers based on a weight of each of the first candidate services; displaying the plurality of first candidate service identifiers according to the display order of the plurality of first candidate service identifiers; The processing of the first multimedia file displayed on the current page based on the first service associated with the first service identifier includes: Traversing the files in the storage device based on the first service identifier and the identifier of the first multimedia file; If the storage device does not contain a target file that matches the first service identifier and the identifier of the first multimedia file, processing the first multimedia file displayed on the current page based on the first service associated with the first service identifier, wherein the target file is a file stored in the storage device and generated by a previous operation on the first multimedia file using the first service associated with the first service identifier; The displaying of the first candidate service identifier includes: The first candidate service identifier is displayed in a dialogue interface, wherein the dialogue interface refers to an interface used during a dialogue between a service robot and a user.
2. The method according to claim 1, wherein The receiving of the service request comprises: In the case where it is monitored that a preset control in the display interface corresponding to the storage device is triggered, determining that the service request is received; or, In the case where the first identifier is received through the preset input box, it is determined that the service request is received; or, In a case where the received input data includes preset characters, it is determined that the service request is received, wherein the input data is text data or audio data.
3. The method according to claim 1, wherein The displaying of the first candidate service identifier includes: The first candidate service identifier is displayed in a preset pop-up window, wherein a display layer where the pop-up display window is located is above a display layer where the display interface is located.
4. The method according to claim 3, wherein: The displaying of the first candidate service identifier includes: determining a target display mode according to the number of first candidate service identifiers to be displayed; Based on the target display mode, the first candidate service identifier is displayed.
5. The method according to claim 4, wherein: The target display mode includes at least one of the following: a target display area, a size of the target display area, a display style of the first candidate service identifier, and the number of the first candidate service identifiers included in the display interface.
6. The method of claim 1, wherein: After the first service associated with the first service identifier processes the first multimedia file displayed on the current page, the method further includes: The target file processed based on the first service is displayed in the display interface or the dialogue interface.
7. The method according to claim 6, wherein: After the first service associated with the first service identifier processes the first multimedia file displayed on the current page, the method further includes: The target file is associated with the first service identifier and the identifier of the first multimedia file and stored in the storage device.
8. The method of claim 1, wherein: After traversing the files in the storage device, the method further includes: When the storage device contains a target file that matches the first service identifier and the identifier of the first multimedia file, the target file is displayed in the display interface or the dialogue interface, or an access link associated with the target file is displayed in the display interface or the dialogue interface.
9. The method according to claim 6 or 8, wherein After displaying the target file, the method further includes: When receiving an editing instruction for the target file, updating the target file based on the editing instruction; The updated file is associated with the first service identifier and the identifier of the first multimedia file and stored in the storage device.
10. The method of claim 1, wherein: Also includes: When monitoring that a storage service of the storage device is called, obtaining a second multimedia file newly stored in the storage device; determining a type of the second multimedia file; processing the second multimedia file based on a service associated with the type of the second multimedia file, Get the corresponding processing result file; The processing result file is associated with the associated service identifier and the identifier of the second multimedia file and stored in the storage device.
11. The method according to claim 10, wherein: Also includes: When a display request for the second multimedia file is received, obtaining the second multimedia file and a file identifier of a processing result file associated with the identifier of the second multimedia file; The second multimedia file is displayed in the first area of the display interface, and the file identifier of the processing result file is displayed in the second area of the display interface.
12. The method according to any one of claims 1 to 5, wherein: Also includes: In a case where it is detected that the third multimedia file is selected, determining the number of second identifiers included in the preset input box; determining and displaying a second candidate service identifier according to the number of the second identifiers and the type of the third multimedia file; When it is detected that the second service identifier is selected, the third multimedia file and the remaining selected multimedia files are processed based on the second service associated with the second service identifier.
13. The method according to any one of claims 1 to 5, wherein: Also includes: receiving a multimedia file generation request, wherein the generation request includes reference information and a type of a target multimedia file; determining a multimedia file of the same type as the target multimedia file stored in the storage device as a reference multimedia file; A multimedia file corresponding to the type of the target multimedia file is generated based on the reference multimedia file and the reference information.
14. The method according to any one of claims 1 to 5, wherein: The first candidate service identifier includes at least one of the following: file summary generation service, file rewriting service, file summarization service, file segmentation service, file key information positioning service, image generation service, multi-file fusion service, file type conversion service, file search service and file knowledge point extraction service.
15. A device for processing multimedia files in a storage device, comprising: A first receiving module, configured to receive a service request; a first determining module, configured to determine, when the service request does not include a service identifier, a type of a page currently displayed in a display interface corresponding to the storage device, wherein the type of the page is any one of the following: a video playback page, an audio playback page, a file display page, and a multimedia file list page; a first display module, configured to determine and display a first candidate service identifier according to the type of the currently displayed page, wherein the first candidate service identifier refers to one or more service identifiers in different types of display pages; a first processing module configured to, when detecting that a first service identifier is selected, process the first multimedia file displayed on the current page based on the first service associated with the first service identifier; There are multiple first candidate service identifiers, and the first display module includes: a second determining unit, configured to determine a weight of each first candidate service based on historical usage information of a user belonging to the storage device; a third determining unit, configured to determine a display order of the plurality of first candidate service identifiers based on a weight of each of the first candidate services; a second display unit, configured to display the plurality of first candidate service identifiers according to a display order of the plurality of first candidate service identifiers; Wherein, the first processing module is used to: Traversing the files in the storage device based on the first service identifier and the identifier of the first multimedia file; If the storage device does not contain a target file that matches the first service identifier and the identifier of the first multimedia file, processing the first multimedia file displayed on the current page based on the first service associated with the first service identifier, wherein the target file is a file stored in the storage device and generated by a previous operation on the first multimedia file using the first service associated with the first service identifier; Wherein, the first display module is used for: The first candidate service identifier is displayed in a dialogue interface, wherein the dialogue interface refers to an interface used during a dialogue between a service robot and a user.
16. The apparatus of claim 15, wherein: The first receiving module is configured to: In the case where it is monitored that a preset control in the display interface corresponding to the storage device is triggered, determining that the service request is received; or, In a case where the first identifier is received through the preset input box, determining that the service request is received; or, In a case where the received input data includes preset characters, it is determined that the service request is received, wherein the input data is text data or audio data.
17. The apparatus of claim 15, wherein: The first display module is used to: The first candidate service identifier is displayed in a preset pop-up window, wherein a display layer where the pop-up display window is located is above a display layer where the display interface is located.
18. The apparatus of claim 17, wherein: The first display module includes: a first determining unit, configured to determine a target display mode according to the number of first candidate service identifiers to be displayed; The first display unit is configured to display the first candidate service identifier based on the target display mode.
19. The apparatus of claim 18, wherein: The target display mode includes at least one of the following: a target display area, a size of the target display area, a display style of the first candidate service identifier, and the number of the first candidate service identifiers included in the display interface.
20. The apparatus of claim 15, wherein: The first processing module is further configured to: The target file processed based on the first service is displayed in the display interface or the dialogue interface.
21. The apparatus of claim 20, wherein: The first processing module is further configured to: The target file is associated with the first service identifier and the identifier of the first multimedia file and stored in the storage device.
22. The apparatus of claim 15, wherein: The first processing module is further configured to: When the storage device contains a target file that matches the first service identifier and the identifier of the first multimedia file, the target file is displayed in the display interface or the dialogue interface, or an access link associated with the target file is displayed in the display interface or the dialogue interface.
23. The device according to claim 20 or 22, wherein The first processing module includes: a first updating unit, configured to update the target file based on an editing instruction received for the target file; The first storage unit is configured to associate the updated file with the first service identifier and the identifier of the first multimedia file and store them in the storage device.
24. The apparatus of claim 15, wherein: Also includes: A first acquisition module is configured to acquire a second multimedia file newly stored in the storage device when detecting that a storage service of the storage device is called; a second determining module, determining a type of the second multimedia file; a second processing module, configured to process the second multimedia file based on a service associated with the type of the second multimedia file and obtain a corresponding processing result file; The storage module is used to associate the processing result file with the associated service identifier and the identifier of the second multimedia file and store them in the storage device.
25. The apparatus of claim 24, wherein: Also includes: a second obtaining module configured to, upon receiving a display request for the second multimedia file, obtain the second multimedia file and a file identifier of a processing result file associated with the identifier of the second multimedia file; The second display module is configured to display the second multimedia file in the first area of the display interface and to display a file identifier of the processing result file in the second area of the display interface.
26. The device according to any one of claims 15 to 19, wherein: Also includes: a third determining module, configured to determine the number of second identifiers contained in the preset input box when detecting that the third multimedia file is selected; a fourth determining module, configured to determine and display a second candidate service identifier according to the number of the second identifiers and the type of the third multimedia file; The third processing module is configured to process the third multimedia file and the remaining selected multimedia files based on the second service associated with the second service identifier when it is detected that the second service identifier is selected.
27. The device according to any one of claims 15 to 19, wherein: Also includes: A second receiving module is configured to receive a multimedia file generation request, wherein the generation request includes reference information and a type of a target multimedia file; a fifth determining module, configured to determine a multimedia file of the same type as the target multimedia file stored in the storage device as a reference multimedia file; A generating module is configured to generate a multimedia file corresponding to the type of the target multimedia file based on the reference multimedia file and the reference information.
28. The device according to any one of claims 15 to 19, wherein: The first candidate service identifier includes at least one of the following: file summary generation service, file rewriting service, file summarization service, file segmentation service, file key information positioning service, image generation service, multi-file fusion service, file type conversion service, file search service and file knowledge point extraction service.
29. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions to be executed by the at least one processor, where the instructions are executed by the at least one processor so as to enable the at least one processor to perform the method according to any one of claims 1 to 14.
30. A non-transitory computer-readable storage medium storing computer instructions, the computer instructions being configured to cause the computer to execute the method of any one of claims 1 to 14.
31. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 14 is implemented.
Citation Information
Patent Citations
File merging method, file opening method and related equipment
CN109933569A
Data operation method and device and computer readable storage medium
CN110262716A
Search recommendation method and device
CN110929139A
Function menu display method and device, electronic equipment and storage medium
CN113391739A