Document processing method and apparatus, and electronic device

By displaying multimedia content identifiers and brief information within documents, the cumbersome process of viewing document attachments is resolved, improving browsing efficiency and user experience.

CN114647749BActive Publication Date: 2026-02-17VIVO MOBILE COMM CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202210305785.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-25
Publication Date
2026-02-17
Estimated Expiration
2042-03-25

AI Technical Summary

Technical Problem

In existing technologies, viewing attachments within a document is cumbersome, requiring the document to be opened and searched through retrieval or page turning, resulting in low browsing efficiency.

Method used

By receiving input of document content, the system displays corresponding icons and brief information for multimedia content, simplifying the user's browsing and viewing experience.

Benefits of technology

It enables users to quickly understand the basic information of a document, simplifies the process of browsing and viewing multimedia content, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114647749B_ABST
    Figure CN114647749B_ABST
Patent Text Reader

Abstract

The application discloses a document processing method and device and electronic equipment, and belongs to the communication technical field. The method comprises the following steps: receiving a first input of first document content; in response to the first input, displaying N identifiers and brief information of the first document content, the N identifiers are identifiers corresponding to multimedia content included in the first document content, and N is a positive integer.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the technical field of communication, and particularly relates to a document processing method and device and electronic equipment. BACKGROUND

[0002] With the development and progress of technology, the document information such as the memorandum can not only edit the recorded text, but also enrich the content of the document information by adding the attachment content such as the picture, the text and the table to the document content. However, when the attachment included in the document information needs to be viewed and browsed, the document information usually needs to be opened, that is, the main text part of the document information needs to be entered, and the attachment included in the document information needs to be viewed and browsed by searching or page-turning.

[0003] It can be seen that the viewing of the attachment in the related art has the problem of complicated operation. SUMMARY

[0004] The embodiments of the present application aim to provide a document processing method, device and electronic equipment, which can solve the problem of complicated operation in the viewing of the attachment in the document content.

[0005] In order to solve the above technical problem, the present application is implemented as follows:

[0006] In a first aspect, the embodiments of the present application provide a document processing method, comprising:

[0007] receiving a first input to first document content;

[0008] displaying N identifiers and brief information of the first document content in response to the first input, the N identifiers being identifiers corresponding to multimedia content included in the first document content, and N being a positive integer.

[0009] In a second aspect, the embodiments of the present application provide a document processing device, comprising:

[0010] a first receiving module configured to receive a first input to first document content;

[0011] a first display module configured to display N identifiers and brief information of the first document content in response to the first input, the N identifiers being identifiers corresponding to multimedia content included in the first document content, and N being a positive integer.

[0012] In a third aspect, the embodiments of the present application provide an electronic equipment, which comprises a processor and a memory, the memory stores programs or instructions which can be run on the processor, and the programs or instructions are executed by the processor to implement the steps of the method according to the first aspect.

[0013] In a fourth aspect, an embodiment of the present application provides a readable storage medium, the readable storage medium storing a program or instructions, the program or instructions being executed by a processor to implement steps of the method in the first aspect.

[0014] In a fifth aspect, an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, and the processor being configured to run a program or instructions to implement the method in the first aspect.

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

[0016] In the embodiment of the present application, the first input to the first document content is received; in response to the first input, N identifiers and brief information of the first document content are displayed, the N identifiers being identifiers corresponding to multimedia content included in the first document content, and N being a positive integer. In this way, by displaying the N identifiers and the brief information of the first document content, when a user browses and views the N identifiers and the brief information of the first document content, the user can quickly understand the brief information of the first document content and the multimedia content included in the first document content, that is, the user can quickly understand the basic information of the first document content; compared with clicking to open the first document content and viewing the brief information of the first document content and the multimedia content included in the first document content by means of page up and page down, the user's browsing and viewing operation can be effectively simplified. BRIEF DESCRIPTION OF DRAWINGS

[0017] Figure 1 is a flowchart of a document processing method provided by an embodiment of the present application;

