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

Through electronic devices, searching and editing based on file parameter information, the problem of low accuracy in traditional file search methods is solved, and efficient file search and editing driven by parameter information is realized.

CN120276635APending Publication Date: 2025-07-08VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510419065.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-03
Publication Date
2025-07-08

AI Technical Summary

Technical Problem

Traditional file search methods make it difficult to quickly and accurately find the required photos in a large number of photos, resulting in low accuracy in search results.

Method used

By searching based on file parameter information, the electronic device displays a file whose similarity to the target file parameter information is greater than a preset threshold in response to user input, and can edit and parameter adjustment.

Benefits of technology

It improves the accuracy of file search results, meets users' search needs based on parameter information, and realizes file search and editing across devices and across applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120276635A_ABST
    Figure CN120276635A_ABST
Patent Text Reader

Abstract

The invention discloses a file processing method and device, electronic equipment and a readable storage medium, and belongs to the technical field of electronic equipment. The file processing method comprises the following steps: receiving a first input of a first file; in response to the first input, displaying at least one second file based on first parameter information of the first file; wherein the similarity between the second parameter information of the at least one second file and the first parameter information is greater than a preset threshold value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the technical field of electronic devices, and particularly relates to a file processing method, apparatus, electronic device, and readable storage medium. Background Art

[0002] In daily life, electronic devices usually store a large number of files. Taking photos as an example, due to people taking photos frequently, the number of photos accumulated over a long time is huge. A large number of taken photos are likely to become messy over time. In such an information overload era, even carefully taken photos may be buried in the photo album due to the large quantity.

[0003] In the related art, users can usually search for the required photos based on the shooting date, location, or file name of the photos. However, due to the huge number of photos and the limitations of people's memory, the traditional search method makes it impossible for users to quickly and accurately find the required photos, thus failing to meet the users' search needs for photos. Summary of the Invention

[0004] The purpose of the embodiments of this application is to provide a file processing method, apparatus, electronic device, and readable storage medium, which can solve the problem of low accuracy of search results in the traditional file search method.

[0005] In a first aspect, the embodiments of this application provide a file processing method, including:

[0006] Receiving a first input for a first file;

[0007] In response to the first input, displaying at least one second file based on the first parameter information of the first file;

[0008] Wherein, the similarity between the second parameter information of at least one second file and the first parameter information is greater than a preset threshold.

[0009] In a second aspect, the embodiments of this application provide a file processing apparatus, including:

[0010] A receiving unit, configured to receive a first input for a first file;

[0011] A display unit, configured to display at least one second file based on the first parameter information of the first file in response to the first input;

[0012] Wherein, the similarity between the second parameter information of at least one second file and the first parameter information is greater than a preset threshold.

[0013] In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory. The memory stores a program or instructions that can be run on the processor. When the program or instructions are executed by the processor, the steps of the method in the first aspect are implemented.

[0014] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instructions are stored. When the program or instructions are executed by a processor, the steps of the method in the first aspect are implemented.

[0015] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor, and the processor is used to run a program or instructions to implement the steps of the method in the first aspect.

[0016] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a readable storage medium and is executed by at least one processor to implement the method in the first aspect.

[0017] The embodiment of the present application can implement finding a second file based on the first parameter information of the first file, and the similarity between the second parameter information of the second file and the first parameter information of the first file is greater than a preset threshold. Furthermore, it can implement finding a second file with the same or similar first parameter information based on the first file, and then display the second file. Thus, it can meet the user's need to search for files based on the parameter information of the files. Compared with the traditional search methods based on the creation date, location, or file name of the files, it can provide a search method based on parameter information for the user and improve the accuracy of the file search results. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 The flowchart of the file processing method according to the embodiment of the present application is shown;

[0019] Figure 2 The schematic diagram of the interface of the file processing method according to the embodiment of the present application is shown;

[0020] Figure 3 The schematic diagram of the interface of the file processing method according to the embodiment of the present application is shown;

[0021] Figure 4 The schematic diagram of the interface of the file processing method according to the embodiment of the present application is shown;

[0022] Figure 5 The schematic diagram of the interface of the file processing method according to the embodiment of the present application is shown;

[0023] Figure 6 The schematic diagram of the interface of the file processing method according to the embodiment of the present application is shown;

[0024] Figure 7 Shows the structural block diagram of the document processing device according to an embodiment of the present application;

[0025] Figure 8 Shows the structural block diagram of the electronic device according to an embodiment of the present application;

[0026] Figure 9 It is a schematic diagram of the hardware structure of an electronic device for implementing an embodiment of the present application. Detailed implementation manners

