CN111651150A - Drawing method and device based on mobile terminal graphical programming tool - Google Patents

Drawing method and device based on mobile terminal graphical programming tool Download PDF

Info

Publication number
CN111651150A
CN111651150A CN202010345893.9A CN202010345893A CN111651150A CN 111651150 A CN111651150 A CN 111651150A CN 202010345893 A CN202010345893 A CN 202010345893A CN 111651150 A CN111651150 A CN 111651150A
Authority
CN
China
Prior art keywords
target
picture
matching
user
target picture
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
CN202010345893.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.)
Beijing Programming Cat Technology Co ltd
Original Assignee
Beijing Programming Cat Technology 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 Beijing Programming Cat Technology Co ltd filed Critical Beijing Programming Cat Technology Co ltd
Priority to CN202010345893.9A priority Critical patent/CN111651150A/en
Publication of CN111651150A publication Critical patent/CN111651150A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/001Texturing; Colouring; Generation of texture or colour

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a drawing method and a drawing device based on a mobile terminal graphical programming tool, wherein the drawing method comprises the following steps: acquiring a target picture subsection corresponding to a target picture currently completed by a user, wherein the target picture subsection is different from other parts of the target picture; acquiring a plurality of target matching pictures matched with the target picture sub-parts according to the target picture characteristics of the target picture sub-parts; and displaying a plurality of target matching pictures in a designated area, and processing the target pictures according to the selection operation of a user. The invention can enable a user to passively draw pictures by using the building blocks without steps, and one part is drawn and then another part is drawn, thereby improving the programming experience of the user.

Description

