Nothing Special   »   [go: up one dir, main page]

WO2024041468A1 - 文件的处理方法、装置、电子设备和可读存储介质 - Google Patents

文件的处理方法、装置、电子设备和可读存储介质 Download PDF

Info

Publication number
WO2024041468A1
WO2024041468A1 PCT/CN2023/113944 CN2023113944W WO2024041468A1 WO 2024041468 A1 WO2024041468 A1 WO 2024041468A1 CN 2023113944 W CN2023113944 W CN 2023113944W WO 2024041468 A1 WO2024041468 A1 WO 2024041468A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
application
identifier
target
target application
Prior art date
Application number
PCT/CN2023/113944
Other languages
English (en)
French (fr)
Inventor
周磊
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2024041468A1 publication Critical patent/WO2024041468A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Definitions

  • This application belongs to the field of data processing, and specifically relates to a file processing method, device, electronic equipment and readable storage medium.
  • the user can call the installed application program to edit the files that need to be processed, so as to obtain the files that meet the user's needs.
  • the purpose of the embodiments of the present application is to provide a file processing method, device, electronic device and readable storage medium, which can solve the problem of cumbersome operation procedures for multiple applications to process the same file.
  • embodiments of the present application provide a file processing method, which includes: displaying a first file identifier and N application identifiers, the N application identifiers are associated with M states of the first file, and the first file is the first file Identify the corresponding file, N and M are positive integers greater than 1; receive the first input of the first target application identification among the N application identifications, and the first target application identification is associated with the first status of the first file; respond to the first Input, based on the first state, displays the first file.
  • embodiments of the present application provide a file processing device, including: a display module for displaying a first file identifier and N application identifiers, where the N application identifiers are associated with M states of the first file.
  • a file is a file corresponding to the first file identifier, and N and M are positive integers greater than 1;
  • the receiving module is used to receive the first input of the first target application identifier among the N application identifiers, and the first target application identifier is associated with The first state of the first file;
  • the response module is configured to display the first file based on the first state in response to the first input.
  • inventions of the present application provide an electronic device.
  • the electronic device includes a processor and a memory.
  • the memory stores programs or instructions that can be run on the processor. When the programs or instructions are executed by the processor, the steps of the processing method of the first aspect are implemented.
  • embodiments of the present application provide a readable storage medium.
  • Programs or instructions are stored on the readable storage medium.
  • the steps of the processing method of the first aspect are implemented.
  • inventions of the present application provide a chip.
  • the chip 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 the processing method in the first aspect.
  • embodiments of the present application provide a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processing method of the first aspect.
  • files can be saved in different states after being edited by different applications, where different states correspond to different applications.
  • the first file identifier and N application identifiers are displayed so that the user can know the files that need to be processed and the applications that support file processing, and it is also convenient for the user to select the first target application identifier from the N application identifiers, thereby realizing the first state-based to display the first file.
  • the first file can be displayed based on the stored status.
  • the same file can be stored in multiple statuses, and multiple applications can be opened conveniently by inputting the first target application identifier.
  • the program edits the same file, reducing the number of steps.
  • Figure 1 is a schematic flow chart of a file processing method in an embodiment of the present application
  • Figure 2 is a schematic diagram of the file management interface in the embodiment of the present application.
  • Figure 3 is a schematic diagram of the content in the processing interface corresponding to APP 1 being displayed in the processing interface of APP 2 when the second input is received in the embodiment of the present application;
  • Figure 4 is a schematic diagram of the area affected by the application corresponding to the first application identifier after the first file editing operation in the embodiment of the present application;
  • Figure 5 is a schematic diagram of the folded display of at least one second target application identifier in an embodiment of the present application
  • Figure 6 is a schematic block diagram of a file processing device in an embodiment of the present application.
  • Figure 7 is a schematic block diagram of an electronic device in an embodiment of the present application.
  • Figure 8 is a schematic diagram of the hardware structure of the electronic device in the embodiment of the present application.
  • first, second, etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that data so used are interchangeable under appropriate circumstances so that embodiments of the present application can be practiced in orders other than those illustrated or described herein, and "first”, “second”
  • the objects distinguished by etc. are usually of one type, and the number of objects is not limited.
  • the first object may be one or multiple.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the related objects are in an "or” relationship.
  • this embodiment of the present application provides a file processing method, including:
  • 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.
  • M is less than or equal to N, for example, M is equal to N, that is, each application identifier corresponds to a state.
  • the first file is edited and modified by the application corresponding to the application identifier to obtain the third file. It can be understood that the third file is obtained based on the first file. Therefore, the application identifier and the third file are associated. Therefore, , the third file can be regarded as a state in which the application identifier is associated with the first file.
  • the third file and the application identifier are stored in association to achieve association between the two.
  • Step 104 Receive the first input of the first target application identifier among the N application identifiers, and the first target application identifier is associated with the first status of the first file;
  • Step 106 In response to the first input, based on the first state, display the first file.
  • files can be saved in different states after being edited by different applications, where different states correspond to different applications.
  • This status can be used to represent the status of the file after being edited by an application. It can refer to the specific content of the file.
  • the same file can have different statuses after being edited by different applications.
  • the first file identifier and N application identifiers are displayed so that the user knows the file that needs to be processed and the application that processed the file, and allows the user to select the first target application identifier from the N application identifiers, and then implement the first target application identifier based on the first A state to display the first file.
  • the first file can be displayed based on the stored status.
  • the same file can be stored in multiple statuses, and multiple applications can be opened conveniently by inputting the first target application identifier.
  • the program edits the same file and reduces the number of steps, thus reducing the time spent on preliminary preparations for file comparison.
  • the first input is a selection input for selecting a first target application identification.
  • the user can select an application program to be used from multiple application programs that support file processing through the first input.
  • each application corresponds to an application identifier.
  • the N application identifiers are identifiers corresponding to applications that have edited the first file.
  • the N application identifiers are applications that meet the filtering conditions among the application identifiers that support editing the first file. identification, wherein the filtering condition is that the application corresponding to the application identification is an application that has edited the first file.
  • the P application programs may be P application programs that support processing the first file, where P is greater than N.
  • the P application programs correspond to P application identifiers, where the N application identifiers are P N selected from application identifiers.
  • the P applications are sorted from high to low based on the frequency with which they edit the first file, and the identifiers corresponding to the top N applications are selected as the N applications. logo.
  • N application identifiers are displayed.
  • the order in which the first file identifier and the N application identifiers are displayed is defined in order to improve the interactive experience.
  • the N application identifiers may be displayed after the first file identifier is selected.
  • the first file identifier is a video file identifier.
  • a selection menu pops up, in which N application logos are displayed in the selection menu for the user to select.
  • the selection menu also displays a confirmation button, so that after the user selects the first target application identifier, the user can select the OK button to end the selection of the first target application identifier.
  • the file management function can be used to search for the first file.
  • the file management interface displays the logos of file one, file two, file three, file four, file five and file six.
  • a selection menu will pop up and select N application logos and confirmation buttons are displayed in the menu.
  • multiple processing interfaces are displayed in split screens based on the first status of the first file associated with the multiple first target application identifiers; wherein, The corresponding first file is displayed in each processing interface.
  • multiple processing interfaces are displayed on a split screen so that the first files in multiple states are displayed on the same screen.
  • multiple processing interfaces are in one-to-one correspondence with multiple first target application identifiers to reduce the time cost of file comparison.
  • displaying multiple processing interfaces in split screen can be understood as displaying multiple processing interfaces in split screen mode.
  • multiple processing interfaces are displayed on the display screen at the same time, so as to It is convenient for users to compare the first files in different processing interfaces.
  • multiple processing interfaces can be arranged sequentially along the length direction of the display screen to ensure the display effect of the multiple processing interfaces.
  • the file may be a video, image, table, audio, etc.
  • the file processing method further includes: receiving an operation input for the first file in any one of the multiple processing interfaces displayed on the split screen; responding to the operation input, processing the file on the multiple processing interfaces displayed on the split screen. Each processing interface displays the operation result of the operation input.
  • the operation results caused by the operation input limited to any processing interface are synchronously displayed in each processing interface under the split-screen display.
  • users are no longer required to process the same object in each application one by one. Therefore, the waste of time and cost is reduced and the user experience is improved.
  • the corresponding relationship between the operation inputs corresponding to the same function under different applications can be constructed in advance, so that under a certain application After receiving the operation input, the operation input under other applications except one application can be determined according to the above corresponding relationship, so as to execute the same processing logic.
  • the operation input may be an overlay of special effects on the image, such as sharpening, increasing contrast, etc.
  • the file processing method further includes: displaying the first processing interface corresponding to the first application identification in the first display area, and displaying the second processing interface corresponding to the second application identification in the second display area.
  • receive a second input the second input is used to instruct the first editing operation identification to be moved from the first display area to the second display area, and the operation experienced by the first file under the application corresponding to the first application identification is consistent with the first
  • the editing operation identification is associated; in response to the second input, the first editing operation identification is moved from the first display area to the second display area, and the second file is displayed in the second display area, and the second file is the corresponding
  • the second processing interface performs an editing operation associated with the first editing operation identification and obtains a file; the first application identification and the second application identification may be application identifications in the first target application identification.
  • the user uses the first application program to process the first file in the first display area to obtain the first processing interface, and uses the second application program to process the first file in the second display area to obtain the second processing interface.
  • the second input is received, partial editing operations of the first application program on the first file can be applied to the second processing interface.
  • the corresponding function may be searched in the second application program according to the editing operation, or the interfaces of the first application program and the second application program may be interoperable, thereby realizing this process.
  • 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 displayed in the second processing interface, and the second file is the first file displayed in the first processing interface.
  • the user finishes processing the first file in the first processing interface, he needs to continue processing in the second processing interface.
  • the first file processed in the first processing interface can be , that is, the second file is transferred to the second processing interface for display, so as to realize the transfer of the same file in different processing interfaces.
  • the user can adjust the reasonable combination and use different applications to process the same file according to actual needs. Process to obtain documents that meet your needs.
  • file one is displayed in the processing interface in APP one.
  • the content of file one is displayed in the processing interface in APP two.
  • the user can drag the file from the first processing interface to the second processing interface for continued processing of the file under the second processing interface; similarly, it can be understood that the processing of the file under the second processing interface ends Afterwards, you can drag the files in the second processing interface back to the first processing interface in the same way.
  • a first editing operation identifier is displayed in the second file, where the first editing operation identifier is a first application identifier.
  • the second file in the second processing interface displays a target operation effect, where the target operation effect is an operation effect experienced by the first file under the application corresponding to the first application identification.
  • the second file in the second processing interface displays the effective range of the target operation effect, where the effective range can be understood as the location or area where the target operation effect is located.
  • the target operation effect and effective range are displayed in order to display the area affected by the operation experienced by the first file under the application corresponding to the first application identification and the effect presented, so as to facilitate the user's comparison and/or viewing.
  • the target operation effect can be replacing color, etc.
  • the area affected by the operation experienced by the first file under the application corresponding to the first application identification may be represented by a rectangular frame 402.
  • the application software used to achieve the target operation effect can be determined based on the first editing operation identifier, thereby facilitating management.
  • the first editing operation identifier 404 is located at a corner of the rectangular frame 402 .
  • the second input is received, and the second input Used to instruct the first editing operation identification to be moved from the first display area to the second display area, and the editing operation on the first file by the application corresponding to the first application identification is associated with the first editing operation identification;
  • the second file is displayed in the second processing interface, and the second file is obtained by processing the second processing interface based on the first editing operation identifier.
  • 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 application on the first file can be multiplexed into the second application, so that the editing operation on the first file by the first application is used in the second application to process the file in the second processing interface. Convenience.
  • the file processing method further includes: receiving a deletion input for the first editing operation identifier; and in response to the deletion input, deleting the target operation effect associated with the first editing operation identifier.
  • the target operation effect associated with the first editing operation identifier is deleted to facilitate the user to modify the processed file.
  • deletion input can be understood as selecting input with a delete function. For example, when clicking the first edit operation identifier, a confirmation window pops up to delete the target operation effect associated with the first edit operation identifier. If the user's confirmation operation is received , perform the delete operation.
  • a third input is received; in response to the third input, a second target application identifier and a third target application identifier among the N application identifiers are selected, and the second target application identifier is associated with the second target application identifier of the first file.
  • the third target application identifier is associated with the third state of the first file; the second edit operation corresponding to the second target application identifier is obtained, the third edit operation corresponding to the third target application identifier, the second edit operation is the first file in The second target application identifier corresponds to The operation experienced under the application, the third editing operation is the editing operation experienced by the first file under the application corresponding to the third target application identification; mark the differential editing operation; wherein the differential editing operation is the second editing operation and the third editing operation Inconsistent editing operations.
  • the second target application identifier and the third target application identifier may be application identifiers in the first target application identifier.
  • the difference editing operation is marked so that the user can find the operation differences existing in different applications, and then know the root cause of different states, so as to guide the editing of the file based on the difference editing operation.
  • the file processing method further includes: when 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; when no input to the first editing operation identifier is received; In the case of a fourth input of the first editing operation identifier, display of the target operation effect associated with the first editing operation identifier is resumed.
  • control logic for switching the display of the target operation effect.
  • the user can display the target operation effect and cancel the display of the target operation effect through the fourth input of the first editing operation identifier. , in order to show the target operation effect by switching the display or non-display of the target operation effect for comparison.
  • the fourth input may be a selected first editing operation identifier.
  • the file processing method further includes: constructing a log file, where the log file includes: the operations experienced by the first file, the application software that responded to the operations, and the range in which the operation effects corresponding to the operations take effect.
  • operations are ordered in chronological order of input.
  • a log file is constructed so that the log file can be used to record operations received by the same file at different processing interfaces and the effective range of the operation effects of the operation input for the user to view.
  • log files it is also convenient to use log files to store the status of processed files, and then when dragging files under different processing interfaces, the effects of historical operations can be reproduced.
  • the target operation effect corresponding to the first editing operation identifier is deleted, and at the same time, the operation records sorted in the inputted temporal order are deleted.
  • the principle of switching the display target operation effect is consistent with the principle of deleting the first identifier and the first editing operation identifier, which will not be described again here.
  • management is achieved by limiting the log files to include application software that responds to the operation, so that the log files can be classified and divided according to the application software that responds to the operation.
  • the method further includes: obtaining a historical editing operation corresponding to the first file; determining a target state associated with the first file based on the historical editing operation; and determining a fourth target application associated with the target state. logo.
  • the status of the first file is associated with the application identifier. Therefore, after determining the status of the first file, the status of the first file can be used to find the application identifier associated with the status, that is, the third Quad target application identification.
  • the status of the first file is the final status of the first file after the operation. Based on this, by obtaining the first
  • the historical editing operations corresponding to the file are used to characterize the status of the first file based on the historical editing operations.
  • the method further includes: 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.
  • the application corresponding to the fourth target application identification is started to realize automatic startup of the application program so that the user can use the application program to continue processing the first file. In this process, the user does not need to manually start it. It reduces user operations and improves interactive experience.
  • the first file is displayed, and the user can know that the displayed first file is associated with the fourth target application identifier, thereby facilitating its management, wherein the management can It is to delete the fourth target application identifier.
  • 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.
  • the positional relationship between the first file displayed based on the target status and the displayed fourth target application identification is defined, by limiting the thumbnail of the first file to be within a preset distance of the fourth target application identification, In order to reflect that the first file in the target state and the fourth target application identifier are associated.
  • 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.
  • 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 Edit the first file.
  • a solution is provided on how to implement multiple applications to process the same file when the number of first target application identifiers is one.
  • at least one second target application identifier is displayed so that after the user completes processing of the first file in the processing interface, the user can switch to the third file by selecting at least one second target application identifier.
  • a document processing application while displaying the processing interface, at least one second target application identifier is displayed so that after the user completes processing of the first file in the processing interface, the user can switch to the third file by selecting at least one second target application identifier.
  • the processing interface can be displayed on the entire display screen, making the operation area larger and the operation more convenient.
  • At least one second target application identifier 502 is displayed in a collapsed manner.
  • the at least one second target application identifier is uncollapsed in order to reduce at least one second target application identifier.
  • the target application identifier cancels the folded display it occupies the display screen so as to display the processing interface to the user to the greatest extent.
  • At least one second target application identifier when at least one second target application identifier is displayed in a folded manner, one of the at least one second target application identifier is displayed, and the at least one second target application identifier is displayed except for the displayed second target application identifier.
  • the application IDs of other secondary targets are displayed collapsed.
  • other second target application identifiers other than the displayed second target application identifier among the at least one second target application identifier are displayed in the form of a drop-down menu.
  • the file processing method further includes: receiving a fifth input of at least one second target application identifier; in response to the fifth input, determining a third target application identifier selected from the at least one second target application identifier. ; Display an interface for processing the first file by the application corresponding to the third target application identifier.
  • the processing interface displays a storage identification, wherein the storage identification is used to indicate storing the processed first file; receiving a sixth input to the storage identification; in response to the sixth input, storing the processed first file .
  • the storage identification is displayed on the processing interface to facilitate the user to store the processed first file by inputting the storage identification.
  • the storage identifier is the text "Save”.
  • the execution subject may be a file processing device.
  • a file processing device executing a file processing method is used as an example to illustrate the file processing device provided by the embodiments of the present application.
  • a file processing device 600 including: a display module 602 for displaying a first file identifier and N application identifiers, and the N application identifiers are associated with the first M states of the file, the first file is the file corresponding to the first file identifier, N and M are positive integers greater than 1; the receiving module 604 is used to receive the first target application identifier among the N application identifiers. Input, the first target application identifier is associated with the first state of the first file; the response module 606 is configured to respond to the first input and display the first file based on the first state.
  • files can be saved in different states after being edited by different applications, where different states correspond to different applications.
  • the first file identifier and N application identifiers are displayed so that the user knows the file that needs to be processed and the application that processed the file, and allows the user to select the first target application identifier from the N application identifiers, and then implement the first target application identifier based on the N application identifiers.
  • the first input is a selection input for selecting a first target application identification.
  • the user can select an application program to be used from multiple application programs that support file processing through the first input.
  • each application corresponds to an application identifier.
  • the N application identifiers are identifiers corresponding to applications that have edited the first file.
  • the N application identifiers are applications that meet the filtering conditions among the application identifiers that support editing the first file. identification, wherein the filtering condition is that the application corresponding to the application identification is an application that has edited the first file.
  • the P application programs may be P application programs that support processing the first file, where P is greater than N.
  • the P application programs correspond to P application identifiers, where the N application identifiers are P N selected in application ID indivual.
  • the P applications are sorted from high to low based on the frequency with which they edit the first file, and the identifiers corresponding to the top N applications are selected as the N applications. logo.
  • N application identifiers are displayed.
  • the order in which the first file identifier and the N application identifiers are displayed is defined in order to improve the interactive experience.
  • the N application identifiers may be displayed after the first file identifier is selected.
  • the first file identifier is a video file identifier.
  • a selection menu pops up, in which N application logos are displayed in the selection menu for the user to select.
  • the selection menu also displays a confirmation button, so that after the user selects the first target application identifier, the user can select the OK button to end the selection of the first target application identifier.
  • the file management function can be used to search for the first file.
  • the display module 602 is further configured to: when there are multiple first target application identifiers, split the screen based on the first status of the first file associated with the multiple first target application identifiers. Multiple processing interfaces are displayed; in each processing interface, a corresponding first file is displayed.
  • multiple processing interfaces are displayed on a split screen so that the first files in multiple states are displayed on the same screen.
  • multiple processing interfaces are in one-to-one correspondence with multiple first target application identifiers to reduce the time cost of file comparison.
  • the display module 602 is also used to: receive an operation input for the first file in any of the multiple processing interfaces displayed in the split screen; respond to the operation input, in the split-screen display The operation result of the operation input is displayed in each of the plurality of processing interfaces.
  • the operation results caused by the operation input limited to any processing interface are synchronously displayed in each processing interface under the split-screen display.
  • users are no longer required to process the same object in each application one by one. Therefore, the waste of time and cost is reduced and the user experience is improved.
  • the corresponding relationship between the operation inputs corresponding to the same function under different applications can be constructed in advance, so that under a certain application After receiving the operation input, the operation input under other applications except one application can be determined according to the above corresponding relationship, so as to execute the same processing logic.
  • the response module 606 is also configured to: display the first processing interface corresponding to the first application identification in the first display area, and display the second processing interface corresponding to the second application identification in the second display area.
  • the second input is used to instruct the first editing operation identification to be moved from the first display area to the second display area, and the operation experienced by the first file under the application corresponding to the first application identification is the same as
  • the first editing operation identifier is associated; 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, and the second file is the second processing
  • the interface performs the editing operation associated with the first editing operation identifier. to the file.
  • the response module 606 is also configured to receive a deletion input for the first editing operation identifier; in response to the deletion input, delete the target operation effect associated with the first editing operation identifier.
  • the response module 606 is also configured to receive a third input; in response to the third input, select the second target application identifier and the third target application identifier among the N application identifiers, and the second target application identifier Associated with the second state of the first file, the third target application identifier is associated with the third state of the first file; obtaining the second editing operation corresponding to the second target application identifier, the third editing operation corresponding to the third target application identifier, and the second The editing operation is an operation experienced by the first file under the application corresponding to the second target application identification, and the third editing operation is an editing operation experienced by the first file under the application corresponding to the third target application identification; mark the difference editing operation; wherein, The differential editing operation is an editing operation that is inconsistent between the second editing operation and the third editing operation.
  • the difference editing operation is marked so that the user can find the operation differences existing in different applications, thereby knowing the root cause of different states, so as to guide the editing of the file based on the difference editing operation.
  • the response module 606 is also configured to cancel the display of the target operation effect associated with the first editing operation identification when a fourth input to the first editing operation identification is received; In the case of a fourth input of the first editing operation identifier, display of the target operation effect associated with the first editing operation identifier is resumed.
  • control logic for switching the display of the target operation effect.
  • the user can display the target operation effect and cancel the display of the target operation effect through the fourth input of the first editing operation identifier. , in order to show the target operation effect by switching the display or non-display of the target operation effect for comparison.
  • the fourth input may be a selected first editing operation identifier.
  • the response module 606 is also used to construct a log file, where the log file includes: the operation experienced by the first file, the application software that responded to the operation, and the range in which the operation effect corresponding to the operation takes effect.
  • operations are ordered in chronological order of input.
  • a log file is constructed so that the log file can be used to record operations received by the same file at different processing interfaces and the effective range of the operation effects of the operation input for the user to view.
  • log files it is also convenient to use log files to store the status of processed files, and then when dragging files under different processing interfaces, the effects of historical operations can be reproduced.
  • the target operation effect corresponding to the first editing operation identifier is deleted, and at the same time, the operation records sorted in the inputted temporal order are deleted.
  • the response module 606 is also used to display the first file and further include: obtaining the historical editing operation corresponding to the first file; determining the target status associated with the first file according to the historical editing operation; determining the target status associated with the first file.
  • the fourth target application identifier associated with the state is also used to display the first file and further include: obtaining the historical editing operation corresponding to the first file; determining the target status associated with the first file according to the historical editing operation; determining the target status associated with the first file.
  • the fourth target application identifier associated with the state is also used to display the first file and further include: obtaining the historical editing operation corresponding to the first file; determining the target status associated with the first file according to the historical editing operation; determining the target status associated with the first file.
  • the status of the first file is associated with the application identifier. Therefore, after determining the status of the first file, the status of the first file can be used to find the application identifier associated with the status, that is, the third Quad target application identification.
  • the status of the first file is the final status of the first file after undergoing operations. Based on this, the historical editing operations corresponding to the first file are obtained to characterize the status of the first file based on the historical editing operations.
  • the response module 606 is further configured to, after determining the fourth target application identifier associated with the target state, further include: starting an application corresponding to the fourth target application identifier; or based on the fourth target application identifier and the target status, showing the first file.
  • the application corresponding to the fourth target application identification is started to realize automatic startup of the application program so that the user can use the application program to continue processing the first file. In this process, the user does not need to manually start it. It reduces user operations and improves interactive experience.
  • the first file is displayed, and the user can know that the displayed first file is associated with the fourth target application identifier, thereby facilitating its management, wherein the management can It is to delete the fourth target application identifier.
  • 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: based on the target state, displaying the third file within a preset distance of the fourth target application identifier.
  • a thumbnail image of a file is further configured to display the first file based on the fourth target application identifier and the target state, specifically including: based on the target state, displaying the third file within a preset distance of the fourth target application identifier.
  • the positional relationship between the first file displayed based on the target status and the displayed fourth target application identification is defined, by limiting the thumbnail of the first file to be within a preset distance of the fourth target application identification, In order to reflect that the first file in the target state and the fourth target application identifier are associated.
  • 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.
  • the response module 606 is also 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 Edit the first file.
  • a solution is provided on how to implement multiple applications to process the same file when the number of first target application identifiers is one.
  • at least one second target application identifier is displayed so that after the user completes processing of the first file in the processing interface, the user can switch to the third file by selecting at least one second target application identifier.
  • a file processing application while displaying the processing interface, at least one second target application identifier is displayed so that after the user completes processing of the first file in the processing interface, the user can switch to the third file by selecting at least one second target application identifier.
  • the response module 606 is further configured to receive a fifth input of at least one second target application identifier; in response to the fifth input, determine the selected third target application identifier among the at least one second target application identifier. ; Display an interface for processing the first file by the application corresponding to the third target application identifier.
  • the file processing device 600 in the embodiment of the present application may be an electronic device or a component of the electronic device, such as an integrated circuit or a chip.
  • the electronic device may be a terminal or other devices other than the terminal.
  • the electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, or a mobile Internet access device.
  • Device Mobile Internet Device, MID
  • AR augmented reality
  • VR virtual reality
  • robot wearable device
  • PDA Personal digital assistant
  • the file processing device in the embodiment of the present application may be a device with an operating system.
  • the operating system can be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of this application.
  • the file processing device 600 provided by the embodiment of the present application can implement each process implemented by the method embodiment in Figure 1. To avoid duplication, details will not be described here.
  • this embodiment of the present application also provides an electronic device 700, including a processor 702 and a memory 704.
  • the memory 704 stores programs or instructions that can be run on the processor 702. The program or When the instructions are executed by the processor 702, each step of the above-mentioned file processing method embodiment is implemented, and the same technical effect can be achieved. To avoid duplication, the details will not be described here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 8 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 800 includes but is not limited to: 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, processor 810, etc. part.
  • the electronic device 800 may also include a power supply (such as a battery) that supplies power to various components.
  • the power supply may be logically connected to the processor 810 through a power management system, thereby managing charging, discharging, and function through the power management system. Consumption management and other functions.
  • the structure of the electronic device shown in Figure 8 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than shown in the figure, or combine certain components, or arrange different components, which will not be described again here. .
  • the processor 810 is configured to: display the first file identifier and N application identifiers, the N application identifiers are associated with M states of the first file, and the first file is the file corresponding to the first file identifier, N and M are positive integers greater than 1; receiving a first input to a first target application identifier among the N application identifiers, the first target application identifier being associated with the first status of the first file; in response to the first input, based on the first status, showing the first file.
  • multiple processing interfaces are displayed in split screens based on the first status of the first file associated with the multiple first target application identifiers; wherein, The corresponding first file is displayed in each processing interface.
  • the processor 810 is further configured to: display the first processing interface corresponding to the first application identification in the first display area, and display the second processing interface corresponding to the second application identification in the second display area.
  • a second input is received, and 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 operation experienced by the first file under the application corresponding to the first application identification is associated with the first editing operation identification; in response to the second input, the first editing operation identification is moved from the first display area to the second display area, and in The second display area displays a second file, and the second file is a file obtained after performing an editing operation associated with the first editing operation identifier on the second processing interface.
  • 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 among the N application identifiers, and the second target application
  • the identification is associated with the second state of the first file
  • the third target application identification is associated with the third state of the first file
  • the second editing operation is an operation experienced by the first file under the application corresponding to the second target application identification
  • the third editing operation is an editing operation experienced by the first file under the application corresponding to the third target application identification; mark the difference editing operation; where , the differential editing operation is the editing operation that is inconsistent between the second editing operation and the third editing operation.
  • the processor 810 is further configured to: obtain the historical editing operations corresponding to the first file; determine the target status associated with the first file based on the historical editing operations; determine the target status associated with the first file.
  • the fourth target application identification is further configured to: obtain the historical editing operations corresponding to the first file; determine the target status associated with the first file based on the historical editing operations; determine the target status associated with the first file. The fourth target application identification.
  • the processor 810 is further configured to: start an application corresponding to the fourth target application identifier; or based on the fourth target application identifier and the target state, Display the first file.
  • the processor 810 is specifically configured to: based on the target state, display the thumbnail of the first file within a preset distance identified by the fourth target application.
  • the input unit 804 may include a graphics processor (Graphics Processing Unit, GPU) 8041 and a microphone 8042.
  • the graphics processor 8041 is responsible for the image capture device (GPU) in the video capture mode or the image capture mode. Process the image data of still pictures or videos obtained by cameras (such as cameras).
  • 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 a touch panel 8071 and at least one of other input devices 8072 .
  • Touch panel 8071 also known as touch screen.
  • the touch panel 8071 may include two parts: 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 keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
  • Memory 809 can be used to store software programs as well as various data.
  • the memory 809 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, Image playback function, etc.) etc.
  • memory 809 may include volatile memory or non-volatile memory, or memory 809 may include both volatile and non-volatile memory.
  • the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory. Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory.
  • Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced Type synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM).
  • RAM Random Access Memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • DRAM synchronous dynamic random access memory
  • SDRAM double data rate synchronous dynamic random access memory
  • Double Data Rate SDRAM Double Data Rate SDRAM
  • DDRSDRAM double Data Rate SDRAM
  • Enhanced SDRAM, ESDRAM synchronous link dynamic random access memory
  • Synch link DRAM, SLDRAM synchronous link dynamic random access memory
  • the processor 810 may include one or more processing units; optionally, the processor 810 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface, application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the above modem processor may not be integrated into the processor 810.
  • Embodiments of the present application also provide a readable storage medium.
  • Programs or instructions are stored on the readable storage medium.
  • the program or instructions are executed by a processor, each process of the above file processing method embodiment is implemented, and the same process can be achieved. To avoid repetition, the technical effects will not be repeated here.
  • Readable storage media includes computer-readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disks or optical disks.
  • the embodiment of the present application also provides a chip.
  • the chip 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 file processing method embodiment, and can achieve the same The technical effects will not be repeated here to avoid repetition.
  • chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-a-chip or system-on-chip, etc.
  • Embodiments of the present application provide a computer program product.
  • the program product is stored in a storage medium.
  • the program product is executed by at least one processor to implement each process of the above file processing method embodiment, and can achieve the same technology. The effect will not be described here to avoid repetition.
  • the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes a number of instructions to make a terminal (can be a mobile phone, computer , server, or network device, etc.) to execute the methods of various embodiments of this application.
  • a storage medium such as ROM/RAM, magnetic disk, optical disk

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请公开了一种文件的处理方法、装置、电子设备和可读存储介质,属于数据处理领域。文件的处理方法包括:显示第一文件标识和N个应用标识,N个应用标识关联第一文件的M个状态,第一文件为第一文件标识对应的文件,N和M为大于1的正整数;接收对N个应用标识中第一目标应用标识的第一输入,第一目标应用标识关联第一文件的第一状态;响应于第一输入,基于第一状态,显示第一文件。