[0018] Figure 2a is one of operation schematic diagrams of an editing interface corresponding to multimedia content provided by an embodiment of the present application;

[0019] Figure 2b is another of operation schematic diagrams of an editing interface corresponding to multimedia content provided by an embodiment of the present application;

[0020] Figure 2c is a third of operation schematic diagrams of an editing interface corresponding to multimedia content provided by an embodiment of the present application;

[0021] Figure 3 is a structural diagram of a document processing apparatus provided by an embodiment of the present application;

[0022] Figure 4 is a structural diagram of an electronic device provided by an embodiment of the present application;

[0023] Figure 5This is a structural diagram of an electronic device provided in another embodiment of this application. Detailed Implementation

[0024] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

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

[0026] The document processing method provided in this application will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios.

[0027] See Figure 1 , Figure 1 This is a flowchart of a document processing method provided in an embodiment of this application, such as... Figure 1 As shown, it includes the following steps:

[0028] Step 101: Receive the first input of the first document content.

[0029] In this step, the first document content can be the document content included in applications such as Memo or Notepad, and the first input can be a touch operation on the first document content displayed on the document content list display interface. The touch operation can be a click operation, a long press operation, a double click operation, etc.

[0030] like Figure 2a As shown, it can receive a long press operation from the user on the content 21 of the first document.

[0031] Step 102: In response to the first input, display N identifiers and brief information about the content of the first document.

[0032] In this step, N is a positive integer. The first input is used to trigger the display of N identifiers and brief information of the first document content. The N identifiers are the identifiers corresponding to the multimedia content included in the first document content. For example, if the first document content includes multimedia content such as pictures, doodles, and tables, then the identifiers corresponding to the multimedia content such as pictures, tables, and doodles will be displayed, and the style of the identifiers can match the type of multimedia content.

[0033] It is understood that the multimedia content in this application may include, but is not limited to, attachments such as images, doodles, tables, and videos in the first document.

[0034] The brief information can refer to the title, summary, or keywords of the first document's content. Displaying this brief information aims to allow users to quickly grasp the main information of the first document by browsing through it. Furthermore, in this application, users can set this information according to their actual needs and personal preferences; no specific limitations are imposed here.

[0035] Specifically, when the corresponding multimedia content is an image, the image identifier is used; similarly, when the corresponding multimedia content is doodles, the doodle identifier is used; and when the corresponding multimedia content is a table, the table identifier is used. This design allows users to quickly identify the type of multimedia content included in the first document using these identifiers.

[0036] Furthermore, the type of corresponding multimedia content can be displayed directly below the logo, such as displaying the word "image" directly below the image logo, the word "graffiti" directly below the graffiti logo, and the word "table" directly below the table logo.

[0037] For example, the N identifiers associated with the content of the first document include identifier A, identifier B, identifier C and two identifiers D, and the multimedia content corresponding to the N identifiers in the first document content is in the following order: multimedia content corresponding to identifier D, multimedia content corresponding to identifier A, multimedia content corresponding to identifier C, multimedia content corresponding to identifier D and multimedia content corresponding to identifier B.

[0038] The N identifiers can be displayed in the following ways:

[0039] Display Method 1: Categorize and display similar identifiers. That is, the corresponding identifier for the same type of multimedia content is only displayed at the first appearance position, and the quantity identifier of the same type of multimedia content is displayed in the preset area of ​​the identifier. For example, when the quantity of multimedia content corresponding to identifier D is 2, the quantity identifier "(2)" can be displayed in the preset area of ​​"identifier D" (such as the right side area). That is, when the quantity of multimedia content corresponding to identifier D is 2, its corresponding display method can be "identifier D(2)". Compared with displaying "identifier D1" and "identifier D2" separately, the display area required for the identifier can be reduced, thereby achieving the purpose of improving the layout of the display interface.

