Plant plan drawing generation method and device
By acquiring plant combination schemes and scene base map data of the environment, and combining them with rule engine rendering, the problem of low efficiency in generating plant scheme drawings in existing technologies has been solved, and intelligent drawing generation has been achieved.
Patent Information
- Application Number
- CN202510028851.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-08
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2045-01-08
AI Technical Summary
In existing technologies, the generation of plant design drawings relies on manual drafting, which is inefficient and poses a risk of leaking confidential drawings.
By acquiring plant matching schemes tailored to the environment, utilizing the scene base map associated with the environment and plant mapping data, and combining it with a rule engine for intelligent rendering, plant drawings are generated.
It enables intelligent generation of plant drawings, improving generation efficiency and avoiding the inefficiency of manual drawing.
Smart Images

Figure CN120030746B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of information processing technology, specifically to a method and apparatus for generating plant design drawings. Background Technology
[0002] In related technologies, when generating drawings for plant solutions, manual drawing is usually required, which is inefficient and also poses the risk of leaking confidential drawings. Summary of the Invention
[0003] The main objective of this invention is to provide a method and apparatus for generating plant design drawings, in order to address the shortcomings of related technologies.
[0004] To achieve the above objectives, according to a first aspect of the present invention, a method for generating plant scheme drawings is provided, comprising obtaining a plant combination scheme generated for an environment, wherein the plant combination scheme consists of different types of plants determined for different environments; rendering based on a scene base map associated with the environment and data mapping of each type of plant in the plant combination scheme to obtain a drawing corresponding to the environment.
[0005] Optionally, rendering based on the scene base map associated with the environment and the data mapping of each type of plant in the plant matching scheme includes: identifying the scene base map to obtain the layout information of the scene; inputting the data mapping of each type of plant and the layout information into a pre-built rule engine, so as to render each type of plant to different positions in the base map through the rule engine.
[0006] Optionally, rendering different types of plants with different legends to different positions in the base map using a rule engine includes: determining the legends corresponding to different types of plants based on the plant type; and laying out the legends corresponding to different types of plants in different positions in the base map based on the planting method of each type of plant.
[0007] Optionally, when arranging legends corresponding to different types of plants at different positions on the base map based on the planting methods of each type of plant, the method includes: determining the target type of plant at different positions on the base map based on the planting methods of each type of plant; determining the number of plants based on the data mapped from the target type of plant and the layout information at the corresponding position; and arranging legends corresponding to different numbers and different target types of plants at different positions on the base map.
[0008] Optionally, before obtaining the plant combination scheme generated for the environment, the method includes: obtaining an environment selection request sent by the user, and automatically generating a plant combination scheme based on the selected environment.
[0009] According to a second aspect of the present invention, a plant scheme drawing generation apparatus is provided, comprising: a plant combination scheme acquisition unit, configured to acquire a plant combination scheme generated for an environment, wherein the plant combination scheme comprises different types of plants determined for different environments; and a drawing rendering unit, configured to render based on a scene base map associated with the environment and data mapped to each type of plant in the plant combination scheme, to obtain a drawing corresponding to the environment.
[0010] Optionally, rendering based on the scene base map associated with the environment and the data mapping of each type of plant in the plant matching scheme includes: identifying the scene base map to obtain the layout information of the scene; inputting the data mapping of each type of plant and the layout information into a pre-built rule engine, so as to render each type of plant to different positions in the base map through the rule engine.
[0011] Optionally, rendering different types of plants with different legends to different positions in the base map using a rule engine includes: determining the legends corresponding to different types of plants based on the plant type; and laying out the legends corresponding to different types of plants in different positions in the base map based on the planting method of each type of plant.
[0012] According to a third aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing the computer to perform the method described in any one of the first aspects.
[0013] According to a fourth aspect of the present invention, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor to cause the at least one processor to perform the method described in any implementation of the first aspect.
[0014] This embodiment presents a method and apparatus for generating plant pattern drawings. The method includes acquiring a plant combination scheme generated for an environment, wherein the plant combination scheme consists of different types of plants determined for different environments; rendering based on a scene base map associated with the environment and the mapping data of each type of plant in the plant combination scheme to obtain a drawing corresponding to the environment. This achieves intelligent generation of plant drawings, overcoming the shortcomings of inefficient manual drawing in related technologies. Attached Figure Description
[0015] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0016] Figure 1 This is a flowchart of the method for generating plant scheme drawings according to an embodiment of the present invention;
[0017] Figure 2a This is an example of the effect of a plant design drawing generated by the method of this embodiment of the invention;
[0018] Figure 2b This is another example of the effect of the plant scheme drawing generated by the method of the embodiment of the present invention;
[0019] Figure 2c This is another example of the effect of the plant scheme drawing generated by the method of the embodiment of the present invention;
[0020] Figure 3 This is a schematic diagram of an electronic device according to an embodiment of the present invention. Detailed Implementation
[0021] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0022] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of the invention described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0023] It should be noted that, unless otherwise specified, the embodiments and features described in the present invention can be combined with each other. The present invention will now be described in detail with reference to the accompanying drawings and embodiments.
[0024] According to embodiments of the present invention, a method for generating plant design drawings is provided, such as... Figure 1 As shown, steps 101 to 103 are included below:
[0025] Step 101: Obtain plant combination schemes generated for different environments, wherein the plant combination schemes are different types of plants determined for different environments.
[0026] As an optional implementation of this embodiment, before obtaining the plant combination scheme generated for the environment, the method includes: obtaining an environment selection request sent by the user terminal, and automatically generating a plant combination scheme based on the selected environment.
[0027] In this step, users can select different scenes through a web page on the user's device or through a mobile app. Scenes can be related to either outdoor or indoor environments. Outdoor scenes can include wetland parks, children's playgrounds, municipal parks, resort hotels, rural green spaces, commercial green spaces, green buildings, waterfront green spaces, pocket parks, community green spaces, forest parks, scenic spots, specialized gardens, plaza green spaces, rural complexes, or roadside green belts. Indoor scenes can include home environments, office environments, public places, or specific spaces such as living rooms, bedrooms, offices, reception rooms, lobbies, corridors, and balconies. Plant matching schemes can be automatically matched based on the user's selected scene and region.
[0028] Different regions determine the plants that can be matched in a plant configuration scheme. For example, the climates of Shanghai and Beijing are different, and the plants suitable for these two regions are different. After determining the target region, a scene selection component is presented for that target region. Different scenes have different characteristics, and different scenes determine the plants that can be matched in the plant configuration scheme. For example, in an outdoor wetland park scene, water-tolerant plants suitable for wetland parks are matched; in an outdoor children's playground scene, non-toxic, thornless, harmless, and colorful plants are matched, etc. In an indoor bedroom scene, plants that absorb carbon and oxygen and promote sleep are matched; in an indoor office scene, smaller plants with some radiation-blocking function are matched, etc. Different scenes can be pre-associated with plant-related characteristics, such as non-toxicity, color, water tolerance, and cold tolerance, for feature matching when the server performs plant matching. There can be multiple matching plants. To prevent the final plant set from being open, constraints are needed, such as allowing users to add restrictions on the green area. The number of plants can be determined based on the data mapped to different plants and the green area. By limiting the region, the scene, and the green area, the final plant set, or plant combination scheme, can be obtained. For example, the plant mapping data is used to describe the plants. Each type of plant mapping has different data, including but not limited to diameter at breast height (DBH), plant height, crown width, etc., which are not limited here. Any data related to plants can be associated with the corresponding plants to form a mapping relationship for use.
[0029] Step 102: Render the scene base map associated with the environment and the data of each type of plant mapping in the plant matching scheme to obtain the drawing corresponding to the environment.
[0030] In this step, different scenes have different base maps. It should be understood that even scenes of the same type can have different base maps. This base map contains layout information for different elements in the scene, including the element's position and the positional relationships between them. These elements include, but are not limited to, roads, water bodies, buildings, and walls in outdoor environments; and sofas, windows, desks, and reception desks in indoor environments, etc., without limitation. Based on the layout information in the base map and the plant mapping data in the plant arrangement scheme, the drawing is obtained through rendering.
[0031] As an optional implementation of this embodiment, rendering based on the scene base map associated with the scene and the data of each type of plant mapping in the plant matching scheme includes: identifying the scene base map to obtain the layout information of the scene; inputting the data of each type of plant mapping and the layout information into a pre-built rule engine, so as to render each type of plant to different positions in the base map through the rule engine.
[0032] In this optional implementation, the background map of the scene is identified, including row or column identification according to the established coordinate system of the background map, thereby obtaining the position information of each element in the drawing and the positional relationship between different elements. After obtaining this layout information, the plants are further placed in different positions on the background map based on the plant mapping data.
[0033] As an optional implementation method in this embodiment, rendering different types of plants with different legends to different positions in the base map using a rule engine includes: determining the legends corresponding to different types of plants based on the plant type; and laying out the legends corresponding to different types of plants in different positions in the base map based on the planting method of each type of plant.
[0034] In this optional implementation, different types of plants can have different symbols. For example, circular or near-circular symbols can represent trees or larger shrubs, cloud-like or near-cloud-like symbols can represent small shrubs or ground cover plants, and dotted or near-dotted symbols can represent lawns, etc. The size of the symbol can represent the size of the plant.
[0035] The legend can be presented in different forms based on information such as size at different locations on the base map. For example, if there is enough space on the base map, the legend can be displayed directly on the drawing as "legend + plant name," showing which plant the legend represents. If there is insufficient space, the legend can be displayed on the drawing as "legend + number" or "legend + letter," with a separate table explaining which plant each number or letter represents. This method transforms plant information into a visual representation.
[0036] Furthermore, based on the planting methods of various plant types, when different types of plant legends are placed in different positions on the base map, the layout information of the base map allows for the selection of different plant arrangements from the plant matching schemes. The placement of plants on the base map can be determined based on their planting methods. For example, if the location on the base map is a body of water in an outdoor environment, then suitable aquatic plants are matched for that location; if the location on the base map is an outdoor environment with plants arranged in a straight line near a road, then suitable plants for row planting are matched; if the location on the base map is an indoor environment such as a children's room, then non-toxic, thornless, and odorless plants are matched; if the location on the base map is a bathroom, then shade-tolerant plants with a certain fragrance are matched, and so on. After determining the plants for different locations, the information of the corresponding legends can be determined based on the plant mapping data, such as determining the size of different legends based on the plant's diameter at breast height (DBH), height, and crown width. By associating different location information, the plants' layout at different locations, and their corresponding legends, when the drawing is rendered to the user's web page, a base map can be rendered first based on the layout information, and then the associated plants and their corresponding legends can be rendered within the base map. Each plant's mapping at a different location has its own data; therefore, when a user clicks on a legend, the data corresponding to that legend's plant mapping can be retrieved and displayed. (Reference) Figure 2a and Figure 2b The illustration shows the rendering of drawings generated for specific outdoor environmental scenarios. Figure 2c The illustration shows the rendering of the drawings generated for the indoor environment.
[0037] This embodiment realizes the intelligent generation of drawings for different plant combination schemes in different environments, overcoming the problem that the drawing generation in related technologies relies on manual labor and has low generation efficiency.
[0038] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.
[0039] According to an embodiment of the present invention, a plant scheme drawing generation device is also provided, including a plant combination scheme acquisition unit for acquiring plant combination schemes generated for an environment, wherein the plant combination schemes are different types of plants determined for different environments; and a drawing rendering unit for rendering based on a scene base map associated with the environment and data mapped to each type of plant in the plant combination schemes to obtain a drawing corresponding to the environment.
[0040] As an optional implementation of this embodiment, rendering based on the scene base map associated with the environment and the data mapped by each type of plant in the plant matching scheme includes: identifying the scene base map to obtain the layout information of the scene; inputting the data mapped by each type of plant and the layout information into a pre-built rule engine, so as to render each type of plant to different positions in the base map through the rule engine.
[0041] As an optional implementation method in this embodiment, rendering different types of plants with different legends to different positions in the base map using a rule engine includes: determining the legends corresponding to different types of plants based on the plant type; and laying out the legends corresponding to different types of plants in different positions in the base map based on the planting method of each type of plant.
[0042] As an optional implementation of this embodiment, when arranging the legends corresponding to different types of plants in different positions on the base map based on the planting methods of each type of plant, the method includes: determining the target type of plant at different positions on the base map based on the planting methods of each type of plant; determining the number of plants based on the data mapped by the target type of plant and the layout information at the corresponding position; and arranging the legends corresponding to different numbers and different target types of plants in different positions on the base map.
[0043] As an optional implementation of this embodiment, before obtaining the plant combination scheme generated for the environment, the method includes: obtaining an environment selection request sent by the user terminal, and automatically generating a plant combination scheme based on the selected environment.
[0044] According to embodiments of the present invention, the present invention also provides an electronic device, the electronic device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to implement the methods described in any of the above embodiments.
[0045] According to embodiments of the present invention, the present invention also provides a readable storage medium storing computer instructions that enable a computer to perform the methods described in any of the above embodiments when executed.
[0046] According to embodiments of the present invention, the present invention also provides a computer program product that, when executed by a processor, can implement the methods described in any of the above embodiments.
[0047] Figure 3A schematic block diagram of an example electronic device 300 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices.
[0048] like Figure 3 As shown, the electronic device 300 includes a computing unit 301, which can perform various appropriate actions and processes based on a computer program stored in a read-only memory (ROM) 302 or a computer program loaded from a storage unit 308 into a random access memory (RAM) 303. The RAM 303 may also store various programs and data required for the operation of the electronic device 300. The computing unit 301, ROM 302, and RAM 303 are interconnected via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.
[0049] Multiple components in electronic device 300 are connected to I / O interface 305, including: input unit 306, such as keyboard, mouse, etc.; output unit 307, such as various types of displays, speakers, etc.; storage unit 308, such as disk, optical disk, etc.; and communication unit 309, such as network card, modem, wireless transceiver, etc. Communication unit 309 allows electronic device 300 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0050] The computing unit 301 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 301 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 301 performs the various methods and processes described above, such as the object matching method. For example, in some embodiments, the object matching method may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 308. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 300 via ROM 302 and / or communication unit 309. When the computer program is loaded into RAM 303 and executed by the computing unit 301, one or more steps of the methods described above may be performed.
[0051] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0052] The program code used to implement the methods of the present invention can be written in any combination of one or more programming languages. This program code can be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing device, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code can be executed entirely on the machine, partially on the machine, as a standalone software package partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0053] In the context of this invention, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
Claims
1. A method for generating plant design drawings, characterized in that, include: Obtain plant combination schemes generated for different environments, wherein the plant combination schemes are different types of plants determined for different environments; Rendering is performed based on the scene base map associated with the environment and the data mapped to various types of plants in the plant matching scheme to obtain the drawing corresponding to the environment; including: recognizing the scene base map to obtain the layout information of the scene; inputting the data mapped to various types of plants and the layout information into a pre-built rule engine, so as to render various types of plants to different positions in the base map through the rule engine; Rendering different types of plants using different legends to different positions on the base map using a rules engine includes: determining legends corresponding to different plant types based on plant type; laying out legends corresponding to different plant types at different positions on the base map based on the planting method of each plant type; when laying out legends corresponding to different plant types at different positions on the base map based on the planting method of each plant type, the method includes: determining the target type of plant at different positions on the base map based on the planting method of each plant type; determining the number of plants based on the data mapped from the target type of plant and the layout information at the corresponding position; and laying out legends corresponding to different numbers and different target types of plants at different positions on the base map.
2. The method for generating plant design drawings according to claim 1, characterized in that, Before obtaining plant combination schemes generated for the specific environment, the methods include: Get the environment selection request sent by the user and automatically generate a plant combination scheme based on the selected environment.
3. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to perform the method according to any one of claims 1-2.
4. An electronic device, characterized in that, include: At least one processor; And a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor to cause the at least one processor to perform the method according to any one of claims 1-2.
Citation Information
Patent Citations
Method for generating plant configuration scheme
CN118885250A