CN112580249A - Optimization method and device of planar design, electronic equipment and storage medium - Google Patents

Optimization method and device of planar design, electronic equipment and storage medium Download PDF

Info

Publication number
CN112580249A
CN112580249A CN201910858704.5A CN201910858704A CN112580249A CN 112580249 A CN112580249 A CN 112580249A CN 201910858704 A CN201910858704 A CN 201910858704A CN 112580249 A CN112580249 A CN 112580249A
Authority
CN
China
Prior art keywords
design
preset
optimizing
item
template
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.)
Withdrawn
Application number
CN201910858704.5A
Other languages
Chinese (zh)
Inventor
胡浩
刘聪
袁道鸣
利啟东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Bozhilin Robot Co Ltd
Original Assignee
Guangdong Bozhilin Robot 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 Guangdong Bozhilin Robot Co Ltd filed Critical Guangdong Bozhilin Robot Co Ltd
Priority to CN201910858704.5A priority Critical patent/CN112580249A/en
Publication of CN112580249A publication Critical patent/CN112580249A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • G06Q10/06393Score-carding, benchmarking or key performance indicator [KPI] analysis

Abstract

The invention discloses a method and a device for optimizing a planar design, electronic equipment and a storage medium, wherein the method comprises the following steps: determining a design item to be optimized; scoring the design items according to a preset evaluation rule to obtain scores of the design items; and if the score of the design item is smaller than the preset threshold value, optimizing the design item in a preset optimization mode until the score of the design item is larger than or equal to the preset threshold value, and generating a final design item. Therefore, the technical problems that in the prior art, the plane design template of the template library is limited, the use requirement cannot be effectively met, the use experience is low and the like are solved.

Description