[0027] Next, the technical solutions in the embodiments of the present application will be clearly described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art belong to the scope of protection of the present application.

[0028] The terms "first", "second", etc. in the specification of the present application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such terms can be interchanged under appropriate circumstances so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. generally belong to the same category, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and / or" in the specification means at least one of the connected objects, and the character " / " generally indicates an "or" relationship between the associated objects before and after.

[0029] Next, in conjunction with the accompanying drawings, through specific embodiments and their application scenarios, the document processing methods, devices, electronic devices, and readable storage media provided by the embodiments of the present application will be described in detail.

[0030] In some embodiments of the present application, a document processing method is provided. Figure 1 Shows the flowchart of the document processing method according to an embodiment of the present application, as Figure 1 shown, the document processing method includes:

[0031] Step 102, receiving a first input for a first document;

[0032] Step 104, in response to the first input, displaying at least one second document based on the first parameter information of the first document;

[0033] Wherein, the second parameter information of at least one second document has a similarity greater than a preset threshold with the first parameter information.

[0034] In an embodiment of the present application, the file processing method can be used in an electronic device. Specifically, during the process of a user using the electronic device, for example, when the user is browsing a social platform or other software, the user can operate on the currently displayed file, that is, perform a first input on the first file. At this time, the electronic device can respond to the first input on the first file and obtain the first parameter information corresponding to the first file.

[0035] Further, the electronic device can search for a second file from multiple files stored in the electronic device itself based on the first parameter information of the first file, where the similarity between the second parameter information of the second file and the first parameter information is greater than a preset threshold. That is, in response to the first input, the electronic device searches for at least one second file that is the same as or similar to the first parameter information of the first file among the multiple files stored in the electronic device according to the first parameter information, and displays at least one second file on the display screen.

[0036] Specifically, the electronic device can respond to the first input, traverse all the second files stored in the electronic device, and extract the second parameter information of each second file. Further, the second parameter information of each second file is compared with the first parameter information of the first file respectively to determine the similarity between each second parameter information and the first parameter information, thereby determining the similarity degree between the second parameter information of each second file and the first parameter information. Furthermore, among all the second files, the second files whose similarity with the first parameter information is greater than the preset threshold are determined. Finally, at least one second file is displayed according to the similarity between each second parameter information and the first parameter information. Specifically, the multiple second files can be sequentially displayed on the display screen in descending order of similarity so that the user can view the multiple second files according to the similarity degree of the parameter information.

[0037] In addition, when displaying at least one second file, it can also be sorted and displayed according to other parameters of the second file. For example, at least one second file can be displayed according to parameters such as the most recent access time and the number of accesses of each second file, so as to further meet the user's viewing requirements for the second file.

[0038] It can be understood that searching for and displaying at least one second file according to the first parameter information can achieve finding a second file that is the same as or similar to the first file based on the first parameter information, and thus can meet the user's need for file search based on parameter information. Compared with the traditional file search method based on the creation date, location, or file name of the file, it can provide a search method based on parameter information for the user and improve the accuracy of the file search results.

[0039] It should be noted that when the electronic device responds to the first input, it can display at least one second file with the same parameter information as the first file, or can also display at least one second file with parameter information different from or similar to that of the first file at the same time, so that the user can screen at least one second file based on the parameter information, further meeting the user's search needs.

[0040] Exemplarily, Figure 2 FIG. 1 shows one of the interface schematic diagrams of the file processing method according to an embodiment of the present application; as Figure 2 shown, taking image search as an example, that is, the first file and the second file are both image files. Correspondingly, the first parameter information and the second parameter information are both the filter parameters of the image. Specifically, during the process of the user browsing the pictures published by friends, multiple first images are displayed on the display screen. The user believes that the filter style of Picture 2 among the multiple first images is what he needs. At this time, the user can perform a first input on Picture 2. When the electronic device responds to the first input, it can parse the filter parameters of Picture 2, and then obtain the first filter parameters of Picture 2. Then, the electronic device can display at least one second image on the display screen, and the similarity between the filter parameters of these second images and the first filter parameters of Picture 2 is greater than a preset threshold. Figure 3 FIG. 2 shows another interface schematic diagram of the file processing method according to an embodiment of the present application; as Figure 3 shown, at least one image can be displayed in the form of a list on the display screen of the electronic device. At the same time, the second images with the same or similar filter parameters as Picture 2 are displayed in the upper half of the display screen, and the second images with different filter parameters from Picture 2 are displayed in the lower half of the display screen, and text prompts are used to further facilitate the user to distinguish the searched second images. For example, "photos with the same filter style" and "photos with different filter styles" are used to distinguish multiple searched second images. Among them, Figure 2 the picture in is the picture browsed by the user, Figure 3 the pictures in are the multiple pictures searched according to the pictures browsed by the user.

