A content sorting method and terminal device

CN115470757BActive Publication Date: 2026-08-14HUAWEI TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-16
Publication Date
2026-08-14

AI Technical Summary

Benefits of technology

[0020]需要说明的是,本申请实施例第二方面至第六方面提供的终端设备的各个设计的有益效果请参考上述第一方面中任一种可能的设计的有益效果,此处不再赘述。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115470757B_ABST
    Figure CN115470757B_ABST
Patent Text Reader

Abstract

This application provides a content sorting method and a terminal device. This method helps users record information more conveniently when using note-taking software on a terminal device, thereby improving the user experience. In this method, the terminal device displays an interface of a note to be edited; receives an instruction to trigger editing of the note, and displays a layout editing interface for the note; receives and responds to a drawing path instruction on the layout editing interface, and displays the drawing path on the layout editing interface, the drawing path being used to divide the note to be edited into multiple segments; and receives and responds to an instruction to mark a custom identifier on any segment, and displays the corresponding custom identifier on any segment; receives and responds to an instruction to sort each segment according to the custom identifier on each segment, sorts each segment according to the custom identifier displayed on each segment, and displays the sorted note interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminal technology, and in particular to a content sorting method and terminal device. Background Technology

[0002] With the widespread adoption of mobile devices, note-taking apps such as memo pads and sticky notes are increasingly used. To improve efficiency and better suit user habits, many note-taking apps now support finger or stylus input, more closely mimicking the traditional pen-and-paper input method. Therefore, how to enable users to more conveniently record information such as text, images, and doodles on note-taking apps is of significant research importance. Summary of the Invention

[0003] This application provides a content sorting method and a terminal device, which helps users to record information more conveniently when using note-taking software on terminal devices, thereby improving the user experience.

[0004] In a first aspect, embodiments of this application provide a content sorting method. This method can be applied to a terminal device and includes: displaying an interface for editing a note; receiving an instruction to trigger editing of the note and displaying a layout editing interface for the note; receiving and responding to a drawing path instruction on the layout editing interface, displaying a drawing path on the layout editing interface, the drawing path being used to divide the note into multiple segments; receiving and responding to an identification instruction to identify a custom identifier on any one of the segments, displaying the corresponding custom identifier on the arbitrary segment; receiving and responding to a first sorting instruction to sort each segment according to the custom identifier on each segment, sorting each segment according to the custom identifier displayed on each segment, and displaying an interface of the sorted note.

[0005] In this method, when a user uses note-taking software, the terminal device can provide a new way to intelligently sort the content in the notes. The user can first manually divide the content of a note into multiple segments by drawing a path, and then mark each segment with a custom identifier. The terminal device can then intelligently sort the segments based on these custom identifiers, resulting in a reordered target note. Therefore, this method helps users use note-taking software more conveniently, simplifies the organization of note content, and provides a more user-friendly operating method, thereby improving user efficiency and enhancing the user experience.

[0006] In one possible design, the sorting of the segments based on the custom identifiers displayed in each segment can be implemented as follows: according to the order in which different custom identifiers are displayed, segments with different custom identifiers are displayed in the order in which they are displayed, and different segments with the same custom identifier are sorted and displayed in adjacent positions.

[0007] In this design, the terminal device can categorize the segments based on custom identifiers added by the user. Segments with identical or similar custom identifiers are grouped into the same category and displayed adjacent to each other. Furthermore, the display order of the segments can be determined based on the order of the custom identifiers. Therefore, this design enables a more user-intended and optimized sorting of the displayed note content, thus improving the user experience.

[0008] In one possible design, the method further includes: receiving a second sorting instruction on the interface of the sorted notes to move at least one specified segment to a target position, and displaying the at least one specified segment at the target position.

[0009] In this design, the terminal device can not only automatically sort the notes based on the custom identifiers of each segment, but also combine the user's manual adjustment of the automatically sorted notes. This allows for more flexible sorting of the target note content, making it more in line with the user's intentions and thus improving the user experience.

[0010] In one possible design, receiving an instruction to mark a custom mark on any of the segmented parts can be implemented as: receiving an operation instruction from the user to manually draw a custom mark on any of the segmented parts; or, it can also be implemented as: displaying multiple preset marks on the layout editing interface, receiving an operation instruction from the user to select a mark from the multiple preset marks and draw the selected mark on any of the segmented parts selected by the user.

[0011] In this design, the terminal device can provide users with different ways to label each segment with custom identifiers, depending on the actual business scenario. The user-manual drawing method enhances the convenience of note editing; providing users with multiple preset identifiers to choose from ensures the accuracy of the terminal device's classification of each segment based on the custom identifiers. It's understandable that the implementation can be customized according to user needs, thereby improving the user experience.

[0012] In one possible design, the custom identifier may be represented by one or a combination of the following forms: numbers, letters, and symbols.

[0013] In one possible design, the method further includes: receiving an editing instruction on the interface of the sorted notes, which is based on preset layout rules, to edit the layout of the sorted notes; editing the layout of the sorted notes; and displaying the interface of the edited notes. In this design, the terminal device can not only sort the content of the notes to be edited, but also combine content sorting with intelligent layout implementation to intelligently format the sorted notes, thereby improving the neatness and aesthetics of the notes.

[0014] In one possible design, the preset layout rules may include, but are not limited to, at least one of the following: adjusting the font of the sorted notes to be consistent; adjusting the character spacing of the sorted notes to be consistent; converting the handwritten characters of the sorted notes into text characters; and adjusting the paragraph width of the sorted notes to be consistent.

[0015] Secondly, embodiments of this application also provide a terminal device, the terminal device including at least one memory and at least one processor; wherein, the at least one memory is used to store computer program code, the computer program code including computer instructions; when the computer instructions are executed by the at least one processor, the terminal device performs the method in any of the possible designs in the first aspect above.

[0016] Thirdly, embodiments of this application also provide a content sorting apparatus, which includes modules / units for executing the methods in any of the possible designs described in the first aspect. These modules / units can be implemented in hardware or by hardware executing corresponding software.

[0017] Fourthly, a computer-readable storage medium is provided that stores a computer program (also referred to as code or instructions) that, when executed on a computer, causes the computer to perform any of the possible designs in the first aspect described above.

[0018] Fifthly, a computer program product is provided, comprising: a computer program (also referred to as code or instructions) that, when run, causes the method in any of the possible designs in the first aspect to be executed.