Optimization method and device of planar design, electronic equipment and storage medium
Technical Field
The present invention relates to the field of planar design technologies, and in particular, to a method and an apparatus for optimizing planar design, an electronic device, and a storage medium.
Background
In the related art, in the field of planar design, intelligent generation or automatic extension to multiple sizes is often performed by using a mode of matching planar design templates, so as to generate a final design finished product. Thus, the quality of the final design finish is related to the number and quality of matching planar design templates.
However, in the related art, the planar design templates in the template library are all artificially designed, but the template library needs to meet the matching requirements of different element types, different element numbers, different layout styles and various target sizes, which results in that a large amount of time cost and labor cost are consumed in the offline establishment period of the template library, manpower and material resources are wasted, and in the online service period of the template library, because the design materials are limited, a high-quality planar design template cannot be obtained, the quality of a designed finished product cannot be improved under the condition of limited matching effect, the use requirement cannot be effectively met, and the use experience is reduced. Therefore, it is necessary to adjust the plane design template of the template library or the initial design finished product generated by the plane design template and the plane design template to meet the use requirement.
Disclosure of Invention
The invention provides a method and a device for optimizing a plane design, electronic equipment and a storage medium, and aims to solve the technical problems that in the prior art, a plane design template of a template library is limited, the use requirement cannot be effectively met, the use experience is low and the like.
An embodiment of a first aspect of the present invention provides a method for optimizing a planar design, including the following steps: determining a design item to be optimized; scoring the design items according to a preset evaluation rule to obtain scores of the design items; and if the score of the design item is smaller than a preset threshold value, optimizing the design item in a preset optimization mode until the score of the design item is larger than or equal to the preset threshold value, and generating a final design item.
An embodiment of a second aspect of the present invention provides an optimization apparatus for planar design, including: the acquisition module is used for determining a design item to be optimized; the evaluation module is used for scoring the design items according to a preset evaluation rule to obtain the scores of the design items; and the optimization module is used for optimizing the design items in a preset optimization mode when the scores of the design items are smaller than a preset threshold value until the scores of the design items are larger than or equal to the preset threshold value, and generating final design items.
A third embodiment of the present invention provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being configured to perform a method of optimizing a floor plan as described in the above embodiments.
A fourth aspect of the present invention provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method for optimizing a planar design according to the above embodiments
The design items are scored according to a certain evaluation rule, the design items with the scores smaller than a certain value are optimized in a certain optimization mode, and the final design items meeting the use requirements, such as the final planar design template of the template library or the final design finished products generated by the planar design and the planar design template, are obtained. Therefore, the technical problems that in the prior art, the plane design template of the template library is limited, the use requirement cannot be effectively met, the use experience is low and the like are solved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flow chart of a method for optimizing a floor plan according to an embodiment of the present invention;
FIG. 2 is a schematic illustration of a flat design template according to one embodiment of the present invention;
FIG. 3 is a flow chart of a method for optimizing a floor plan according to one embodiment of the present invention;
FIG. 4 is a flow chart of a method for optimizing a floor plan according to another embodiment of the present invention;
fig. 5 is a block diagram of an optimization apparatus of a planar design according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
Hereinafter, a method, an apparatus, an electronic device, and a storage medium for optimizing a planar design according to embodiments of the present invention will be described with reference to the drawings. Aiming at the problems that the template library mentioned in the background technology center needs to meet the matching requirements of different element types, different element numbers, different layout styles and various target sizes, so that a large amount of time cost and labor cost are consumed and manpower and material resources are wasted in the offline establishment period of the template library, and in the online service period of the template library, because the design materials are limited, a high-quality planar design template cannot be obtained, the quality of a designed finished product cannot be improved under the condition of limited matching effect, the use requirements cannot be effectively met, the use experience is reduced and the like, the invention provides the optimization method of the planar design Or the final design finished product generated by the planar design and the planar design template not only saves manpower and material resources and reduces time cost and manpower cost, but also can obtain the high-quality planar design template, thereby improving the quality of the designed finished product, effectively meeting the use requirement and improving the use experience. Therefore, the technical problems that in the prior art, the plane design template of the template library is limited, the use requirement cannot be effectively met, the use experience is low and the like are solved.
Specifically, fig. 1 is a schematic flow chart of an optimization method for a planar design according to an embodiment of the present invention.
As shown in fig. 1, the optimization method of the planar design includes the following steps:
in step S101, a design item to be optimized is determined.
It can be understood that, in order to optimize the planar design, the embodiment of the present invention may adjust the planar design template of the template library, so as to obtain more high-quality available templates to expand the template library, or adjust the initial design finished product generated by the planar design and the planar design template, so as to improve the quality of the generated result, thereby completing the optimization purpose of the planar design.
Optionally, in an embodiment of the present invention, when the design item is a flat design template of the template library, determining the design item includes: and generating a plurality of plane design templates under the preset plane size according to the types and the number of the elements, and taking each plane design template of the plurality of plane design templates as a design item. It should be noted that the preset plane size can be set by those skilled in the art according to practical situations, and is not limited specifically herein.
Specifically, when the planar design template of the template library is adjusted, the embodiment of the invention can enable a certain number and a certain kind of elements to randomly generate any template under a certain planar size, thereby facilitating the subsequent corresponding adjustment of the randomly generated template.
Optionally, in another embodiment of the present invention, when the design item is an initial design finished product generated by a flat design and a flat design template, determining the design item to be optimized includes: matching a planar design template with similarity larger than a preset value from a database; and generating an initial design finished product according to the plane design template with the similarity larger than the preset value and the plane design, and taking the initial design finished product as a design item. It should be noted that the preset value can be set by a person skilled in the art according to actual situations, and is not limited specifically herein.
Specifically, when the initial design finished product is generated by the plane design and the plane design template, the matched template is found through similarity calculation to generate the initial design finished product, so that the subsequent corresponding adjustment is conveniently carried out on the initial design finished product.
For example, the similarity calculation includes the following:
matching element types. Wherein, if the element types are not matched, the similarity calculation of the items II-V is not carried out; if the element types are matched, the similarity calculation of the items from the second to the fifth is carried out.
And secondly, calculating the layer width and height similarity.
And thirdly, calculating the size of the overlapped area occupying the background.
And fourthly, calculating the size of the white space occupying the background.
And fifthly, overlapping the layer similarity. That is, the results of items two, three and four are added, and the higher the value obtained is, the lower the similarity is; the lower the value obtained, the higher the similarity.
In step S102, the design items are scored according to a preset evaluation rule, so as to obtain scores of the design items.
In one embodiment of the present invention, scoring the design items according to a preset evaluation rule includes: and obtaining the score of the design item according to a preset hard rule evaluation system.
For example, when a planar design template of the template library is adjusted, the randomly generated template is scored through a hard rule evaluation system, for example, the hard rule evaluation system can have several evaluation indexes such as "text alignment", "blank", "overlap", "balance", "text boundary", "text out boundary", "character size", "picture size", and the like to be scored, so that screening is performed according to the scores, a high-quality template with a high score can be selected to be directly output, and a low-quality template with a low score is subsequently adjusted.
In another embodiment of the present invention, scoring the design items according to a preset evaluation rule includes: and evaluating the network according to a preset soft rule to obtain the grade of the design item.
For example, when an initial design finished product generated by a plane design and a plane design template is subjected to grading, a soft rule evaluation network is used for grading, wherein the soft rule evaluation network can be an automatic grading network pre-trained according to a grading standard given by a designer, so that the generated result is graded by using the automatic grading network, screening is performed according to the grading, the high-grade generated result is directly output, and the low-grade generated result is subjected to subsequent adjustment.
In step S103, if the score of the design item is smaller than the preset threshold, the design item is optimized in a preset optimization manner until the score of the design item is greater than or equal to the preset threshold, and a final design item is generated.
It can be understood that the preset optimization manner in the embodiment of the present invention may be understood as that the adjustment policy includes a plurality of adjustment policies, so as to achieve the purpose of plane design optimization, such as an adjustment policy based on a combination of reinforcement learning and a hard rule evaluation system, or an adjustment policy based on a combination of soft rule evaluation network evaluation and adjustment, that is, the adjustment policy in the embodiment of the present invention may be understood as a closed loop type adjustment policy consisting of "generation-evaluation-adjustment".
Specifically, the embodiment of the present invention may adjust the randomly generated frame based on a reinforcement learning method and a hard rule evaluation system, and adjust the randomly generated template into a usable high-quality template, thereby achieving the purpose of expanding the template library, wherein the optimization mode is not dependent on the evaluation rule to perform a standard and hard adjustment, but the evaluation rule may direct the movement path of the element frame to proceed along a better and more optimal direction. Therefore, the layout of the template in the optimized mode is more flexible and diversified on the premise of obtaining quality assurance, the styles are changeable, and the scores of the randomly generated frame and the adjusted frame shown in the figure 2 are respectively 0.3175 and 0.9348, so that the manpower and material resources are saved, the time cost and the labor cost are reduced, and the high-quality planar design template can be obtained.
In addition, the embodiment of the invention can also evaluate the network based on the soft rule, and adjust based on the evaluation rule and the reinforcement learning, so that the adjusted visual effect is more standard and harmonious, the quality is obviously improved, and the level of direct use is reached.
Further, in an embodiment of the present invention, optimizing the design item by a preset optimization method includes: determining a score for each evaluation state according to the scores; and moving the element frame according to a plurality of moving paths according to a first preset step length, and obtaining a positive reward or a negative reward according to the score in each evaluation state so as to optimize the moving path with the maximum accumulated reward as an optimal optimization path. It should be noted that the first preset step size can be set by those skilled in the art according to actual situations.
For example, when adjusting a flat design template of a template library, the framework may be adjusted based on reinforcement learning, including the following steps:
step S1: in the initial state, the score evaluated according to the hard rule is recorded as S0By analogy, under n +1 states, the scores of the hard rule evaluations are respectively marked as S0、…、Sn
Step S2: moving the element box by a certain step length and recording the score S of the hard rule evaluation in the state nn. If score is SnGreater than score Sn-1Then give a positive reward rn(ii) a If score is SnLess than score Sn-1Then give a negative reward rn
Step S3: there are many ways that the element frame may be moved, where the accumulated reward is maximized, i.e., rnThe path that is always positive is the best path.
In conclusion, the adjusted templates are graded again through a hard rule evaluation system, screening is carried out again according to the grades, the high-grade templates are directly output as high-grade templates, and the low-grade templates are adjusted again until the high-grade templates are output.
Further, in an embodiment of the present invention, optimizing the design item by a preset optimization method includes: optimizing the initial design finished product according to a preset optimization item; or moving the elements according to various optimization paths according to a second preset step length to optimize the optimization path with the highest accumulated reward as the optimal optimization path. It should be noted that the second preset step size can be set by those skilled in the art according to actual situations.
For example, the embodiment of the invention adjusts the low score result. As for the adjustment, there may be two methods, i.e., "adjustment based on evaluation rule" and "adjustment based on reinforcement learning", respectively. Wherein, the adjustment items of the "adjustment based on the evaluation rule" may include "text alignment", "overlap removal", "balance", "element size", "large piece blank removal", "text space", etc., and the "adjustment based on reinforcement learning" is to move elements in a certain step size, and if the score becomes higher, a positive reward is given; the score goes low giving a negative reward. And on the premise of ensuring that each reward is positive, the movement path with the highest accumulated reward is the optimal element adjustment path.
In conclusion, the soft rule evaluation network is used again to score the adjusted result, the result with high score is directly output, and the result with low score is adjusted again until the result is the result with high score and is output.
It should be noted that, in the above section of the present invention, when the flat design template of the template library is adjusted, the randomly generated template is scored through the hard rule evaluation system, and when the initial design finished product generated by the flat design and the flat design template is scored by using the soft rule evaluation network, but it should be understood by those skilled in the art that the soft rule evaluation network and the hard rule evaluation system may be replaced with each other, and the implementation manner is not limited to the above embodiment, and the above implementation manner is only illustrative.
The working principle of the method according to an embodiment of the present invention is described in detail below with specific embodiments.
As shown in fig. 3, in the first embodiment:
step S301: and randomly generating a template.
And randomly generating any template by a certain number and a certain kind of elements under a certain plane size.
Step S302: and (4) a hard rule evaluation system.
Step S303: and judging whether the score is a high score. If so, executing step S308, otherwise executing step S304.
The randomly generated templates are scored through a hard rule evaluation system, if the hard rule evaluation system can have several evaluation indexes of 'text alignment', 'blank', 'overlap', 'balance', 'text boundary', 'text out of boundary', 'character size', 'picture size' and the like, the scoring is carried out, therefore, screening is carried out according to the scoring, high-quality templates with high scoring can be selected to be directly output, and low-quality templates with low scoring are subsequently adjusted.
Step S304: and identifying the template as a poor template.
Step S305: and adjusting based on reinforcement learning.
Step S306: hard rule evaluation system
Step S307: and judging whether the score is high. If yes, step S308 is executed, otherwise step S305 is executed.
Step S308: and identifying the template as a high-quality template.
The embodiment of the invention can adjust the randomly generated frame based on a reinforcement learning method and a hard rule evaluation system, and adjust the randomly generated template into a usable high-quality template, thereby achieving the purpose of expanding the template library.
As shown in fig. 4, the second embodiment:
step S401: and calculating the similarity.
Step S402: and matching the templates.
And finding a matched template through similarity calculation to generate an initial design finished product.
Step S403: and generating a result.
Step S404: the soft rules evaluate the network.
Step S405: and judging whether the score is high or not. If yes, step S407 is executed, otherwise step S406 is executed.
And grading by using a soft rule evaluation network, wherein the soft rule evaluation network can be an automatic grading network trained in advance according to a grading standard given by a designer, so that the generated result is graded by using the automatic grading network, the generated result with a high grade is directly output by screening according to the grade, and the generated result with a low grade is subsequently adjusted.
Step S406: and (6) adjusting.
Step S407: and (6) outputting.
The embodiment of the invention can evaluate the network based on the soft rule, and adjust based on the evaluation rule and the reinforcement learning, so that the adjusted visual effect is more standard and harmonious, the quality is remarkably improved, and the level of direct use is reached.
According to the optimization method of the planar design, the design items are scored according to a certain evaluation rule, the design items with the scores smaller than a certain value are optimized in a certain optimization mode, and the final design items meeting the use requirements, such as the final planar design template of the template library or the final design finished product generated by the planar design and the planar design template, are obtained, so that manpower and material resources are saved, the time cost and the labor cost are reduced, the high-quality planar design template can be obtained, the quality of the designed finished product is improved, the use requirements are effectively met, and the use experience is improved. Therefore, the technical problems that in the prior art, the plane design template of the template library is limited, the use requirement cannot be effectively met, the use experience is low and the like are solved.
Next, an optimization apparatus of a planar design proposed according to an embodiment of the present invention is described with reference to the drawings.
Fig. 5 is a block diagram of an optimization apparatus for a planar design according to an embodiment of the present invention.
As shown in fig. 5, the optimization apparatus 10 of planar design includes: an acquisition module 100, an evaluation module 200 and an optimization module 300.
The obtaining module 100 is configured to determine a design item to be optimized.
The evaluation module 200 is configured to score the design items according to a preset evaluation rule, so as to obtain scores of the design items.
The optimization module 300 is configured to optimize the design items in a preset optimization manner when the scores of the design items are smaller than a preset threshold until the scores of the design items are greater than or equal to the preset threshold, and generate final design items.
It should be noted that the foregoing explanation of the embodiment of the optimization method for planar design is also applicable to the optimization apparatus for planar design of this embodiment, and details are not repeated here.
According to the optimization device for the planar design, provided by the embodiment of the invention, the design items are scored according to a certain evaluation rule, and the design items with the scores smaller than a certain value are optimized in a certain optimization mode to obtain the final design items meeting the use requirements, such as the final planar design template of the template library or the final design finished product generated by the planar design and the planar design template, so that not only are manpower and material resources saved and the time cost and the labor cost reduced, but also the high-quality planar design template can be obtained, the quality of the designed finished product is improved, the use requirements are effectively met, and the use experience is improved. Therefore, the technical problems that in the prior art, the plane design template of the template library is limited, the use requirement cannot be effectively met, the use experience is low and the like are solved.
In order to implement the above embodiments, the present invention further provides an electronic device, including: at least one processor and a memory. Wherein the memory is communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, the instructions being configured to perform the method for optimizing a floor plan of the above embodiment, such as to:
design items to be optimized are determined.
And scoring the design items according to a preset evaluation rule to obtain the scores of the design items.
And if the score of the design item is smaller than the preset threshold value, optimizing the design item in a preset optimization mode until the score of the design item is larger than or equal to the preset threshold value, and generating a final design item.
In order to implement the above embodiments, the present invention also proposes a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the optimization method of the planar design of the above embodiments.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or N embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "N" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more N executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of implementing the embodiments of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or N wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (10)