[0041] The embodiment of the present application can realize finding a second file based on the first parameter information of the first file, and the similarity between the second parameter information of the second file and the first parameter information of the first file is greater than a preset threshold. Furthermore, it can realize finding a second file with the same or similar first parameter information as the first file based on the first file, and then display the second file, thereby meeting the user's need to search for files based on the parameter information of the files. Compared with the traditional search methods based on the creation date, location or file name of the files, it can provide a search method based on parameter information for the user and improve the accuracy of the file search results.

[0042] In some embodiments of the present application, the preset position of the second file includes a first identifier. After displaying at least one second file based on the first parameter information of the first file, the method further includes:

[0043] Receiving a second input to the first identifier;

[0044] In response to the second input, updating the second parameter information of the second file to the first parameter information to obtain a third file.

[0045] In an embodiment of the present application, after displaying at least one second file on the display screen, a first identifier may also be displayed at the preset position of the second file. The user can operate on the first identifier displayed on each second file to edit the second file.

[0046] Specifically, the electronic device receives the second input to the first identifier and, in response to the second input, can update the second parameter information of the second file to the first parameter information, thereby generating a third file. That is, the user can edit the second file to replicate the first parameter information of the first file, thereby editing the selected second file into a third file with the same parameter information as the first file.

[0047] Exemplarily, taking an image file as an example, as Figure 3 shown, a first identifier may be displayed at the preset position of the second image. For example, the first identifier is displayed in the upper right corner of the second image, which can be operated on to update the second filter parameter of the second image to the first filter parameter of the first image, thereby replicating the filter style of the first image to generate a third image. Further, after generating the third image, the third image can also be displayed above the second image, that is, the third image is floatingly displayed above the corresponding second image to facilitate the user to view the third image after replicating the filter style. Among them, Figure 3 the picture 12 in Figure 3 is the second image,

[0048] Further, as Figure 3 shown, when the third image is displayed above the second image, the user can also operate on the third image, so that the electronic device can, in response to the user's operation on the third image, display the second image above the third image. That is, by operating on the third image, the display switching between the third image and its corresponding second image can be achieved, thereby facilitating the user to view the images before and after replicating the filter style. Further, Figure 4 shows the third interface schematic diagram of the file processing method according to the embodiment of the present application; as Figure 4As shown, when the second image is displayed above the third image, the second image can also be operated on to achieve displaying the third image above the second image, so as to realize the switching of the display of the third image and the second image. Among them, Figure 4 Picture 12 in it is the second image, and the picture below the second image is the third image.

[0049] In addition, it should be noted that by operating on the third image, it is also possible to cancel the filter style of the third image, that is, when the user is not satisfied with the filter style of the third image, the third image can be directly deleted.

[0050] By operating on the first identifier at the preset position of the second file in the embodiments of the present application, it is possible to edit the second file according to the first parameter information of the first file, that is, update the second parameter information of the second file to the first parameter information, so as to generate a third file with the same first parameter information as the first file of the first file, and further realize the replication of the first parameter information, and further display the third file on the display screen to meet the user's editing requirements for the second file.

[0051] In some embodiments of the present application, a prompt message is displayed at the preset position of the third file;

[0052] The prompt message is used to indicate that the third file is obtained by processing the second file according to the first parameter information.

[0053] In the embodiments of the present application, after the third file is displayed, a prompt message can also be displayed at the preset position of the third file, so as to prompt the user through the prompt message that the third file is obtained by processing the second file according to the first parameter information, so as to prompt the user of the parameter type of the third file.

[0054] Exemplarily, taking an image file as an example again, as Figure 3 and Figure 4 shown, the color of the word "Filter" displayed in the upper right corner of the third image can be adjusted to prompt the user that the third image is obtained by editing the second image according to the first filter parameter of the first image according to the different colors of the words. For example, the word "Filter" displayed in the upper right corner of the second image is displayed in high brightness, and the word "Filter" displayed in the upper right corner of the third image is set to gray to distinguish the third image.

[0055] By displaying a prompt message at the preset position of the third file in the embodiments of the present application, the user can be prompted that the third file is obtained by processing the second file according to the first parameter information, so that the user can view the parameter information of the third file.

