CN109492249B - Rapid generation method and device of design drawing and terminal equipment - Google Patents

Rapid generation method and device of design drawing and terminal equipment Download PDF

Info

Publication number
CN109492249B
CN109492249B CN201811125923.4A CN201811125923A CN109492249B CN 109492249 B CN109492249 B CN 109492249B CN 201811125923 A CN201811125923 A CN 201811125923A CN 109492249 B CN109492249 B CN 109492249B
Authority
CN
China
Prior art keywords
design
picture
article
name
imported
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811125923.4A
Other languages
Chinese (zh)
Other versions
CN109492249A (en
Inventor
卜筱
冉雪玲
王凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Bianshelong Information Technology Co ltd
Original Assignee
Shenzhen Bianshelong Information 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 Shenzhen Bianshelong Information Technology Co ltd filed Critical Shenzhen Bianshelong Information Technology Co ltd
Priority to CN201811125923.4A priority Critical patent/CN109492249B/en
Publication of CN109492249A publication Critical patent/CN109492249A/en
Application granted granted Critical
Publication of CN109492249B publication Critical patent/CN109492249B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The application is applicable to the technical field of communication, and provides a rapid generation method, a device and terminal equipment of a design drawing, wherein the method comprises the following steps: identifying a picture imported by a user to obtain a picture identification result, wherein the picture identification result is used for indicating the names of objects in the picture; if the picture identification result indicates that the name of the article is included, searching a matched design template according to the name of the article; setting the articles included in the imported pictures at the corresponding positions of the design templates to obtain a new design drawing; and displaying the new design drawing. The method can improve the generation rate of the new design drawing.

Description

Rapid generation method and device of design drawing and terminal equipment
Technical Field
The present application belongs to the field of communications technologies, and in particular, relates to a method and apparatus for quickly generating a design drawing, a terminal device, and a computer readable storage medium.
Background
The existing design software is more, and a user can quickly complete a new design drawing through the installed design software.
In the existing design drawing generation method, a user searches and downloads required materials from a plurality of websites according to a design theme, and then edits the downloaded materials into a new design drawing through operations such as combination or screening. Because the user is required to search and download different materials from different websites according to the design theme, and the searching and downloading of the different materials consume excessive time of the user, the generation efficiency of the design diagram is lower.
Therefore, a new method is needed to solve the above technical problems.
Disclosure of Invention
In view of this, the embodiments of the present application provide a method for quickly generating a design drawing, so as to solve the problem of low efficiency of generating the design drawing in the prior art.
A first aspect of an embodiment of the present application provides a method for quickly generating a design drawing, including:
identifying a picture imported by a user to obtain a picture identification result, wherein the picture identification result is used for indicating the names of objects in the picture;
if the picture identification result indicates that the name of the article is included, searching a matched design template according to the name of the article;
setting the articles included in the imported pictures at the corresponding positions of the design templates to obtain a new design drawing;
and displaying the new design drawing.
A second aspect of the embodiments of the present application provides a device for quickly generating a design drawing, including:
the picture identification unit is used for identifying a picture imported by a user to obtain a picture identification result, and the picture identification result is used for indicating the names of the articles in which the picture exists;
a design template searching unit, configured to search a matched design template according to a name of an article if the picture identification result indicates that the name of the article is included;
a new design drawing generating unit, configured to set an article included in the imported picture at a corresponding position of the design template, so as to obtain a new design drawing;
and the new design diagram display unit is used for displaying the new design diagram.
A third aspect of the embodiments of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method for quickly generating a design drawing when the processor executes the computer program.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of a method for fast generating a design drawing as described.
Compared with the prior art, the embodiment of the application has the beneficial effects that:
because the articles included in the picture imported by the user can be identified, the design template is searched according to the identification result, and the articles are arranged in the searched design template, the user does not need to search materials manually, the operation steps are reduced, and the generation rate of the new design drawing is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required for the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a method for quickly generating a design chart according to an embodiment of the present application;
fig. 2 is a schematic diagram of adding an imported picture according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a rapid generation device for a design drawing according to a second embodiment of the present application;
fig. 4 is a schematic diagram of a terminal device provided in a third embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In order to illustrate the technical solutions described in the present application, the following description is made by specific examples.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
In particular implementations, the mobile terminals described in embodiments of the present application include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers having a touch-sensitive surface (e.g., a touch screen display and/or a touch pad). It should also be appreciated that in some embodiments, the above-described devices are not portable communication devices, but rather desktop computers having touch-sensitive surfaces (e.g., touch screen displays and/or touch pads).
In the following discussion, a mobile terminal including a display and a touch-sensitive surface is described. However, it should be understood that a mobile terminal may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
The mobile terminal supports various applications, such as one or more of the following: drawing applications, presentation applications, word processing applications, website creation applications, disk burning applications, spreadsheet applications, gaming applications, telephony applications, video conferencing applications, email applications, instant messaging applications, workout support applications, photo management applications, digital camera applications, digital video camera applications, web browsing applications, digital music player applications, and/or digital video player applications.
Various applications that may be executed on the mobile terminal may use at least one common physical user interface device such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal may be adjusted and/or changed between applications and/or within the corresponding applications. In this way, the common physical architecture (e.g., touch-sensitive surface) of the terminal may support various applications with user interfaces that are intuitive and transparent to the user.
In addition, the "first" and "second" in the embodiments of the present application are only used to distinguish between different ratio values, and have no sequential meaning.
Embodiment one:
fig. 1 shows a flowchart of a method for quickly generating a design chart according to an embodiment of the present application, which is described in detail below:
step S11, identifying a picture imported by a user to obtain a picture identification result, wherein the picture identification result is used for indicating the names of objects in the picture;
the picture imported by the user can be a picture obtained by the user through the camera function at present, or can be a picture stored in a terminal device (such as a mobile phone, a tablet personal computer, a desktop personal computer and the like). The number of pictures imported by the user is greater than or equal to 1.
Before this step S11, a prompt is displayed, which indicates that the user imports a picture, such as the prompt shown in fig. 2, by clicking on the icon of the prompt "+" on the web page. And when the user imports the picture, a new design drawing generation instruction is sent out, and the terminal equipment starts to identify the picture imported by the user after receiving the new design drawing generation instruction. Specifically, a picture imported by a user is input into a trained convolution model to obtain a picture identification result output by the convolution model, wherein the convolution model is a pre-trained convolution model for identifying different articles, and then the articles included in the picture are identified.
Step S12, if the picture identification result indicates that the picture identification result comprises the name of the article, searching a matched design template according to the name of the article;
in the step, if the identification picture comprises an article and the name corresponding to the article can be identified, searching a design template matched with the name of the article according to the name of the article in the picture identification result. Specifically, in order to increase the searching speed, different design templates may be downloaded from each website in advance and stored in the design template library, so that the design template library may be directly searched during searching, thereby increasing the searching speed. Of course, in the process of storing, the format of the downloaded design template is unified, so that the downloaded design template can be edited on the same editing page. Optionally, if no matching design templates are found in the library of design templates, then the other websites are searched for design templates matching the name of the item. It should be noted that after searching the design template, detecting whether the design template includes authorization information, if so, directly storing the design template into a design template library, and if not, querying the author information of the design template to obtain authorization information granted by the author of the design template.
Step S13, setting the articles included in the imported pictures at the corresponding positions of the design templates to obtain a new design drawing;
since the design template is searched according to the name of the item, the design template includes the same or similar item as the name of the item. In the step, the items with the same or similar names as the items are separated from the design template, and the areas where the separated items are located are filled with the items included in the imported pictures.
Step S14, displaying the new design drawing.
In this embodiment, a picture imported by a user is identified to obtain a picture identification result, where the picture identification result is used to indicate a name of an article existing in the picture, if the picture identification result indicates that the name of the article is included, a matched design template is searched according to the name of the article, the article included in the imported picture is set at a corresponding position of the design template to obtain a new design drawing, and the new design drawing is displayed. Because the articles included in the picture imported by the user can be identified, the design template is searched according to the identification result, and the articles are arranged in the searched design template, the user does not need to search materials manually, the operation steps are reduced, and the generation rate of the new design drawing is improved.
Optionally, the method for quickly generating the design drawing further includes:
and if the picture identification result indicates that the name of the article exists but cannot be identified, prompting the user to input the name of the article.
Since the pre-trained convolution model may not include a convolution model that identifies an item, if the picture identification result indicates that the picture includes an item, but the name of the item cannot be identified, a voice prompt (or text prompt) user inputs the name of the item of the picture.
Optionally, the step S12 includes:
a1, if the picture identification result indicates that the picture comprises at least one object name, determining the specific gravity of the at least one object name, wherein the specific gravity of the at least one object name is determined according to the content area size and the content size of the at least one object in the imported picture; specifically, taking an article as an example, determining a ratio of the article to the entire imported image size in a content area of the imported image, assuming a first ratio value, determining a ratio of the content of the article (the content of the article may be determined by a pixel average value of the content area of the article) to the entire imported image content, assuming a second ratio value, and determining a specific gravity of the name of the article according to weights assigned to the first ratio value and the second ratio value in advance. The specific gravity determination process of the names of the plurality of articles is similar to that of one article, and will not be described again.
A2, searching a matched design template according to the specific gravity of the name of the at least one article. Specifically, the matched design templates are searched in turn according to the specific gravity of the names of the articles.
It should be noted that, if the picture imported by the user has only one picture, the picture recognition result in step A1 is a recognition result of one picture, and if the picture imported by the user has 2 or more pictures, the picture recognition result in step A1 is a recognition result of 2 or more pictures.
Optionally, in order to facilitate the user to view the searched design template, before said step S13, it includes:
displaying the design template of the search.
Specifically, all the searched design templates are displayed on the page, or one design template is displayed on the page, of course, the displayed design templates may be the templates left after screening from a plurality of design templates, and when one design template is displayed, one page may be divided into a design area and a non-design area, and in this case, the displaying the searched design templates includes:
b1, displaying a searched design template in a design area of the page;
and B2, displaying all materials included in the searched design template in a non-design area of the page, wherein the design area and the non-design area are on the same page.
In the above B1 and B2, all the materials included in the design template are divided in advance, so that when the design template is displayed in the design area, all the materials included in the design template can be quickly displayed in the non-design area.
Optionally, to increase the speed of generating the new design drawing, after displaying the searched design template, the method includes:
judging whether the number of the searched design templates is larger than 1, if so, detecting whether a design template selection instruction is received;
correspondingly, the setting the articles included in the imported pictures at the corresponding positions of the design templates, and obtaining the new design diagram includes:
if a design template selection instruction is received, setting the articles included in the imported picture at the corresponding positions of the design template selected by the selection instruction, and obtaining a new design drawing.
In this embodiment, if a plurality of design templates are searched, it is determined whether the user screens the searched design templates, if the terminal device receives a design template selection instruction, it is determined that the user screens the searched design templates, at this time, the terminal device only needs to set the articles included in the imported pictures in the screened design templates, so that the number of new design drawings to be generated is reduced, and the generation speed of the new design drawings is further improved.
Optionally, after displaying all materials included in the searched design template in the non-design area of the page, the method includes:
c1, detecting whether a material editing instruction is received, wherein the material editing instruction comprises identification and editing operation of a material; specifically, the identification of the material is acquired after detecting that the material displayed in the non-design area is clicked, the editing operation is acquired after detecting that the operation button of the page display is clicked, for example, assuming that the operation button of the page display is detected to be "enlarged" to be clicked, the editing operation of "enlarged" is acquired.
And C2, correspondingly editing the material corresponding to the identification of the material of the design template according to the editing operation.
For example, assuming that the design template includes a material a and a material B, which are displayed in a non-design area, when the user clicks on the material a in the non-design area, the material received by the terminal device is identified as the material a, and when the user clicks on the "zoom-in" operation button displayed on the page, the editing operation received by the terminal device is an editing operation of "zoom-in", the terminal device will perform the editing operation of zoom-in on the material a in the design template displayed in the design area.
Embodiment two:
fig. 3 is a schematic structural diagram of a rapid prototyping apparatus for a design drawing according to a second embodiment of the present application, which corresponds to the first embodiment, and only the parts related to the second embodiment are shown for convenience of explanation.
The rapid generation device 3 of the design drawing includes: a picture recognition unit 31, a design template search unit 32, a new design drawing generation unit 33, and a new design drawing display unit 34. Wherein:
a picture identifying unit 31, configured to identify a picture imported by a user, and obtain a picture identifying result, where the picture identifying result is used to indicate a name of an article in which the picture exists;
the picture imported by the user may be a picture obtained by the user through a camera function, or may be a picture stored in the terminal device. The number of pictures imported by the user is greater than or equal to 1. Specifically, the picture recognition unit 31 inputs the picture imported by the user into a trained convolution model to obtain a picture recognition result output by the convolution model, where the convolution model is a pre-trained convolution model for recognizing different objects.
Optionally, the rapid generation device 3 of the design drawing further includes:
the prompt information display unit is used for displaying prompt information, and the indication information indicates a user to import pictures.
A design template searching unit 32, configured to search a matched design template according to the name of the article if the picture identification result indicates that the name of the article is included;
a new design drawing generating unit 33, configured to set an item included in the imported picture at a corresponding position of the design template, so as to obtain a new design drawing;
specifically, the articles with the same or similar names are segmented from the design template, and the imported articles included in the picture are filled in the area where the segmented articles are located.
A new design drawing display unit 34 for displaying the new design drawing.
In the embodiment of the application, the articles included in the picture imported by the user can be identified, the design template is searched according to the identification result, and the articles are arranged in the searched design template, so that the user does not need to manually search materials, the operation steps are reduced, and the generation rate of a new design drawing is improved.
Optionally, the rapid generation device 3 of the design drawing further includes:
and the name prompt input unit is used for prompting a user to input the name of the article if the picture identification result indicates that the article exists but the name of the article cannot be identified.
Optionally, the design template searching unit 32 includes:
a specific gravity determining module for determining the specific gravity of the name of the at least one article if the picture identification result indicates that the at least one article is included, wherein the specific gravity of the name of the at least one article is determined according to the content area size and the content size of the at least one article in the imported picture; specifically, taking an article as an example, determining a ratio of the article to the entire imported image size in a content area of the imported image, assuming a first ratio value, determining a ratio of the content of the article (the content of the article may be determined by a pixel average value of the content area of the article) to the entire imported image content, assuming a second ratio value, and determining a specific gravity of the name of the article according to weights assigned to the first ratio value and the second ratio value in advance.
And the searching sequence determining module is used for searching the matched design templates according to the specific gravity of the names of the at least one article.
Optionally, in order to facilitate the user to view the searched design template, the rapid generating device 3 of the design drawing further includes:
and the design template display unit is used for displaying the searched design templates.
Optionally, the rapid generation device 3 of the design drawing further includes:
the number judging unit is used for judging whether the number of the searched design templates is larger than 1, and if so, detecting whether a design template selection instruction is received;
correspondingly, the new design drawing generating unit 33 is specifically configured to:
if a design template selection instruction is received, setting the articles included in the imported picture at the corresponding positions of the design template selected by the selection instruction, and obtaining a new design drawing.
Optionally, the design template display unit includes:
the design area display module is used for displaying the searched design templates in the design area of the page;
and the non-design area display module is used for displaying all materials included in the searched design template in a non-design area of the page, wherein the design area and the non-design area are on the same page.
Optionally, the rapid generation device 3 of the design drawing further includes:
the system comprises a material editing instruction receiving and detecting unit, a processing unit and a processing unit, wherein the material editing instruction receiving and detecting unit is used for detecting whether a material editing instruction is received or not, and the material editing instruction comprises identification and editing operation of materials;
and the material editing unit is used for carrying out corresponding editing on the material corresponding to the identification of the material of the design template according to the editing operation.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic of each process, and should not limit the implementation process of the embodiment of the present application in any way.
Embodiment III:
fig. 4 is a schematic diagram of a terminal device provided in a third embodiment of the present application. As shown in fig. 4, the terminal device 4 of this embodiment includes: a processor 40, a memory 41 and a computer program 42 stored in the memory 41 and executable on the processor 40. The processor 40, when executing the computer program 42, implements the steps of the above-described embodiments of the method for fast generating the respective design drawings, such as steps S11 to S14 shown in fig. 1. Alternatively, the processor 40, when executing the computer program 42, performs the functions of the modules/units of the apparatus embodiments described above, such as the functions of the modules 31-34 shown in fig. 3.
Illustratively, the computer program 42 may be partitioned into one or more modules/units that are stored in the memory 41 and executed by the processor 40 to complete the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions for describing the execution of the computer program 42 in the terminal device 4. For example, the computer program 42 may be divided into a picture recognition unit, a design template search unit, a new design drawing generation unit, a new design drawing display unit, each unit functioning specifically as follows:
the picture identification unit is used for identifying a picture imported by a user to obtain a picture identification result, and the picture identification result is used for indicating the names of the articles in which the picture exists;
a design template searching unit, configured to search a matched design template according to a name of an article if the picture identification result indicates that the name of the article is included;
a new design drawing generating unit, configured to set an article included in the imported picture at a corresponding position of the design template, so as to obtain a new design drawing;
and the new design diagram display unit is used for displaying the new design diagram.
The terminal device 4 may be a computing device such as a desktop computer, a notebook computer, a palm computer, a cloud server, etc. The terminal device may include, but is not limited to, a processor 40, a memory 41. It will be appreciated by those skilled in the art that fig. 4 is merely an example of the terminal device 4 and does not constitute a limitation of the terminal device 4, and may include more or less components than illustrated, or may combine certain components, or different components, e.g., the terminal device may further include an input-output device, a network access device, a bus, etc.
The processor 40 may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may be an internal storage unit of the terminal device 4, such as a hard disk or a memory of the terminal device 4. The memory 41 may be an external storage device of the terminal device 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the terminal device 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the terminal device 4. The memory 41 is used for storing the computer program as well as other programs and data required by the terminal device. The memory 41 may also be used for temporarily storing data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other manners. For example, the apparatus/terminal device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical function division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each method embodiment described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (10)

1. The rapid generation method of the design drawing is characterized by comprising the following steps:
identifying user-imported pictures Obtaining a picture identification result, wherein the picture identification result is used for indicating the names of the articles in which the picture exists;
if the picture identification result indicates that the name of the article is included, searching a matched design template according to the name of the article;
setting the articles included in the imported pictures at the corresponding positions of the design templates to obtain a new design drawing;
displaying the new design drawing;
if the picture identification result indicates that the name of the article is included, searching the matched design template according to the name of the article, including:
if the picture identification result indicates that the picture comprises at least one object name, determining the specific gravity of the at least one object name according to the content area size and the content quantity of the at least one object in the imported picture;
searching for a matching design template according to the specific gravity of the name of the at least one article.
2. The rapid prototyping method of claim 1 wherein the rapid prototyping method of a design drawing further comprises:
and if the picture identification result indicates that the name of the article exists but cannot be identified, prompting the user to input the name of the article.
3. The method for quickly generating a design drawing according to claim 1, wherein before the setting the object included in the imported picture at the corresponding position of the design template to obtain a new design drawing, the method comprises:
displaying the design template of the search.
4. The rapid prototyping method of claim 3 wherein after displaying the searched design templates, the method comprises:
judging whether the number of the searched design templates is larger than 1, if so, detecting whether a design template selection instruction is received;
correspondingly, the setting the articles included in the imported pictures at the corresponding positions of the design templates, and obtaining the new design diagram includes:
if a design template selection instruction is received, setting the articles included in the imported picture at the corresponding positions of the design template selected by the selection instruction, and obtaining a new design drawing.
5. The rapid prototyping method of claim 3 wherein the design template for display search comprises:
displaying the searched design template in the design area of the page;
and displaying all materials included in the searched design template in a non-design area of the page, wherein the design area and the non-design area are on the same page.
6. The rapid prototyping method of claim 5 wherein after displaying all the materials included in the searched design template in the non-design area of the page, the method comprises:
detecting whether a material editing instruction is received, wherein the material editing instruction comprises identification and editing operation of a material;
and correspondingly editing the material corresponding to the identification of the material of the design template according to the editing operation.
7. The method for rapid generation of a design drawing according to any one of claims 1 to 6, wherein the user-imported pictures are identified The picture identification result is obtained by:
and inputting the picture imported by the user into a trained convolution model to obtain a picture identification result output by the convolution model, wherein the convolution model is a pre-trained convolution model for identifying different articles.
8. A rapid generation apparatus for a design drawing, comprising:
a picture identification unit for identifying a picture imported by a user Obtaining a picture identification result, wherein the picture identification result is used for indicating the names of the articles in which the picture exists;
a design template searching unit, configured to search a matched design template according to a name of an article if the picture identification result indicates that the name of the article is included;
a new design drawing generating unit, configured to set an article included in the imported picture at a corresponding position of the design template, so as to obtain a new design drawing;
a new design drawing display unit for displaying the new design drawing;
the design template search unit includes:
a specific gravity determining module for determining the specific gravity of the name of the at least one article if the picture identification result indicates that the at least one article is included, wherein the specific gravity of the name of the at least one article is determined according to the content area size and the content size of the at least one article in the imported picture;
and the searching sequence determining module is used for searching the matched design templates according to the specific gravity of the names of the at least one article.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 7.
CN201811125923.4A 2018-09-26 2018-09-26 Rapid generation method and device of design drawing and terminal equipment Active CN109492249B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811125923.4A CN109492249B (en) 2018-09-26 2018-09-26 Rapid generation method and device of design drawing and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811125923.4A CN109492249B (en) 2018-09-26 2018-09-26 Rapid generation method and device of design drawing and terminal equipment

Publications (2)

Publication Number Publication Date
CN109492249A CN109492249A (en) 2019-03-19
CN109492249B true CN109492249B (en) 2023-05-16

Family

ID=65690038

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811125923.4A Active CN109492249B (en) 2018-09-26 2018-09-26 Rapid generation method and device of design drawing and terminal equipment

Country Status (1)

Country Link
CN (1) CN109492249B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110689079B (en) * 2019-09-30 2023-01-17 联想(北京)有限公司 Processing method, processing device and electronic equipment
CN112990206B (en) * 2021-05-14 2021-07-16 广州美术学院 Pattern design method, terminal and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107369196A (en) * 2017-06-30 2017-11-21 广东欧珀移动通信有限公司 Expression, which packs, makees method, apparatus, storage medium and electronic equipment
CN107741972A (en) * 2017-10-12 2018-02-27 广东欧珀移动通信有限公司 A kind of searching method of picture, terminal device and storage medium
CN108416827A (en) * 2018-02-11 2018-08-17 李荣陆 A kind of planar design autoplacement device and method analyzed based on data-driven and material

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150199412A1 (en) * 2014-01-10 2015-07-16 Htc Corporation Mobile communications device, non-transitory computer-readable medium and method for displaying a search result cover page and switching from the search result cover page to a search result page

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107369196A (en) * 2017-06-30 2017-11-21 广东欧珀移动通信有限公司 Expression, which packs, makees method, apparatus, storage medium and electronic equipment
CN107741972A (en) * 2017-10-12 2018-02-27 广东欧珀移动通信有限公司 A kind of searching method of picture, terminal device and storage medium
CN108416827A (en) * 2018-02-11 2018-08-17 李荣陆 A kind of planar design autoplacement device and method analyzed based on data-driven and material

Also Published As

Publication number Publication date
CN109492249A (en) 2019-03-19

Similar Documents

Publication Publication Date Title
CN107451244B (en) Folder naming method, mobile terminal and computer readable storage medium
US9449027B2 (en) Apparatus and method for representing and manipulating metadata
CN106991179B (en) Data deleting method and device and mobile terminal
CN110119733B (en) Page identification method and device, terminal equipment and computer readable storage medium
CN110059273B (en) Method for displaying rich media on mobile terminal and mobile terminal
CN109359582B (en) Information searching method, information searching device and mobile terminal
CN106569860A (en) Application management method and terminal
CN109492249B (en) Rapid generation method and device of design drawing and terminal equipment
CN107317928B (en) Information processing method, mobile terminal and computer readable storage medium
CN109358927B (en) Application program display method and device and terminal equipment
CN107679222B (en) Picture processing method, mobile terminal and computer readable storage medium
CN108133048B (en) File sorting method and device and mobile terminal
WO2023138475A1 (en) Icon management method and apparatus, and device and storage medium
CN108521460B (en) Information pushing method and device, mobile terminal and computer readable storage medium
CN108469938B (en) Electronic book reading reminding method and device and terminal equipment
CN108268507B (en) Browser-based processing method and device and electronic equipment
CN110688035B (en) Photo album processing method, photo album processing device and mobile terminal
CN107580030B (en) Data management method and device and server
CN110874723B (en) Electronic red envelope detection method, electronic red envelope detection device and mobile terminal
CN113485600A (en) Singing list sharing method and device and electronic equipment
CN110874730B (en) Information processing method, information processing device and mobile terminal
CN112286613A (en) Interface display method and interface display device
CN109445757B (en) New design drawing generation method and device and terminal equipment
CN108595569B (en) File path copying method, file path copying device and mobile terminal
CN110875874B (en) Electronic red packet detection method and device and mobile terminal

Legal Events

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