Method, device, electronic device and storage medium for generating a fillet

CN117708944BActive Publication Date: 2026-10-30HANGZHOU QUNHE INFORMATION TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311743514.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-18
Publication Date
2026-10-30
Estimated Expiration
2043-12-18

AI Technical Summary

Technical Problem

[0003]本公开提供了一种生成阴阳角的方法、装置、电子设备和存储介质,以解决或缓解现有技术中的一项或更多项技术问题

Benefits of technology

[0008]本公开提供的技术方案的有益效果至少包括:可以从具有不同的线条轮廓的多个阴阳角线条样式中选取目标线条样式,并且在户型数据中确定与目标线条样式中的线条基准点的位置信息匹配的户型数据基准点,基于户型数据基准点生成与目标线条样式中的线条轮廓相同的阴阳角线条。因此,可以快速生成具有精准轮廓的阴阳角线条,能够应用到实际生产、装配环节中,完善了生成阴阳角的能力。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117708944B_ABST
    Figure CN117708944B_ABST
Patent Text Reader

Abstract

The present disclosure provides a method, device, electronic equipment and storage medium for generating internal and external corners, relating to the technical field of computers, especially the field of drawing applications. The specific implementation scheme is: determining a to-be-processed internal and external corner region in house type data; selecting a target line style from a plurality of pre-configured internal and external corner line styles; wherein each internal and external corner line style in the plurality of internal and external corner line styles includes line contour and position information of line reference points, and the line contour is different in different internal and external corner line styles; determining a house type data reference point matched with the line reference point in the internal and external corner region based on the position information of the line reference point in the target line style; and adding an internal and external corner line identical to the line contour in the target line style in the internal and external corner region based on the house type data reference point. By using the technical scheme of the present disclosure, various styles of internal and external corner lines can be quickly and accurately generated, and the efficiency of generating internal and external corners is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and more particularly to the field of cartographic applications, specifically to a method, apparatus, electronic device, and storage medium for generating internal and external corners. Background Technology

[0002] With the development of the whole-house customization and turnkey decoration market, home design tool platforms have gained attention in recent years. These platforms offer increasingly sophisticated design capabilities, improving the efficiency of home design. For example, related technologies propose automatically recognizing and adding corner lines within these platforms. However, the aforementioned corner design processing is relatively simple and cannot meet all design requirements. Summary of the Invention

[0003] This disclosure provides a method, apparatus, electronic device, and storage medium for generating internal and external corners to solve or alleviate one or more technical problems in the prior art.

[0004] Firstly, this disclosure provides a method for generating internal and external corners, including: Identify the areas with internal and external corners to be processed in the apartment layout data; Select a target line style from a plurality of pre-configured corner line styles; wherein each corner line style includes a line outline and the position information of the line reference point, and the line outlines are different in different corner line styles. Based on the position information of the line reference point in the target line style, determine the apartment data reference point that matches the line reference point in the internal and external corner area; Based on the apartment layout data reference point, add corner lines in the corner area that have the same outline as the lines in the target line style.

[0005] Secondly, this disclosure provides an apparatus for generating internal and external corners, comprising: The "Inner and Outer Corners Determination" module is used to determine the inner and outer corner areas to be processed in the apartment layout data. The line selection module is used to select a target line style from a plurality of pre-configured corner line styles; wherein, each of the plurality of corner line styles includes a line outline and position information of a line reference point, and the line outlines of different corner line styles are different. The reference point determination module is used to determine the apartment data reference point that matches the line reference point in the internal and external corner area based on the position information of the line reference point in the target line style. The line adding module is used to add yin-yang corner lines with the same outline as the line in the target line style in the yin-yang corner area based on the floor plan data reference point.

[0006] Thirdly, an electronic device is provided, comprising: At least one processor; and The memory is communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform any of the methods described in the present disclosure.

[0007] Fourthly, a non-transitory computer-readable storage medium is provided storing computer instructions, wherein the computer instructions are used to cause the computer to perform any of the methods according to embodiments of the present disclosure.

[0008] The beneficial effects of the technical solution provided in this disclosure include at least the following: a target line style can be selected from multiple corner line styles with different line contours; a floor plan reference point matching the position information of the line reference point in the target line style can be determined in the floor plan data; and corner lines with the same contour as the target line style can be generated based on the floor plan data reference point. Therefore, corner lines with accurate contours can be generated quickly, enabling application in actual production and assembly processes, thus improving the ability to generate corners.

