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

By displaying the association status between file identifiers and application identifiers and receiving user input to select the target application identifier, the problem of cumbersome file operations handled by multiple applications is solved, achieving convenient file processing and an efficient user experience.

CN115344159BActive Publication Date: 2026-03-17VIVO MOBILE COMM CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-25
Publication Date
2026-03-17

AI Technical Summary

Technical Problem

When multiple applications process the same file, the process is cumbersome, requiring each application to be opened and closed for comparison and filtering, resulting in complicated steps and wasted time.

Method used

By displaying file identifiers and multiple application identifiers, associating different file states, and receiving user input to select the target application identifier, it enables convenient switching and editing of files between multiple applications, reducing operation steps.

Benefits of technology

It simplifies the file processing process, reduces preparation time and operation steps, and improves user experience and processing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115344159B_ABST
    Figure CN115344159B_ABST
Patent Text Reader

Abstract

This application discloses a file processing method, apparatus, electronic device, and readable storage medium, belonging to the field of data processing. The file processing method includes: displaying a first file identifier and N application identifiers, wherein the N application identifiers are associated with M states of a first file, the first file is the file corresponding to the first file identifier, and N and M are positive integers greater than 1; receiving a first input for a first target application identifier among the N application identifiers, wherein the first target application identifier is associated with a first state of the first file; and, in response to the first input, displaying the first file based on the first state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of data processing, and specifically relates to a method, apparatus, electronic device, and readable storage medium for processing documents. Background Technology

[0002] In the relevant technical solutions, users can call the installed application to edit the files that need to be processed in order to obtain files that meet the user's needs.

[0003] However, with the increasing abundance of applications, many applications overlap in their functionality; that is, multiple applications implement the same or similar functions. Since different applications are developed by different developers, the resulting applications differ, and the effects they achieve in implementing a particular function also vary. If multiple applications need to process the same file, it's cumbersome to first open one application, process the file, observe the result, close that application, then open another application, process the same file, and compare the results with the previous ones to select the satisfactory file. Summary of the Invention

[0004] The purpose of this application is to provide a file processing method, apparatus, electronic device, and readable storage medium that can solve the problem of cumbersome operation process when multiple applications process the same file.

[0005] In a first aspect, embodiments of this application provide a file processing method, comprising: displaying a first file identifier and N application identifiers, wherein the N application identifiers are associated with M states of a first file, the first file is the file corresponding to the first file identifier, and N and M are positive integers greater than 1; receiving a first input to a first target application identifier among the N application identifiers, wherein the first target application identifier is associated with a first state of the first file; and, in response to the first input, displaying the first file based on the first state.

[0006] Secondly, embodiments of this application provide a file processing apparatus, comprising: a display module for displaying a first file identifier and N application identifiers, wherein the N application identifiers are associated with M states of a first file, the first file being the file corresponding to the first file identifier, and N and M being positive integers greater than 1; a receiving module for receiving a first input to a first target application identifier among the N application identifiers, wherein the first target application identifier is associated with a first state of the first file; and a response module for displaying the first file based on the first state in response to the first input.

[0007] Thirdly, embodiments of this application provide an electronic device including a processor and a memory. The memory stores programs or instructions that can run on the processor, and when the programs or instructions are executed by the processor, they implement the steps of the processing method as described in the first aspect.

[0008] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, and when the program or instructions are executed by a processor, the steps of the processing method as described in the first aspect are implemented.

[0009] Fifthly, embodiments of this application provide a chip, which includes a processor and a communication interface. The communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the processing method as described in the first aspect.

[0010] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the processing method as described in the first aspect.

[0011] In this embodiment, after a file is edited by different applications, it can be saved in different states, each state corresponding to a different application. A first file identifier and N application identifiers are displayed so that the user is aware of the file to be processed and the applications that support file processing, and so that the user can select the first target application identifier from the N application identifiers, thereby enabling the display of the first file based on the first state.

[0012] Based on this, when a satisfactory file needs to be selected, the first file can be displayed based on its stored state. The same file can be stored in multiple states. By inputting the identifier of the first target application, multiple applications can be conveniently opened to edit the same file, reducing the number of steps required. Attached Figure Description

[0013] Figure 1 This is a flowchart illustrating the document processing method in an embodiment of this application;

[0014] Figure 2 This is a schematic diagram of the file management interface in an embodiment of this application;

[0015] Figure 3 This is a schematic diagram showing the content of the processing interface corresponding to APP1 in the processing interface of APP2 when the second input is received in the embodiment of this application;

[0016] Figure 4 This is a schematic diagram of the area affected by the application corresponding to the first application identifier after the first file editing operation is performed on it in this embodiment of the application;

[0017] Figure 5This is a schematic diagram showing at least one second target application identifier folded in an embodiment of this application;

[0018] Figure 6 This is a schematic block diagram of a document processing apparatus in an embodiment of this application;

[0019] Figure 7 This is a schematic block diagram of the electronic device in the embodiments of this application;

[0020] Figure 8 This is a schematic diagram of the hardware structure of the electronic device in the embodiments of this application. Detailed Implementation

[0021] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0022] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0023] The document processing method, apparatus, electronic device, and readable storage medium provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.