[0019] In a sixth aspect, a graphical user interface is also provided on a terminal device having a display screen, one or more memories, and one or more processors, the one or more processors being configured to execute one or more computer programs stored in the one or more memories, the graphical user interface including the graphical user interface displayed when the terminal device executes any of the possible designs in the first aspect of the embodiments of this application described above.

[0020] It should be noted that the beneficial effects of the various designs of the terminal devices provided in the second to sixth aspects of the embodiments of this application can be referred to the beneficial effects of any possible design in the first aspect above, and will not be repeated here. Attached Figure Description

[0021] Figure 1 This is a schematic diagram of a memo interface;

[0022] Figure 2 A schematic diagram of the hardware architecture of a terminal device provided in an embodiment of this application;

[0023] Figure 3 A software system architecture block diagram of a terminal device provided in this application embodiment;

[0024] Figure 4 One of the interface diagrams for a content sorting method provided in an embodiment of this application;

[0025] Figure 5 A second interface diagram of a content sorting method provided in an embodiment of this application;

[0026] Figure 6 The third interface diagram of a content sorting method provided in this application embodiment;

[0027] Figure 7 The fourth interface diagram of a content sorting method provided in this application embodiment;

[0028] Figure 8 Fifth of the interface diagrams for a content sorting method provided in the embodiments of this application;

[0029] Figure 9 A sixth interface diagram of a content sorting method provided in this application embodiment;

[0030] Figure 10 A flowchart illustrating a content sorting method provided in an embodiment of this application;

[0031] Figure 11 The seventh diagram shows an interface of a content sorting method provided in an embodiment of this application. Detailed Implementation

[0032] With the rapid development of society, mobile terminal devices such as mobile phones are becoming increasingly widespread. Mobile phones not only have communication functions but also powerful processing, storage, photography, and data editing capabilities. Therefore, mobile phones can serve not only as communication tools but also as mobile databases for users, enabling them to record data anytime, anywhere, or edit existing data. Editing operations include, but are not limited to, cutting, copying, pasting, and deleting data. Therefore, based on the portability and convenience of mobile terminal devices, storing and editing data through them is suitable for various scenarios such as document creation and data recording.

[0033] The aforementioned terminal devices can be equipped with various applications (hereinafter referred to as "APPs"), such as music, video, memo, and note-taking apps. In this embodiment, we will focus on note-taking apps such as memos and note-taking apps installed on the terminal devices.

[0034] Many note-taking apps currently support handwriting input via stylus (also known as a "marker") or finger on mobile devices, such as... Figure 1 Figure a illustrates a scenario where a user is editing the notes app on their phone using a stylus, and as shown in Figure a. Figure 1 The image b shows a scenario where a user edits a note on their phone using their finger in the note-taking interface.

[0035] Based on this, this application provides a content sorting method that can be applied to any note contained in a note-taking app, for re-segmenting, reclassifying, or rearranging the data content contained in the note. The data content contained in the note may include, but is not limited to, one or a combination of the following types: text, images, videos, or charts.

[0036] This application can be applied to terminal devices with touch panels, such as mobile phones, tablets, wearable devices (e.g., watches, bracelets, etc.), in-vehicle devices, augmented reality (AR) / virtual reality (VR) devices, laptops, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), and smart home devices (e.g., smart TVs, smart speakers, etc.). It is understood that this application does not limit the specific type of terminal device.

[0037] The terminal devices to which this application embodiment can be applied, and exemplary embodiments may include, but are not limited to, those equipped with... Alternatively, it could be a terminal device running another operating system. The aforementioned portable electronic devices can also be other portable electronic devices, such as laptops with touch-sensitive surfaces (e.g., touch panels).

[0038] Figure 2 A schematic diagram of a possible hardware structure for a terminal device is shown. The terminal device 200 includes components such as a radio frequency (RF) circuit 210, a power supply 220, a processor 230, a memory 240, an input unit 250, a display unit 260, an audio circuit 270, a communication interface 280, and a wireless-fidelity (Wi-Fi) module 290. Those skilled in the art will understand that... Figure 2 The hardware structure of the terminal device 200 shown in the figure does not constitute a limitation on the terminal device 200. The terminal device 200 provided in the embodiments of this application may include more or fewer components than shown, may combine two or more components, or may have different component configurations. Figure 2 The various components shown can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.

[0039] The following is combined with Figure 2 The various components of the terminal device 200 are described in detail below:

[0040] The RF circuit 210 can be used for receiving and transmitting data during communication or a call. Specifically, after receiving downlink data from the base station, the RF circuit 210 sends it to the processor 230 for processing; additionally, it sends uplink data to be transmitted to the base station. Typically, the RF circuit 210 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier (LNA), a duplexer, etc.

[0041] Furthermore, the RF circuit 210 can also communicate with other devices via a wireless communication network. The wireless communication can use any communication standard or protocol, including but not limited to Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, and Short Messaging Service (SMS).

[0042] Wi-Fi technology is a short-range wireless transmission technology. The terminal device 200 can connect to an access point (AP) via the Wi-Fi module 290, thereby enabling access to the data network. The Wi-Fi module 290 can be used for receiving and sending data during communication.

[0043] The terminal device 200 can physically connect to other devices through the communication interface 280. Optionally, the communication interface 280 can be connected to the communication interfaces of other devices via a cable to enable data transmission between the terminal device 200 and other devices.

[0044] The terminal device 200 can also perform communication services and interact with server-side devices or other terminal devices. Therefore, the terminal device 200 needs to have data transmission capabilities, meaning that the terminal device 200 needs to include a communication module. Although Figure 2 The RF circuit 210, the Wi-Fi module 290, and the communication interface 280 are shown, but it is understood that the terminal device 200 contains at least one of the above components or other communication modules (such as a Bluetooth module) for data transmission.

[0045] For example, when the terminal device 200 is a mobile phone, the terminal device 200 may include the RF circuit 210, and may also include the Wi-Fi module 290, or may include a Bluetooth module. Figure 2 (Not shown in the image); when the terminal device 200 is a computer, the terminal device 200 may include the communication interface 280, and may also include the Wi-Fi module 290, or may include a Bluetooth module (not shown in the image); Figure 2(Not shown in the image); when the terminal device 200 is a tablet computer, the terminal device 200 may include the Wi-Fi module, or may include a Bluetooth module (not shown in the image); Figure 2 (Not shown in the image).