[0009] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description

[0010] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the various drawings denote the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings depict only some embodiments provided according to this disclosure and should not be construed as limiting the scope of this disclosure.

[0011] Figure 1 This is a flowchart illustrating a method for generating internal and external corners according to an embodiment of this disclosure; Figure 2A This is a schematic diagram of the outline of the external corner line in one embodiment of this disclosure; Figure 2B This is a schematic diagram of the outline of the external corner line in another embodiment of this disclosure; Figure 3A This is a schematic diagram of the connection relationship parameters in the embodiments of this disclosure. Figure 1 ; Figure 3B This is a schematic diagram of the connection relationship parameters in an embodiment of this disclosure; Figure 4 This is a schematic diagram of the second interactive interface in one embodiment of this disclosure; Figure 5 This is a schematic block diagram of an apparatus for generating internal and external corners provided in an embodiment of the present disclosure; Figure 6 This is a schematic block diagram of an apparatus for generating internal and external corners provided in another embodiment of this disclosure; Figure 7 This is a block diagram of an electronic device used to implement the method for generating internal and external corners in the embodiments of this disclosure. Detailed Implementation

[0012] The present disclosure will now be described in further detail with reference to the accompanying drawings. The same reference numerals in the drawings denote elements that have the same or similar functions. Although various aspects of embodiments are shown in the drawings, they are not necessarily drawn to scale unless specifically indicated otherwise.

[0013] Furthermore, to better illustrate this disclosure, numerous specific details are set forth in the following detailed description. Those skilled in the art will understand that this disclosure can be practiced without certain specific details. In some instances, methods, means, components, and circuits well known to those skilled in the art have not been described in detail in order to highlight the main points of this disclosure.

[0014] Figure 1 A schematic diagram of a method for generating internal and external corners according to an embodiment of this disclosure is shown. This method can be applied to an apparatus for generating internal and external corners, which can be deployed in an electronic device. The electronic device may be a single-machine or multi-machine terminal, server, or other processing device. The terminal may be a mobile device, a personal digital assistant (PDA), a handheld device, a computing device, an in-vehicle device, a wearable device, or other user equipment (UE). In some possible implementations, the method can also be implemented by a processor calling computer-readable instructions stored in memory. Figure 1 As shown, the method may include the following steps S110 to S130.

[0015] Step S110: Determine the areas of inside and outside corners to be processed in the apartment layout data.

[0016] In this embodiment of the disclosure, floor plan data refers to data used to represent the spatial layout of a house. Optionally, this data may include images, such as a top-down view of a floor plan. The floor plan data includes at least one corner area. A corner area can be understood as an area including either a recessed corner or a protruding corner. A recessed corner refers to a concave corner in a house, such as the angle between walls in a room; a protruding corner refers to a convex corner in a house, such as the angle formed by two walls at a corner in a corridor. The size of the corner area can be selected and adjusted according to design requirements. Optionally, the floor plan data can be displayed in a visual interactive interface.

[0017] In this embodiment of the disclosure, the area of ​​inside and outside corners to be processed can be understood as the area of ​​inside and outside corners for which inside and outside corner lines are to be generated. When the floor plan data includes multiple areas of inside and outside corners, in response to the user's selection operation, one area of ​​inside and outside corners can be selected from the multiple areas of inside and outside corners as the area of ​​inside and outside corners to be processed. Specifically, one area of ​​inside corners or one area of ​​outside corners can be selected from multiple areas of inside corners and / or areas of outside corners as the area of ​​inside and outside corners to be processed.

[0018] Step S120: Select the target line style from the pre-configured multiple corner line styles; wherein, each corner line style includes the line outline and the position information of the line reference point, and the line outlines in different corner line styles are different.

[0019] In this embodiment, corner moldings are used to protect and decorate inside and outside corners. Multiple corner molding styles may include those stored in a database. In practical applications, users can design corner molding styles and store them in the database for later retrieval. The target molding style can be understood as the corner molding style generated in the area to be processed.

[0020] Optionally, the different corner outlines contained in the multiple corner line styles can be displayed in the visual operation interface so that the target corner style can be selected according to the corner outline. That is, in response to the user's selection operation, one corner line style can be selected from multiple corner line styles as the target line style.