[0056] Further, after generating the third file, the electronic device can also automatically edit the parameter information of the third file according to the content characteristics of the third file, so as to adaptively adjust the parameter information of the third file, thereby meeting the user's requirements for the parameter information of the third file.

[0057] Exemplarily, taking an image file as an example again, after generating the third image, first, the content characteristics of the third image can be obtained, and then, according to the content characteristics of the third image, the filter parameters of the third image can be adjusted, so that the filter style of the third image better conforms to the content of the third image and improves the filter effect of the third image. Specifically, the parameters such as the hue, contrast, saturation, brightness, and specific color curves of the third file can be automatically adjusted. Exemplarily, the filter parameters that can be automatically adjusted are shown in Table 1:

[0058] Table 1

[0059]

[0060] In some embodiments of the present application, after obtaining the third file, the method further includes: receiving a third input for the third file; in response to the third input, displaying a first parameter adjustment control; wherein, the first parameter adjustment control is used to adjust the parameters of the third file.

[0061] In the embodiments of the present application, after generating the third file, the user can also manually adjust the parameter information of the third file to make the parameter information of the third file more in line with the user's requirements.

[0062] Specifically, after updating the second parameter information of the second file to the first parameter information of the first file to generate the third file, a third input from the user for the third file can be received. At this time, the electronic device can display a first parameter adjustment control in response to the third input from the user for the third file. It can be understood that the first parameter adjustment control is used for the user to operate to adjust the parameter information of the third file.

[0063] Exemplarily, the first parameter adjustment control may include multiple parameter names, such as Parameter 1, Parameter 2, Parameter 3, and Parameter 4. A slider is displayed after each parameter name, and the user can slide the slider to adjust the specific value of each parameter.

[0064] By displaying the first parameter adjustment control in the embodiments of the present application, the user can manually adjust the parameter information of the third file, which can further meet the user's requirements for the parameter information of the third file.

[0065] In some embodiments of the present application, the file processing method further includes:

[0066] Display a floating control;

[0067] Receive a fourth input to the floating control;

[0068] In response to the fourth input, display a second parameter adjustment control, where the second parameter adjustment control is used to adjust the first parameter information;

[0069] Receive a fifth input to the floating control;

[0070] In response to the fifth input, hide the second parameter adjustment control.

[0071] In the embodiments of the present application, after obtaining the first parameter information of the first file, the user can also adjust the first parameter information, so that the first parameter information better meets the user's needs, and when editing the second file, the parameter information of the generated third file better meets the user's needs.

[0072] Specifically, a floating control can be displayed on the display screen. The user can perform a fourth input on the floating control. After the electronic device responds to the fourth input, a second parameter adjustment control can be displayed. The user can operate the second parameter adjustment control to adjust the first parameter information. Further, after the user adjusts the first parameter information, a fifth input can be performed on the floating control. When the electronic device responds to the fifth input, the second parameter adjustment control can be hidden.

[0073] Exemplarily, taking an image file as an example again, Figure 5 Shows the fourth interface schematic diagram of the file processing method according to the embodiments of the present application; as Figure 5 As shown, after obtaining the first filter parameter of the first image, a floating control 202 can be displayed on the display screen. The floating control 202 can be used to switch the display and hiding of the second parameter adjustment control. That is, a fourth input can be performed on the floating control. In the case where the electronic device responds to the fourth input, the second parameter adjustment control can be displayed. Correspondingly, in the case where the second parameter adjustment control is displayed, a fifth input can be performed on the floating control. When the electronic device responds to the fifth input, the second parameter adjustment space can be hidden.

[0074] Further, as Figure 5 As shown, in the case where the second parameter adjustment control 204 is displayed, the user can operate the second parameter adjustment control 204 to adjust the first filter parameter of the first image. For example, the second parameter adjustment control 204 may include multiple parameter names, such as parameter 1, parameter 2, parameter 3, and parameter 4. A slider is displayed after each parameter name, and the user can slide the slider to adjust the specific value of each parameter.

[0075] In the embodiments of the present application, by displaying a floating control, the display and hiding of the second parameter adjustment control can be achieved. Further, by displaying the second parameter adjustment control, the user can adjust the first parameter information so that the obtained first parameter information better meets the user's needs. Thus, when editing the second file, the parameter information of the generated third file better meets the user's needs.

[0076] In some embodiments of the present application, the first file is displayed on the first device. In response to a first input, at least one second file is displayed based on the first parameter information of the first file, including:

[0077] In response to the first input, based on the first parameter information of the first file, at least one second file is displayed on the second device;

[0078] Wherein, the first device and the second device are devices logged in with the same device account.