[0046] The memory 240 can be used to store software programs and modules. The processor 230 executes various functional applications and data processing of the terminal device 200 by running the software programs and modules stored in the memory 240. Optionally, the memory 240 may mainly include a program storage area and a data storage area. The program storage area may store the operating system (mainly including the software programs or modules corresponding to the kernel layer, system layer, application framework layer, and application layer).

[0047] Furthermore, the memory 240 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, or other volatile solid-state storage device. In this embodiment, the memory 240 may store storage data related to implementing the method provided in this application, such as notes created by the user in a note-taking app, and updated notes after editing existing notes.

[0048] The input unit 250 can be used to receive editing operations on various types of data objects, such as numbers or characters, input by the user, and to generate key signal inputs related to user settings and function control of the terminal device 200. Optionally, the input unit 250 may include a touch panel 251 and other input devices 252.

[0049] The touch panel 251, also known as a touchscreen, can collect user touch operations on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel 251), and drive corresponding connection devices according to a pre-set program. In this embodiment, the touch panel 251 can collect user editing operations on the relevant editing interface of a note-taking app displayed on the terminal device through the display unit 260. For example, editing operations can include adding text, deleting images, and adjusting the order of note content.

[0050] Optionally, the other input device 252 may include, but is not limited to, one or more of the following: physical keyboard, function keys (such as volume control buttons, power buttons, etc.), trackball, mouse, joystick, etc.

[0051] The display unit 260 can be used to display information input by the user or information provided to the user, as well as various menus of the terminal device 200. The display unit 260 is the display system of the terminal device 200, used to present the interface and realize human-computer interaction. The display unit 260 may include a display panel 261. Optionally, the display panel 261 can be configured using a liquid crystal display (LCD), organic light-emitting diode (OLED), or other similar forms. In this embodiment, the display unit 260 can be used to display the relevant editing interface of a note-taking app to the user, for example... Figure 1 The displayed interface of the memo is used to enable users to view, create, or edit notes.

[0052] The processor 230 is the control center of the terminal device 200. It connects various components via various interfaces and lines, and executes software programs and / or modules stored in the memory 240, as well as calling data stored in the memory 240, to perform various functions and process data of the terminal device 200, thereby realizing multiple services based on the terminal device 200. In this embodiment, the processor 230 can be used to implement the content sorting method provided in this embodiment.

[0053] The terminal device 200 also includes a power supply 220 (such as a battery) for supplying power to various components. Optionally, the power supply 220 can be logically connected to the processor 230 through a power management system, thereby enabling the power management system to manage functions such as charging, discharging, and power consumption.

[0054] like Figure 2 As shown, the terminal device 200 also includes an audio circuit 270, a microphone 271, and a speaker 272, providing an audio interface between the user and the terminal device 200. The audio circuit 270 converts audio data into a signal recognizable by the speaker 272 and transmits the signal to the speaker 272, where it is converted into a sound signal for output. The microphone 271 collects external sound signals (such as human speech or other sounds) and converts the collected external sound signals into a signal recognizable by the audio circuit 270, sending it to the audio circuit 270. The audio circuit 270 can also convert the signal sent by the microphone 271 into audio data, outputting the audio data to the RF circuit 210 for transmission to, for example, another terminal device, or outputting the audio data to the memory 240 for further processing. In this embodiment, when a user edits notes using a note-taking app, they can add new text content using the microphone 271 and based on speech-to-text technology.

[0055] Although not shown, the terminal device 200 may also include a camera, at least one sensor, etc., which will not be described in detail here. The at least one sensor may include, but is not limited to, a pressure sensor, a barometric pressure sensor, an accelerometer, a distance sensor, a fingerprint sensor, a touch sensor, a temperature sensor, etc.

[0056] The operating system (OS) involved in this application embodiment is the most basic system software running on the terminal device 200. The software system of the terminal device 200 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application embodiment takes an operating system adopting a layered architecture as an example to illustrate the software system architecture of the terminal device 200.

[0057] Figure 3 This is a software system architecture block diagram of a terminal device provided in an embodiment of this application. Figure 3 As shown, the software system architecture of a terminal device can be a layered architecture. For example, the software can be divided into several layers, each with a clear role and division of labor. Layers communicate with each other through software interfaces. In some embodiments, the operating system is divided into five layers, from top to bottom: the application layer, the application framework layer (framework, FWK), the runtime and system libraries, the kernel layer, and the hardware layer.

[0058] The application layer can include a series of application packages. For example... Figure 3 As shown, the application layer can include camera, settings, skin modules, user interface (UI), third-party applications, etc. Third-party applications can include wireless local area network (WLAN), music, call, Bluetooth, video, notes, and more.

[0059] In this embodiment, the application layer can be used to implement the presentation of the editing interface. The editing interface can provide users with editing operations for note-taking apps such as memos and sticky notes, which are the focus of this embodiment. For example, it can be the layout editing interface involved in the following embodiments. For instance, users can perform operations such as changing the order of text and image content in the layout editing interface of a memo app. Exemplarily, the editing interface can be as follows: Figure 1 a or Figure 1 The memo display interface shown by b in the image.

[0060] In one possible implementation, the application can be developed using Java, by calling the application programming interface (API) provided by the application framework layer. Developers can then interact with the underlying operating system layers (such as the hardware layer and kernel layer) to develop their own applications. This application framework layer primarily consists of a series of services and management systems within the operating system.

[0061] The application framework layer provides application programming interfaces and a programming framework for applications within the application layer. The application framework layer includes some predefined functions. For example... Figure 3 As shown, the application framework layer may include an activity manager, window manager, content provider, view system, phone manager, resource manager, notification manager, etc.

[0062] The Activity Manager manages the lifecycle of each application and provides commonly used navigation and back functions, offering an interactive interface for all program windows.

[0063] The window manager is used to manage windowed applications. It can obtain the screen size, determine if a status bar is present, lock the screen, and capture screenshots. The content provider stores and retrieves data, making this data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc.

[0064] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.

[0065] A phone manager is used to provide communication functions for terminal devices. For example, it manages call status (including connection and disconnection).

[0066] The resource manager provides applications with various resources, such as localized strings, icons, images, layout files, video files, and so on. In this embodiment, when a user adds an image to the notes app, the resource manager can be invoked to display all locally stored images.

[0067] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of download completion or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating the device, and flashing indicator lights.

[0068] The runtime includes the core libraries and the virtual machine. The runtime is responsible for the scheduling and management of the operating system.

[0069] The core library consists of two parts: one part contains the functionalities that the Java language needs to call, and the other part contains the core libraries of the operating system. The application layer and application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.