[0040] When input is received for the display control corresponding to “Identifier D” or “(2)”, the identifiers corresponding to the two multimedia contents associated with identifier D(2) will be displayed sequentially in the preset area of ​​identifier D(2) so that the user can view the specific situation of the same type of identifier.

[0041] Method Two: Display the corresponding icons sequentially according to the order of the multimedia content within the first document. That is, the N icons are displayed as: Icon D1, Icon A, Icon C, Icon B, and Icon D2. This intuitive display of the corresponding icons improves the user's browsing efficiency of the first document content.

[0042] It should be noted that the display methods of the N identifiers, including but not limited to the methods mentioned above, are acceptable as long as they clearly show the identifiers corresponding to the multimedia content included in the first document.

[0043] In this embodiment, by displaying N identifiers and brief information of the first document content, users can quickly understand the brief information of the first document content and the multimedia content included in the first document content when browsing and viewing the N identifiers and brief information of the first document content. In other words, users can quickly understand the basic information of the first document content. Compared with clicking to open the first document content and viewing the brief information of the first document content and the multimedia content included by flipping up and down pages, this can effectively simplify the user's browsing and viewing operation.

[0044] Optionally, N is an integer greater than 1, and after displaying N identifiers and brief information about the content of the first document, the method includes:

[0045] Receive the second input;

[0046] In response to the second input, a first preview area and a second preview area are displayed. The first preview area displays the N icons, and the second preview area includes N position controls.

[0047] Receive a third input that associates the target identifier among the N identifiers with the target location control among the N location controls;

[0048] In response to the third input, the position of the multimedia content corresponding to the target identifier in the first document content is updated to the position of the target position control in the first document content.

[0049] In this embodiment, the second input can be an input operation for brief information or an input operation for the display area where N icons are located, and the second input can be a click operation, a long press operation, a double-click operation, etc.

[0050] In response to the second input, a first preview area and a second preview area can be triggered to be displayed. The first preview area displays N icons, and the N icons can be displayed in the aforementioned display method. The second preview area includes N position controls, and the N position controls can correspond to the display of the N icons.

[0051] For example, by responding to a second input, a display can be triggered as follows: Figure 2b The preview interface 22 shown includes a first preview area 221 and a second preview area 222.

[0052] In one embodiment, the first preview area and the second preview area can be arranged in separate rows. For example, N icons can be displayed sequentially in the first row, and N position controls can be displayed sequentially in the second row. That is, the area corresponding to the first row is the first preview area, and the area corresponding to the second row is the second preview area. The N icons displayed in the first row and the N position controls displayed in the second row can be configured in a one-to-one correspondence, such as... Figure 2b As shown.

[0053] Understandably, the third input can be a drag-and-drop operation used to associate a target identifier among N identifiers with a target position control among N position controls. For example, dragging a target identifier to a target position control establishes the association between the target identifier and the target position control. By responding to the third input, the position of the multimedia content corresponding to the target identifier in the first document content is updated to the position of the target position control in the first document content. This achieves the update of the position of the multimedia content corresponding to the target identifier in the first document content. Compared to cutting and pasting within the first document content, this further simplifies user operations and improves the efficiency of updating the position of multimedia content in the first document content.

[0054] In other embodiments, a long press or double-click operation on the title of the first document content or a target document in the document list can also be received, and the identifier corresponding to the multimedia content contained in the target document can be displayed in the target area associated with the target document (for example, it can be displayed in the information summary area of ​​the target document).

[0055] Optionally, for the N icons displayed in the first preview area, text multimedia content can display text icons, doodle multimedia content or image multimedia content can display corresponding thumbnails, and table multimedia content can display UI icon icons. When the first document content includes other types of multimedia content, the corresponding icons can also be selected for display. Furthermore, users can select an icon to view the specific content of the multimedia content corresponding to that icon.

[0056] When the number of N icons exceeds the number that can be displayed in the first preview area, other icons not displayed in the first preview area can be viewed by swiping or flipping pages.