[0079] In the embodiments of the present application, the process of searching for the second file based on the first parameter information of the first file can also be cross-device. Specifically, the first file is displayed on the first device, and the user can perform a first input on the first file. At this time, in response to the first input, the electronic device can search for and display at least one second file on the second device.

[0080] It should be noted that the second device and the first device are devices logged in with the same device account. When the user operates on the first file on the first device, the electronic device can store the first parameter information of the first file in the database under the same device account based on the same device account logged in by the first device and the second device. In this way, during the process of the user searching for the second file based on the first parameter information of the first file on the first device, the second device can retrieve the first parameter information from the database under the same device account, and then search for the second file on the second device and display the second file on the second device to achieve cross-device search of the second file.

[0081] Exemplarily, after obtaining the first parameter information of the first file, the first parameter information can also be saved, so that when the user edits the file subsequently, the first parameter information can be called, thereby achieving replication of the first parameter information. Specifically, after obtaining the first parameter information, a parameter database can be created according to a preset account. It can be understood that the preset account can be an account created by the user himself, and through this preset account, the user can access the parameter database on different devices. Further, taking an image file as an example again, Figure 6 shows the fifth interface schematic diagram of the file processing method according to the embodiments of the present application; as Figure 6As shown, the user browses the first image with the desired number of filter styles on the mobile phone. At this time, the user can perform a first input on the first image. In response to the first input, the electronic device can obtain the first filter parameters. At this time, the mobile phone can create a parameter database based on the current device account and then store the first parameter information in the parameter database. For example, the first parameter information can be saved in the parameter database in the form of key-value pairs, denoted as: [(Key1, Value1), (Key2, Value2), (Key3, Value3),..., (KeyN, ValueN)], where Key1, Key2, Key3..KeyN represent the types of parameters, and Value1, Value2, Value3…ValueN represent the specific values of each type of parameter. Further, when searching for the second image based on the first filter parameters of the first image, on a smart watch or a tablet computer logged in with the same device account as the mobile phone, the second image can be searched based on the first filter parameters stored in the parameter database. After at least one second image is found, the second image can be displayed on the smart watch or the tablet computer.

[0082] In the embodiment of the present application, by performing a first input on the first file displayed on the first device, it is possible to search for and display at least one second file on the second device logged in with the same device account based on the first parameter information of the first file, realizing cross-device search and display of the second file, further improving the flexibility of searching for the second file and enhancing the user experience.

[0083] In some embodiments of the present application, the first file is a file displayed in the first application. In response to the first input, displaying at least one second file based on the first parameter information of the first file includes:

[0084] In response to the first input, determining at least one second file in the second application based on the first parameter information of the first file;

[0085] Displaying at least one second file;

[0086] Wherein, the second application is different from the first application.

[0087] In the embodiment of the present application, the process of searching for the second file based on the first parameter information of the first file can also be carried out across application programs. Specifically, the first file is a file displayed in the first application. The user can perform a first input on the first file. At this time, in response to the first input, the electronic device can search for the second file in the second application of the device. It can be understood that the second application is a different application program from the first application.

[0088] In an embodiment of the present application, by performing a first input on a first file displayed on a first application, it is possible to search for and display at least one second file in a second application on the device based on first parameter information of the first file, achieving cross-application search and display of the second file, further improving the flexibility of searching for the second file and enhancing the user experience.

[0089] In some embodiments, the above file processing method can be integrated into an existing photo editing application, enabling the existing photo editing program to also implement the above file processing method.

[0090] Exemplarily, when a user browses a photo editing application installed on the mobile phone itself and finds that a certain photo has a film simulation or sepia filter effect in the vintage style, the user can perform operations on the photo, such as long pressing or double clicking, to search for all photos with the film simulation or sepia filter effect on the mobile phone. Or if a certain video has a light simulation or motion blur filter effect in the dynamic light and shadow filter type, the user can perform operations on the video to search for all videos with the light simulation or motion blur filter effect on the mobile phone.

[0091] In some embodiments of the present application, a file processing device is provided. Figure 7 The structural block diagram of the file processing device according to an embodiment of the present application is shown. As Figure 7 shown, the file processing device 700 includes:

[0092] A receiving unit 702, which receives a first input on a first file;

[0093] A display unit 704, which, in response to the first input, displays at least one second file based on first parameter information of the first file;

[0094] Wherein, the second parameter information of at least one second file has a similarity greater than a preset threshold with the first parameter information.

