Layout control method and device for functional parts, equipment and storage medium

By automatically determining the number of layouts of functional components in the design area and generating a bill of materials, the problems of inefficient layout and error prone in the prior art are solved, and efficient and accurate layout and fast delivery are achieved.

CN119918121APending Publication Date: 2025-05-02QINGDAO HAIER INTELLIGENT BUILDING TECHNOLOGY CO LTD +4
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311433405.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-31
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

In the prior art, the layout of functional components of industrial products is inefficient and prone to errors, making it difficult to meet the diverse needs of customers and the requirements of fast delivery.

Method used

By obtaining the total size information of the design area and the sub-size information of the functional components, combined with the predetermined layout correspondence, the number of layouts of the functional components in the design area is automatically determined, and a bill of materials is automatically generated to reduce manual intervention.

Benefits of technology

It improves the efficiency of functional component layout, reduces the occurrence of errors, can meet the diverse needs of customers, and achieves rapid delivery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119918121A_ABST
    Figure CN119918121A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of industrial design, and provides a functional component layout control method, device and equipment and a storage medium, and the functional component layout control method comprises the steps: obtaining the total size information of a to-be-laid design region, the types of to-be-laid functional components and the sub-size information corresponding to each type of functional component; and according to the total size information, the sub-size information corresponding to each functional component and a predetermined layout corresponding relation, determining the arrangement number of each functional component in the design area, and according to the arrangement number of each functional component, generating a bill of material. When the functional parts are arranged in the design area, the bill of materials can be automatically generated, manual arrangement is not needed, efficiency is high, errors are not prone to occurring, and the requirements of users can be met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of industrial design, and in particular to a layout control method, device, equipment and storage medium for functional components. Background Art

[0002] As the number of industrial products increases, the demand for industrial product design is also stronger. At present, there are many types of non-standard project requirements, and the delivery period requirements for products are also relatively strict. For example, multiple modules with filtering functions and multiple wind shields are arranged on the surface of the box. In order to meet the diverse needs of customers and achieve the goal of fast delivery, the burden on designers is often increased. In the related technology, when laying out the functional components of the product, it is necessary to manually arrange the functional components, manually build the BOM (Bill of Material) and draw the drawing. This method is inefficient and prone to errors, and it is difficult to meet customer needs. Summary of the invention

[0003] The present invention aims to solve at least one of the technical problems existing in the related art. To this end, the present invention proposes a layout control method for functional components, which can determine the layout quantity of each functional component in the design area according to the total size information of the design area to be laid out, the sub-size information corresponding to each functional component, and the predetermined layout correspondence, and then automatically generate a bill of materials, without the need for manual arrangement, with high efficiency and low error rate, which can meet the needs of users.

[0004] The invention also provides a layout control device for functional components.

[0005] The invention also provides an electronic device.

[0006] The present invention also provides a storage medium containing computer executable instructions.

[0007] A method for controlling the layout of functional components provided in accordance with an embodiment of a first aspect of the present invention includes:

[0008] Obtaining total size information of the design area to be laid out, types of functional components to be laid out, and sub-size information corresponding to each of the functional components;

[0009] The arrangement quantity of each functional component in the design area is determined according to the total size information, the sub-size information corresponding to each functional component and a predetermined layout correspondence, and a bill of materials is generated according to the arrangement quantity of each functional component.

[0010] According to an embodiment of the present invention, the step of determining the number of arrangements of each functional component in the design area according to the total size information, the sub-size information corresponding to each functional component, and a predetermined layout correspondence relationship specifically includes:

[0011] Determine a first arrangement quantity of each functional component in the length direction of the design area according to the total length of the design area, the length of each functional component, and a predetermined length direction layout correspondence relationship;

[0012] Determine a second arrangement quantity of each functional component in the width direction of the design area according to the total width of the design area, the width of each functional component, and a predetermined width direction layout correspondence relationship;

[0013] The final arrangement quantity is determined according to the first arrangement quantity and the second arrangement quantity corresponding to each functional component in the design area.

[0014] According to an embodiment of the present invention, the functional component includes a first functional component and a second functional component, the first functional component has a first length, the second functional component has a second length, and the first length is greater than the second length. The step of determining the first arrangement quantity of each functional component in the length direction of the design area according to the total length of the design area, the length of each functional component, and the predetermined length direction layout correspondence specifically includes:

