CN115237319A - Note generation method, device, storage medium and terminal - Google Patents

Note generation method, device, storage medium and terminal Download PDF

Info

Publication number
CN115237319A
CN115237319A CN202110450782.9A CN202110450782A CN115237319A CN 115237319 A CN115237319 A CN 115237319A CN 202110450782 A CN202110450782 A CN 202110450782A CN 115237319 A CN115237319 A CN 115237319A
Authority
CN
China
Prior art keywords
application
note
interface
terminal
touch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110450782.9A
Other languages
Chinese (zh)
Inventor
张靖苑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110450782.9A priority Critical patent/CN115237319A/en
Publication of CN115237319A publication Critical patent/CN115237319A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a note generating method and device, a storage medium and a terminal. The method comprises the following steps: the method comprises the steps that when a terminal is in a concentration mode, a touch instruction for a concentration interface is received, a preset interface is displayed based on the touch instruction, the preset interface comprises an editable text box, edited content input in the editable text box is obtained, and when the concentration mode is finished, a note corresponding to the edited content is generated in a note application. By the method, the terminal can record the editing content input by the user in the concentration mode without exiting the concentration mode, and then generate the note corresponding to the editing content to be stored in the note application, so that the convenience of information recording can be improved.

Description

Note generation method, device, storage medium and terminal
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a note generation method, an apparatus, a storage medium, and a terminal.
Background
With the development of the internet, various rich and colorful functions are also developed on the mobile phone, so that the dependence of the user on the terminal is strong, and the user may not be able to concentrate on things other than the mobile phone. In order to solve the problem, in the prior art, some mobile phone manufacturers design a concentration mode, and in the concentration mode, the mobile phone is in a state of being unavailable in a limited time, so that a user cannot use an application on the mobile phone and cannot receive any notification of the application. If the user is concentrating on things outside the mobile phone, information needs to be recorded on the mobile phone temporarily, and at the moment, the user can only select to quit the concentration mode to normally use the mobile phone, so that the operation is complex and tedious, and the convenience of information recording is reduced.
Disclosure of Invention
The embodiment of the application provides a note generating method and device, a computer storage medium and a terminal, and aims to solve the technical problem of improving information recording convenience in a concentration mode. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a note generating method, where the method includes:
receiving a touch instruction aiming at a focus interface when the terminal is in a focus mode, and displaying a preset interface based on the touch instruction, wherein the preset interface comprises an editable text box;
acquiring editing content input in the editable text box;
and when the concentration mode is ended, generating a note corresponding to the edited content in a note application.
In a second aspect, an embodiment of the present application provides a note generating device, where the device includes:
the interface display module is used for receiving a touch instruction aiming at a concentration interface when the terminal is in a concentration mode, and displaying a preset interface based on the touch instruction, wherein the preset interface comprises an editable text box;
the content acquisition module is used for acquiring the editing content input in the editable text box;
and the note generating module is used for generating a note corresponding to the edited content in the note application when the concentration mode is ended.
In a third aspect, embodiments of the present application provide a computer storage medium having a plurality of instructions adapted to be loaded by a processor and to perform the above-mentioned method steps.
In a fourth aspect, an embodiment of the present application provides a terminal, which may include: a memory and a processor; wherein the memory stores a computer program adapted to be loaded from the memory and to perform the above-mentioned method steps.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
when the scheme of the embodiment of the application is executed, the terminal is in a concentration mode, receives a touch instruction for concentrating on an interface, displays a preset interface based on the touch instruction, the preset interface comprises an editable text box, acquires editing contents input in the editable text box, and generates a note corresponding to the editing contents in note application when the concentration mode is finished. By the method, the terminal can record the editing content input by the user in the concentration mode without exiting the concentration mode, and then generate the note corresponding to the editing content to be stored in the note application, so that the convenience of information recording can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a note generation method provided in an embodiment of the present application;
fig. 2 is a schematic interface diagram in a note generation method provided in an embodiment of the present application;
FIG. 3 is a schematic interface diagram of another note generation method provided in the embodiments of the present application;
fig. 4 is a schematic flowchart of another note generating method provided in the embodiment of the present application;
FIG. 5 is a schematic interface diagram of yet another note generation method provided in the embodiments of the present application;
fig. 6 is a schematic diagram illustrating a principle of a note generation method according to an embodiment of the present application;
FIG. 7 is a schematic interface diagram of yet another note generation method provided in the embodiments of the present application;
fig. 8 is a schematic structural diagram of a note generation device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a terminal according to an embodiment of the present application;
FIG. 10 is a schematic structural diagram of an operating system and a user space provided in an embodiment of the present application;
FIG. 11 is an architectural diagram of the android operating system of FIG. 10;
FIG. 12 is an architecture diagram of the IOS operating system of FIG. 10.
Detailed Description
In order to make the objects, features and advantages of the embodiments of the present application more obvious and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In the description of the present application, it is noted that, unless explicitly stated or limited otherwise, "including" and "having" and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The present application will be described in detail with reference to specific examples.
In the following method embodiments, for convenience of description, only the main execution body of each step is described as a terminal.
Please refer to fig. 1, which is a flowchart illustrating a note generating method according to an embodiment of the present disclosure. As shown in fig. 1, the method of the embodiment of the present application may include the steps of:
s101, receiving a touch instruction aiming at a focus interface when the terminal is in a focus mode, and displaying a preset interface based on the touch instruction, wherein the preset interface comprises an editable text box.
Wherein, concentrating on the mode and representing a cell-phone mode, similar to modes such as silence mode, flight mode, concentrating on the mode still to be concentrated on for a long time, it can be for default duration to concentrate on for a long time, can be for user-defined duration. The focus mode may be ended manually by the user, or may be ended automatically after the focus duration has been reached. However, in the focus mode, the terminal may block notifications of all applications, including but not limited to incoming call notification, short message notification, native application notification, and third party application notification, even if the terminal screen is in the unlocked state, the terminal displays a preset focus interface without any application icon on the focus interface, and the user cannot use any application, that is, the terminal is in a state where the terminal is not available in a limited time.
The concentration interface is a user interface set in a concentration mode, can be set to be a default user interface by a terminal manufacturer, and can be set to be a self-defined user interface by a user. See the focus interface as shown in fig. 2, which is a user interface set by the terminal manufacturer.
The touch instruction refers to an instruction formed by touch operation executed by a user on a display screen, and the touch operation may include click operation and sliding operation.
The preset interface is a user interface different from the focus interface, and the preset interface comprises an editable text box which is used for a user to input text contents in the text box.
Specifically, when the terminal is in the concentration mode, the terminal displays a concentration interface, a user performs touch operation on the concentration interface to form a corresponding touch instruction, the terminal receives the touch instruction, analyzes information of the touch instruction to obtain touch information corresponding to the touch instruction, the touch information can be understood as a touch track, a touch direction, a touch position and the like, and if the touch information is matched with preset touch information, the currently displayed concentration interface is switched to the preset interface.
For example: the terminal is in a concentration mode, a concentration interface shown in fig. 2 is displayed, after a touch instruction formed by a user aiming at touch operation executed by the concentration interface is received, the touch instruction is analyzed, the touch instruction comprises touch information, and the obtained touch information is as follows: in the middle area of the focus interface, slide out a straight line from left to right. Since the touch information conforms to the preset touch information, the terminal is switched from the focus interface shown in fig. 2 to the preset interface shown in fig. 3, 310 is an editable text box in the preset interface, the user can input text contents in 310, and 310 further has a prompt message "note temporary idea without quitting focus mode" for reminding the user to note temporary idea in the editable text box.
And S102, acquiring the editing content input in the editable text box.
Specifically, in S101, it can be known that the terminal currently displays a preset interface, where the preset interface includes an editable text box, and the user inputs the editing content in the editable text box, so that the terminal can obtain the editing content input by the user.
And S103, when the concentration mode is finished, generating a note corresponding to the editing content in a note application.
Specifically, in the process that the terminal is in the concentration mode, the user inputs the editing content in an editable text box in the preset interface, and then when the concentration mode is finished, the terminal can generate a new note in the note application according to the editing content. Typically, any note in a note application has a note name and a note generation time. For note names, the terminal may generate default names for notes according to the generation time of notes. For example, the default name may be a name such as "note 1", "note 2", "note 3", etc., the edit content entered by the user at 10.
When the scheme of the embodiment of the application is executed, the terminal is in a concentration mode, receives a touch instruction for concentrating on an interface, displays a preset interface based on the touch instruction, the preset interface comprises an editable text box, acquires edit content input in the editable text box, and generates a note corresponding to the edit content in note application when the concentration mode is finished. By the method, the terminal can record the editing content input by the user in the concentration mode without exiting the concentration mode, and then generate the note corresponding to the editing content to be stored in the note application, so that the convenience of information recording can be improved.
Please refer to fig. 4, which is a flowchart illustrating a note generation method according to an embodiment of the present disclosure. As shown in fig. 4, the method of the embodiment of the present application may include the steps of:
s401, receiving a touch instruction aiming at a focus interface when the terminal is in a focus mode, and acquiring touch information corresponding to the touch instruction, wherein the touch information comprises a screen sliding direction.
It can be understood that the touch instruction is an instruction formed by a user performing a touch operation on the focus interface, and as the user performs the touch operation, what type of operation, what track of operation, and what direction of operation are the touch operation, the corresponding touch type, touch track, and touch direction are the touch information corresponding to the touch instruction. The touch type may include fast click, slide, and continuous press, the touch trajectory may include a curve, a straight line, and the touch direction may include a top-down direction, a left-to-right direction, a bottom-to-top direction, and a right-to-left direction. Since the touch type is set as the sliding type in consideration of the user experience, the embodiment of the present application may be discussed without considering other types of touch operations, and the touch direction may be understood as the screen sliding direction.
Specifically, when the terminal is in the concentration mode, the terminal is in an unavailable state, which may be understood as that the terminal hides notifications of all applications and does not display any notification. For incoming calls, the terminal can reject the call and send a short message to the incoming number according to incoming call rejection preset by the user, so as to inform the incoming user that the called user is busy and returns the call later. For the notification of the native application or the notification of the third-party application, the terminal may hide the notification, and when the concentration mode is finished, display the notification received during the concentration mode. The user carries out sliding operation aiming at the concentration interface under the concentration mode to form a corresponding sliding instruction, the terminal receives the sliding instruction and obtains sliding information corresponding to the sliding instruction, and the sliding information comprises a screen sliding direction.
S402, when the screen sliding direction is matched with a preset screen sliding direction, switching from the concentration interface to a preset interface and displaying, wherein the preset interface comprises an editable text box and at least one application icon of an application.
At least one application is an application which is set to be usable in the concentration mode, the terminal can shield the notification of all applications because the terminal is in the unavailable state in the concentration mode, and the user can set the application which is usable in the concentration mode in advance. Since the preset interface comprises the editable text box and the application icon of the at least one application, the editable text box can be displayed in the first area of the preset interface, the application icon of the at least one application can be displayed in the second area, and the first area can be arranged above the second area. Referring to the schematic diagram of the preset interface shown in fig. 5, 510 is a first area, 520 is a second area, 510 includes an editable text box, and 520 includes at least one application icon of an application, which may include a phone icon, a nail icon, a mailbox icon, and a browser icon.
Specifically, according to S401, it can be known that, since the touch instruction is defined as the sliding instruction in the embodiment of the present application, the sliding information corresponding to the sliding instruction includes the screen sliding direction, and the preset screen sliding direction may be set as the screen sliding direction from left to right. The sliding instruction is formed by sliding operation executed by a user, and no matter what track is the sliding operation, when the sliding screen direction corresponding to the sliding operation is matched with the preset sliding screen direction, the terminal can switch the concentration interface into the preset interface and display the concentration interface.
For example: the trajectory diagram shown in fig. 6 can be referred to for the sliding corresponding to the sliding operation performed by the user on the focus interface, where the trajectory diagram includes a trajectory 611, a trajectory 612, a trajectory 613, and a trajectory 614, and although the trajectories are different, the screen sliding directions of the trajectories are the same and are all the screen sliding directions from left to right, so that when the terminal recognizes a touch instruction formed by any one of the trajectories, the focus interface can be switched to the preset interface for display.
And S403, acquiring the editing content input in the editable text box.
Specifically, as can be known from S401, the terminal currently displays a preset interface, where the preset interface includes an editable text box and at least one application icon, and when the user inputs the edited content in the editable text box, the terminal may obtain the edited content input by the user.
S404, when the concentration mode is finished, extracting the note theme from the editing content, and acquiring the editing time corresponding to the editing content.
Specifically, during the focus mode, the user may input the edited content in the editable text box for multiple times, and when the focus mode is finished, the terminal may obtain all the edited content input by the user. Further, the terminal may extract a note theme from the editing contents. In one possible implementation, since the user inputs symbols such as words, punctuation or letters in the editable text box line by line when inputting the edited content, the terminal may take the first N words in the first line as the subject of the note. For example, the editing content input by the user includes "go to a supermarket after work at night and need to purchase", and "go to a supermarket after work at night" may be used as the subject of the memo.
In another possible implementation manner, the corresponding text part in the edited content is detected, the occurrence frequency of the continuous text is determined, and if the occurrence frequency is greater than or equal to the preset frequency, or the text with the largest occurrence frequency is determined, the continuous text corresponding to the occurrence frequency is used as the note theme. For example, the editing content input by the user includes "daily needs to purchase living goods: laundry detergent, toothpaste and shampoo; food purchasing: green vegetables, mushrooms, chicken; purchasing tableware: fruit dish, bowl ", in above-mentioned editorial content," purchase "has appeared 3 times, because preset frequency sets up to 3 times, can regard" purchase "as the memo theme. Or, since the number of times of occurrence of "purchase" is 3, the number of times of occurrence of other characters is 1, and "purchase" is the character with the largest number of occurrences, the "purchase" may be taken as the subject of the note.
Further, the terminal may obtain an editing time corresponding to the editing content, and since the user may input the editing content in the editable text box for a plurality of times, a time at which the user has input the editing content last time may be used as the editing time. If the user inputs the edited content only once during the focus mode, the time when the user inputs the edited content may be used as the editing time.
S405, generating a note containing the note theme and the editing time in a note application.
Specifically, after the terminal determines the note theme and the editing time, a note with the note theme as a note title and note contents including the editing time and the editing contents may be generated. Referring to the interface diagram shown in fig. 7, fig. 7 shows a main interface in the note application and a detailed display interface of each note, 710 and 720 are two notes respectively, in the note 710 and the note 720, the top of the note is the editing time, the first line of text in the detailed content of the note is the note title, and the next lines of text are the editing content input by the user. The note title may also be displayed in bold, and specifically, in the actual application process, the font color, the font type, and the font size of the note title may also be set. It can be seen that the note titles of notes 710 and 720 are extracted from the edited content entered by the user and are automatically generated by the terminal.
S406, a selection instruction of a target application icon in the application icons of the at least one application is received, and an application interface corresponding to the target application icon is displayed based on the selection instruction.
The selection instruction is formed by selection operations executed by a user for at least one application icon, and the selection operations may include but are not limited to click operations and press operations.
Specifically, the user performs a selection operation on at least one application icon of the application to form a corresponding selection instruction, and the terminal receives the selection instruction and analyzes the selection instruction to obtain selection information corresponding to the selection instruction. If the selection operation is a click operation, the click information corresponding to the click instruction may include a click position and a click frequency. If the selection instruction is a pressing operation, the pressing information corresponding to the pressing operation may include a pressing position and a pressing duration. And if the click times are greater than or equal to the preset times, jumping to an application interface corresponding to the target application icon and displaying the application interface. For the pressing operation, the terminal analyzes the pressing operation to obtain a pressing position and a pressing duration, and the terminal determines the pressed application icon, namely the target application icon, according to the pressing position. And if the pressing time length is greater than or equal to the preset time length, jumping to an application interface corresponding to the target application icon. It should be noted that the application interface corresponding to the target application icon may be an application interface when the user last quits the application, or may be a main interface when the application is opened.
For example: see the preset interface shown in fig. 5, where the application icons included in the preset interface are: the method comprises the steps that a telephone icon, a nail icon, a mailbox icon and a browser icon are displayed, if a user clicks the telephone icon for 1 time, the terminal calls a telephone application, and skips to an application interface in the telephone application and displays the application interface; or if the user presses the phone icon for 2 seconds, the terminal calls the phone application, jumps to an application interface in the phone application and displays the application interface.
When the scheme of this application embodiment is executed, the terminal is in to be absorbed under the mode, and the receiving is to being absorbed in the touch instruction of interface, acquires the touch information that touch instruction corresponds, touch information includes the slide screen direction when the slide screen direction matches with the preset slide screen direction, follow it switches to preset the interface and shows to absorb in the interface, but preset the interface includes the application icon that can edit textbox and at least one application. And acquiring the editing content input in the editable text box. And when the concentration mode is finished, extracting a note theme from the editing content, and acquiring the editing time corresponding to the editing content. And generating a note containing the note theme and the editing time in a note application. The terminal can record the editing content input by the user in the concentration mode without exiting the concentration mode, regenerate notes corresponding to the editing content and store the notes in the note application, and improve the convenience of information recording. The terminal also receives a selection instruction of a target application icon in the application icons of the at least one application, and displays an application interface corresponding to the target application icon based on the selection instruction. The user can also quickly enter the preset application which can be used in the concentration mode, so that the convenience of information recording is improved, and the user can be prevented from missing important notifications in the concentration mode.
Please refer to fig. 8, which is a schematic structural diagram of a note generating device according to an embodiment of the present disclosure. Note generation apparatus 800 may be implemented as all or part of a terminal by software, hardware, or a combination of both. The apparatus 800 comprises:
the interface display module 810 is configured to receive a touch instruction for a focus interface when the terminal is in a focus mode, and display a preset interface based on the touch instruction, where the preset interface includes an editable text box;
a content obtaining module 820, configured to obtain editing content input in the editable text box;
and a note generating module 830, configured to generate a note corresponding to the edited content in the note application when the concentration mode is finished.
Optionally, the interface display module 810 includes:
and the first control unit is used for acquiring touch information corresponding to the touch instruction, and switching from the concentration interface to a preset interface and displaying when the touch information is matched with preset touch information.
Optionally, the touch information in the first control unit includes a screen sliding direction, and the first control unit includes:
and the second touch unit is used for switching from the concentration interface to a preset interface and displaying when the screen sliding direction is matched with a preset screen sliding direction.
Optionally, the preset interface in the interface display module 810 further includes an application icon of at least one application, where the at least one application is an application that is set to be usable when the terminal is in the focus mode.
Optionally, the editable text box in the interface display module 810 is displayed in a first area of the preset interface, and the application icon of the at least one application is displayed in a second area of the preset interface, where the second area is located below the first area.
Optionally, the apparatus 800 further comprises:
and the interface skipping module is used for receiving a selection instruction of a target application icon in the application icons of the at least one application and displaying an application interface corresponding to the target application icon based on the selection instruction.
Optionally, the note generating module 830 includes:
the first generation unit is used for extracting a note theme from the editing content and acquiring editing time corresponding to the editing content;
and the second generation unit is used for generating a note containing the note theme and the editing time in the note application.
When the scheme of the embodiment of the application is executed, the terminal is in a concentration mode, receives a touch instruction for concentrating on an interface, displays a preset interface based on the touch instruction, the preset interface comprises an editable text box, acquires editing contents input in the editable text box, and generates a note corresponding to the editing contents in note application when the concentration mode is finished. By the method, the terminal can record the editing content input by the user in the concentration mode without exiting the concentration mode, and then generate the note corresponding to the editing content to be stored in the note application, so that the convenience of information recording can be improved.
Referring to fig. 9, a block diagram of a terminal according to an exemplary embodiment of the present application is shown. A terminal in the present application may include one or more of the following components: a processor 110, a memory 120, an input device 130, an output device 140, and a bus 150. The processor 110, memory 120, input device 130, and output device 140 may be coupled by a bus 150.
Processor 110 may include one or more processing cores. The processor 110 connects various parts within the overall electronic device using various interfaces and lines, and performs various functions of the electronic device 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120 and calling data stored in the memory 120. Alternatively, the processor 110 may be implemented in hardware using at least one of Digital Signal Processing (DSP), field-programmable gate Array (FPGA), and Programmable Logic Array (PLA). The processor 110 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 110, but may be implemented by a communication chip.
The Memory 120 may include a Random Access Memory (RAM) or a read-only Memory (ROM). Optionally, the memory 120 includes a non-transitory computer-readable medium. The memory 120 may be used to store instructions, programs, code sets, or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like, and the operating system may be an Android (Android) system, including a system based on Android system depth development, an IOS system developed by apple, including a system based on IOS system depth development, or other systems. The data storage area may also store data created by the electronic device during use, such as a phonebook, audio-visual data, chat log data, and the like.
Referring to fig. 10, the memory 120 may be divided into an operating system space and a user space, wherein the operating system is run in the operating system space, and the native and third-party applications are run in the user space. In order to ensure that different third-party application programs can achieve a better operation effect, the operating system allocates corresponding system resources for the different third-party application programs. However, the requirements of different application scenarios in the same third-party application program on system resources are different, for example, in a local resource loading scenario, the third-party application program has a higher requirement on the disk reading speed; in the animation rendering scene, the third-party application program has a high requirement on the performance of the GPU. The operating system and the third-party application program are independent from each other, and the operating system cannot sense the current application scene of the third-party application program in time, so that the operating system cannot perform targeted system resource adaptation according to the specific application scene of the third-party application program.
In order to enable the operating system to distinguish a specific application scenario of the third-party application program, data communication between the third-party application program and the operating system needs to be opened, so that the operating system can acquire current scenario information of the third-party application program at any time, and further perform targeted system resource adaptation based on the current scenario.
Taking an operating system as an Android system as an example, as shown in fig. 11, programs and data stored in the memory 120 may be stored in the memory 120, where the memory 120 may store a Linux kernel layer 320, a system runtime library layer 340, an application framework layer 360, and an application layer 380, where the Linux kernel layer 320, the system runtime library layer 340, and the application framework layer 360 belong to an operating system space, and the application layer 380 belongs to a user space. The Linux kernel layer 320 provides underlying drivers for various hardware of the electronic device, such as a display driver, an audio driver, a camera driver, a bluetooth driver, a Wi-Fi driver, power management, and the like. The system runtime library layer 340 provides a main feature support for the Android system through some C/C + + libraries. For example, the SQLite library provides support of a database, the OpenGL/ES library provides support of 3D drawing, the Webkit library provides support of a browser kernel, and the like. Also provided in the system runtime library layer 340 is an Android runtime library (Android runtime), which mainly provides some core libraries that can allow developers to write Android applications using the Java language. The application framework layer 360 provides various APIs that may be used when constructing an application, and developers may also use these APIs to construct their own applications, such as activity management, window management, view management, notification management, content provider, package management, call management, resource management, and location management. At least one application program runs in the application layer 380, and the application programs may be native application programs carried by the operating system, such as a contact program, a short message program, a clock program, a camera application, and the like; or a third-party application developed by a third-party developer, such as a game application, an instant messaging program, a photo beautification program, a file processing program, and the like.
Taking an operating system as an IOS system as an example, programs and data stored in the memory 120 are shown in fig. 12, and the IOS system includes: a Core operating system Layer 420 (Core OS Layer), a Core Services Layer 440 (Core Services Layer), a Media Layer 460 (Media Layer), and a touchable Layer 480 (Cocoa Touch Layer). The kernel operating system layer 420 includes an operating system kernel, drivers, and underlying program frameworks that provide functionality closer to hardware for use by program frameworks located in the core services layer 440. The core services layer 440 provides system services and/or program frameworks, such as a Foundation framework, an account framework, an advertisement framework, a data storage framework, a network connection framework, a geographic location framework, a motion framework, and so forth, as required by the application. The media layer 460 provides audiovisual related interfaces for applications, such as graphics image related interfaces, audio technology related interfaces, video technology related interfaces, audio video transmission technology wireless playback (AirPlay) interfaces, and the like. Touchable layer 480 provides various common interface-related frameworks for application development, and touchable layer 480 is responsible for user touch interaction operations on the electronic device. Such as a local notification service, a remote push service, an advertising framework, a game tools framework, a message User Interface (UI) framework, a User Interface UIKit framework, a map framework, and so forth.
In the framework illustrated in FIG. 10, the framework associated with most applications includes, but is not limited to: a base framework in the core services layer 440 and a UIKit framework in the touchable layer 480. The base framework provides many basic object classes and data types, provides the most basic system services for all applications, and is UI independent. While the class provided by the UIKit framework is a base UI class library for creating touch-based user interfaces, iOS applications can provide UIs based on the UIKit framework, so it provides an infrastructure for applications for building user interfaces, drawing, processing and user interaction events, responding to gestures, and so on.
The Android system may be referred to as a mode and a principle for implementing data communication between the third-party application program and the operating system in the IOS system, and details are not repeated herein.
The input device 130 is used for receiving input instructions or data, and the input device 130 includes, but is not limited to, a keyboard, a mouse, a camera, a microphone, or a touch device. The output device 140 is used for outputting instructions or data, and the output device 140 includes, but is not limited to, a display device, a speaker, and the like. In one example, the input device 130 and the output device 140 may be combined, and the input device 130 and the output device 140 are touch display screens for receiving touch operations of a user on or near the touch display screens by using any suitable object such as a finger, a touch pen, and the like, and displaying user interfaces of various applications. Touch displays are typically provided on the front panel of an electronic device. The touch display screen may be designed as a full-face screen, a curved screen, or a profiled screen. The touch display screen can also be designed as a combination of a full-screen and a curved-surface screen, and a combination of a special-shaped screen and a curved-surface screen, which is not limited in this application.
In addition, those skilled in the art will appreciate that the configurations of the terminals illustrated in the above-described figures are not meant to be limiting, and that the terminals may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. For example, the terminal further includes a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (WiFi) module, a power supply, a bluetooth module, and other components, which are not described herein again.
In the embodiment of the present application, the main body of execution of each step may be the terminal described above. Optionally, the execution subject of each step is an operating system of the terminal. The operating system may be an android system, an IOS system, or another operating system, which is not limited in this embodiment of the present application.
The terminal of the embodiment of the application can also be provided with a display device, and the display device can be various devices capable of realizing a display function, for example: a cathode ray tube display (CR), a light-emitting diode display (LED), an electronic ink panel, a Liquid Crystal Display (LCD), a Plasma Display Panel (PDP), and the like. The user can view information such as displayed text, images, video, etc. using the display device on the terminal 101. The terminal may be a smart phone, a tablet computer, a gaming device, an AR (Augmented Reality) device, an automobile, a data storage device, an audio playing device, a video playing device, a notebook, a desktop computing device, a wearable device such as an electronic watch, an electronic glasses, an electronic helmet, an electronic bracelet, an electronic necklace, an electronic garment, or the like.
In the terminal shown in fig. 9, the processor 110 may be configured to call the note generation program stored in the memory 120, and specifically perform the following operations:
receiving a touch instruction aiming at a focus interface when the terminal is in a focus mode, and displaying a preset interface based on the touch instruction, wherein the preset interface comprises an editable text box;
acquiring editing content input in the editable text box;
and when the concentration mode is ended, generating a note corresponding to the edited content in a note application.
In an embodiment, when the processor 110 executes the preset interface displayed based on the touch instruction, the following operations are specifically performed:
and acquiring touch information corresponding to the touch instruction, and switching from the concentration interface to a preset interface and displaying when the touch information is matched with preset touch information.
In one embodiment, the touch information includes a screen sliding direction, and when the processor 110 executes the display of the preset interface based on the touch instruction, the following operations are specifically performed:
and when the screen sliding direction is matched with the preset screen sliding direction, switching from the concentration interface to a preset interface and displaying.
In one embodiment, the preset interface further includes an application icon of at least one application, and the at least one application is an application that is set to be usable when the terminal is in the focus mode.
In one embodiment, the editable text box is displayed in a first area of the preset interface, and the application icon of the at least one application is displayed in a second area of the preset interface, wherein the second area is located below the first area.
In one embodiment, after the step of displaying the preset interface based on the touch instruction is performed, the processor 110 further performs the following operations:
receiving a selection instruction of a target application icon in the application icons of the at least one application, and displaying an application interface corresponding to the target application icon based on the selection instruction.
In an embodiment, when executing the note corresponding to the editing content generated in the note application, the processor 110 specifically executes the following operations:
extracting a note theme from the editing content, and acquiring editing time corresponding to the editing content;
generating a note in a note application that includes the note theme and the edit time.
It is clear to a person skilled in the art that the solution of the present application can be implemented by means of software and/or hardware. The "unit" and "module" in this specification refer to software and/or hardware that can perform a specific function independently or in cooperation with other components, where the hardware may be, for example, a Field-ProgrammaBLE Gate Array (FPGA), an Integrated Circuit (IC), or the like.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art will recognize that the embodiments described in this specification are preferred embodiments and that acts or modules referred to are not necessarily required for this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to the related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some service interfaces, devices or units, and may be an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solutions of the present application, in essence or part of the technical solutions contributing to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product, which is stored in a memory and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program, which is stored in a computer-readable memory, and the memory may include: flash disks, read-Only memories (ROMs), random Access Memories (RAMs), magnetic or optical disks, and the like.
The above description is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure should not be limited thereby. That is, all equivalent changes and modifications made in accordance with the teachings of the present disclosure are intended to be included within the scope of the present disclosure. Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. A note generation method, comprising:
receiving a touch instruction aiming at a concentration interface when the terminal is in a concentration mode, and displaying a preset interface based on the touch instruction, wherein the preset interface comprises an editable text box;
acquiring editing content input in the editable text box;
and when the concentration mode is ended, generating a note corresponding to the edited content in a note application.
2. The method of claim 1, wherein displaying a preset interface based on the touch instruction comprises:
and acquiring touch information corresponding to the touch instruction, and switching from the concentration interface to a preset interface and displaying when the touch information is matched with preset touch information.
3. The method of claim 2, wherein the touch information comprises a screen sliding direction, and wherein displaying a preset interface based on the touch instruction comprises:
and when the screen sliding direction is matched with the preset screen sliding direction, switching from the concentration interface to a preset interface and displaying.
4. The method according to claim 1, wherein the preset interface further comprises an application icon of at least one application, and the at least one application is an application which is set to be usable when the terminal is in the focus mode.
5. The method according to claim 4, wherein the editable text box is displayed in a first area of the preset interface, and the application icon of the at least one application is displayed in a second area of the preset interface, wherein the second area is located below the first area.
6. The method of claim 4, wherein after displaying the preset interface based on the touch instruction, further comprising:
receiving a selection instruction of a target application icon in the application icons of the at least one application, and displaying an application interface corresponding to the target application icon based on the selection instruction.
7. The method according to claim 1, wherein the generating a note corresponding to the edited content in a note application includes:
extracting a note theme from the editing content, and acquiring editing time corresponding to the editing content;
generating a note in a note application that includes the note theme and the edit time.
8. A note generation apparatus, comprising:
the interface display module is used for receiving a touch instruction aiming at a concentration interface when the terminal is in a concentration mode, and displaying a preset interface based on the touch instruction, wherein the preset interface comprises an editable text box;
the content acquisition module is used for acquiring the editing content input in the editable text box;
and the note generating module is used for generating a note corresponding to the edited content in the note application when the concentration mode is ended.
9. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to perform the method steps according to any one of claims 1 to 7.
10. A terminal, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1 to 7.
CN202110450782.9A 2021-04-25 2021-04-25 Note generation method, device, storage medium and terminal Pending CN115237319A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110450782.9A CN115237319A (en) 2021-04-25 2021-04-25 Note generation method, device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110450782.9A CN115237319A (en) 2021-04-25 2021-04-25 Note generation method, device, storage medium and terminal