[0095] An embodiment of the present application can search for a second file based on first parameter information of a first file, and the second parameter information of the second file has a similarity greater than a preset threshold with the first parameter information of the first file. Furthermore, it is possible to search for a second file that is the same as or similar to the first parameter information based on the first file, and then display the second file. Thus, it can meet the user's need to search for files based on the parameter information of the files. Compared with the traditional search methods based on the creation date, location, or file name of the files, it can provide a search method based on parameter information for the user and improve the accuracy of file search results.

[0096] In some embodiments of the present application, the receiving unit 702 is further configured to receive a second input on a first identifier;

[0097] The processing device of the file further includes an updating unit, configured to update the second parameter information of the second file to the first parameter information in response to a second input, so as to obtain a third file.

[0098] In the embodiment of the present application, by operating the first identifier at the preset position of the second file, it is possible to edit the second file according to the first parameter information of the first file, that is, update the second parameter information of the second file to the first parameter information, so as to generate a third file with the same first parameter information as the first file, and further replicate the first parameter information. Further, the third file is displayed on the display screen to meet the user's editing requirements for the second file.

[0099] In some embodiments of the present application, a prompt message is displayed at the preset position of the third file;

[0100] The prompt message is used to indicate that the third file is obtained by processing the second file according to the first parameter information.

[0101] In the embodiment of the present application, by displaying a prompt message at the preset position of the third file, it can prompt the user that the third file is obtained by processing the second file according to the first parameter information, so that the user can view the parameter information of the third file.

[0102] In some embodiments of the present application, the receiving unit 702 is further configured to receive a third input for the third file;

[0103] The display unit 704 is further configured to display a first parameter adjustment control in response to the third input;

[0104] Wherein, the first parameter adjustment control is used to adjust the parameters of the third file.

[0105] In the embodiment of the present application, by displaying the first parameter adjustment control, the user can manually adjust the parameter information of the third file, and further meet the user's requirements for the parameter information of the third file.

[0106] In some embodiments of the present application, the display unit 704 is further configured to display a floating control;

[0107] The receiving unit 702 is further configured to receive a fourth input for the floating control;

[0108] The display unit 704 is further configured to display a second parameter adjustment control in response to the fourth input, wherein the second parameter adjustment control is used to adjust the first parameter information;

[0109] The receiving unit 702 is further configured to receive a fifth input for the floating control;

[0110] The display unit 704 is further configured to hide the second parameter adjustment control in response to a fifth input.

[0111] In the embodiment of the present application, by displaying a floating control, the display and hiding of the second parameter adjustment control can be realized. Further, by displaying the second parameter adjustment control, the user can adjust the first parameter information so that the obtained first parameter information better meets the user's needs. Therefore, when editing the second file, the parameter information of the generated third file better meets the user's needs.

[0112] In some embodiments of the present application, the first file is displayed on a first device. The display unit 704 is specifically further configured to, in response to a first input, based on the first parameter information of the first file, display at least one second file on a second device;

[0113] Wherein, the first device and the second device are devices logged in with the same device account.

[0114] In the embodiment of the present application, by performing a first input on the first file displayed on the first device, at least one second file can be searched for and displayed on the second device logged in with the same device account based on the first parameter information of the first file, realizing the cross-device search and display of the second file, further improving the flexibility of searching for the second file and enhancing the user experience.

[0115] In some embodiments of the present application, the first file is a file displayed in a first application. The display unit 704 is specifically further configured to, in response to a first input, determine at least one second file in a second application based on the first parameter information of the first file;

[0116] Display at least one second file;

[0117] Wherein, the second application is different from the first application.

[0118] In the embodiment of the present application, by performing a first input on the first file displayed in the first application, at least one second file can be searched for and displayed in the second application of the device based on the first parameter information of the first file, realizing the cross-application search and display of the second file, further improving the flexibility of searching for the second file and enhancing the user experience.

[0119] The file processing device in the embodiments of the present application may be an electronic device or a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal or other devices other than terminals. Exemplarily, the electronic device may be a mobile phone, a tablet computer, a laptop computer, a handheld computer, a vehicle-mounted electronic device, a Mobile Internet Device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc., and may also be a server, a Network Attached Storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc. The embodiments of the present application do not make specific limitations.

[0120] The file processing device in the embodiments of the present application may be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems. The embodiments of the present application do not make specific limitations.

[0121] The file processing device provided in the embodiments of the present application can implement each process implemented in the above method embodiments. To avoid repetition, it will not be elaborated here.

[0122] The embodiments of the present application further provide an electronic device. Figure 8 The block diagram of the electronic device according to the embodiments of the present application is shown. As Figure 8 shown, the electronic device 800 includes a processor 802, a memory 804, and a program or instruction stored in the memory 804 and executable on the processor 802. When the program or instruction is executed by the processor 802, it implements each process of the above method embodiments and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.