[0057] For example, the first preview area displays the first, second, third, fourth, and fifth icons in sequence, while the second preview area includes the first, second, third, fourth, and fifth position controls in sequence. The preview interface also displays "Confirm Rearrange Controls" and "Cancel Rearrange Controls".

[0058] If a user selects or confirms the cancellation of the rearrangement control, the system will exit the label editing interface or exit the label rearrangement operation.

[0059] In one example, upon receiving a drag operation to move the first identifier to the third position control and a click operation to confirm the rearrangement control, the first identifier is updated to the position of the multimedia content corresponding to the third identifier in the first document content. That is, the position of the multimedia content corresponding to the third identifier in the first document content simultaneously contains the multimedia content corresponding to both the first and third identifiers, while keeping the positions of the multimedia content corresponding to the second, fourth, and fifth identifiers in the document content unchanged.

[0060] In another example, upon receiving a drag operation to move the first identifier to the third position control, and a click operation to confirm the rearrangement control, the positions of the multimedia content corresponding to the first identifier and the multimedia content corresponding to the third identifier in the document content are swapped, while the positions of the multimedia content corresponding to the second identifier, the fourth identifier, and the fifth identifier in the document content remain unchanged.

[0061] In another example, upon receiving drag operations to move the first identifier to the third position control, the second identifier to the first position control, the third identifier to the fourth position control, the fourth identifier to the fifth position control, and the fifth identifier to the second position control, and upon receiving a click operation to confirm the rearrangement control, the positions of the multimedia content in the document content are updated and adjusted. The updated order of the multimedia content in the document content is as follows: multimedia content corresponding to the second identifier, multimedia content corresponding to the fifth identifier, multimedia content corresponding to the first identifier, multimedia content corresponding to the third identifier, and multimedia content corresponding to the fourth identifier (the order of the multimedia content in the first document content before the update is as follows: multimedia content corresponding to the first identifier, multimedia content corresponding to the second identifier, multimedia content corresponding to the third identifier, multimedia content corresponding to the fourth identifier, and multimedia content corresponding to the fifth identifier). This simplifies the operation of changing the position of multimedia content in the document content.

[0062] Optionally, N is an integer greater than 1, and after displaying N identifiers and brief information about the content of the first document, the method includes:

[0063] Receive the fourth input;

[0064] In response to the fourth input, the N identifiers are categorized and displayed based on the corresponding multimedia content types;

[0065] When the content of the first document includes a first type of multimedia content and a second type of multimedia content, a fifth input is received to move the first identifier among the N identifiers to the area where the second type of multimedia content is located, and the first identifier is the identifier corresponding to the multimedia content in the first type of multimedia content;

[0066] In response to the fifth input, the multimedia type of the multimedia content corresponding to the first identifier is updated to the second type of multimedia content.

[0067] In this embodiment, the fourth input can be an input operation for brief information or an input operation for the display area where N icons are located, and the fourth input can be a click operation, a long press operation, a double click operation, etc.

[0068] By responding to the fourth input, N identifiers can be categorized and displayed based on the type of the corresponding multimedia content.

[0069] The fifth input can be a drag or move operation, used to move the first identifier to the area where the second type of multimedia content is located, thereby changing the multimedia type of the multimedia content associated with the first identifier.

[0070] For example, changing the multimedia type corresponding to the target identifier from text to image means changing the text multimedia content in the first document to image multimedia content. Compared to existing technologies that require downloading the corresponding multimedia content first and then editing the multimedia content type using format editing software, this can effectively simplify the operation of changing the format or type of multimedia content.

[0071] In some embodiments, the multimedia content displayed in the first preview area can be categorized and displayed based on the type of multimedia content. For example, if the first document content includes three text multimedia content items, one image multimedia content item, one doodle multimedia content item, and one table multimedia content item, the multimedia content in the first document content can be categorized and displayed based on the type of multimedia content. That is, the corresponding identifiers for the three text multimedia content items are displayed under the text multimedia content control identifier directory, the corresponding identifier for the one image multimedia content item is displayed under the image multimedia content control identifier directory, the corresponding identifier for the one doodle multimedia content item is displayed under the doodle multimedia content control identifier directory, and the corresponding identifier for the one table multimedia content item is displayed under the table multimedia content control identifier directory.