[0015] The maximum arrangement quantity of the first functional components along the length direction is determined according to the total length and the first length as the first arrangement quantity of the first functional components, and the first arrangement quantity of the second functional components is determined according to the total length, the length of all the first functional components and the second length.

[0016] According to an embodiment of the present invention, the first functional component has a first width, the second functional component has a second width, and the first width is greater than the second width. The step of determining the second arrangement quantity of each functional component in the width direction of the design area according to the total width of the design area, the width of each functional component, and the predetermined width direction layout correspondence relationship specifically includes:

[0017] The maximum arrangement quantity of the first functional components along the width direction is determined according to the total width and the first width as the second arrangement quantity of the first functional components, and the second arrangement quantity of the second functional components is determined according to the total width, the widths of all the first functional components and the second width.

[0018] According to an embodiment of the present invention, the step of determining the first arrangement quantity of each functional component in the length direction of the design area according to the total length of the design area, the length of each functional component and the predetermined length direction layout correspondence relationship, further includes:

[0019] Determine the third arrangement quantity of the lower wind shield according to the total length, the length corresponding to each functional component, the first arrangement quantity corresponding to each functional component, and the reserved gap; wherein the third arrangement quantity is 0 or 1; when the third arrangement quantity is 1, determine the third width of the lower wind shield according to the total width and the first reserved relationship;

[0020] A third arrangement quantity of the lower wind shield, the third width, and a predetermined third length of the lower wind shield are listed in the bill of materials.

[0021] According to an embodiment of the present invention, the step of determining the second arrangement quantity of each functional component in the width direction of the design area according to the total width of the design area, the width of each functional component and the predetermined width direction layout correspondence relationship, further includes:

[0022] Determine the fourth width of the left wind shield and the right wind shield according to the total width, the width corresponding to each of the functional components, the second arrangement quantity corresponding to each of the functional components, and the predetermined left-right arrangement relationship, and determine the fourth length of the left wind shield and the right wind shield according to the total length and the predetermined second reserved relationship;

[0023] The fifth arrangement quantity of the left wind shield and the right wind shield is set to 1, and the fifth arrangement quantity of the left wind shield, the fifth arrangement quantity of the right wind shield, the fourth width, and the fourth length are included in the bill of materials.

[0024] According to an embodiment of the present invention, the step of determining the first arrangement quantity of each functional component in the length direction of the design area according to the total length of the design area, the length of each functional component and the predetermined length direction layout correspondence relationship, further includes:

[0025] Acquire a structural type of the design area; wherein the structural type includes a first type and a second type; the first type includes a first vertical area and a first lateral area located at a side of one end of the first vertical area; the second type includes a second vertical area and two second lateral areas located at both ends of the second vertical area in a one-to-one correspondence, and the two second lateral areas are located on different sides of the second vertical area;

[0026] Determine a fifth length of the upper wind shield according to the structural type of the design area, the total length, the length corresponding to each functional component, the first arrangement quantity corresponding to each functional component, the third length of the lower wind shield, and the predetermined upper arrangement relationship, and determine a fifth width of the upper wind shield according to the total width and the predetermined third reserved relationship;

[0027] The sixth arrangement quantity of the upper wind shield is set to 1, and the sixth arrangement quantity, the fifth width, and the fifth length are included in the bill of materials.

[0028] According to an embodiment of the present invention, after generating the bill of materials, the layout control method further includes:

[0029] A coordinate system is established based on the design area, and a layout diagram is generated according to the arrangement quantity of each functional component in the design area, the sub-size information and a predetermined alignment relationship.

[0030] According to a second aspect of the present invention, a layout control device for functional components is provided, comprising:

[0031] An acquisition module, used to acquire total size information of the design area to be laid out, types of functional components to be laid out, and sub-size information corresponding to each of the functional components;

[0032] A control module is used to determine the layout quantity of each functional component in the design area according to the total size information, the sub-size information corresponding to each functional component and a predetermined layout correspondence, and generate a bill of materials according to the layout quantity of each functional component.

[0033] An electronic device provided according to an embodiment of the third aspect of the present invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the method for controlling the layout of functional components provided according to the embodiment of the first aspect of the present invention are implemented.