[0123] It should be noted that the electronic device in the embodiments of the present application includes the above-mentioned mobile electronic devices and non-mobile electronic devices.

[0124] Figure 9 It is a schematic diagram of the hardware structure of an electronic device according to the embodiments of the present application.

[0125] The electronic device 900 includes, but is not limited to, components such as a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910.

[0126] Those skilled in the art can understand that the electronic device 900 may further include a power source (such as a battery) for supplying power to each component. The power source can be logically connected to the processor 910 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system. Figure 9 The structure of the electronic device shown does not limit the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0127] Among them, the user input unit 907 is used to receive a first input for a first file; the display unit 906 is used to display at least one second file based on the first parameter information of the first file in response to the first input; wherein, the second parameter information of at least one second file has a similarity greater than a preset threshold with the first parameter information.

[0128] The embodiments of the present application can implement searching for a second file based on the first parameter information of the first file, and the second parameter information of the second file has a similarity greater than a preset threshold with the first parameter information of the first file. Furthermore, it can implement searching for a second file that is the same as or similar to the first parameter information based on the first file, and then display the second file, thereby meeting the user's need to search for files based on the parameter information of the files. Compared with the traditional search methods based on the creation date, location, or file name of the file, it can provide a search method based on parameter information for the user and improve the accuracy of file search results.

[0129] In some embodiments, the preset position of the second file includes a first identifier, and the user input unit 907 is further used to receive a second input for the first identifier; the processor 910 is used to update the second parameter information of the second file to the first parameter information in response to the second input, obtaining a third file.

[0130] The embodiments of the present application can implement editing the second file according to the first parameter information of the first file by operating on the first identifier at the preset position of the second file, that is, updating the second parameter information of the second file to the first parameter information, thereby generating a third file with the same first parameter information as the first file, and further implementing replication of the first parameter information. Further, the third file is displayed on the display screen to meet the user's editing requirements for the second file.

[0131] In some embodiments, the user input unit 907 is further configured to receive a third input for a third file; the display unit 906 is further configured to display a first parameter adjustment control in response to the third input; wherein, the first parameter adjustment control is used to adjust the parameters of the third file.

[0132] By displaying the first parameter adjustment control in the embodiments of the present application, the user can manually adjust the parameter information of the third file, thereby further meeting the user's requirements for the parameter information of the third file.

[0133] In some embodiments, the display unit 906 is further configured to display a floating control; the user input unit 907 is further configured to receive a fourth input for the floating control; the display unit 906 is further configured to display a second parameter adjustment control in response to the fourth input, wherein the second parameter adjustment control is used to adjust the first parameter information; the user input unit 907 is further configured to receive a fifth input for the floating control; the display unit 906 is further configured to hide the second parameter adjustment control in response to the fifth input.

[0134] In the embodiments of the present application, by displaying the floating control, the display and hiding of the second parameter adjustment control can be realized. Further, by displaying the second parameter adjustment control, the user can adjust the first parameter information to make the obtained first parameter information more meet the user's requirements, so that when editing the second file, the parameter information of the generated third file more meets the user's requirements.

[0135] In some embodiments, the first file is displayed on the first device, and the display unit 906 is further configured to display at least one second file on the second device in response to the first input based on the first parameter information of the first file; wherein, the first device and the second device are devices logged in with the same device account.

[0136] In the embodiments of the present application, by performing a first input on the first file displayed on the first device, at least one second file can be searched and displayed on the second device logged in with the same device account based on the first parameter information of the first file, realizing cross-device search and display of the second file, further improving the flexibility of searching for the second file and enhancing the user experience.

[0137] In some embodiments, the first file is a file displayed in a first application program, and the display unit 906 is further configured to determine at least one second file in a second application program based on the first parameter information of the first file in response to the first input; display at least one second file; wherein, the second application program is different from the first application program.

[0138] In an embodiment of the present application, by performing a first input on a first file displayed in a first application, it is possible to search for and display at least one second file in a second application of the device based on first parameter information of the first file, achieving cross-application search and display of the second file, further improving the flexibility of searching for the second file and enhancing the user experience.

[0139] It should be understood that in an embodiment of the present application, the input unit 904 may include a Graphics Processing Unit (GPU) 9041 and a microphone 9042. The GPU 9041 processes image data of a static image or a video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit 907 includes at least one of a touch panel 9071 and other input devices 9072. The touch panel 9071 is also referred to as a touch screen. The touch panel 9071 may include two parts: a touch detection device and a touch controller. The other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, power on / off keys, etc.), a trackball, a mouse, and a joystick, which will not be elaborated here.