[0070] A system library can include multiple functional modules. For example: a surface manager, a media framework, a 3D graphics processing library (e.g., OpenGL ES), a 2D graphics engine (e.g., SGL), etc.

[0071] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.

[0072] The media framework supports playback and recording of various commonly used audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.

[0073] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0074] A 2D graphics engine is a drawing engine for 2D drawing.

[0075] In some embodiments, a 3D graphics processing library can be used to draw 3D motion trajectory images, and a 2D graphics engine can be used to draw 2D motion trajectory images.

[0076] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.

[0077] The hardware layer can include various types of sensors, such as accelerometers, gravity sensors, and touch sensors.

[0078] Typically, a terminal device 200 can run multiple applications simultaneously. In a simpler scenario, one application corresponds to one process; in a more complex scenario, one application can correspond to multiple processes. Each process has a unique process ID.

[0079] It should be understood that in the embodiments of this application, "at least one of the following" or similar expressions refer to any combination of these items, including any combination of a single item or a plurality of items. For example, at least one of a, b, or c can represent: a, b, c, a and b, a and c, b and c, or a, b, and c, where a, b, and c can be single or multiple. "Multiple" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship.

[0080] In addition, it should be understood that in the description of this application, the words "first" and "second" are used only for the purpose of distinguishing descriptions and should not be construed as indicating or implying relative importance or order.

[0081] It should be understood that the hardware structure of terminal devices can be as follows: Figure 2 As shown, the software system architecture can be as follows: Figure 3 As shown, the software programs and / or modules corresponding to the software system architecture in the terminal device can be stored in the memory 240, and the processor 230 can run the software programs and applications stored in the memory 240 to execute the content sorting method provided in this application embodiment.

[0082] To facilitate understanding of the content sorting method provided in this application, the following is combined with... Figures 4 to 11 The content shown describes the implementation process of the method provided in this application.

[0083] This application embodiment applies to scenarios involving note-taking apps installed on terminal devices. The main design concept is as follows: the terminal device can receive and respond to a user's manual segmentation of an editable note within the note-taking app's interface by drawing a path, dividing the note into multiple segments, and detecting the user's custom identifiers for each segment; then, the terminal device can automatically classify and reorder the segments based on the custom identifiers, thereby obtaining the target note with sorted content. The following examples illustrate the applicable scenarios of this application embodiment. It should be understood that this application embodiment is not limited to the following application scenarios.

[0084] Scenario 1, using a memo as an example, will be illustrated below by sorting the content of a note contained in the memo using the method provided in the embodiments of this application. For example, the display interface of a note contained in the memo can be as follows: Figure 4 The note-taking interface 41 shown. The note-taking interface 41 includes multiple paragraphs of text and image content belonging to the shown note. Furthermore, the note-taking interface 41 may also include multiple editing controls for editing the shown note, such as a "Switch to Keyboard Input" control for indicating editing operations such as adding or deleting content via the keyboard, a "Color Selection" control for indicating the selection of note content colors (such as font color), an "Insert Image" control for indicating the insertion of images stored locally or taken with a camera, "Pen" and "Pencil" controls for indicating the display effect of fonts in the note, an "Eraser" control for indicating the erasure of content in the note, and a "Format" control 401 for indicating the user's formatting and editing of the note, etc. Furthermore, it is understood that although... Figure 4 As not shown in the diagram, in some other embodiments, the note-taking interface 41 may also include other editing controls, such as a "share" control, a "delete note" control, or a "favorite note" control, which can be configured according to the user's needs. In addition, the note-taking interface 41 may also include a "back arrow" to indicate exiting the displayed note to display the memo homepage, and a status bar (which may include mobile network, wireless network, time, and remaining battery power); it is understood that the status bar may also include the carrier's name, Bluetooth icon, etc.

[0085] For example, the terminal device can receive and respond to the user's click operation on the "Organize" control 401 on the note interface 41, triggering the layout editing mode. It should be noted that triggering entry into the layout editing mode can also be achieved in other ways. For example, the user can also directly trigger entry into the layout editing mode on the note interface 41 through preset gesture operations (such as double-click operation or knuckle tap operation, etc.), or the user can also trigger entry into the layout editing mode through voice commands (such as "enter layout editing mode").

[0086] In one optional embodiment, the terminal device triggering the layout editing mode can display a layout editing interface, allowing the user to perform layout editing on the interface. For example, the layout editing interface during the user's layout editing process could be... Figure 4 The layout editing interfaces 42, 43, and 44 are provided. These interfaces may include multiple controls to assist users in formatting and editing notes, such as a "marker" control 402, a "sorting" control 403, and a "complete organization" control 402. It is understood that in some other embodiments, the layout editing interfaces 42, 43, and 44 may also include other layout editing controls, such as those for instructing users to undo editing. Controls, repetitive editing Controls, such as the confirmation checkmark, can be customized according to user needs. In addition, the layout editing interfaces 42, 43, and 44 can also include a "back arrow," a status bar, and other similar elements.

[0087] In some embodiments, the terminal device can receive a user's click operation on the "marker pen" control 402 on the layout editing interface, triggering the user to perform layout editing on the layout editing interface using the marker pen. For example, the terminal device can detect the user's drawing operation on the layout editing interface using the marker pen, and in response to the drawing operation, display the drawing path of the marker pen. For example, the drawing box shown on the layout editing interface 42 can be the drawing path of the marker pen, and display the custom identifier drawn by the user on the drawing box using the marker pen. In this embodiment, the drawing box is used to divide the notes, and each drawing box can correspond to a division. The custom identifier on the drawing box can be used to classify or mark each division, etc., to facilitate subsequent reordering of the divisions. For example... Figure 4 In the display interface 42, there are four drawing boxes from top to bottom, each corresponding to one of the four sections of note content. The first and third drawing boxes from top to bottom use a five-pointed star symbol for custom identification, while the second drawing box uses a triangle symbol for custom identification. Custom identification can also use other symbols, such as circles or squares; there are no specific restrictions on the shape of the custom identification here.

[0088] After the user completes the editing of the drawing box and custom logo in the layout editing interface, it can be displayed as follows: Figure 4The layout editing interface 43 shown in the figure includes 5 drawing boxes, which correspond to 5 note divisions respectively. The first and third drawing boxes from top to bottom are marked with a pentagram symbol, the second and fourth drawing boxes are marked with a triangle symbol, and the fifth drawing box is marked with a square symbol.

