CN114756154A - File editing method and device - Google Patents

File editing method and device Download PDF

Info

Publication number
CN114756154A
CN114756154A CN202210456800.9A CN202210456800A CN114756154A CN 114756154 A CN114756154 A CN 114756154A CN 202210456800 A CN202210456800 A CN 202210456800A CN 114756154 A CN114756154 A CN 114756154A
Authority
CN
China
Prior art keywords
file
editing
identifier
identifiers
display screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210456800.9A
Other languages
Chinese (zh)
Inventor
李策
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202210456800.9A priority Critical patent/CN114756154A/en
Publication of CN114756154A publication Critical patent/CN114756154A/en
Pending legal-status Critical Current

Links

Images

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/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/04845Interaction 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 for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Abstract

The application discloses a method and a device for editing a file, which belong to the technical field of communication, and the method comprises the following steps: receiving a first input; in response to a first input, displaying a first file and M first identifiers on a first display screen, and displaying a second file on a second display screen; the second file is obtained by processing the first file through operations corresponding to the M first identifiers; wherein M is a positive integer greater than or equal to 2.

Description

File editing method and device
Technical Field
The application belongs to the technical field of communication, and particularly relates to a file editing method and device.
Background
When using an electronic device to edit pictures, the steps are generally required to be completed as follows: the method comprises the steps of selecting an edited image, gradually editing the image until the editing is finished, and if the target editing operation in the editing process needs to be cancelled before the editing is finished, cancelling the image step by step until the target editing operation is cancelled, and continuing to edit the image.
Disclosure of Invention
The embodiment of the application aims to provide a file editing method and device, and the problems that when editing operation is cancelled, a user needs to edit again, the editing efficiency is low, and the operation is complex can be solved.
In a first aspect, an embodiment of the present application provides a file editing method, which is applied to an electronic device with a foldable screen, where the electronic device includes a first display screen and a second display screen, and the method includes: receiving a first input; in response to a first input, displaying a first file and M first identifiers on a first display screen, and displaying a second file on a second display screen; the second file is obtained by processing the first file through operations corresponding to the M first identifiers; wherein M is a positive integer greater than or equal to 2.
In a second aspect, an embodiment of the present application provides an apparatus for editing a file, which is applied to an electronic device with a foldable screen, where the electronic device includes a first display screen and a second display screen, and includes: the receiving module is used for receiving a first input; the display module is used for responding to the first input, displaying the first file and the M first identifications on the first display screen, and displaying the second file on the second display screen; the second file is obtained by processing the first file through operations corresponding to the M first identifiers; wherein M is a positive integer greater than or equal to 2.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, stored in a storage medium, which is executed by at least one processor to implement a method as in the first aspect.
In the embodiment of the application, the first file is edited to finally obtain the second file. When the second file is displayed, multiple editing operations of the first file in the process of changing the first file to the second file are displayed by the M first identifiers, so that when a user needs to cancel one of the multiple editing operations, the corresponding first identifier can be selected to cancel, that is, one editing operation can be directly canceled, and it is not necessary to cancel all the editing operations after the one editing operation.
In the process, since it is no longer necessary to cancel all editing operations after a certain editing operation, there is no need for the user to cancel the content edited before re-editing after a certain editing operation, and thus the efficiency of file editing is improved.
Drawings
FIG. 1 is a flowchart illustrating a method for editing a document according to an embodiment of the present application;
FIG. 2 is a second flowchart illustrating a document editing method according to an embodiment of the present application;
FIG. 3 is one of the schematic diagrams of the editing of a file in an embodiment of the present application;
FIG. 4 is a second illustration of the editing of a document in an embodiment of the present application;
FIG. 5 is a third illustration of the editing of a document in an embodiment of the present application;
FIG. 6 is a fourth diagram illustrating the editing of a document in an embodiment of the present application;
FIG. 7 is a third flowchart illustrating a file editing method according to an embodiment of the present application;
FIG. 8 is a schematic diagram showing a first document, a second document and M first marks in an embodiment of the present application;
FIG. 9 is a schematic block diagram of a document editing apparatus in the embodiment of the present application;
FIG. 10 is a schematic block diagram of an electronic device in an embodiment of the application;
fig. 11 is a schematic diagram of a hardware structure of an electronic device in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below clearly with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail a method and an apparatus for editing a file according to an embodiment of the present application with reference to the accompanying drawings.
In one embodiment, as shown in fig. 1, the present application provides a file editing method, which is applied to an electronic device with a foldable screen, where the electronic device includes a first display screen and a second display screen, and the method includes:
step 102, the electronic equipment receives a first input;
step 104, responding to the first input, displaying the first file and the M first identifications on the first display screen, and displaying the second file on the second display screen.
The second file is obtained by processing the first file through operations corresponding to the M first identifiers; wherein M is a positive integer greater than or equal to 2.
In the embodiment of the application, the first file is edited to finally obtain the second file. When the second file is displayed, the multiple editing operations of the first file in the process of changing the first file into the second file are displayed by the M first identifiers, so that when a user needs to cancel one of the multiple editing operations, the corresponding first identifier can be selected to cancel, that is, one editing operation can be directly cancelled, and all editing operations after one editing operation do not need to be cancelled.
In the process, since it is no longer necessary to cancel all editing operations after a certain editing operation, there is no need for the user to cancel the content edited before re-editing after a certain editing operation, and thus the efficiency of file editing is improved.
In one embodiment, the first file, the second file, and the M first identifiers are displayed in the edit mode.
In one embodiment, the first input may be a selection input of a control on the display interface, or an input of an input device for performing interactive control with the electronic device.
In particular, the first input may be a selection input of a control on the display interface, and it is understood that the display interface has one or more controls, where each control corresponds to a function. The target control in the one or more controls corresponds to the opening and closing of the editing mode, and if the target control is selected by a user, the editing mode is opened; otherwise, when the user deselects the target control, the editing mode is closed.
Specifically, the electronic device has an input device communicating or interacting with the electronic device, wherein the input device may be a stylus pen, wherein the stylus pen has one or more physical keys or virtual keys, and each physical key or virtual key corresponds to a function. The editing mode is started and closed corresponding to a target key of one or more entity keys or virtual keys, and if a user selects the target key, the editing mode is started; otherwise, if the user cancels the selection of the target key, the editing mode is closed.
In one embodiment, the first input may also be a voice input. For example, if the collected voice of the user is "start editing mode" or a self-defined voice corresponding to the function of starting editing mode, the first input is responded, and the editing mode is started; and if the collected voice of the user is 'closing the editing mode' or the self-defined voice corresponding to the function of closing the editing mode, responding to the first input and closing the editing mode.
In one embodiment, when an object processed by an operation corresponding to N first identifiers in the M first identifiers is the same as a processing object in a first file, the N first identifiers are sorted according to a preset time arrangement condition; wherein N is a positive integer less than or equal to M.
In this embodiment, the operations are ordered according to the preset time ordering condition, so that a user can determine the operation order through the ordering, and further, when an operation corresponding to a certain first identifier is cancelled, whether the operation corresponding to other first identifiers is affected is judged, so that the user can accurately cancel the operation corresponding to the first identifier.
For example, the processing object in the first file includes an object a and an object B, and if the object processed by the operation corresponding to N first identifiers among the M first identifiers is the object a, the N first identifiers are sorted according to the preset time arrangement condition.
In one embodiment, the preset time arrangement condition may be that the operations corresponding to the first identifier are sorted according to a time interval from the current time.
Specifically, the preset time arrangement condition may be that the operation execution time corresponding to the first identifier is sorted from far to near according to the time length from the current time to the current time, for example, the time length from the current time to the operation execution time corresponding to the first identifier in the N first identifiers is a first length, the time length from the current time to the operation execution time corresponding to the nth identifier in the N first identifiers is an nth length, and if the first length is greater than the nth length, the first identifier in the N first identifiers is arranged in front of the nth identifier in the N first identifiers.
Similarly, when the preset time arrangement condition may be that the operation execution time corresponding to the first identifier is sorted from near to far from the current time, if the first length is greater than the nth length, the first identifier of the N first identifiers is arranged behind the nth identifier of the N first identifiers. In one embodiment, the method further comprises the following steps: receiving a second input to the first identifier; and responding to the second input, canceling the operation corresponding to the first identification, and updating and displaying the second file.
In this embodiment, a user may select one first identifier according to actual usage needs, and in a case of selecting the first identifier, cancel an operation corresponding to the first identifier, which may be understood as revoking processing of the first file by the operation corresponding to the first identifier, and display the second file by updating, so as to ensure that a file obtained by the first file after the M operations of the first identifier except for the revoked first identifier is consistent with the second file.
For example, when the operation corresponding to the first identifier is a thickening operation on the target character, the thickening operation on the target character is cancelled in response to the second input, and at this time, the thickening effect of the target character in the updated second file disappears.
In one embodiment, before canceling the operation corresponding to the first identifier and updating and displaying the second file, the method further includes: determining an object processed by an operation corresponding to the first identification: and displaying the reminding information under the condition that one or more first identifications are associated with the object.
In this embodiment, by outputting the reminding information to remind the user that the object processed by the operation corresponding to the selected first identifier has other first identifiers, the influence on the operations corresponding to other identifiers is reduced in the case of canceling the operation corresponding to the first identifier.
For example, when the object processed by the operation corresponding to the first identifier is the object a, it is searched whether the object a is processed by the operation corresponding to other first identifiers, and if the object a exists, the reminding information is displayed for the user to know.
In one embodiment, the first identifier and the object processed by the operation corresponding to the first identifier are displayed in an associated manner.
The first identification and the object processed by the operation corresponding to the first identification are displayed in a correlated mode, so that a user is guided to know the object processed by the operation corresponding to the first identification under the condition that the user sees the first identification, and therefore when a certain object is processed in a targeted mode, the first identification corresponding to the object can be known, and accuracy of processing the first identification is improved.
In one embodiment, in the case that one of the objects processed by the operation corresponding to the first identifier is selected, the other of the objects processed by the operation corresponding to the first identifier is highlighted; or a connection line is formed between the first identifier and the object processed by the operation corresponding to the first identifier.
In one embodiment, the first display screen and the second display screen can rotate relatively.
In this embodiment, the folding screen includes a first display screen, a second display screen, and a rotation axis, the first display screen and the second display screen can rotate with the rotation axis as the rotation axis, and when the first display screen and the second display screen rotate with the rotation axis, the unfolding angle between the first display screen and the second display screen changes, wherein the unfolding angle between the first display screen and the second display screen can change from 0 degree to 180 degrees, and also can change from 0 degree to 360 degrees.
In one embodiment, the first display screen and the second display screen are arranged in the left-right direction according to the holding habit of a user.
In one embodiment, before responding to the first input, the method further comprises: and displaying the first file on the first display screen and the second display screen.
In this embodiment, the content displayed on the first display screen and the second display screen before responding to the first input is specifically defined, and the first file is displayed on the second display screen by the definition, so that the content displayed on the first display screen and the content displayed on the second display screen are used for contrasting display when the first file is not modified.
In one embodiment, the method further comprises the following steps: receiving a third input; and responding to a third input, and storing the second file and the M first identifications in an associated mode.
In this embodiment, the second file and the M first identifiers are stored in association, so that the second file is used as a new first file and the new first file is edited by using the M first identifiers if adjustment is needed.
In one embodiment, the second file and the M first identifiers stored in association may be deleted according to actual usage needs, so as to meet different usage requirements.
In one embodiment, the first file includes either or both of a document and an image.
The first file may also be in the form of video, audio, etc., and is not limited herein.
In one embodiment, the first document takes an image as an example, and the method for editing a document in this application is explained, as shown in fig. 2, and includes:
in step 202, the electronic device displays the opened picture.
As shown in fig. 3, when the picture is just opened, the picture displayed on the left screen and the picture displayed on the right screen of the folding screen are consistent because the editing has not been started yet.
And 204, receiving the input of the user, displaying nodes generated by the original picture and each operation description generated by the operation record on the left side, and displaying the modified picture on the right side.
The nodes generated by the operation descriptions generated by the original picture and the operation record are displayed on the left, namely the first identifier in the application, and the modified nodes at the same position are displayed in a three-dimensional mode according to time. As shown in fig. 4, the original image is on the left, the entire editing process of the picture is recorded below the drawing, and left rotation- > frame setting blue- > adding characters "hey" is performed respectively, and the pictures are displayed according to the time sequence. And the right side of the folding screen displays the edited picture patterns, and the lower part of the right screen has similar editing function with the conventional album. Fig. 4 is a display diagram of editing record nodes generated by editing a whole picture, and in actual use, details of the picture may also be edited, and different editing nodes sorted by time may be generated by editing in different areas, as shown in fig. 5, local thin face- > thin line is performed on the face of a girl, and editing time record nodes may be generated separately.
And step 206, selecting any editing node on the left screen for revocation.
If conflict exists in the middle of editing each time, a prompt is generated, and the prompt is determined after the conflict needs to be modified. If the left rotation is canceled in the state of fig. 4 in step 202, the left rotation operation is canceled, and the picture shown in fig. 6 is generated.
And step 208, finishing storage.
And after all editing is finished, confirming and storing, wherein the picture on the right side is the newly generated picture. The left screen record with the edit node is also saved (the user can save or delete the record as desired).
As shown in fig. 7, the first files respectively take documents as an example to explain the editing method of the files in the application, and as shown in fig. 7, the method includes:
in step 702, the electronic device displays the opened document.
When the document is just opened, the contents displayed on the left screen and the right screen of the folding screen are consistent because the editing is not started yet.
Step 704, the nodes generated by the original document and each operation description generated by the operation record are displayed on the left, and the modified document is displayed on the right.
And displaying nodes generated by the original document and each operation description generated by the operation record on the left, wherein modified nodes at the same position are displayed in three dimensions according to time.
And step 706, selecting any editing node on the left screen for revocation.
If a conflict operation exists in the middle of each editing, a prompt is generated, and the prompt is determined after the conflict erasing needs to be modified, wherein the conflict operation can be understood as that an object processed by the editing node selected to be cancelled on the left screen is associated with other editing nodes.
At step 708, the confirmation is saved.
And after all the edits are finished, confirming and storing, wherein the document on the right side is the newly generated document. The left screen record with the edit node is also saved (the user can save or delete the record as desired).
For example, as shown in fig. 8, a display diagram of a first file, a second file and M first identifiers is shown.
In the embodiment, based on the characteristic that the folding screen can display two vertical screen mobile phone interfaces, the original style and the three-dimensional modification recording point are displayed on the left screen, and the modified style is displayed on the right screen, so that the use steps of modifying files or pictures by a user are optimized, and the user experience is improved.
Specifically, the two screens of the folding screen are used for respectively displaying the unmodified style and the modified style, so that a user can conveniently edit and compare the styles; the modification points are recorded on the left screen independently and are sorted according to time, and a user can cancel the independent modification points at any previous time; modification points at the same position are displayed in a three-dimensional time sequencing manner, so that modification is conveniently searched, meanwhile, the steps of editing operation can be reduced, and the efficiency is improved.
According to the file editing method provided by the embodiment of the application, the execution main body can be a file editing device. In the embodiment of the present application, a method for editing a file performed by a file editing apparatus is taken as an example, and the file editing apparatus provided in the embodiment of the present application is described.
In one embodiment, as shown in fig. 9, an apparatus 900 for editing a file is provided, which is applied to an electronic device with a foldable screen, where the electronic device includes a first display screen and a second display screen, and includes: a receiving module 902, configured to receive a first input; the display module 904 is configured to display the first file and the M first identifiers on the first display screen and display the second file on the second display screen in response to the first input; the second file is obtained by processing the first file through operations corresponding to the M first identifiers; wherein M is a positive integer greater than or equal to 2.
In the embodiment of the application, the first file is edited to finally obtain the second file. When the second file is displayed, the multiple editing operations of the first file in the process of changing the first file into the second file are displayed by the M first identifiers, so that when a user needs to cancel one of the multiple editing operations, the corresponding first identifier can be selected to cancel, that is, one editing operation can be directly cancelled, and all editing operations after one editing operation do not need to be cancelled.
In the process, since it is no longer necessary to cancel all editing operations after a certain editing operation, there is no need for the user to cancel the content edited before re-editing after a certain editing operation, and thus the efficiency of file editing is improved.
In one embodiment, the first file, the second file, and the M first identifiers are displayed in the edit mode.
In one embodiment, the first input may be a selection input of a control on the display interface, or an input of an input device for interactive control with the electronic device.
In particular, the first input may be a selection input of a control on the display interface, and it is understood that the display interface has one or more controls, where each control corresponds to a function. The target control in the one or more controls corresponds to the opening and closing of the editing mode, and if the target control is selected by a user, the editing mode is opened; otherwise, when the user deselects the target control, the editing mode is closed.
Specifically, the electronic device has an input device communicating or interacting with the electronic device, wherein the input device may be a stylus pen, wherein the stylus pen has one or more physical keys or virtual keys, and each physical key or virtual key corresponds to a function. The editing mode is started and closed corresponding to a target key of one or more entity keys or virtual keys, and if a user selects the target key, the editing mode is started; otherwise, if the user cancels the selection of the target key, the editing mode is closed.
In one embodiment, the first input may also be a voice input. For example, if the collected voice of the user is "start editing mode" or a self-defined voice corresponding to the function of starting editing mode, the first input is responded, and the editing mode is started; and if the collected voice of the user is 'closing the editing mode' or the self-defined voice corresponding to the function of closing the editing mode, responding to the first input and closing the editing mode.
In one embodiment, when an object processed by an operation corresponding to N first identifiers in the M first identifiers is the same as a processing object in a first file, the N first identifiers are sorted according to a preset time arrangement condition; wherein N is a positive integer less than or equal to M.
In this embodiment, the operations are ordered according to the preset time ordering condition, so that a user can determine the operation order through the ordering, and further, when an operation corresponding to a certain first identifier is cancelled, whether the operation corresponding to other first identifiers is affected is judged, so that the user can accurately cancel the operation corresponding to the first identifier.
In one embodiment, the preset time arrangement condition may be that the operations corresponding to the first identifier are sorted according to the time length from the current time to the execution time of the operation corresponding to the first identifier.
In one embodiment, the display module 904 is further configured to: receiving a second input to the first identifier; and responding to the second input, canceling the operation corresponding to the first identifier, and updating and displaying the second file.
In this embodiment, a user may select one first identifier according to actual usage needs, and cancel the operation corresponding to the first identifier when selecting the first identifier, which may be understood as canceling the processing of the first file by the operation corresponding to the first identifier, and display the second file by updating, so as to ensure that the file obtained after the first file is subjected to M operations of the first identifier except for the cancelled first identifier is consistent with the second file.
In one embodiment, before canceling the operation corresponding to the first identifier and updating and displaying the second file, the display module 904 is further configured to: determining an object processed by the operation corresponding to the first identification: and displaying the reminding information under the condition that one or more first identifications are associated with the object.
In the embodiment, the reminding information is output so as to remind the user that the object processed by the operation corresponding to the selected first identifier has other first identifiers, so that in the case of canceling the operation corresponding to the first identifier, the influence on the operation corresponding to other identifiers is reduced.
In one embodiment, the first identifier and the object processed by the operation corresponding to the first identifier are displayed in an associated manner.
The first identification and the object processed by the operation corresponding to the first identification are displayed in a correlated manner, so that a user is guided to know the object processed by the operation corresponding to the first identification under the condition of seeing the first identification, and therefore when a certain object is processed in a targeted manner, the first identification corresponding to the object can be known, and the accuracy of processing the first identification is improved.
In one embodiment, in the case that one of the objects processed by the operation corresponding to the first identifier is selected, the other of the objects processed by the operation corresponding to the first identifier is highlighted; or a connecting line is formed between the first identifier and the object processed by the operation corresponding to the first identifier.
In one embodiment, the first display screen and the second display screen can rotate relatively.
In this embodiment, a display scheme in which the above scheme is introduced to a folding screen is provided, where the folding screen includes a first display screen, a second display screen, and a rotation shaft, the first display screen and the second display screen can rotate with the rotation shaft as the rotation shaft, and when the first display screen and the second display screen rotate with the rotation shaft, an expansion angle between the first display screen and the second display screen changes, where the expansion angle between the first display screen and the second display screen may change from 0 degree to 180 degrees, or from 0 degree to 360 degrees.
In one embodiment, the first display screen and the second display screen are arranged in the left-right direction according to the holding habit of a user.
In one embodiment, before responding to the first input, the display module 904 is further configured to: and displaying the first file on the first display screen and the second display screen.
In this embodiment, the content displayed on the first display screen and the second display screen before responding to the first input is specifically defined, and the first file is displayed on the second display screen by the definition, so that the content displayed on the first display screen and the content displayed on the second display screen are used for contrasting display when the first file is not modified.
In one embodiment, the display module 904 is further configured to: receiving a third input; and responding to a third input, and storing the second file and the M first identifications in an associated mode.
In this embodiment, the second file and the M first identifiers are stored in association, so that the second file is used as a new first file and the new first file is edited by using the M first identifiers if adjustment is needed.
In one embodiment, the first file includes either or both of a document and an image.
The first file may also be in the form of video, audio, etc., and is not limited herein.
In one embodiment, the second file and the M first identifiers stored in association may be deleted according to actual usage needs, so as to meet different usage requirements.
The file editing apparatus 900 in the embodiment of the present application may be an electronic device, or may be a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The file editing apparatus 900 in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present application.
The file editing apparatus 900 provided in this embodiment of the present application can implement each process implemented in the method embodiments of fig. 1 and fig. 2, and is not described here again to avoid repetition.
Optionally, as shown in fig. 10, an electronic device 1000 is further provided in this embodiment of the present application, and includes a processor 1002 and a memory 1004, where the memory 1004 stores a program or an instruction that can be executed on the processor 1002, and when the program or the instruction is executed by the processor 1002, the steps of the above-mentioned embodiment of the file editing method are implemented, and the same technical effects can be achieved, and are not described again here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic device and the non-mobile electronic device described above.
Fig. 11 is a schematic hardware structure diagram of an electronic device implementing the embodiment of the present application.
The electronic device 1100 includes, but is not limited to: radio frequency unit 1101, network module 1102, audio output unit 1103, input unit 1104, sensor 1105, display unit 1106, user input unit 1107, interface unit 1108, memory 1109, and processor 1110.
Those skilled in the art will appreciate that the electronic device 1100 may further comprise a power supply (e.g., a battery) for supplying power to the various components, and the power supply may be logically connected to the processor 1110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 11 does not constitute a limitation to the electronic device, and the electronic device may include more or less components than those shown in the drawings, or combine some components, or arrange different components, and thus, the description is omitted here.
In one embodiment, the processor 1110 is configured to: receiving a first input; in response to the first input, displaying the first file and the M first identifiers on the first display screen, and displaying the second file on the second display screen; the second file is obtained by processing the first file through operations corresponding to the M first identifiers; wherein M is a positive integer greater than or equal to 2.
In one embodiment, when an object processed by an operation corresponding to N first identifiers in the M first identifiers is the same as a processing object in a first file, the N first identifiers are sorted according to a preset time arrangement condition; wherein N is a positive integer less than or equal to M.
In one embodiment, the processor 1110 is configured to: receiving a second input to the first identifier; and responding to the second input, canceling the operation corresponding to the first identification, and updating and displaying the second file.
In one embodiment, before canceling the operation corresponding to the first identifier and updating and displaying the second file, the processor 1110 is configured to: determining an object processed by an operation corresponding to the first identification: and displaying the reminding information under the condition that one or more first identifications are associated with the object.
In one embodiment, the first identifier and the object processed by the operation corresponding to the first identifier are displayed in an associated manner.
In the embodiment of the application, the first file is edited to finally obtain the second file. When the second file is displayed, the multiple editing operations of the first file in the process of changing the first file into the second file are displayed by the M first identifiers, so that when a user needs to cancel one of the multiple editing operations, the corresponding first identifier can be selected to cancel, that is, one editing operation can be directly cancelled, and it is no longer necessary to cancel all the editing operations after the one editing operation.
In the process, since it is no longer necessary to cancel all editing operations after a certain editing operation, there is no need for the user to cancel the content edited before re-editing after a certain editing operation, and thus the efficiency of file editing is improved.
It should be understood that in the embodiment of the present application, the input Unit 1104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 11042, and the Graphics processor 11041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1106 may include a display panel 11061, and the display panel 11061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1107 includes at least one of a touch panel 11071 and other input devices 11072. The touch panel 11071 is also referred to as a touch screen. The touch panel 11071 may include two portions of a touch detection device and a touch controller. Other input devices 11072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 1109 may be used to store software programs as well as various data. The memory 1109 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area may store an operating system, application programs or instructions required for at least one function (such as a sound playing function, an image playing function, etc.), and the like. Further, memory 1109 may include volatile memory or nonvolatile memory, or memory 1109 may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct bus RAM (DRRAM). The memory 1109 in the embodiments of the subject application includes, but is not limited to, these and any other suitable types of memory.
Processor 1110 may include one or more processing units; optionally, the processor 1110 integrates an application processor, which primarily handles operations related to the operating system, user interface, applications, etc., and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 1110.
The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned embodiment of the file editing method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. Readable storage media include computer readable storage media such as computer read only memory ROM, random access memory RAM, magnetic or optical disks, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the file editing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as a system-on-chip, or a system-on-chip.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the above-mentioned embodiment of the file editing method, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising" does not exclude the presence of other identical elements in the processes, methods, articles or devices that comprise the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present application or portions thereof that contribute to the prior art may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes several instructions for enabling a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the method of the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the present embodiments are not limited to those precise embodiments, which are intended to be illustrative rather than restrictive, and that various changes and modifications may be effected therein by one skilled in the art without departing from the scope of the appended claims.