[0072] By categorizing and displaying multimedia content by type, the corresponding identifiers can be improved, making it easier for users to select the target multimedia content they want to modify or adjust, and further facilitating the adjustment of multimedia formats or types.

[0073] Optionally, after updating the position of the multimedia content corresponding to the target identifier in the first document content to the position of the target position control in the first document content in response to the third input, the method further includes:

[0074] Display the multimedia content modification record corresponding to the content of the first document, wherein the multimedia content modification record includes at least one of the modification time and modification content of the multimedia content of the first document;

[0075] Receive the sixth input from the target rollback control in the rollback control of the multimedia content modification record;

[0076] In response to the sixth input, the current version of the first document content is rolled back to the version corresponding to the target rollback control, or the multimedia content corresponding to the target rollback control is rolled back to the version corresponding to the target rollback control.

[0077] In this embodiment, the sixth input can be a click operation, a long press operation, a double-click operation, a selection operation, etc. Furthermore, by receiving a long press or double-click operation on a specific identifier, the multimedia content modification history corresponding to the first document content can be triggered, allowing the user to view the multimedia content modification history of the first document content.

[0078] Furthermore, it can also revert to the version corresponding to the target rollback control by receiving the sixth input from the rollback control of the multimedia content modification record, such as receiving the selection operation of the target rollback control in the rollback control of the multimedia content modification record.

[0079] like Figure 2c As shown, in the multimedia content modification record, each rollback control corresponds to a modification time and modified content, and the multimedia content modification record also displays a linked rollback control. If the linked rollback control is not selected, only the current state is rolled back to the time corresponding to the target rollback control; if the linked rollback control is selected, all multimedia content in the first document is rolled back to the time corresponding to the target rollback control.

[0080] Optionally, after updating the position of the multimedia content corresponding to the target identifier in the first document content to the position of the target position control in the first document content in response to the third input, the method further includes:

[0081] If the first image is included in the image library of the electronic device, the screenshot content of the first image is updated to a screenshot of the updated first document content, and the first image is a screenshot of the first document content before the update.

[0082] In this embodiment, when the multimedia content in the first document changes, the screenshot content of the previous screenshot of the first document content can be automatically updated. That is, by updating the screenshot content of the first image to the screenshot of the updated first document content, the user is spared from having to retake the screenshot of the changed first document content, which further simplifies the user's operation and improves the user experience.

[0083] Optionally, after updating the position of the multimedia content corresponding to the target identifier in the first document content to the position of the target position control in the first document content in response to the third input, the method further includes:

[0084] Receive a seventh input regarding the content of the first document;

[0085] In response to the seventh input, a third preview area and a fourth preview area are displayed. The third preview area displays the sub-elements included in the first document content, and the fourth preview area displays blank controls corresponding to the sub-elements included in the first document content.

[0086] The sub-element is obtained by splitting the content of the first document based on the type of multimedia content, and the type of multimedia content includes at least one of character text, table, image, and video.

[0087] In this embodiment, the seventh input can be a click, long press, or double-click operation on the first document content, in order to trigger the display of the third and fourth preview areas. Furthermore, by splitting and displaying the first document content, and simultaneously displaying multiple blank controls, the user can adjust the positions of the resulting sub-elements, effectively improving the flexibility of sub-element position adjustment.

[0088] In one embodiment, when the first document content is a Word document, the Word document can be decomposed based on the type of multimedia content (text, table, image, video, etc.) to obtain corresponding sub-elements. During the decomposition process, the Word document can be divided into X sub-elements according to the smallest type granularity supported by the Word document and displayed in the corresponding dialog box. Additionally, X blank controls can be added below for flexible layout by the user.