[0089] In the layout editing interface 43, the terminal device can further detect the user's click operation on the "sort" control 403. In response to the click operation, the terminal device reorders the various segments based on the custom identifier and the drawing box, and displays the sorted notes in the layout editing interface 44. The layout editing interface 44 differs from the layout editing interface 43 in that the positions of the segments in the notes are different. For example, in the layout editing interface 44, the segment corresponding to the drawing box with the custom identifier triangle symbol is sorted in the first and second positions, the segment corresponding to the drawing box with the custom identifier pentagram symbol is sorted in the third and fourth positions, and the segment corresponding to the drawing box with the identifier square symbol is sorted in the fifth position. This facilitates the user to move and repeatedly sort the various parts of the notes according to the note content.

[0090] In the layout editing interface 44, if the terminal device detects a user's click on the "Complete Organization" control 404, it responds to the click by exiting the layout editing mode and displaying the sorted target note interface 45. Compared to the note interface 41, the target note interface 45 shows that the note content has been reordered for easier user browsing; and compared to the layout editing interfaces 42, 43, and 44, user-drawn selection lines, custom labels, etc., are no longer displayed in the target note interface 45, i.e., the display effect after layout editing is shown.

[0091] Scenario 2 follows a similar process to Scenario 1, but differs in how user-drawn custom markers are implemented on the layout editing interface. The terminal device can also detect when the user uses a marker pen to draw... Figure 5 The drawing is achieved by selecting multiple preset icons displayed in the "Icons" control 501 provided on the layout editing interface 52 (such as long press + drag operation). The preset icons included in the "Icons" control 501 include pentagram icons, triangle icons, and square icons, etc. For example, in Figure 5In the layout editing interface 52, the user can long-press the pentagram symbol contained in the "Identifier" control 501, triggering the pentagram symbol to be draggable, and then further drag the pentagram symbol to the first drawing box. It should be noted that the pentagram symbol on the "Identifier" control 501 is not deleted with the user's dragging operation, so that pentagram symbols can continue to be drawn for other drawing boxes as custom identifiers; for example, the pentagram symbol can also be dragged to the third drawing box. Optionally, in response to the user's long-press operation on the pentagram symbol, the terminal device can copy the pentagram symbol, and in response to the user's dragging operation, move the copied pentagram symbol according to the user's marker pen. It can be understood that, as shown in the layout editing interface 52, the user can also drag the triangle symbol contained in the "Identifier" control 501 to the second and fourth drawing boxes, and drag the square symbol to the fifth drawing box.

[0092] In this scenario, by providing preset labels on the layout editing interface, the accuracy of the terminal device's classification of each note segment can be guaranteed, avoiding inaccurate classification due to misrecognition of user-drawn custom labels.

[0093] Scenario 3 follows a similar process to Scenario 1, but the difference lies in the use of custom identifiers. Besides symbols, custom identifiers can also be represented by numbers or letters. In this scenario, the terminal device can directly determine the order of the note segments using the sequence of numbers or letters, helping users to sort the content of their notes more intuitively.

[0094] For example, using numbers as a custom identifier, in Figure 6 In the layout editing interface 63, there are 5 drawing boxes, each corresponding to one of the 5 note divisions. From top to bottom, the user assigns the number "3" to the custom identifier of the first drawing box, the number "1" to the custom identifier of the second drawing box, the number "4" to the custom identifier of the third drawing box, the number "2" to the custom identifier of the fourth drawing box, and the number "5" to the custom identifier of the fifth drawing box. If the terminal device receives and responds to the user's click operation on the "sort" control 403, it can sort the notes according to the number identifiers marked on each note division. After sorting, the notes can be displayed in the layout editing interface 64. For example, in the layout editing interface 64, the drawing box with the number "1" is ranked as the first item in the note, the drawing box with the number "2" is ranked as the second item, the drawing box with the number "3" is ranked as the third item, the drawing box with the number "4" is ranked as the fourth item, and the drawing box with the number "5" is ranked as the fifth item.

[0095] Scenario 4 is similar in design concept to Scenario 3, but differs in its approach of reordering the segmented notes based on the drawing boxes and custom identifiers on the user-drawn layout editing interface and the terminal device. In addition to clicking the "sort" control 403, this approach can also include... Figure 7 As shown in layout editing interfaces 63 and 64, the terminal device detects and responds to the user's manual sorting instructions (such as dragging, clicking and dragging, or long-pressing and dragging) using a marker pen, and reorders each segment one by one. For example, in layout editing interface 63, the terminal device detects that the user moves the note segment labeled "1" to the first position in the note for display, resulting in layout editing interface 64; and in layout editing interface 64, it further detects that the user moves the note segment labeled "2" to the second position in the note for display, resulting in layout editing interface 65. It should be noted that when the user drags the note segment labeled "1" and the segment labeled "2", other segments can be adaptively adjusted (e.g., automatically moved to the empty space below for display), and the displayed interface after adaptive adjustment can be... Figure 7 The layout and editing interface in [the text] is 65. Among them, Figure 7 The display interfaces 41, 62, and 45 can be found in the introduction of Scene 1, and will not be repeated here.

[0096] Scenario 5, such as Figure 4 As shown, based on scenario one, after the terminal device receives the layout editing interface 44 but before exiting the layout editing mode and displaying the target note interface 45, it can further detect user operations where the user manually adjusts the note order after the notes have been reordered on the terminal device. These operations could include dragging the note segments, clicking and dragging, or long-pressing and dragging. For example, in... Figure 8 The terminal device can further receive user operations such as dragging the first segment to the second position on the layout editing interface 441 after the notes are automatically sorted, and in response to the user operation, display the layout editing interface 442 after the user manually adjusts the order of the notes.

[0097] In the layout editing interface 442, if the terminal device detects a user's click on the "Complete Organization" control 404, it responds to the click operation, exits the layout editing mode, and displays the target note interface 45'. Compared to the target note interface 45 in Scenario 1, the display positions of the first note segment and the second note segment in the included note content have been swapped.

[0098] Scenario Six: In addition to reordering the display order of content in the notes as described in Scenarios One through Five above, this application can also combine preset layout rules to achieve intelligent layout editing of notes. These preset layout rules include, but are not limited to, one or a combination of the following methods: adjusting font (e.g., making the font consistent, or making the font consistent within the same paragraph), adjusting character spacing (e.g., making the character spacing consistent, or making the font consistent within the same paragraph), converting handwritten characters in the sorted notes to plain text, and adjusting paragraph width (e.g., making all widths of the sorted notes consistent).