Publications (1)

Publication Number Publication Date
CN115237319A true CN115237319A (en) 2022-10-25

Family

ID=83666148

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110450782.9A Pending CN115237319A (en) 2021-04-25 2021-04-25 Note generation method, device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN115237319A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106406739A (en) * 2016-09-28 2017-02-15 维沃移动通信有限公司 Note generating method and mobile terminal
CN110244888A (en) * 2019-06-11 2019-09-17 惠州Tcl移动通信有限公司 A kind of setting method of behavior pattern, device, storage medium and terminal
CN110995929A (en) * 2019-12-05 2020-04-10 北京小米移动软件有限公司 Terminal control method, device, terminal and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106406739A (en) * 2016-09-28 2017-02-15 维沃移动通信有限公司 Note generating method and mobile terminal
CN110244888A (en) * 2019-06-11 2019-09-17 惠州Tcl移动通信有限公司 A kind of setting method of behavior pattern, device, storage medium and terminal
CN110995929A (en) * 2019-12-05 2020-04-10 北京小米移动软件有限公司 Terminal control method, device, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN109766053B (en) User interface display method, device, terminal and storage medium
US20230035047A1 (en) Remote assistance method, device, storage medium, and terminal
CN110413347A (en) The processing method of advertisement, device, storage medium and terminal in application program
CN111124668A (en) Memory release method and device, storage medium and terminal
US20230117213A1 (en) Page display method and electronic device
CN113268212A (en) Screen projection method and device, storage medium and electronic equipment
CN112218130A (en) Control method and device for interactive video, storage medium and terminal
CN109683760B (en) Recent content display method, device, terminal and storage medium
CN111127469A (en) Thumbnail display method, device, storage medium and terminal
CN109388309B (en) Menu display method, device, terminal and storage medium
CN111913614B (en) Multi-picture display control method and device, storage medium and display
CN111324398A (en) Recent content processing method, device, terminal and storage medium
CN117555459A (en) Application group processing method and device, storage medium and electronic equipment
CN110702346B (en) Vibration testing method and device, storage medium and terminal
CN112995562A (en) Camera calling method and device, storage medium and terminal
CN113825022B (en) Method and device for detecting play control state, storage medium and electronic equipment
CN111857480B (en) Icon alignment method and device, storage medium and electronic equipment
CN115237319A (en) Note generation method, device, storage medium and terminal
CN113490028A (en) Video processing method, device, storage medium and terminal
CN113419650A (en) Data moving method and device, storage medium and electronic equipment
CN111859999A (en) Message translation method, device, storage medium and electronic equipment
CN113450762A (en) Character reading method, device, terminal and storage medium
CN113114849A (en) Alarm clock reminding method and device, storage medium and terminal
CN113595662A (en) Signal prompting method and device, terminal equipment and storage medium
CN111538997A (en) Image processing method, image processing device, storage medium and terminal

Legal Events

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