1. A method for optimizing a planar design, comprising the steps of:
determining a design item to be optimized;
scoring the design items according to a preset evaluation rule to obtain scores of the design items; and
and if the score of the design item is smaller than a preset threshold value, optimizing the design item in a preset optimization mode until the score of the design item is larger than or equal to the preset threshold value, and generating a final design item.
2. The method for optimizing a floor plan according to claim 1, wherein when the design item is a floor plan template of a template library, the determining the design item includes:
generating a plurality of plane design templates under a preset plane size according to the types and the number of the elements, and taking each plane design template of the plurality of plane design templates as the design item.
3. The method for optimizing a planar design according to claim 2, wherein the scoring the design items according to a preset evaluation rule comprises:
and obtaining the score of the design item according to a preset hard rule evaluation system.
4. The method for optimizing a planar design according to claim 2 or 3, wherein the optimizing the design item by a preset optimization mode comprises:
determining a score for each evaluation state based on the scores;
and moving the element frame according to a plurality of moving paths according to a first preset step length, and obtaining a positive reward or a negative reward according to the score in each evaluation state so as to optimize the moving path with the maximum accumulated reward as an optimal optimization path.
5. The method for optimizing planar design according to claim 1, wherein when the design item is an initial design finished product generated by a planar design and a planar design template, the determining the design item to be optimized includes:
matching a planar design template with similarity larger than a preset value from a database;
and generating the initial design finished product according to the plane design template with the similarity larger than a preset value and the plane design, and taking the initial design finished product as the design item.
6. The method for optimizing a planar design according to claim 5, wherein the scoring the design items according to a preset evaluation rule comprises:
and evaluating the network according to a preset soft rule to obtain the grade of the design item.
7. The method for optimizing a planar design according to claim 5 or 6, wherein the optimizing the design items by a preset optimization mode comprises:
optimizing the initial design finished product according to a preset optimization item; or
And moving the elements according to the various optimization paths according to a second preset step length so as to optimize the optimization path with the highest accumulated reward as the optimal optimization path.
8. An apparatus for optimizing a planar design, comprising:
the acquisition module is used for determining a design item to be optimized;
the evaluation module is used for scoring the design items according to a preset evaluation rule to obtain the scores of the design items; and
and the optimization module is used for optimizing the design items in a preset optimization mode when the scores of the design items are smaller than a preset threshold value until the scores of the design items are larger than or equal to the preset threshold value, and generating final design items.
9. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, the processor executing the program to implement the method of optimization of a floor plan as claimed in any one of claims 1 to 5.
10. A non-transitory computer-readable storage medium having stored thereon a computer program, wherein the program is executed by a processor for implementing the method for optimizing a flat design according to any one of claims 1 to 5.
CN201910858704.5A 2019-09-11 2019-09-11 Optimization method and device of planar design, electronic equipment and storage medium Withdrawn CN112580249A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910858704.5A CN112580249A (en) 2019-09-11 2019-09-11 Optimization method and device of planar design, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910858704.5A CN112580249A (en) 2019-09-11 2019-09-11 Optimization method and device of planar design, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112580249A true CN112580249A (en) 2021-03-30