[0034] According to a fourth aspect of the present invention, a storage medium containing computer executable instructions is provided, and when the computer executable instructions are executed by a computer processor, they are used to perform the steps of the layout control method of functional components provided by the first aspect of the present invention.

[0035] The above one or more technical solutions in the present invention have at least one of the following technical effects:

[0036] The layout control method of functional components provided by an embodiment of the present invention includes: obtaining the total size information of the design area to be laid out, the type of functional components to be laid out, and the sub-size information corresponding to each functional component; determining the layout quantity of each functional component in the design area according to the total size information, the sub-size information corresponding to each functional component, and the predetermined layout correspondence, and generating a bill of materials according to the layout quantity of each functional component. When laying out the functional components in the design area, the bill of materials can be automatically generated without manual arrangement, which is highly efficient and not prone to errors, and can meet the needs of users. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0038] Figure 1 One of the flow charts of the layout control method of the functional components provided by the embodiment of the present invention;

[0039] Figure 2 A second flowchart of a method for controlling the layout of functional components provided by an embodiment of the present invention;

[0040] Figure 3 A schematic structural diagram of a layout control device for functional components provided by an embodiment of the present invention;

[0041] Figure 4 A schematic structural diagram of an electronic device provided in an embodiment of the present invention.

[0042] Reference numerals:

[0043] 501, acquisition module; 502, control module. DETAILED DESCRIPTION

[0044] In order to make the purpose, technical solution and advantages of the invention clearer, the technical solution in the invention will be clearly described below in conjunction with the drawings in the invention. Obviously, the described embodiments are part of the embodiments of the invention, not all of the embodiments. Based on the embodiments in the invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the invention.

[0045] In the description of the embodiments of the present invention, it should be noted that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the embodiments of the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore cannot be understood as limitations on the embodiments of the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.

[0046] In the description of the embodiments of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "connected" and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the embodiments of the present invention can be understood according to specific circumstances.

[0047] In the embodiments of the present invention, unless otherwise clearly specified and limited, the first feature being "above" or "below" the second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, the first feature being "above", "above" and "above" the second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. The first feature being "below", "below" and "below" the second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0048] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the embodiment of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0049] In the related art, when laying out the functional components of a product, it is necessary to manually arrange the functional components, manually build the BOM (Bill of Material) and produce the drawing. This method is inefficient and prone to errors, and it is difficult to meet customer needs.

[0050] For example, a plurality of different functional components need to be arranged on the structural surface of the filter device, including a large-sized filter screen, a small-sized filter screen, an upper wind shield, a lower wind shield, a left wind shield, and a right wind shield, etc. The sizes of some functional components are fixed, and the sizes of other functional components are adjustable, and some functional components are necessary, and other functional components are not necessary. Therefore, when the designer adopts manual arrangement, he needs to try step by step, and then he can determine how many functional components, the corresponding types, and the corresponding sizes can be set in the working area of ​​the structural surface, and the efficiency of manual arrangement is low.

[0051] According to the first aspect of the present invention, the layout control method of the functional components provided by the embodiment is shown in FIG. Figure 1 ,include:

[0052] S100: Obtain total size information of the design area to be laid out, types of functional components to be laid out, and sub-size information corresponding to each functional component.

[0053] It is understandable that the total size information of the design area to be laid out can be input through a computer or mobile terminal. In this case, there is a text box for inputting size information on the computer page or the mobile terminal app. The designer directly inputs the total size information of the design area into the text box, and the controller can directly read the size information. Secondly, the designer can also add the original drawing information through the drawing software, and circle all or part of the area in the original drawing information as the design area to be laid out.

[0054] One or more functional components to be laid out can be selected in the design area. In this embodiment, only the layout control problem of fixed-size functional components is solved, and in other embodiments, the layout control problem of variable-size functional components can be solved.

[0055] S200, determining the arrangement quantity of each functional component in the design area according to the total size information, the sub-size information corresponding to each functional component and the predetermined layout correspondence, and generating a bill of materials according to the arrangement quantity of each functional component.

