CN115826813A - Drawing method, intelligent terminal and storage medium - Google Patents

Drawing method, intelligent terminal and storage medium Download PDF

Info

Publication number
CN115826813A
CN115826813A CN202211680158.9A CN202211680158A CN115826813A CN 115826813 A CN115826813 A CN 115826813A CN 202211680158 A CN202211680158 A CN 202211680158A CN 115826813 A CN115826813 A CN 115826813A
Authority
CN
China
Prior art keywords
application
editing
target application
instruction
drawing tool
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
CN202211680158.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.)
Shenzhen Transsion Holdings Co Ltd
Original Assignee
Shenzhen Transsion Holdings 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 Shenzhen Transsion Holdings Co Ltd filed Critical Shenzhen Transsion Holdings Co Ltd
Priority to CN202211680158.9A priority Critical patent/CN115826813A/en
Publication of CN115826813A publication Critical patent/CN115826813A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a drawing method, an intelligent terminal and a storage medium, wherein the drawing method is applied to processing equipment and comprises the following steps: responding to the first operation, and outputting a drawing tool suspension icon and/or a drawing tool; responding to a second operation of the drawing tool, and determining or generating a target application and/or a drawing instruction corresponding to the second operation; and drawing in the target application based on the drawing instruction. Through the technical scheme, the overall use of the drawing tool can be realized, when at least one application is used synchronously, the intelligent terminal can send the drawing instruction to the corresponding target application according to the detected second operation, the drawing tool does not need to be opened in each application, the operation is simplified, the overall efficiency is improved, the technical problem that the efficiency for synchronously using at least one application to draw is low is solved, and the user experience is further improved.

Description