Family

ID=75109692

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910858704.5A Withdrawn CN112580249A (en) 2019-09-11 2019-09-11 Optimization method and device of planar design, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112580249A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150271218A1 (en) * 2014-03-24 2015-09-24 Imagars Llc All-Electronic Ecosystems for Design and Collaboration
CN106886917A (en) * 2017-01-19 2017-06-23 浙江大学 A kind of method and device for generating advertisement
JP2017134819A (en) * 2015-11-30 2017-08-03 エアバス オペレーションズ ゲーエムベーハーAirbus Operations GmbH Space frame construction kit and space frame
US20180203826A1 (en) * 2017-01-18 2018-07-19 Go Daddy Operating Company, LLC System and method for generating web page layouts
CN108427828A (en) * 2018-02-07 2018-08-21 李荣陆 A kind of device of automatic assessment planar design placement quality and optimization
CN109543226A (en) * 2018-10-22 2019-03-29 华南理工大学 A kind of mixing intelligent optimizing method for space structure
CN110059300A (en) * 2019-04-18 2019-07-26 郑州铁路职业技术学院 A kind of device of automatic assessment planar design placement quality and optimization

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150271218A1 (en) * 2014-03-24 2015-09-24 Imagars Llc All-Electronic Ecosystems for Design and Collaboration
JP2017134819A (en) * 2015-11-30 2017-08-03 エアバス オペレーションズ ゲーエムベーハーAirbus Operations GmbH Space frame construction kit and space frame
US20180203826A1 (en) * 2017-01-18 2018-07-19 Go Daddy Operating Company, LLC System and method for generating web page layouts
CN106886917A (en) * 2017-01-19 2017-06-23 浙江大学 A kind of method and device for generating advertisement
CN108427828A (en) * 2018-02-07 2018-08-21 李荣陆 A kind of device of automatic assessment planar design placement quality and optimization
CN109543226A (en) * 2018-10-22 2019-03-29 华南理工大学 A kind of mixing intelligent optimizing method for space structure
CN110059300A (en) * 2019-04-18 2019-07-26 郑州铁路职业技术学院 A kind of device of automatic assessment planar design placement quality and optimization

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
沈擎阳;薛澄岐;牛亚峰;: "基于ERP的人机交互界面设计方法研究", 设计, no. 06, pages 135 - 136 *
高瞩;李莎;吉晓民;: "电锤造型人机界面传承的计算分析研究", 常州工学院学报, no. 04, pages 29 - 32 *