[0099] For example, suppose Figure 9 The note display interface 91 shows the note display interface before intelligent typesetting. It can be seen that the paragraph widths and fonts are inconsistent before intelligent typesetting, resulting in poor display quality. Based on this scenario, the terminal device can receive preset editing instructions to typeset the sorted notes according to preset typesetting rules; wherein, the preset editing instructions may include, but are not limited to: preset gestures (e.g., the user can draw preset shapes such as circles on the note display interface 91), preset user operation instructions (e.g., long press operations), and click operations on preset controls (although...). Figure 9 (Not shown in the diagram, but for example, the note display interface 91 may also include intelligent layout controls). The terminal device responds to the preset editing command, performs intelligent layout based on preset layout rules, and displays the intelligently formatted note display interface 92. Compared to the note display interface 91, the notes displayed in the note display interface 92, after intelligent layout, meet certain layout rules (such as consistent font, consistent character spacing, and consistent paragraph spacing), thus having a better display effect. It should be noted that the preset layout rules can be default configured, and the terminal device can also receive personalized settings for the layout rules from the user.

[0100] Based on the scenarios one through six mentioned above, it should be noted that in addition to receiving user operations via a marker pen, the terminal device can also receive user operations directly on various display interfaces via fingers, without needing to edit via a marker pen.

[0101] It should also be noted that in the above scenarios, the terminal device can respond to the user's drawing on the layout editing interface and display the stroke color, stroke thickness, etc. of the drawing path. The display effect can be preset, and the stroke thickness of the drawing path can also be determined in combination with the touch pressure detected by the touch panel. This application does not limit this.

[0102] It is understood that the various scenarios described above can be combined with each other, and this application is not limited to the above scenarios in its implementation.

[0103] Based on the foregoing description of the interface processing effects achievable using the methods provided in this application across multiple scenarios, the following describes the implementation process of the content sorting method based on terminal devices provided in this application, to illustrate how the methods provided in this application can achieve the aforementioned results. Figures 4 to 9 The interface shown demonstrates a user-friendly design that makes it easier to record information using note-taking apps. (See also...) Figure 10 The above is a flowchart illustrating a possible embodiment of a content sorting method provided in this application. This method can be applied to terminal devices (such as mobile phones, tablets, etc.) and may include the following process:

[0104] Step 1001: The terminal device displays the interface of the notes to be edited on the screen.

[0105] For example, the terminal device detects and responds to a user command that triggers access to the interface for editing a note, displaying, as shown below. Figure 4 The interface for editing notes is shown in interface 41.

[0106] The user instructions may be, but are not limited to, the following:

[0107] Method 1: The user clicks on any note in the homepage list of a note-taking app. For example, in... Figure 11 In interface 111, user commands can be used to allow the user to click on the memo content 1 in the home list of the memo APP to display the note interface after entering the memo content 1 on the display screen. This note interface is the interface of the note to be edited.

[0108] Method 2: User voice command. For example, the user command could be "Activate the Notes app and open Note 1". After the microphone in the terminal device receives the command, it is processed by the audio circuit and sent to the processor. The processor can then recognize the command and display the note interface of Note 1 in the Notes app on the screen as the interface for the note to be edited.

[0109] Method 3: The terminal device displays a shortcut to the note-taking app, allowing the user to interact with this shortcut. For example, in... Figure 11In interface 112, the terminal device is a mobile phone. The phone's desktop displays a service card for the Notes app, and the service card contains a direct link to Note 1. At this time, the user can click on the service card to directly access the note interface of Note 1. Furthermore, shortcuts for note-taking apps can also include: a shortcut to Notes displayed on the desktop, a Notes widget on the desktop, or a shortcut to Notes in the notification bar, etc., without limitation.

[0110] Step 1002: The terminal device receives an instruction to trigger editing of the note to be edited and displays the layout editing interface of the note to be edited.