[0024] In one embodiment, such as Figure 1 As shown in the figure, this application provides a document processing method, including:

[0025] Step 102: Display the first file identifier and N application identifiers. The N application identifiers are associated with M states of the first file. The first file is the file corresponding to the first file identifier. N and M are positive integers greater than 1.

[0026] In one embodiment, M is less than or equal to N. For example, if M equals N, then each application identifier corresponds to one state. The first file is modified in the application editor corresponding to the application identifier to obtain the third file. It can be understood that the third file is based on the first file; therefore, the application identifier and the third file are associated. Thus, the third file can be considered a state where the application identifier is associated with the first file.

[0027] In one embodiment, a third file is associated with an application identifier to establish the association between the two.

[0028] Step 104: Receive the first input for the first target application identifier among N application identifiers, and the first state of the first target application identifier associated with the first file;

[0029] Step 106: In response to the first input, based on the first state, display the first file.

[0030] In this embodiment, a file can be saved in different states after being edited by different applications, with each state corresponding to a different application. This state can represent the file's condition after being edited by an application, and may refer to the file's specific content. The same file can have different states after being edited by different applications. A first file identifier and N application identifiers are displayed so that the user is aware of the file to be processed and the application that processed it, and so that the user can easily select the first target application identifier from the N application identifiers, thereby displaying the first file based on the first state.

[0031] Based on this, when a satisfactory file needs to be selected, the first file can be displayed based on its stored state. The same file can be stored in multiple states. By inputting the identifier of the first target application, multiple applications can be conveniently opened to edit the same file, reducing the number of operation steps and thus reducing the time spent on preparation work before file comparison.

[0032] In one embodiment, the first input is a selection input for choosing a first target application identifier. Specifically, the user can select the desired application from multiple applications that support file processing through the first input. Each application corresponds to an application identifier.

[0033] In one embodiment, the N application identifiers are identifiers corresponding to applications that have edited the first file. Specifically, the N application identifiers are application identifiers that meet the filtering criteria among application identifiers that support editing the first file, wherein the filtering criteria is that the application corresponding to the application identifier is an application that has edited the first file.

[0034] In this embodiment, there can be P applications that support processing the first file, where P is greater than N. Correspondingly, the P applications have P application identifiers, where the N application identifiers are selected from the P application identifiers.

[0035] In one embodiment, the P applications are sorted from highest to lowest frequency of editing the first file, and the identifiers corresponding to the top N applications are selected as N application identifiers.

[0036] In one embodiment, after displaying the first file identifier, N application identifiers are displayed.

[0037] In this embodiment, the order in which the first file identifier and N application identifiers are displayed is defined in order to improve the interactive experience.

[0038] In one embodiment, the N application identifiers may be displayed after the first file identifier is selected. Specifically, when video needs to be processed, the first file identifier is the video file identifier. By long-pressing the video file identifier, a selection menu pops up, in which N application identifiers are displayed for the user to select.

[0039] In one embodiment, the selection menu also displays a confirmation button so that after the user selects the first target application identifier, the user can select the confirmation button to end the selection of the first target application identifier.

[0040] In one embodiment, the file management function can be used to locate the first file.

[0041] Specifically, such as Figure 2 As shown, the file management interface displays labels for File 1, File 2, File 3, File 4, File 5, and File 6. When the user long-presses the label for "File 1", a selection menu pops up, which displays N application labels and a confirmation button.

[0042] In one embodiment, when there are multiple first target application identifiers, multiple processing interfaces are displayed in a split-screen manner based on the first state of the first file associated with the multiple first target application identifiers; wherein, the corresponding first file is displayed in each processing interface.

[0043] In this embodiment, multiple processing interfaces are displayed in a split-screen manner to show the first file in multiple states on the same screen. During this process, it is convenient for users to compare the first file processed by different applications, thereby improving the comparison efficiency.

[0044] In one embodiment, multiple processing interfaces correspond one-to-one with multiple first target application identifiers to reduce the time cost of file comparison.

[0045] In this embodiment, split-screen display of multiple processing interfaces can be understood as displaying multiple processing interfaces in split-screen mode. Specifically, in split-screen mode, multiple processing interfaces are displayed simultaneously on the display screen to facilitate users to compare the first file in different processing interfaces.

[0046] In one embodiment, multiple processing interfaces can be arranged sequentially along the length of the display screen to ensure the display effect of multiple processing interfaces.

[0047] In one embodiment, the file may be a video, image, table, audio, etc. In one embodiment, the file processing method further includes: receiving operation input on a first file in any of the multiple processing interfaces displayed in a split-screen manner; and responding to the operation input by displaying the operation result of the operation input in each of the multiple processing interfaces displayed in a split-screen manner.

[0048] In this embodiment, considering that the above control scheme requires users to manually process files in each application, and that repeated operations will waste time and result in a poor user experience.

[0049] In the embodiments of this application, the operation results resulting from input operations limited to any processing interface are synchronously displayed in each processing interface under split-screen display. This eliminates the need for users to process the same object individually in each application, thus reducing wasted time and improving the user experience.