Similar Documents

Publication Publication Date Title
US10007865B1 (en) Learning method and learning device for adjusting parameters of CNN by using multi-scale feature maps and testing method and testing device using the same
KR102114357B1 (en) Method and device for constructing a table including information on a pooling type and testing method and testing device using the same
Nasibov et al. On the nearest parametric approximation of a fuzzy number
WO2020224297A1 (en) Method and device for determining computer-executable integrated model
DE102020211851A1 (en) BAYES'S OPTIMIZATION BASED INQUIRY-EFFICIENT ADVERSARY BLACK BOX ATTACKS
CN105825360A (en) Adjustment method and apparatus of merchant distribution scope
CN109447958B (en) Image processing method, image processing device, storage medium and computer equipment
JP2015087903A (en) Apparatus and method for information processing
EP3598288A1 (en) System and method for generating photorealistic synthetic images based on semantic information
CN104992347A (en) Video matching advertisement method and device
CN110705690B (en) Continuous learning method and system based on generative model and meta-learning optimization method
CN109214446A (en) Potentiality good performance personnel kind identification method, system, terminal and computer readable storage medium
JP2009151383A (en) Analyzer for analyzing relation between operation and quality in production process, analytical method, program, and computer-readable recording medium
AU2006235195A1 (en) Mining optimisation
CN107748898A (en) File classifying method, device, computing device and computer-readable storage medium
CN104657574A (en) Building method and device for medical diagnosis models
CN111427925B (en) Volume assembling method, device, equipment and storage medium
CN111242176B (en) Method and device for processing computer vision task and electronic system
CN109214448A (en) Non- good performance staff training method, system, terminal and computer readable storage medium
JP6988995B2 (en) Image generator, image generator and image generator
CN100360980C (en) Method of designing optical system
CN112580249A (en) Optimization method and device of planar design, electronic equipment and storage medium
CN110569493B (en) Method and system for adjusting planar design framework
JP7095467B2 (en) Training data evaluation device, training data evaluation method, and program
CN111144497A (en) Image significance prediction method under multitask depth network based on aesthetic analysis

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20210330

WW01 Invention patent application withdrawn after publication