Claims (10)

1. A file editing method is applied to electronic equipment with a folding screen, the electronic equipment comprises a first display screen and a second display screen, and the file editing method is characterized by comprising the following steps:
receiving a first input;
in response to the first input, displaying a first file and M first identifiers on the first display screen, and displaying a second file on the second display screen;
the second file is obtained by processing the first file through operations corresponding to the M first identifiers;
wherein M is a positive integer greater than or equal to 2.
2. The method of editing a file according to claim 1,
when the objects processed by the operations corresponding to the N first identifiers in the M first identifiers are the same as the processing objects in the first file, sorting the N first identifiers according to a preset time arrangement condition;
wherein N is a positive integer less than or equal to M.
3. The method for editing a file according to claim 1 or 2, further comprising:
receiving a second input to the first identification;
and responding to the second input, canceling the operation corresponding to the first identifier, and updating and displaying the second file.
4. The method for editing a file according to claim 3, wherein before canceling the operation corresponding to the first identifier and updating and displaying the second file, the method further comprises:
determining an object processed by an operation corresponding to the first identification:
and displaying reminding information under the condition that one or more first identifications are associated with the object.
5. The method of editing a file according to claim 1 or 2,
and performing associated display on the first identifier and an object processed by the operation corresponding to the first identifier.
6. An editing apparatus of a file, applied to an electronic device with a foldable screen, the electronic device including a first display screen and a second display screen, comprising:
the receiving module is used for receiving a first input;
the display module is used for responding to the first input, displaying a first file and M first identifications on the first display screen, and displaying a second file on the second display screen;
the second file is a file obtained by processing the first file through operations corresponding to the M first identifiers;
wherein M is a positive integer greater than or equal to 2.
7. The apparatus for editing a file according to claim 6, wherein the display module is further configured to: when the objects processed by the operations corresponding to the N first identifiers in the M first identifiers are the same as the processing objects in the first file, sorting the N first identifiers according to a preset time arrangement condition;
wherein N is a positive integer less than or equal to M.
8. The apparatus for editing a file according to claim 6 or 7,
the receiving module is further used for receiving a second input of the first identifier;
the display module assembly is further used for: and responding to the second input, canceling the operation corresponding to the first identifier, and updating and displaying the second file.
9. The apparatus for editing a file according to claim 8, wherein before canceling the operation corresponding to the first identifier and updating and displaying the second file, the display module is further configured to:
determining an object processed by the operation corresponding to the first identification:
and displaying reminding information under the condition that one or more first identifications are associated with the object.
10. The apparatus for editing a file according to claim 6 or 7,
And displaying the first identifier and an object processed by the operation corresponding to the first identifier in an associated manner.
CN202210456800.9A 2022-04-28 2022-04-28 File editing method and device Pending CN114756154A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210456800.9A CN114756154A (en) 2022-04-28 2022-04-28 File editing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210456800.9A CN114756154A (en) 2022-04-28 2022-04-28 File editing method and device