Drawing method and device based on mobile terminal graphical programming tool
Technical Field
The invention relates to the technical field of graphical programming application, in particular to a drawing method and device based on a mobile terminal graphical programming tool.
Background
Today, with the rapid development of computer technology, people have more and more things in life to start or move to the digitization process, the trend is only more and more obvious in the future, and programming technology is the core capability for promoting the trend. Therefore, the national programming basic education for the teenagers pays more and more attention, the programming teaching is required to be developed in all high schools nowadays, and the programming language Python with low threshold and easy to use is used as the enlightenment of the teenager programming education. The graphical programming is the basis for children to learn Python, can cultivate interest and learn basic programming instructions, and most importantly conforms to the cognitive development rule of the children. The method removes boring programming grammar, and uses graphical and modular programming mode to create programs. Children can write their own storybooks, animations or small games only by using a mouse. The graphic programming skips over the complex concepts and grammars in the high-level language, and the core logic and achievement delivery of the programming is completed by the interaction of graphic expression and dragging, so that the problem of excessively steep learning curve can be solved, the learning process is not boring, result feedback can be obtained more timely, and the method is very suitable for the mental level and the cognitive ability of the people at the age stage. At present, during the process of drawing by using the existing graphical programming tool, a user needs to passively draw a picture by using a building block in one step and one part, and then draws another part, which is very tedious and slow, and the coordination among the steps is not necessarily achieved.
Disclosure of Invention
The embodiment of the invention provides a drawing method and a drawing device based on a mobile terminal graphical programming tool, which aim to solve the following problems in the prior art: the user needs to passively draw a picture using the building blocks one step after the other, which is very tedious and slow.
In order to solve the above technical problem, a first technical solution adopted in the embodiments of the present invention is as follows:
a drawing method based on a mobile terminal graphical programming tool comprises the following steps: acquiring a target picture subsection corresponding to a target picture currently completed by a user, wherein the target picture subsection is different from other parts of the target picture; acquiring a plurality of target matching pictures matched with the target picture sub-parts according to the target picture characteristics of the target picture sub-parts; and displaying a plurality of target matching pictures in a designated area, and processing the target pictures according to the selection operation of a user.
Optionally, the acquiring a target drawing sub-portion corresponding to a target drawing currently completed by a user includes: displaying a portion of the target drawing requiring a user to select a current completion on an operation page; and acquiring a target boundary circled on the target picture by the user, and taking an area part in the target boundary as the target picture sub-part.
Optionally, if the target picture sub-portion is the target picture itself, obtaining a plurality of the target matching pictures matching with the target picture.
Optionally, the obtaining a plurality of target matching pictures matching the target picture sub-portion according to the target picture characteristics of the target picture sub-portion comprises: acquiring a target picture type of the target picture subsection according to the target picture characteristic of the target picture subsection; and acquiring a plurality of target matching pictures which are matched with the target picture sub-portions according to the target picture types.
Optionally, the displaying a plurality of the target matching pictures in a designated area, and processing the target pictures according to a selection operation of a user includes: displaying a plurality of target matching pictures in a designated area, and prompting a user to perform selection operation; determining whether the user selects one of the target matching pictures as a matching picture of the target picture subsection; and if so, adding the target matching picture selected by the user to the target picture.
Optionally, the determining whether the user selects one of the target matching pictures as the matching picture of the target picture sub-portion from a plurality of the target matching pictures, then comprises: if the user does not select one of the target matching pictures as the matching picture of the target picture subsection, further judging whether the user needs to obtain the matching picture of the target picture subsection from the local; if yes, displaying all local pictures on the operation page for the user to select, and processing according to the selection result of the user.
Optionally, the further determining whether the user needs to locally obtain the matching picture of the target picture sub-portion comprises: if the user does not need to obtain the matching picture of the target picture subsection from the local, a plurality of the target matching pictures are hidden and restored to the state before obtaining the target picture subsection.
In order to solve the above technical problem, a second technical solution adopted in the embodiments of the present invention is as follows:
a drawing device based on a mobile terminal graphic programming tool comprises: the first acquisition module is used for acquiring a target picture subsection corresponding to a target picture currently finished by a user, wherein the target picture subsection is different from other parts of the target picture; a second obtaining module, configured to obtain a plurality of target matching pictures matching the target picture sub-portions according to the target picture characteristics of the target picture sub-portions; and the picture processing module is used for displaying a plurality of target matching pictures in a specified area and processing the target pictures according to the selection operation of the user.
In order to solve the above technical problem, a third technical solution adopted in the embodiments of the present invention is as follows:
a computer-readable storage medium having stored thereon a computer program which, when executed, implements a dialing method as described above.
In order to solve the above technical problem, a fourth technical solution adopted in the embodiments of the present invention is as follows:
a computer apparatus comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the processor implementing the dialing method as described above when executing the computer program.
The embodiment of the invention has the beneficial effects that: different from the prior art, the embodiment of the invention improves the programming experience of a user by acquiring a target picture sub-part corresponding to a target picture currently finished by the user, wherein the target picture sub-part is different from other parts of the target picture, then acquiring a plurality of target matching pictures matched with the target picture sub-part according to the target picture characteristics of the target picture sub-part, finally displaying the target matching pictures in a designated area, and processing the target picture according to the selection operation of the user, so that the user can passively use the building block to draw pictures without one step and one step, and draw another part after drawing one part, thereby improving the programming experience of the user.
Drawings
Fig. 1 is a flowchart illustrating an implementation of a drawing method based on a mobile graphical programming tool according to a first embodiment of the present invention;
FIG. 2 is a partial structural framework diagram of an embodiment of a drawing apparatus based on a mobile graphical programming tool according to a second embodiment of the present invention;
FIG. 3 is a partial structural framework diagram of an embodiment of a computer-readable storage medium according to a third embodiment of the present invention;
fig. 4 is a partial structural framework diagram of an embodiment of a computer device according to a fourth embodiment of the present invention.
Detailed Description
Example one
Referring to fig. 1, fig. 1 is a flowchart illustrating an implementation of a drawing method based on a mobile graphical programming tool according to an embodiment of the present invention, which can be obtained by referring to fig. 1, and the drawing method based on the mobile graphical programming tool according to the present invention includes:
step S101: a target drawing subsection corresponding to a target drawing currently completed by a user is obtained, the target drawing subsection being distinguished from other parts of the target drawing. In this step, for example, a picture is composed of a plurality of parts, each part being a picture sub-part, the picture sub-parts being independent of each other, and the picture sub-parts together constituting the target picture.
Step S102: and acquiring a plurality of target matching pictures matched with the target picture sub-parts according to the target picture characteristics of the target picture sub-parts. In this step, the object-matching drawing refers to a drawing associated with an object drawing subsection, such as the object drawing subsection is a mountain, the object-matching drawing may be selected as a river or a group of birds, if the object drawing subsection is a sea, the object-matching drawing may be selected as a sky or a ship, and if the object drawing subsection is a moon, the object-matching drawing may be selected as a star.
Step S103: and displaying a plurality of target matching pictures in a designated area, and processing the target pictures according to the selection operation of a user. Wherein the selection operation of the user comprises selecting one of the object matching pictures or not selecting any one of the object matching pictures.
In this embodiment, optionally, the acquiring a target drawing sub-portion corresponding to a target drawing currently completed by the user includes:
firstly, a part of the currently finished target picture is displayed on an operation page, and the part of the currently finished target picture is required to be selected by a user, specifically, an area drawn on the target picture by the user is obtained.
Secondly, acquiring a target boundary circled on the target picture by a user, and taking an area part in the target boundary as the target picture sub-part.
In this embodiment, optionally, if the target picture sub-portion itself is the target picture, a plurality of target matching pictures matching the target picture are obtained. Wherein, a plurality of the target matching pictures are pictures which are self-contained in the system or pre-stored in a local database.
In this embodiment, optionally, the obtaining a plurality of target matching pictures matching the target picture sub-portions according to the target picture characteristics of the target picture sub-portions includes:
first, a target picture type of the target picture subsection is obtained based on target picture characteristics of the target picture subsection. The target picture characteristics comprise character characteristics, landscape characteristics, building characteristics, machine characteristics and the like.
Second, a plurality of the target matching pictures partially matching the target picture are obtained according to the target picture type.
In this embodiment, optionally, the displaying a plurality of the target matching pictures in a designated area, and processing the target pictures according to a selection operation of a user includes:
firstly, displaying a plurality of target matching pictures in a designated area, and prompting a user to perform selection operation.
Second, it is determined whether the user selects one of the target matching pictures from the plurality of target matching pictures as a matching picture of the target picture sub-portion.
Thirdly, if the user selects one of the target matching pictures from the plurality of target matching pictures as the matching picture of the target picture sub-part, adding the target matching picture selected by the user to the target picture.
In this embodiment, optionally, the determining whether the user selects one of the target matching pictures as the matching picture of the target picture sub-portion from a plurality of the target matching pictures, and then includes:
first, if the user does not select one of the target matching pictures as the matching picture of the target picture subsection, further determining whether the user needs to obtain the matching picture of the target picture subsection from local;
secondly, if the user needs to obtain the matching picture of the target picture subsection from the local, displaying all local pictures on an operation page for the user to select, and processing according to the selection result of the user.
In this embodiment, optionally, the further determining whether the user needs to locally obtain the matching picture of the target picture sub-portion further includes:
if the user does not need to obtain the matching picture of the target picture subsection from the local, a plurality of the target matching pictures are hidden and restored to the state before obtaining the target picture subsection.
The embodiment of the invention can lead the user to passively use the building block drawing without one step and one step by acquiring the target drawing subpart corresponding to the target drawing finished by the user at present, wherein the target drawing subpart is distinguished from other parts of the target drawing, then a plurality of target matching drawings matched with the target drawing subpart are acquired according to the target drawing characteristics of the target drawing subpart, finally the target matching drawings are displayed in the appointed area, and the target drawing is processed according to the selection operation of the user, thus improving the programming experience of the user.
Example two
Referring to fig. 2, fig. 2 is a partial structural frame diagram of a drawing device based on a mobile terminal graphical programming tool according to an embodiment of the present invention, which can be obtained by referring to fig. 2, and the drawing device 100 based on the mobile terminal graphical programming tool according to the present invention includes:
the first obtaining module 110 is used for obtaining a target picture sub-portion corresponding to a target picture currently completed by a user, wherein the target picture sub-portion is different from other portions of the target picture.
A second obtaining module 120, configured to obtain a plurality of target matching pictures matching the target picture sub-portions according to the target picture characteristics of the target picture sub-portions.
And the picture processing module 130 is used for displaying a plurality of target matching pictures in a specified area and processing the target pictures according to the selection operation of the user.
The embodiment of the invention can lead the user to passively use the building block drawing without one step and one step by acquiring the target drawing subpart corresponding to the target drawing finished by the user at present, wherein the target drawing subpart is distinguished from other parts of the target drawing, then a plurality of target matching drawings matched with the target drawing subpart are acquired according to the target drawing characteristics of the target drawing subpart, finally the target matching drawings are displayed in the appointed area, and the target drawing is processed according to the selection operation of the user, thus improving the programming experience of the user.
EXAMPLE III
Referring to fig. 3, a computer-readable storage medium 10 according to an embodiment of the present invention can be seen, where the computer-readable storage medium 10 includes: ROM/RAM, magnetic disk, optical disk, etc., on which a computer program 11 is stored, wherein the computer program 11 is executed to implement the drawing method based on the mobile terminal graphic programming tool according to the first embodiment. Since the drawing method based on the mobile terminal graphical programming tool has been described in detail in the first embodiment, the description is not repeated here.
The drawing method based on the mobile terminal graphical programming tool, which is realized by the embodiment of the invention, comprises the steps of obtaining a target picture sub-part corresponding to a target picture currently finished by a user, wherein the target picture sub-part is different from other parts of the target picture, then obtaining a plurality of target matching pictures matched with the target picture sub-part according to the target picture characteristics of the target picture sub-part, finally displaying the target matching pictures in a designated area, and processing the target picture according to the selection operation of the user, so that the user can passively use a building block drawing without one step and one step, and draws another part after one part is drawn, thereby improving the programming experience of the user.
Example four
Referring to fig. 4, a computer device 20 according to an embodiment of the present invention includes a processor 21, a memory 22, and a computer program 221 stored in the memory 22 and executable on the processor 21, wherein the processor 21 executes the computer program 221 to implement a drawing method based on a mobile graphics programming tool according to an embodiment. Since the drawing method based on the mobile terminal graphical programming tool has been described in detail in the first embodiment, the description is not repeated here.
The drawing method based on the mobile terminal graphical programming tool, which is realized by the embodiment of the invention, comprises the steps of obtaining a target picture sub-part corresponding to a target picture currently finished by a user, wherein the target picture sub-part is different from other parts of the target picture, then obtaining a plurality of target matching pictures matched with the target picture sub-part according to the target picture characteristics of the target picture sub-part, finally displaying the target matching pictures in a designated area, and processing the target picture according to the selection operation of the user, so that the user can passively use a building block drawing without one step and one step, and draws another part after one part is drawn, thereby improving the programming experience of the user.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A drawing method based on a mobile terminal graphical programming tool is characterized by comprising the following steps:
acquiring a target picture subsection corresponding to a target picture currently completed by a user, wherein the target picture subsection is different from other parts of the target picture;
acquiring a plurality of target matching pictures matched with the target picture sub-parts according to the target picture characteristics of the target picture sub-parts;
and displaying a plurality of target matching pictures in a designated area, and processing the target pictures according to the selection operation of a user.
2. The mobile terminal graphical programming tool-based drawing method of claim 1, wherein the obtaining of a target drawing sub-portion corresponding to a target drawing currently completed by a user comprises:
displaying a portion of the target drawing requiring a user to select a current completion on an operation page;
and acquiring a target boundary circled on the target picture by the user, and taking an area part in the target boundary as the target picture sub-part.
3. The mobile terminal graphic programming tool-based drawing method according to claim 1, wherein if the target drawing sub-portion itself is the target drawing, a plurality of target matching drawings matching with the target drawing are obtained.
4. The mobile terminal graphic programming tool-based drawing method according to claim 1, wherein the obtaining a plurality of target matching drawings matching the target drawing sub-portion according to the target drawing characteristics of the target drawing sub-portion comprises:
acquiring a target picture type of the target picture subsection according to the target picture characteristic of the target picture subsection;
and acquiring a plurality of target matching pictures which are matched with the target picture sub-portions according to the target picture types.
5. The drawing method based on the mobile terminal graphic programming tool according to claim 1, wherein the displaying a plurality of the target matching drawings in a designated area and processing the target drawings according to a user selection operation comprises:
displaying a plurality of target matching pictures in a designated area, and prompting a user to perform selection operation;
determining whether the user selects one of the target matching pictures as a matching picture of the target picture subsection;
and if so, adding the target matching picture selected by the user to the target picture.
6. The mobile terminal graphical programming tool-based drawing method of claim 1, wherein the determining whether the user selects one of the target matching pictures as the matching picture of the target picture sub-portion from a plurality of the target matching pictures comprises:
if the user does not select one of the target matching pictures as the matching picture of the target picture subsection, further judging whether the user needs to obtain the matching picture of the target picture subsection from the local;
if yes, displaying all local pictures on the operation page for the user to select, and processing according to the selection result of the user.
7. The mobile terminal graphical programming tool-based drawing method of claim 6, wherein the further determining whether the user needs to locally obtain the matching drawing of the target drawing sub-portion comprises:
if the user does not need to obtain the matching picture of the target picture subsection from the local, a plurality of the target matching pictures are hidden and restored to the state before obtaining the target picture subsection.
8. A drawing device based on a mobile terminal graphical programming tool is characterized by comprising:
the first acquisition module is used for acquiring a target picture subsection corresponding to a target picture currently finished by a user, wherein the target picture subsection is different from other parts of the target picture;
a second obtaining module, configured to obtain a plurality of target matching pictures matching the target picture sub-portions according to the target picture characteristics of the target picture sub-portions;
and the picture processing module is used for displaying a plurality of target matching pictures in a specified area and processing the target pictures according to the selection operation of the user.
9. A computer-readable storage medium, wherein a computer program is stored thereon, and when executed, the computer program implements the drawing method based on the mobile terminal graphical programming tool according to any one of claims 1 to 7.
10. A computer device comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor implements the drawing method based on the mobile graphics programming tool according to any one of claims 1 to 7 when executing the computer program.
CN202010345893.9A 2020-04-27 2020-04-27 Drawing method and device based on mobile terminal graphical programming tool Pending CN111651150A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010345893.9A CN111651150A (en) 2020-04-27 2020-04-27 Drawing method and device based on mobile terminal graphical programming tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010345893.9A CN111651150A (en) 2020-04-27 2020-04-27 Drawing method and device based on mobile terminal graphical programming tool