[0021] It is understood that corner molding styles can include both inside and outside corner molding styles. Different inside corner molding styles have different inside corner molding outlines, and different outside corner molding styles have different outside corner molding outlines. In some examples, the outline of the inside corner molding style can conform to / enclose the wall surface in the inside corner area and abut against the wall panel installed on the wall. In some examples, the outline of the outside corner molding style can include a first part of the wall surface surrounding the outside corner area, and a second part connected to the first part and facing away from the wall surface. A wall panel can be inserted between the first part and the second part.

[0022] In this embodiment, different corner line styles with varying outlines can be pre-configured based on different processes, wall panel designs, or profiles. Taking an external corner as an example... Figure 2A and Figure 2B These are schematic diagrams illustrating the outlines of two types of external corner lines. For example... Figure 2A As shown, a portion of the external corner trim 21 surrounds the wall 22, while the other portion (the tip of the arrow) is at a certain distance from the wall 22. A wall panel 23 can be inserted between the two portions. Based on this trim outline, a margin area 24 between the wall panel 23 and the external corner trim 21 needs to be determined. For example... Figure 2B As shown, part of the external corner trim 25 surrounds the wall 22, and the other part abuts against the wall panel 23. There is no allowance between the wall panel 23 and the external corner trim 25.

[0023] In this embodiment of the disclosure, the line reference point can be understood as the reference point when laying out the line style for inside and outside corners. In some examples, the line reference point can be set at the intersection between two branches of the line outline that enclose the wall.

[0024] Optionally, the position information of the line reference point can be the relative position of the line reference point in the inside and outside corner area, which can be determined according to the position of the line reference point of the inside and outside corner line style relative to the inside and outside corner template during configuration.

[0025] Step S130: Based on the position information of the line reference point in the target line style, determine the unit data reference point that matches the line reference point in the internal and external corner area.

[0026] In this embodiment of the disclosure, the reference point for the apartment layout data can be a location in the apartment layout data that matches the position information of the line reference point. Specifically, when the relative position of the line reference point in the corner area is known, a matching point can be found in the corner area of ​​the apartment layout data based on the relative position, and this point is the reference point for the apartment layout data.

[0027] Step S140: Based on the floor plan data reference point, add corner lines in the corner area that have the same outline as the lines in the target line style.

[0028] As you can see, the floor plan data reference point is used to determine the position of the inside and outside corner lines in the floor plan data. In the process of generating inside and outside corner lines, you only need to select the inside and outside corner line style, and you can place the inside and outside corner lines with the line outline of the style in the floor plan data at the position corresponding to the line reference point of the style, so that inside and outside corner lines with accurate outlines can be automatically generated.

[0029] According to the technical solution of this disclosure, a target line style can be selected from multiple inside and outside corner line styles with different line contours. A floor plan reference point matching the position information of the line reference point in the target line style is determined in the floor plan data. Inside and outside corner lines with the same contour as the line in the target line style are then generated from the floor plan data reference point. Therefore, inside and outside corner lines with accurate contours can be generated quickly, enabling application in actual production and assembly processes, thus improving the ability to generate inside and outside corner lines.

[0030] In some embodiments, the target line style also includes connection relationship parameters between the inside and outside corner lines and the wall panel; the connection relationship parameters include allowance information and / or extrusion information.

[0031] Accordingly, the method for generating inside and outside corners also includes: generating a rendering of the inside and outside corner lines based on the wall panel data associated with the inside and outside corner area and the connection relationship parameters.

[0032] In this embodiment of the disclosure, each pre-configured corner line style can include connection relationship parameters. That is, the connection relationship parameters between the corner line and the wall panel are pre-configured, so that when adding corner lines, the effect diagram of the corner lines can be generated according to the parameters.

[0033] Optionally, the allowance information can be used to represent the size of the area between the outer contour of the corner line and the wall panel when the outer contour of the corner line is not in contact with the wall panel. Figure 3A This is a schematic diagram of the connection relationship parameters in the embodiments of this disclosure. Figure 1 .like Figure 3A As shown, the allowance information can be the dimensional information of the two triangular areas (allowance areas) 24 between the corner molding 21 and the two wall panels 23. Of course, when the outer contour of the corner molding abuts against the wall panel, the allowance information may not be included in the connection relationship parameters. Figure 3B This is a schematic diagram of the connection relationship parameters in an embodiment of this disclosure. For example... Figure 3B As shown, the inside corner line 31 abuts against the two wall panels 23, and the connection relationship parameters may not include the allowance information.