Publications (1)

Publication Number Publication Date
CN114756154A true CN114756154A (en) 2022-07-15

Family

ID=82332303

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210456800.9A Pending CN114756154A (en) 2022-04-28 2022-04-28 File editing method and device

Country Status (1)

Country Link
CN (1) CN114756154A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115328539A (en) * 2022-08-05 2022-11-11 广州斯必得电子科技有限公司 Programmable control file control method and system
WO2024041468A1 (en) * 2022-08-25 2024-02-29 维沃移动通信有限公司 File processing method and apparatus, and electronic device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115328539A (en) * 2022-08-05 2022-11-11 广州斯必得电子科技有限公司 Programmable control file control method and system
WO2024041468A1 (en) * 2022-08-25 2024-02-29 维沃移动通信有限公司 File processing method and apparatus, and electronic device and storage medium

Similar Documents

Publication Publication Date Title
US10739958B2 (en) Method and device for executing application using icon associated with application metadata
CN1680912B (en) Image processing method, and image processing apparatus
KR102042461B1 (en) Mobile terminal and method for controlling of the same
CN114756154A (en) File editing method and device
CN105474157A (en) Mobile device interfaces
CN112416485A (en) Information guiding method, device, terminal and storage medium
CN112269519B (en) Document processing method and device and electronic equipment
JP2013047859A (en) Authentication device and authentication method
CN102385453B (en) Signal conditioning package and control method thereof
CN115344159A (en) File processing method and device, electronic equipment and readable storage medium
CN115097979A (en) Icon management method and icon management device
EP4343579A1 (en) Information replay method and apparatus, electronic device, computer storage medium, and product
CN115665473A (en) Screen projection method and device, electronic equipment and storage medium
CN114845171A (en) Video editing method and device and electronic equipment
CN114721565A (en) Application program starting method and device, electronic equipment and storage medium
CN114491309A (en) Picture processing method and device
CN114564921A (en) Document editing method and device
CN114302009A (en) Video processing method, video processing device, electronic equipment and medium
CN113034213B (en) Cartoon content display method, device, equipment and readable storage medium
CN113096686A (en) Audio processing method and device, electronic equipment and storage medium
US20150058394A1 (en) Method for processing data and electronic apparatus
CN112734882B (en) Image processing method and device
CN114390356A (en) Video processing method, video processing device and electronic equipment
CN115793921A (en) Desktop layout adjusting method and device, electronic equipment and readable storage medium
CN114860122A (en) Application program control method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination