CN108664195B - Note generation method and mobile terminal - Google Patents

Note generation method and mobile terminal Download PDF

Info

Publication number
CN108664195B
CN108664195B CN201810464378.5A CN201810464378A CN108664195B CN 108664195 B CN108664195 B CN 108664195B CN 201810464378 A CN201810464378 A CN 201810464378A CN 108664195 B CN108664195 B CN 108664195B
Authority
CN
China
Prior art keywords
picture
note
target content
input
pattern
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.)
Active
Application number
CN201810464378.5A
Other languages
Chinese (zh)
Other versions
CN108664195A (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810464378.5A priority Critical patent/CN108664195B/en
Publication of CN108664195A publication Critical patent/CN108664195A/en
Application granted granted Critical
Publication of CN108664195B publication Critical patent/CN108664195B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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
    • 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
    • G06F3/04845Interaction 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 for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/189Automatic justification

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Processing Or Creating Images (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides a note generation method and a mobile terminal, which are applied to the technical field of terminals and are used for solving the problems that the existing note making mode is single and complicated. The method comprises the following steps: displaying a first picture on a note editing interface; receiving a first input of a user for drawing a first pattern on a drawing area of a note editing interface; in response to the first input, inserting target content corresponding to the first pattern on the drawing area; typesetting the first picture and the target content to generate a note; the drawing area is a display area of the first picture.

Description

Note generation method and mobile terminal
Technical Field
The embodiment of the invention relates to the technical field of terminals, in particular to a note generation method and a mobile terminal.
Background
At present, with the continuous popularization of mobile terminals (such as smart phones), the dependence of people on the mobile terminals is also enhanced, and more users use a note function in the mobile terminals to record information such as schedules, important appointments, notes and the like, so that the users can conveniently record information or view the recorded information anytime and anywhere.
In the prior art, when a mobile terminal generates a note, characters that a user wants to record are usually recorded in a note editing interface, then a picture is inserted on the basis of the character records in the note editing interface, and the recorded character contents are displayed in an aspect mode through the inserted picture. However, it is difficult to highlight the emphasis of the picture with the memo inserted with the picture in the simple text. Therefore, when a user wants to use a simple picture as a memo, the mobile terminal is required to edit the picture, edit the note of the picture into the picture to form a new picture, and use the new picture as a memo, so as to facilitate reading and understanding by the user.
However, after the user imports the edited picture into the note editing interface, if the annotation in the edited picture needs to be modified, the picture needs to be newly created and imported, and the note creation mode is single and tedious.
Disclosure of Invention
The embodiment of the invention provides a note generating method and a mobile terminal, and aims to solve the problems that the existing note making mode is single and complicated.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, a note generation method is provided, including:
displaying a first picture on a note editing interface;
receiving a first input of a user for drawing a first pattern on a drawing area of the note editing interface;
in response to the first input, inserting target content corresponding to the first pattern on the drawing area;
typesetting the first picture and the target content to generate a note;
wherein the drawing area is a display area of the first picture.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, including:
the display module is used for displaying a first picture on the note editing interface;
the receiving module is used for receiving first input of drawing a first pattern on a drawing area of the note editing interface by a user;
an inserting module, configured to insert, in response to the first input received by the receiving module, target content corresponding to the first pattern on the drawing area;
the generating module is used for typesetting the first picture displayed by the display module and the target content inserted by the inserting module to generate a note;
wherein the drawing area is a display area of the first picture.
In a third aspect, an embodiment of the present invention provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the note generating method according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the note generating method according to the first aspect.
In the embodiment of the invention, the mobile terminal sets the display position of the first picture displayed on the note editing interface as the drawing area, so that the target content corresponding to the first pattern directly drawn on the drawing area of the note editing interface by the user is inserted into the drawing area, the annotation of the first picture can be directly added to the first picture by the user, no additional picture editing is needed, the subsequent text matching trouble is omitted, and the note making mode is increased.
Drawings
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a note generation method according to an embodiment of the present invention;
FIG. 3 is a schematic view of an interface of a note generation method according to an embodiment of the present invention;
FIG. 4 is a second schematic diagram of an interface of a note generation method according to the embodiment of the present invention;
fig. 5 is a third schematic view of an interface of a note generation method according to the embodiment of the present invention;
fig. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 7 is a second schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship. As used herein, the term "plurality" means two or more unless otherwise specified.
For the convenience of clearly describing the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, the words "first", "second", etc. are used to distinguish the same items or similar items with basically the same functions or actions, and those skilled in the art can understand that the words "first", "second", etc. do not limit the quantity and execution order.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "such as" in an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion. In the embodiments of the present invention, "of", "corresponding" and "corresponding" may be sometimes used in combination, and it should be noted that the intended meaning is consistent when the difference is not emphasized. The meaning of "a plurality" in the embodiments of the present invention means two or more.
The mobile terminal in the embodiment of the present invention may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted mobile terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc.; the non-mobile terminal may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, or the like; the embodiments of the present invention are not particularly limited.
The execution main body of the note generating method provided by the embodiment of the present invention may be the mobile terminal, or may also be a functional module and/or a functional entity capable of implementing the note generating method in the mobile terminal, and may be specifically determined according to actual use requirements, which is not limited in the embodiment of the present invention. The following takes a mobile terminal as an example to exemplarily describe the note generating method provided by the embodiment of the present invention.
The terminal in the embodiment of the present invention may be a terminal having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
The following describes a software environment to which the note generation method provided by the embodiment of the present invention is applied, by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer comprises libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the note generating method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the note generating method may operate based on the android operating system shown in fig. 1. That is, the processor or the mobile terminal may implement the note generating method provided by the embodiment of the present invention by running the software program in the android operating system.
The first embodiment:
the note generation method according to the embodiment of the present invention is described below with reference to a flow chart of the note generation method shown in fig. 2, where fig. 2 is a flow chart of the note generation method according to the embodiment of the present invention, and the flow chart includes steps S201 to S204:
s201, the mobile terminal displays a first picture on a note editing interface.
In this embodiment of the present invention, the first picture may be a picture taken in real time after the user opens the camera on the note editing interface, or may be a picture selected by the user from stored pictures, which is not limited in this invention.
Optionally, in the embodiment of the present invention, after the camera is opened in the note editing interface, after the first picture is taken through the camera, the user may not directly import the note editing interface, but may directly enter the picture preprocessing interface, display the first picture on the picture preprocessing interface, and display a prompt at the top of the picture preprocessing interface to prompt the user to directly add an annotation to the first picture, where the annotation added by the user may be displayed in a suspended manner on the first picture, and then import the picture added with the annotation into the note editing interface, where the annotation in the note editing interface is in an editable state.
S202, the mobile terminal receives a first input of drawing a first pattern on a drawing area of the note editing interface by a user.
In an embodiment of the present invention, the drawing area is a display area of a first picture on the memo editing interface.
In the embodiment of the invention, when a plurality of pictures are displayed on the note editing interface, the display areas of all the pictures displayed on the note editing interface are the drawing areas of the note editing interface.
S203, responding to the first input, the mobile terminal inserts the target content corresponding to the first pattern on the drawing area.
Optionally, in the embodiment of the present invention, the mobile terminal may select to directly add the target content to the drawing area, that is, directly display the target content on the first picture, or select to hide the target content, and when displaying the memo, perform a specific operation on the memo to display the target content, for example, after receiving the first input, preview the target content on the first picture, then click the target content, and hide the target content.
Optionally, in this embodiment of the present invention, the target content is a second picture, and a pattern in the second picture is a first pattern, that is, a second picture is created by drawing the first pattern on a drawing area of the memo editing interface by a user. Further optionally, in an embodiment of the present invention, the picture background of the second picture may be set with a transparent background.
Optionally, in the embodiment of the present invention, the target content may include one or more of a picture, a text, and an audio. For example, when a user wants to insert a segment of text into the first picture, the user can draw a segment of text on the note editing interface, and then when the mobile terminal detects that the first pattern drawn by the user is a text pattern, the mobile terminal displays the text on the drawing area and also can display the text editing interface, so that the user can conveniently edit or insert the text.
Optionally, in this embodiment of the present invention, the first pattern is a text pattern, and the target content is a target text corresponding to the text pattern, at this time, the mobile terminal may display a text editing interface on the note editing interface to edit a font, a color, and a size corresponding to the target text, and finally, display the edited target text in the drawing area.
Optionally, in an embodiment of the present invention, the first pattern is a text pattern, and before S203, the method further includes the following steps:
s203a, responding to the first input, and displaying a character editing interface on the note editing interface by the mobile terminal.
In an embodiment of the present invention, a target text corresponding to the text pattern is displayed in the text editing interface.
S203b, the mobile terminal receives the character information input by the user on the character editing interface.
In an embodiment of the present invention, the target content is a text displayed in the text editing interface.
S204, the mobile terminal typesets the first picture and the target content to generate the note.
In the embodiment of the present invention, when the mobile terminal typesets the first photo and the target content, assuming that the target content is a text annotation, in order to facilitate a user to browse a note, the length of the annotation of the photo (i.e. the target content) may be set, for example, the suggested length does not exceed 15-24 words. In addition, the target content in the note editing interface in the embodiment of the invention can move in the note editing interface along with the operation of the user. For example, when the user moves the target content to the periphery of the first picture, the text around the first picture automatically readjusts the position.
Optionally, in the embodiment of the present invention, if the target content is a text, the mobile terminal may provide a specific display format according to a text format and/or a picture format of the first picture input by the user.
Example 1: assuming that the target content input by the user is in the form of three line poems and does not exceed 15-24 characters or words, at this time, the display effect of the target content can be set to be displayed in a larger font, and the specific display effect is as shown in fig. 3.
Example 2: assuming that the target content input by the user is a single line of characters and the first picture is a horizontal or equal-width picture, if the number of characters of the target content does not exceed 6 characters or words, the display effect of the target content is set to be displayed in the first picture and the first picture is displayed in a fuzzy manner, and the specific display effect is shown in fig. 4.
Example 3: assuming that the target content input by the user is a single-line character and the first picture is a longitudinal picture, if the number of words of the target content does not exceed 10 to 15 words or phrases, the target content is displayed on the side of the picture, and the target content is written longitudinally, and the specific display effect is shown in fig. 4.
According to the note generation method provided by the embodiment of the invention, the mobile terminal sets the display position of the first picture displayed on the note editing interface as the drawing area, so that the target content corresponding to the first pattern directly drawn on the drawing area of the note editing interface by the user is inserted into the drawing area, the annotation of the first picture can be directly added to the first picture by the user, no additional picture editing is needed, the subsequent trouble of text preparation is omitted, and the note making mode is increased.
Optionally, in this embodiment of the present invention, before S202, the method further includes the following steps:
s202a, the mobile terminal determines a drawing mode corresponding to the picture attribute according to the picture attribute information of the first picture.
In the embodiment of the present invention, the picture attribute information of the first picture is used to represent the picture category to which the first picture belongs, for example, the picture may be classified according to the pattern category in the picture, and may be classified into a landscape picture and a character picture, or the picture may be classified into a character picture and a non-character picture according to whether the picture contains characters, or the picture may be classified into a dark-color picture and a light-color picture according to the difference of the dominant hue in the picture.
In an embodiment of the present invention, the above drawing manner includes at least one of the following: the drawing tool and the drawing color corresponding to the drawing tool. Wherein, the drawing work includes but is not limited to: fine pen, thick pen and row brush.
S202b, the mobile terminal acquires the first pattern drawn by the user according to the drawing mode.
Optionally, in the embodiment of the present invention, since one picture may have multiple picture attributes at the same time, for example, one picture includes both a portrait and a landscape, the mobile terminal may automatically switch to the corresponding drawing mode according to the picture attribute of the region where the drawing position of the user for drawing the first pattern on the first picture is located.
For example, if the first picture is a non-text picture, the drawing tool in the drawing area is directly switched to the pen, the text drawn or written by the user directly covers the content of the note path in the first picture to highlight the key point, and the color of the pen can be changed to an opposite color according to the main color of the first picture. If the first picture is a character picture, the drawing tool in the drawing area is directly switched to the highlighter pen, the color is basically transparent, and a user can not hide original contents but make the sketched contents clearer instead. If the first picture is a landscape picture, the drawing tool in the drawing area is switched to a smaller painting brush, and the color of the water pen can be opposite to the color of the main color tone of the first picture. If the first picture is a human image, the drawing tool in the drawing area is switched to a smaller painting brush, and the color of the water pen can be light.
According to the note generating method provided by the embodiment of the invention, the display area of the first picture displayed on the note editing interface is set as the drawing area, the first picture is directly used as the canvas as the display area for the user to create on-demand, meanwhile, the mobile terminal can directly identify the picture attribute information of the first picture, and the drawing tool and the drawing color corresponding to the drawing tool are automatically switched for the user according to the picture attribute information of the first picture, so that the expense of picture editing time is greatly reduced.
Optionally, in this embodiment of the present invention, after S204, that is, after the mobile terminal generates the note, the method further includes the following steps:
s204a, the mobile terminal displays the note.
And S204b, the mobile terminal receives a second input of the user on the note.
And S204c, the mobile terminal responds to the second input and displays the target content according to the preset display mode corresponding to the second input.
In this embodiment of the present invention, the second input of the user may specifically be: the note processing method includes the steps that clicking operation of a user on a note is conducted, pressing operation of the user on the note is conducted, specific gestures of the user on the note are conducted, specific operation of the user on a first picture in the note is conducted, and the like. The clicking operation can be a single-click operation, a double-click operation or a continuous clicking operation for a preset number of times. The specific gesture may be any one of a single-click gesture, a sliding gesture, a pressure recognition gesture, a long-press gesture, a double-press gesture, and a double-click gesture.
In an embodiment of the invention, the preset display mode includes at least one of the following: and each display mode corresponds to one second input.
Further optionally, in the embodiment of the present invention, it is assumed that the target content is not displayed in the note, and the second input is used to trigger the mobile terminal to control the first picture displayed in the note to be displayed in a flip manner.
Exemplarily, S204c specifically includes the following steps:
s204c1, the mobile terminal responds to the second input, the first picture in the note is controlled to be displayed in a turned mode, and target content is displayed on the turned first picture.
In the embodiment of the invention, the mobile terminal can select to hide the target content at the back of the first picture, and the user can display the target content hidden behind the first picture by executing a second input for triggering the mobile terminal to control the first picture to be displayed in a turned-over mode.
In one example, the second input may be a sliding operation of the first picture displayed in the note by the user.
In another example, the above note includes a page turning control, where the page turning control is used to trigger the mobile terminal to control the first picture to be displayed in a turned manner. As shown in fig. 5, a page turning control (i.e., 32 in fig. 5) is displayed at the upper left corner of the first picture (i.e., 31 in fig. 5) in the note, and as shown in (a) in fig. 5, the user can click on the page turning control, thereby controlling the page turning display of the first picture and displaying the back side of the first picture, the back side of the first picture is displayed with the target content (i.e., the user annotates the first picture), and the display effect is shown in (b) in fig. 5.
In the embodiment of the present invention, the target content displayed on the back side of the first picture may automatically fade out and disappear after being displayed for a certain time.
Therefore, the annotation content (namely the target content) of the first picture is displayed behind the first picture, so that the target content is selectively displayed under the condition that the user needs to know the annotation of the first picture, the user can conveniently read the note without being influenced on the premise that the user understands the picture content in the note, meanwhile, the target content is browsed in a page turning mode, the real picture turning mode is restored, the user experience is improved, and the reading interest is increased.
Second embodiment:
fig. 6 is a schematic diagram of a possible structure of a mobile terminal according to an embodiment of the present invention, as shown in fig. 6, a mobile terminal 400 includes a display module 401, a receiving module 402, an inserting module 403, and a generating module 404, where:
the display module 401 is configured to display the first picture on the note editing interface.
A receiving module 402, configured to receive a first input of a user drawing a first pattern on a drawing area of a note editing interface.
An inserting module 403, configured to insert the target content corresponding to the first pattern on the drawing area in response to the first input received by the receiving module 402.
A generating module 404, configured to perform typesetting on the first picture displayed by the display module 401 and the target content inserted by the inserting module 403, and generate a note.
The drawing area is a display area of the first picture.
Optionally, the target content is a second picture, and the pattern in the second picture is a first pattern.
Optionally, the first pattern is a character pattern; the display module 401 is further configured to, in response to the first input received by the receiving module 402, display a text editing interface on the note editing interface, where target texts corresponding to text patterns are displayed in the text editing interface; the receiving module 402 is further configured to receive text information input by a user on a text editing interface; the target content is characters displayed in a character editing interface.
Optionally, the display module 401 is further configured to display a note; a receiving module 402, further configured to receive a second input of the user on the note; the display module 401 is further configured to, in response to the second input received by the receiving module 402, display the target content according to a preset display manner corresponding to the second input.
Optionally, the target content is not displayed in the note; the second input is used for triggering the mobile terminal to control the first picture displayed in the note to be displayed in a turned-over mode; the display module 401 is specifically configured to: and controlling the first picture in the note to be turned over and displayed, wherein the target content is displayed on the turned-over first picture.
According to the mobile terminal provided by the embodiment of the invention, the display position of the first picture displayed on the note editing interface is set as the drawing area, so that the target content corresponding to the first pattern directly drawn on the drawing area of the note editing interface by the user is inserted into the drawing area, the annotation of the first picture can be directly added to the first picture by the user, no additional picture editing is needed, the subsequent text configuration trouble is omitted, and the note making mode is increased.
The mobile terminal provided by the embodiment of the present invention can implement each process implemented by the mobile terminal in the above method embodiments, and is not described herein again to avoid repetition.
The third embodiment:
fig. 7 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the mobile terminal 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the configuration of the mobile terminal 100 shown in fig. 7 does not constitute a limitation of the mobile terminal, and that the mobile terminal 100 may include more or less components than those shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal 100 includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The display unit 106 is configured to display the first picture on the note editing interface, the user input unit 107 is configured to receive a first input that a user draws a first pattern on a drawing area of the note editing interface, and the processor is configured to insert target content corresponding to the first pattern on the drawing area in response to receiving the first input by the user input unit 107, and to typeset the first picture and the target content to generate a note; the drawing area is a display area of the first picture.
According to the mobile terminal provided by the embodiment of the invention, the display position of the first picture displayed on the note editing interface is set as the drawing area, so that the target content corresponding to the first pattern directly drawn on the drawing area of the note editing interface by the user is inserted into the drawing area, the annotation of the first picture can be directly added to the first picture by the user, additional picture editing is not needed, the subsequent worries of text configuration are saved, and the note making mode is increased.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal 100 provides the user with wireless broadband internet access via the network module 102, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of the phone call mode.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal 100. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, the other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel is transmitted to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 7, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the mobile terminal 100, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal 100, and is not limited herein.
The interface unit 108 is an interface through which an external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal 100, connects various parts of the entire mobile terminal 100 using various interfaces and lines, and performs various functions of the mobile terminal 100 and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby monitoring the mobile terminal 100 as a whole. Processor 110 may include one or more processing units; alternatively, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and optionally, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system.
In addition, the mobile terminal 100 includes some functional modules that are not shown, and thus, the detailed description thereof is omitted.
The fourth embodiment:
optionally, an embodiment of the present invention further provides a mobile terminal, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor 110, where the computer program, when executed by the processor, implements each process of the above-mentioned note generating method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
Fifth embodiment:
the embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above embodiment of the note generating method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a mobile terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (5)

1. A note generation method, comprising:
displaying a first picture on a note editing interface;
receiving a first input of a user for drawing a first pattern on a drawing area of the note editing interface;
in response to the first input, inserting target content corresponding to the first pattern on the drawing area;
typesetting the first picture and the target content to generate a note;
the drawing area is a display area of the first picture, the target content is a second picture, and a pattern in the second picture is the first pattern;
before the receiving a first input that a user draws a first pattern on a drawing area of the note editing interface, the method further comprises:
determining a drawing mode corresponding to the picture attribute according to the picture attribute information of the first picture;
acquiring the first pattern drawn by the user according to the drawing mode;
the drawing mode comprises a drawing tool and/or a drawing color corresponding to the drawing tool;
after the typesetting is performed on the first picture and the target content and the note is generated, the method further includes:
displaying the note;
receiving a second input of the user on the note;
responding to the second input, and displaying the target content according to a preset display mode corresponding to the second input;
the target content is not displayed in the note; the second input is used for triggering the mobile terminal to control the first picture displayed in the note to be displayed in a turning mode;
displaying the target content according to a preset display mode corresponding to the second input, including:
controlling the first picture in the note to be turned over for display, wherein the target content is displayed on the turned-over first picture;
the method further comprises the following steps: and fading out the target content and displaying the target content in a disappearing mode after the preset time length of the target content is displayed.
2. The method of claim 1, wherein the first pattern is a text pattern;
before inserting the target content corresponding to the first pattern on the drawing area, the method further includes:
responding to the first input, displaying a text editing interface on the note editing interface, wherein target texts corresponding to the text patterns are displayed in the text editing interface;
receiving text information input by a user on the text editing interface;
wherein the target content comprises text displayed in the text editing interface.
3. A mobile terminal, comprising:
the display module is used for displaying the first picture on the note editing interface;
the receiving module is used for receiving first input of drawing a first pattern on a drawing area of the note editing interface by a user;
an inserting module, configured to insert, in response to the first input received by the receiving module, target content corresponding to the first pattern on the drawing area;
the generating module is used for typesetting the first picture displayed by the display module and the target content inserted by the inserting module to generate a note;
the drawing area is a display area of the first picture, the target content is a second picture, and a pattern in the second picture is the first pattern;
the determining module is used for determining a drawing mode corresponding to the picture attribute according to the picture attribute information of the first picture;
the obtaining module is used for obtaining the first pattern drawn by the user according to the drawing mode determined by the determining module;
the drawing mode comprises a drawing tool and/or a drawing color corresponding to the drawing tool;
the display module is also used for displaying the note;
the receiving module is further used for receiving a second input of the user on the note;
the display module is further configured to respond to the second input received by the receiving module and display the target content according to a preset display mode corresponding to the second input;
the target content is not displayed in the note; the second input is used for triggering the mobile terminal to control the first picture displayed in the note to be displayed in a turning mode;
the display module is specifically configured to: controlling the first picture in the note to be displayed in a turning mode, wherein the target content is displayed on the turned first picture;
the display module is further used for fading out and disappearing the target content for display after the preset time length of the target content is displayed.
4. The mobile terminal of claim 3, wherein the first pattern is a text pattern;
the display module is further configured to display a text editing interface on the note editing interface in response to the first input received by the receiving module, where a target text corresponding to the text pattern is displayed in the text editing interface;
the receiving module is further used for receiving the text information input by the user on the text editing interface;
wherein the target content comprises text displayed in the text editing interface.
5. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the note generation method according to claim 1 or 2.
CN201810464378.5A 2018-05-15 2018-05-15 Note generation method and mobile terminal Active CN108664195B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810464378.5A CN108664195B (en) 2018-05-15 2018-05-15 Note generation method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810464378.5A CN108664195B (en) 2018-05-15 2018-05-15 Note generation method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108664195A CN108664195A (en) 2018-10-16
CN108664195B true CN108664195B (en) 2023-02-03

Family

ID=63779527

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810464378.5A Active CN108664195B (en) 2018-05-15 2018-05-15 Note generation method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108664195B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808782A (en) * 2016-03-31 2016-07-27 广东小天才科技有限公司 Adding method and device for picture labels
CN106055533A (en) * 2016-05-30 2016-10-26 乐视控股(北京)有限公司 Note generation method and apparatus, and terminal
CN107943397A (en) * 2017-11-27 2018-04-20 努比亚技术有限公司 A kind of note generation method, mobile terminal and computer-readable recording medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808782A (en) * 2016-03-31 2016-07-27 广东小天才科技有限公司 Adding method and device for picture labels
CN106055533A (en) * 2016-05-30 2016-10-26 乐视控股(北京)有限公司 Note generation method and apparatus, and terminal
CN107943397A (en) * 2017-11-27 2018-04-20 努比亚技术有限公司 A kind of note generation method, mobile terminal and computer-readable recording medium

Also Published As

Publication number Publication date
CN108664195A (en) 2018-10-16

Similar Documents

Publication Publication Date Title
CN108762954B (en) Object sharing method and mobile terminal
CN111061574B (en) Object sharing method and electronic device
CN107943390B (en) Character copying method and mobile terminal
CN111338530B (en) Control method of application program icon and electronic equipment
CN109471692B (en) Display control method and terminal equipment
CN111586237B (en) Image display method and electronic equipment
WO2020151519A1 (en) Information input method, terminal device, and computer-readable storage medium
WO2021129536A1 (en) Icon moving method and electronic device
WO2020220873A1 (en) Image display method and terminal device
CN111596817B (en) Icon moving method and electronic equipment
CN110703972B (en) File control method and electronic equipment
CN108646960B (en) File processing method and flexible screen terminal
CN110908554B (en) Long screenshot method and terminal device
CN111274777A (en) Thinking guide graph display method and electronic equipment
WO2020220893A1 (en) Screenshot method and mobile terminal
CN109815462B (en) Text generation method and terminal equipment
CN111127595A (en) Image processing method and electronic device
CN111124709A (en) Text processing method and electronic equipment
CN108563392B (en) Icon display control method and mobile terminal
CN108710521B (en) Note generation method and terminal equipment
CN111273992B (en) Icon display method and electronic equipment
CN110780795A (en) Screen capturing method and electronic equipment
CN111459356A (en) Interface display method and electronic equipment
CN108614725B (en) Interface display method and terminal
CN111158558A (en) Label adding method and electronic equipment

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
GR01 Patent grant
GR01 Patent grant