Publications (1)

Publication Number Publication Date
CN111651150A true CN111651150A (en) 2020-09-11

Family

ID=72343548

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010345893.9A Pending CN111651150A (en) 2020-04-27 2020-04-27 Drawing method and device based on mobile terminal graphical programming tool

Country Status (1)

Country Link
CN (1) CN111651150A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114063872A (en) * 2021-11-25 2022-02-18 广州繁星互娱信息科技有限公司 Picture generation method and device, storage medium and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170109933A1 (en) * 2015-10-14 2017-04-20 Prime Software Systems, Inc. Visualizing the structure and execution of a program
CN110209393A (en) * 2019-04-24 2019-09-06 深圳点猫科技有限公司 A kind of programming implementation method and device for head portrait replacement in gameization education

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170109933A1 (en) * 2015-10-14 2017-04-20 Prime Software Systems, Inc. Visualizing the structure and execution of a program
CN110209393A (en) * 2019-04-24 2019-09-06 深圳点猫科技有限公司 A kind of programming implementation method and device for head portrait replacement in gameization education

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114063872A (en) * 2021-11-25 2022-02-18 广州繁星互娱信息科技有限公司 Picture generation method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
Weintrop et al. To block or not to block, that is the question: students' perceptions of blocks-based programming
CN107608652B (en) Method and device for controlling graphical interface through voice
CN108961927A (en) Computer programming learning aids, identification operating system and method
TWI463400B (en) System and method for editing interactive three dimension multimedia, and computer-readable storage medium thereof
US20220044451A1 (en) Method and device for image generation and colorization
CN110162164A (en) A kind of learning interaction method, apparatus and storage medium based on augmented reality
KR102490319B1 (en) Methods for automatic generation and transformation of artificial intelligence content
KR102304240B1 (en) Apparatus and method for providing content creation service using storytelling navigator
CN110727969A (en) Method, device and equipment for automatically adjusting workflow and storage medium
CN107391474A (en) Business card edit methods, server and computer-readable recording medium
CN111651150A (en) Drawing method and device based on mobile terminal graphical programming tool
Lively et al. Integrating AI-Generative Tools in Web Design Education: Enhancing Student Aesthetic and Creative Copy Capabilities Using Image and Text-Based AI Generators
JP2002062792A (en) Memory study system
CN111158648B (en) Interactive help system development method based on live-action semantic understanding and platform thereof
CN111651153A (en) Programming creation method and device based on graphical programming tool
CN209571092U (en) Computer programming learning aids
CN113963306B (en) Courseware title making method and device based on artificial intelligence
CN117077627A (en) Work generation method and device, electronic equipment and storage medium
CN111522542A (en) Programming method and device for perfecting graphical programming building block tool
CN111524419A (en) Creation guidance method and device based on graphical programming tool
KR100738044B1 (en) System for learning chinese character based on multimedia and internet
CN111651152A (en) Method and device for transforming figure picture based on graphical programming
Harasawa et al. The nature of pattern illustrating: the theory and the process of pattern illustrating
CN111651154A (en) Creation method and device based on graphical programming role transformation
CN111522486A (en) Background management method and device for mobile terminal graphical programming

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