[0050] In one embodiment, considering that the operation inputs corresponding to the same function are different in different applications, the correspondence between the operation inputs corresponding to the same function in different applications can be pre-constructed so that after receiving the operation input in a certain application, the operation inputs in other applications besides that application can be determined according to the above correspondence, thereby executing the same processing logic.

[0051] In one embodiment, the operational input can be an image effect overlay, such as sharpening or increasing contrast.

[0052] In one embodiment, the file processing method further includes: displaying a first processing interface corresponding to a first application identifier in a first display area, and displaying a second processing interface corresponding to a second application identifier in a second display area; receiving a second input, the second input being used to instruct the first editing operation identifier to be moved from the first display area to the second display area, wherein the operation performed by the first file under the application corresponding to the first application identifier is associated with the first editing operation identifier; responding to the second input, moving the first editing operation identifier from the first display area to the second display area, and displaying a second file in the second display area, the second file being a file obtained after performing an editing operation associated with the first editing operation identifier on the second processing interface; the first application identifier and the second application identifier may be application identifiers in the first target application identifier.

[0053] In this embodiment, considering that different applications will produce different results when processing the first file, if the same application is used to process the first file, the processed first file will not meet the user's needs. In order to solve this problem, the technical solution of this application links the processing between different application interfaces to ensure that the processed first file meets the user's needs.

[0054] Specifically, the user processes a first file using a first application in the first display area to obtain a first processing interface, and then processes the first file using a second application in the second display area to obtain a second processing interface. If a second input is received, the user can apply some of the editing operations performed on the first file by the first application to the second processing interface. Optionally, the user can search for the corresponding function in the second application based on the editing operation, or the interfaces between the first and second applications can be interconnected to achieve this process.

[0055] Optionally, in response to the second input, the first editing operation identifier is moved from the first display area to the second display area, and the second file is displayed in the second display area. The second file is the first file displayed in the first processing interface.

[0056] Specifically, after the user finishes processing the first file in the first processing interface, they need to continue processing it in the second processing interface. At this time, if a second input is received, the first file processed in the first processing interface, i.e. the second file, can be transferred to the second processing interface for display, so as to realize the transfer of the same file between different processing interfaces. During this process, the user can adjust and reasonably combine different applications to process the same file according to actual usage needs, so as to obtain a file that meets the requirements.

[0057] For example, such as Figure 3As shown, File 1 is displayed in the processing interface of APP 1. When the second input is received, the contents of File 1 are displayed in the processing interface of APP 2.

[0058] Users can drag files from the first processing interface to the second processing interface for further processing in the second processing interface; similarly, it can be understood that after processing a file in the second processing interface is complete, the file can be dragged back to the first processing interface in the same way.

[0059] In one embodiment, the second file displays a first editing operation identifier, wherein the first editing operation identifier is a first application identifier.

[0060] In one embodiment, the second file in the second processing interface displays the target operation effect, wherein the target operation effect is the operation effect experienced by the first file under the application corresponding to the first application identifier.

[0061] In one embodiment, the second file in the second processing interface displays the effective range of the target operation effect, wherein the effective range can be understood as the location or area where the target operation effect is located.

[0062] In this embodiment, the display of the target operation effect and the effective range is intended to show the area affected by the operation performed on the first file under the application corresponding to the first application identifier and the presented effect, so as to facilitate comparison and / or viewing by the user.

[0063] For example, the desired effect could be changing the color.

[0064] In one embodiment, specifically, such as Figure 4 As shown, the area affected by the operation performed by the first file under the application corresponding to the first application identifier can be represented by rectangle 402.

[0065] In this embodiment, by displaying a first editing operation identifier, the application software used to achieve the target operation effect can be determined based on the first editing operation identifier, thereby facilitating management.

[0066] Specifically, such as Figure 4 As shown, the first editing operation identifier 404 is located at one corner of the rectangle 402.

[0067] Optionally, when the first processing interface corresponding to the first application identifier is displayed in the first display area and the second processing interface corresponding to the second application identifier is displayed in the second display area, a second input is received. The second input is used to instruct the first editing operation identifier to be moved from the first display area to the second display area. The editing operation of the first file by the application corresponding to the first application identifier is associated with the first editing operation identifier.

[0068] In response to the second input, the first editing operation indicator is moved from the first display area to the second display area, and

[0069] The second file is displayed in the second processing interface. The second file is obtained by processing the second processing interface based on the first editing operation identifier.

[0070] Optionally, the second file is obtained by processing the second processing interface based on the editing operation associated with the first editing operation identifier. That is, the editing operation of the first file by the first application can be reused in the second application, so that the editing operation of the first file by the first application can be used to process the file in the second processing interface in the second application, which is convenient.

[0071] In one embodiment, the file processing method further includes: receiving a delete input for a first editing operation identifier; and in response to the delete input, deleting the target operation effect associated with the first editing operation identifier.

[0072] In this embodiment, upon receiving a delete input, the target operation effect associated with the first edit operation identifier is deleted to facilitate user modification of the processed file.

[0073] In this context, deleting input can be understood as selecting an input with deletion functionality. For example, when the first edit operation icon is clicked, a confirmation window pops up to delete the target operation effect associated with the first edit operation icon. If the user's confirmation is received, the deletion operation is executed.

[0074] In one embodiment, a third input is received; in response to the third input, a second target application identifier and a third target application identifier from N application identifiers are selected, wherein the second target application identifier is associated with a second state of the first file, and the third target application identifier is associated with a third state of the first file; a second editing operation corresponding to the second target application identifier and a third editing operation corresponding to the third target application identifier are obtained, wherein the second editing operation is an operation performed on the first file under the application corresponding to the second target application identifier, and the third editing operation is an editing operation performed on the first file under the application corresponding to the third target application identifier; and differential editing operations are marked; wherein, differential editing operations are editing operations that are inconsistent between the second and third editing operations. Optionally, the second target application identifier and the third target application identifier can be application identifiers from the first target application identifiers.

[0075] In this embodiment, by marking the differences in editing operations, users can find the differences in operations that exist under different applications, thereby understanding the root cause of the different states, so as to edit the guidance document based on the differences in editing operations.

[0076] In one embodiment, the file processing method further includes: upon receiving a fourth input to the first editing operation identifier, canceling the display of the target operation effect associated with the first editing operation identifier; and if no fourth input to the first editing operation identifier is received, restoring the display of the target operation effect associated with the first editing operation identifier.

[0077] In this embodiment, detailed control logic for switching the display of the target operation effect is provided. Under this control logic, the user can display the target operation effect and cancel the display of the target operation effect by inputting the fourth input of the first editing operation identifier, so as to compare and demonstrate the target operation effect by switching the display of the target operation effect or not displaying it.

[0078] In one embodiment, the fourth input may be a selection of the first editing operation identifier.

[0079] In one embodiment, the file processing method further includes: constructing a log file, wherein the log file includes: the operations experienced by the first file, the application software responding to the operations, and the scope of the operation effect corresponding to the operations.

[0080] In one embodiment, the operations are ordered according to the sequential time order of the inputs.

[0081] In this embodiment, a log file is constructed to record the operations received on the same file across different processing interfaces and the effective range of the operation inputs, allowing users to view the data. Simultaneously, the log file facilitates the storage of the processed file's state, enabling the reproduction of historical operation effects when dragging the file across different processing interfaces.

[0082] Specifically, when a user needs to delete the first editing operation identifier, the target operation effect corresponding to the first editing operation identifier is deleted, and the operation record sorted by the input time order is also deleted.

[0083] For example, if the current user has already performed 3 steps and we want to delete the 2nd step, we first delete the 2nd record in the "Operation Step Record File". Then, based on the original file, we execute the remaining operation steps in "Sort by Input Time Order", which are the previous 1st and 3rd steps.

[0084] In one embodiment, the principle of switching the display of the target operation effect is the same as the principle of deleting the first identifier and the first editing operation identifier, and will not be described again here.

[0085] In one embodiment, by limiting the log files to include application software that performs response operations, it is easier to classify and categorize the log files according to the application software performing the response operations, thereby achieving management.

[0086] In one embodiment, after displaying the first file, the method further includes: obtaining the historical editing operations corresponding to the first file; determining the target state associated with the first file based on the historical editing operations; and determining the fourth target application identifier associated with the target state.

[0087] In this embodiment, the state of the first file is associated with an application identifier. Therefore, after determining the state of the first file, the application identifier associated with that state, i.e., the fourth target application identifier, can be found using the state of the first file. The state of the first file is the final state presented by the first file after undergoing operations. Based on this, the state of the first file can be characterized by obtaining the historical editing operations corresponding to the first file.

[0088] During this process, it is possible to determine which application was used for editing based on the status of the first file.

[0089] In one embodiment, after determining the fourth target application identifier associated with the target state, the method further includes: launching the application corresponding to the fourth target application identifier; or displaying the first file based on the fourth target application identifier and the target state.

[0090] In this embodiment, the application corresponding to the fourth target application identifier is launched to achieve automatic application startup, so that the user can continue to process the first file using the application. In this process, the user does not need to start it manually, which reduces the user's operation and improves the interactive experience.

[0091] In this embodiment, a first file is displayed based on the fourth target application identifier and the target status. The user can know that the displayed first file is associated with the fourth target application identifier, which facilitates its management. The management may include deleting the fourth target application identifier.

[0092] In one embodiment, displaying the first file based on the fourth target application identifier and the target state specifically includes: displaying a thumbnail of the first file within a preset distance of the fourth target application identifier based on the target state.

[0093] In this embodiment, the positional relationship between the first file displayed based on the target state and the fourth target application identifier is defined. By limiting the thumbnail of the first file to within a preset distance of the fourth target application identifier, it is shown that the first file and the fourth target application identifier are associated in the target state.

[0094] In addition, a thumbnail of the first file is displayed to reduce the display size required to display the first file and improve the rationality of the display layout.

[0095] In one embodiment, the file processing method further includes: when the number of first target application identifiers is one, displaying a processing interface and at least one second target application identifier; wherein the application corresponding to the second application identifier supports editing the first file.

[0096] This embodiment presents a solution for enabling multiple applications to process the same file when there is only one first target application identifier. In this solution, at least one second target application identifier is displayed simultaneously with the processing interface. This allows the user to switch applications for processing the first file after completing the processing of the first file by selecting at least one second target application identifier.