[0034] Optionally, extrusion information is used to indicate the extrusion between the outline of the corner lines and the wall panel. For example... Figure 3A As shown, the extrusion information is used to represent the extrusion 32 (indicated by the dashed arrow) between the corner trim 21 and the wall panel 23. For example... Figure 3B As shown, the extrusion information is used to represent the extrusion 32 between the inside corner line 31 and the wall panel.

[0035] In this embodiment of the disclosure, the wall panel data associated with the inside and outside corner area can be understood as the relevant data / information of the wall panels set on the two walls at the inside and outside corner. The specific wall panel data may include the outline, thickness, etc. of the wall panel. The rendering of the inside and outside corner lines is used to represent the relative positional relationship between the line outline and the wall panel. The rendering of the inside and outside corner lines includes at least the line outline and the wall panel, and may also include allowance information and / or extrusion information.

[0036] It is understood that, since the pre-configured corner molding styles in this embodiment include specific connection parameters, a rendering of the corner moldings can be generated based on the wall data and these parameters. This rendering clearly shows the connection method between the corner moldings and the wall panel. In other words, the above embodiment can improve the display effect of the rendering. Furthermore, the rendering and connection parameters can also be used as a reference during production and assembly based on the floor plan data, ensuring that the corner moldings and wall panel can be installed together.

[0037] In some embodiments, the above method may further include a method for configuring the target line style. Specifically, the configuration of the target line style includes: The line outline read from the specified path will be used as the line outline in the target line style; The outline of the target line style is displayed on the first interactive interface; wherein the first interactive interface contains a corner template image and a reference point mark is displayed on the corner template image. Based on the drag-and-drop operation on the first interactive interface, the line outline is moved, and the point in the moved line outline that coincides with the reference point mark is taken as the line reference point in the target line style. Based on the relative position of the line reference point in the inside and outside corner template image, the position information of the line reference point is obtained.

[0038] In this embodiment of the disclosure, a user can draw line outlines in third-party software (such as CAD) and store them in a specified path. The user can input a path for the line outline, and the electronic device can read the line outline based on the input path and use it as the line outline in the target line style. This process can also be understood as uploading the line outline.

[0039] In this embodiment of the disclosure, the corner template image can be an image including the wall surface, wall panel, and reference point markers. The reference point markers can be used to determine the reference points for the lines. For example... Figure 2AAs shown, the corner template image on the first interactive interface includes a wall 22, a wall panel 23, and a reference point marker 26. After the user uploads the corner line 21, the user can drag the corner line 21 on the first interactive interface to move it closer to the wall 22. After the user stops dragging the corner line 21, the point in the corner line 21 that coincides with the reference point marker 26 can be used as the reference point for the target line style. Based on this, the relative position of the line reference point in the corner template image is recorded, so that when laying out the corner lines (including the above steps S130 and S140), the reference point for the floor plan data can be determined in the floor plan data according to the relative position.

[0040] According to the above embodiments, a target line style with a precise outline can be configured, which includes the line outline and the line reference point, so as to accurately generate the corner lines in the corner area of ​​the apartment data.

[0041] In some embodiments, the configuration of the target line style further includes: Based on the line outline in the target line style and the wall panel data in the inside and outside corner template image, determine the connection parameters in the target line style.

[0042] According to the technical solution of this disclosure, for different line contours, the wall panel data in the inside and outside corner template image can be used to determine the extrusion and / or allowance between the line contour and the wall panel, thereby configuring the connection relationship parameters so that the connection relationship parameters can be called during the design to generate the effect picture and serve as a reference for the subsequent process flow, so that the inside and outside corner lines and the wall panel can be installed together, and meet the needs of users for various profiles of inside and outside corner lines and various wall panel design schemes, thereby improving the diversity of inside and outside corner decoration.

[0043] In some embodiments, the connection relationship parameters in the target line style are determined based on the line outline in the target line style and the wall panel data in the corner template image, including: Determine the initial connection parameters based on the line outline in the target line style and the wall panel data in the corner template image; Based on the initial connection parameters, the connection relationship between the line outline and the wall panel data is displayed on the first interactive interface, and the adjustment information input on the first interactive interface is received. Based on the adjustment information, determine the connection parameters in the target line style.