[0056] It can be understood that after the total size information and the sub-size information of each functional component are determined, the number of each functional component to be arranged in the design area can be determined based on the predetermined layout correspondence. Among them, the predetermined layout correspondence is the key information. For example, in some cases, multiple functional components need to be set alternately, and the multiple functional components that are alternately set have the lowest common multiple in the length and width directions, and it can be determined how many alternating cycles can be set in the design area; in some cases, the number of settings of a part of the functional components is fixed, such as 1 or 2, and the remaining size is used to set other functional components, then the size of the fixed number of functional components is subtracted, and the remaining size is all used to set other functional components; in other cases, a certain functional component is set preferentially, and the remaining size is used to set other functional components, so the existence or non-existence of other functional components is uncertain.

[0057] In step S200, when the total size information, the sub-size information corresponding to each functional component, and the predetermined layout correspondence are determined, the number of each functional component to be arranged in the design area is also determined, so a bill of materials can be generated according to the number of each functional component to be arranged.

[0058] According to the above, when the functional components of the design area are laid out using the functional component layout control method provided by the embodiment of the present invention, a bill of materials can be automatically generated without manual arrangement, which is highly efficient and less prone to errors and can meet user needs.

[0059] At the same time, after generating the bill of materials, designers can adjust the predetermined layout correspondence to obtain multiple bills of materials, that is, form a variety of feasible solutions for designers and customers to choose from, which can meet various customer needs.

[0060] In some embodiments, the step of determining the number of each functional component to be arranged in the design area according to the total size information, the sub-size information corresponding to each functional component, and the predetermined layout correspondence relationship specifically includes:

[0061] S210, determining a first arrangement quantity of each functional component in the length direction of the design area according to the total length of the design area, the length of each functional component, and a predetermined length direction layout correspondence relationship.

[0062] S220, determining a second arrangement quantity of each functional component in the width direction of the design area according to the total width of the design area, the width of each functional component, and a predetermined width direction layout correspondence relationship.

[0063] See also Figure 2, the projection of the design area is a plane structure, that is, the design area may not be a plane structure, and the total size information includes the total length and the total width. When the total length of the design area, the length of each functional component, and the predetermined length direction layout correspondence are determined, the first arrangement quantity of each functional component in the length direction of the design area can also be determined, for example, the number of first functional components and second functional components arranged along the length direction is determined. It should be noted that the first arrangement quantity is the arrangement quantity of the corresponding functional components in the length direction, the first functional component has the first arrangement quantity in the length direction, the second functional component also has the first arrangement quantity in the length direction, and the first arrangement quantity of each functional component may be different. The second arrangement quantity is the arrangement quantity of the corresponding functional components in the width direction, the first functional component has the second arrangement quantity in the width direction, the second functional component also has the second arrangement quantity in the width direction, and the second arrangement quantity of each functional component may be different.

[0064] S230, determining a final arrangement quantity according to the first arrangement quantity and the second arrangement quantity corresponding to each functional component in the design area.

[0065] It can be understood that when the first arrangement quantity and the second arrangement quantity of each functional component in the design area are determined, the total arrangement quantity of each functional component can be determined. For example, if the first arrangement quantity of the first functional component is 2 and the second arrangement quantity is 3, the total arrangement quantity of the first functional component is 6; if the first arrangement quantity of the second functional component is 1 and the second arrangement quantity is 1, the total arrangement quantity of the second functional component is 2.

[0066] In some embodiments, the functional component includes a first functional component and a second functional component, the first functional component has a first length, the second functional component has a second length, and the first length is greater than the second length. The step of determining the first arrangement quantity of each functional component in the length direction of the design area according to the total length of the design area, the length of each functional component, and the predetermined length direction layout correspondence specifically includes:

[0067] S211, determining the maximum arrangement quantity of the first functional components along the length direction as the first arrangement quantity of the first functional components according to the total length and the first length, and determining the first arrangement quantity of the second functional components according to the total length, the length of all the first functional components and the second length.

[0068] In step S211, the layout correspondence of the first functional component is adopted. In the length direction of the design area, the first functional component is arranged first until the remaining length of the design area is insufficient to arrange the next first functional component, and the maximum number of first functional components can be obtained, and the first number of first functional components = FLOOR (total length / first length). The first number of second functional components needs to be determined based on the remaining length of the total length minus the length of all the first functional components. If Mod (total length, first length)> second length, the second functional component can also be arranged along the length direction. Generally, the first number of second functional components is 1. When the second length is much smaller than the first length (for example, the second length is less than half of the first length), the first number of second functional components can be determined based on the relationship between the remaining length and the second length. If Mod (total length, first length) is less than the second length, there is not enough length in the design area to arrange the second functional component, and the first number of second functional components is 0.