Drawing method, intelligent terminal and storage medium
Technical Field
The application relates to the technical field of intelligent terminals, in particular to a drawing method, an intelligent terminal and a storage medium.
Background
With the development of intelligent terminal technology, people increasingly use intelligent terminals to record or work, in the process of recording or working by using the intelligent terminals, drawing tools are often needed to draw, mark, record and the like, at present, a plurality of note-type applications, drawing-type applications, office-type applications and the like are provided with the functions of the drawing tools, however, when a user needs to synchronously use at least one application, especially under the condition that a mobile phone works with a plurality of pictures or a plurality of devices in a coordinated manner, such as mirror image display and control of a computer, split screen and the like, each application needs to be repeatedly opened with the drawing tools, the operation is complex, and the overall efficiency is low.
In the course of conceiving and implementing the present application, the inventors found that at least the following problems existed: the efficiency of simultaneous rendering using at least one application is low.
The foregoing description is provided for general background information and is not admitted to be prior art.
Disclosure of Invention
In view of the above technical problems, the present application provides a drawing method, an intelligent terminal and a storage medium, so that a user can more flexibly complete self-timer shooting, and the operation is simple and convenient.
In order to solve the above technical problem, the present application provides a drawing method applied to an intelligent terminal, including:
s10: responding to the first operation, and outputting a drawing tool suspension icon and/or a drawing tool;
s20: responding to a second operation of the drawing tool, and determining or generating a target application and/or a drawing instruction corresponding to the second operation;
s30: and drawing in the target application based on the drawing instruction.
Optionally, after the step S10, the method further includes:
and hiding or displaying the drawing tool when the triggering operation of the drawing tool suspension icon is detected.
Optionally, after the step S10, the method further includes:
hiding a drawing tool hover icon and/or a drawing tool in response to a third operation of the drawing tool.
Optionally, the step S30 includes:
s31: judging whether the target application belongs to an editing application or not;
s32: and if the target application belongs to the editing application, drawing in the target application based on the drawing instruction.
Optionally, the step S32 includes:
s321: if the target application belongs to the editing application, determining or generating a functional area where the second operation is located according to the drawing position information of the second operation;
s322: and if the second operation is in the drawing area of the editing application, drawing in the target application based on the drawing instruction.
Optionally, after step S321, the method further includes:
if the second operation is in the editing area of the editing application, determining or generating an editing instruction corresponding to the drawing instruction;
and editing in the target application based on the editing instruction.
Optionally, after step S321, the method further includes:
if the second operation is in the operation area of the editing application, determining or generating an operation instruction corresponding to the drawing instruction;
and operating in the target application based on the operation instruction.
Optionally, after step S31, the method further includes:
if the target application does not belong to the editing application, intercepting a display interface image of the target application;
and drawing in the display interface image based on the drawing instruction, and outputting a drawing note corresponding to the target application.
The application also provides an intelligent terminal, including: the system comprises a memory and a processor, wherein the memory stores a drawing program, and the drawing program realizes the steps of the method when being executed by the processor.
The present application also provides a storage medium storing a computer program which, when executed by a processor, performs the steps of the method as described above.
As described above, the drawing method of the present application, applied to an intelligent terminal, includes the steps of: responding to the first operation, and outputting a drawing tool suspension icon and/or a drawing tool; responding to a second operation of the drawing tool, and determining or generating a target application and/or a drawing instruction corresponding to the second operation; and drawing in the target application based on the drawing instruction. Through the technical scheme, the global use of the drawing tool can be realized, a user only needs to consider whether the drawing tool needs to be used currently or not, the drawing tool is called through first operation and drawn by using the drawing tool when the drawing tool needs to be used, when at least one application is used in multiple synchronization, the intelligent terminal can send the drawing instruction to the corresponding target application respectively according to the detected second operation, the drawing tool does not need to be opened in each application respectively, the repeated operation of opening the drawing tool is reduced, the operation is simplified, the overall efficiency is improved, the technical problem that the efficiency of drawing by using at least one application synchronously is low is solved, and further the user experience is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic diagram of a hardware structure of an intelligent terminal implementing various embodiments of the present application;
fig. 2 is a communication network system architecture diagram according to an embodiment of the present application;
FIG. 3 is a schematic flow chart diagram of a first embodiment of a rendering method of the present application;
FIG. 4 is an interface diagram of one possible embodiment of a rendering method of the present application;
FIG. 5 is a schematic flow chart diagram of a second embodiment of a rendering method of the present application;
fig. 6 is a schematic flow chart of a third embodiment of the drawing method of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings. With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
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, the recitation of a claim "comprising a" 8230a "\8230means" does not exclude the presence of additional identical elements in the process, method, article or apparatus in which the element is incorporated, and further, similarly named components, features, elements in different embodiments of the application may have the same meaning or may have different meanings, the specific meaning of which should be determined by its interpretation in the specific embodiment or by further combination with the context of the specific embodiment.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope herein. The word "if," as used herein, may be interpreted as "at \8230; \8230when" or "when 8230; \823030when" or "in response to a determination," depending on the context. Also, as used herein, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes" and/or "including," when used in this specification, specify the presence of stated features, steps, operations, elements, components, items, species, and/or groups, but do not preclude the presence, or addition of one or more other features, steps, operations, elements, components, items, species, and/or groups thereof. The terms "or," "and/or," "including at least one of the following," and the like, as used herein, are to be construed as inclusive or mean any one or any combination. For example, "includes at least one of: A. b, C "means" any of the following: a; b; c; a and B; a and C; b and C; a and B and C ", again for example," a, B or C "or" a, B and/or C "means" any one of the following: a; b; c; a and B; a and C; b and C; a and B and C'. An exception to this definition will occur only when a combination of elements, functions, steps or operations are inherently mutually exclusive in some way.
It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, in different orders, and may be performed alternately or at least partially with respect to other steps or sub-steps of other steps.
The words "if", as used herein may be interpreted as "at \8230; \8230whenor" when 8230; \8230when or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
It should be noted that step numbers such as S10 and S20 are used herein for the purpose of more clearly and briefly describing the corresponding contents, and do not constitute a substantial limitation on the sequence, and those skilled in the art may perform S20 first and then S10 in the specific implementation, but these should be within the protection scope of the present application.
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning in themselves. Thus, "module", "component" or "unit" may be used mixedly.
The smart terminal may be implemented in various forms. For example, the smart terminal described in the present application may include smart terminals such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and fixed terminals such as a Digital TV, a desktop computer, and the like.
While the following description will be given by way of example of a smart terminal, those skilled in the art will appreciate that the configuration according to the embodiments of the present application can be applied to a fixed type terminal in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of an intelligent terminal for implementing various embodiments of the present application, the intelligent terminal 100 may include: RF (Radio Frequency) unit 101, wiFi module 102, audio output unit 103, a/V (audio/video) 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 intelligent terminal architecture shown in fig. 1 does not constitute a limitation of the intelligent terminal, and that the intelligent terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
The following specifically describes each component of the intelligent terminal with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to 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 wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000 ), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex-Long Term Evolution), TDD-LTE (Time Division duplex-Long Term Evolution, time Division Long Term Evolution), 5G, and so on.
WiFi belongs to short-distance wireless transmission technology, and the intelligent terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the smart terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the smart terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the smart terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is for receiving an audio or video signal. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures 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 WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The smart terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor and a proximity sensor, the ambient light sensor may adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1061 and/or the backlight when the smart terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
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 intelligent terminal. Alternatively, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Optionally, the touch detection device detects a touch orientation of a user, detects a signal caused by a 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 can receive and execute 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. Optionally, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited thereto.
Alternatively, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation on or near the touch panel 1071, the touch operation 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. 1, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the intelligent terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the intelligent terminal, which is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the smart 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 an external device and transmit the received input to one or more elements within the smart terminal 100 or may be used to transmit data between the smart terminal 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a program storage area and a data storage area, and optionally, the program storage area may store an operating system, an application program (such as a sound playing function, an image playing function, and the like) required by at least one function, 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 intelligent terminal, connects various parts of the entire intelligent terminal using various interfaces and lines, and performs various functions of the intelligent terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the intelligent terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, optionally, the application processor mainly handles operating systems, user interfaces, application programs, etc., and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The intelligent terminal 100 may further include a power supply 111 (such as a battery) for supplying power to each component, and preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
Although not shown in fig. 1, the smart terminal 100 may further include a bluetooth module or the like, which is not described herein.
In order to facilitate understanding of the embodiments of the present application, a communication network system on which the intelligent terminal of the present application is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present disclosure, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an e-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an epc (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Optionally, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Alternatively, the eNodeB2021 may be connected with other enodebs 2022 through a backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an hss (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a pgw (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. Optionally, the MME2031 is a control node that handles signaling between the UE201 and the EPC203, providing bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present application is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, 5G, and future new network systems (e.g. 6G), and the like.
Based on the above intelligent terminal hardware structure and communication network system, various embodiments of the present application are provided.
First embodiment
Referring to fig. 3, fig. 3 is a schematic flow chart of a first embodiment of the drawing method of the present application. In this embodiment, the rendering method of the present application is applied to the smart terminal as described above, and based on this, in this embodiment and other possible embodiments described below, the rendering method of the present application is described by taking the smart terminal as a scheme execution subject.
In this embodiment, the drawing method of the present application includes:
step S10: responding to the first operation, and outputting a drawing tool suspension icon and/or a drawing tool;
in this embodiment, it should be noted that the drawing tool is a tool for drawing an image, and includes a painting brush, an eraser, a circling tool, and the like; the drawing tool floating icon is used for performing operations such as unfolding, hiding, moving and/or setting on a drawing tool, optionally, the drawing tool can be hidden or displayed when the clicking operation on the drawing tool floating icon is detected, a setting panel of the drawing tool can be displayed when the long-time pressing operation on the drawing tool floating icon is detected, and the position of the drawing tool can be adjusted when the dragging operation on the drawing tool floating icon is detected; the first operation is a preset operation for starting a function of the drawing tool, the first operation may be a gesture operation, a click operation based on a control, and the like, and optionally, the first operation may be two click operations performed by three touch points at the same time, that is, the intelligent terminal detects the click operation performed by the three touch points at the same time at two consecutive times within a preset short time interval.
Optionally, the intelligent terminal continuously detects user operation in the process of power-on operation, and outputs a drawing tool suspension icon and/or a drawing tool on a display interface of the intelligent terminal in response to the first operation when the first operation is detected.
Optionally, after the step S10, the method further includes:
and hiding or displaying the drawing tool when the triggering operation of the drawing tool suspension icon is detected.
In this embodiment, after a drawing tool floating icon and/or a drawing tool is output, a user operation is continuously detected, when a trigger operation of the drawing tool floating icon is detected, it is determined whether a current display state of the drawing tool is a hidden state or a displayed state, if the current display state of the drawing tool is the hidden state, the drawing tool is displayed, and if the current display state of the drawing tool is the displayed state, the drawing tool is hidden, optionally, the trigger operation may be a preset number of click operation, a long press operation, a 3D (3-dimension, three-dimensional) touch operation, or the like. Because the drawing tools are usually multiple, in the actual drawing process after the drawing tools are determined, the display of the drawing tools may interfere with the visual field of a user, the user is often required to continuously adjust the display position of the drawing tools to avoid shielding the display interface, the reality and the hiding of the drawing tools can be quickly and conveniently realized through the triggering operation of the suspension icons of the drawing tools, and then when the drawing tools need to be selected or set, the user can simply and quickly display the drawing tools, and when the visual field interference is caused, the user can also simply and quickly hide the drawing tools, so that the operation is simplified, and the overall efficiency is improved.
Optionally, after the step S10, the method further includes:
hiding a drawing tool hover icon and/or a drawing tool in response to a third operation of the drawing tool.
In this embodiment, the third operation is a preset operation for pausing a function of a drawing tool, the third operation may be a gesture operation, or a click operation based on a control, and the like, and the third operation may be the same as or different from the first operation, if the third operation may be the same as the first operation, the current use state of the drawing tool is determined first when the third operation or the first operation is detected each time, if the current use state of the drawing tool is an enabled state, a drawing tool floating icon and/or a drawing tool is hidden, and if the current use state of the drawing tool is a paused state, a drawing tool floating icon and/or a drawing tool is output.
Optionally, after outputting the drawing tool hover icon and/or the drawing tool, continuously detecting a user operation, and in response to a third operation of the drawing tool, hiding the drawing tool hover icon and/or the drawing tool.
Step S20: responding to a second operation of the drawing tool, and determining or generating a target application and/or a drawing instruction corresponding to the second operation;
in this embodiment, after a drawing tool floating icon and/or a drawing tool is output, a user operation is continuously detected, and when a second operation on the drawing tool is detected, a target application and/or a drawing instruction corresponding to the second operation is determined or generated according to relevant operation information corresponding to the second operation in response to the second operation on the drawing tool, where the second operation is an operation of drawing by the drawing tool detected after the drawing tool is determined or generated.
Optionally, in response to a second operation of the drawing tool, the first position information of the second operation may be compared with second position information of display areas of current applications in a display interface, a target display area to which the second operation belongs is determined or generated, and an application corresponding to the target display area is determined or generated as a target application corresponding to the second operation.
Optionally, before detecting the second operation based on the drawing tool, an application selection operation may be detected, where the application selection operation may be a click operation or the like on any area of an application, a target application is determined or generated according to the application selection operation, and then, in response to the second operation of the drawing tool, the target application determined or generated last time before the second operation is generated is used as the target application corresponding to the second operation.
Alternatively, in response to a second operation of the drawing tool, a drawing instruction may be determined or generated according to drawing tool information, color information, drawing trajectory information, and the like corresponding to the second operation. Optionally, the drawing tool information includes a drawing tool type, a pen point specification, an erasing specification, and the like, and the drawing tool type includes a pencil, a pen, a writing brush, an eraser, a circling tool, and the like.
Step S30: and drawing in the target application based on the drawing instruction.
In this embodiment, the drawing instruction is executed in the target application to execute the second operation in the corresponding region of the target application, so as to complete drawing.
In an implementable manner, referring to fig. 4, fig. 4 is an interface diagram of an implementable manner of the drawing method of the present application, in this implementation, in response to a first operation, a drawing tool floating icon and/or a drawing tool is output, when a trigger operation of the drawing tool floating icon is detected, the drawing tool may be hidden, when a trigger operation of the drawing tool floating icon is detected again, the drawing tool may be displayed again, when a related setting operation of the drawing tool is detected, drawing tool information of the drawing tool is determined or generated, when a second operation is detected in the drawing area, a target application corresponding to the second operation is determined or generated as a note application, and drawing is performed in the note application according to a drawing instruction corresponding to the second operation.
In this embodiment, the drawing method is applied to an intelligent terminal, and includes the steps of: responding to the first operation, and outputting a drawing tool suspension icon and/or a drawing tool; responding to a second operation of the drawing tool, and determining or generating a target application and/or a drawing instruction corresponding to the second operation; and drawing in the target application based on the drawing instruction. Through the technical scheme, the global use of the drawing tool can be realized, a user only needs to consider whether the drawing tool needs to be used currently or not, the drawing tool is called through first operation and drawn by using the drawing tool when the drawing tool needs to be used, when at least one application is used in multiple synchronization, the intelligent terminal can send the drawing instruction to the corresponding target application respectively according to the detected second operation, the drawing tool does not need to be opened in each application respectively, the repeated operation of opening the drawing tool is reduced, the operation is simplified, the overall efficiency is improved, the technical problem that the efficiency of drawing by using at least one application synchronously is low is solved, and further the user experience is improved.
Second embodiment
Referring to fig. 5, fig. 5 is a schematic flow chart of a second embodiment of the drawing method of the present application. In this embodiment, the step S30 includes:
step S31: judging whether the target application belongs to an editing application or not;
optionally, the editing-class application is an application that can perform drawing editing using a drawing tool, and includes a note application, a drawing application, an office application, a modeling application, a clipping application, and the like.
Optionally, an application set belonging to the editing application is determined or generated in advance by adding a label of the editing application to the application information or by presetting a mapping relationship between the application information and the editing application, and after the target application is determined or generated, whether the target application belongs to the editing application is determined or generated according to the target application information of the target application, for example, whether the label of the editing application exists in the target application information of the target application is determined or generated, or whether the target application belongs to the editing application is determined or generated according to the mapping relationship between the application information and the editing application.
Step S32: and if the target application belongs to the editing application, drawing in the target application based on the drawing instruction.
In this embodiment, if the target application belongs to an editing application, the drawing instruction is executed in the target application to execute the second operation in a corresponding area of the target application, so as to complete drawing; if the target application does not belong to the editing application, the drawing instruction may not be executed, or the drawing instruction may be converted into a corresponding operation instruction, and the operation instruction is executed in the display interface, for example, when the user opens or forgets to quit the function of the drawing tool in a game, at this time, when a click operation is detected, the click operation is a second operation of drawing a point in a screen, but the detected second operation may not actually aim at drawing, and since the game application does not belong to the editing application, the generated drawing instruction may not be realized in the game application, so the drawing instruction may not be executed at this time, that is, the user may find that the operation of the user is not an output response (for example, the user may find that the user actually aims at clicking a start button, and the user may find that the user actually does not click the start button), and at this time, the drawing instruction may be converted into a click instruction, that is, even if the user does not quit the function of the drawing tool, the drawing instruction may still be normally operated. When a plurality of applications work cooperatively, because all the applications needed may not be editing-type applications, for example, when a drawing application or an office application is used, it may also be necessary to view related data through a video application or a search application, and convert drawing instructions into operation instructions, which may effectively reduce the frequent enabling and quitting of functions of the drawing tool by a user, and smoothly and flexibly implement cooperative work among the applications.
Optionally, after step S31, the method further includes:
step S33: if the target application does not belong to the editing application, intercepting a display interface image of the target application;
step S34: and drawing in the display interface image based on the drawing instruction, and outputting a drawing note corresponding to the target application.
In this embodiment, if the target application does not belong to an editing application, screenshot is performed on a current display interface of the target application, a display interface image is output, the display interface image is drawn based on the drawing instruction, the drawn display interface image is output, the display interface image after the meeting is taken as a drawing note corresponding to the target application, the drawing note can be directly saved, and confirmation information can also be output for a user to confirm and then save or delete the drawing note. When the application which does not belong to the editing application is used, information which is required to be saved, marked or recorded can appear, and the information can be quickly marked and saved through the drawing tool, for example, when note recording is carried out while watching a video course, doubtful points can exist on certain parts in the video course, or more important knowledge points can be found, and at the moment, the interface of the video application can be directly marked, so that drawing notes in the form of pictures can be generated, and the subsequent review is facilitated.
In the embodiment, whether the target application belongs to the editing application is judged, different processing is performed, and only the drawing instruction is executed on the editing application, so that adverse effects caused by misoperation in the process of using the drawing tool by a user can be reduced, redundant operation performed by the user for eliminating the adverse effects is reduced, and the user experience is improved.
Third embodiment
Referring to fig. 6, fig. 6 is a schematic flow chart of a third embodiment of the drawing method of the present application. In this embodiment, the step S32 includes:
s321: if the target application belongs to the editing application, determining or generating a functional area where the second operation is located according to the drawing position information of the second operation;
alternatively, the functional region is a region divided according to functions, and includes a drawing region, an editing region, an operation region, and the like, the drawing region is a region that can be drawn by a drawing tool, the editing region is a region that can be edited for contents by an editing operation, such as a text editing region, a picture editing region, and the like, other than the drawing region, and the operation region is a region that can be operated, other than the drawing region and the editing region, and in an implementable manner, the operation region is all regions other than the drawing region and the editing region.
Optionally, if the target application belongs to an editing application, comparing the drawing position information of the second operation with the position information of each functional area in the target application, and determining or generating a functional area where the second operation is located.
S322: and if the second operation is in the drawing area of the editing application, drawing in the target application based on the drawing instruction.
In this embodiment, it is determined whether the functional region where the second operation is located is a drawing region of an editing application, and if the functional region where the second operation is located is the drawing region of the editing application, that is, the second operation is located in the drawing region of the editing application, the drawing instruction is executed in the target application, so that the second operation is executed in the drawing region of the target application, and drawing is completed.
Optionally, after step S321, the method further includes:
s323: if the second operation is in the editing area of the editing application, determining or generating an editing instruction corresponding to the drawing instruction;
s324: and editing in the target application based on the editing instruction.
In this embodiment, it is determined whether the functional region where the second operation is located is an editing region of an editing-type application, and if the functional region where the second operation is located is the editing region of the editing-type application, that is, the second operation is located in the editing region of the editing-type application, according to a mapping relationship between a preset drawing instruction and an editing instruction, an editing instruction corresponding to the drawing instruction is determined or generated, and the editing instruction is executed in the target application, so as to complete the corresponding editing operation in the editing region of the target application. Optionally, the mapping relationship between the drawing instruction and the editing instruction may be determined according to actual requirements, which is not limited in this embodiment, optionally, the drawing instruction of drawing the circle with the brush pen may be mapped to an editing instruction for rendering a base color, framing, or selecting the content in a certain area corresponding to the circle, and the drawing instruction for drawing a straight line or a curved line with the brush pen may be mapped to an editing instruction for adding an underline or selecting. Through the conversion of the drawing instruction and the editing instruction, in the process of using the drawing function in practice by a user, the switching of the second operation and the editing operation can be smoothly, conveniently and quickly carried out, the tedious process of starting and quitting the drawing tool when the switching of the second operation and the editing operation is carried out at each time is reduced, the overall efficiency is improved, the technical problem that the efficiency of synchronously using at least one application for drawing is low is solved, and further the user experience is improved.
After step S321, the method further includes:
s325: if the second operation is in the operation area of the editing application, determining or generating an operation instruction corresponding to the drawing instruction;
s326: and operating in the target application based on the operation instruction.
In this embodiment, it is determined whether the functional region where the second operation is located is an operation region of an editing application, if the functional region where the second operation is located is the operation region of the editing application, that is, the second operation is located in the operation region of the editing application, operation information in an actual drawing process is extracted and output from the drawing instruction, an operation instruction corresponding to the operation information is determined or generated, and the operation instruction is executed in the target application to complete a corresponding operation in the operation region of the target application, for example, a drawing instruction for drawing a straight line by using a brush, where the operation information in the actual drawing process is continuously moved from point a to point b, the operation instruction is an operation instruction continuously moved from point a to point b, and an operation in the target application may be an operation for dragging a movable target from point a to point b. Through the conversion of the drawing instruction and the operation instruction, in the process of using the drawing function in practice by a user, the switching of second operation and other operations can be carried out smoothly, conveniently and quickly, the tedious process of starting and quitting the drawing tool when the switching of the second operation and other operations is carried out at each time is reduced, the overall efficiency is improved, the technical problem that the efficiency of synchronously using at least one application for drawing is low is solved, and further the user experience is improved.
In an implementable manner, referring to fig. 4, if a second operation is detected in the drawing area, drawing an image in the drawing area of the target application based on a drawing instruction corresponding to the second operation; if a second operation is detected in the editing area, converting a drawing instruction corresponding to the second operation into an editing instruction, and performing editing processing in the editing area of the target application based on the editing instruction, for example, a user may select or edit characters in the editing area without quitting the function of a drawing tool; if a second operation is detected in an operation area of the display interface except the editing area and the drawing area, converting a drawing instruction corresponding to the second operation into an operation instruction, and executing the operation instruction in the operation area of the target application, for example, a user may click and trigger buttons such as exit, cancel, and confirm on the top of the display interface without exiting the function of the drawing tool.
In this embodiment, by judging the functional region where the second operation is located, performing different processing, and executing the drawing instruction only in the drawing region, the adverse effect caused by misoperation in the process of using the drawing tool by the user can be reduced, the redundant operation performed by the user for eliminating the adverse effect is reduced, and the user experience is improved.
The application further provides an intelligent terminal, the intelligent terminal comprises a memory and a processor, the memory stores a drawing method program, and the drawing method program is executed by the processor to realize the steps of the drawing method in any embodiment.
The present application further provides a storage medium, in which a drawing method program is stored, and when executed by a processor, the drawing method program implements the steps of the drawing method in any of the above embodiments.
In the embodiments of the intelligent terminal and the storage medium provided in the present application, all technical features of any one of the above-described embodiments of the drawing method may be included, and the expanding and explaining contents of the specification are basically the same as those of the above-described embodiments of the method, and are not described herein again.
Embodiments of the present application also provide a computer program product, which includes computer program code, when the computer program code runs on a computer, the computer is caused to execute the method in the above various possible embodiments.
Embodiments of the present application further provide a chip, which includes a memory and a processor, where the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device in which the chip is installed executes the method in the above various possible embodiments.
It is to be understood that the foregoing scenarios are only examples, and do not constitute a limitation on application scenarios of the technical solutions provided in the embodiments of the present application, and the technical solutions of the present application may also be applied to other scenarios. For example, as can be known by those skilled in the art, with the evolution of system architecture and the emergence of new service scenarios, the technical solution provided in the embodiments of the present application is also applicable to similar technical problems.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.
The units in the device of the embodiment of the application can be combined, divided and deleted according to actual needs.
In the present application, the same or similar term concepts, technical solutions and/or application scenario descriptions will be generally described only in detail at the first occurrence, and when the description is repeated later, the detailed description will not be repeated in general for brevity, and when understanding the technical solutions and the like of the present application, reference may be made to the related detailed description before the description for the same or similar term concepts, technical solutions and/or application scenario descriptions and the like which are not described in detail later.
In the present application, each embodiment is described with emphasis, and reference may be made to the description of other embodiments for parts that are not described or illustrated in any embodiment.
The technical features of the technical solution of the present application may be arbitrarily combined, and for brevity of description, all possible combinations of the technical features in the embodiments are not described, however, as long as there is no contradiction between the combinations of the technical features, the scope of the present application should be considered as being described in the present application.
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 application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, a controlled terminal, or a network device) to execute the method of each embodiment of the present application.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a storage medium or transmitted from one storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The storage medium may be any available medium that can be accessed by a computer or a data storage device including one or more available media integrated servers, data centers, and the like. The usable medium may be a magnetic medium (e.g., floppy Disk, memory Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), among others.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (10)

1. A method of rendering, the method comprising the steps of:
s10: responding to the first operation, and outputting a drawing tool suspension icon and/or a drawing tool;
s20: responding to a second operation of the drawing tool, and determining or generating a target application and/or a drawing instruction corresponding to the second operation;
s30: and drawing in the target application based on the drawing instruction.
2. The method of claim 1, wherein after the step S10, further comprising:
and hiding or displaying the drawing tool when the triggering operation of the drawing tool suspension icon is detected.
3. The method according to claim 1 or 2, wherein after the step S10, further comprising:
hiding a drawing tool hover icon and/or a drawing tool in response to a third operation of the drawing tool.
4. The method according to claim 1 or 2, wherein said step S30 comprises:
s31: judging whether the target application belongs to an editing application or not;
s32: and if the target application belongs to the editing application, drawing in the target application based on the drawing instruction.
5. The method of claim 4, wherein the step S32 comprises:
s321: if the target application belongs to the editing application, determining or generating a functional area where the second operation is located according to the drawing position information of the second operation;
s322: and if the second operation is in the drawing area of the editing application, drawing in the target application based on the drawing instruction.
6. The method of claim 5, wherein after the step S321, further comprising:
if the second operation is in the editing area of the editing application, determining or generating an editing instruction corresponding to the drawing instruction;
and editing in the target application based on the editing instruction.
7. The method according to claim 5 or 6, wherein after the step S321, further comprising:
if the second operation is in the operation area of the editing application, determining or generating an operation instruction corresponding to the drawing instruction;
and operating in the target application based on the operation instruction.
8. The method of claim 4, wherein after the step S31, further comprising:
if the target application does not belong to the editing application, intercepting a display interface image of the target application;
and drawing in the display interface image based on the drawing instruction, and outputting a drawing note corresponding to the target application.
9. An intelligent terminal, characterized in that, intelligent terminal includes: memory, a processor, wherein said memory has stored thereon a rendering program which, when executed by said processor, implements the steps of the rendering method of any of claims 1 to 8.
10. A storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the rendering method according to any one of claims 1 to 8.
CN202211680158.9A 2022-12-26 2022-12-26 Drawing method, intelligent terminal and storage medium Pending CN115826813A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211680158.9A CN115826813A (en) 2022-12-26 2022-12-26 Drawing method, intelligent terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211680158.9A CN115826813A (en) 2022-12-26 2022-12-26 Drawing method, intelligent terminal and storage medium

Publications (1)

Publication Number Publication Date
CN115826813A true CN115826813A (en) 2023-03-21

Family

ID=85518442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211680158.9A Pending CN115826813A (en) 2022-12-26 2022-12-26 Drawing method, intelligent terminal and storage medium

Country Status (1)

Country Link
CN (1) CN115826813A (en)

Similar Documents

Publication Publication Date Title
CN108572764B (en) Character input control method and device and computer readable storage medium
CN109697008B (en) Content sharing method, terminal and computer readable storage medium
CN112068744A (en) Interaction method, mobile terminal and storage medium
CN113487705A (en) Image annotation method, terminal and storage medium
CN111966804A (en) Expression processing method, terminal and storage medium
CN114625707A (en) Processing method, intelligent terminal and storage medium
CN113407081A (en) Display method, mobile terminal and storage medium
CN113126844A (en) Display method, terminal and storage medium
CN109495643B (en) Object multi-chat frame setting method and terminal
CN115494997A (en) Information reading method, intelligent terminal and storage medium
CN115914719A (en) Screen projection display method, intelligent terminal and storage medium
CN114741359A (en) Processing method, intelligent terminal and storage medium
CN113360068A (en) Screen capture interaction method, mobile terminal and storage medium
CN114138144A (en) Control method, intelligent terminal and storage medium
CN113867586A (en) Icon display method, intelligent terminal and storage medium
CN113885752A (en) Icon processing method, intelligent terminal and storage medium
CN113342246A (en) Operation method, mobile terminal and storage medium
CN113342244A (en) Interface display method, mobile terminal and storage medium
CN115826813A (en) Drawing method, intelligent terminal and storage medium
CN114327184A (en) Data management method, intelligent terminal and storage medium
CN114546196A (en) Display method, intelligent terminal and storage medium
CN115617229A (en) Application classification method, mobile terminal and storage medium
CN115914697A (en) Screen projection control method, intelligent terminal and storage medium
CN115934228A (en) Content adjusting method, intelligent terminal and storage medium
CN114089897A (en) Wallpaper switching method, intelligent terminal and storage medium

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