[0044] For example, for different line contours, initial connection parameters can be automatically determined using wall panel data. These initial connection parameters may include initial allowance information and / or extrusion information. Based on this, the connection relationship between the line contour and the wall panel can be displayed in the first interactive interface according to these initial connection parameters. Users can adjust the wall panel thickness, allowance information, and extrusion information in the first interactive interface to update the initial connection parameters, thereby meeting various user needs for wall panels and corner lines.

[0045] According to the technical solution of this disclosure embodiment, the user can adjust the connection relationship parameters between the line outline and the wall panel data on the first interactive interface, thereby meeting the user's various needs for wall panels and inside and outside corner lines, accurately generating wall panels of various styles and positions, and improving the diversity of inside and outside corner decoration.

[0046] In some embodiments, step S110, determining the area of ​​the inside and outside corners to be processed in the apartment layout data, may include: Based on the floor plan data, a top-down view of the floor plan is displayed on the second interactive interface; In the top-view image, identify at least one area with a sharp, unseen corner; Based on the first selection operation on the second interactive interface, the yin-yang corner region to be processed is determined in at least one yin-yang corner region.

[0047] In this embodiment of the disclosure, the second interactive interface is a visual operation interface that can display top-down images of each wall of the apartment layout data. The intersections of the walls can form corner areas. Figure 4 As shown, the electronic device can automatically identify the first and second corner regions 41 and 42 in the top-view image, and mark the first and second corner regions 41 and 42 in the top-view image displayed on the second interactive interface (e.g., Figure 4 (Identified by a dashed box). Users can select the second inside / outside corner area 42 as the inside / outside corner area to be processed.

[0048] According to the technical solution of this disclosure, the yin and yang corner areas in the apartment data are displayed to the user more intuitively through the top-down view image of the apartment, so that the user can accurately select a yin and yang corner area to be processed.

[0049] In some embodiments, step S120, selecting a target line style from a plurality of pre-configured corner line styles, includes: In the configuration area associated with the top-down view image of the apartment layout on the second interactive interface, multiple line outlines are displayed that correspond one-to-one with multiple corner line styles. Based on the second selection operation among multiple line contours, select the target line style from multiple corner line styles.

[0050] In this embodiment, a configuration area is provided on the second interactive interface. This configuration area includes multiple line contours. The user can select one line contour from the multiple line contours on the second interactive interface. The electronic device uses the corner line style of the selected line contour as the target line style. Based on this, the electronic device can read the position information of the line reference point in the target line style, such as... Figure 4 In the second interactive interface shown, the housing data reference point that matches the line reference point is determined in the second yin-yang corner area 42 to be processed. The yin-yang corner lines with the same outline as the lines in the target line style can be generated on the housing data reference point.

[0051] According to the technical solution of this disclosure embodiment, the user can select from multiple line outlines on the second interactive interface, and select the target line style from multiple corner line styles, which can meet the user's needs for various line outlines of the target line style and improve the diversity of corner decoration.

[0052] As can be seen, the embodiments of this disclosure can automatically generate corner lines, and the connection structure between the lines and the wall panel has high precision. The line generation efficiency is high, the versatility is wide, and it supports user-defined line styles, meeting the precise connection requirements of corner profiles with various structural styles.

[0053] According to embodiments of this disclosure, this disclosure also provides an apparatus for generating internal and external corners. Figure 5 A schematic block diagram of an apparatus for generating internal and external angles according to an embodiment of the present disclosure is shown, such as... Figure 5 As shown, the device for generating internal and external corners includes: The internal and external corner determination module 510 is used to determine the internal and external corner areas to be processed in the apartment layout data; The line selection module 520 is used to select a target line style from a plurality of pre-configured inside and outside corner line styles; wherein, each inside and outside corner line style includes the line outline and the position information of the line reference point, and the line outlines in different inside and outside corner line styles are different. The reference point determination module 530 is used to determine the unit data reference point that matches the line reference point in the internal and external corner area based on the position information of the line reference point in the target line style. The line addition module 540 is used to add corner lines in the corner area that have the same outline as the line in the target line style, based on the floor plan data reference point.

[0054] In some embodiments, the target line style also includes connection relationship parameters between the inside and outside corner lines and the wall panel; the connection relationship parameters include allowance information and / or extrusion information; like Figure 6 As shown, the device for generating internal and external corners also includes a configuration module 610: Configuration module 610 is used to generate renderings of the corner lines based on the wall panel data and connection parameters associated with the corner area.

[0055] In some embodiments, the configuration module 610 is further configured to: The line outline read from the specified path will be used as the line outline in the target line style; The outline of the target line style is displayed on the first interactive interface; wherein the first interactive interface contains a corner template image and a reference point mark is displayed on the corner template image. Based on the drag-and-drop operation on the first interactive interface, the line outline is moved, and the point in the moved line outline that coincides with the reference point mark is taken as the line reference point in the target line style. Based on the relative position of the line reference point in the inside and outside corner template image, the position information of the line reference point is obtained.

[0056] In some embodiments, the configuration module 610 is further configured to: Based on the line outline in the target line style and the wall panel data in the inside and outside corner template image, determine the connection parameters in the target line style.

[0057] In some embodiments, the configuration module 610 is further configured to: Determine the initial connection parameters based on the line outline in the target line style and the wall panel data in the corner template image; Based on the initial connection parameters, the connection relationship between the line outline and the wall panel data is displayed on the first interactive interface, and the adjustment information input on the first interactive interface is received. Based on the adjustment information, determine the connection parameters in the target line style.

[0058] In some embodiments, the internal and external angle determination module 510 is further configured to: Based on the floor plan data, a top-down view of the floor plan is displayed on the second interactive interface; In the top-view image, identify at least one area with a sharp, unseen corner; Based on the first selection operation on the second interactive interface, the yin-yang corner region to be processed is determined in at least one yin-yang corner region.

[0059] In some embodiments, the line selection module 520 is further configured to: In the configuration area associated with the top-down view image of the apartment layout on the second interactive interface, multiple line outlines are displayed that correspond one-to-one with multiple corner line styles. Based on the second selection operation among multiple line contours, select the target line style from multiple corner line styles.

[0060] Figure 7 This is a structural block diagram of an electronic device according to an embodiment of the present disclosure. Figure 7 As shown, the electronic device includes a memory 710 and a processor 720. The memory 710 stores a computer program that can run on the processor 720. The number of memories 710 and processors 720 can be one or more. The memory 710 can store one or more computer programs, which, when executed by the electronic device, cause the electronic device to perform the methods provided in the above-described method embodiments. The electronic device may also include a communication interface 730 for communicating with external devices and performing data exchange and transmission.

[0061] If the memory 710, processor 720, and communication interface 730 are implemented independently, they can be interconnected via a bus to communicate with each other. This bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. This bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 7 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0062] Optionally, in a specific implementation, if the memory 710, processor 720, and communication interface 730 are integrated on a single chip, then the memory 710, processor 720, and communication interface 730 can communicate with each other through an internal interface.