[0069] In some embodiments, the first functional component has a first width, the second functional component has a second width, and the first width is greater than the second width. The step of determining the second arrangement quantity of the functional components in the width direction of the design area according to the total width of the design area, the width of each functional component, and the predetermined width direction layout correspondence relationship specifically includes:

[0070] S221, determining the maximum arrangement quantity of the first functional components along the width direction as the second arrangement quantity of the first functional components according to the total width and the first width, and determining the second arrangement quantity of the second functional components according to the total width, the widths of all the first functional components and the second width.

[0071] In step S221, the layout correspondence of the first functional component is adopted. In the width direction of the design area, the first functional component is arranged first until the remaining width of the design area is insufficient to arrange the next first functional component, and the maximum number of first functional components can be obtained, and the second number of first functional components is arranged = FLOOR (total width / first width). The second number of second functional components needs to be determined based on the remaining width of the total width minus the width of all the first functional components: If Mod (total width, first width)> second width, the second functional component can be arranged along the width direction. Generally, the second number of second functional components is 1. When the second width is much smaller than the first width (for example, the second width is less than half of the first width), the second number of second functional components can be determined based on the relationship between the remaining width and the second width. If Mod (total width, first width) is less than the second width, there is not enough width in the design area to arrange the second functional component, and the second number of second functional components is 0.

[0072] According to one embodiment of the present invention, the step of determining the first arrangement quantity of each functional component in the length direction of the design area according to the total length of the design area, the length of each functional component and the predetermined length direction layout correspondence relationship further includes:

[0073] S310. Determine the third arrangement quantity of the lower wind shield according to the total length, the length corresponding to each functional component, the first arrangement quantity corresponding to each functional component, and the reserved gap; wherein the third arrangement quantity is 0 or 1; when the third arrangement quantity is 1, determine the third width of the lower wind shield according to the total width and the first reserved relationship.

[0074] It is understandable that, based on the previous layout relationship, after the first functional component and the second functional component are arranged, it is uncertain whether there is enough length to arrange the lower wind shield, so the third arrangement quantity of the lower wind shield is 0 or 1.

[0075] For example, the total length of the design area is H0, the first length is H1, the first arrangement number of the first functional component is n1, the second length is H2, and the first arrangement number of the second functional component is n2. After the first functional component and the second functional component are arranged along the length direction, the remaining length is: H S =H0-n1*H1-n2*H2; if H S If H is greater than the reserved gap a, it means that there is enough length in the design area to arrange the lower windshield. S If it is less than or equal to the reserved gap a, it means that there is not enough length in the design area to arrange the lower windshield. It should be noted that the above n1 and n2 can be 0 to apply to different situations.

[0076] S320, listing the third arrangement quantity, the third width, and the predetermined third length of the lower wind shield into the bill of materials.

[0077] It can be understood that when the third arrangement quantity of the lower wind shield is 1, the third width and the third length of the lower wind shield can be simultaneously included in the bill of materials; when the third arrangement quantity of the lower wind shield is 0, the third width and the third length do not exist, or are set to 0 by default.

[0078] In some embodiments, the step of determining the second arrangement quantity of each functional component in the width direction of the design area according to the total width of the design area, the width of each functional component, and the predetermined width direction layout correspondence relationship further includes:

[0079] S330, determine the fourth width of the left wind shield and the right wind shield according to the total width, the width corresponding to each functional component, the second arrangement quantity corresponding to each functional component and the predetermined left and right arrangement relationship, and determine the fourth length of the left wind shield and the right wind shield according to the total length and the predetermined second reserved relationship.

[0080] In step S330, the technical content of determining the fifth length and the fifth width of the left wind shield and the right wind shield is given. When the total width, the width corresponding to each functional component, and the second arrangement quantity corresponding to each functional component are determined, the remaining width of the design area is determined, and the left wind shield and the right wind shield are arranged within the remaining width range. The size of the left wind shield and the right wind shield is adjustable, and is determined according to the number of the first functional component and the second functional component arranged in advance.

[0081] For example, the total width of the design area is W0, the first width of the first functional component is W1, the second arrangement quantity of the first functional component is m1, the second width of the second functional component is W2, and the second arrangement quantity of the second functional component is m2, then the fifth width of the left windshield = the fifth width of the right windshield = (W0-m1*W1-m2*W2) / 2, where m1 and m2 can be 0. The fourth length is a certain length reserved on the basis of the total length, for example, the total length -2 cm.

[0082] The fifth width calculated in the above manner may not necessarily meet actual installation requirements, but an optional example is given to clearly inform designers whether the solution is feasible.

[0083] S340, setting the fifth arrangement quantity of the left wind shield and the right wind shield to 1, and listing the fifth arrangement quantity of the left wind shield, the fifth arrangement quantity of the right wind shield, the fourth width, and the fourth length into the bill of materials.

[0084] After the fifth arrangement quantity of the left wind deflector and the right wind deflector is determined, the above information is included in the bill of materials for reference by designers, thereby improving design efficiency.

[0085] In some embodiments, the step of determining the first arrangement quantity of each functional component in the length direction of the design area according to the total length of the design area, the length of each functional component, and the predetermined length direction layout correspondence relationship further includes:

[0086] S350, obtaining the structural type of the design area; wherein the structural type includes a first type and a second type; the first type includes a first vertical area and a first lateral area located on the side of one end of the first vertical area; the second type includes a second vertical area and two second lateral areas located at both ends of the second vertical area in a one-to-one correspondence, and the two second lateral areas are located on different sides of the second vertical area.

[0087] In step S350, an embodiment of the present invention provides a technical concept of setting an upper windshield in a design area of ​​a special-shaped structure. The first type includes a first vertical area and a first lateral area located at the side of one end of the first vertical area, that is, the first type is L-shaped; the second type includes a second vertical area and two second lateral areas located at both ends of the second vertical area in a one-to-one correspondence, and the two second lateral areas are located on different sides of the second vertical area, that is, the second type is Z-shaped. For different structural types, the length and width of the upper windshield are set to be inconsistent.

[0088] S360. Determine the fifth length of the upper wind shield according to the structural type of the design area, the total length, the length corresponding to each functional component, the first arrangement quantity corresponding to each functional component, the third length of the lower wind shield and the predetermined upper arrangement relationship, and determine the fifth width of the upper wind shield according to the total width and the predetermined third reserved relationship.

[0089] It can be understood that for design areas of different structural types, the corresponding predetermined upper arrangement relationship is first selected. When the total length, the length corresponding to each functional component, the first arrangement quantity corresponding to each functional component, and the third length of the lower windshield are determined, the fifth length of the upper windshield can be determined based on the predetermined upper arrangement relationship. Then, the fifth width of the upper windshield is determined according to the total width and the predetermined third reserved relationship, that is, a certain width value is reserved on the basis of the total width as the fifth width of the upper windshield, for example, the fifth width = total width - 2 cm.

[0090] S370. Set the sixth arrangement quantity of the upper wind shield plate to 1, and include the sixth arrangement quantity, the fifth width, and the fifth length in the bill of materials.

[0091] It can be understood that after the sixth arrangement quantity, the fifth width, and the fifth length are determined, the above information is included in the bill of materials for reference by designers, thereby improving design efficiency.

[0092] According to one embodiment of the present invention, after generating the bill of materials, the layout control method further includes:

[0093] S400, establishing a coordinate system based on the design area, and generating a layout diagram according to the arrangement quantity of each functional component in the design area, each sub-size information and a predetermined alignment relationship.

[0094] In step S400, after the total size information of the design area is determined, a coordinate system can be established based on the total size information, and the origin of the coordinate system can be the center point of the design area or the corner point of the design area. According to the bill of materials, the types of functional components arranged in the design area, the sizes of the corresponding functional components, and the number of corresponding functional components are determined, so the contours of these functional components can be displayed in the coordinate system. If the alignment relationship is an equidistant alignment relationship, multiple functional components are arranged at equal intervals; if the alignment relationship is a symmetrical relationship, for example, there are two first functional components and one second functional component, then the second functional component is displayed between the two first functional components. Designers can obtain the layout diagram actively generated by the control system, on which basis the designers can make partial adjustments and optimizations, reducing most of the preliminary layout attempts, with high efficiency and less error-prone.