Description

文件的处理方法、装置、电子设备和可读存储介质
相关申请的交叉引用
本申请要求在2022年08月25日提交中国专利局、申请号为202211028208.5、名称为“文件的处理方法、装置、电子设备和可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请属于数据处理领域,具体涉及一种文件的处理方法、装置、电子设备和可读存储介质。
背景技术
相关技术方案中,用户可以调用安装的应用程序对需要处理的文件进行编辑,以便得到满足用户需要的文件。
然而,随着应用程序的不断丰富,很多应用程序之间所实现的功能出现了重合,也即,多个应用程序都实现了某一个功能或某一个相似的功能。由于不同应用程序的开发者不一样,开发得到的应用程序也不一样,实现某一个功能所能达到的效果也不一样。若需多个应用程序对同一文件进行处理时,需要先打开一个应用程序对文件进行处理,在看到处理后的效果后关闭该应用程序,再打开一个应用程序对同一文件进行处理,将处理后的效果与之前的效果进行比较,从而筛选得到满意的文件,操作过程较为繁琐。
发明内容
本申请实施例的目的是提供一种文件的处理方法、装置、电子设备和可读存储介质,能够解决多个应用程序对同一个文件进行处理的操作过程繁琐的问题。
第一方面,本申请实施例提供了一种文件的处理方法,包括:显示第一文件标识和N个应用标识,N个应用标识关联第一文件的M个状态,第一文件为第一文件标识对应的文件,N和M为大于1的正整数;接收对N个应用标识中第一目标应用标识的第一输入,第一目标应用标识关联第一文件的第一状态;响应于第一输入,基于第一状态,显示第一文件。
第二方面,本申请实施例提供了一种文件的处理装置,包括:显示模组,用于显示第一文件标识和N个应用标识,N个应用标识关联第一文件的M个状态,第一文件为第一文件标识对应的文件,N和M为大于1的正整数;接收模组,用于接收对N个应用标识中第一目标应用标识的第一输入,第一目标应用标识关联第一文件的第一状态;响应模组,用于响应于第一输入,基于第一状态,显示第一文件。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,存 储器存储可在处理器上运行的程序或指令,程序或指令被处理器执行时实现如第一方面的处理方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,可读存储介质上存储程序或指令,程序或指令被处理器执行时实现如第一方面的处理方法的步骤。
第五方面,本申请实施例提供了一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现如第一方面的处理方法。
第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面的处理方法。
在本申请实施例中,文件在被不同应用编辑后,能够以不同的状态保存下来,其中,不同的状态与不同应用相对应。显示的第一文件标识和N个应用标识,以便用户知悉需要处理的文件以及支持对文件处理的应用,并便于用户从N个应用标识中选取出第一目标应用标识,进而实现基于第一状态来显示第一文件。
基于此,在需要选取让人满意的文件时,可以基于存储的状态来显示第一文件,同一文件可以存储有多个状态,通过对第一目标应用标识的输入即可便捷地打开多个应用程序对同一文件进行编辑后的结果,减少了操作的步骤。
附图说明
图1是本申请实施例中文件的处理方法的流程示意图;
图2是本申请实施例中文件管理界面的示意图;
图3是本申请实施例中在接收到第二输入的情况下APP一对应的处理界面中的内容在APP二中的处理界面内显示的示意图;
图4是本申请实施例中第一应用标识对应的应用对第一文件编辑操作后所影响的区域的示意图;
图5是本申请实施例中至少一个第二目标应用标识折叠显示的示意图;
图6是本申请实施例中文件的处理装置的示意框图;
图7是本申请实施例中电子设备的示意框图;
图8是本申请实施例中电子设备的硬件结构示意图。
具体实施例
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二” 等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的文件的处理方法、装置、电子设备和可读存储介质进行详细地说明。
在其中一个实施例中,如图1所示,本申请实施例提供了一种文件的处理方法,包括:
步骤102,显示第一文件标识和N个应用标识,N个应用标识关联第一文件的M个状态,第一文件为第一文件标识对应的文件,N和M为大于1的正整数。
在其中一个实施例中,M小于或等于N,如M等于N,也即每个应用标识对应一个状态。其中,第一文件在应用标识对应的应用编辑修改后得到第三文件,可以理解的是,第三文件是基于第一文件得到的,因此,应用标识与第三文件之间是关联的,因此,可以将第三文件看作应用标识关联第一文件的一个状态。
在其中一个实施例中,第三文件与应用标识之间关联存储,以实现两者之间的关联。
步骤104,接收对N个应用标识中第一目标应用标识的第一输入,第一目标应用标识关联第一文件的第一状态;
步骤106,响应于第一输入,基于第一状态,显示第一文件。
在本申请实施例中,文件在不同应用编辑后,能够以不同的状态保存下来,其中,不同的状态与不同应用相对应。该状态可以用于表示文件在经过应用编辑后文件的情况,可以是指文件的具体内容,同一个文件在经过不同应用的编辑后可以具有不同的状态。显示的第一文件标识和N个应用标识,以便用户知悉需要处理的文件以及对该文件进行了处理的应用,并便于用户从N个应用标识中选取出第一目标应用标识,进而实现基于第一状态来显示第一文件。
基于此,在需要选取让人满意的文件时,可以基于存储的状态来显示第一文件,同一文件可以存储有多个状态,通过对第一目标应用标识的输入即可便捷地打开多个应用程序对同一文件进行编辑后的结果,减少了操作的步骤,故减少了文件比较前期的准备工作所花费的时间。
在其中一个实施例中,第一输入是选择第一目标应用标识的选择输入,具体地,用户可以通过第一输入从支持对文件进行处理的多个应用程序中选择需要使用的应用程序。其中,每一个应用程序对应一个应用标识。
在其中一个实施例中,N个应用标识是对第一文件编辑过的应用所对应的标识,具体地,N个应用标识是在支持对第一文件进行编辑的应用标识中满足筛选条件的应用标识,其中,筛选条件为应用标识对应的应用是对第一文件编辑过的应用。
在该实施例中,支持对第一文件进行处理的应用程序可以是P个,其中,P大于N,对应地,P个应用程序对应有P个应用标识,其中,N个应用标识是P个应用标识中选取的N个。
在其中一个实施例中,基于P个应用程序对第一文件编辑的频次由高至低对P个应用程序进行排序,并将排序靠前的N个应用程序所对应的标识选为N个应用标识。
在其中一个实施例中,在显示第一文件标识之后,显示N个应用标识。
在该实施例中,限定了第一文件标识和N个应用标识显示的先后次序,以便提高交互体验。
在其中一个实施例中,N个应用标识可以是在第一文件标识被选定后显示的,具体地,在需要对视频进行处理时,第一文件标识为视频文件标识,通过长按视频文件标识,弹出选择菜单,其中,选择菜单中显示有N个应用标识,以供用户进行选取。
在其中一个实施例中,选择菜单还显示有确认按钮,以便在用户选定第一目标应用标识后,可以通过选定确定按钮,以结束第一目标应用标识的选定。
在其中一个实施例中,可以利用文件管理这一功能实现第一文件的查找。
具体地,如图2所示,文件管理界面下显示有文件一、文件二、文件三、文件四、文件五和文件六的标识,在用户长按“文件一”的标识弹出选择菜单,选择菜单中显示有N个应用标识和确认按钮。
在其中一个实施例中,在第一目标应用标识的数量为多个的情况下,基于多个第一目标应用标识关联的第一文件的第一状态,分屏显示多个处理界面;其中,每一个处理界面中显示对应的第一文件。
在该实施例中,通过分屏显示多个处理界面,以便将多个状态的第一文件同屏显示出来,在此过程中,方便用户对比不同应用程序的处理后的第一文件,提高比对效率。
在其中一个实施例中,多个处理界面与多个第一目标应用标识一一对应,以减少文件比较所花费的时间成本。
在该实施例中,分屏显示多个处理界面可以理解为,在分屏模式下,显示多个处理界面,具体地,在分屏模式下,多个处理界面同时显示在显示屏幕内,以方便用户对不同的处理界面中的第一文件进行比对。
在其中一个实施例中,多个处理界面可以沿显示屏幕的长度方向依次排列,以便确保多个处理界面的显示效果。
在其中一个实施例中,文件可以是视频、图像、表格、音频等。在其中一个实施例中,文件的处理方法还包括:在分屏显示的多个处理界面中的任一处理界面下,接收对第一文件的操作输入;响应操作输入,在分屏显示的多个处理界面中每一处理界面内显示操作输入的操作结果。
在该实施例中,考虑到上述控制方案中需要用户手动在每一个应用程序下对文件进行处理,而多次重复性的操作也会造成时间成本的浪费,使得用户体验不佳。
本申请的实施例中,通过限定在任一处理界面下的操作输入所带来的操作结果同步在分屏显示下的每一个处理界面中显示。在此过程中,不再需要用户逐一在每一个应用程序下的对同一对象进行处理,因此,减少了时间成本的浪费,提高了用户的使用体验。
在其中一个实施例中,考虑到不同应用下同一个功能所对应的操作输入是不一样的,因此,可以预先构建不同应用下同一功能所对应的操作输入的对应关系,以便在某一个应用下接收到操作输入之后,可以根据上述对应关系,确定除了某一个应用之外的其它应用下的操作输入,从而执行相同的处理逻辑。
在其中一个实施例中,操作输入可以是图像的特效叠加,如锐化、提高对比度等。
在其中一个实施例中,文件的处理方法还包括:在第一显示区域显示第一应用标识对应的第一处理界面,且在第二显示区域显示第二应用标识对应的第二处理界面的情况下,接收第二输入,第二输入用于指示将第一编辑操作标识由第一显示区域移动至第二显示区域,第一文件在第一应用标识对应的应用下所经历的操作与第一编辑操作标识关联;响应于第二输入,将第一编辑操作标识由第一显示区域移动至第二显示区域,以及在所述第二显示区域显示第二文件,所述第二文件为对所述第二处理界面进行与所述第一编辑操作标识关联的编辑操作后得到的文件;第一应用标识和第二应用标识可以为第一目标应用标识中的应用标识。
在该实施例中,考虑到不同应用程序对第一文件处理所得到的效果是不一样的,若一直采用同一个应用对第一文件进行处理,处理得到的第一文件无法满足用户的需求,为了解决该问题,本申请的技术方案将不同应用界面之间的处理联动起来,以便确保处理后的第一文件满足用户的需要。
具体地,用户在第一显示区域利用第一应用程序对第一文件处理,得到第一处理界面,在第二显示区域利用第二应用程序对第一文件处理,得到第二处理界面,此时,若接收到第二输入,可以将第一应用程序对第一文件的部分编辑操作应用到第二处理界面中。可选地,可以是根据该编辑操作在第二应用程序中查找对应的功能,或者,第一应用程序和第二应用程序的接口可以是互通的,从而实现该过程。
可选地,响应于所述第二输入,将所述第一编辑操作标识由所述第一显示区域移动至所述第二显示区域,以及在所述第二显示区域显示第二文件在第二处理界面中显示第二文件,第二文件是第一处理界面中显示的第一文件。
具体地,用户在第一处理界面对第一文件处理结束之后,需要在第二处理界面内继续处理,此时,若接收到第二输入,可以将第一处理界面内处理后的第一文件,也即第二文件转移到第二处理界面内显示,以便实现同一个文件在不同处理界面内的转移,在此过程中,用户可以根据实际使用需要调整合理组合使用不同应用对同一个文件进行处理,从而得到满足需求的文件。
举例来说,如图3所示,在APP一中的处理界面中显示有文件一,在接收到第二输入的情况下,文件一的内容在APP二中的处理界面内显示。
用户可以把文件从第一处理界面中拖动到第二处理界面,以供在第二处理界面下对文件继续进行处理;同样地,可以理解的是,在第二处理界面下对文件处理结束之后,可以通过同样的方式,将第二处理界面下的文件拖回到第一处理界面。
在其中一个实施例中,第二文件中显示有第一编辑操作标识,其中,第一编辑操作标识为第一应用标识。
在其中一个实施例中,第二处理界面中的第二文件中显示有目标操作效果,其中,目标操作效果是第一文件在第一应用标识对应的应用下所经历的操作效果。
在其中一个实施例中,第二处理界面中的第二文件中显示有目标操作效果的生效范围,其中,生效范围可以理解为目标操作效果所在的位置或区域。
在该实施例中,目标操作效果和生效范围的显示,以便展示第一文件在第一应用标识对应的应用下所经历操作所影响的区域和呈现的效果,以方便用户进行对比和/或查看。
举例来说,目标操作效果可以是替换颜色等。
在其中一个实施例中,具体地,如图4所示,第一文件在第一应用标识对应的应用下所经历操作所影响的区域可以以矩形框402来表示。
在该实施例中,通过显示第一编辑操作标识,可以根据第一编辑操作标识来确定达到目标操作效果时所使用的应用软件,进而方便进行管理。
具体地,如图4所示,第一编辑操作标识404位于矩形框402的一角。
可选地,在第一显示区域显示第一应用标识对应的第一处理界面,且在第二显示区域显示第二应用标识对应的第二处理界面的情况下,接收第二输入,第二输入用于指示将第一编辑操作标识由第一显示区域移动至第二显示区域,第一应用标识对应的应用对第一文件的编辑操作与所述第一编辑操作标识关联;
响应于第二输入,将第一编辑操作标识由第一显示区域移动至第二显示区域,以及
在第二处理界面中显示第二文件,第二文件是基于第一编辑操作标识对第二处理界面进行处理得到的。
可选地,第二文件是基于第一编辑操作标识所关联的编辑操作对第二处理界面进行处理得到的。即可以将第一应用对第一文件的编辑操作复用到第二应用中,从而在第二应用中利用第一应用对第一文件的编辑操作对第二处理界面中的文件进行处理,操作便捷。
在其中一个实施例中,文件的处理方法还包括:接收对第一编辑操作标识的删除输入;响应删除输入,删除与第一编辑操作标识关联的目标操作效果。
在该实施例中,在接收到删除输入的情况下,对第一编辑操作标识关联的目标操作效果进行删除,以便方便用户对处理后的文件进行修改。
其中,删除输入可以理解为选定具有删除功能的输入,如在点击第一编辑操作标识的情况下,弹出删除第一编辑操作标识关联的目标操作效果的确认窗口,若接收到用户的确定操作,执行删除操作。
在其中一个实施例中,接收第三输入;响应于第三输入,选定N个应用标识中的第二目标应用标识和第三目标应用标识,第二目标应用标识关联第一文件的第二状态,第三目标应用标识关联第一文件的第三状态;获取第二目标应用标识对应的第二编辑操作,第三目标应用标识对应的第三编辑操作,第二编辑操作是第一文件在第二目标应用标识对应的 应用下经历的操作,第三编辑操作为第一文件在第三目标应用标识对应的应用下经历的编辑操作;标记差异编辑操作;其中,差异编辑操作为第二编辑操作和第三编辑操作中不一致的编辑操作。可选地,第二目标应用标识和第三目标应用标识可以为第一目标应用标识中的应用标识。
在该实施例中,通过标记差异编辑操作,以便用户查找得到不同应用程序下存在的操作差异,进而知悉形成不同状态的根本原因,以便基于差异编辑操作指导文件的编辑。
在其中一个实施例中,文件的处理方法还包括:在接收到对第一编辑操作标识的第四输入的情况下,取消显示与第一编辑操作标识关联的目标操作效果;在未接收到对第一编辑操作标识的第四输入的情况下,恢复显示与第一编辑操作标识关联的目标操作效果。
在该实施例中,给出了切换显示目标操作效果的详细控制逻辑,在该控制逻辑下,用户可以通过对第一编辑操作标识的第四输入来实现显示目标操作效果和取消显示目标操作效果,以便通过切换目标操作效果显示或不显示来对比,以展示目标操作效果。
在其中一个实施例中,第四输入可以是选定第一编辑操作标识。
在其中一个实施例中,文件的处理方法还包括:构建日志文件,其中,日志文件包括:第一文件所经历的操作、响应操作的应用软件、操作对应的操作效果所生效的范围。
在其中一个实施例中,操作以输入的前后时间次序进行排序。
在该实施例中,通过构建日志文件,以便利用日志文件来记录同一文件在不同处理界面所接收到的操作和操作输入的操作效果所生效的范围,以供用户进行查看。同时,也便于利用日志文件实现处理后的文件的状态存储,进而在不同的处理界面下拖动文件时,可以实现历史操作效果的复现。
具体地,在用户需要删除第一编辑操作标识的情况下,删除第一编辑操作标识对应目标操作效果,同时删除以输入的前后时间次序进行排序中的这次操作记录。
举例来说,当前用户已经操作了3步,我们要删除第2步,那么首先删除“操作步骤记录文件”里的第2条记录,然后在原始文件的基础上依次执行“以输入的前后时间次序进行排序”中剩下的操作步骤,也就是之前的第1、第3步操作。
在其中一个实施例中,切换显示目标操作效果的原理与删除第一标识第一编辑操作标识的原理一致,在此不再赘述。
在其中一个实施例中,通过限定日志文件中包含有响应操作的应用软件,以便方便根据响应操作的应用软件对日志文件进行分类划分,从而实现管理。
在其中一个实施例中,显示第一文件之后,还包括:获取第一文件对应的历史编辑操作;根据历史编辑操作确定与第一文件关联的目标状态;确定与目标状态关联的第四目标应用标识。
在该实施例中,第一文件的状态是与应用标识关联的,因此,在确定第一文件的状态之后,可以利用第一文件的状态来查找得到与该状态关联的应用标识,也即第四目标应用标识。而第一文件的状态是第一文件经历操作所最终呈现的状态,基于此,通过获取第一 文件对应的历史编辑操作,以便根据历史编辑操作来表征第一文件的状态。
在此过程中,能够根据第一文件的状态知悉采用哪一应用程序编辑的。
在其中一个实施例中,在确定与目标状态关联的第四目标应用标识之后,还包括:启动第四目标应用标识对应的应用;或基于第四目标应用标识和目标状态,显示第一文件。
在该实施例中,通过启动第四目标应用标识对应的应用,以便实现应用程序的自动启动,以便用户可以利用该应用程序对第一文件继续进行处理,在此过程中,无需用户手动启动,减少了用户的操作,提高了交互体验。
在该实施例中,基于第四目标应用标识和目标状态,显示第一文件,用户可以知悉显示的第一文件是与第四目标应用标识关联的,进而便于对其进行管理,其中,管理可以是删除第四目标应用标识。
在其中一个实施例中,基于第四目标应用标识和目标状态,显示第一文件,具体包括:基于目标状态,在第四目标应用标识的预设距离内,显示第一文件的缩略图。
在该实施例中,限定了基于目标状态显示的第一文件与显示的第四目标应用标识之间的位置关系,通过限定第一文件的缩略图在第四目标应用标识的预设距离内,以便体现目标状态下的第一文件和第四目标应用标识是关联的。
此外,以第一文件的缩略图显示,以便减少显示第一文件所需要的显示尺寸,提高显示布局的合理性。
在其中一个实施例中,文件的处理方法还包括:在第一目标应用标识的数量为一个的情况下,显示处理界面和至少一个第二目标应用标识;其中,第二应用标识对应的应用支持编辑第一文件。
在该实施例中,给出了在第一目标应用标识的数量为一个的情况下,如何实现多个应用对同一个文件进行处理的方案。在该方案中,在显示处理界面的同时,显示至少一个第二目标应用标识,以供用户在处理界面下完成第一文件的处理后,可以通过选取至少一个第二目标应用标识来切换对第一文件处理的应用。
在上述过程中,处理界面可以是在整个显示屏幕中显示,使得操作区域更大,操作更方便。
在其中一个实施例中,如图5所示,至少一个第二目标应用标识502折叠显示,在接收到展开输入的情况下,至少一个第二目标应用标识取消折叠显示,以便减少至少一个第二目标应用标识取消折叠显示的情况下,对显示屏幕的占用,以便最大程度的向用户展示处理界面。
在其中一个实施例中,在至少一个第二目标应用标识折叠显示的情况下,至少一个第二目标应用标识中的一个显示,至少一个第二目标应用标识中除了显示的第二目标应用标识之外的其它第二目标应用标识折叠显示。
在其中一个实施例中,至少一个第二目标应用标识中除了显示的第二目标应用标识之外的其它第二目标应用标识采用下拉菜单的形式展示。
在其中一个实施例中,文件的处理方法还包括:接收对至少一个第二目标应用标识的第五输入;响应第五输入,确定至少一个第二目标应用标识中选定的第三目标应用标识;显示第三目标应用标识对应的应用对第一文件进行处理的界面。
在该实施例中,在接收到第五输入的情况下,对第五输入进行响应,以便确保显示的至少一个第二目标应用标识中的第三目标应用标识,可以理解的是,根据第五输入来确定选定第二目标应用标识,通过显示第三目标应用标识对应的应用对第一文件进行处理的界面,以便实现同一文件在不同处理界面下的切换。
在其中一个实施例中,处理界面显示有存储标识,其中,存储标识用于指示存储处理后的第一文件;接收对存储标识的第六输入;响应第六输入,存储处理后的第一文件。
在该实施例中,在处理界面上显示存储标识,以便方便用户通过对存储标识的输入实现处理后的第一文件的存储。
在其中一个实施例中,存储标识为“保存”文字。
本申请实施例提供的文件的处理方法,执行主体可以为文件的处理装置。本申请实施例中以文件的处理装置执行文件的处理方法为例,说明本申请实施例提供的文件的处理装置。
在其中一个实施例中,如图6所示,提出了一种文件的处理装置600,包括:显示模组602,用于显示第一文件标识和N个应用标识,N个应用标识关联第一文件的M个状态,第一文件为第一文件标识对应的文件,N和M为大于1的正整数;接收模组604,用于接收对N个应用标识中第一目标应用标识的第一输入,第一目标应用标识关联第一文件的第一状态;响应模组606,用于响应于第一输入,基于第一状态,显示第一文件。
在本申请实施例中,文件在被不同应用编辑后,能够以不同的状态保存下来,其中,不同的状态与不同应用相对应。显示的第一文件标识和N个应用标识,以便用户知悉需要处理的文件以及对该文件进行了处理的应用,并便于用户从N个应用标识中选取出第一目标应用标识,进而实现基于第一状态来显示第一文件。
基于此,在需要选取让人满意的文件时,可以基于存储的状态来显示第一文件,不再需要逐一打开所有的应用程序,从而便捷地打开多个应用程序对同一文件进行编辑后的结果,减少了操作的步骤,故减少了文件比较前期的准备工作所花费的时间。在其中一个实施例中,第一输入是选择第一目标应用标识的选择输入,具体地,用户可以通过第一输入从支持对文件进行处理的多个应用程序中选择需要使用的应用程序。其中,每一个应用程序对应一个应用标识。
在其中一个实施例中,N个应用标识是对第一文件编辑过的应用所对应的标识,具体地,N个应用标识是在支持对第一文件进行编辑的应用标识中满足筛选条件的应用标识,其中,筛选条件为应用标识对应的应用是对第一文件编辑过的应用。
在该实施例中,支持对第一文件进行处理的应用程序可以是P个,其中,P大于N,对应地,P个应用程序对应有P个应用标识,其中,N个应用标识是P个应用标识中选取的N 个。
在其中一个实施例中,基于P个应用程序对第一文件编辑的频次由高至低对P个应用程序进行排序,并将排序靠前的N个应用程序所对应的标识选为N个应用标识。
在其中一个实施例中,在显示第一文件标识之后,显示N个应用标识。
在该实施例中,限定了第一文件标识和N个应用标识显示的先后次序,以便提高交互体验。
在其中一个实施例中,N个应用标识可以是在第一文件标识被选定后显示的,具体地,在需要对视频进行处理时,第一文件标识为视频文件标识,通过长按视频文件标识,弹出选择菜单,其中,选择菜单中显示有N个应用标识,以供用户进行选取。
在其中一个实施例中,选择菜单还显示有确认按钮,以便在用户选定第一目标应用标识后,可以通过选定确定按钮,以结束第一目标应用标识的选定。
在其中一个实施例中,可以利用文件管理这一功能实现第一文件的查找。
在其中一个实施例中,显示模组602还用于:在第一目标应用标识的数量为多个的情况下,基于多个第一目标应用标识关联的第一文件的第一状态,分屏显示多个处理界面;其中,每一个处理界面中显示对应的第一文件。
在该实施例中,通过分屏显示多个处理界面,以便将多个状态的第一文件同屏显示出来,在此过程中,方便用户对比不同应用程序的处理后的第一文件,提高比对效率。
在其中一个实施例中,多个处理界面与多个第一目标应用标识一一对应,以减少文件比较所花费的时间成本。
在其中一个实施例中,显示模组602还用于:在分屏显示的多个处理界面中的任一处理界面下,接收对第一文件的操作输入;响应操作输入,在分屏显示的多个处理界面中每一处理界面内显示操作输入的操作结果。
本申请的实施例中,通过限定在任一处理界面下的操作输入所带来的操作结果同步在分屏显示下的每一个处理界面中显示。在此过程中,不再需要用户逐一在每一个应用程序下的对同一对象进行处理,因此,减少了时间成本的浪费,提高了用户的使用体验。
在其中一个实施例中,考虑到不同应用下同一个功能所对应的操作输入是不一样的,因此,可以预先构建不同应用下同一功能所对应的操作输入的对应关系,以便在某一个应用下接收到操作输入之后,可以根据上述对应关系,确定除了某一个应用之外的其它应用下的操作输入,从而执行相同的处理逻辑。
在其中一个实施例中,响应模组606,还用于:在第一显示区域显示第一应用标识对应的第一处理界面,且在第二显示区域显示第二应用标识对应的第二处理界面的情况下,接收第二输入,第二输入用于指示将第一编辑操作标识由第一显示区域移动至第二显示区域,第一文件在第一应用标识对应的应用下所经历的操作与第一编辑操作标识关联;响应于第二输入,将第一编辑操作标识由第一显示区域移动至第二显示区域,以及在第二显示区域显示第二文件,第二文件为对第二处理界面进行与第一编辑操作标识关联的编辑操作后得 到的文件。
在其中一个实施例中,响应模组606还用于接收对第一编辑操作标识的删除输入;响应删除输入,删除与第一编辑操作标识关联的目标操作效果。
在其中一个实施例中,响应模组606还用于接收第三输入;响应于第三输入,选定N个应用标识中的第二目标应用标识和第三目标应用标识,第二目标应用标识关联第一文件的第二状态,第三目标应用标识关联第一文件的第三状态;获取第二目标应用标识对应的第二编辑操作,第三目标应用标识对应的第三编辑操作,第二编辑操作是第一文件在第二目标应用标识对应的应用下经历的操作,第三编辑操作为第一文件在第三目标应用标识对应的应用下经历的编辑操作;标记差异编辑操作;其中,差异编辑操作为第二编辑操作和第三编辑操作中不一致的编辑操作。
在该实施例中,通过标记差异编辑操作,以便用户查找得到不同应用程序下存在的操作差异,进而知悉形成不同状态的根本原因,以便基于差异编辑操作指导文件的编辑。
在其中一个实施例中,响应模组606还用于在接收到对第一编辑操作标识的第四输入的情况下,取消显示与第一编辑操作标识关联的目标操作效果;在未接收到对第一编辑操作标识的第四输入的情况下,恢复显示与第一编辑操作标识关联的目标操作效果。
在该实施例中,给出了切换显示目标操作效果的详细控制逻辑,在该控制逻辑下,用户可以通过对第一编辑操作标识的第四输入来实现显示目标操作效果和取消显示目标操作效果,以便通过切换目标操作效果显示或不显示来对比,以展示目标操作效果。
在其中一个实施例中,第四输入可以是选定第一编辑操作标识。
在其中一个实施例中,响应模组606还用于构建日志文件,其中,日志文件包括:第一文件所经历的操作、响应操作的应用软件、操作对应的操作效果所生效的范围。
在其中一个实施例中,操作以输入的前后时间次序进行排序。
在该实施例中,通过构建日志文件,以便利用日志文件来记录同一文件在不同处理界面所接收到的操作和操作输入的操作效果所生效的范围,以供用户进行查看。同时,也便于利用日志文件实现处理后的文件的状态存储,进而在不同的处理界面下拖动文件时,可以实现历史操作效果的复现。
具体地,在用户需要删除第一编辑操作标识的情况下,删除第一编辑操作标识对应目标操作效果,同时删除以输入的前后时间次序进行排序中的这次操作记录。
在其中一个实施例中,响应模组606还用于显示第一文件之后,还包括:获取第一文件对应的历史编辑操作;根据历史编辑操作确定与第一文件关联的目标状态;确定与目标状态关联的第四目标应用标识。
在该实施例中,第一文件的状态是与应用标识关联的,因此,在确定第一文件的状态之后,可以利用第一文件的状态来查找得到与该状态关联的应用标识,也即第四目标应用标识。而第一文件的状态是第一文件经历操作所最终呈现的状态,基于此,通过获取第一文件对应的历史编辑操作,以便根据历史编辑操作来表征第一文件的状态。
在此过程中,能够根据第一文件的状态知悉采用哪一应用程序编辑的。
在其中一个实施例中,响应模组606还用于在确定与目标状态关联的第四目标应用标识之后,还包括:启动第四目标应用标识对应的应用;或基于第四目标应用标识和目标状态,显示第一文件。
在该实施例中,通过启动第四目标应用标识对应的应用,以便实现应用程序的自动启动,以便用户可以利用该应用程序对第一文件继续进行处理,在此过程中,无需用户手动启动,减少了用户的操作,提高了交互体验。
在该实施例中,基于第四目标应用标识和目标状态,显示第一文件,用户可以知悉显示的第一文件是与第四目标应用标识关联的,进而便于对其进行管理,其中,管理可以是删除第四目标应用标识。
在其中一个实施例中,响应模组606还用于基于第四目标应用标识和目标状态,显示第一文件,具体包括:基于目标状态,在第四目标应用标识的预设距离内,显示第一文件的缩略图。
在该实施例中,限定了基于目标状态显示的第一文件与显示的第四目标应用标识之间的位置关系,通过限定第一文件的缩略图在第四目标应用标识的预设距离内,以便体现目标状态下的第一文件和第四目标应用标识是关联的。
此外,以第一文件的缩略图显示,以便减少显示第一文件所需要的显示尺寸,提高显示布局的合理性。
在其中一个实施例中,响应模组606还用于在第一目标应用标识的数量为一个的情况下,显示处理界面和至少一个第二目标应用标识;其中,第二应用标识对应的应用支持编辑第一文件。
在该实施例中,给出了在第一目标应用标识的数量为一个的情况下,如何实现多个应用对同一个文件进行处理的方案。在该方案中,在显示处理界面的同时,显示至少一个第二目标应用标识,以供用户在处理界面下完成第一文件的处理后,可以通过选取至少一个第二目标应用标识来切换对第一文件处理的应用。
在其中一个实施例中,响应模组606还用于接收对至少一个第二目标应用标识的第五输入;响应第五输入,确定至少一个第二目标应用标识中选定的第三目标应用标识;显示第三目标应用标识对应的应用对第一文件进行处理的界面。
在该实施例中,在接收到第五输入的情况下,对第五输入进行响应,以便确保显示的至少一个第二目标应用标识中的第三目标应用标识,可以理解的是,根据第五输入来确定选定第二目标应用标识,通过显示第三目标应用标识对应的应用对第一文件进行处理的界面,以便实现同一文件在不同处理界面下的切换。
本申请实施例中的文件的处理装置600可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网 装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的文件的处理装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的文件的处理装置600能够实现图1的方法实施例实现的各个过程,为避免重复,这里不再赘述。
可选地,如图7所示,本申请实施例还提供一种电子设备700,包括处理器702和存储器704,存储器704上存储有可在处理器702上运行的程序或指令,该程序或指令被处理器702执行时实现上述文件的处理方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述的移动电子设备和非移动电子设备。
图8为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备800包括但不限于:射频单元801、网络模块802、音频输出单元803、输入单元804、传感器805、显示单元806、用户输入单元807、接口单元808、存储器809、以及处理器810等部件。
本领域技术人员可以理解,电子设备800还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器810逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图8中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
在其中一个实施例中,处理器810,用于:显示第一文件标识和N个应用标识,N个应用标识关联第一文件的M个状态,第一文件为第一文件标识对应的文件,N和M为大于1的正整数;接收对N个应用标识中第一目标应用标识的第一输入,第一目标应用标识关联第一文件的第一状态;响应于第一输入,基于第一状态,显示第一文件。
在其中一个实施例中,在第一目标应用标识的数量为多个的情况下,基于多个第一目标应用标识关联的第一文件的第一状态,分屏显示多个处理界面;其中,每一个处理界面中显示对应的第一文件。
在其中一个实施例中,处理器810,还用于:在第一显示区域显示第一应用标识对应的第一处理界面,且在第二显示区域显示第二应用标识对应的第二处理界面的情况下,接收第二输入,第二输入用于指示将第一编辑操作标识由第一显示区域移动至第二显示区域, 第一文件在第一应用标识对应的应用下所经历的操作与第一编辑操作标识关联;响应于第二输入,将第一编辑操作标识由第一显示区域移动至第二显示区域,以及在第二显示区域显示第二文件,第二文件为对第二处理界面进行与第一编辑操作标识关联的编辑操作后得到的文件。
在其中一个实施例中,处理器810,还用于:接收第三输入;响应于第三输入,选定N个应用标识中的第二目标应用标识和第三目标应用标识,第二目标应用标识关联第一文件的第二状态,第三目标应用标识关联第一文件的第三状态;获取第二目标应用标识对应的第二编辑操作,第三目标应用标识对应的第三编辑操作,第二编辑操作是第一文件在第二目标应用标识对应的应用下经历的操作,第三编辑操作为第一文件在第三目标应用标识对应的应用下经历的编辑操作;标记差异编辑操作;其中,差异编辑操作为第二编辑操作和第三编辑操作中不一致的编辑操作。
在其中一个实施例中,显示第一文件之后,处理器810,还用于:获取第一文件对应的历史编辑操作;根据历史编辑操作确定与第一文件关联的目标状态;确定与目标状态关联的第四目标应用标识。
在其中一个实施例中,在确定与目标状态关联的第四目标应用标识之后,处理器810,还用于:启动第四目标应用标识对应的应用;或基于第四目标应用标识和目标状态,显示第一文件。
在其中一个实施例中,处理器810,具体用于:基于目标状态,在第四目标应用标识的预设距离内,显示第一文件的缩略图。
应理解的是,本申请实施例中,输入单元804可以包括图形处理器(Graphics Processing Unit,GPU)8041和麦克风8042,图形处理器8041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元806可包括显示面板8061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板8061。用户输入单元807包括触控面板8071以及其他输入设备8072中的至少一种。触控面板8071,也称为触摸屏。触控面板8071可包括触摸检测装置和触摸控制器两个部分。其他输入设备8072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
存储器809可用于存储软件程序以及各种数据。存储器809可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器809可以包括易失性存储器或非易失性存储器,或者,存储器809可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static  RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器809包括但不限于这些和任意其它适合类型的存储器。
处理器810可包括一个或多个处理单元;可选的,处理器810集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器810中。
本申请实施例还提供一种可读存储介质,可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述文件的处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,处理器为上述实施例中的电子设备中的处理器。可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。
本申请实施例另提供了一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现上述文件的处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述文件的处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡 献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (13)

  1. 一种文件的处理方法,包括:
    显示第一文件标识和N个应用标识,所述N个应用标识关联第一文件的M个状态,所述第一文件为所述第一文件标识对应的文件,所述N和M为大于1的正整数;
    接收对所述N个应用标识中第一目标应用标识的第一输入,所述第一目标应用标识关联所述第一文件的第一状态;
    响应于所述第一输入,基于所述第一状态,显示所述第一文件。
  2. 根据权利要求1所述的文件的处理方法,其中,
    在第一目标应用标识的数量为多个的情况下,基于多个所述第一目标应用标识关联的所述第一文件的第一状态,分屏显示多个处理界面;
    其中,每一个所述处理界面中显示对应的所述第一文件。
  3. 根据权利要求1所述的文件的处理方法,其中,还包括:
    在第一显示区域显示第一应用标识对应的第一处理界面,且在第二显示区域显示第二应用标识对应的第二处理界面的情况下,接收第二输入,所述第二输入用于指示将第一编辑操作标识由所述第一显示区域移动至所述第二显示区域,所述第一应用标识对应的应用对所述第一文件的编辑操作与所述第一编辑操作标识关联;
    响应于所述第二输入,将所述第一编辑操作标识由所述第一显示区域移动至所述第二显示区域,以及
    在所述第二显示区域显示第二文件,所述第二文件为对所述第二处理界面进行与所述第一编辑操作标识关联的编辑操作后得到的文件。
  4. 根据权利要求1所述的文件的处理方法,其中,还包括:
    接收第三输入;
    响应于所述第三输入,选定所述N个应用标识中的第二目标应用标识和第三目标应用标识,所述第二目标标识关联所述第一文件的第二状态,所述第三目标标识关联所述第一文件的第三状态;
    获取所述第二目标应用标识对应的第二编辑操作,所述第三目标应用标识对应的第三编辑操作,所述第二编辑操作是所述第一文件在所述第二目标应用标识对应的应用下经历的操作,所述第三编辑操作为所述第一文件在所述第三目标应用标识对应的应用下经历的编辑操作;
    标记差异编辑操作;
    其中,所述差异编辑操作为所述第二编辑操作和所述第三编辑操作中不一致的编辑操作。
  5. 根据权利要求1至4中任一项所述的文件的处理方法,其中,显示所述第一文件之后,还包括:
    获取所述第一文件对应的历史编辑操作;
    根据所述历史编辑操作确定与所述第一文件关联的目标状态;
    确定与所述目标状态关联的第四目标应用标识。
  6. 根据权利要求5所述的文件的处理方法,其中,在确定与所述目标状态关联的第四目标应用标识之后,还包括:
    启动所述第四目标应用标识对应的应用;或
    基于所述第四目标应用标识和所述目标状态,显示所述第一文件。
  7. 根据权利要求6所述的文件的处理方法,其中,所述基于所述第四目标应用标识和所述目标状态,显示所述第一文件,具体包括:
    基于所述目标状态,在所述第四目标应用标识的预设距离内,显示所述第一文件的缩略图。
  8. 一种文件的处理装置,包括:
    显示模组,用于显示第一文件标识和N个应用标识,所述N个应用标识关联第一文件的M个状态,所述第一文件为所述第一文件标识对应的文件,所述N和M为大于1的正整数;
    接收模组,用于接收对所述N个应用标识中第一目标应用标识的第一输入,所述第一目标应用标识关联所述第一文件的第一状态;
    响应模组,用于响应于所述第一输入,基于所述第一状态,显示所述第一文件。
  9. 一种电子设备,包括:
    处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至7中任一项所述的处理方法的步骤。
  10. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至7中任一项所述的处理方法的步骤。
  11. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-7任一项所述的方法的步骤。
  12. 一种计算机程序产品,所述计算机程序产品被至少一个处理器执行以实现如权利要求1-7任一项所述的方法的步骤。
  13. 一种电子设备,所述电子设备被配置成用于执行如权利要求1-7任一项所述的方法。