[0111] For example, the interface of the note to be edited displayed on the terminal device is usually a note preview interface. In order to edit the note, the user can enter an operation command (let's call it a "formatting and editing command") on the note preview interface, which will trigger the terminal device to switch the interface of displaying the note to be edited to the formatting and editing interface.

[0112] The typesetting and editing instructions can be implemented, but are not limited to, through the following methods: preset gesture operations for indicating entry into the typesetting and editing mode (e.g., double-click or single-click operations on the interface of the notes to be edited; double-click or single-click operations can be knuckle tapping operations, or single or double-click operations using a stylus, etc.), and preset controls (e.g. Figure 4 The click operation of the "Organize" control 401 shown in the interface 41, the user voice command to "enter the layout editing mode", etc., are not limited here by this application.

[0113] It's understandable that the layout and editing interface for notes can include controls to assist users in layout and editing. For example, it could include... Figure 4 The "marker" control 402, "sort" control 403, and "complete editing" control 404 shown in interfaces 42 to 44 may also include, as shown in the upper right area of ​​interfaces 42 to 44, a control for instructing the user to undo editing. Controls, repetitive editing Controls include a confirmation "√" control; and may also include a "back arrow" as shown in the upper left area of ​​interfaces 42 to 44, a status bar, etc. For details on each control and its functions, please refer to the descriptions in the aforementioned scenarios; they will not be repeated here.

[0114] In this way, after the terminal device detects the user's operation command to edit the layout of the interface to be edited, it triggers the display of a layout editing interface that is convenient for the user to edit. On the one hand, it can provide the user with a more accurate and targeted layout editing interface; on the other hand, it can also avoid interference with other display interface scenarios. For example, in scenarios where the user has not entered or exited the layout editing mode, a preview of the note before or after editing can be displayed, so that the user can see the interface display effect of the note more intuitively based on the preview display effect.

[0115] Step 1003: The terminal device receives and responds to the drawing path instruction on the layout editing interface, and displays the drawing path on the layout editing interface. The drawing path is used to divide the note to be edited into multiple segments.

[0116] For example, the terminal device can detect the drawing path instructions given by the user on the touch panel 251 using a marker pen or finger, etc.

[0117] For example, if the terminal device detects the drawing path instruction, it can also collect information such as the position coordinates and touch pressure involved in the drawing path instruction through sensors and then transmit it to the processor 230 for processing. Then, in response to the drawing path instruction, the processor 230, after calculation, can display the drawing path on the display screen according to the default settings (or user-defined) for the drawing path instruction's path color and pattern. In addition, the processor 230 can also display the thickness of the drawing path based on the touch pressure of the drawing path instruction; for example, the greater the touch pressure, the thicker the corresponding drawing path can be, and the smaller the touch pressure, the thinner the corresponding drawing path can be. It is understood that the terminal device's hardware layer can also include a pressure sensor, through which the terminal device can obtain the touch pressure of the drawing path instruction.

[0118] Furthermore, in response to the drawing path instruction, the terminal device, in addition to displaying the drawing path on the layout editing interface, can also obtain metadata corresponding to each drawn segment. For example, in Figure 4 On the layout editing interface shown in interface 43, the terminal device, in response to the drawing path instruction, can divide the note to be edited into five note segments using five drawing boxes, and can also obtain five sets of metadata corresponding to each of the five note segments. The metadata describes some attribute information of each note segment, such as display area and data type.

[0119] In one optional implementation, the terminal device can obtain multiple position coordinate points belonging to each drawing frame on the touch panel based on the path coordinates of each drawing frame drawn by the user. Then, it can further determine the corresponding metadata based on these multiple position coordinate points. For example, for a first drawing frame, if it is determined that multiple position coordinate points belonging to the first drawing frame all belong to the first metadata, then it can be determined that the first drawing frame corresponds to the first metadata. It is understood that the touch panel is composed of multiple position coordinate points, which are imperceptible to the user.

[0120] Furthermore, since users may not be able to accurately select all related content within a drawn box when manually segmenting note content (e.g., the drawn box cannot cover all the coordinates of the corresponding note segment), this application can also use tools such as the magnetic lasso tool to optimize the selection, making it easier to select the smallest note unit (such as a piece of text, an image, or a piece of audio). This avoids cutting or damaging the original note content, such as preventing the loss of text content.

[0121] Another alternative implementation is that, based on the data characteristics of images, the metadata stored in the notes may be stored in groups. For example, image data in notes may contain multiple pixels, occupying multiple position coordinates on the touch panel. In this case, all the pixels contained in the image can be stored in a set of metadata. In this way, when the terminal device obtains the metadata corresponding to the segmented part, it can also obtain one or more sets of metadata corresponding to the segmented part. That is, the notes are segmented using metadata as the unit, which can avoid the problem of cutting damage that may be caused by inaccurate manual drawing by the user.

[0122] Step 1004: The terminal device receives and responds to an identification instruction that identifies a custom identifier on any of the segmented portions, and displays the corresponding custom identifier on any of the segmented portions.

[0123] In one optional embodiment, the custom identifier can be manually drawn by the user, for example... Figure 4 The image shows user-drawn symbols such as pentagrams, triangles, and squares. In this embodiment, the terminal device can display user-drawn custom identifiers by referring to the implementation method of displaying the drawing path in step 1003, which will not be described in detail here.

[0124] In another optional embodiment, the custom identifier can also be an instruction for the terminal device to display multiple preset identifiers on the layout editing interface, and for the user to select any one of the preset identifiers for the segmentation part, for example... Figure 5The scenario shown in interface 52 is illustrated below. For example, when a terminal device receives the identifier instruction, it can detect a user's selection of a first preset identifier; in response to the selection, it copies the first preset identifier and triggers the copied first preset identifier to a movable state. Then, the terminal device further detects a user's drag operation on the copied first preset identifier; in response to the drag operation, it displays the first preset identifier at a target drag position. The target drag position can be the position where the drag operation stops (or any segment selected by the user for the first preset identifier); for example, in interface 52, the first preset identifier is a pentagram symbol, and the target drag position is on the first segment.

[0125] Based on the above examples, the terminal device further identifies the user-marked custom identifiers, for example, by pre-training a neural network model capable of recognizing various custom identifiers. It should be noted that this application embodiment does not limit the specific type of the custom identifier; it can be any form such as numbers, letters, or symbols.

[0126] Furthermore, the terminal device can compare the coordinates of multiple positions of the custom identifier displayed on the touch panel with the coordinates of each segment displayed on the touch panel to determine the segment corresponding to the custom identifier. It can be understood that, for any custom identifier, the terminal device can determine the segment with the most coordinates of the custom identifier displayed on the touch panel as the segment corresponding to the custom identifier. Moreover, the terminal device can store the custom identifiers marked on each segment in the corresponding metadata.

[0127] It should be noted that although the above embodiments are described in the order of first introducing step 1003 and then step 1004, the execution order of steps 1003 and 1004 is not limited in the implementation of this application. Specifically, steps 1003 and 1004 can be implemented in response to user drawing path instructions and identification instructions. For example, the terminal device can first receive and respond to a drawing path instruction to draw a segment, and then receive and respond to a user's identification instruction to add a custom identification to that segment, displaying the custom identification on that segment; then the terminal device responds to the user's next drawing path instruction and next identification instruction to continue drawing the next segment and its corresponding custom identification.

[0128] Step 1005: The terminal device receives and responds to a first sorting instruction to sort each segment according to a custom identifier on each segment, sorts each segment according to the custom identifier displayed on each segment, and displays an interface of sorted notes.

[0129] The first sorting instruction may be implemented, but is not limited to, through the following methods: a preset gesture operation for instructing sorting (e.g., a double-click or single-click operation on the interface of the notes to be edited; a double-click or single-click operation can be a tapping operation with a knuckle, or a single or double-click operation using a stylus, etc.), and a preset control (e.g., ... Figure 4 The click operation of the "sorting" control 403 shown in interface 43, such as the user voice command "reorder", etc., are not limited here.

[0130] For example, the terminal device can sort the segments according to a pre-configured sorting order of custom identifiers and according to the custom identifiers marked on each segment. For example, combining... Figure 4 As shown, assuming the pre-configured custom identifier order is first the triangle symbol, then the pentagram symbol, and then the square symbol, the interface of the notes after sorting can be as follows: Figure 4 As shown in interface 44, the sections corresponding to drawing boxes with custom triangle symbols are sorted in the first and second positions, the sections corresponding to drawing boxes with custom pentagram symbols are sorted in the third and fourth positions, and the sections corresponding to drawing boxes with square symbols are sorted in the fifth position. This allows users to easily move and rearrange the various sections of the notes according to their content.

[0131] Based on the above example, the terminal device can also categorize custom identifiers, grouping identical, similar, or belonging to the same category into the same category, thereby grouping the segmented parts of custom identifiers belonging to the same category together. For example, ... Figure 4 The two segments corresponding to the two triangle symbols are grouped together, as are the two segments corresponding to the two pentagram symbols. Furthermore, for multiple segments with the same, similar, or belonging to the same category of custom identifiers, the sorting can be further determined based on the original display order in the notes (e.g., in...). Figure 4 In interface 43, the image segment corresponding to the triangle symbol is displayed before the text segment corresponding to the triangle symbol in the original note; therefore, in the sorted interface 44, the image segment corresponding to the triangle symbol and the text segment corresponding to the triangle symbol are not only sorted together, but also maintain the display order in which the image segment is displayed before the text segment. Alternatively, the order of multiple segments can be randomly determined, etc., which is not limited here in this application.

[0132] In this embodiment, the terminal device can determine the target display area for each segment based on the sorted order, and replace the original display area in the metadata corresponding to each segment with the target display area. Then, the terminal device displays each segment according to the target display area. In this way, the terminal device can display the sorted target notes on the display panel.

[0133] Furthermore, if the first sorting instruction is implemented automatically by the terminal device based on a custom identifier, the terminal device can also continue to receive a second sorting instruction to instruct the user to manually sort the automatically sorted segments, for example in... Figure 8 In interface 441, the user can also manually adjust the order of the segmentation sections displayed as the first and second notes after sorting. At this time, the terminal device can obtain the segmentation sections related to the second sorting instruction and manually adjust them; it can be understood that during the manual adjustment process based on the second sorting instruction, segmentation sections unrelated to the second sorting instruction do not need to be processed, for example, in... Figure 8 In interface 441, the display positions of the sorted sections in the third, fourth, and fifth columns do not need to be changed.

[0134] The content sorting method provided in this application allows users of note-taking apps to intelligently sort content within their notes. Users can manually divide a note into multiple segments by drawing a path, and then label each segment with a custom identifier. The terminal device can then intelligently sort these segments based on the custom identifiers, resulting in a formatted and edited target note. Therefore, this method helps users use note-taking apps more conveniently, easily organize notes, and provides a more user-friendly operating experience, improving user efficiency and enhancing the user experience.

[0135] Based on the above embodiments, this application also provides a terminal device, which includes multiple functional modules; the multiple functional modules interact to implement the functions performed by the terminal device in the methods described in the embodiments of this application. The multiple functional modules can be implemented based on software, hardware, or a combination of software and hardware, and the multiple functional modules can be arbitrarily combined or divided based on specific implementations. For example, executing... Figure 10 Steps 1001 to 1005 are performed by the terminal device in the illustrated embodiment.

[0136] Based on the above embodiments, this application also provides a terminal device, which includes at least one processor and at least one memory. The at least one memory stores computer program instructions. When the terminal device is running, the at least one processor executes the functions performed by the terminal device in the various methods described in the embodiments of this application. For example, when executing... Figure 10 Steps 1001 to 1005 are performed by the terminal device in the illustrated embodiment.

[0137] Based on the above embodiments, this application also provides a computer program product, which includes a computer program (also referred to as code or instructions) that, when run, causes the methods described in the embodiments of this application to be executed.

[0138] Based on the above embodiments, this application also provides a computer-readable storage medium storing a computer program (also referred to as code or instructions) that, when executed by a computer, causes the computer to perform the methods described in the embodiments of this application.

[0139] Based on the above embodiments, this application also provides a chip for reading computer programs stored in a memory to implement the methods described in the embodiments of this application.

[0140] Based on the above embodiments, this application provides a chip system including a processor for supporting a computer device in implementing the methods described in the embodiments of this application. In one possible design, the chip system further includes a memory for storing necessary programs and data of the computer device. This chip system may be composed of chips or may include chips and other discrete devices. Those skilled in the art will understand that the embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0141] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0142] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0143] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0144] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the scope of protection of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A content sorting method, characterized in that, Applied in terminal devices, including: The interface that displays notes to be edited; Receive an instruction to trigger editing of the note to be edited, and display the layout editing interface of the note to be edited; The system receives and responds to a drawing path instruction on the layout editing interface, displays the drawing path on the layout editing interface, and the drawing path is used to divide the note to be edited into multiple segments, wherein each segment corresponds to one or more note content units, each segment has metadata, and the metadata of each segment includes display area information of the note content units associated with each segment; and... Receive and respond to an identification instruction that identifies a custom identifier on any of the segmented parts, display the corresponding custom identifier on the segmented parts, and associate the custom identifier with the metadata of the corresponding segmented parts; Receive and respond to a first sorting instruction to sort each segment according to a custom identifier on each segment, sort each segment according to the custom identifier displayed on each segment, display an interface of sorted notes, and update the display area information included in the metadata of each segment based on the sorted order of each segment.