[0095] According to the second aspect of the present invention, the layout control device of the functional components provided by the embodiment is shown in FIG. Figure 3 ,include:

[0096] The acquisition module 501 is used to acquire the total size information of the design area to be laid out, the types of functional components to be laid out, and the sub-size information corresponding to each functional component.

[0097] The control module 502 is used to determine the arrangement quantity of each functional component in the design area according to the total size information, the sub-size information corresponding to each functional component and the predetermined layout correspondence, and generate a bill of materials according to the arrangement quantity of each functional component.

[0098] It should be noted that the above steps S100 to S200, as well as other steps, are only for the convenience of expression, and do not constitute a time sequence limitation for each step in the layout control method of functional components. In addition, some contents are described in detail in the layout control method of functional components provided in the first aspect embodiment, and the contents in the layout control method of all functional components are also applicable to the layout control device of functional components provided in the second aspect embodiment, and in order to avoid repetition, the layout control device of functional components provided in the second aspect embodiment is not described in detail. Similarly, the contents in the above two aspects of the embodiments can be used to explain the contents of all the subsequent aspects of the embodiments, so the repeated contents will not be repeated in the subsequent embodiments. The layout control device of functional components provided in the embodiment of the present invention has a technical effect corresponding to the technical effect of the above-mentioned layout control method of functional components, which will not be repeated here.

[0099] An electronic device provided according to an embodiment of the third aspect of the present invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the method for controlling the layout of functional components provided according to the embodiment of the first aspect of the present invention are implemented.

[0100] Figure 4 An example of a physical structure diagram of an electronic device is provided, and the electronic device may include: a processor 810, a communication interface 820, a memory 830, and a communication bus 840, wherein the processor 810, the communication interface 820, and the memory 830 communicate with each other through the communication bus 840. The processor 810 may call the logic instructions in the memory 830 to execute a layout control method for functional components, and the method includes: obtaining the total size information of the design area to be laid out, the type of the functional components to be laid out, and the sub-size information corresponding to each functional component; determining the layout quantity of each functional component in the design area according to the total size information, the sub-size information corresponding to each functional component, and the predetermined layout correspondence, and generating a bill of materials according to the layout quantity of each functional component.

[0101] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0102] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0103] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0104] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for controlling the layout of functional components provided by the above-mentioned methods is implemented. The method includes: obtaining total size information of a design area to be laid out, types of functional components to be laid out, and sub-size information corresponding to each functional component; determining the layout quantity of each functional component in the design area according to the total size information, the sub-size information corresponding to each functional component, and a predetermined layout correspondence, and generating a bill of materials according to the layout quantity of each functional component.

[0105] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0106] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0107] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for controlling the layout of functional components, characterized in that: include: Obtaining total size information of the design area to be laid out, types of functional components to be laid out, and sub-size information corresponding to each of the functional components; The arrangement quantity of each functional component in the design area is determined according to the total size information, the sub-size information corresponding to each functional component and a predetermined layout correspondence, and a bill of materials is generated according to the arrangement quantity of each functional component.

2. The method for controlling the layout of functional components according to claim 1, characterized in that: The step of determining the arrangement quantity of each functional component in the design area according to the total size information, the sub-size information corresponding to each functional component, and the predetermined layout correspondence relationship specifically includes: Determine a first arrangement quantity of each functional component in the length direction of the design area according to the total length of the design area, the length of each functional component, and a predetermined length direction layout correspondence relationship; Determine a second arrangement quantity of each functional component in the width direction of the design area according to the total width of the design area, the width of each functional component, and a predetermined width direction layout correspondence relationship; The final arrangement quantity is determined according to the first arrangement quantity and the second arrangement quantity corresponding to each functional component in the design area.

3. The method for controlling the layout of functional components according to claim 2, characterized in that: The functional component includes a first functional component and a second functional component, the first functional component has a first length, the second functional component has a second length, and the first length is greater than the second length. The step of determining a first arrangement quantity of each functional component in the length direction of the design area according to the total length of the design area, the length of each functional component, and a predetermined length direction layout correspondence specifically includes: The maximum arrangement quantity of the first functional components along the length direction is determined according to the total length and the first length as the first arrangement quantity of the first functional components, and the first arrangement quantity of the second functional components is determined according to the total length, the length of all the first functional components and the second length.