[0063] It should be understood that the aforementioned processor can be a Central Processing Unit (CPU), or other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate Arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. General-purpose processors can be microprocessors or any conventional processor. It is worth noting that the processor can be a processor supporting Advanced Reduced Instruction Set Machines (ARM) architecture.

[0064] Further, optionally, the aforementioned memory may include read-only memory and random access memory, and may also include non-volatile random access memory. The memory may be volatile or non-volatile, or may include both. Non-volatile memory may include read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which serves as an external cache. Many forms of RAM are available by way of example, but not limitation. Examples include Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous DRAM (SDRAM), Double Data Rate Synchronous DRAM (DDR SDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct RAMBUS RAM (DR RAM).

[0065] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this disclosure are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line, DSL) or wireless (e.g., infrared, Bluetooth, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer, or a data storage device such as a server or data center that integrates one or more available media. The available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., Digital Versatile Discs (DVDs)), or semiconductor media (e.g., Solid State Disks (SSDs)). It is worth noting that the computer-readable storage media mentioned in this disclosure can be non-volatile storage media; in other words, it can be non-transient storage media.

[0066] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0067] In the description of the embodiments of this disclosure, references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this disclosure. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of those different embodiments or examples.

[0068] In the description of the embodiments disclosed herein, unless otherwise stated, " / " means "or". For example, A / B can mean A or B. The "and / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone.

[0069] In the description of embodiments of this disclosure, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of embodiments of this disclosure, unless otherwise stated, "a plurality of" means two or more.

[0070] The above description is merely an exemplary embodiment of this disclosure and is not intended to limit this disclosure. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the protection scope of this disclosure.