2. The method according to claim 1, characterized in that, The step of sorting the segments according to the custom identifiers displayed in each segment includes: According to the order in which different custom identifiers are displayed, the segmented parts with different custom identifiers are displayed in the order in which they are displayed, and the different segmented parts with the same custom identifier are displayed in adjacent positions.

3. The method according to claim 1 or 2, characterized in that, The method further includes: On the interface of the sorted notes, a second sorting instruction is received to move at least one specified segment to a target position, and the at least one specified segment is moved to the target position for display.

4. The method according to claim 1 or 2, characterized in that, Receiving an identification instruction to identify a custom identifier on any of the segmented portions includes: Receive an operation command from the user to manually draw a custom identifier on any of the segmented parts; or, The layout editing interface displays multiple preset icons and receives operation instructions from the user to select an icon from the multiple preset icons and draw the selected icon on any of the segmented parts selected by the user.

5. The method according to claim 1 or 2, characterized in that, The custom identifier is represented by one or a combination of the following forms: numbers, letters, and symbols.

6. The method according to claim 1 or 2, characterized in that, The method further includes: On the interface of the sorted notes, an editing instruction is received to edit the sorted notes according to preset layout rules, the sorted notes are edited, and the interface of the edited notes is displayed.

7. The method according to claim 6, characterized in that, The preset layout rules include at least one of the following: Adjust the font of the sorted notes to be consistent; Adjust the spacing between characters in the sorted notes to be consistent; Convert the handwritten text of the sorted notes into text. Adjust the paragraph widths of the sorted notes to be consistent.

8. A terminal device, characterized in that, It includes at least one processor coupled to at least one memory, the at least one processor being configured to read and execute a computer program stored in the at least one memory to cause the method as described in any one of claims 1 to 7 to be performed.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed on a computer, cause the computer to perform the method as described in any one of claims 1 to 7.

10. A computer program product containing instructions, 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 to 7.

Citation Information

Patent Citations

  • Note conversion method, device and system and electronic equipment

    CN114861596A