4. The method for controlling the layout of functional components according to claim 3, characterized in that: The first functional component has a first width, the second functional component has a second width, the first width is greater than the second width, and the step of determining the second arrangement quantity of each functional component in the width direction of the design area according to the total width of the design area, the width of each functional component, and the predetermined width direction layout correspondence specifically includes: The maximum arrangement quantity of the first functional components along the width direction is determined according to the total width and the first width as the second arrangement quantity of the first functional components, and the second arrangement quantity of the second functional components is determined according to the total width, the widths of all the first functional components and the second width.

5. The method for controlling the layout of functional components according to claim 2, characterized in that: The step of determining the first arrangement quantity of each functional component in the length direction of the design area according to the total length of the design area, the length of each functional component and the predetermined length direction layout correspondence relationship further includes: Determine the third arrangement quantity of the lower wind shield according to the total length, the length corresponding to each functional component, the first arrangement quantity corresponding to each functional component, and the reserved gap; wherein the third arrangement quantity is 0 or 1; when the third arrangement quantity is 1, determine the third width of the lower wind shield according to the total width and the first reserved relationship; A third arrangement quantity of the lower wind shield, the third width, and a predetermined third length of the lower wind shield are listed in the bill of materials.

6. The method for controlling the layout of functional components according to claim 2, characterized in that: The step of determining the second arrangement quantity of each functional component in the width direction of the design area according to the total width of the design area, the width of each functional component and the predetermined width direction layout correspondence relationship, further includes: Determine the fourth width of the left wind shield and the right wind shield according to the total width, the width corresponding to each of the functional components, the second arrangement quantity corresponding to each of the functional components, and the predetermined left-right arrangement relationship, and determine the fourth length of the left wind shield and the right wind shield according to the total length and the predetermined second reserved relationship; The fifth arrangement quantity of the left wind shield and the right wind shield is set to 1, and the fifth arrangement quantity of the left wind shield, the fifth arrangement quantity of the right wind shield, the fourth width, and the fourth length are included in the bill of materials.

7. The method for controlling the layout of functional components according to claim 5, characterized in that: The step of determining the first arrangement quantity of each functional component in the length direction of the design area according to the total length of the design area, the length of each functional component and the predetermined length direction layout correspondence relationship further includes: Acquire a structural type of the design area; wherein the structural type includes a first type and a second type; the first type includes a first vertical area and a first lateral area located at a side of one end of the first vertical area; the second type includes a second vertical area and two second lateral areas located at both ends of the second vertical area in a one-to-one correspondence, and the two second lateral areas are located on different sides of the second vertical area; Determine a fifth length of the upper wind shield according to the structural type of the design area, the total length, the length corresponding to each functional component, the first arrangement quantity corresponding to each functional component, the third length of the lower wind shield, and the predetermined upper arrangement relationship, and determine a fifth width of the upper wind shield according to the total width and the predetermined third reserved relationship; The sixth arrangement quantity of the upper wind shield is set to 1, and the sixth arrangement quantity, the fifth width, and the fifth length are included in the bill of materials.

8. The method for controlling the layout of functional components according to any one of claims 1 to 7, characterized in that: After generating the bill of materials, the layout control method further includes: A coordinate system is established based on the design area, and a layout diagram is generated according to the arrangement quantity of each functional component in the design area, the sub-size information and a predetermined alignment relationship.

9. A layout control device for functional components, characterized in that: include: An acquisition module, used to acquire total size information of the design area to be laid out, types of functional components to be laid out, and sub-size information corresponding to each of the functional components; A control module is used to determine the layout quantity of each functional component in the design area according to the total size information, the sub-size information corresponding to each functional component and a predetermined layout correspondence, and generate a bill of materials according to the layout quantity of each functional component.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the functional component layout control method according to any one of claims 1 to 8 are implemented.

11. A storage medium containing computer executable instructions, characterized in that: When the computer executable instructions are executed by a computer processor, the computer executable instructions are used to perform the steps of the functional component layout control method according to any one of claims 1 to 8.