Claims

1. A method for generating internal and external angles, characterized in that, include: Identify the areas of internal and external corners to be processed in the apartment layout data; wherein, the apartment layout data includes data representing the spatial layout of the house; the areas of internal and external corners include areas of internal corners and / or areas of external corners; the internal corners are the recessed corners of the house; the external corners are the protruding corners of the house; Select a target line style from a set of pre-configured corner line styles; each corner line style includes a line outline and the position information of a line reference point, and the line outlines are different in different corner line styles; the target line style includes the corner line styles generated in the corner area to be processed; the line reference point is the reference point when the corner line style is laid out. Based on the position information of the line reference point in the target line style, a floor plan data reference point that matches the line reference point is determined in the internal and external corner area; wherein, the floor plan data reference point is the position in the floor plan data that matches the position information of the line reference point; Based on the apartment layout data reference point, add corner lines in the corner area that have the same outline as the lines in the target line style.

2. The method according to claim 1, characterized in that, The target line style also includes connection parameters between the inside and outside corner lines and the wall panel; the connection parameters include allowance information and / or extrusion information; The method further includes: Based on the wall panel data associated with the corner area and the connection parameters, a rendering of the corner lines is generated.

3. The method according to claim 1 or 2, characterized in that, The configuration methods for the target line style include: The line outline read from the specified path will be used as the line outline in the target line style; The outline of the target line style is displayed on the first interactive interface; wherein the first interactive interface includes a corner template image and a reference point mark is displayed on the corner template image. Based on the drag operation on the first interactive interface, the line outline is moved, and the point in the moved line outline that coincides with the reference point mark is taken as the line reference point in the target line style. Based on the relative position of the line reference point in the yin-yang corner template image, the position information of the line reference point is obtained.

4. The method according to claim 3, characterized in that, The configuration methods for the target line style also include: Based on the line outline in the target line style and the wall panel data in the corner template image, determine the connection parameters in the target line style.

5. The method according to claim 4, characterized in that, The step of determining the connection relationship parameters in the target line style based on the line outline in the target line style and the wall panel data in the corner template image includes: Determine the initial connection parameters based on the line outline in the target line style and the wall panel data in the corner template image; Based on the initial connection parameters, the connection relationship between the line outline and the wall panel data is displayed on the first interactive interface, and adjustment information input on the first interactive interface is received. Based on the adjustment information, determine the connection parameters in the target line style.

6. The method according to claim 1 or 2, characterized in that, The process of identifying the areas of internal and external corners to be processed in the apartment layout data includes: Based on the apartment layout data, a top-down view image of the apartment layout is displayed on the second interactive interface; At least one area with a sharp, unseen corner is identified in the top-view image; Based on the first selection operation on the second interactive interface, the yin-yang corner region to be processed is determined in the at least one yin-yang corner region.

7. The method according to claim 1 or 2, characterized in that, The step of selecting a target line style from a pre-configured set of internal and external corner line styles includes: In the configuration area associated with the top-down view image of the apartment layout on the second interactive interface, multiple line outlines corresponding one-to-one with the multiple corner line styles are displayed. Based on the second selection operation among the plurality of line contours, a target line style is selected from the plurality of corner line styles.

8. A device for generating internal and external corners, characterized in that, include: The internal and external corner determination module is used to determine the internal and external corner areas to be processed in the house type data; wherein, the house type data includes data representing the spatial layout of the house; the internal and external corner areas include areas of internal corners and / or areas of external corners; the internal corner is the recessed corner of the house; the external corner is the protruding corner of the house; The line selection module is used to select a target line style from a plurality of pre-configured corner line styles; wherein, each of the plurality of corner line styles includes a line outline and position information of a line reference point, and the line outlines of different corner line styles are different; the target line style includes the corner line styles generated in the corner area to be processed; the line reference point is the reference point when the corner line style is laid out; The reference point determination module is used to determine, based on the position information of the line reference point in the target line style, a floor plan data reference point that matches the line reference point in the internal and external corner area; wherein, the floor plan data reference point is the position in the floor plan data that matches the position information of the line reference point; The line adding module is used to add yin-yang corner lines with the same outline as the line in the target line style in the yin-yang corner area based on the floor plan data reference point.

9. An electronic device, characterized in that, include: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.

10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to perform the method according to any one of claims 1-7.