[0089] The document processing method of this application embodiment receives a first input on the content of a first document; in response to the first input, it displays N identifiers and brief information of the content of the first document, wherein the N identifiers are identifiers corresponding to the multimedia content included in the first document content, and N is a positive integer. This can effectively simplify the user's browsing and viewing operations.

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

[0091] See Figure 3 , Figure 3 This is a structural diagram of a document processing apparatus provided in an embodiment of this application, as shown below. Figure 3 As shown, the device 300 includes:

[0092] The first receiving module 301 is used to receive the first input on the content of the first document;

[0093] The first display module 302 is configured to respond to the first input by displaying N identifiers and brief information of the first document content, wherein the N identifiers are identifiers corresponding to the multimedia content included in the first document content, and N is a positive integer.

[0094] Optionally, N is an integer greater than 1, and the device 300 further includes:

[0095] The second receiving module is used to receive the second input;

[0096] The second display module is used to respond to the second input by displaying a first preview area and a second preview area, wherein the first preview area displays the N icons and the second preview area includes N position controls;

[0097] The third receiving module is used to receive a third input that associates the target identifier among the N identifiers with the target location control among the N location controls;

[0098] The first update module is configured to, in response to the third input, update the position of the multimedia content corresponding to the target identifier in the first document content to the position of the target position control in the first document content.

[0099] Optionally, N is an integer greater than 1, and the device 300 further includes:

[0100] The fourth receiving module is used to receive the fourth input;

[0101] The third display module is used to respond to the fourth input by classifying and displaying the N identifiers based on the type of the corresponding multimedia content;

[0102] The fifth receiving module is used to receive a fifth input that moves the first identifier among the N identifiers to the area where the second type of multimedia content is located, when the content of the first document includes the first type of multimedia content and the second type of multimedia content, and the first identifier is the identifier corresponding to the multimedia content in the first type of multimedia content;

[0103] The second update module is used to update the multimedia type of the multimedia content corresponding to the first identifier to the second type of multimedia content in response to the fifth input.

[0104] Optionally, the device 300 further includes:

[0105] The fourth display module is used to display the multimedia content modification record corresponding to the content of the first document. The multimedia content modification record includes at least one of the modification time and modification content of the multimedia content of the first document.

[0106] The sixth receiving module is used to receive the sixth input of the target rollback control in the rollback control of the multimedia content modification record;

[0107] The rollback module is used to respond to the sixth input by rolling back the current version of the first document content to the version corresponding to the target rollback control, or rolling back the multimedia content corresponding to the target rollback control to the version corresponding to the target rollback control.

[0108] Optionally, the device 300 further includes:

[0109] The third update module is used to update the screenshot content of the first image to a screenshot of the updated first document content when the first image is included in the image library of the electronic device, and the first image is a screenshot of the first document content before the update.

[0110] Optionally, the device 300 further includes:

[0111] The seventh receiving module is used to receive a seventh input on the content of the first document;

[0112] The fifth display module is used to respond to the seventh input by displaying a third preview area and a fourth preview area. The third preview area displays the sub-elements included in the first document content, and the fourth preview area displays blank controls corresponding to the sub-elements included in the first document content.

[0113] The sub-element is obtained by splitting the content of the first document based on the type of multimedia content, and the type of multimedia content includes at least one of character text, table, image, and video.

[0114] The document processing 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, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the device.

[0115] The document processing 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.

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

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

[0118] 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.

[0119] See Figure 5 , Figure 5 This is a structural diagram of an electronic device provided in an embodiment of this application, as shown below. Figure 5As shown, the electronic device 500 includes, but is not limited to, components such as: radio frequency unit 501, network module 502, audio output unit 503, input unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, and processor 510.

[0120] Those skilled in the art will understand that the electronic device 500 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 510 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 5 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.

[0121] The user input unit 507 is used to receive a first input on the content of the first document;

[0122] Display unit 506 is configured to respond to the first input by displaying N identifiers and brief information of the first document content, wherein the N identifiers are identifiers corresponding to the multimedia content included in the first document content, and N is a positive integer.

[0123] Optionally, N is an integer greater than 1, and the user input unit 507 is used to receive the second input;

[0124] Display unit 506 is configured to respond to the second input by displaying a first preview area and a second preview area, wherein the first preview area displays the N icons and the second preview area includes N position controls;

[0125] User input unit 507 is used to receive a third input that associates the target identifier among the N identifiers with the target location control among the N location controls;

[0126] Processor 510 is configured to, in response to the third input, update the position of the multimedia content corresponding to the target identifier in the first document content to the position of the target position control in the first document content.

[0127] Optionally, N is an integer greater than 1, and the user input unit 507 is used to receive the fourth input;

[0128] Display unit 506 is configured to, in response to the fourth input, classify and display the N identifiers based on the type of corresponding multimedia content.

[0129] User input unit 507 is used to receive a fifth input that moves the first identifier among the N identifiers to the area where the second type of multimedia content is located, when the first document content includes a first type of multimedia content and a second type of multimedia content, and the first identifier is the identifier corresponding to the multimedia content in the first type of multimedia content;

[0130] Processor 510 is configured to update the multimedia type of the multimedia content corresponding to the first identifier to the second type of multimedia content in response to the fifth input.

[0131] Optionally, the display unit 506 is used to display a multimedia content modification record corresponding to the content of the first document, wherein the multimedia content modification record includes at least one of the modification time and modification content of the multimedia content of the first document.

[0132] User input unit 507 is used to receive the sixth input of the target rollback control in the rollback control of the multimedia content modification record;

[0133] Processor 510 is configured to, in response to the sixth input, revert the current version of the first document content to the version corresponding to the target rollback control, or revert the multimedia content corresponding to the target rollback control to the version corresponding to the target rollback control.

[0134] Optionally, the processor 510 is configured to, when the image library of the electronic device includes the first image, update the screenshot content of the first image to a screenshot of the updated first document content, wherein the first image is a screenshot of the first document content before the update.

[0135] Optionally, the user input unit 507 is configured to receive a seventh input regarding the content of the first document;

[0136] Display unit 506 is configured to respond to the seventh input by displaying a third preview area and a fourth preview area, wherein the third preview area displays the sub-elements included in the first document content, and the fourth preview area displays blank controls corresponding to the sub-elements included in the first document content.

[0137] The sub-element is obtained by splitting the content of the first document based on the type of multimedia content, and the type of multimedia content includes at least one of character text, table, image, and video.

[0138] It should be understood that, in this embodiment, the input unit 504 may include a graphics processing unit (GPU) 5041 and a microphone 5042. The GPU 5041 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 506 may include a display panel 5061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 507 includes at least one of a touch panel 5071 and other input devices 5072. The touch panel 5071 is also called a touch screen. The touch panel 5071 may include a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.

[0139] The memory 509 can be used to store software programs and various data. The memory 509 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 509 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 509 in this embodiment includes, but is not limited to, these and any other suitable types of memory.

[0140] Processor 510 may include one or more processing units; optionally, processor 510 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 510.

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

[0142] 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.

[0143] 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-described document processing method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0144] 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.

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

[0146] 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.

[0147] 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 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.

[0148] 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 processing method, characterized in that, include: Receive the first input regarding the content of the first document; In response to the first input, N identifiers and brief information about the first document content are displayed, where the N identifiers are identifiers corresponding to the multimedia content included in the first document content, and N is a positive integer; N is an integer greater than 1. After displaying N identifiers and brief information about the content of the first document, the method further includes: Receive the second input; In response to the second input, a first preview area and a second preview area are displayed. The first preview area displays the N icons, and the second preview area includes N position controls. Receive a third input that associates the target identifier among the N identifiers with the target location control among the N location controls; In response to the third input, the position of the multimedia content corresponding to the target identifier in the first document content is updated to the position of the target position control in the first document content; N is an integer greater than 1. After displaying N identifiers and brief information about the content of the first document, the method further includes: Receive the fourth input; In response to the fourth input, the N identifiers are categorized and displayed based on the corresponding multimedia content types; When the content of the first document includes a first type of multimedia content and a second type of multimedia content, a fifth input is received to move the first identifier among the N identifiers to the area where the second type of multimedia content is located, and the first identifier is the identifier corresponding to the multimedia content in the first type of multimedia content; In response to the fifth input, the multimedia type of the multimedia content corresponding to the first identifier is updated to the second type of multimedia content.

2. The method according to claim 1, characterized in that, After updating the position of the multimedia content corresponding to the target identifier in the first document content to the position of the target position control in the first document content in response to the third input, the method further includes: Display the multimedia content modification record corresponding to the content of the first document, wherein the multimedia content modification record includes at least one of the modification time and modification content of the multimedia content of the first document; Receive the sixth input from the target rollback control in the rollback control of the multimedia content modification record; In response to the sixth input, the current version of the first document content is rolled back to the version corresponding to the target rollback control, or the multimedia content corresponding to the target rollback control is rolled back to the version corresponding to the target rollback control.

3. The method according to claim 1, characterized in that, After updating the position of the multimedia content corresponding to the target identifier in the first document content to the position of the target position control in the first document content in response to the third input, the method further includes: If the first image is included in the image library of the electronic device, the screenshot content of the first image is updated to a screenshot of the updated first document content, and the first image is a screenshot of the first document content before the update.

4. The method according to claim 1, characterized in that, After updating the position of the multimedia content corresponding to the target identifier in the first document content to the position of the target position control in the first document content in response to the third input, the method further includes: Receive a seventh input regarding the content of the first document; In response to the seventh input, a third preview area and a fourth preview area are displayed. The third preview area displays the sub-elements included in the first document content, and the fourth preview area displays blank controls corresponding to the sub-elements included in the first document content. The sub-element is obtained by splitting the content of the first document based on the type of multimedia content, and the type of multimedia content includes at least one of character text, table, image, and video.

5. A document processing device, characterized in that, include: The first receiving module is used to receive the first input on the content of the first document; The first display module is configured to respond to the first input by displaying N identifiers and brief information of the first document content, wherein the N identifiers are identifiers corresponding to the multimedia content included in the first document content, and N is a positive integer; N is an integer greater than 1, and the device further includes: The second receiving module is used to receive the second input; The second display module is used to respond to the second input by displaying a first preview area and a second preview area, wherein the first preview area displays the N icons and the second preview area includes N position controls; The third receiving module is used to receive a third input that associates the target identifier among the N identifiers with the target location control among the N location controls; The first update module is configured to, in response to the third input, update the position of the multimedia content corresponding to the target identifier in the first document content to the position of the target position control in the first document content; N is an integer greater than 1, and the device further includes: The fourth receiving module is used to receive the fourth input; The third display module is used to respond to the fourth input by classifying and displaying the N identifiers based on the type of the corresponding multimedia content; The fifth receiving module is used to receive a fifth input that moves the first identifier among the N identifiers to the area where the second type of multimedia content is located, when the content of the first document includes the first type of multimedia content and the second type of multimedia content, and the first identifier is the identifier corresponding to the multimedia content in the first type of multimedia content; The second update module is used to update the multimedia type of the multimedia content corresponding to the first identifier to the second type of multimedia content in response to the fifth input.

6. An electronic device, characterized in that, It includes a processor and a memory, wherein the memory stores a program or instructions executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the document processing method as described in any one of claims 1 to 4.

7. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the document processing method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Note creation method and electronic equipment

    CN111400552A

  • Display control method, electronic equipment and readable storage medium

    CN112764638A

  • File processing method and electronic equipment

    CN113986083A

  • Method, apparatus and computer program for providing multimedia contents preview

    KR1020160066799A