File editing method and device, and electronic device
By generating and associating editing ideas with text, the problem of users forgetting their editing ideas is solved, thus improving the efficiency of file editing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- VIVO MOBILE COMM CO LTD
- Filing Date
- 2024-11-18
- Publication Date
- 2026-04-28
AI Technical Summary
When users do not edit files for an extended period of time, they are prone to forgetting their editing process, resulting in low file editing efficiency.
The system generates an editing idea text and associates it with the file, allowing users to quickly recall their editing ideas and continue editing based on the text.
By generating and associating editing thought text, users can quickly recall their editing ideas, thereby improving the efficiency of document editing.
Smart Images

Figure CN119538881B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of electronic technology, specifically relating to a document editing method, apparatus, and electronic device. Background Technology
[0002] Most current document editing software includes a draft box feature. This fulfills users' needs for temporary file storage and management.
[0003] Generally, users may have to stop editing for various reasons during the editing process, but want to retain the current editing progress. In this case, the unfinished file can be saved to the drafts folder for easy continued editing or modification later.
[0004] However, if users do not continue editing an unfinished file for an extended period of time, they may forget their original editing process. This can lead to an inability to quickly recall the editing ideas when editing files, resulting in lower efficiency for electronic devices in file editing. Summary of the Invention
[0005] The purpose of this application is to provide a document editing method, apparatus, and electronic device that can improve the efficiency of document editing by electronic devices.
[0006] In a first aspect, embodiments of this application provide a file editing method, which includes: generating an editing idea text when performing a first editing operation on a first file, the editing idea text being used to describe the first editing operation; associating the editing idea text with the first file to obtain the edited first file.
[0007] Secondly, embodiments of this application provide a document editing apparatus, which includes a generation module and an association module. The generation module is used to generate editing idea text when a first editing operation is performed on a first document, the editing idea text describing the first editing operation. The association module is used to associate the editing idea text generated by the generation module with the first document to obtain the edited first document.
[0008] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, the memory storing programs or instructions executable on the processor, the programs or instructions, when executed by the processor, implementing the steps of the method described in the first aspect.
[0009] Fourthly, embodiments of this 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 described in the first aspect.
[0010] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method as described in the first aspect.
[0011] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method described in the first aspect.
[0012] In this embodiment, when performing a first editing operation on a first file, an editing logic text is generated to describe the first editing operation. Then, the editing logic text is associated with the first file to obtain the edited first file. In this solution, since the editing logic text can be generated based on the first editing operation, if the user does not edit the file for an extended period, the user can quickly recall the editing logic of the first file based on the editing logic text contained in the first file, and then continue editing the first file through the electronic device. In other words, the user can quickly recall subsequent editing operations of the first file based on the editing logic text, thereby improving the efficiency of file editing on the electronic device. Attached Figure Description
[0013] Figure 1 This is a schematic diagram of a document editing method provided in an embodiment of this application;
[0014] Figure 2 This is one of the schematic diagrams illustrating a file editing interface provided in the embodiments of this application;
[0015] Figure 3 This is a second example of a file editing interface provided in the embodiments of this application;
[0016] Figure 4 This is a third example of a document editing interface provided in this application embodiment;
[0017] Figure 5 This is one of the schematic diagrams illustrating a document editing interface provided in the embodiments of this application;
[0018] Figure 6 This is a fourth example of a document editing interface provided in the embodiments of this application;
[0019] Figure 7A This is a second example of a document editing interface provided in the embodiments of this application;
[0020] Figure 7B This is a third example of a document editing interface provided in the embodiments of this application;
[0021] Figure 7C This is the fourth example of a document editing interface provided in the embodiments of this application;
[0022] Figure 8A This is one of the example schematic diagrams of a draft box interface provided in the embodiments of this application;
[0023] Figure 8B This is a second example of a draft box interface provided in the embodiments of this application;
[0024] Figure 9A This is a third example of a draft box interface provided in the embodiments of this application;
[0025] Figure 9B This is the fourth example of a draft box interface provided in the embodiments of this application;
[0026] Figure 10A This is the fifth example of a draft box interface provided in the embodiments of this application;
[0027] Figure 10B This is the sixth example of a draft box interface provided in the embodiments of this application;
[0028] Figure 11 This is a schematic diagram of the structure of a document editing device provided in an embodiment of this application;
[0029] Figure 12 This is one of the hardware structure diagrams of an electronic device provided in the embodiments of this application;
[0030] Figure 13 This is a second schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0031] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0032] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0033] The terms "at least one," "at least one of," etc., used in the specification and claims of this application refer to any one, any two, or a combination of two or more of the included objects. For example, at least one of a, b, and c can mean: "a," "b," "c," "a and b," "a and c," "b and c," and "a, b, and c," where a, b, and c can be single or multiple. Similarly, "at least two" refers to two or more, and its meaning is similar to that of "at least one."
[0034] The document editing method, apparatus, and electronic device provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.
[0035] The file editing method, apparatus, and electronic device provided in this application can be applied to file editing scenarios where editing is incomplete. For example, in scenarios involving incomplete video editing, incomplete image editing, or incomplete audio editing.
[0036] For the aforementioned video editing scenarios where editing is incomplete, if a user does not edit the incomplete video for an extended period of time but still needs to continue editing it, the user can long-press on the video to input text. This allows the electronic device to display the editing thought process text for each previous editing operation. The user can then quickly recall the editing thought process based on this text and continue editing the incomplete video.
[0037] In the above-mentioned image editing scenario where the editing is incomplete, if the user does not edit the incomplete image for a long time but needs to continue editing the incomplete image, the user can long-press the image to input, so that the electronic device can display the editing idea text of each editing operation of the previously edited image. Then, the user can quickly recall the editing idea at that time based on the above editing idea text, and then continue to edit the incomplete image.
[0038] In the above-mentioned audio editing scenario where the editing is incomplete, if the user does not edit the incomplete audio for a long time but needs to continue editing the incomplete audio, the user can long press the audio input to display the editing thought process text of each previous editing operation. Then, the user can quickly recall the editing thought process based on the above editing thought process text and continue editing the incomplete audio.
[0039] In the document editing method, apparatus, and electronic device provided in this application embodiment, since an editing idea text can be generated based on the first editing operation, if the user does not edit the unfinished document for a long time, the user can quickly recall the editing idea of editing the first document based on the editing idea text contained in the first document, and then continue to edit the first document through the electronic device; that is, the user can quickly recall the subsequent editing operations of editing the first document based on the editing idea text, thereby improving the efficiency of document editing by the electronic device.
[0040] The executing entity of the file editing method provided in this application embodiment can be a file editing device, which can be an electronic device or a functional module in an electronic device. The following uses an electronic device as an example to illustrate the technical solution provided in this application embodiment.
[0041] This application provides a document editing method. Figure 1 A flowchart illustrating a document editing method provided in an embodiment of this application is shown. Figure 1 As shown, the document editing method provided in this application embodiment may include the following steps 201 and 202.
[0042] Step 201: When performing the first editing operation on the first file, the electronic device generates the editing idea text.
[0043] In this embodiment of the application, the above-mentioned editing idea text is used to describe the first editing operation.
[0044] Optionally, in the embodiments of this application, the first editing operation described above can be one or more.
[0045] Optionally, in this embodiment, the first file can be an incompletely edited first file or an unedited first file. The specific choice can be determined based on actual usage requirements, and this embodiment does not impose any limitations.
[0046] It should be noted that the first file mentioned above that was not fully edited refers to a file that the user has edited in the past but has not yet completed the editing.
[0047] For example, the first file that is not yet fully edited can be a file stored in the drafts folder.
[0048] Optionally, in this embodiment, the first file can be any of the following: an image, video, audio, or text, etc. The specific type can be determined according to actual usage requirements, and this embodiment does not impose any limitations.
[0049] Optionally, in this embodiment of the application, the first editing operation may include a second editing function and a second editing parameter.
[0050] Optionally, in this embodiment, the second editing function may include at least one of the following: cropping, adding filters, adding background music, and adding text. The specific function can be determined according to actual usage needs, and this embodiment does not impose any limitations.
[0051] Optionally, in this embodiment, the text may include at least one of the following: Chinese characters, English characters, or artistic fonts, etc. The specific text can be determined according to actual usage requirements, and this embodiment does not impose any limitations.
[0052] Optionally, in this embodiment, the second editing parameters include at least one of the following: the time segment to be captured, the capture position, the filter style, and the background music. The specific parameters can be determined according to actual usage needs, and this embodiment does not impose any limitations.
[0053] In this embodiment of the application, when performing a first editing operation on a first document, the electronic device can generate the above-mentioned editing idea text based on the first editing parameters and the first editing function.
[0054] For example, the electronic device can acquire the text information of the first editing parameter and the text information of the first editing function, and combine the text information of the first editing parameter and the text information of the first editing function to obtain the above-mentioned editing idea text.
[0055] For example, if the text information of the first editing function is "crop" and the text information of the first editing parameter is "the time period from 10:00 to 11:00 in the video", the electronic device can combine and sort the above "crop" and the above "the time period from 10:00 to 11:00 in the video" according to the word order of Chinese to obtain the editing idea text "crop the time period from 10:00 to 11:00 in the video".
[0056] Optionally, in this embodiment of the application, the "generating editing idea text by electronic device" in step 201 above can be specifically implemented through steps 201a to 201d below.
[0057] Step 201a: The electronic device receives the first input to the first control in the file editing interface corresponding to the first file.
[0058] In this embodiment of the application, the first input is used to select a first control from the file editing interface.
[0059] Optionally, in this embodiment, the first input can be a user's click input, long press input, preset trajectory input, or swipe input on the first control, etc., which can be determined according to specific usage requirements, and this embodiment does not impose any restrictions.
[0060] In this embodiment of the application, the above-mentioned file editing interface can be the editing interface corresponding to the first file.
[0061] Optionally, in this embodiment, the file editing interface can be any of the following: an image editing interface, a video editing interface, an audio editing interface, etc. The specific interface can be determined according to actual usage requirements, and this embodiment does not impose any limitations.
[0062] For example, if the first file is a video, the file editing interface can be a video editing interface; if the first file is an audio file, the file editing interface can be an audio editing interface; if the first file is an image file, the file editing interface can be an image editing interface.
[0063] Optionally, in this embodiment of the application, the first control can be displayed in a blank area of the file editing interface; or, the first control can be displayed in a preset position of the file editing interface.
[0064] It should be noted that the blank area in the above file editing interface can be an area that does not contain editing controls or the file to be edited.
[0065] Optionally, in this embodiment of the application, after the electronic device displays the file editing interface, the electronic device may display a prompt message "Whether to use the 'Creative Recording' mode", a confirmation control and a cancellation control. Then, the user can click on the confirmation control to input, so that the electronic device can display the first control.
[0066] For example, such as Figure 2 As shown, taking a mobile phone as an example and a video as the first file, the phone displays a video editing interface 10. This video editing interface 10 includes editing controls, title and end credits controls, audio controls, text controls, and adjustment controls. A pop-up window 11 is displayed in the video editing interface 10, showing the prompt "Use 'Creative Recording' mode for video editing?" and a confirmation button. Figure 2 The text uses "Yes" to indicate the option to cancel the control. Figure 2 The option is indicated by "No"; the user can click on the control to input a confirmation, so that the electronic device can display the first control.
[0067] Optionally, in this embodiment of the application, the user can click on the cancel control to allow the electronic device to process the file according to the conventional file editing process, that is, the electronic device may not display the first control.
[0068] Step 201b: The electronic device responds to the first input and displays the file editing interface.
[0069] In this embodiment of the application, the above-mentioned file editing interface includes a first input box.
[0070] Optionally, in this embodiment of the application, the electronic device may display an editing profile interface in a file editing interface; or, the electronic device may jump to a document application to display an editing profile interface, the editing profile interface in the document application being associated with the first file.
[0071] Optionally, in this embodiment of the application, the electronic device can display the first input box in the file editing interface via a pop-up window; or, the electronic device can display the first input box in a blank area of the file editing interface.
[0072] Optionally, in this embodiment, the first input box can be a text input box or a voice input box. The specific type can be determined based on actual usage requirements, and this embodiment does not impose any limitations.
[0073] Step 201c: The electronic device receives the second input, in which the editing idea text is entered in the first input box.
[0074] In this embodiment of the application, the second input is used to input the text of the editing idea.
[0075] Optionally, in this embodiment of the application, the second input can be text input or voice input in the first input box.
[0076] Optionally, in this embodiment of the application, when the first input is voice input, the electronic device can convert the voice into text according to the first algorithm to obtain the editing idea text.
[0077] Optionally, in the embodiments of this application, the first algorithm mentioned above can be any of the following: AI algorithm, neural network algorithm, large model algorithm, or automatic speech recognition (ASR) algorithm.
[0078] For example, an electronic device can input the user's voice into an ASR algorithm. The ASR algorithm splits the first voice into audio frames, and converts the split audio frames into multi-dimensional vector information according to human ear characteristics. Then, it combines the multi-dimensional vector information to form phonemes, and finally combines the phonemes into words and strings them together to form sentences, thereby obtaining the above-mentioned editing idea text.
[0079] Step 201d: The electronic device responds to the second input and obtains the text of the editing idea.
[0080] Optionally, in this embodiment of the application, after obtaining the editing idea text, the electronic device can store the editing idea text and the corresponding text version in the first document described below.
[0081] In this embodiment, the electronic device obtains the editing idea text through user input, so that if the user does not edit the unfinished file for a long time, the user can quickly recall the editing idea of editing the first file based on the editing idea text contained in the first file.
[0082] Step 202: The electronic device associates the editing idea text with the first file to obtain the first file after editing.
[0083] Optionally, in this embodiment of the application, the electronic device can associate the text of the editing idea with the content of the first file in the first file to obtain the first file after editing.
[0084] It should be noted that the content of the first file mentioned above is the content of the file corresponding to the first editing operation.
[0085] Optionally, in this embodiment of the application, the electronic device can add the above-mentioned editing idea text to the editing idea document corresponding to the first file, that is, the first document below, so that the user can view the editing idea of the first file through the editing idea document.
[0086] Optionally, in the embodiments of this application, under the above-mentioned "creative recording" mode, after each editing operation is performed by the electronic device, the electronic device will save the start time and end time of the editing operation, the original file before the editing operation, and the above-mentioned editing idea text.
[0087] Optionally, in this embodiment of the application, the electronic device can save the start and end times of the above-mentioned editing operation, the original file before the editing operation, and the above-mentioned editing idea text in the editing idea document.
[0088] For example, such as Figure 3As shown, after the phone completes the first editing operation, the phone can display the following information in the video editing interface 10: "The relevant information for this editing operation has been saved. You can record your editing ideas below," a text input box 13, a cancel control, a complete control, and a save project control. The user can enter "From 0 seconds into the video to 2 seconds into the video, extract this video segment" in the text input box. Then, clicking the complete control allows the phone to obtain the editing idea text and associate it with the video.
[0089] In the file editing method provided in this application embodiment, when performing a first editing operation on a first file, an editing idea text is generated, which describes the first editing operation. Then, the editing idea text is associated with the first file to obtain the edited first file. In this solution, since the editing idea text can be generated based on the first editing operation, if the user does not edit the file for a long time, the user can quickly recall the editing idea of editing the first file based on the editing idea text contained in the first file, and then continue to edit the first file through the electronic device. In other words, the user can quickly recall the subsequent editing operations of editing the first file based on the editing idea text, thereby improving the efficiency of file editing by the electronic device.
[0090] Optionally, in this embodiment of the application, the first editing operation includes at least one editing operation, the editing idea text includes at least one editing idea text, and one of the at least one editing operations corresponds to one editing idea text.
[0091] For example, after step 202 above, the document editing method provided in this application embodiment further includes steps 301 to 302 as described below.
[0092] Step 301: The electronic device displays the second control in the file editing interface.
[0093] In this embodiment of the application, the second control is used to trigger the electronic device to display a first document, which may include at least one of the above-mentioned editing idea texts.
[0094] Optionally, in this embodiment of the application, the electronic device may display the second control after completing the first editing operation and obtaining the editing idea text corresponding to the first editing operation.
[0095] Optionally, in this embodiment of the application, the above-mentioned file editing interface also includes a save project control. The user can input the save project control so that the electronic device can display the project save interface and save the first file after the first editing operation and the editing idea text corresponding to the first editing operation.
[0096] Optionally, in this embodiment of the application, the above-mentioned project saving interface may include the project name, i.e. the name of the first file, a rename control, a first control, a keyword generation control, and a sharing control.
[0097] In one example, the user inputs into a rename control so that the electronic device can display a text input box where the user can enter a new item name, and the electronic device can then update the item name to the one entered by the user.
[0098] In another example, the user can input information into the share control so that the electronic device can share the edited first file to the application corresponding to the share control.
[0099] It should be noted that when an electronic device shares the first edited file, it will only share the first edited file and will not share other information such as the editing process.
[0100] For example, combined Figure 3 ,like Figure 4 As shown, after the user clicks and enters input on the save item control in the file editing interface 10, the electronic device can display the item save interface 14, which includes the item name. Figure 4 Project 1 represents renaming controls, generating controls using keywords, and the first control. Figure 4 The document includes a file generation and editing function, and a sharing control (15).
[0101] Optionally, in this embodiment of the application, after the user inputs information into the save item control, the electronic device can save the edited first file to the draft box.
[0102] Step 302: The electronic device receives a third input to the second control.
[0103] In this embodiment of the application, the third input is used to select the second control from the file editing interface.
[0104] Optionally, in the embodiments of this application, the aforementioned third input includes, but is not limited to: user clicking on the second control using a touch device such as a finger or stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs. The specific input can be determined according to actual usage needs, and the embodiments of this application do not limit it.
[0105] In some embodiments of this application, the aforementioned specific gesture can be any one of a single-click gesture, a swipe gesture, a drag gesture, a pressure-recognition gesture, a long-press gesture, an area-changing gesture, a double-press gesture, or a double-tap gesture.
[0106] In some embodiments of this application, the aforementioned click input can be a single click, a double click, or any number of clicks, or it can be a long press or a short press. For example, the first input can be a user's click on the first control.
[0107] Step 303: In response to the third input, the electronic device displays at least one editing idea text and at least one physical address identifier in the first document.
[0108] In this embodiment of the application, the above-mentioned at least one physical address identifier is the physical address identifier of the file version corresponding to at least one editing operation, and one of the at least one physical address identifiers corresponds to one of the at least one editing idea texts.
[0109] In this embodiment of the application, the above-mentioned file version is the first edited file obtained after each editing operation performed by the electronic device.
[0110] For example, if a first file is edited using an electronic device, the file version can be the edited first file.
[0111] Optionally, in this embodiment of the application, the physical address can be a Uniform Resource Locator (URL) link.
[0112] For example, such as Figure 5 As shown, the mobile phone displays a first document 16 based on the user's input by clicking on the second control. The first document 16 includes the editing idea text corresponding to the five editing operations and the URL links of the file versions corresponding to the five editing operations.
[0113] In this embodiment of the application, the electronic device can integrate multiple editing idea texts, so that the user can quickly recall the editing ideas at that time through multiple editing idea texts, and thus continue to edit the first file.
[0114] Optionally, in this embodiment of the application, the first document mentioned above also includes an editing control, which allows the user to input information into the editing control so that the electronic device can edit the text of the editing idea according to the editing function corresponding to the editing control.
[0115] Optionally, in this embodiment of the application, the first interface includes a delete control.
[0116] For example, after step 303 above, the document editing method provided in this application embodiment further includes steps 401 and 402 as described below.
[0117] Step 401: The electronic device receives the fourth input for the delete control and the first editing idea text.
[0118] In this embodiment of the application, the first editing idea text mentioned above is any one of a plurality of editing idea texts.
[0119] Optionally, in this embodiment of the application, the electronic device may display the delete control in the first document via a pop-up window; or, the electronic device may display the delete control in a blank area of the first document.
[0120] In this embodiment of the application, the fourth input is used to select the delete control and the first editing idea text from the first document.
[0121] Optionally, in this embodiment, the fourth input includes, but is not limited to: the user clicking the delete control with a finger or stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs. The specific input can be determined according to actual usage needs, and this embodiment does not limit it.
[0122] Step 402: In response to the fourth input, the electronic device deletes the first editing idea text and deletes the physical address identifier of the file version corresponding to the first editing idea text.
[0123] Optionally, in this embodiment of the application, the electronic device can receive a fourth input from the user to the above-mentioned deletion control, thereby deleting the last editing idea text among multiple editing idea texts and deleting the physical address identifier of the file version corresponding to the last editing idea text.
[0124] In this embodiment, the electronic device can edit multiple editing idea texts in the integrated interface by deleting controls, thereby improving the flexibility of the electronic device in processing editing idea texts.
[0125] Optionally, in this embodiment of the application, the first document mentioned above also includes a modification control.
[0126] For example, after step 303 above, the document editing method provided in this application embodiment further includes steps 501 to 504 as described below.
[0127] Step 501: The electronic device receives the fifth input to the second editing idea text and modification controls.
[0128] In this embodiment of the application, the second editing idea text mentioned above is any one of the at least one editing idea texts.
[0129] Optionally, in this embodiment of the application, the electronic device may display the modification control in the first document via a pop-up window; or, the electronic device may display the modification control in a blank area of the first document.
[0130] In this embodiment of the application, the fifth input is used to select the modification control and the second editing idea text from the first document.
[0131] Optionally, in this embodiment, the fifth input includes, but is not limited to: the user clicking on the modification control and the second editing idea text using a touch device such as a finger or stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs. The specific input can be determined according to actual usage needs, and this embodiment does not limit it.
[0132] Optionally, in this embodiment of the application, the second editing idea text can be one or more of at least one editing idea text.
[0133] Step 502: In response to the fifth input, the electronic device displays the second input box in the first document.
[0134] Optionally, in this embodiment of the application, when there are multiple second editing idea texts, the electronic device can display a second input box once each time the user selects a second editing idea text and a modification control.
[0135] Optionally, in this embodiment of the application, the electronic device can display the second input box in the first document via a pop-up window; or, the electronic device can display the second input box in a blank area of the first document.
[0136] Step 503: The electronic device receives the sixth input to the second input box.
[0137] In this embodiment of the application, the sixth input includes a first editing parameter and a first editing function.
[0138] Optionally, in this embodiment of the application, the second input box can be a text input box or a voice input box; that is, the user can input text or voice in the second input box.
[0139] Optionally, in this embodiment of the application, the sixth input can be text input or voice input.
[0140] Optionally, in this embodiment of the application, when the sixth input is voice input, the electronic device can convert the voice input into text input using the ASR algorithm and display it in the second input box.
[0141] Optionally, in this embodiment of the application, there may be multiple second input boxes.
[0142] For example, there can be two second input boxes, one of which is used to input the first editing function, and the other of which is used to input the first editing parameters.
[0143] Optionally, in this embodiment, the first editing function may include at least one of the following: cropping, adding filters, adding background music, and adding text. The specific function can be determined according to actual usage needs, and this embodiment does not impose any limitations.
[0144] Optionally, in this embodiment, the first editing parameters include at least one of the following: the time segment to be captured, the capture position, the filter style, and the background music. The specific parameters can be determined according to actual usage needs, and this embodiment does not impose any limitations.
[0145] Step 504: The electronic device responds to the sixth input, updates the second editing idea text according to the first editing parameters and the first editing function, and edits the file content in the file version corresponding to the second editing idea text according to the first editing parameters and the first editing function.
[0146] In this embodiment of the application, the electronic device can replace the editing parameters and editing functions contained in the second editing idea text with the first editing parameters and first editing functions input by the user to obtain the updated second editing idea text.
[0147] Optionally, in this embodiment of the application, when there are multiple second editing idea texts, the electronic device can update multiple second editing idea texts sequentially based on multiple first editing parameters and first editing functions input by the user.
[0148] Optionally, in this embodiment of the application, after the electronic device updates the second editing idea text according to the first editing parameters and the first editing function, the electronic device can automatically edit the first file again according to the first editing parameters and the first editing function, and display the file version identifier of the first file after the second editing in the first document.
[0149] In this embodiment of the application, the electronic device can modify the control to edit the second editing idea text, thereby improving the flexibility of the electronic device in editing the second editing idea text.
[0150] Optionally, in this embodiment of the application, the first document mentioned above also includes a newly added control.
[0151] For example, after step 303 above, the document editing method provided in this application embodiment further includes steps 601 and 602 as described below.
[0152] Step 601: The electronic device receives the seventh input to the newly added control.
[0153] In this embodiment of the application, the seventh input includes a second editing idea text, which is a text description of the editing operation required by the user.
[0154] Optionally, in this embodiment of the application, the electronic device may display the newly added control in the first document via a pop-up window; or, the electronic device may display the newly added control in a blank area of the first document.
[0155] In this embodiment of the application, the seventh input is used to select a new control and input the third editing idea text in the new control.
[0156] Optionally, in this embodiment of the application, the seventh input can be text input or voice input.
[0157] Optionally, in this embodiment of the application, when the seventh input is voice input, the electronic device can convert the voice input into text input using the ASR algorithm and display it in the newly added control.
[0158] Optionally, in this embodiment of the application, the aforementioned third editing idea text includes a third editing function and third editing parameters.
[0159] Optionally, in this embodiment, the third editing function may include at least one of the following: cropping, adding filters, adding background music, and adding text. The specific function can be determined according to actual usage needs, and this embodiment does not impose any limitations.
[0160] Optionally, in this embodiment, the third editing parameter includes at least one of the following: the time segment to be captured, the capture position, the filter style, and the background music. The specific parameter can be determined according to actual usage requirements, and this embodiment does not impose any limitations.
[0161] Optionally, in this embodiment of the application, the electronic device can display two input boxes through the user's seventh input to the newly added control. The user can enter a third editing function in one of the two input boxes and enter a third editing parameter in the other input box.
[0162] Optionally, in this embodiment of the application, the two input boxes corresponding to the newly added control can be either voice input boxes or text input boxes.
[0163] Step 602: The electronic device responds to the seventh input by adding a third editing idea text to the first document, and edits the first document according to the third editing idea text, and displays the physical address identifier of the file version of the edited first document in the first document.
[0164] In this embodiment of the application, the electronic device can add a third editing idea text after the last editing idea text in the integration interface according to the third editing parameters contained in the third editing idea text.
[0165] For example, the third editing function is the trimming function, and the third editing parameter is "from 0 seconds of the video to 2 seconds of the video". Then, the electronic device can write the editing idea text corresponding to the new editing operation based on the two pieces of information: "trimming function" and "from 0 seconds of the video to 2 seconds of the video", that is, "trim the video segment from 0 seconds of the video to 2 seconds of the video".
[0166] Optionally, in this embodiment of the application, after obtaining the third editing function and the third editing parameters, the electronic device can automatically edit the first file again according to the third editing function and the third editing parameters, thereby obtaining the first file after being edited again, and displaying the physical address identifier of the file version of the first file after being edited again in the first document.
[0167] In this embodiment of the application, the electronic device can add editing idea text to the first document by adding a new control, thereby improving the flexibility of the electronic device in processing editing idea text.
[0168] Optionally, in this embodiment of the application, the first document also includes a continue editing item control. The user can click on the continue editing item control to allow the electronic device to jump to the file editing interface to continue editing the first file. When entering the file editing interface, a pop-up window will first prompt the user "Synchronizing the latest changes to the file...". At this time, the electronic device will synchronize the changes made by the user in editing the file (modifying the editing ideas, deleting / adding editing operations) to the first file, and then the user can continue editing on this basis.
[0169] For example, combined Figure 5 ,like Figure 6 As shown, the integrated interface 16 also includes a "Continue Editing" control. Users can click on the "Continue Editing" control to switch the phone to the video editing interface 10 and display the message "Synchronizing the latest changes in the edited file...". At this time, the phone will synchronize the changes made by the user in the edited file to the video, and then the user can continue editing on this basis.
[0170] Optionally, in this embodiment of the application, after the electronic device synchronizes the user's changes in the first document to the first file, the electronic device can update the first document with the changes in the video version caused by these changes.
[0171] For example, when adding a trimming operation, the start and end timestamps to be trimmed and the start and end timestamps after the trimming are provided; when adding a title or end title operation, a specific title or end title template needs to be specified, etc. Then, the idea text corresponding to the new editing operation is written. The electronic device can perform the editing operation on the latest version of the video of the editing project according to the new operation type and corresponding parameters, obtain the new video version and generate a URL link. Finally, the new idea text and URL link are added to the end of the document.
[0172] Optionally, in this embodiment of the application, when the user clicks the "Save Project" control in the file editing interface and then clicks "Generate Edit File", the electronic device can generate another edit file based on the editing operation and editing text ideas of the first file after editing, and display the identifier of the other edit file in the integrated interface.
[0173] It should be noted that at this point, the "Continue Editing Item" control is only present in the other editing file, while the original editing file does not have the "Continue Editing Item" control.
[0174] Optionally, in this embodiment of the application, if the user only clicks the "Save Project" control, another edit file will not be generated; the changes will only be synchronized to the original edit file.
[0175] Optionally, in this embodiment of the application, after step 303 above, the document editing method provided in this embodiment of the application further includes the following steps 701 and 702.
[0176] Step 701: The electronic device receives an eighth input for a first physical address identifier in at least one physical address identifier.
[0177] In this embodiment of the application, the eighth input is used to select a first physical address identifier from at least one physical address identifier.
[0178] Optionally, in this embodiment of the application, the first physical address identifier can be one or more.
[0179] Step 702: The electronic device responds to the eighth input by displaying the file version corresponding to the first physical address identifier.
[0180] Optionally, in this embodiment of the application, the electronic device can display a pop-up window to play the file version corresponding to the first physical address in the first document; or, the electronic device can jump to the photo album application and play the file version corresponding to the first physical address through the photo album application.
[0181] Optionally, in this embodiment of the application, when there are multiple first physical addresses, the user can perform an eighth input on each of the multiple first physical addresses so that the electronic device can display the file versions corresponding to the multiple first physical addresses respectively.
[0182] For example, taking two first physical addresses as an example, the user can input the first physical address to enable the electronic device to display the file version corresponding to the first physical address. Then, the user can input the second physical address to enable the electronic device to display the file version corresponding to the second physical address.
[0183] In this embodiment, the electronic device can directly display the file version corresponding to the first physical address by the user's input of the first physical address. The user can then view the current editing approach based on the file version corresponding to the first physical address, and quickly recall the subsequent editing operations of the first file based on the editing approach, thereby improving the efficiency of the electronic device in editing files.
[0184] Optionally, in this embodiment of the application, the first document includes at least two file identifiers, each of the at least two file identifiers corresponds to a file editing document, and each of the at least one editing document includes at least one editing idea text.
[0185] For example, the document editing method provided in this application embodiment further includes the following steps 801 and 802.
[0186] Step 801: The electronic device receives a ninth input for a first file identifier and a second file identifier of at least two file identifiers.
[0187] In this embodiment of the application, the first file identifier corresponds to the edited document of the first file after editing, and the second file identifier corresponds to the edited document of the second file.
[0188] Optionally, in this embodiment of the application, the electronic device may display the above-mentioned at least two file identifiers in the editing project folder interface of the first document.
[0189] Optionally, in this embodiment, the document identifier can be any of the following: image identifier, text identifier, emoticon identifier, or special symbol identifier, etc. The specific identifier can be determined according to actual usage requirements, and this embodiment does not impose any limitations.
[0190] In this embodiment of the application, the ninth input is used to select a first file identifier and a second file identifier from at least two file identifiers.
[0191] Optionally, in the embodiments of this application, the above-mentioned ninth input includes, but is not limited to: the user clicking on the first file identifier and the second file identifier through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs. The specific input can be determined according to actual usage needs, and the embodiments of this application do not limit it.
[0192] Step 802: The electronic device responds to the ninth input and performs editing processing on the first file after editing based on the third and fourth editing operations.
[0193] In this embodiment, the third editing operation is the editing operation corresponding to multiple editing idea texts contained in the editing document corresponding to the first file identifier; the fourth editing operation is the editing operation corresponding to multiple editing idea texts contained in the editing document corresponding to the second file identifier.
[0194] For example, the third editing operation mentioned above can be the editing operation corresponding to all the editing idea text contained in the editing document corresponding to the first file identifier; the fourth editing operation mentioned above can be the editing operation corresponding to all the editing idea text contained in the editing document corresponding to the second file identifier.
[0195] Optionally, in this embodiment of the application, the electronic device can integrate the third editing operation and the fourth editing operation to edit the edited first file through the integrated editing operation.
[0196] Optionally, in this embodiment of the application, the electronic device can edit the edited first file according to the sixth editing operation selected by the user; wherein the sixth editing operation can be the third editing operation or the fourth editing operation.
[0197] In this embodiment, the electronic device can perform batch editing on the first file again based on the editing operation corresponding to the editing idea text, thereby improving the efficiency of the electronic device in editing the first file.
[0198] Optionally, in the embodiments of this application, step 802 can be specifically implemented through steps 802a to 802d as described below.
[0199] Step 802a: The electronic device responds to the ninth input and displays the integrated control.
[0200] Optionally, in this embodiment of the application, the electronic device can display the integrated controls in the first document via a pop-up window, or the electronic device can display the integrated controls in a blank area of the first document.
[0201] Step 802b: The electronic device receives the tenth input to the integrated control.
[0202] In this embodiment of the application, the tenth input is used to select an integrated control from the first document.
[0203] Optionally, in the embodiments of this application, the tenth input includes, but is not limited to: the user clicking on the integrated control through a touch device such as a finger or stylus, or the user's voice command, or the user's specific gesture, or other feasible inputs. The specific input can be determined according to actual usage needs, and the embodiments of this application do not limit it.
[0204] Step 802c: The electronic device responds to the tenth input and integrates the third and fourth editing operations to obtain the fifth editing operation.
[0205] In this embodiment of the application, the electronic device can merge the third editing operation and the fourth editing operation to obtain the fifth editing operation.
[0206] For example, an electronic device may add a fourth editing operation after a third editing operation to obtain a fifth editing operation.
[0207] Optionally, in the embodiments of this application, when the same editing operation exists in the third editing operation and the fourth editing operation, the electronic device may retain either editing operation.
[0208] It should be noted that the above-mentioned identical editing operations refer to the same editing functions and the same editing parameters.
[0209] It is understandable that since the third editing operation is a multi-editing operation, and the fourth editing operation is also a multi-editing operation, the fifth editing operation is also a multi-editing operation.
[0210] Optionally, after the electronic device receives the fifth editing operation, the electronic device can write the fifth editing operation into a new editing document to obtain the editing document corresponding to the fifth editing operation.
[0211] For example, such as Figure 7A As shown, the phone can display file identifiers "Edit File a" and "Edit File b" in the edit project folder interface 17 of the integrated interface, such as... Figure 7B As shown, the user can then click the editing idea combination control 18 in the edit project folder interface 17 to allow the phone to display the overlay control and the integration control. The user can then click and input on the integration control, the file identifier "Edit File a", and the file identifier "Edit File b" to allow the electronic device to merge the third editing operation contained in "Edit File a" and the fourth editing operation contained in "Edit File b", as shown. Figure 7C As shown, the file identifier "Edit File c" is displayed in the Edit Project Folder interface 17.
[0212] Step 802d: The electronic device edits the first file after editing according to the fifth editing operation.
[0213] In this embodiment of the application, the electronic device can call a file editing application to edit the first file according to the fifth editing operation.
[0214] Optionally, in this embodiment of the application, after the electronic device receives the fifth editing operation, the electronic device may display a prompt message to remind the user to re-specify the editing parameters corresponding to each editing function in order to obtain the sixth editing operation.
[0215] Optionally, in this embodiment of the application, the electronic device can regenerate the edited document corresponding to the sixth edit operation based on the sixth edit operation.
[0216] In this embodiment, the electronic device can integrate the third and fourth editing operations, and then use the integrated editing operation, namely the fifth editing operation mentioned above, to edit the first file. This eliminates the need for the user to manually perform the editing operations sequentially, thereby improving the efficiency of the electronic device in editing the first file.
[0217] Optionally, in the embodiments of this application, step 802 can be specifically implemented through steps 802e to 802g as described below.
[0218] Step 802e: The electronic device responds to the ninth input and displays the overlay control.
[0219] Optionally, in this embodiment of the application, the electronic device can display the integrated controls in the integrated interface via a pop-up window, or the electronic device can display the integrated controls in a blank area of the integrated interface.
[0220] Step 802f: The electronic device receives the eleventh input to the overlay control.
[0221] In this embodiment of the application, the eleventh input is used to select an overlay control from the first document.
[0222] Optionally, in the embodiments of this application, the eleventh input includes, but is not limited to: the user clicking on the covered control through a touch device such as a finger or stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs. The specific input can be determined according to actual usage needs, and the embodiments of this application do not limit it.
[0223] In step 802g, the electronic device responds to the eleventh input, cancels the third editing operation on the first file after editing, and then performs the fourth editing operation on the first file after editing.
[0224] In this embodiment, the electronic device can overwrite the third editing operation with the fourth editing operation, and then edit the file content corresponding to the third editing operation through the fourth editing operation, without requiring the user to manually perform the editing process in sequence, thereby improving the efficiency of the electronic device in editing the first file.
[0225] Optionally, in this embodiment of the application, after step 203 above, the document editing method provided in this embodiment of the application further includes steps 901 to 905 as described below.
[0226] Step 901: The electronic device displays the draft box interface.
[0227] In this embodiment of the application, the draft box interface includes: a first file after editing and a third control, which is used to help the user recall the thought process when editing the first file.
[0228] Optionally, in this embodiment of the application, the user can click the application icon of the drafts application so that the electronic device can run the drafts application and display the drafts interface.
[0229] Optionally, in this embodiment of the application, the draft box interface may further include a continue editing control. The user can input the continue editing control so that the electronic device can jump to the file editing interface, so that the user can continue to edit the first file after editing in the file editing interface.
[0230] Step 902: The electronic device receives the twelfth input to the third control.
[0231] In this embodiment of the application, the twelfth input is used to select a third control from the draft box interface.
[0232] Optionally, in the embodiments of this application, the twelfth input includes, but is not limited to: the user clicking on the third control through a touch device such as a finger or stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs. The specific input can be determined according to actual usage needs, and the embodiments of this application do not limit it.
[0233] Step 903: The electronic device responds to the twelfth input by displaying at least one sub-control.
[0234] In this embodiment of the application, each of the at least one sub-control is used to display the editing ideas for editing the first file.
[0235] Optionally, in this embodiment of the application, the electronic device may display at least one sub-control in the draft box interface via a pop-up window; or, the electronic device may display at least one sub-control in a blank area of the draft box interface.
[0236] For example, the above-mentioned at least one sub-control can be two sub-controls, which can be a direct recall sub-control or a keyword-assisted recall sub-control.
[0237] Step 904: The electronic device receives the thirteenth input to the target sub-control in at least one sub-control.
[0238] In this embodiment of the application, the thirteenth input is used to select a target sub-control from at least one sub-control.
[0239] Optionally, in this embodiment, the thirteenth input includes, but is not limited to: the user clicking on the target sub-control using a touch device such as a finger or stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs. The specific input can be determined according to actual usage needs, and this embodiment does not limit it.
[0240] Step 905: The electronic device responds to the thirteenth input and displays the first information corresponding to the target sub-control.
[0241] In this embodiment of the application, the first information mentioned above includes at least one of the following: at least one editing idea text and at least one keyword identifier, each keyword identifier in the at least one keyword identifier contains at least one keyword, each keyword identifier in the at least one keyword corresponds to a file version, and the at least one keyword is determined based on the at least one editing idea text.
[0242] Optionally, in this embodiment of the application, when the target sub-control is a direct recall sub-control, the electronic device can display the start and end times of all editing operations, the original video before all editing operations, and the editing idea text corresponding to all editing operations.
[0243] For example, such as Figure 8A As shown, the draft box interface can include three project icons, each corresponding to a file that is not yet finished being edited. Figure 8A The items are designated as Project 1, Project 2, and Project 3; below each project identifier, there can be controls for continuing editing and creative recall, and then, as... Figure 8BAs shown, users can click on the Creative Memory control below Project 1 to enable the electronic device to display the Direct Memory sub-control and the Keyword-Assisted Memory sub-control. Then, users can click on the Direct Memory sub-control to input information, so that the phone can display Project 1 Memory Interface 19. Project 1 Memory Interface 19 displays 5 video versions, and below each video version, there is a text description of the editing operation, i.e., the editing idea text.
[0244] Optionally, in this embodiment, the project recall interface further includes a first playback control and a second playback control. Users can drag any two of the five video versions to the first and second playback controls respectively, allowing the electronic device to play the videos corresponding to those two versions in a split-screen format.
[0245] Optionally, in this embodiment of the application, when the target sub-control is a keyword-assisted recall sub-control, the electronic device may display at least one keyword identifier, and each keyword identifier in the at least one keyword identifier includes at least one keyword.
[0246] Optionally, in this embodiment of the application, if the user has not clicked the keyword-assisted recall sub-control in the draft box interface, a pop-up window will prompt the user to use the AI tool to generate keywords in real time when entering the page.
[0247] Optionally, in the embodiments of this application, each keyword identifier in the above-mentioned at least one keyword corresponds to at least one fourth control.
[0248] For example, after step 905 above, the document editing method provided in this application embodiment further includes steps 1001 and 1002 as described below.
[0249] Step 1001: The electronic device receives a fourteenth input to a fifth control in at least one fourth control.
[0250] In this embodiment of the application, the fourteenth input is used to select a fifth control from at least one fourth control.
[0251] Optionally, in this embodiment, the fourteenth input includes, but is not limited to: the user clicking on the fifth control using a touch device such as a finger or stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs. The specific input can be determined according to actual usage needs, and this embodiment does not limit it.
[0252] Optionally, in this embodiment of the application, after the user clicks the keyword-assisted recall sub-control, the electronic device can display a keyword-assisted recall page, which includes at least one keyword and at least one fourth control corresponding to the keyword.
[0253] For example, the above-mentioned at least one fourth control can be three controls, namely "Remember", "Somewhat Remember" and "Don't Remember".
[0254] Step 1002: In response to the fourteenth input, the electronic device determines the degree of forgetting of at least one file version and displays second information according to the degree of forgetting of at least one file version.
[0255] In this embodiment of the application, the second information mentioned above includes at least one of the following: the editing idea text corresponding to each file version in at least one file version, the edited text version corresponding to each file version in at least one file version, and the unedited file version corresponding to each file version.
[0256] In this embodiment of the application, the fourteenth input is the input to the fifth control corresponding to each keyword, so that the electronic device can determine the degree of forgetting of multiple file versions.
[0257] For example, such as Figure 9A As shown, the mobile phone can display a keyword-assisted recall page 20, which includes three keywords. Each of these three keywords corresponds to a file version. Below each of the three keywords, three third-party controls are displayed: "Remember," "Somewhat Remember," and "Don't Remember." The user can sequentially input the information into the three third-party controls displayed below each of the three keywords, such as... Figure 9B As shown, this allows the electronic device to display the degree of forgetting for five document versions on the keyword-assisted recall page 20.
[0258] For example, such as Figure 10A As shown, the keyword-assisted memory page 20 includes personalized memory controls, which users can click to input information, such as... Figure 10B As shown, this allows the electronic device to display the editing idea text, the edited text version, and the unedited version of each of the multiple file versions, based on the degree of forgetting among the multiple file versions.
[0259] Optionally, in this embodiment, the keyword-assisted recall page further includes a third playback control and a fourth playback control. Users can drag any two of the five video versions to the third and fourth playback controls respectively, allowing the electronic device to play the videos corresponding to those two versions in split-screen mode.
[0260] In this embodiment, the user can quickly recall the editing process of the first file based on the editing process text contained in the first file, and then continue to edit the first file through the electronic device; that is, the user can quickly recall the subsequent editing operations of the first file based on the editing process text, thereby improving the efficiency of file editing by the electronic device.
[0261] The above-described method embodiments, or various possible implementations of the method embodiments, can be executed individually, or, provided there are no contradictions, they can be combined with each other. The specific implementation can be determined according to actual usage requirements, and this application embodiment does not impose any restrictions on this.
[0262] It should be noted that the file editing method provided in this application embodiment can be executed by a file editing device. This application embodiment uses a file editing device executing the file editing method as an example to illustrate the file editing device provided in this application embodiment.
[0263] Figure 11 A schematic diagram of a possible structure of the document editing device involved in an embodiment of this application is shown. For example... Figure 11 As shown, the file editing device 70 may include a generation module 71 and an association module 72.
[0264] The generation module 71 is used to generate an editing idea text when a first editing operation is performed on the first file. The editing idea text describes the first editing operation. The association module 72 is used to associate the editing idea text generated by the generation module 71 with the first file to obtain the edited first file.
[0265] In one possible implementation, the file editing apparatus provided in this application embodiment further includes: a receiving module, a display module, and an acquiring module. The receiving module is used to receive a first input to a first control in the file editing interface corresponding to the first file. The display module is used to display an editing file interface, which includes a first input box, in response to the first input received by the receiving module. The receiving module is also used to receive a second input of editing idea text entered in the first input box. The acquiring module is used to acquire the editing idea text in response to the second input received by the receiving module.
[0266] In one possible implementation, the first editing operation includes at least one editing operation, and the editing idea text includes at least one editing idea text, with one editing operation corresponding to one editing idea text. The file editing apparatus provided in this application embodiment further includes a display module and a receiving module. The display module is used to display a second control in the file editing interface after obtaining the edited first file through the association module. The receiving module is used to receive a third input to the second control. The display module is also used to, in response to the third input received by the receiving module, display at least one editing idea text and at least one physical address identifier in the first document, where the at least one physical address identifier is the physical address identifier of the file version corresponding to at least one editing operation, and one physical address identifier corresponds to one editing idea text.
[0267] In one possible implementation, the first document includes a deletion control. The file editing apparatus provided in this application embodiment further includes a deletion module. The receiving module is further configured to receive a fourth input to the deletion control and the first editing idea text after the display module displays at least one editing idea text and at least one physical address identifier in the first document, wherein the first editing idea text is any one of a plurality of editing idea texts. The deletion module is configured to delete the first editing idea text and delete the physical address identifier of the file version corresponding to the first editing idea text in response to the fourth input received by the receiving module.
[0268] In one possible implementation, the first document further includes a modification control; the file editing apparatus provided in this application embodiment further includes an update module. The receiving module is further configured to receive a fifth input to the second editing idea text and the modification control after displaying at least one editing idea text and at least one physical address identifier in the first document, wherein the second editing idea text is any one of the at least one editing idea texts. The display module is further configured to display a second input box in the first document in response to the fifth input received by the receiving module. The receiving module is further configured to receive a sixth input to the second input box, wherein the sixth input includes a first editing parameter and a first editing function. The update module is configured to update the second editing idea text according to the first editing parameter and the first editing function in response to the sixth input received by the receiving module, and to edit the file content in the file version corresponding to the second editing idea text according to the first editing parameter and the first editing function.
[0269] In one possible implementation, the first document further includes a new control. The file editing apparatus provided in this application embodiment further includes an adding module. The receiving module is further configured to receive a seventh input to the new control after displaying at least one editing idea text and at least one physical address identifier in the first document. The seventh input includes a second editing idea text, which is a text description of the editing operation requested by the user. The adding module is configured to, in response to the seventh input received by the receiving module, add a third editing idea text to the first document, edit the first document according to the third editing idea text, and display the physical address identifier of the file version of the edited first document in the first document.
[0270] In one possible implementation, the receiving module is further configured to receive an eighth input for the first physical address identifier among the at least one physical address identifier after displaying at least one editing idea text and at least one physical address identifier in the first document. The display module is further configured to display the file version corresponding to the first physical address identifier in response to the eighth input received by the receiving module.
[0271] In one possible implementation, the first document includes at least two file identifiers, each file identifier corresponding to a file editing document, and each editing document including at least one editing idea text. The file editing apparatus provided in this application embodiment further includes: a processing module; the receiving module is further configured to receive a ninth input to the first file identifier and the second file identifier among the at least two file identifiers, the first file identifier corresponding to the edited document of the first file after editing, and the second file identifier corresponding to the edited document of the second file; the processing module is configured to, in response to the ninth input, perform editing processing on the edited first file based on a third editing operation and a fourth editing operation; wherein the third editing operation is an editing operation corresponding to at least one editing idea text contained in the edited document corresponding to the first file identifier; and the fourth editing operation is an editing operation corresponding to at least one editing idea text contained in the edited document corresponding to the second file identifier.
[0272] In one possible implementation, the display module is specifically used to display the integrated control in response to the ninth input received by the receiving module. The receiving module is specifically used to receive the tenth input to the integrated control. The processing module is specifically used to, in response to the tenth input, integrate the third and fourth editing operations to obtain a fifth editing operation; and to perform editing processing on the first file after the editing process according to the fifth editing operation.
[0273] In one possible implementation, the display module is specifically used to display the overlay control in response to the ninth input received by the receiving module. The receiving module is specifically used to receive the eleventh input to the overlay control. The processing module is specifically used to, in response to the eleventh input received by the receiving module, to undo the third editing operation's editing of the edited first file, and to perform editing on the edited first file through a fourth editing operation.
[0274] In one possible implementation, the display module is further configured to display a draft box interface after receiving the edited first file. The draft box interface includes the edited first file and a third control, which assists the user in recalling the thought process when editing the first file. The receiving module is further configured to receive a twelfth input to the third control. The display module is further configured to display at least one sub-control in response to the twelfth input received by the receiving module, each sub-control displaying the editing thought process for editing the first file. The receiving module is further configured to receive a thirteenth input to a target sub-control among the at least one sub-control. The display module is further configured to display first information corresponding to the target sub-control in response to the thirteenth input received by the receiving module; wherein the first information includes at least one of the following: at least one editing thought text and at least one keyword identifier, each keyword identifier containing at least one keyword, each keyword identifier corresponding to a file version, and the at least one keyword being determined based on at least one editing thought text.
[0275] In one possible implementation, each keyword identifier among the at least one keyword corresponds to at least one fourth control. The receiving module is further configured to, after displaying the first information corresponding to the target sub-control, receive a fourteenth input to a fifth control among the at least one fourth control. The processing module is further configured to, in response to the fourteenth input received by the receiving module, determine the degree of forgetting of at least one file version, and display second information according to the degree of forgetting of at least one file version; wherein the second information includes at least one of the following: the editing idea text corresponding to each file version, the edited text version corresponding to each file version, and the unedited file version corresponding to each file version.
[0276] This application provides a file editing device. Since it can generate an editing idea text based on the first editing operation, if the user does not edit the file for a long time, the user can quickly recall the editing idea of editing the first file based on the editing idea text contained in the first file, and then continue to edit the first file through the electronic device. In other words, the user can quickly recall the subsequent editing operations of editing the first file based on the editing idea text, thereby improving the efficiency of file editing by the electronic device.
[0277] The file editing device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, a mobile electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the device.
[0278] The file editing device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.
[0279] The file editing device provided in this application embodiment can implement the various processes implemented in the above embodiments. To avoid repetition, it will not be described again here.
[0280] Optionally, such as Figure 12 As shown, this application embodiment also provides an electronic device 90, including a processor 91 and a memory 92. The memory 92 stores a program or instructions that can run on the processor 91. When the program or instructions are executed by the processor 91, they implement the various steps of the above-described file editing method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.
[0281] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.
[0282] Figure 13 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.
[0283] The electronic device 100 includes, but is not limited to, components such as: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.
[0284] Those skilled in the art will understand that the electronic device 100 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 110 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 13 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0285] The processor 110 is configured to generate an editing idea text when performing a first editing operation on a first file, the editing idea text describing the first editing operation; and associate the editing idea text with the first file to obtain the first file after editing.
[0286] Optionally, in this embodiment, the user input unit 107 is specifically used to receive a first input to a first control in the file editing interface corresponding to the first file. The display unit 106 is specifically used to display an editing file interface in response to the first input, the editing file interface including a first input box. The user input unit 107 is also used to receive a second input of editing idea text entered in the first input box. The processor 110 is specifically used to obtain the editing idea text in response to the second input.
[0287] Optionally, in this embodiment, the first editing operation includes at least one editing operation, and the editing idea text includes at least one editing idea text, with one editing operation corresponding to one editing idea text. The display unit 106 is further configured to display a second control in the file editing interface after obtaining the edited first file. The user input unit 107 is further configured to receive a third input to the second control. The display unit 106 is further configured to, in response to the third input, display at least one editing idea text and at least one physical address identifier in the first document, where the at least one physical address identifier is the physical address identifier of the file version corresponding to at least one editing operation, and one physical address identifier corresponds to one editing idea text.
[0288] Optionally, in this embodiment, the first document includes a delete control. The user input unit 107 is further configured to receive a fourth input to the delete control and the first editing idea text after displaying at least one editing idea text and at least one physical address identifier in the first document, wherein the first editing idea text is any one of a plurality of editing idea texts. The processor 110 is further configured to, in response to the fourth input, delete the first editing idea text and delete the physical address identifier of the file version corresponding to the first editing idea text.
[0289] Optionally, in this embodiment, the first document further includes a modification control. The user input unit 107 is further configured to, after displaying at least one editing idea text and at least one physical address identifier in the first document, receive a fifth input to the second editing idea text and the modification control, wherein the second editing idea text is any one of the at least one editing idea texts. The display unit 106 is further configured to, in response to the fifth input, display a second input box in the first document. The user input unit 107 is further configured to receive a sixth input to the second input box, wherein the sixth input includes a first editing parameter and a first editing function. The processor 110 is further configured to, in response to the sixth input, update the second editing idea text according to the first editing parameter and the first editing function, and edit the file content in the file version corresponding to the second editing idea text according to the first editing parameter and the first editing function.
[0290] Optionally, in this embodiment, the first document further includes a new control. The user input unit 107 is further configured to receive a seventh input to the new control after displaying at least one editing idea text and at least one physical address identifier in the first document. The seventh input includes a second editing idea text, which is a text description of the editing operation requested by the user. The processor 110 is further configured to, in response to the seventh input, add a third editing idea text to the first document, edit the first document according to the third editing idea text, and display the physical address identifier of the file version of the edited first document in the first document.
[0291] Optionally, in this embodiment, the user input unit 107 is further configured to receive an eighth input for the first physical address identifier among the at least one physical address identifier after displaying at least one editing idea text and at least one physical address identifier in the first document. The display unit 106 is further configured to display the file version corresponding to the first physical address identifier in response to the eighth input.
[0292] Optionally, in this embodiment, the first document includes at least two file identifiers, each file identifier corresponding to a file editing document, and each editing document including at least one editing idea text. The user input unit 107 is further configured to receive a ninth input for the first file identifier and the second file identifier among the at least two file identifiers, wherein the first file identifier corresponds to the editing document of the first document after editing, and the second file identifier corresponds to the editing document of the second document. The processor 110 is further configured to, in response to the ninth input, perform editing processing on the edited first document based on a third editing operation and a fourth editing operation; wherein the third editing operation is the editing operation corresponding to at least one editing idea text contained in the editing document corresponding to the first file identifier; and the fourth editing operation is the editing operation corresponding to at least one editing idea text contained in the editing document corresponding to the second file identifier.
[0293] Optionally, in this embodiment, the display unit 106 is specifically configured to display the integrated control in response to the ninth input. The user input unit 107 is specifically configured to receive the tenth input to the integrated control. The processor 110 is specifically configured to integrate the third and fourth editing operations in response to the tenth input to obtain the fifth editing operation; and to edit the first file after editing according to the fifth editing operation.
[0294] Optionally, in this embodiment, the display unit 106 is specifically configured to display a cover control in response to a ninth input. The user input unit 107 is specifically configured to receive an eleventh input to the cover control. The processor 110 is specifically configured to, in response to the eleventh input, undo the editing of the first file after editing by the third editing operation, and perform editing on the first file after editing by a fourth editing operation.
[0295] Optionally, in this embodiment, the display unit 106 is further configured to display a draft box interface after obtaining the edited first file. The draft box interface includes the edited first file and a third control, which assists the user in recalling the thought process when editing the first file. The user input unit 107 is further configured to receive a twelfth input to the third control. The display unit 106 is further configured to display at least one sub-control in response to the twelfth input, each sub-control displaying the editing thought process for editing the first file. The user input unit 107 is further configured to receive a thirteenth input to a target sub-control among the at least one sub-control. The display unit 106 is further configured to display first information corresponding to the target sub-control in response to the thirteenth input; wherein the first information includes at least one of the following: at least one editing thought text and at least one keyword identifier, each keyword identifier containing at least one keyword, each keyword identifier corresponding to a file version, and at least one keyword being determined based on at least one editing thought text.
[0296] Optionally, in this embodiment, each keyword identifier in the at least one keyword corresponds to at least one fourth control; the user input unit 107 is further configured to receive a fourteenth input to a fifth control in the at least one fourth control after displaying the first information corresponding to the target sub-control. The processor 110 is further configured to, in response to the fourteenth input, determine the degree of forgetting of at least one file version, and display second information according to the degree of forgetting of at least one file version; wherein the second information includes at least one of the following: the editing idea text corresponding to each file version, the edited text version corresponding to each file version, and the unedited file version corresponding to each file version.
[0297] This application provides an electronic device.
[0298] Because an editing thought process text can be generated based on the first editing operation, if the user does not edit the unfinished file for a long time, the user can quickly recall the editing thought process of the first file based on the editing thought process text contained in the first file, and then continue editing the first file through the electronic device; in other words, the user can quickly recall the subsequent editing operations of the first file based on the editing thought process text, thereby improving the efficiency of file editing on electronic devices.
[0299] The electronic device provided in this application embodiment can implement the various processes implemented in the above method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.
[0300] For details on the beneficial effects of the various implementation methods in this embodiment, please refer to the beneficial effects of the corresponding implementation methods in the above method embodiments. To avoid repetition, these will not be repeated here.
[0301] It should be understood that, in this embodiment, the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The GPU 1041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, power buttons, etc.), a trackball, a mouse, and a joystick, which will not be described in detail here.
[0302] The memory 109 can be used to store software programs and various data. The memory 109 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 109 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 109 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.
[0303] Processor 110 may include one or more processing units; optionally, processor 110 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 110.
[0304] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0305] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0306] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.
[0307] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0308] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above-described file editing method embodiments, and can achieve the same technical effects. To avoid repetition, it will not be described again here.
[0309] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0310] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0311] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A document editing method, characterized in that, The method includes: When a first editing operation is performed on a first file, an editing idea text is generated, which describes the first editing operation. The editing idea text is associated with the first file to obtain the edited first file, a first document is generated, and the edited first file obtained after each editing operation is saved. The first document includes at least one editing idea text and at least one physical address identifier. The at least one physical address identifier is the physical address identifier of the file version corresponding to at least one editing operation. One physical address identifier corresponds to one editing idea text, and the file version corresponding to one editing operation indicates the edited first file obtained after performing the one editing operation. The method further includes: In response to input of a physical address identifier, the edited first file indicated by the physical address identifier is retrieved and displayed.
2. The method according to claim 1, characterized in that, The generated editing idea text includes: Receive the first input to the first control in the file editing interface corresponding to the first file; In response to the first input, an editing file interface is displayed, the editing file interface including a first input box; Receive a second input in the first input box, in which the text of the editing idea is entered; In response to the second input, the text of the editing idea is obtained.
3. The method according to claim 1, characterized in that, The first editing operation includes at least one editing operation, and the editing idea text includes at least one editing idea text, with one editing operation corresponding to one editing idea text; After obtaining the edited first file, the method further includes: Display the second control in the file editing interface; Receive a third input to the second control; In response to the third input, at least one editing idea text and at least one physical address identifier are displayed in the first document, wherein the at least one physical address identifier is the physical address identifier of the file version corresponding to the at least one editing operation, and one physical address identifier corresponds to one editing idea text.
4. The method according to claim 3, characterized in that, The first document includes a delete control; After displaying the at least one editing idea text and at least one physical address identifier in the first document, the method further includes: Receive a fourth input to the delete control and the first editing idea text, wherein the first editing idea text is any one of the at least one editing idea texts; In response to the fourth input, the first editing idea text is deleted, and the physical address identifier of the file version corresponding to the first editing idea text is deleted.
5. The method according to claim 3, characterized in that, The first document also includes modification controls; After displaying the at least one editing idea text and at least one physical address identifier in the first document, the method further includes: Receive a fifth input to the second editing idea text and the modification control, wherein the second editing idea text is any one of the at least one editing idea texts; In response to the fifth input, a second input box is displayed in the first document; Receive a sixth input to the second input box, the sixth input including a first editing parameter and a first editing function; In response to the sixth input, the second editing idea text is updated according to the first editing parameters and the first editing function, and the file content in the file version corresponding to the second editing idea text is edited according to the first editing parameters and the first editing function.
6. The method according to claim 3, characterized in that, The first document also includes newly added controls; After displaying the at least one editing idea text and at least one physical address identifier in the first document, the method further includes: Receive a seventh input to the newly added control, the seventh input including a second editing idea text, the second editing idea text being a text description of the editing operation required by the user; In response to the seventh input, a third editing idea text is added to the first document, and the first document is edited according to the third editing idea text, and the physical address identifier of the file version of the edited first document is displayed in the first document.
7. The method according to claim 3, characterized in that, After displaying the at least one editing idea text and at least one physical address identifier in the first document, the method further includes: Receive an eighth input for the first physical address identifier in the at least one physical address identifier; In response to the eighth input, the file version corresponding to the first physical address identifier is displayed.
8. The method according to claim 3, characterized in that, The first document includes at least two file identifiers, each file identifier corresponding to a file editing document, and each editing document includes at least one editing idea text; the method further includes: The system receives a ninth input for a first file identifier and a second file identifier among the at least two file identifiers, wherein the first file identifier corresponds to the edited document of the first file after editing, and the second file identifier corresponds to the edited document of the second file; In response to the ninth input, the edited first file is further edited based on the third and fourth editing operations; The third editing operation is an editing operation corresponding to at least one editing idea text contained in the editing document corresponding to the first file identifier; the fourth editing operation is an editing operation corresponding to at least one editing idea text contained in the editing document corresponding to the second file identifier.
9. The method according to claim 8, characterized in that, The process of editing the first file after editing, in response to the ninth input, based on the third and fourth editing operations, includes: In response to the ninth input, the integrated controls are displayed; Receive the tenth input to the integrated control; In response to the tenth input, the third and fourth editing operations are integrated to obtain the fifth editing operation; The first file after editing is processed according to the fifth editing operation.
10. The method according to claim 8, characterized in that, The process of editing the first file after editing, in response to the ninth input, based on the third and fourth editing operations, includes: In response to the ninth input, the overlay control is displayed; Receive the eleventh input to the overlay control; In response to the eleventh input, the third editing operation on the edited first file is undone, and the fourth editing operation is used to edit the edited first file.
11. The method according to claim 1, characterized in that, After obtaining the edited first file, the method further includes: The draft box interface is displayed, which includes: the first file after editing and a third control. The third control is used to help the user recall the thought process when editing the first file. Receive the twelfth input to the third control; In response to the twelfth input, at least one sub-control is displayed, each sub-control being used to display the editing ideas for editing the first file; Receive the thirteenth input to the target sub-control in the at least one sub-control; In response to the thirteenth input, the first information corresponding to the target sub-control is displayed; The first information includes at least one of the following: at least one editing idea text and at least one keyword identifier, each keyword identifier containing at least one keyword, each keyword identifier corresponding to a file version, and the at least one keyword being determined based on the at least one editing idea text.
12. The method according to claim 11, characterized in that, Each keyword identifier in the at least one keyword corresponds to at least one fourth control; after displaying the first information corresponding to the target sub-control, the method further includes: Receive the fourteenth input to the fifth control of the at least one fourth control; In response to the fourteenth input, the degree of forgetting of at least one file version is determined, and second information is displayed according to the degree of forgetting of the at least one file version; The second information includes at least one of the following: the editing idea text corresponding to each file version, the edited text version corresponding to each file version, and the unedited file version corresponding to each file version.
13. A document editing device, characterized in that, The file editing device includes: a generation module, a processing module, a display module, and an association module; The generation module is used to generate an editing idea text when a first editing operation is performed on a first file, the editing idea text being used to describe the first editing operation; The association module is used to associate the editing idea text generated by the generation module with the first file to obtain the first file after editing. The generation module is also used to generate a first document; The processing module is used to save the first edited file obtained after each editing operation. The first file includes at least one editing idea text and at least one physical address identifier. The at least one physical address identifier is the physical address identifier of the file version corresponding to at least one editing operation. One physical address identifier corresponds to one editing idea text, and the file version corresponding to one editing operation indicates the first edited file obtained after executing the one editing operation. The display module is configured to, in response to input of a physical address identifier, acquire and display the edited first file indicated by the physical address identifier.
14. An electronic device, characterized in that, It includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the file editing method as described in any one of claims 1 to 12.
Citation Information
Patent Citations
Version management method, version recovery method, editor, version management system and storage medium
CN111078269A
Saving method for file editing environment and return method thereof
CN1786942A