[0097] In the above process, the processing interface can be displayed on the entire display screen, making the operating area larger and the operation more convenient.

[0098] In one embodiment, such as Figure 5 As shown, at least one second target application identifier 502 is folded in display. Upon receiving an expand input, at least one second target application identifier is unfolded in display to reduce the screen occupancy when at least one second target application identifier is unfolded, so as to maximize the display of the processing interface to the user.

[0099] In one embodiment, when at least one second target application identifier is collapsed, one of the at least one second target application identifier is displayed, and the other second target application identifiers besides the displayed second target application identifier are collapsed.

[0100] In one embodiment, at least one second target application identifier, in addition to the displayed second target application identifier, is displayed in the form of a drop-down menu.

[0101] In one embodiment, the file processing method further includes: receiving a fifth input for at least one second target application identifier; responding to the fifth input to determine a third target application identifier selected from the at least one second target application identifier; and displaying an interface for the application corresponding to the third target application identifier to process the first file.

[0102] In this embodiment, upon receiving a fifth input, a response is made to the fifth input to ensure that a third target application identifier is displayed among at least one second target application identifier. It is understood that the selected second target application identifier is determined based on the fifth input, and the interface for processing the first file is displayed by the application corresponding to the third target application identifier, so as to achieve switching of the same file under different processing interfaces.

[0103] In one embodiment, the processing interface displays a storage identifier, which indicates that the first file after processing is stored; a sixth input to the storage identifier is received; and in response to the sixth input, the first file after processing is stored.

[0104] In this embodiment, a storage identifier is displayed on the processing interface so that users can easily store the processed first file by inputting the storage identifier.

[0105] In one embodiment, the storage identifier is the text "save".

[0106] The file processing method provided in this application can be executed by a file processing device. This application uses a file processing device executing the file processing method as an example to illustrate the file processing device provided in this application.

[0107] In one embodiment, such as Figure 6As shown, a file processing apparatus 600 is proposed, comprising: a display module 602 for displaying a first file identifier and N application identifiers, wherein the N application identifiers are associated with M states of the first file, the first file being the file corresponding to the first file identifier, and N and M being positive integers greater than 1; a receiving module 604 for receiving a first input to a first target application identifier among the N application identifiers, wherein the first target application identifier is associated with a first state of the first file; and a response module 606 for displaying the first file based on the first state in response to the first input.

[0108] In this embodiment, after a file is edited by different applications, it can be saved in different states, each state corresponding to a different application. A first file identifier and N application identifiers are displayed so that the user is aware of the file to be processed and the application that processed it, and so that the user can select the first target application identifier from the N application identifiers, thereby enabling the display of the first file based on the first state.

[0109] Therefore, when a satisfactory file needs to be selected, the first file can be displayed based on its stored state, eliminating the need to open all applications one by one. This allows for convenient editing of the same file using multiple applications, reducing the number of steps and thus the time spent on preparation work before file comparison. In one embodiment, the first input is a selection input for a first target application identifier. Specifically, the user can select the desired application from multiple applications that support file processing through the first input. Each application corresponds to an application identifier.

[0110] In one embodiment, the N application identifiers are identifiers corresponding to applications that have edited the first file. Specifically, the N application identifiers are application identifiers that meet the filtering criteria among application identifiers that support editing the first file, wherein the filtering criteria is that the application corresponding to the application identifier is an application that has edited the first file.

[0111] In this embodiment, there can be P applications that support processing the first file, where P is greater than N. Correspondingly, the P applications have P application identifiers, where the N application identifiers are selected from the P application identifiers.

[0112] In one embodiment, the P applications are sorted from highest to lowest frequency of editing the first file, and the identifiers corresponding to the top N applications are selected as N application identifiers.

[0113] In one embodiment, after displaying the first file identifier, N application identifiers are displayed.

[0114] In this embodiment, the order in which the first file identifier and N application identifiers are displayed is defined in order to improve the interactive experience.

[0115] In one embodiment, the N application identifiers may be displayed after the first file identifier is selected. Specifically, when video needs to be processed, the first file identifier is the video file identifier. By long-pressing the video file identifier, a selection menu pops up, in which N application identifiers are displayed for the user to select.

[0116] In one embodiment, the selection menu also displays a confirmation button so that after the user selects the first target application identifier, the user can select the confirmation button to end the selection of the first target application identifier.

[0117] In one embodiment, the file management function can be used to locate the first file.

[0118] In one embodiment, the display module 602 is further configured to: when there are multiple first target application identifiers, display multiple processing interfaces in a split-screen manner based on the first state of the first file associated with the multiple first target application identifiers; wherein, each processing interface displays the corresponding first file.

[0119] In this embodiment, multiple processing interfaces are displayed in a split-screen manner to show the first file in multiple states on the same screen. During this process, it is convenient for users to compare the first file processed by different applications, thereby improving the comparison efficiency.

[0120] In one embodiment, multiple processing interfaces correspond one-to-one with multiple first target application identifiers to reduce the time cost of file comparison.