PCT/CN2023/113944 2022-08-25 2023-08-21 文件的处理方法、装置、电子设备和可读存储介质 WO2024041468A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211028208.5A CN115344159A (zh) 2022-08-25 2022-08-25 文件的处理方法、装置、电子设备和可读存储介质
CN202211028208.5 2022-08-25

Publications (1)

Publication Number Publication Date
WO2024041468A1 true WO2024041468A1 (zh) 2024-02-29

Family

ID=83953499

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/113944 WO2024041468A1 (zh) 2022-08-25 2023-08-21 文件的处理方法、装置、电子设备和可读存储介质

Country Status (2)

Country Link
CN (1) CN115344159A (zh)
WO (1) WO2024041468A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115344159A (zh) * 2022-08-25 2022-11-15 维沃移动通信有限公司 文件的处理方法、装置、电子设备和可读存储介质

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103823614A (zh) * 2014-03-10 2014-05-28 联想(北京)有限公司 信息处理方法、装置及电子设备
US20150106738A1 (en) * 2012-04-17 2015-04-16 Iwatchlife Inc. System and method for processing image or audio data
JP2020013602A (ja) * 2017-11-16 2020-01-23 ブラザー工業株式会社 情報処理プログラム、情報処理装置、および情報処理装置の制御方法
CN112148192A (zh) * 2020-09-29 2020-12-29 维沃移动通信有限公司 图像显示方法、装置和电子设备
CN112584208A (zh) * 2020-09-19 2021-03-30 王小燕 一种基于人工智能的视频浏览编辑方法和系统
WO2021104162A1 (zh) * 2019-11-25 2021-06-03 维沃移动通信有限公司 显示方法及电子设备
CN113986082A (zh) * 2021-10-28 2022-01-28 维沃移动通信有限公司 信息交互方法、装置及设备
CN114756154A (zh) * 2022-04-28 2022-07-15 维沃移动通信有限公司 文件的编辑方法和装置
CN115344159A (zh) * 2022-08-25 2022-11-15 维沃移动通信有限公司 文件的处理方法、装置、电子设备和可读存储介质

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150106738A1 (en) * 2012-04-17 2015-04-16 Iwatchlife Inc. System and method for processing image or audio data
CN103823614A (zh) * 2014-03-10 2014-05-28 联想(北京)有限公司 信息处理方法、装置及电子设备
JP2020013602A (ja) * 2017-11-16 2020-01-23 ブラザー工業株式会社 情報処理プログラム、情報処理装置、および情報処理装置の制御方法
WO2021104162A1 (zh) * 2019-11-25 2021-06-03 维沃移动通信有限公司 显示方法及电子设备
CN112584208A (zh) * 2020-09-19 2021-03-30 王小燕 一种基于人工智能的视频浏览编辑方法和系统
CN112148192A (zh) * 2020-09-29 2020-12-29 维沃移动通信有限公司 图像显示方法、装置和电子设备
WO2022068719A1 (zh) * 2020-09-29 2022-04-07 维沃移动通信有限公司 图像显示方法、装置和电子设备
CN113986082A (zh) * 2021-10-28 2022-01-28 维沃移动通信有限公司 信息交互方法、装置及设备
CN114756154A (zh) * 2022-04-28 2022-07-15 维沃移动通信有限公司 文件的编辑方法和装置
CN115344159A (zh) * 2022-08-25 2022-11-15 维沃移动通信有限公司 文件的处理方法、装置、电子设备和可读存储介质

Also Published As

Publication number Publication date
CN115344159A (zh) 2022-11-15

Similar Documents

Publication Publication Date Title
EP4109878A1 (en) Content operation method and device, terminal, and storage medium
CN112887794B (zh) 视频剪辑方法及装置
WO2023061414A1 (zh) 一种文件生成方法、装置及电子设备
WO2024041468A1 (zh) 文件的处理方法、装置、电子设备和可读存储介质
JP6265659B2 (ja) 情報処理装置およびその制御方法およびプログラム
WO2022068803A1 (zh) 文件处理方法、装置及电子设备
WO2023185701A1 (zh) 一种显示方法及其装置、电子设备和可读存储介质
WO2024046266A1 (zh) 视频管理方法、装置、电子设备及可读存储介质
WO2024169824A1 (zh) 页面控制方法、装置及电子设备
WO2024174926A1 (zh) 应用控制方法及其装置
WO2024083018A1 (zh) 信息处理方法、装置和电子设备
WO2024109635A1 (zh) 界面显示方法及其装置
CN112765500A (zh) 信息搜索方法及装置
WO2023241612A1 (zh) 文件选择方法、装置、电子设备及可读存储介质
WO2023246715A1 (zh) 目标应用的网络连接控制方法、装置和电子设备
WO2023155874A1 (zh) 应用图标管理方法、装置和电子设备
WO2023155858A1 (zh) 文档编辑方法及其装置
JP6209868B2 (ja) 情報端末、情報処理プログラム、情報処理システム、及び情報処理方法
WO2022143337A1 (zh) 显示控制方法、装置、电子设备和存储介质
WO2023020328A1 (zh) 一种对象操控方法、装置及电子设备
WO2022188804A1 (zh) 图片处理方法、装置及电子设备
CN113783770B (zh) 图像分享方法、图像分享装置和电子设备
CN112328149B (zh) 图片格式的设置方法、装置及电子设备
CN111966259B (zh) 截图方法、装置及电子设备
CN113726953A (zh) 显示内容获取方法和装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23856558

Country of ref document: EP

Kind code of ref document: A1