Document processing method and electronic device
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2026-04-02
AI Technical Summary
The current document processing process involves high complexity for users, resulting in poor convenience and a reduced user experience.
By displaying a card interface on electronic devices, a unified entry point is provided for functions such as summarizing, polishing, mind mapping, expanding the length, rewriting the style, typesetting, and translating. Users can directly trigger relevant operations, reducing operational complexity.
It improves the convenience and user experience of document processing, reduces operational complexity, and enhances the overall quality and readability of documents.
Smart Images

Figure CN2024105369_02042026_PF_FP_ABST
Abstract
Description
A document processing method and electronic device Technical Field
[0001] This application relates to the field of terminal technology, and in particular to a document processing method and an electronic device. Background Technology
[0002] A document, also known as a file, typically refers to recorded data and data media that can be read by both humans and computers. Documents offer rich text processing capabilities, including text input, formatting, paragraph layout, and image insertion. Users can create and edit various document types according to their needs. Furthermore, by using tools such as fonts, colors, styles, and layouts, professional and aesthetically pleasing document effects can be achieved, enhancing the effectiveness and appeal of information delivery.
[0003] In addition to basic text input and formatting functions, documents also offer flexible and powerful layout and style features. By using these features appropriately, the overall quality and readability of the document can be improved. However, as documents become increasingly feature-rich, the user experience becomes more complex, leading to decreased convenience and a reduced overall user experience.
[0004] Summary of the Invention
[0005] This application provides a document processing method and electronic device, which can provide users with a more convenient way to process documents and reduce the complexity of user operations. The technical solution adopted in this application is as follows:
[0006] Firstly, a document processing method is provided, applied in an electronic device. The method includes: in response to a user's first operation of opening a first document, the electronic device displays a first display area and a second display area on a first interface; the first display area is used to display the menu bar of the first document, and the second display area is used to display the main text of the first document; the menu bar of the first document includes a first control.
[0007] In response to a user's first operation on the first control, the electronic device displays a first display area, a second display area, and a first card on a second interface; the first card includes a first tab and a second tab. In response to a user's second operation of selecting the first tab, the electronic device displays first dialogue content in the first card, the first dialogue content including a summary of the full text of the first document; in response to a user's third operation of selecting the second tab, the electronic device displays second dialogue content in the first card, the second dialogue content including a polished result obtained by refining a portion of the first document.
[0008] Based on the above, through the user's operation of the first control, the electronic device can directly display the first tab and the second tab. Through the user's operation of the first tab and the second tab, the electronic device can directly display the summary and polishing results, thereby providing the user with a more convenient way to process documents and reducing the complexity of user operations.
[0009] In one possible implementation of the first aspect, the first card is displayed side-by-side with the second display area; or, the first card is displayed floating on the second display area.
[0010] In one possible implementation of the first aspect, in response to a second operation of the user selecting a first tab, the electronic device displays first dialogue content in a first card, including: in response to the second operation of the user selecting a first tab, the electronic device uploads a first document to a server; and when the first document is uploaded to the server, the electronic device displays the first dialogue content in the first card.
[0011] In one possible implementation of the first aspect, the method further includes: when the first document has not been uploaded to the server, the electronic device displays a first prompt message on the first card, the first prompt message being used to indicate the upload progress of the first document, so that the user can know the upload progress of the first document and improve the user experience.
[0012] In one possible implementation of the first aspect, the first card further includes an input box; the method further includes: during the process of the electronic device displaying the first dialogue content in the first card, receiving an input operation applied to the input box, and the electronic device not responding to the input operation; or, during the process of the electronic device uploading the first document to the server, receiving an input operation applied to the input box, and the electronic device not responding to the input operation.
[0013] This method can prevent electronic devices from laging due to excessive processing issues caused by users repeatedly entering document-related questions while the device is in operation.
[0014] In one possible implementation of the first aspect, the first card further includes a second control; the method further includes: receiving a fourth operation applied to the second control; in response to the fourth operation, the electronic device inserts an excerpt into the body of the first document, thereby improving the overall quality of document processing.
[0015] In one possible implementation of the first aspect, the electronic device inserts a summary into the body of the first document, including: the electronic device inserts a summary below the title of the first document; or, the electronic device selects a first target text in the first document and displays cursors at the beginning and end positions of the first target text, and the electronic device inserts a summary at the cursor position. In this way, by providing the user with multiple insertion methods, the user's operating experience is improved.
[0016] In one possible implementation of the first aspect, in response to a third operation of the user selecting a second tab, the electronic device displays second dialogue content in the first card. The method further includes: in response to the third operation of the user selecting the second tab, the electronic device selects the second target text and displays second prompt information in the first card; the second prompt information is used to indicate the scope of the revision to the user; and in response to the user's confirmation operation, the electronic device displays the second dialogue content in the first card. Thus, by having the user confirm the scope of the revision, the accuracy of the revision result can be improved, thereby enhancing the user experience.
[0017] In one possible implementation of the first aspect, the second target text is the text that the electronic device selects by default; or, the second target text is the text that the electronic device obtains in response to a user's selection operation in the first document.
[0018] In one possible implementation of the first aspect, the first card further includes a third tab; the method further includes: in response to a fifth operation of the user selecting the third tab, the electronic device displays third dialogue content in the first card, the third dialogue content including a mind map obtained by processing the entire content of the first document. Thus, through the user's operation on the third tab, the electronic device can directly display the mind map, thereby providing the user with a more convenient document processing method and reducing the complexity of user operations.
[0019] In one possible implementation of the first aspect, the mind map includes multi-level nodes; the multi-level nodes include first-level nodes, second-level nodes, and third-level nodes; the method further includes: if the number of characters in a first-level node exceeds a first preset character count, the electronic device displays the characters of the first-level node in a line break; if the number of characters in a second-level node exceeds a second preset character count, the electronic device displays the characters of the second-level node in a line break; if the number of characters in a third-level node exceeds a third preset character count, the electronic device displays the characters of the third-level node in a line break. This improves the display effect of the mind map.
[0020] In one possible implementation of the first aspect, the number of first-level nodes is equal to the number of first nodes; the number of second-level nodes is greater than the number of first nodes and less than or equal to the number of second nodes; the number of third-level nodes is greater than the number of first nodes and less than or equal to the number of third nodes. Adjusting the number of nodes can improve the display effect of the mind map.
[0021] In one possible implementation of the first aspect, the first card further includes a fourth tab; the method further includes: in response to a sixth operation of the user selecting the fourth tab, the electronic device displays fourth dialogue content in the first card, the fourth dialogue content including an expanded result obtained by expanding a portion of the first text. Thus, through the user's operation on the fourth tab, the electronic device can directly display the expanded result, thereby providing the user with a more convenient document processing method and reducing the complexity of user operations.
[0022] In one possible implementation of the first aspect, the first card further includes a fifth tab; the method further includes: in response to a seventh operation of the user selecting the fifth tab, the electronic device displays fifth dialog content in the first card, the fifth dialog content including a layout result obtained by formatting the full text of the first text. Thus, through the user's operation on the fifth tab, the electronic device can directly display the layout result, thereby providing the user with a more convenient document processing method and reducing the complexity of user operations.
[0023] In one possible implementation of the first aspect, the first card further includes a sixth tab; the method further includes: in response to an eighth operation of the user selecting the sixth tab, the electronic device displays sixth dialogue content in the first card, the sixth dialogue content including a translation result obtained by translating a portion of the first text. Thus, through the user's operation on the sixth tab, the electronic device can directly display the translation result, thereby providing the user with a more convenient document processing method and reducing the complexity of user operations.
[0024] In one possible implementation of the first aspect, when the electronic device uploads at least two documents to the server, the first card further includes a third control; the method further includes: in response to a user's operation on the third control, the electronic device displays seventh dialogue content in the first card, the seventh dialogue content including document comparison results obtained by comparing the at least two documents; wherein the third control is used to indicate comparing the at least two documents in the form of thesis comparison; or, the third control is used to indicate comparing the at least two documents in the form of topic comparison. Thus, through operation of the third control, the electronic device can directly display the document comparison results, thereby providing users with a more convenient document processing method and reducing the complexity of user operations.
[0025] In one possible implementation of the first aspect, the first card further includes a dialog scope, which includes at least two document identifiers uploaded to the server by the electronic device; when the dialog scope includes the first document identifier and the document corresponding to the first document identifier is the same as the first document, the first card includes a first tab, a second tab, a third tab, a fourth tab, a fifth tab, and a sixth tab; when the dialog scope includes the second document identifier and the document corresponding to the second document identifier is different from the first document, the first card includes a first tab, a third tab, and a fifth tab.
[0026] In one possible implementation of the first aspect, the method further includes: the electronic device displaying a third prompt message on the first card, the third prompt message being used to prompt the user that input operations on the input box are not currently supported.
[0027] In one possible implementation of the first aspect, after the second operation in response to the user selecting the first tab, the method further includes: if the space occupied by the first document exceeds a preset number of bytes, the electronic device displays a fourth prompt message in the first card, the fourth prompt message indicating that parsing documents occupying more than the preset number of bytes is not currently supported.
[0028] In one possible implementation of the first aspect, the method further includes: receiving a return operation on the first document while the electronic device is displaying the first dialogue content in the first card; in response to the return operation, the electronic device displays a fifth prompt message, the fifth prompt message being used to confirm with the user whether to abandon displaying the first dialogue content.
[0029] In one possible implementation of the first aspect, after the second operation of the user selecting the first tab, the method further includes: if the characters in the first document do not exceed a preset number; or, if the workspace of the first document is a blank page, the electronic device displays a sixth prompt message in the first card, the sixth prompt message being used to prompt the user that the electronic device does not currently support parsing the first document.
[0030] In one possible implementation of the first aspect, after a second operation in response to the user selecting the first tab, the method further includes: if the content of the first document contains sensitive information, the electronic device displays a fifth prompt message in the first card, and a seventh prompt message is used to prompt the user that the content of the first document does not meet the requirements.
[0031] In a second aspect, an electronic device is provided, which has the functions described in any one of the first aspects above. These functions can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the aforementioned functions.
[0032] Thirdly, an electronic device is provided, comprising: a display screen, a touch sensor, a memory, and one or more processors; the memory stores computer program code, the computer program code including computer instructions; when the computer instructions are executed by the processor, the electronic device performs the method described in any one of the first aspects.
[0033] Fourthly, a chip system is provided for use in an electronic device including a display screen and a touch sensor, the chip system comprising: at least one processor and an interface for receiving instructions and transmitting them to the at least one processor; the at least one processor executes instructions to cause the electronic device to perform the method described in any one of the first aspects.
[0034] Fifthly, a computer-readable storage medium is provided that stores instructions which, when executed on a computer, cause the computer to perform the method described in any one of the first aspects.
[0035] In a sixth aspect, a computer program product containing instructions is provided, which, when run on a computer, enables the computer to perform the method described in any one of the first aspects.
[0036] The technical effects of any of the implementation methods in the second to sixth aspects mentioned above can be referred to the technical effects of different implementation methods in the first aspect, and will not be elaborated here. Attached Figure Description
[0037] Figure 1 is a schematic diagram of a document processing system provided in this application;
[0038] Figure 2 is a schematic diagram of a document processing flow provided in this application;
[0039] Figure 3 is a schematic diagram of the hardware structure of an electronic device provided in this application;
[0040] Figure 4 is a schematic diagram of the interface of a document processing method provided in this application;
[0041] Figure 5 is a schematic diagram of the interface of another document processing method provided in this application;
[0042] Figure 6 is a schematic diagram of the interface of another document processing method provided in this application;
[0043] Figure 7 is a schematic diagram of the interface of another document processing method provided in this application;
[0044] Figure 8 is a schematic diagram of the interface of another document processing method provided in this application;
[0045] Figure 9A is a schematic diagram of the interface of another document processing method provided in this application;
[0046] Figure 9B is a schematic diagram of the interface of another document processing method provided in this application;
[0047] Figure 9C is a schematic diagram of the interface of another document processing method provided in this application;
[0048] Figure 9D is a schematic diagram of the interface of another document processing method provided in this application;
[0049] Figure 10 is a schematic diagram of the interface of another document processing method provided in this application;
[0050] Figure 11 is a schematic diagram of the interface of another document processing method provided in this application;
[0051] Figure 12 is a schematic diagram of the interface of another document processing method provided in this application;
[0052] Figure 13 is a schematic diagram of the interface of another document processing method provided in this application;
[0053] Figure 14A is a schematic diagram of the interface of another document processing method provided in this application;
[0054] Figure 14B is a schematic diagram of the interface of another document processing method provided in this application;
[0055] Figure 15 is a schematic diagram of the interface of another document processing method provided in this application;
[0056] Figure 16 is a schematic diagram of the interface of another document processing method provided in this application;
[0057] Figure 17 is a schematic diagram of the interface of another document processing method provided in this application;
[0058] Figure 18 is a schematic diagram of the interface of another document processing method provided in this application;
[0059] Figure 19 is a schematic diagram of the interface of another document processing method provided in this application;
[0060] Figure 20 is a schematic diagram of the interface of another document processing method provided in this application;
[0061] Figure 21 is a schematic diagram of the interface of another document processing method provided in this application;
[0062] Figure 22 is a schematic diagram of the interface of another document processing method provided in this application;
[0063] Figure 23 is a schematic diagram of the interface of another document processing method provided in this application;
[0064] Figure 24A is a schematic diagram of the interface of another document processing method provided in this application;
[0065] Figure 24B is a schematic diagram of the interface of another document processing method provided in this application;
[0066] Figure 24C is a schematic diagram of the interface of another document processing method provided in this application;
[0067] Figure 25 is a schematic diagram of the interface of another document processing method provided in this application;
[0068] Figure 26 is a schematic diagram of the interface of another document processing method provided in this application;
[0069] Figure 27 is a schematic diagram of the interface of another document processing method provided in this application;
[0070] Figure 28 is a schematic diagram of the interface of another document processing method provided in this application;
[0071] Figure 29 is a schematic diagram of the interface of another document processing method provided in this application;
[0072] Figure 30 is a schematic diagram of the interface of another document processing method provided in this application;
[0073] Figure 31 is a schematic diagram of the interface of another document processing method provided in this application;
[0074] Figure 32 is a schematic diagram of the interface of another document processing method provided in this application;
[0075] Figure 33 is a schematic diagram of the interface of another document processing method provided in this application;
[0076] Figure 34 is a schematic diagram of the interface of another document processing method provided in this application;
[0077] Figure 35 is a schematic diagram of the structure of a chip system provided in this application. Detailed Implementation
[0078] To facilitate understanding, the functions of each document involved in the embodiments of this application will be introduced first.
[0079] 1. Abstract
[0080] An abstract, also known as a summary or synopsis, refers to a concise summary of the key points of a document. It aims to provide a clear overview of the document's content without commentary or supplementary explanation, accurately recording the important information. For example, the basic elements of an abstract may include the research objective, methods, results, and conclusions.
[0081] 2. Polishing
[0082] Polishing refers to revising a completed document to make the text smoother, clearer, and enhance its literary quality and appeal. The polishing process includes refining the text, adding visual appeal, perfecting the document, and adding decorative embellishments. The purpose of polishing is to improve the document's readability and attractiveness, making it more in line with readers' needs and expectations, while also improving the document's quality and value. Furthermore, polishing can help users better identify and correct errors and shortcomings in the document, thereby improving its overall quality.
[0083] Optionally, polishing can include language polishing, chapter polishing, and layout polishing. Language polishing aims for conciseness, accuracy, and vividness. Chapter polishing aims for coherence and natural transitions. Layout polishing focuses on practical techniques, such as using different levels of headings, controlling the length of each chapter, and avoiding overly long sentences.
[0084] Alternatively, artificial intelligence (AI) can be used for polishing, such as expanding content, optimizing logic, and simplifying sentences.
[0085] 3. Mind Map
[0086] Mind mapping, also known as brain map, concept map, brainstorming map, inspiration map, tree diagram, or thought map, is a visual thinking tool and an aid to visual thinking. Mind mapping uses a combination of text and graphics to represent the relationships between different levels of topics in a hierarchical diagram, linking keywords with images, colors, and other memory aids.
[0087] 4. Expand the length
[0088] Expanding the text, also known as extension or expansive embellishment, refers to further supplementing and elaborating on a viewpoint, topic, or theme in a document by adding details, examples, arguments, etc., making the document more layered and in-depth.
[0089] Correspondingly, shortening the length refers to reducing the length of an article by changing the wording or paragraph structure while keeping the content and meaning unchanged. In other words, it is about simplifying the text by modifying the way the language is expressed, so that readers can receive the same information in a shorter time.
[0090] 5. Style rewriting
[0091] Style rewriting refers to the re-expression or modification of the original text or work to achieve a better expression or adapt to a specific need or occasion. Style rewriting typically maintains the main content and meaning of the original text, and can employ different words, sentence structures, and tone (or intonation) for restatement. Style can include tone style, such as formal, humorous, or casual; style can also include writing style, such as academic paper style or email style.
[0092] 6. Layout
[0093] Layout refers to the process of adjusting the position and size of visual elements such as text, tables, graphics, and images on a page to make the layout more organized and achieve a visually appealing effect.
[0094] 7. Translation
[0095] Translation is the function of transforming information from one language into information from another language.
[0096] In this embodiment, the document application may include the functions shown in 1-7 above. Users can use these functions to adjust and set the content and format of the document, improving its overall quality, making it more standardized and professional, and more complete and accurate, thereby increasing its influence. Furthermore, the functions shown in 1-7 can further ensure document clarity, thus guaranteeing the overall visual effect and the reader's reading experience.
[0097] Based on the above, this application provides a document processing method. This method embeds some functions of a smart assistant into a document application to handle artificial intelligence (AI) services related to the document application. After embedding these functions, a unified entry point for some of the smart assistant's functions can be added to the document application. For example, a unified entry point can be added for functions such as summarizing, polishing, mind mapping, expanding, shortening, style rewriting, formatting, or translating. In this way, users can trigger the electronic device to execute related functions through operations on this unified entry point, thereby providing users with a more convenient document processing method, reducing the complexity of user operations, and improving the user experience.
[0098] The "smart assistant" described herein is merely one example; it may also have other names, such as smart document, document assistant, or document helper, and is not limited thereto. It is understood that any application capable of providing the above-mentioned functions falls within the protection scope of this application.
[0099] Optionally, the document formats mentioned above may include: Word format, portable document format (PDF), extensible markup language (XML) format, txt format, presentation (PowerPoint, PPT) format, Excel format, etc., without limitation.
[0100] Optionally, Word, PDF, and TXT format documents can support one or more of the functions described in 1-7 above. PPT format documents can support the above-mentioned editing functions.
[0101] The implementation of this embodiment will now be described in detail with reference to the accompanying drawings.
[0102] For example, a document processing method provided in this application embodiment can be applied to the document processing system 100 shown in FIG1. The document processing system 100 may include an electronic device 101 and a server 102.
[0103] Electronic device 101 can install a document application for creating multiple documents and supports local or cloud storage, enabling access and editing anytime, anywhere. Optionally, after the document application is opened, it can interact with the user for document editing and processing. During a single launch, the user can interact with the smart assistant within the document application one or more times. In each interaction, the user can input corresponding function commands to the smart assistant. After receiving the user's input function commands, electronic device 101 sends a processing request to server 102, requesting server 102 to determine the processing result corresponding to the function commands. After receiving the processing result from server 102, electronic device 101 displays the processing result on the smart assistant's document page, thus completing one interaction.
[0104] Optionally, as shown in Figure 2, after the document application is opened, the electronic device 101 uploads the current document to the server 102. Then, after receiving a function command input by the user, the electronic device 101 sends a processing request to the server 102, requesting the server 102 to determine the processing result corresponding to the function command. The server 102 can use a preset model to process the uploaded document, obtain the processing result corresponding to the current function command, and feed it back to the electronic device 101. After receiving the processing result, the electronic device 101 can display the processing result on the current document's page. The interface interaction process for the electronic device 101 to display the processing result can be referred to in the following embodiments, and will not be repeated here.
[0105] Optionally, if the user inputs a summary or mind map, the server 102 can use a preset model to process the entire content of the uploaded document and send the processing result to the electronic device 101, which then displays the processing result on the current document's page. In other embodiments, if the user inputs a polishing, expansion, shortening, style rewriting, formatting, or translation instruction, the server 102 can use a preset model to process the selected text information in the document and send the processing result to the electronic device 101, which then displays the processing result on the current document's page.
[0106] Optionally, as shown in Figure 2, if the user inputs a summary or mind map, the server 102 can use a preset model to process the entire content of the uploaded document, obtain a first processing result, and feed the first processing result back to the electronic device 101, which displays the first processing result on the current document page. In other embodiments, if the user inputs a polishing, expansion, shortening, style rewriting, formatting, or translation instruction, the server 102 can use a preset model to process the selected text information in the document, obtain a second processing result, and send the second processing result to the electronic device 101, which displays the second processing result on the current document page.
[0107] In this embodiment, the intelligent assistant has broad application prospects, providing users across various industries with a more intelligent and convenient document processing experience. Specifically, the intelligent assistant can be applied to various scenarios requiring document processing. For example, for students, it can help organize study materials and write and analyze papers and reports. For working professionals, it can help organize work documents and compile meeting minutes. Of course, the intelligent assistant can also be applied to other specific scenarios, such as legal document processing and medical diagnosis, which will not be elaborated upon further. Therefore, in this embodiment, the application of the intelligent assistant can effectively improve document processing efficiency, reduce workload, and provide users with a more personalized and intelligent document processing experience.
[0108] For example, the document processing method provided in this application can be applied to electronic devices such as smartphones, personal digital assistants (PDAs), laptops, tablets, handheld computers, laptop computers, ultra-mobile personal computers (UMPCs), personal computers (PCs), netbooks, cellular phones, PDAs, and augmented reality (AR) / virtual reality (VR) devices. This application does not impose any special limitations on the specific form of the electronic device.
[0109] Figure 3 shows a schematic diagram of the structure of electronic device 101.
[0110] Electronic device 101 may include processor 110, external memory interface 120, internal memory 121, universal serial bus (USB) interface 130, charging management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and subscriber identification module (SIM) card interface 195, etc.
[0111] Processor 110 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0112] The controller can be the nerve center and command center of the electronic device 101. The controller can generate operation control signals according to the instruction opcode and timing signals to complete the control of fetching and executing instructions.
[0113] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0114] In this embodiment of the application, the processor 110 can process one or more of the following operations: responding to user input function commands, responding to any user operation, and sending the processing results obtained from the server to the display screen for display, etc.
[0115] In some embodiments, the processor 110 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0116] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 101. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via the antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to the modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via the antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.
[0117] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 101, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0118] The external storage interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.
[0119] Internal memory 121 can be used to store computer executable program code, which includes instructions. Processor 110 executes various functional applications and data processing of electronic device 100 by running the instructions stored in internal memory 121. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of electronic device 101 (such as audio data, phonebook, etc.). Furthermore, internal memory 121 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
[0120] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 101. In other embodiments of this application, the electronic device 101 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0121] For example, when the above-mentioned electronic device 101 is a speaker, the electronic device 101 may also include one or more devices such as a GPU, a display screen 194, a camera 193, and buttons 190. This application embodiment does not impose any restrictions on this.
[0122] For example, when the above-mentioned electronic device 101 is a mobile phone, the electronic device 101 may also include one or more of the following devices: GPU, display screen 194, camera 193, headphone jack 170D, button 190, battery, motor 191, indicator 192, and SIM card interface 195. This application embodiment does not impose any restrictions on this.
[0123] The following will describe in detail a document processing method provided by an embodiment of this application with reference to the accompanying drawings.
[0124] In this embodiment, the electronic device 101 is equipped with a document application. This document application can be a system-level application built into the electronic device 101, or a third-party application, etc., without limitation. As shown in Figure 4, when the user opens document 1 (or the first document) using the document application, the tablet displays the page of document 1. The page of document 1 includes a menu bar 203a, a toolbar 203c, and a workspace. The toolbar 203c is typically located at the top of the document page and contains a series of icons and command buttons for performing common document editing and formatting tasks. The toolbar can be customized according to the user's needs, such as adding, deleting, or rearranging command buttons, and creating custom tabs and groups. The menu bar 203a is located at the top of the document page, such as above the toolbar 203c, and includes multiple categories, such as "File," "Edit," and "View." Each category corresponds to a series of commands related to that category, providing users with options for more detailed control over the document. The workspace is the main area for document editing, located below the toolbar and menu bar. In the workspace, users can input text, insert images, tables, and other elements, as well as perform various formatting and layout operations. Optionally, the size and position of the workspace can be changed by adjusting the boundaries of the document window to suit different work needs.
[0125] The document 1 opened by electronic device 101 can be generated locally or stored in the cloud and downloaded by a server; there is no limitation on this.
[0126] Optionally, as shown in Figure 4, a pop-up window 201 is displayed on the document 1 page. Pop-up window 201 is used to prompt the user for a unified entry point to the relevant functions provided by the smart assistant. This unified entry point can be represented by a control, such as control 202 (or referred to as the first control). The name of control 202 can be "Document Assistant," "Smart Document," etc., and is not limited. In the following embodiments, the illustrations use "Document Assistant" as an example to illustrate control 202.
[0127] Figure 4(a) shows a schematic diagram of a Word document displayed on a tablet, Figure 4(b) shows a PDF document displayed on a PC, and Figure 4(c) shows a PDF document displayed on a tablet.
[0128] Optionally, as shown in Figure 4, the pop-up window 201 includes an identifier 201a and / or a prompt message 201b. The identifier 201a and / or the prompt message 201b are used to inform the user of the relevant functions supported by the smart assistant. The content of the pop-up window 201 will not be exactly the same for different types of electronic devices or different document formats. For example, as shown in Figure 4(a), when a tablet displays a Word document, the prompt message 201b included in the pop-up window 201 may include: improving document reading and editing efficiency, and / or, one-click intelligent summarization, polishing, rewriting document content, etc. As another example, as shown in Figure 4(b), when a PC displays a PDF document, the prompt message 201b included in the pop-up window 201 may include: YOYO Document Assistant, and / or, helping you efficiently summarize and polish document content, etc. As another example, as shown in Figure 4(c), when the tablet displays a PDF document, the pop-up window 201, including the prompt message 201b, may include: improving document reading efficiency, and / or, generating intelligent summaries and mind maps with one click.
[0129] Optionally, as shown in Figure 4, the pop-up window 201 may also include a button 201c, which is used to trigger the electronic device 101 to start the relevant functions of the smart assistant. For example, the button 201c can be named "Try it".
[0130] Optionally, provided the pop-up display rules are met, pop-up 201 is displayed when electronic device 101 (e.g., tablet, PC, mobile phone, etc.) opens document 1. For example, the pop-up display rules include: electronic device 101 has opened document 1 for the first N times, where N is a positive integer, such as 1 or 3, etc., without limitation. Taking N=3 as an example, for instance, electronic device 101 displays pop-up 201 for the first 3 times it opens document 1, and from the 4th time it opens document 1 onwards, pop-up 201 is not displayed. Of course, the electronic device can also display pop-up 201 every time document 1 is opened, without restriction.
[0131] Optionally, the electronic device 101 may close the pop-up window 201 when its display duration exceeds a preset duration; or, the electronic device 101 may close the pop-up window 201 after receiving a user's operation to launch the document assistant, without limitation. The preset duration can be set according to specific needs and is not limited. For example, the preset duration can be 10 seconds, 20 seconds, etc.
[0132] To facilitate user operation, control 202 can be placed in the menu bar of document 1. For example, when electronic device 101 is a tablet and the document is in Word format, as shown in Figure 4(a), the page of document 1 includes a menu bar 203a, which is positioned above the workspace of document 1. Control 202 can be placed in the last menu item of menu bar 203a, for example, after the "View" menu item. When electronic device 101 is a PC and the document is in PDF format, as shown in Figure 4(b), menu bar 203 is positioned between the title bar 203b and the toolbar 203c of document 1. Control 202 is placed in menu bar 203a and at the very end of menu bar 202a. When electronic device 101 is a tablet and the document is in PDF format, as shown in Figure 4(c), menu bar 203 is positioned between the title bar 203b and the workspace of document 1. The control 202 is positioned as the last menu item in the menu bar 203a. For example, the control 202 is located after the "Edit" menu item in the menu bar 203a. Of course, the control 202 can also be positioned in other locations, and this embodiment of the application does not limit this.
[0133] Optionally, when the electronic device 101 is a mobile phone and the document is in Word format, as shown in Figure 5, after the mobile phone opens document 1, the page of document 1 includes a menu bar 203a, which is located at the bottom of the workspace of document 1. For example, menu bar 203a is located at the bottom of the workspace of document 1. As shown in Figure 5, control 202 is located at the first menu position in menu bar 203a, for example, control 202 is located before "All Tools" in menu bar 203a.
[0134] In the above scheme, after receiving the user's operation to open document 1, electronic device 101 responds to the operation by prompting the user with a unified entry point for relevant functions provided by the smart assistant. This allows the user to trigger electronic device 101 to use relevant functions to adjust and set the document through the unified entry point, thereby improving the overall quality of the document.
[0135] In some embodiments, the electronic device 101 can receive user operations on the control 202 to activate relevant functions supported by the smart assistant. In other embodiments, the electronic device 101 can also receive user operations on the button 201c included in the pop-up window 201 to activate relevant functions supported by the smart assistant, etc., without limitation. The following describes the interface interaction flow of the startup process using the example of the electronic device 101 receiving user operations on the control 202 and activating relevant functions supported by the smart assistant.
[0136] Taking electronic device 101 as a tablet and the document format as Word as an example, exemplarily, in response to the user's first operation on the control 202 (such as a click, swipe, long press, etc., hereinafter taking a click as an example), as shown in Figure 6, the tablet displays interface 204. Interface 204 includes the workspace of document 1 and card 205, and the workspace of document 1 and card 205 are displayed side by side. Card 205 is used to display the dialogue content between the document assistant and the user. Card 205 can be a window or a display area, etc., and this application does not limit the display form of the card. Optionally, as shown in Figure 6, a "delete" button 206 is displayed at the top of card 205 for hiding or closing card 205. Exemplarily, in response to the user's click on the "delete" button 206, the tablet closes the displayed card 205. Thus, when the user does not need to use the document assistant, the "delete" button 206 allows the user to easily close card 205 directly, making it easy for the user to remember and operate. Alternatively, in response to a user's click on the "Clear" button 206, the tablet hides the card 205, but the content displayed on the card 205 (such as the conversation between the document assistant and the user) is not cleared. Furthermore, when the user clicks the control 202 again, the tablet can display the previous conversation history in the card 205, allowing the user to easily view the conversation and thus improving the user experience.
[0137] Optionally, as shown in Figure 6, card 205 also includes a drop-down bar 207, which is used to trigger the tablet to display the historical conversation records between the document assistant and the user. For example, in response to the user's pull-down operation of the drop-down bar 207, the tablet displays the historical conversation records between the document assistant and the user. Optionally, the drop-down bar 207 may also display a prompt message to remind the user to pull down the drop-down bar 207 to view the historical conversation records. For example, the prompt message may be: "New topic in group chat, pull down to view history." In this way, triggering the tablet to display the historical conversation records between the document assistant and the user through the drop-down bar 207 facilitates user memorization and operation. The historical conversation records may be the conversation records between the currently opened document 1 and the document assistant; or, the historical conversation records may be the conversation records between all documents in the electronic device 101 and the document assistant, etc., without limitation.
[0138] Taking an electronic device 101 as a mobile phone and a document in Word format as an example, in response to a user's click on the control 202, as shown in Figure 7, the mobile phone displays an interface 208. The interface 208 includes a card 205, which is displayed floating on the interface 208. The card 205 can also be called a floating card, floating control, floating window, etc., and is not limited thereto.
[0139] In this embodiment, when the electronic device 101 is a tablet or PC, the larger screen size of the tablet or PC allows the card 205 to be displayed side-by-side with the workspace of document 1. This allows the user to see both the workspace of document 1 and the card 205 simultaneously, facilitating operation. When the electronic device 101 is a mobile phone, the relatively smaller screen size allows the card 205 to float above document 1, making it easier for the user to view the relevant content.
[0140] It should be noted that the interface interaction process of launching the document assistant on a PC is similar to that on a tablet. You can refer to the interface interaction process of the tablet, which will not be repeated here.
[0141] In some embodiments of this application, card 205 can provide users with access to relevant functions provided by the smart assistant. For example, card 205 can provide users with access to functions such as summarizing, polishing, mind mapping, expanding the length, shortening the length, rewriting the style, typesetting, and translating.
[0142] Optionally, as shown in Figures 6 and 7, card 205 includes multiple controls, each corresponding to a different recommended question. For example, card 205 may include control 1 (generating a summary of the document), control 2 (selecting a section of text for polishing), and control 3 (selecting a section of text to expand the document). The tablet (or mobile phone) can respond to the user's click on controls 1-3 and activate the corresponding functions. Optionally, as shown in Figures 6 and 7, card 205 may also include an input box 301, which receives user input, such as one or more document-related questions.
[0143] For example, as shown in Figures 6 and 7, a send button 302 is provided on one side of the input box 301. After the input box 301 receives a question related to a document input by the user, the tablet (or mobile phone) responds to the user's click on the send button 302 by displaying the user's input question in the card 205. Of course, the user can also input the question by voice, which is not limited. For example, as shown in Figures 6 and 7, an add button 303 is also provided on the other side of the input box 301. This add button 303 can be used to add multiple documents, and the tablet (or mobile phone) can perform multi-document comparison based on the added multiple documents. The relevant description of multi-document comparison can be referred to in the following embodiments, and will not be repeated here.
[0144] Optionally, as shown in Figures 6 and 7, card 205 includes multiple tabs 304, which correspond to various functions provided by the smart assistant. For example, the multiple tabs 304 may include smart summary (or summary), smart polishing (or polishing), mind mapping, expanding the text, shortening the text, style rewriting, smart layout (or layout), translation, and other tabs. Here, the names of each tab are merely examples and do not constitute a limitation on the embodiments of this application. Of course, each tab may also have different names, which will not be listed here.
[0145] For example, multiple tabs 304 can be positioned above the input box 301. To avoid occupying too much space, card 205 can display some tabs while hiding the rest. Furthermore, when a user swipes across multiple tabs 304, the tablet (or phone) can scroll to reveal the hidden tabs. For example, as shown in Figures 6 and 7, card 205 currently displays the following tabs: Smart Summary and Smart Polishing. Tabs for expanding the text are partially hidden (e.g., the word "text" is hidden), while tabs for Mind Mapping, Shortening the Text, Style Rewriting, Layout, and Translation are completely hidden. In this case, the user can swipe left across multiple tabs 304, and the tablet (or phone) can scroll to reveal the hidden tabs sequentially.
[0146] Optionally, as shown in Figure 8, the tablet can respond to a user's long-press operation on the workspace of Document 1 by displaying an editing menu bar 305 in the workspace of Document 1. The editing menu bar 305 includes one or more editing controls. For example, as shown in Figure 8, the editing menu bar includes basic editing controls such as cut, copy, delete, format painter, highlight, and annotation. Optionally, as shown in Figure 8, the editing menu bar also includes functional editing controls such as polishing, expansion, abbreviation, and style modification. These functional editing controls can trigger relevant functions supported by the smart assistant provided by the tablet (or mobile phone). For example, in response to a user's click operation on the polishing editing control, the tablet (or mobile phone) starts the polishing function.
[0147] Optionally, in response to a user's long-press operation on the workspace of Document 1, the tablet (or phone) selects a portion of the text information in Document 1 to determine the target text. For example, the tablet (or phone) can highlight or bold the target text to help the user accurately identify the selected text. Optionally, the tablet (or phone) can select the first paragraph of Document 1 to determine the target text; or, the tablet (or phone) can select preset text information in the first document to determine the target text, etc., without limitation.
[0148] Optionally, in response to a user's long-press operation on the workspace of Document 1, the tablet (or phone) can provide corresponding function entry points based on the number of characters in the selected text information. Different function entry points correspond to different character counts (i.e., the number of characters in the selected text information). For example, if the number of characters in the selected text information exceeds a preset character count, the tablet (or phone) will no longer provide an entry point for the polishing function, hiding it. Alternatively, if the number of characters in the selected text information does not exceed a preset character count, the tablet (or phone) will no longer provide an entry point for the summarizing function, hiding it. The preset character count is not specifically limited and is subject to actual settings. For example, the preset character count can be less than or equal to 800 characters; for instance, it could be 600 characters or 800 characters, etc., without limitation.
[0149] The reason why the tablet (or phone) no longer provides an entry point for the summary function when the selected text information has fewer words than the preset word count, and why this entry point is hidden, is because summaries are usually extracted from the full text. If the word count is low, the extracted summary will be inaccurate and lack readability. Therefore, by hiding the entry point for the summary function, users are prevented from selecting the summary function when the selected text information has few words, thus avoiding the problem of inaccurate and unreadable summaries.
[0150] Correspondingly, the reason why the tablet (or phone) no longer provides an entry point for the polishing function when the selected text exceeds the preset word count, and hides the polishing function entry point, is that, under normal circumstances, the polishing function supported by the tablet (or phone) can only parse text of up to 800 characters at a time. Text exceeding 800 characters will result in inaccurate or imperfect polishing results. Therefore, by hiding the polishing function entry point in this situation, users are prevented from selecting the polishing function when the selected text has a large number of characters, thus avoiding problems such as inaccurate or imperfect polishing results.
[0151] It should be noted that PCs or mobile phones can also respond to a user's long press operation and display the aforementioned edit menu bar 305. The specific implementation process can be found in Figure 8 above, and will not be elaborated further. Furthermore, the shape and size of the edit menu bar 305 can be set according to the specific implementation and are not limited; Figure 8 is merely an example.
[0152] In this embodiment of the application, as shown in Figures 6-8, the electronic device 101 can select a corresponding function in response to a user's click operation on controls 1-3. Alternatively, the electronic device 101 can also select a corresponding function in response to a user entering a document-related question in the input box 301. Furthermore, the electronic device 101 can also select a corresponding function in response to a user's click operation on any tab among multiple tabs 304. Alternatively, the electronic device 101 can also select a corresponding function in response to a user's click operation on the function editing control in the edit menu bar 305. The specific implementation method for selecting a corresponding function on a tablet (or mobile phone) is not specifically limited; the actual implementation shall prevail.
[0153] The following example illustrates how a user clicks multiple tabs 304 and selects the corresponding function. The interface interaction flow for the functions corresponding to different tabs is listed below.
[0154] (I) Smart Summary
[0155] As an example, after a user clicks the Smart Summary tab, the tablet can provide a summary of the full text of document 1.
[0156] For example, as shown in Figure 9A(a), in response to a user's second action (such as a click, swipe, long press, etc., hereinafter taking a click as an example) on the first tab (e.g., the Smart Summary tab) of multiple tabs 304, as shown in Figure 9A(c), the tablet displays Dialogue Content 1 in Card 205. Dialogue Content 1 is a summary obtained by summarizing the full text of Document 1. For example, as shown in Figure 9(c), the summary includes the following: "Microeconomics is one of the core courses for economics and management majors in higher education institutions. Taking heuristic teaching as the guiding ideology of teaching methods, researching effective and scientifically reasonable teaching methods and models is of great significance for improving the teaching quality of microeconomics and enhancing students' ability to analyze economic phenomena and economic problems." The dialogue content in Card 205 can be displayed in the form of bubbles, cards, controls, etc.
[0157] Optionally, after the user clicks the Smart Summary tab, the tablet displays the dialogue content (e.g., "Smart Summary") in card 205 to indicate to the user that the tablet has activated the summary function. Optionally, after the user clicks the Smart Summary tab, the tablet can hide the recommended questions, i.e., hide the aforementioned controls 1-3, to prevent the display area of card 205 from being too small and affecting the display effect of the summary.
[0158] Optionally, during the display of the summary on the tablet, the tablet can use highlighting, bolding, or other methods to mark information, making it easier for users to accurately understand the specific content of the summary. For example, as shown in Figure 9A(b), during the display of the summary, the tablet can set a cursor (or focus) in the display area of the summary. As the cursor moves, the content of the summary is gradually displayed in the corresponding display area until the entire summary is displayed. For instance, as the summary gradually displays with the movement of the cursor, the tablet's smart assistant can highlight the display area of the summary to reflect the display process, thus facilitating quick viewing of the summary content. The shape of the cursor is not specifically limited. For example, when the document is in editing mode, the cursor can be a black vertical bar; when the document is not in editing mode, the cursor can be an arrow.
[0159] As another example, if a user selects a portion of the content in document 1 and then clicks the Smart Summary tab, in one scenario, the tablet can support summarizing the content from a given portion; or in another scenario, the tablet may not support summarizing the content from a given portion.
[0160] For example, as shown in Figure 9B, in response to the user's selection of document 1, the tablet selects the target text of document 1 and displays cursors at the beginning and end positions of the target text. For example, cursor 10a is displayed at the beginning position of the target text, and cursor 10b is displayed at the end position of the target text. Then, in response to the user's click on the Smart Summary tab, as shown in Figure 9B, the tablet displays dialogue content 2 in card 205. This dialogue content 2 prompts the user that the tablet does not currently support the summary function for parts of document 1. For example, as shown in Figure 9B, dialogue content 2 includes: "The text content is too short; parsing is not currently supported!"
[0161] Alternatively, as shown in Figure 9C, in response to the user's selection of document 1, the tablet selects the target text of document 1, such as the text corresponding to cursors 10a and 10b. Then, in response to the user's click on the Smart Summary tab, as shown in Figure 9C, the tablet displays dialogue content 3 in card 205. Dialogue content 3 is a summary of a portion of the content of the user-selected document 1.
[0162] Alternatively, as shown in Figure 9D(a), in response to the user's selection of document 1, the tablet selects the target text of document 1, such as the text corresponding to cursors 10a and 10b. Then, in response to the user's click on the Smart Summary tab, as shown in Figure 9D(a), the tablet displays dialogue content 4 in card 205. Dialogue content 4 is used to confirm / adjust the summary range for the user. As shown in Figure 9D(b), in response to the user's operation on cursors 10a and 10b, the tablet can adjust the selected range. Then, in response to the user's confirmation of dialogue content 4, the tablet can display a summary obtained by summarizing the summary range confirmed by the user. For example, if the adjusted selected range is the full text of document 1, as shown in Figure 9D(b), the tablet displays dialogue content 1 in card 205, that is, displays a summary obtained by summarizing the full text content. The specific content displayed in the summary can be referred to the above embodiments, and will not be repeated here.
[0163] It should be noted that after the tablet displays the summary (such as dialogue content 3 shown in Figure 9C and dialogue content 1 shown in Figure 9D), the following prompts and the editing menu bar 307 can also be displayed in the dialogue content. The following description refers to the schematic diagram shown in Figure 9A. While not shown in Figures 9B-9C, this does not mean that the prompts and the editing menu bar 307 are not included.
[0164] Furthermore, after a user clicks on multiple tabs (such as Smart Summary), the tablet can hide these tabs to avoid the display area of card 205 being too small and affecting the display effect of the conversation content. Of course, the tablet can also display multiple tabs while showing the conversation content; this embodiment does not limit this, and the actual display shall prevail. This is a general statement, and the following embodiments will not elaborate further.
[0165] Optionally, after the tablet displays the summary, as shown in Figure 9A(c), the dialogue content 1 also includes prompt information, which includes the total word count of the first document; and / or, the word count of the summary; and / or, the summary provider. For example, the prompt information may include: the original text has 546 words, the summary has 110 words, and the summary is provided by cloud data, etc., without limitation. Optionally, the dialogue content 1 also includes an editing menu bar 307, which includes a summary type 307a, an insert button 307b, and a settings button 307c. The editing menu bar 307 can provide users with a variety of editing operations to meet diverse editing needs. Among them, the summary type 307a includes "Smart Summary" and "Summarize Viewpoints"; "Smart Summary" refers to providing users with the general content and structure of the entire article, while "Summarize Viewpoints" provides users with a summary of the entire article.
[0166] For example, as shown in Figure 10, the tablet can respond to the user's editing operation on summary type 307a by selecting different summary types, such as "smart summary" and "viewpoint summary", and provide the user with summaries corresponding to different summary types.
[0167] Optionally, the tablet can respond to the user's editing operation on the insert button 307b by inserting a summary into the original text of the first document (i.e., the workspace of the first document). For example, the tablet may insert a summary below the title of the first document; or, the tablet may insert a summary above the title of the first document; or, if the first document does not include a title, the tablet may insert a summary at the very top of the workspace of the first document; or, in response to the user's selection operation, the tablet may select the first target text in the first document and insert a summary at the beginning or end of the first target text.
[0168] Optionally, when inserting a summary into the original text of the first document, if the format of the inserted summary is inconsistent with that of the original text of the first document, the format of the original text of the first document shall be adopted and the summary shall be inserted into the original text of the first document.
[0169] For example, as shown in Figure 11, the tablet inserts a summary below the title of the first document. Alternatively, as shown in Figure 12, in response to a user's selection, the tablet selects the first target text in the first document and displays cursors at the beginning and end positions of the first target text. For instance, the tablet displays a first cursor 210a at the beginning position of the first target text and a second cursor 210b at the end position of the first target text. The tablet can insert a summary at either the first cursor 210a or the second cursor 210b. As shown in Figure 12, the tablet inserts a summary at the second cursor 210b (i.e., the end position of the selected first target text).
[0170] For example, as shown in Figures 11 and 12, the tablet can highlight the inserted summary using methods such as bolding, italics, etc. (Figures 11 and 12 use italics as an example) to help users accurately understand the content of the inserted summary. For example, as shown in Figures 11 and 12, when the tablet inserts a summary into the original text of the first document, it displays a toast notification to inform the user that the summary has been inserted into the original text. For example, the toast notification might read: "Original text inserted." Optionally, the tablet can also respond to the user's action on the "Previous" button 211 to undo the inserted summary.
[0171] Optionally, as shown in Figure 13(a), the tablet can also display editing controls in response to the user's editing operation on the settings button 307c, such as a "Share" control, a "Like" control, a "Dislike" control, and a "Report" control. The "Share" control is used to trigger the tablet to share the summary with other applications (such as instant messaging applications) via the smart assistant; the "Like" control is used to trigger the tablet to like the summary; and the "Dislike" control is used to trigger the tablet to dislike the summary. For example, as shown in Figure 13(b), the tablet can also display control 212 (such as comments and feedback) in the workspace of the first document in response to the user's click on the "Report" control. Control 212 includes multiple options, such as: inaccurate generated content, missing key information, logical error, slow content generation, format error / confusion, presence of harmful information, etc., without limitation. Optionally, control 212 also includes a cancel button and a submit button. For example, if the tablet receives the user's operation on the cancel button, it means that the user does not need feedback, so in response to the user's operation on the cancel button, the tablet can close the displayed control 212. Alternatively, in response to the user's selection of one of the multiple options included in control 212 and in response to the user's action on the submit button, the tablet can feed back the user's selection to the server. After receiving the feedback, the server can train a preset model so that the processing result obtained by the server based on the preset model can better meet the user's needs.
[0172] For example, as shown in Figure 13(b), when the tablet displays control 212, the first document is in an inoperable state (e.g., the first document is grayed out), while control 212 is in an operable state to prompt the user to select an appropriate opinion and provide feedback. For example, in response to the user's selection of multiple options in control 212, the tablet can mark the user's selected option using bold, underline, highlight, or italic text to ensure the user accurately understands the selected option. For instance, as shown in Figure 13(b), the tablet marks the user's selected option as "Slow content generation" using bold.
[0173] It should be noted that in the scenarios corresponding to the Smart Summary function, the interface interaction process on the tablet is similar to that on the mobile phone. Please refer to the above interaction process, which will not be repeated here.
[0174] (II) Intelligent Polishing
[0175] As an example, after the user clicks the "Smart Editing" tab, the tablet can prompt the user to confirm the editing scope. After the user confirms the scope, the tablet displays the editing result. Alternatively, after the user clicks the "Smart Editing" tab, the tablet can directly display the editing result based on the text content selected by default.
[0176] For example, as shown in Figure 14A(a), in response to a user's third action (such as a click, swipe, long press, etc., hereinafter taking a click as an example) on a second tab (such as the Smart Polishing tab) among multiple tabs 304, as shown in Figure 14A(c), the tablet displays dialogue content 5 in card 205. Dialogue content 5 includes polished text, which is the polished result obtained by polishing the target text in document 1 selected by the tablet. For example, as shown in Figure 14A(c), the content of the polished text includes "This paper aims to explore the development process of microeconomics, study its role in my country's economic development, analyze the challenges faced by the development of microeconomics, and put forward corresponding suggestions."
[0177] Optionally, after the user clicks the Smart Polishing tab, the tablet displays the dialogue content (e.g., "Smart Polishing") in card 205 to indicate to the user that the tablet has activated the polishing function. Optionally, after the user clicks the Smart Polishing tab, the tablet can hide the recommended questions, i.e., hide the aforementioned controls 1-3, to prevent the display area of card 205 from being too small and affecting the display effect of the polished text.
[0178] Optionally, in response to a user's click on the Smart Polishing tab, as shown in Figure 14A(b), the tablet displays control 309 in card 205. Control 309 includes a prompt message to confirm the polishing scope with the user. For example, in response to a user's click on the Smart Polishing tab, the tablet defaults to selecting the target text in document 1 and displays control 309 for the user to confirm the polishing scope. If the user confirms the polishing scope as the target text, the tablet displays the polished text as shown in Figure 14A(c) based on the content of the target text. Optionally, the tablet may also display a third cursor 310a and a fourth cursor 310b, where the starting position of the third cursor 310a and the ending position of the fourth cursor 310b are the target text. Alternatively, if the tablet does not display the third cursor 310a and the fourth cursor 310b, the tablet uses the first paragraph of document 1 as the target text. Optionally, in response to the user's dragging operation on the third cursor 310a and the fourth cursor 310b, the tablet can adjust the target text, and after the user ends the dragging operation on the third cursor 310a and the fourth cursor 310b, in response to the user's click operation on the control 309, confirm the polishing range. For example, the tablet defaults to selecting a target text with no more than a preset number of characters, such as 800 characters, without limitation.
[0179] Optionally, the target text may include one or more of the following: text, characters, numbers, images, tables, etc. In other words, if the target text selected by the tablet may include images, tables, etc., then the polished text displayed on the tablet will include the selected images, tables, etc.
[0180] For example, the tablet selects the target text in document 1, and after the user confirms the scope of the polishing, the tablet sends the target text and the corresponding function instruction (such as intelligent polishing) to the server. The server polishes the target text based on the function instruction, obtains the processing result (i.e., the polished text), and sends the polished text back to the tablet. Then, the tablet displays the polished text in card 205.
[0181] As another example, a user can first select a portion of the content in Document 1, then click the "Smart Editing" tab. The tablet can then directly display the editing result without requiring the user to confirm the editing scope. Alternatively, the user can also first select a portion of the content in Document 1, then click the "Smart Editing" tab. The tablet will then prompt the user to confirm the editing scope, and after the user confirms the scope, the tablet will display the editing result.
[0182] For example, as shown in Figure 14B(a), in response to a user's selection operation, the tablet selects the target text in document 1 and displays cursor 20a at the beginning position of the target text and cursor 20b at the end position of the target text. Then, in response to a user's click operation on the Smart Polishing tab, as shown in Figure 14B(b), the tablet displays dialogue content 6, which includes the polished result (i.e., polished text) obtained from the target text selected by the tablet. The specific content of dialogue content 6 can be described in the following embodiments, and will not be repeated here.
[0183] It should be noted that the interactive process where the user first selects a portion of the content in Document 1 and then clicks the "Smart Polishing" tab, prompting the user to confirm the polishing scope, can be referenced in Figure 14A above, and will not be detailed here. The difference between this embodiment and Figure 14A is that the user selects a portion of the content first and then clicks the "Smart Polishing" tab; that is, the user's operation order is different.
[0184] Optionally, after the tablet displays the polished text, as shown in Figure 14A, the dialogue content 5 also includes a prompt, which may include: polishing complete; and / or, the number of words in the polished text; and / or, the provider of the polished text. For example, the prompt may include: "Polishing complete, totaling 110 words, provided by cloud data," etc., without limitation. Optionally, the dialogue content 5 also includes an editing menu bar 311, which includes a polishing type 311a, a replace button 311b, and a settings button 311c. The editing menu bar 311 can provide users with various editing operations to meet diverse editing needs.
[0185] For example, polishing type 311 can include standard polishing, high-quality polishing, and in-depth polishing. Standard polishing primarily involves correcting the language, grammar, and sentence structure of the document to ensure the author's intent is accurately expressed. High-quality polishing, building upon standard polishing, further provides modifications to logic, structure, writing style, content coherence, and clarity of expression, aiming to improve the overall readability and quality of the document and ensure consistent content expression. In-depth polishing, in addition to standard and high-quality polishing, mainly involves refining the document's expression, including grammar, vocabulary accuracy, clarity of expression, and sentence structure coherence, comprehensively improving language, including: grammatical vocabulary, sentence expression, paragraph structure, and writing logic.
[0186] For example, the tablet can respond to the user's editing operation on polishing type 311a, select different polishing types, and provide the user with polished text corresponding to different polishing types.
[0187] Optionally, the tablet can respond to the user's editing operation on the replace button 311b by replacing the target text in the first document with the polished text. For example, as shown in Figure 15, after the tablet replaces the target text in document 1 with the polished text, it can mark the replaced content using methods such as highlighting, bolding, and italics, making it easy for the user to accurately identify the replaced text. Optionally, as shown in Figure 15, when the tablet replaces the target text in document 1 with the polished text, the tablet displays a toast notification to inform the user that the polished text has replaced the original text. For example, the toast notification might read: "Original text replaced." Optionally, the tablet can also respond to the user's operation on the "Previous" button 211 to undo the replaced content.
[0188] Optionally, the tablet can also respond to the user's editing operation on the settings button 311c by displaying editing controls, such as "share," "like," "dislike," and "report" controls. For an example of the tablet displaying editing controls, please refer to Figure 13(a) above, as the display process is similar and will not be repeated here.
[0189] The above example uses a tablet to illustrate the interface interaction process of the Smart Editing function. The following example uses a mobile phone to illustrate the interface interaction process of the Smart Editing function.
[0190] For example, as shown in Figure 16(a), card 205 is displayed floating above document 1. Initially, card 205 is in full-screen mode, meaning its size occupies the entire screen of the phone. In response to a user's click on the Smart Polishing tab, as shown in Figure 16(b), card 205 switches from full-screen mode to bottom mode. Furthermore, the phone displays control 309 in the bottom-viewed card 205, which includes a prompt message to confirm the scope with the user. Optionally, the phone can also select target text in document 1; for example, the starting position of the third cursor 310a and the ending position of the fourth cursor 310b displayed on the phone are the target text. For example, in response to a user's click on control 309, the phone confirms the polishing scope, as shown in Figure 16(c). The phone displays control 308 in card 205, which includes the polished text. Optionally, control 308 also includes an edit menu bar 311, which includes a polishing type 311a, a replace button 311b, and a settings button 311c. In Figure 16(c), card 205 is in full-screen mode; that is, in response to the user's click on control 309, after the phone confirms the polishing range, card 205 switches from bottom mode to full-screen mode.
[0191] In this solution, after the user clicks on the Smart Polishing tab, the phone switches card 205 from full-screen mode to bottom mode. This is to allow the user to better adjust (or confirm) the polishing range, thus improving the user experience.
[0192] Optionally, as shown in Figure 16, card 205 also includes a sliding down key 312, which triggers the phone to slide card 205 downwards, allowing card 205 to switch between full-screen and bottom-view modes for easier user operation. In other words, users can drag the sliding down key 312 to slide card 205, making it easier for users to remember and operate, thus improving the user experience.
[0193] It should be noted that the interface interaction process of the smart polishing function on the mobile phone is similar to that of the tablet. The above only shows the differences between the mobile phone and the tablet. Other embodiments can refer to the interface interaction process of the tablet mentioned above, and will not be described in detail.
[0194] (III) Expanding the Length
[0195] As an example, after the user clicks the "Expand Length" tab, the tablet can prompt the user to confirm the expansion scope. After the user confirms the expansion scope, the tablet displays the expanded result. Alternatively, after the user clicks the "Expand Length" tab, the tablet can directly display the expanded result based on the text content selected by default.
[0196] For example, as shown in Figure 17(a), in response to a user's click on an expanded tab among multiple tabs 304, as shown in Figure 17(c), the tablet displays dialogue content 7 in card 205. Dialogue content 7 includes expanded text, which is the expanded result obtained by expanding the target text in document 1 selected by the tablet (e.g., the text circled by cursors 30a and 30b). For example, as shown in Figure 17(c), the expanded text includes "This paper uses literature review, comparative analysis, and empirical analysis to conduct an in-depth exploration of the development of microeconomics."
[0197] Optionally, in response to the user's click on the "Expand Text" tab, as shown in Figure 17(b), the tablet displays control 313 in card 205. Control 313 includes a prompt message for the user to confirm the expansion scope. For example, in response to the user's click on the "Smart Polishing" tab, the tablet selects the target text of document 1 by default and displays control 313 for the user to confirm the polishing scope. If the user confirms the polishing scope as the target text, the tablet displays the expanded text as shown in Figure 17(c) based on the content of the target text. It should be noted that the specific implementation of the user's confirmation of the expansion scope (i.e., the user's confirmation / adjustment of the target text scope) in this embodiment can be referred to the above embodiments, and will not be repeated here.
[0198] As another example, a user can first select a portion of the content in Document 1, and then click the "Expand Length" tab. The tablet can directly display the expanded result without requiring the user to confirm the expansion scope. Alternatively, the user can also first select a portion of the content in Document 1, and then click the "Expand Length" tab. The tablet will prompt the user to confirm the expansion scope, and after the user confirms the expansion scope, the tablet will display the expansion result. For the interface interaction flow of this embodiment, please refer to the above description of the interface interaction flow for intelligent polishing; it will not be detailed here.
[0199] In addition, the interface interaction process for displaying the expanded content on the mobile device is similar to the interface interaction process for the intelligent polishing described above, and can be referred to the above embodiments, which will not be described in detail here.
[0200] Optionally, as shown in Figure 17, after the tablet displays the expanded text, the dialogue content 7 also includes a prompt message, which includes "Expansion complete" and / or the number of characters in the expanded text. For example, the prompt message might include: "Expansion complete, total 37 characters." Optionally, the dialogue content 7 also includes an edit menu bar 314, which includes an expansion type 314a, a replace button 314b, and a settings button 314c. The edit menu bar 314 can provide users with various editing operations to meet diverse editing needs.
[0201] For example, as shown in Figure 18, expansion type 314a includes options such as formal tone, humorous tone, casual tone, academic style, and email style. In response to the user's selection of an option in expansion type 314a, the tablet can choose to adjust the expansion style and update the current expanded text.
[0202] Optionally, in response to the user's editing operation on the replace button 314b, the tablet can replace the target text with the expanded text described above. The specific implementation process is similar to the above-described intelligent polishing embodiment, and can be referred to therein; it will not be repeated here.
[0203] Optionally, the tablet can also respond to user editing operations on the settings button 314c by displaying editing controls, such as "share," "like," "dislike," and "report" controls. For an example of displaying editing controls on the tablet, please refer to the above embodiments; the display process is similar and will not be repeated here.
[0204] It should be noted that the interface interaction flow for the function of displaying expanded text on mobile phones is similar to that on tablets, and can be referred to the above embodiments, which will not be repeated here. In addition, the interface interaction flow for the functions of shortening text and rewriting style is similar to that of expanding text, and can be referred to the interface interaction flow corresponding to expanding text mentioned above, which will not be repeated here.
[0205] (IV) Intelligent Translation
[0206] As an example, after the user clicks the "Smart Translation" tab, the tablet can prompt the user to confirm the translation scope. After the user confirms the translation scope, the tablet displays the translation result. Alternatively, after the user clicks the "Smart Translation" tab, the tablet can directly display the translation result based on the text content selected by default.
[0207] For example, as shown in Figure 19(a), in response to a user's click on the "Smart Translation" tab among multiple tabs 304, as shown in Figure 19(c), the tablet displays dialogue content 8 in card 205. Dialogue content 8 includes translated text. The translated text is the result of translating the target text selected based on the starting position of cursor 40a and the ending position of cursor 40b in document 1. For an example of the target text selected in document 1, please refer to the above embodiments; further details will not be repeated here.
[0208] Optionally, translation applications can be installed on tablets and other electronic devices, or a built-in translator can be installed in the tablet system to obtain translation results, thus eliminating the need for remote acquisition and enabling offline translation without an internet connection.
[0209] Optionally, in response to the user's click on the Smart Translation tab, as shown in Figure 19(b), the tablet displays control 315 in card 205. Control 315 includes a prompt message for the user to confirm the translation scope. For example, in response to the user's click on the Smart Translation tab, the tablet selects the target text of document 1 by default and displays control 315 for the user to confirm the translation scope. If the user confirms the target text as the translation scope, the tablet displays the translated text as shown in Figure 19(c) based on the content of the target text. It should be noted that the specific implementation of the user's confirmation of the translation scope (i.e., the user's confirmation / adjustment of the target text scope) in this embodiment can be referred to the above embodiments, and will not be repeated here.
[0210] As another example, a user can first select a portion of the content in Document 1, then click the "Smart Translation" tab. The tablet can directly display the translation result without requiring the user to confirm the translation scope. Alternatively, the user can also first select a portion of the content in Document 1, then click the "Smart Translation" tab. The tablet will prompt the user to confirm the translation scope, and after the user confirms the translation scope, the tablet will display the translation result. For the interface interaction flow of this embodiment, please refer to the above description of the interface interaction flow for "Smart Polishing," which will not be detailed here.
[0211] Furthermore, the interface interaction process for displaying intelligent translation on the mobile device is similar to that of intelligent polishing described above, and can be referred to in the above embodiments, which will not be detailed here.
[0212] For example, as shown in Figure 19(c), the translated text is the result of translating the Chinese target text selected in Document 1 into English. The language of the target text can be automatically detected, and English can be the default translation result. That is, the tablet defaults to translating the target text into English. Optionally, control 315 also includes an edit button 315a. In response to the user's click on the edit button 315a, the tablet can provide different languages for the user to select, thereby providing the user with translation functions in different languages and improving the user experience.
[0213] Optionally, as shown in Figure 19, control 315 also includes an edit menu bar 316, which includes a copy button 316a, a share button 316b, and a settings button 316c. The copy button 316a can be used to trigger the tablet to copy the translated text. The share button 316b can be used to trigger the tablet to share the translated text to other applications. The settings button 316c is used to trigger the tablet to display edit controls, such as "like," "dislike," and "report" controls. Users can operate these edit controls to trigger the tablet to perform the corresponding functions.
[0214] (V) Intelligent Typesetting
[0215] As an example, after a user clicks the Smart Layout tab, the tablet can provide the layout result for the full text of Document 1.
[0216] For example, in response to a user's click on the "Smart Layout" tab among multiple tabs 304, as shown in Figure 20, the tablet displays dialogue content 9 in card 205. Dialogue content 9 includes layout text. The layout text is the result of formatting all content in document 1. For instance, the tablet sends a function command (i.e., a smart layout command) to the server. The server processes document 1 based on the function command, obtains the layout text, and feeds it back to the tablet. The tablet then displays the layout result in card 205. Optionally, as shown in Figure 20, the control 317 also includes an edit menu bar 318, which includes a copy button 318a, a layout type 318b, a replace button 318c, and a settings button 318d. The copy button 318a can be used to trigger the tablet to copy the layout text. The replace button 318c is used to trigger the tablet to replace the selected target text in document 1 with the layout text. The 318d button is used to trigger the tablet to display editing controls, such as "Share," "Like," "Dislike," and "Report" controls. Users can interact with these editing controls to trigger the tablet to perform the corresponding functions.
[0217] For example, as shown in Figure 20, layout type 318b includes "Section Summary," "Work Summary," and "Thesis Outline." Section summaries are typically used in longer texts, such as reports, theses, or work summaries, to summarize the content of each paragraph, helping readers quickly understand the main points of each part and facilitating memorization and citation. Work summaries typically include the setting of work goals, analysis of completion status, problems encountered and solutions, achievements, and future plans. Thesis outlines are the organizational structure of a thesis, providing a framework for its content; they typically include: title, table of contents, abstract, keywords, or subject terms. Optionally, in response to a user's click on layout type 318b, any option included in layout type 318b can be selected to update the type of the formatted text.
[0218] As another example, after the user selects a portion of the content in Document 1 and then clicks the Smart Layout tab, in one scenario, the tablet can support the layout result obtained after formatting the selected portion of the content; alternatively, the tablet may not support the layout result obtained after summarizing the selected portion of the content. The interface interaction flow for this embodiment can be referred to the interface interaction flow of the Smart Summary described above, and will not be detailed here.
[0219] (VI) Mind Map
[0220] As an example, after a user clicks on the mind map tab, the tablet can provide the formatted result of the full text of document 1.
[0221] For example, in response to a user's click on a mind map tab among multiple tabs 304, as shown in Figure 21, the tablet displays dialogue content 10 in card 205. Dialogue content 10 includes a mind map extracted from the full text of document 1. For instance, the tablet sends a function command (i.e., a mind map command) to the server, which processes document 1 based on the function command to obtain a mind map and then feeds the mind map back to the tablet. The tablet then displays the mind map in card 205.
[0222] Optionally, the mind map includes multi-level nodes. For example, as shown in Figure 21, the mind map includes first-level nodes, second-level nodes, and third-level nodes; based on this, the number of characters in the first-level nodes does not exceed a first preset character, the number of characters in the second-level nodes does not exceed a second preset character, and the number of characters in the third-level nodes does not exceed a third preset character. The specific values of the first, second, and third preset characters are not limited and are determined by actual settings. For example, the first preset character is 4, the second preset character is 6, and the third preset character is 10.
[0223] Optionally, if the number of characters in a first-level node exceeds a first preset character, the number of characters in a second-level node exceeds a second preset character, or the number of characters in a third-level node exceeds a third preset character, the display needs to wrap to a new line. For example, the tablet can determine the number of characters in the first-level, second-level, and third-level nodes. If the number of characters in a first-level node exceeds the first preset character, the tablet will wrap to display the characters of the first-level node; if the number of characters in a second-level node exceeds the second preset character, the tablet will wrap to display the characters of the second-level node; and if the number of characters in a third-level node exceeds the third preset character, the tablet will wrap to display the characters of the third-level node. For example, as shown in Figure 21, in the mind map displayed on card 205, the number of characters in the first-level node is 4, the number of characters in the second-level node is 3, 4, or 5, and the number of characters in the third-level node is 3, 5, or 6.
[0224] Optionally, the tablet can display the mind map as an image on card 205. Furthermore, in response to the user's click on the mind map displayed on card 205, the tablet can use an image viewer to open the mind map image for the user to view more intuitively.
[0225] Optionally, when the mind map returned by the server has a lot of content, the length and width of the card 205 will expand as the mind map is displayed on the tablet, thereby achieving adaptive length and width of the mind map image.
[0226] Typically, the first-level node count is 1. When the mind map from the server contains a large amount of content, the second-level node count is greater than the first-level node count but less than or equal to the second-level node count; the third-level node count is greater than the first-level node count but less than or equal to the third-level node count. The specific values for the first, second, and third-level node counts are not limited and are determined by actual settings. For example, the first-level node count is 1, the second-level node count is 10, and the third-level node count is 40; that is, the maximum second-level node count is 10 and the minimum is 1; the maximum third-level node count is 40 and the minimum is 1.
[0227] Optionally, as shown in Figure 21, control 319 further includes an edit menu bar 320, which includes a save button 320a, an insert button 320b, a share button 320c, and a settings button 320d. The save button 320a triggers the tablet to save the mind map as an image. The insert button 320b triggers the tablet to insert the mind map into the original text of document 1; the specific implementation process of this insertion can be referred to the above embodiments and will not be repeated here. The share button 320c triggers the tablet to share the mind map image to other applications. The settings button 320d can be used to trigger the tablet to display the edit controls, responding to the user's editing operations on the edit controls, and the tablet can execute the corresponding editing functions. For example, the edit controls include a "like" control, a "dislike" control, and a "report" control. Examples of the tablet displaying edit controls can be referred to the above embodiments and will not be repeated here.
[0228] As another example, after the user selects a portion of the content in Document 1 and then clicks the Mind Map tab, in one scenario, the tablet can support the mind map obtained after processing the selected portion of the content; alternatively, the tablet may not support the mind map obtained after processing the selected portion of the content. The interface interaction flow for this embodiment can be referred to the interface interaction flow of the aforementioned Smart Summary, and will not be detailed here.
[0229] It should be noted that the above embodiments illustrate the interface interaction process of related functions provided by the smart assistant, such as smart summarization, smart polishing, expanding the length, smart formatting, smart translation, and mind mapping. In addition to the functions shown above, the tablet can also provide multi-document comparison functionality.
[0230] In some embodiments, as shown in Figure 22(a), in response to a user's click on the add button 303, the tablet displays interface 501 as shown in Figure 22(b). This interface includes a card 502, which can be displayed floatingly on interface 501. The card 502 can also be called a floating card, floating window, etc., without limitation. As shown in Figure 22(b), the card 502 is used to show the user the storage locations of all documents on the tablet. For example, the card 502 displays two storage locations: "My Files" and "My Tablet." The user can select the document to upload from all the documents saved in this storage location. Optionally, the tablet can support up to two documents being uploaded. If the user selects more than two documents, the user is prompted that uploading is not allowed. For example, after the user selects two documents, the card 502 is grayed out and cannot be operated by the user.
[0231] Optionally, after the user selects two documents, as shown in Figure 22(c), the tablet uploads the two selected documents to the server and displays the identifiers of the uploaded documents in card 205, such as displaying New Document 1.doc and New Document 2.doc. Optionally, as shown in Figure 22(c), the tablet can also display a dialog scope 321 in card 205. The dialog scope 321 includes identifiers of all documents that have been uploaded to the server. For example, the title of the dialog scope 321 is: New Document and 3 other documents. Among them, New Document is the currently opened document, and the other two documents are New Document 1.doc and New Document 2.doc. The dialog scope 321 can also include a control 322, which is used to trigger the tablet to display the identifiers of all documents included in the dialog scope 321 to the user. Optionally, as shown in Figure 22(c), the tablet can also display document comparison tabs in card 205, such as controls 323 (paper comparison) and 324 (topic comparison). Control 323 (Paper Comparison) triggers the tablet to perform a paper comparison on at least two documents identified by document identifiers; control 324 (Topic Comparison) triggers the tablet to perform a topic comparison on at least two documents identified by document identifiers. Paper comparison typically involves comparing and contrasting the topics, viewpoints, theories, phenomena, or objects of at least two documents to highlight their similarities and differences. Topic comparison refers to comparing and contrasting the topics of at least two documents to highlight their similarities and differences.
[0232] It should be noted that if the document uploaded by the user to the server is the same as the currently opened document (such as a newly created document), the tablet will not display controls 323 (paper comparison) and 324 (topic comparison).
[0233] Optionally, in response to a user's click on control 322, as shown in Figure 23, the tablet displays all document identifiers within the dialog area 321, such as "New Document.doc", "New Document 1.doc", and "New Document 2.doc". Optionally, the tablet can also display a prompt message in "New Document.doc" to indicate that it is the currently open document, for example, the prompt message might read: "Current". Optionally, the tablet defaults to selecting "New Document.doc", "New Document 1.doc", and "New Document 2.doc". The user can deselect the selected documents. For example, if the user deselects "New Document.doc", the tablet can compare "New Document 1.doc" and "New Document 2.doc"; or, if the user deselects "New Document 1.doc", the tablet can compare "New Document.doc" and "New Document 2.doc"; or, if the user deselects "New Document 2.doc", the tablet can compare "New Document.doc" and "New Document 1.doc".
[0234] Optionally, once a user has unchecked two documents, the tablet prevents the user from unchecking any more. For example, as shown in Figure 24A, after the user unchecks "New Document.doc" and "New Document 1.doc", in response to the user's unchecking of "New Document 2.doc", the tablet displays a toast message prompting the user to select at least one document. For instance, the toast message might read, "You need to select at least one document."
[0235] Optionally, when a user unchecks two document identifiers, the document corresponding to the unchecked document identifier (e.g., "New Document.doc") is the same document as the currently opened document, as shown in Figure 24B. The tablet displays tabs such as Smart Summary, Smart Polishing, Expand Length, Shorten Length, Style Rewriting, Smart Layout, and Mind Map in card 205. This is because the document corresponding to the dialog identifier in dialog range 321 is the same document as the currently opened document (e.g., "New Document"). The user can select a portion of the content in the current document to operate on, thus all tabs can be displayed for the user to choose from.
[0236] Optionally, when a user unchecks two document identifiers, the document corresponding to the unchecked document identifier (e.g., New Document 1.doc) is not the same document as the currently opened document. Furthermore, the document corresponding to the unchecked document identifier is a document uploaded to the server, while the currently opened document has not been uploaded to the server, as shown in Figure 24C. The tablet displays the Smart Summary, Smart Layout, and Mind Map tabs in card 205. This is because Smart Summary, Smart Layout, and Mind Map are for processing the entire text content; therefore, users can trigger the tablet to execute the corresponding functions by selecting these tabs.
[0237] The above embodiments mainly use tablets as an example to illustrate the interface interaction process of the relevant functions supported by the tablet's smart assistant. It should be noted that in the embodiments of this application, in the scenarios of the various functions shown in (I) to (VII) above, tablets and other electronic devices also provide some optional solutions. The following still uses tablets as an example, mainly focusing on the scenario of smart summarization, to describe in detail other optional solutions provided by tablets. It should be understood that these optional embodiments can be combined with other scenarios, such as smart polishing, mind mapping, and expanding the length of a document, and their specific implementation processes are similar.
[0238] In some embodiments, when the user clicks the document assistant, the tablet uploads document 1 to the server and displays the aforementioned card 205. In other words, when the user clicks the document assistant, the tablet can directly upload document 1 to the server without the user needing to perform the document upload operation. In this case, document 1 needs to be uploaded to the server, but the user does not need to confirm the upload process, and the user is unaware of the document upload process, thus reducing the complexity of user operations and improving the user experience.
[0239] Optionally, if the tablet's upload process for document 1 to the server is completed before the user clicks the Smart Summary tab, the tablet will directly display the summary in card 205 in response to the user's click on the Smart Summary tab. Alternatively, if the tablet's upload process for document 1 to the server is not yet complete after the user clicks the Smart Summary tab, the tablet will display prompt message 1 in card 205 in response to the user's click on the Smart Summary tab. Prompt message 1 indicates the upload progress of document 1. For example, prompt message 1 can be displayed as a progress bar or as a percentage, etc., without limitation.
[0240] For example, as shown in Figure 25, the prompt message 1 may include text prompts and percentage numerical prompts. For instance, the first prompt message includes: "Reading document (23%)". That is, prompt message 1 is used to inform the user that the tablet is currently uploading a document and the upload progress is 23%. Based on this, when the upload progress of document 1 reaches 100%, the tablet can display a summary in card 205.
[0241] Optionally, during the process of the tablet displaying the summary in card 205, the tablet receives a return operation applied to document 1. In response to the return operation, the tablet displays prompt message 2. Prompt message 2 is used to confirm with the user whether to abandon displaying the summary. For example, as shown in Figure 26, during the process of the tablet displaying the summary in card 205 (i.e., the summary is being displayed but not yet finished), it receives a return operation applied to the return button in document 1. In response to the return operation, the tablet displays prompt message 2 to confirm with the user whether to abandon displaying the summary. For example, prompt message 2 could be: "Smart summary is being generated; do you want to abandon the generated content?" Optionally, prompt message 2 also includes a cancel control and an abandon control. In response to the user's operation on the cancel control, the tablet cancels the return operation and continues displaying the summary. In response to the user's operation on the abandon control, the tablet abandons continuing to display the summary and performs a return operation, returning to document 1.
[0242] Optionally, while the tablet is displaying a summary in card 205, if an input operation is received on the input box, the tablet may not respond to the input operation; or, while the tablet is uploading document 1 to the server, if an input operation is received on the input box, the tablet may not respond to the user's input operation. In other words, while the tablet is displaying a summary in card 205, or while the tablet is uploading document 1 to the server, the user cannot input questions related to the document through the input box. For example, as shown in Figure 27, while the tablet is displaying a document summary in card 205, the input box 204b of document 1 is set to an uninputable state (e.g., input box 204b is grayed out). In some embodiments, the tablet may also display a prompt message 3 in card 205 to inform the user that input box 204b does not currently support input operations. For example, the prompt message 3 could be: "The document assistant is thinking; please try again later." This method avoids the document assistant processing too many questions and causing lag when the user tries to input questions related to the document again while the document assistant is working.
[0243] It should be noted that, generally, server 102 supports parsing documents with a file size of less than 10MB. Documents exceeding 10MB are not supported for parsing by server 102. Based on this, after the tablet responds to the user's click on the Smart Summary tab, if document 1's file size exceeds a preset number of bytes, the tablet displays prompt message 4 in card 205. Prompt message 4 informs the user that parsing documents exceeding the preset number of bytes is not currently supported. The preset number of bytes can be set according to specific needs and is not limited. For example, the preset number of bytes can be less than or equal to 10MB. For instance, the preset number of bytes can be 10MB, 8MB, etc., without limitation. For example, as shown in Figure 28, after the user clicks the Smart Summary tab, if document 1's file size exceeds 10MB, the tablet displays prompt message 4 in card 205. Prompt message 4 could be: "Parsing documents exceeding 10MB is not currently supported. You can select a portion of the document and ask a question again."
[0244] Optionally, in response to the user's click on the Smart Summary tab, the tablet determines whether the space occupied by Document 1 exceeds a preset number of bytes. If the space occupied by Document 1 does not exceed the preset number of bytes, the tablet sends a processing request to the server, requesting the server to determine the processing result corresponding to this function instruction. If the space occupied by Document 1 exceeds the preset number of bytes, the tablet displays prompt message 4.
[0245] Optionally, after the tablet responds to the user's click on the Smart Summary tab, if the characters in Document 1 do not exceed a preset number, or if the workspace of Document 1 is a blank page, the tablet displays prompt message 5 in card 205. Prompt message 5 is used to inform the user that the tablet does not currently support parsing Document 1. For example, as shown in Figure 29, if the workspace of Document 1 is a blank page, and the user clicks on the Smart Summary tab, the tablet displays prompt message 5 in card 205. Prompt message 5 could be, for example, "The current article content is short; please provide more content to complete the analysis."
[0246] The preset characters are not specifically limited and are subject to actual settings. For example, the preset characters can be less than or equal to 100 characters; for instance, the preset characters can be 50 characters, 100 characters, etc., without limitation. It should be noted that the preset characters include one or more of the following: text, numbers, special symbols, letters, and punctuation marks.
[0247] Optionally, in response to a user's click on the Smart Summary tab, if the server is busy, the tablet displays a prompt message 6 in card 205 to inform the user that the server is busy. For example, in response to a user's click on the Smart Summary tab, the tablet sends a processing request to the server, requesting the server to generate a summary of document 1. If the server is overloaded while processing requests, for example, due to server maintenance, network problems, or server configuration issues, and cannot respond to new requests in a timely manner, the server will return a request response to the tablet, indicating that the server is busy. Upon receiving the request response from the server, as shown in Figure 30, the tablet displays prompt message 6 in card 205. This prompt message 6 could be, for example, "Server busy, please try again later." Optionally, prompt message 6 may also include a refresh button 401. In response to a user's click on the refresh button 401, the tablet resends the processing request to the server to request the server to generate a summary of document 1. If the server is functioning normally, the server will return the processing result of generating the summary to the tablet, which can then display the processing result, i.e., display the summary, in card 205.
[0248] Optionally, if the tablet experiences a network malfunction during the display of the summary on card 205, such as a hardware problem, software vulnerability, or virus intrusion, the tablet will display a prompt message 7 on card 205 to alert the user of the network malfunction. For example, as shown in Figure 31, if the tablet experiences a network malfunction during the display of the summary on card 205, the tablet will stop displaying the summary and display prompt message 7. Prompt message 7 could be, for example, "Sorry, I wasn't ready yet. Could you please repeat it to me?". Optionally, if the tablet's network returns to normal, the tablet will continue displaying the summary on card 205 until the entire summary is displayed.
[0249] Optionally, after the tablet responds to the user's click on the Smart Summary tab, if the content of document 1 contains sensitive information, the tablet displays prompt message 8 in card 205. Prompt message 8 is used to inform the user that the content of document 1 does not meet the requirements. For example, as shown in Figure 32, after the user clicks on the Smart Summary tab, the tablet displays prompt message 8 in card 205. Prompt message 8 could be, for example, "The original content contains sensitive information and will not be displayed according to relevant laws, regulations, and policies."
[0250] Optionally, during the process of the tablet displaying the summary in card 205, if the displayed summary contains sensitive information (such as sensitive words, sensitive characters, sensitive phrases, etc.), the tablet will delete the entire currently displayed summary and replace it with the aforementioned prompt message 8. Correspondingly, the tablet establishes a new conversation, retaining the content of the previous conversation between the user and the document assistant in the history, which the user can view using the drop-down menu. For example, as shown in Figure 32, after displaying prompt message 8, the tablet establishes a new conversation and displays a drop-down menu below prompt message 8, which includes a prompt message for the new conversation, such as "Let's talk about a new topic."
[0251] In the above embodiments, the prompt information 1 to prompt information 8 can optionally be displayed as a pop-up window (such as a toast notification), or as a bubble, or as a floating box (floating card, floating icon), etc. The specific display method of the prompt information is not limited in this application embodiment, and the actual setting shall prevail.
[0252] The above embodiments mainly use a tablet as an example to illustrate the interface interaction process of the smart summary function provided by the tablet. The following embodiments mainly use a PC as an example to illustrate the interface interaction process of the smart summary function provided by the PC. It should be noted that the interface interaction process of the PC is largely the same as that of the tablet; please refer to the above embodiments. The following embodiments only show the differences between the interface interaction processes of the PC and the tablet.
[0253] Optionally, after opening document 1 on the PC, the PC needs to upload document 1 to the server. In this case, the PC can display a prompt message to ask the user whether to upload document 1 and remind the user to avoid uploading private files. For example, as shown in Figure 33, in response to the user's click on the document assistant, the PC displays card 501, which is displayed side-by-side with the workspace of document 1. The PC displays a prompt message in card 501, which could be, for example: "The document assistant requires uploading before you can experience related functions. Friendly reminder: Please do not upload top-secret company documents to the document assistant." For example, the prompt message can also include a confirmation control (confirm upload) and a cancellation control. The confirmation control triggers the PC to upload document 1, and the cancellation control triggers the PC to refuse to upload document 1. For example, in response to the user's operation on the cancellation control (such as clicking), the PC refuses to upload document 1 and hides the prompt message. Optionally, the PC can also close / hide card 501 after the user clicks the cancellation control.
[0254] Optionally, in response to the user's operation on the confirmation control, as shown in Figure 33, card 501 also includes the name of the document assistant, a delete button 502, a drop-down bar 503, an input box 504, a send button 505, an add button 506, multiple tabs 507, etc. For a description of card 501, please refer to card 205 in the above embodiment; it will not be repeated here.
[0255] Optionally, as shown in Figure 33, multiple tabs 507 include arrows 508, which trigger the PC to scroll and display multiple tabs, such as Smart Summary, Smart Polishing, Expanding Length, Mind Map, Shortening Length, Style Rewriting, Layout, Translation, etc. For example, in response to a user's operation on the Smart Summary tab (e.g., clicking the left mouse button), as shown in Figure 34(a), the PC displays control 509 in card 501. Control 509 includes a summary extracted from the full text of document 1. The content of the summary can be found in the relevant descriptions of the above embodiments, and will not be repeated here. Optionally, in response to a user's right mouse button click, as shown in Figure 34(b), the PC displays an editing menu bar 510 in control 509. The editing menu bar 510 includes multiple editing controls, such as a "Copy" control, a "Regenerate" control, a "Delete" control, a "Like" control, a "Dislike" control, a "Report" control, etc. Optionally, when the PC displays the edit menu bar 510, the control 509 can be in an inoperable state (e.g., grayed out).
[0256] It should be noted that the contents described in the various embodiments of this application can be used to explain the technical solutions in other embodiments of this application. The technical features described in each embodiment can also be applied in other embodiments, and new solutions can be formed by combining the technical features in other embodiments. This application only provides an exemplary list of several embodiments for illustration and does not mean that this application is limited thereto.
[0257] This application provides an electronic device that may include a display screen, a memory, and one or more processors. The memory stores computer program code, which includes computer instructions. When the computer instructions are executed by the processor, the electronic device performs the various functions or steps described in the above embodiments.
[0258] This application also provides a chip system for use in electronic devices. As shown in FIG35, the chip system 1100 includes at least one processor 1101 and at least one interface circuit 1102.
[0259] The processor 1101 and interface circuit 1102 described above can be interconnected via lines. For example, interface circuit 1102 can be used to receive signals from other devices (e.g., the memory of electronic device 100). As another example, interface circuit 1102 can be used to send signals to other devices (e.g., processor 1101). Exemplarily, interface circuit 1102 can read instructions stored in memory and send those instructions to processor 1101. When the instructions are executed by processor 1101, the electronic device can perform the various functions or steps in the above embodiments. Of course, the chip system may also include other discrete devices, and this application embodiment does not specifically limit this.
[0260] This application also provides a computer-readable storage medium including computer instructions that, when executed on an electronic device, cause the electronic device to perform the various functions or steps described in the above method embodiments.
[0261] This application also provides a computer program product that, when run on a computer, causes the computer to perform the various functions or steps described in the above method embodiments.
[0262] It should be noted that the terms "first" and "second," etc., in the embodiments and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. "First" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined with "first" and "second" may explicitly or implicitly include one or more of that feature. In the description of this embodiment, unless otherwise stated, "multiple" means two or more.
[0263] Furthermore, the terms “comprising” and “having”, and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the steps or units listed, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to such process, method, product, or apparatus.
[0264] It should be understood that in this application, "at least one (item)" means one or more. "More than one" means two or more. "At least two (items)" means two or three or more. "And / or" is used to describe the relationship between related objects, indicating that there can be three relationships. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the related objects before and after are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple. Both "...when" and "if" indicate that a corresponding action will be taken under certain objective circumstances. They are not time limits, nor do they require a judgment action to be taken when the action is taken, nor do they imply any other limitations.
[0265] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner to facilitate understanding.
[0266] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules according to the system, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0267] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0268] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0269] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit described above can be implemented in hardware or as a software functional unit.
[0270] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, essentially or in other words, the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0271] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A document processing method, characterized in that, When applied to electronic devices, the method includes: In response to a user's first operation of opening a first document, the electronic device displays a first interface; the first interface includes a first display area and a second display area, the first display area being used to display the menu bar of the first document, and the second display area being used to display the main text of the first document; the menu bar of the first document includes a first control. In response to a user's first operation on the first control, the electronic device displays a second interface; the second interface includes the first display area, the second display area, and a first card; the first card includes a first tab and a second tab. In response to a second operation by the user selecting the first tab, the electronic device displays first dialogue content in the first card, the first dialogue content including a summary of the full text of the first document; In response to a third action by the user selecting the second tab, the electronic device displays second dialogue content in the first card, the second dialogue content including the polishing result obtained by polishing a portion of the first document.
2. The method according to claim 1, characterized in that, The first card is displayed side-by-side with the second display area; or, The first card is displayed floating on the second display area.
3. The method according to claim 1 or 2, characterized in that, In response to a second action by the user selecting the first tab, the electronic device displays first dialogue content in the first card, including: In response to the user's second action of selecting the first tab, the electronic device uploads the first document to the server; When the first document is uploaded to the server, the electronic device displays the first conversation content in the first card.
4. The method according to claim 3, characterized in that, The method further includes: If the first document has not been uploaded to the server, the electronic device displays a first prompt message on the first card; the first prompt message is used to indicate the upload progress of the first document.
5. The method according to claim 3 or 4, characterized in that, The first card also includes an input box; the method further includes: During the process of displaying the dialogue content in the first card, the electronic device receives an input operation applied to the input box, but the electronic device does not respond to the input operation; or... During the process of the electronic device uploading the first document to the server, an input operation is received applied to the input box, but the electronic device does not respond to the input operation.
6. The method according to any one of claims 1-5, characterized in that, The first card also includes a second control; the method further includes: Receive the fourth operation applied to the second control; In response to the fourth operation, the electronic device inserts the summary into the body of the first document.
7. The method according to claim 6, characterized in that, The electronic device inserts the summary into the body of the first document, including: The electronic device inserts the summary below the title of the first document; or, The electronic device selects the first target text in the first document and displays cursors at the start and end positions of the first target text, and inserts the summary at the cursor positions.
8. The method according to any one of claims 1-7, characterized in that, In response to the user's third action of selecting the second tab, the electronic device displays second dialogue content in the first card, including: In response to the user's third operation of selecting the second tab, the electronic device selects the second target text and displays a second prompt message in the first card; the second prompt message is used to indicate the scope of the polishing to the user. In response to the user's confirmation, the electronic device displays the second dialogue content in the first card.
9. The method according to claim 8, characterized in that, The second target text is the text selected by default by the electronic device; or, The second target text is obtained by the electronic device in response to the user's selection operation in the first document.
10. The method according to any one of claims 1-9, characterized in that, The first card also includes a third tab; the method further includes: In response to the user's fifth action of selecting the third tab, the electronic device displays third dialogue content in the first card, the third dialogue content including a mind map obtained by processing the entire content of the first document.
11. The method according to claim 10, characterized in that, The mind map includes multi-level nodes; the multi-level nodes include first-level nodes, second-level nodes, and third-level nodes; the method further includes: If the number of characters in the first-level node exceeds the first preset number, the electronic device displays the characters of the first-level node in a line-wrap format. If the number of characters in the second-level node exceeds the second preset number, the electronic device displays the characters of the second-level node in a line-wrap format. If the number of characters in the third-level node exceeds a third preset character, the electronic device will display the characters of the third-level node in a line-wrap manner.
12. The method according to claim 11, characterized in that, The number of first-level nodes is equal to the number of first nodes; The number of second-level nodes is greater than the number of first-level nodes, and less than or equal to the number of second-level nodes; The number of third-level nodes is greater than the number of first-level nodes, but less than or equal to the number of third-level nodes.
13. The method according to any one of claims 1-12, characterized in that, The first card also includes a fourth tab; the method further includes: In response to the user's sixth action of selecting the fourth tab, the electronic device displays fourth dialogue content in the first card, the fourth dialogue content including an expanded result obtained by expanding a portion of the first document.
14. The method according to any one of claims 1-13, characterized in that, The first card also includes a fifth tab; the method further includes: In response to the user's seventh operation of selecting the fifth tab, the electronic device displays the fifth dialogue content in the first card, the fifth dialogue content including the layout result of a portion of the first document.
15. The method according to any one of claims 1-14, characterized in that, The first card also includes a sixth tab; the method further includes: In response to the user's eighth action of selecting the sixth tab, the electronic device displays a sixth dialogue content in the first card, the sixth dialogue content including a translation result obtained by translating a portion of the first document.
16. The method according to any one of claims 1-15, characterized in that, When the electronic device uploads at least two documents to the server, the first card further includes a third control; the method further includes: In response to the user's operation on the third control, the electronic device displays the seventh dialogue content in the first card; the seventh dialogue content includes the document comparison results obtained by comparing the at least two documents; The third control is used to indicate that the at least two documents are compared in the form of paper comparison; or, the third control is used to indicate that the at least two documents are compared in the form of topic comparison.
17. The method according to claim 16, characterized in that, The first card also includes a dialogue scope, which includes at least two document identifiers uploaded to the server by the electronic device; When the dialog scope includes a first document identifier, and the document corresponding to the first document identifier is the same as the first document, the first card includes the first tab, the second tab, the third tab, the fourth tab, the fifth tab, and the sixth tab; When the scope of the dialogue includes a second document identifier, and the document corresponding to the second document identifier is different from the first document, the first card includes the first tab, the third tab, and the fifth tab.
18. An electronic device, characterized in that, include: Memory and one or more processors; The memory stores computer program code, which includes computer instructions; when the computer instructions are executed by the processor, the electronic device performs the method as described in any one of claims 1-18.
19. A chip system, characterized in that, The chip system, used in electronic devices, includes: At least one processor and an interface; The interface is used to receive instructions and transmit them to the at least one processor; the at least one processor executes the instructions to cause the electronic device to perform the method as described in any one of claims 1-17.
20. A computer-readable storage medium, characterized in that, include: Computer instructions; When the computer instructions are executed on an electronic device, the electronic device causes the electronic device to perform the method as described in any one of claims 1-17.
21. A computer program product, characterized in that, When the computer program product is run on a computer, it causes the computer to perform the method as described in any one of claims 1-17.