[0121] In one embodiment, the display module 602 is further configured to: receive operation input on the first file in any of the multiple processing interfaces displayed in a split-screen manner; and, in response to the operation input, display the operation result of the operation input in each of the multiple processing interfaces displayed in a split-screen manner.

[0122] In the embodiments of this application, the operation results resulting from input operations limited to any processing interface are synchronously displayed in each processing interface under split-screen display. This eliminates the need for users to process the same object individually in each application, thus reducing wasted time and improving the user experience.

[0123] In one embodiment, considering that the operation inputs corresponding to the same function are different in different applications, the correspondence between the operation inputs corresponding to the same function in different applications can be pre-constructed so that after receiving the operation input in a certain application, the operation inputs in other applications besides that application can be determined according to the above correspondence, thereby executing the same processing logic.

[0124] In one embodiment, the response module 606 is further configured to: receive a second input when a first processing interface corresponding to a first application identifier is displayed in a first display area and a second processing interface corresponding to a second application identifier is displayed in a second display area; the second input is configured to instruct the first editing operation identifier to be moved from the first display area to the second display area, and the operation performed by the first file under the application corresponding to the first application identifier is associated with the first editing operation identifier; in response to the second input, move the first editing operation identifier from the first display area to the second display area, and display a second file in the second display area, the second file being a file obtained after performing an editing operation associated with the first editing operation identifier on the second processing interface.

[0125] In one embodiment, the response module 606 is further configured to receive a delete input for the first edit operation identifier; and in response to the delete input, delete the target operation effect associated with the first edit operation identifier.

[0126] In one embodiment, the response module 606 is further configured to receive a third input; in response to the third input, select a second target application identifier and a third target application identifier from N application identifiers, wherein the second target application identifier is associated with a second state of the first file and the third target application identifier is associated with a third state of the first file; obtain a second editing operation corresponding to the second target application identifier and a third editing operation corresponding to the third target application identifier, wherein the second editing operation is an operation performed by the first file under the application corresponding to the second target application identifier and the third editing operation is an editing operation performed by the first file under the application corresponding to the third target application identifier; mark the difference editing operation; wherein the difference editing operation is an editing operation that is inconsistent between the second editing operation and the third editing operation.

[0127] In this embodiment, by marking the differences in editing operations, users can find the differences in operations that exist under different applications, thereby understanding the root cause of the different states, so as to edit the guidance document based on the differences in editing operations.

[0128] In one embodiment, the response module 606 is further configured to, upon receiving a fourth input to the first editing operation identifier, cancel the display of the target operation effect associated with the first editing operation identifier; and, upon not receiving a fourth input to the first editing operation identifier, restore the display of the target operation effect associated with the first editing operation identifier.

[0129] In this embodiment, detailed control logic for switching the display of the target operation effect is provided. Under this control logic, the user can display the target operation effect and cancel the display of the target operation effect by inputting the fourth input of the first editing operation identifier, so as to compare and demonstrate the target operation effect by switching the display of the target operation effect or not displaying it.

[0130] In one embodiment, the fourth input may be a selection of the first editing operation identifier.

[0131] In one embodiment, the response module 606 is further configured to construct a log file, wherein the log file includes: the operations experienced by the first file, the application software responding to the operations, and the scope of the operation effect corresponding to the operations.

[0132] In one embodiment, the operations are ordered according to the sequential time order of the inputs.

[0133] In this embodiment, a log file is constructed to record the operations received on the same file across different processing interfaces and the effective range of the operation inputs, allowing users to view the data. Simultaneously, the log file facilitates the storage of the processed file's state, enabling the reproduction of historical operation effects when dragging the file across different processing interfaces.

[0134] Specifically, when a user needs to delete the first editing operation identifier, the target operation effect corresponding to the first editing operation identifier is deleted, and the operation record sorted by the input time order is also deleted.

[0135] In one embodiment, after displaying the first file, the response module 606 further includes: obtaining the historical editing operations corresponding to the first file; determining the target state associated with the first file based on the historical editing operations; and determining the fourth target application identifier associated with the target state.

[0136] In this embodiment, the state of the first file is associated with an application identifier. Therefore, after determining the state of the first file, the application identifier associated with that state, i.e., the fourth target application identifier, can be found using the state of the first file. The state of the first file is the final state presented by the first file after undergoing operations. Based on this, the state of the first file can be characterized by obtaining the historical editing operations corresponding to the first file.

[0137] During this process, it is possible to determine which application was used for editing based on the status of the first file.

[0138] In one embodiment, the response module 606 is further configured to, after determining the fourth target application identifier associated with the target state, also include: launching the application corresponding to the fourth target application identifier; or displaying the first file based on the fourth target application identifier and the target state.

[0139] In this embodiment, the application corresponding to the fourth target application identifier is launched to achieve automatic application startup, so that the user can continue to process the first file using the application. In this process, the user does not need to start it manually, which reduces the user's operation and improves the interactive experience.

[0140] In this embodiment, a first file is displayed based on the fourth target application identifier and the target status. The user can know that the displayed first file is associated with the fourth target application identifier, which facilitates its management. The management may include deleting the fourth target application identifier.

[0141] In one embodiment, the response module 606 is further configured to display the first file based on the fourth target application identifier and the target state, specifically including: displaying a thumbnail of the first file within a preset distance of the fourth target application identifier based on the target state.

[0142] In this embodiment, the positional relationship between the first file displayed based on the target state and the fourth target application identifier is defined. By limiting the thumbnail of the first file to within a preset distance of the fourth target application identifier, it is shown that the first file and the fourth target application identifier are associated in the target state.

[0143] In addition, a thumbnail of the first file is displayed to reduce the display size required to display the first file and improve the rationality of the display layout.

[0144] In one embodiment, the response module 606 is further configured to display a processing interface and at least one second target application identifier when the number of first target application identifiers is one; wherein the application corresponding to the second application identifier supports editing the first file.

[0145] This embodiment presents a solution for enabling multiple applications to process the same file when there is only one first target application identifier. In this solution, at least one second target application identifier is displayed simultaneously with the processing interface. This allows the user to switch applications for processing the first file after completing the processing of the first file by selecting at least one second target application identifier.

[0146] In one embodiment, the response module 606 is further configured to receive a fifth input for at least one second target application identifier; in response to the fifth input, determine a third target application identifier selected from at least one second target application identifier; and display an interface for the application corresponding to the third target application identifier to process the first file.

[0147] In this embodiment, upon receiving a fifth input, a response is made to the fifth input to ensure that a third target application identifier is displayed among at least one second target application identifier. It is understood that the selected second target application identifier is determined based on the fifth input, and the interface for processing the first file is displayed by the application corresponding to the third target application identifier, so as to achieve switching of the same file under different processing interfaces.

[0148] The document processing device 600 in this embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This embodiment does not specifically limit the specific type of device.

[0149] The file processing device in this application embodiment can be a device with an operating system. The operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.

[0150] The document processing apparatus 600 provided in this application embodiment can realize Figure 1 The various processes implemented in the method implementation examples will not be described again here to avoid repetition.

[0151] Optionally, such as Figure 7As shown, this application embodiment also provides an electronic device 700, including a processor 702 and a memory 704. The memory 704 stores a program or instructions that can run on the processor 702. When the program or instructions are executed by the processor 702, they implement the various steps of the above-mentioned file processing method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.

[0152] It should be noted that the electronic devices in the embodiments of this application include the aforementioned mobile electronic devices and non-mobile electronic devices.

[0153] Figure 8 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.

[0154] The electronic device 800 includes, but is not limited to, components such as: radio frequency unit 801, network module 802, audio output unit 803, input unit 804, sensor 805, display unit 806, user input unit 807, interface unit 808, memory 809, and processor 810.

[0155] Those skilled in the art will understand that the electronic device 800 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 810 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 8 The electronic device structure shown does not constitute a limitation on 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.

[0156] In one embodiment, the processor 810 is configured to: display a first file identifier and N application identifiers, the N application identifiers being associated with M states of a first file, the first file being the file corresponding to the first file identifier, and N and M being positive integers greater than 1; receive a first input to a first target application identifier among the N application identifiers, the first target application identifier being associated with a first state of the first file; and, in response to the first input, display the first file based on the first state.

[0157] In one embodiment, when there are multiple first target application identifiers, multiple processing interfaces are displayed in a split-screen manner based on the first state of the first file associated with the multiple first target application identifiers; wherein, the corresponding first file is displayed in each processing interface.

[0158] In one embodiment, the processor 810 is further configured to: when a first processing interface corresponding to a first application identifier is displayed in a first display area, and a second processing interface corresponding to a second application identifier is displayed in a second display area, receive a second input, the second input being used to instruct the first editing operation identifier to be moved from the first display area to the second display area, wherein the operation performed by the first file under the application corresponding to the first application identifier is associated with the first editing operation identifier; in response to the second input, move the first editing operation identifier from the first display area to the second display area, and display a second file in the second display area, the second file being a file obtained after performing an editing operation associated with the first editing operation identifier on the second processing interface.

[0159] In one embodiment, the processor 810 is further configured to: receive a third input; in response to the third input, select a second target application identifier and a third target application identifier from N application identifiers, wherein the second target application identifier is associated with a second state of the first file and the third target application identifier is associated with a third state of the first file; obtain a second editing operation corresponding to the second target application identifier and a third editing operation corresponding to the third target application identifier, wherein the second editing operation is an operation performed by the first file under the application corresponding to the second target application identifier and the third editing operation is an editing operation performed by the first file under the application corresponding to the third target application identifier; and mark differential editing operations; wherein, differential editing operations are editing operations that are inconsistent between the second editing operation and the third editing operation.

[0160] In one embodiment, after displaying the first file, the processor 810 is further configured to: obtain the historical editing operations corresponding to the first file; determine the target state associated with the first file based on the historical editing operations; and determine the fourth target application identifier associated with the target state.

[0161] In one embodiment, after determining the fourth target application identifier associated with the target state, the processor 810 is further configured to: launch the application corresponding to the fourth target application identifier; or display the first file based on the fourth target application identifier and the target state.

[0162] In one embodiment, the processor 810 is specifically configured to: display a thumbnail of the first file within a preset distance of the fourth target application identifier based on the target state.

[0163] It should be understood that, in this embodiment, the input unit 804 may include a graphics processing unit (GPU) 8041 and a microphone 8042. The GPU 8041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 806 may include a display panel 8061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 807 includes at least one of a touch panel 8071 and other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.

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

[0165] Processor 810 may include one or more processing units; optionally, processor 810 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 810.

[0166] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described file processing method embodiments and achieve the same technical effects. To avoid repetition, they will not be described again here.

[0167] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0168] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface and the processor are coupled. The processor is used to run programs or instructions to implement the various processes of the above-mentioned document processing method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0169] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0170] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above-described file processing method embodiments, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0171] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one" does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

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

[0173] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A method of processing a file, characterized by, The method comprises: displaying a first file identifier and N application identifiers, the N application identifiers being displayed after the first file identifier is selected, the N application identifiers being associated with M states of a first file, the first file being a file corresponding to the first file identifier, N and M being positive integers greater than 1, the N application identifiers being identifiers corresponding to applications that have edited the first file; receiving a first input of a first target application identifier in the N application identifiers, the first target application identifier being associated with a first state of the first file, the first target application identifier being used to open an application program to edit the first file; in response to the first input, displaying the first file based on the first state; in a case where the number of first target application identifiers is a plurality, displaying a plurality of processing interfaces based on the first states of the first file associated with the plurality of first target application identifiers; wherein each of the processing interfaces displays the corresponding first file; building a corresponding relationship of operation inputs corresponding to the same function under different applications; in any of the plurality of processing interfaces displayed in a split screen, receiving an operation input of the first file; in response to the operation input, displaying an operation result of the operation input in each of the plurality of processing interfaces displayed in a split screen.

2. The method of processing a file according to claim 1, wherein, Further comprising: in a case where a first processing interface corresponding to a first application identifier is displayed in a first display area and a second processing interface corresponding to a second application identifier is displayed in a second display area, receiving a second input, the second input being used to indicate that a first editing operation identifier is moved from the first display area to the second display area, an editing operation of an application corresponding to the first application identifier on the first file being associated with the first editing operation identifier; in response to the second input, moving the first editing operation identifier from the first display area to the second display area, and displaying a second file in the second display area, the second file being a file obtained after performing an editing operation on the second processing interface associated with the first editing operation identifier.

3. The method of processing a file according to claim 1, wherein, Further comprising: receiving a third input; in response to the third input, selecting a second target application identifier and a third target application identifier in the N application identifiers, the second target application identifier being associated with a second state of the first file, the third target application identifier being associated with a third state of the first file; obtaining a second editing operation corresponding to the second target application identifier and a third editing operation corresponding to the third target application identifier, the second editing operation being an operation experienced by the first file under an application corresponding to the second target application identifier, the third editing operation being an editing operation experienced by the first file under an application corresponding to the third target application identifier; marking a difference editing operation; wherein the difference editing operation is an editing operation inconsistent in the second editing operation and the third editing operation.

4. The processing method of a file according to any one of claims 1 to 3, characterized in that, After displaying the first file, further comprising: obtaining a historical editing operation corresponding to the first file; determine a target state associated with the first file according to the historical editing operation; determine a fourth target application identifier associated with the target state.

5. The method of processing a file according to claim 4, wherein, after determining the fourth target application identifier associated with the target state, further comprising: starting an application corresponding to the fourth target application identifier; or displaying the first file based on the fourth target application identifier and the target state.

6. The method of processing a file according to claim 5, wherein, the displaying the first file based on the fourth target application identifier and the target state specifically comprises: displaying a thumbnail of the first file within a preset distance of the fourth target application identifier based on the target state.

7. An apparatus for processing a file, characterized by comprising: comprising: a display module configured to display a first file identifier and N application identifiers, the N application identifiers being displayed after the first file identifier is selected, the N application identifiers being associated with M states of a first file, the first file being a file corresponding to the first file identifier, the N and M being positive integers greater than 1, the N application identifiers being identifiers of applications that have edited the first file; a receiving module configured to receive a first input on a first target application identifier in the N application identifiers, the first target application identifier being associated with a first state of the first file, the first target application identifier being used to open an application program to edit the first file; a responding module configured to display the first file based on the first state in response to the first input; the display module is further configured to: in a case where the number of first target application identifiers is a plurality, display a plurality of processing interfaces based on the first states of the first file associated with the plurality of first target application identifiers; wherein each of the processing interfaces displays a corresponding first file; establish a corresponding relationship of operation inputs corresponding to the same function under different applications; receive an operation input on the first file under any of the plurality of processing interfaces displayed in a split screen; display an operation result of the operation input in each of the plurality of processing interfaces displayed in a split screen in response to the operation input.

8. An electronic device, comprising: comprising: a processor and a memory, the memory storing a program or instructions running on the processor, the program or instructions being executed by the processor to implement the steps of the processing method according to any one of claims 1 to 6.

9. A readable storage medium, characterized by, a readable storage medium storing a program or instructions, the program or instructions being executed by a processor to implement the steps of the processing method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Information processing method, device and electronic equipment

    CN103823614A

  • File editing mark display method and device

    CN110188074A

  • Display method and electronic equipment

    CN111026477A