[0140] The memory 909 can be used to store software programs and various data. The memory 909 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data. Among them, the first storage area can store an operating system, application programs or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 909 can include volatile memory or non-volatile memory, or the memory 909 can include both volatile and non-volatile memory. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDR SDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synch link dynamic random access memory (SLDRAM), and a direct rambus random access memory (DRRAM). The memory 909 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.

[0141] The processor 910 may include one or more processing units; optionally, the processor 910 integrates an application processor and a modem processor. Among them, the application processor mainly processes operations related to the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above modem processor may not be integrated into the processor 910 either.

[0142] The embodiments of the present application also provide a readable storage medium. A program or instruction is stored on the readable storage medium. When the program or instruction is executed by a processor, it implements each process of the above method embodiment and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[0143] Among them, the processor is the processor in the electronic device in the above-mentioned embodiment. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs, etc.

[0144] Another embodiment of the present application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement each process of the above method embodiment and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.

[0145] It should be understood that the chip mentioned in the embodiment of the present application can also be referred to as a system-on-chip, system chip, chip system, or system-on-chip, etc.

[0146] The embodiment of the present application provides a computer program product. The program product is stored in a readable storage medium and is executed by at least one processor to implement each process of the above method embodiment and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.

[0147] It should be noted that in this article, the term "including", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the reverse order according to the functions involved. For example, the described methods can be executed in an order different from that described, and various steps can be added, omitted, or combined. Additionally, the features described with reference to certain examples can be combined in other examples.

[0148] Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art can be embodied in the form of a computer software product. The computer software product is stored in a readable storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions for causing a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of the present application.

[0149] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific implementation manners. The above specific implementation manners are merely illustrative and not restrictive. Under the inspiration of the present application, those of ordinary skill in the art can also make many forms without departing from the purpose of the present application and the scope protected by the claims, and all of them belong to the protection scope of the present application.

Claims

1. A file processing method, characterized in that, Comprising: Receiving a first input for a first file; In response to the first input, displaying at least one second file based on first parameter information of the first file; Wherein, second parameter information of at least one of the second files has a similarity greater than a preset threshold with the first parameter information.

2. The document processing method according to claim 1, characterized in that, A preset position of the second file includes a first identifier. After displaying at least one second file based on the first parameter information of the first file, the file processing method further includes: Receiving a second input for the first identifier; In response to the second input, updating the second parameter information of the second file to the first parameter information to obtain a third file.

3. The file processing method according to claim 2, wherein A prompt message is displayed at a preset position of the third file; The prompt message is used to indicate that the third file is obtained by processing the second file according to the first parameter information.

4. The document processing method according to claim 2, characterized in that After obtaining the third file, the file processing method further includes: Receiving a third input for the third file; In response to the third input, displaying a first parameter adjustment control; Wherein, the first parameter adjustment control is used to adjust parameters of the third file.

5. The document processing method according to any one of claims 1 to 4, characterized in that, The file processing method further includes: Displaying a floating control; Receiving a fourth input for the floating control; In response to the fourth input, displaying a second parameter adjustment control, wherein the second parameter adjustment control is used to adjust the first parameter information; Receiving a fifth input for the floating control; In response to the fifth input, hiding the second parameter adjustment control.

6. The document processing method according to any one of claims 1 to 4, characterized in that The first file is displayed on a first device. Responding to the first input and displaying at least one second file based on the first parameter information of the first file includes: In response to the first input, based on the first parameter information of the first file, displaying at least one of the second files on a second device; Wherein, the first device and the second device are devices logged in with the same device account.

7. The document processing method according to any one of claims 1 to 4, characterized in that The first file is a file displayed in a first application. Responding to the first input and displaying at least one second file based on the first parameter information of the first file includes: In response to the first input, determining at least one of the second files in a second application based on the first parameter information of the first file; Displaying at least one of the second files; Wherein, the second application is different from the first application.

8. A file processing device, characterized in that, Comprising: A receiving unit, configured to receive a first input for a first file; A display unit, configured to display at least one second file in response to the first input, based on first parameter information of the first file; Wherein, second parameter information of at least one of the second files has a similarity greater than a preset threshold with the first parameter information.

9. An electronic device, characterized in that, Comprising a processor and a memory, the memory stores a program or input that can run on the processor, and when the program or input is executed by the processor, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A readable storage medium, characterized in that, The program or input is stored on the readable storage medium, and when the program or input is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.