Home decoration design method, device, electronic equipment and storage medium

By defining a set of relative positional relationships between lines and panels, automatic adjustment is achieved, which solves the problem of manual adjustment complexity in home decoration design and improves design efficiency and adaptability.

CN117574498BActive Publication Date: 2024-09-17HANGZHOU QUNHE INFORMATION TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311521264.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-14
Publication Date
2024-09-17
Estimated Expiration
2043-11-14

AI Technical Summary

Technical Problem

In home decoration design software, users need to manually adjust the positional relationship between wall decorative lines and panels, which increases the complexity and inefficiency of design operations.

Method used

By defining a set of relative position relationships between lines and panels, the positions of lines and panels are automatically adjusted to achieve automatic overlap, simplifying user operations and improving design efficiency.

Benefits of technology

It simplifies user operations, reduces the complexity of manual adjustments, improves the efficiency of home decoration design, and adapts to the needs of different panel thicknesses and application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117574498B
    Figure CN117574498B
Patent Text Reader

Abstract

The present disclosure provides a home decoration design method, device, electronic device and storage medium. It relates to the field of data processing, and in particular to technical fields such as image processing and 3D model design. The method includes: in response to a user's selection operation on a target home decoration design control, obtaining a set of relative position relationships between lines and panels defined by the target home decoration design control; in response to a selection operation on a target position relationship in the relative position relationship set, determining the position information of target lines and target panels in a target apartment based on the target position relationship; based on the position information of target lines and target panels in a target apartment, displaying the installation effect of target lines and target panels. The method provided by the embodiments of the present disclosure can simplify user operations and improve the efficiency of home decoration design.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing, and in particular to technical fields such as image processing and 3D model design. Background Art

[0002] In home decoration design software, in order to beautify and decorate the wall, the wall is designed using the overlap relationship between decorative lines and panels. For any wall, after the user selects the wallboard and lines, the position relationship between the two needs to be manually adjusted to complete the corresponding design. This increases the complexity of the design operation. Summary of the invention

[0003] The present disclosure provides a home decoration design method, device, electronic device and storage medium to solve or alleviate one or more technical problems in related technologies.

[0004] In a first aspect, the present disclosure provides a home decoration design method, comprising:

[0005] In response to a user's selection operation on a target home decoration design control, a relative position relationship set between lines and panels defined in the target home decoration design control is obtained;

[0006] In response to a selection operation on a target position relationship in the relative position relationship set, determining position information of a target line and a target panel in a target apartment type based on the target position relationship;

[0007] Based on the position information of the target lines and target panels in the target apartment, the installation effects of the target lines and target panels are displayed.

[0008] In a second aspect, the present disclosure provides a home decoration design device, comprising:

[0009] An acquisition module, configured to acquire a relative position relationship set between lines and panels defined in a target home decoration design control in response to a user's selection operation on the target home decoration design control;

[0010] A determination module, configured to respond to a selection operation of a target position relationship in the relative position relationship set and determine position information of a target line and a target panel in a target apartment type based on the target position relationship;

[0011] The display module is used to display the installation effect of the target lines and target panels based on the position information of the target lines and target panels in the target apartment.

[0012] In a third aspect, an electronic device is provided, including:

[0013] at least one processor; and

[0014] a memory communicatively connected to the at least one processor; wherein,

[0015] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute any method in the embodiments of the present disclosure.

[0016] In a fourth aspect, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute any method according to the embodiments of the present disclosure.

[0017] In a fifth aspect, a computer program product is provided, comprising a computer program, which implements any method according to the embodiments of the present disclosure when executed by a processor.

[0018] The method provided by the embodiment of the present disclosure can simplify user operations and improve home decoration design efficiency.

[0019] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0021] Figure 1 is a flow chart of a home decoration design method according to an embodiment of the present disclosure;

[0022] Figure 2a is a schematic diagram of relative positions according to an embodiment of the present disclosure;

[0023] Figure 2b is a schematic diagram of the installation effect according to an embodiment of the present disclosure;

[0024] Figure 3a is a schematic diagram of a skirting according to an embodiment of the present disclosure;

[0025] Figure 3b is a schematic diagram of a top line according to an embodiment of the present disclosure;

[0026] Figure 3c is a schematic diagram of a connecting strip according to an embodiment of the present disclosure;

[0027] Figure 3dis a schematic diagram of a home decoration design control according to an embodiment of the present disclosure;

[0028] Figure 4a is a schematic diagram of relative positions according to another embodiment of the present disclosure;

[0029] Figure 4b is a schematic diagram of relative positions according to another embodiment of the present disclosure;

[0030] Figure 4c is a schematic diagram of relative positions according to another embodiment of the present disclosure;

[0031] Figure 4d is a schematic diagram of relative positions according to another embodiment of the present disclosure;

[0032] Figure 5a is a schematic diagram of relative positions according to another embodiment of the present disclosure;

[0033] Figure 5b is a schematic diagram of relative positions according to another embodiment of the present disclosure;

[0034] Figure 6a is a schematic diagram of relative positions according to another embodiment of the present disclosure;

[0035] Figure 6b is a schematic diagram of relative positions according to another embodiment of the present disclosure;

[0036] Figure 6c is a schematic diagram of relative positions according to another embodiment of the present disclosure;

[0037] Figure 7a is a schematic diagram of relative positions according to another embodiment of the present disclosure;

[0038] Figure 7b is a schematic diagram of relative positions according to another embodiment of the present disclosure;

[0039] Figure 7c is a schematic diagram of relative positions according to another embodiment of the present disclosure;

[0040] Figure 7d is a schematic diagram of relative positions according to another embodiment of the present disclosure;

[0041] Figure 7e is a schematic diagram of relative positions according to another embodiment of the present disclosure;

[0042] Figure 7f is a schematic diagram of relative positions according to another embodiment of the present disclosure;

[0043] Figure 8 is a schematic diagram of the structure of a home decoration design device according to an embodiment of the present disclosure;

[0044] Fig. 9 It is a block diagram of an electronic device used to implement the home decoration design method of the embodiment of the present disclosure. DETAILED DESCRIPTION

[0045] The present disclosure will be further described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.

[0046] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the main purpose of the present disclosure.

[0047] In the description of the present invention, it should be noted that the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside", etc. indicate directions or positional relationships based on the directions or positional relationships shown in the accompanying drawings. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operated in a specific direction. Therefore, they cannot be understood as limitations on the present invention.

[0048] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present disclosure, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0049] In home decoration design, if the panels are replaced, the previously selected lines may need to be adaptively adjusted to fit the new panels. If each wall needs to target the same line profile, manually adjusting the position of each panel and line will increase the complexity of manual operations and reduce the efficiency of home decoration design.

[0050] In view of this, the embodiments of the present disclosure provide a home decoration design method, which can simplify design operations and improve the efficiency of home decoration design.

[0051] In the disclosed embodiment, this problem is solved through two stages. Specifically, it includes a creation stage and a use stage. In the creation stage, the overlap relationship between lines and panels of the same section can be flexibly defined according to user needs. Based on the needs of different application scenarios, multiple overlap relationships between the same line section and panels can be defined. The defined overlap relationship can be encapsulated as a home decoration design control. In the process of home decoration design, the control is used to automatically adjust the position of lines and panels so that the two meet the defined overlap relationship.

[0052] The overlap relationship defined in the embodiment of the present disclosure is independent of the specific panels, so that one overlap relationship can be adapted to different panel thicknesses as much as possible. In this way, the same line profile can be adapted to different application scenario requirements by different overlap relationships, and the same line profile in the same overlap relationship can also be adapted to different panel thicknesses. In order to achieve this goal, the overlap relationship between the lines and panels in the embodiment of the present disclosure is described by a relative position relationship. On this basis, the home decoration design method proposed in the embodiment of the present disclosure is explained, as shown in FIG. Figure 1 The flowchart of the method may include the following steps:

[0053] S101, in response to a user's selection operation on a target home decoration design control, obtaining a set of relative position relationships between lines and panels defined in the target home decoration design control.

[0054] As described above, during the creation process, the same line profile can define overlapping relationships that meet different demand scenarios to obtain different overlapping performances. Therefore, the target home decoration design control can associate multiple relative position relationships between lines and panels to obtain a relative position relationship set. Each relative position relationship in the relative position relationship set represents a pre-defined overlapping relationship.

[0055] S102, in response to a selection operation on a target position relationship in the relative position relationship set, determining position information of a target line and a target panel in a target apartment type based on the target position relationship.

[0056] The position information of the target lines and target panels in the target apartment may be coordinate information of the target lines and target panels in the target apartment, or may be relative position information of the target lines and target panels.

[0057] Any relative position relationship in the relative position relationship set can be displayed in the form of a two-dimensional cross-section of the target line and the target panel. As shown in FIG2 , the effect of the line cross-section and the overlap of the panel is displayed.

[0058] S103, based on the position information of the target lines and the target panels in the target apartment, display the installation effect of the target lines and the target panels.

[0059] The installation effect of target lines and target plates is as follows Figure 2b As shown in the figure, the black rectangle below is the target line. Figure 2b The target line in the middle can be understood as a skirting. The image where the puppy is located is used to represent a panel. The length of the line and the size of the panel can be set or adaptively adjusted based on the size of the wall of the target apartment, and the embodiments of the present disclosure do not impose too many restrictions on this.

[0060] In the embodiments of the present disclosure, based on the preset relative position relationship between lines and panels, the positions of lines and panels in the target apartment can be adjusted, and then the installation effect can be demonstrated. For the same line profile, a set of relative position relationships between it and the lines is defined, and the user can select the required target position relationship according to actual needs, so as to complete the automatic overlap of the target line and the target panel based on the target position relationship. Therefore, in home decoration design, the user does not need to manually adjust the relative position of the target line and the target panel. Through the pre-defined target home decoration design controls that are not related to the specific panels, the position of the target line and the target panel can be automatically determined, thereby achieving the desired installation effect. Based on a variety of relative position relationships between lines and panels, the same line can be adapted to different scenes. Therefore, the method provided by the embodiments of the present disclosure can simplify user operations and improve the efficiency of home decoration design.

[0061] To facilitate understanding of the home decoration design method provided by the embodiment of the present disclosure, the creation process and the process of adaptively completing the overlap of lines and panels based on the defined relative position relationship are described below.

[0062] 1. Create target home decoration design controls

[0063] In the embodiments of the present disclosure, the focus is on the overlap relationship between the same line section and the plate, that is, the same line section can be adapted to different scene requirements, such as adapting to different plate thicknesses in the same overlap relationship, or different overlap relationships are adapted to different overlap requirements.

[0064] Regardless of the overlap relationship, it is defined by the relative position relationship between the lines and the panels. Compared with the absolute position relationship, the relative position relationship can adapt to different house types and different walls, which can improve the generalization ability of the designed target home decoration controls.

[0065] In some embodiments, the target position relationship may include red dot information, green dot information, blue dot information, and reference offset, etc., wherein:

[0066] 1) The red dot information is used as an anchor point in the target position relationship to calibrate the relative position relationship between the line and the plate;

[0067] During implementation, the red dot information may include a red dot direction vector; the red dot direction vector is a direction perpendicular to the wall and away from the wall. It is used to calibrate the offset direction of other points relative to the red dot. The red dot information may also include the semantics of the red dot, so as to locate the position with the same semantics in the target apartment as the mapping point of the red dot information in the target apartment. The semantics is, for example, the intersection of the center line of the wall and the ground. It can also be the intersection of the lower left corner of the wall and the ground.

[0068] In the disclosed embodiment, the line may be a skirting, a top line, or a connecting strip. The positions of the red dots of different lines are illustrated below.

[0069] (1) When the line is a skirting, the position of the red dot is as follows: Figure 3a As shown by the black dot in , the intersection of the target wall and the ground can be selected as the anchor point.

[0070] (2) When the line is the top line, the position of the red dot is Figure 3b As shown by the black dot in , the intersection of the target wall and the top surface can be selected as the anchor point.

[0071] (3) When the line is a connecting bar, the position of the red dot is as follows Figure 3c As shown by the black dot in , the intersection of the straight lines passing through the center point of the target wall and perpendicular to the target wall can be selected as the anchor point.

[0072] exist Figure 3a , 3b In 3c, the black solid dot represents the position of the red dot in the scene, and the arrow extending from the red dot represents the direction vector in the red dot information. In the subsequent relative position relationship, the mapping point of the red dot in the target apartment is used as the reference point, and the direction vector in the red dot information is used to determine the offset direction, so as to locate the position of the target line and the target panel. It can also be understood that during the creation process, the red dot marks the reference point in the two-dimensional plane of the line section, and all other home improvement models will use this reference point as an anchor point to mark their respective positions and relative relationships.

[0073] 2) The green dot information is used to describe the point in the panel that is closest to the red dot information in the target position relationship.

[0074] The green dot information may be an offset distance of the green dot relative to the red dot. For example, the green dot information is represented as (0, -8), where -8 can be understood as an offset of 8 in the opposite direction to the direction vector marked by the red dot information.

[0075] 3) Blue dot information is used to describe the overlap surface of lines and panels in the target position relationship.

[0076] A plate has two faces, a front face and a back face. The blue dot information indicates on which face the line and the plate meet. For example, if the line covers the plate, the overlap face is the front face, and if the plate covers the line, the overlap face is the back face of the plate.

[0077] For the convenience of management and storage, the blue dot information can also be expressed by coordinates during implementation. However, the coordinate value of the blue dot only indicates the overlap surface, and does not have the meaning of distance and direction in the coordinate system.

[0078] For example, when the line is a connecting bar, the blue dot information is (0, 1) indicating that the line is on the upper surface of the board, that is, the line covers the board; the blue dot information is (0, -1) indicating that the line is on the lower surface of the board, that is, the board covers the line.

[0079] When the line is a skirting or a top line, the blue dot information (-1, 0) indicates that the line is on the lower surface of the panel, that is, the panel covers the line; the blue dot information (1, 0) indicates that the line is on the upper surface of the panel, that is, the line covers the panel.

[0080] Therefore, in the two-dimensional coordinate system, the positive and negative x values ​​represent the baseboard or top line, and the positive and negative y values ​​represent the connecting strip. Using simple coordinates, the type of lines and the overlapping surface can be expressed, which facilitates the storage and use of relative position relationships.

[0081] 4) The reference offset is used to describe the offset of the line relative to the red dot information in the target position relationship.

[0082] During implementation, lines can be described using properties such as origin position, length, width, and style. It should be noted that the origin position here is a relative position and only describes the properties of the line. The length and width of the line and the drawing style can be defined based on the origin position. During implementation, the center position of the bottom of the line can be used as the origin position to define the reference offset. For example, the first distance of the line relative to the red dot can be determined, and the second distance of the blue dot relative to the red dot can be determined, and the difference between the first distance and the second distance can be determined as the reference offset. With the reference offset, no matter which wall the line is installed on, the installation position of the line in the target apartment can be accurately determined when the red dot is located, so as to have a correct overlap with the panel.

[0083] In the disclosed embodiment, red dot information, green dot information, blue dot information and reference offset are used to accurately describe the positional relationship between the panels and the lines, laying a solid foundation for the subsequent demonstration of the installation effect.

[0084] In some embodiments, it also includes constructing a target home decoration design control based on the following method. The operation interface diagram when constructing the control is as follows: Figure 3d As shown, where:

[0085] The basic information can be displayed in the control construction interface, and the basic information is used by the user to select the required line. For example, Figure 3d The basic information displayed includes product name, product type, product library, and category.

[0086] The product name determines the name of the line so that it can be called based on the product name later.

[0087] Product types may include skirtings, top lines, and connecting strips, allowing users to select the type of line they need for their design.

[0088] The product library is used to determine the source of the target lines and target panels. Different product libraries can provide lines of different styles and sizes.

[0089] Since there are many types of lines, there may be many overlap scenarios required. Therefore, the created overlap relationships can be grouped and managed. Figure 3d As shown in the figure, grouping is implemented based on the category controls. The grouping method can be as follows Figure 3d The images are grouped by creator.

[0090] Step C1, obtaining the target line from the line library.

[0091] When you obtain a target line from the line library, the target line itself is defined by default with information such as size and style to describe the line. The size and style of the target line are used in Figure 3d The Build page shown shows the effect of the target lines in a 2D profile view.

[0092] Step C2, obtaining a reference panel from the panel library.

[0093] When you obtain a reference panel from the panel library, the reference panel will carry information such as size and style by default. The size and style of the reference panel are used in Figure 3d The Build page shown shows how the reference plate will look in a 2D cross-section view.

[0094] Step C3, in response to user operations on the target line and the reference panel, obtaining at least one installation result between the target line and the reference panel.

[0095] In the construction page, users can adjust the positions of reference panels and target lines as needed to obtain the desired overlap performance.

[0096] The final overlap performance will be defined and recorded using relative position relationships in the build page.

[0097] During implementation, any relative position relationship in the relative position relationship set may be determined based on the following methods, including:

[0098] Step D1, determining the red dot information between the target line and the reference plate.

[0099] In such Figure 3d In the construction page shown, the red point is determined according to the semantics of the red point described above. For example, the intersection of the target wall and the ground reference plane in the two-dimensional section diagram is determined as the red point position (such as Figure 3d solid black dots in the figure).

[0100] Step D2, corresponding to the overlap completion indication, based on the current position of the target panel and the current position of the reference panel, the point located on the reference panel and closest to the red point is determined as a green point to obtain green point information (such as Figure 3d The black star in the figure is a green dot).

[0101] Among them, a designated control may be provided in the construction page, and the user clicks the designated control to trigger the overlap completion indication. It is also possible to detect the user's movement operation on the target line and the reference plate, and trigger the overlap completion indication when the movement operation is not triggered within a specified time period. Of course, any method that can determine a kind of overlap relationship of the user's construction of the target line is applicable to the embodiments of the present disclosure, and the present disclosure does not limit this.

[0102] Step D3, determining blue dot information, where the blue dot information is used to describe the overlap surface between the line and the plate.

[0103] like Figure 3d As shown, the overlap direction between the target line and the reference panel can be determined based on the installation position option, that is, the blue dot information. For example, when the target line is a skirting and the back of the wall panel is selected as the reference in the installation position, the blue dot information can be expressed as (-1, 0); when the target line is a skirting and the front of the wall panel is selected as the reference in the installation position, the blue dot information can be expressed as (1, 0).

[0104] exist Figure 3d In the drop-down options of the current position text shown, you can select the relative position relationship, such as Figure 3d The current position is selected as position 1, which means that the position relationship between the reference panel and the target line is displayed as position 1, that is, the back of the wall panel is used as the reference.

[0105] Step D4, determining the reference offset.

[0106] Based on the semantics of the aforementioned reference offset, after determining the overlap relationship between the target line and the reference plate, the reference offset can be determined based on the current position of the target line and the reference plate. For example, the difference between the distance of the center position of the bottom of the line relative to the red dot and the distance of the blue dot information relative to the red dot is determined as the reference offset.

[0107] Step D5, obtaining a relative position relationship based on the red dot information, the green dot information, the blue dot information and the reference offset.

[0108] Based on the above method, the user can create different overlapping relationships for the same line section in the construction page, and each overlapping relationship is defined and saved using the above relative position relationship. Therefore, in step C4, a relative position relationship set can be determined based on at least one installation result.

[0109] That is, the relative position relationship associated with at least one overlapping relationship is used to construct a relative position relationship set, so that users can flexibly select an overlapping relationship when designing home decoration.

[0110] Step C5: construct a target home decoration design control based on the relative position relationship set.

[0111] In the disclosed embodiment, a target home decoration design control can be constructed based on various relative position relationships between panels and lines, so that the same line section can be adapted to different scenes and has the ability to switch between different overlapping relationships between the same line section and panels.

[0112] 2. Automatically complete the overlap of lines and panels based on the constructed target home decoration design control

[0113] As described above, the target position relationship includes red dot information, green dot information, blue dot information and reference offset. For ease of understanding, the relative position relationship of different lines is illustrated below.

[0114] A) When the lines are connected, the expression of relative position relationship

[0115] by Figure 4a For example, the relative position relationship of the connecting bar 1 can be expressed as follows: the red dot direction (i.e. the black dot direction in 4a) is upward, and the green dot information includes the left green dot (i.e. Figure 4a The black star in the middle) and the right green dot (i.e. Figure 4a The white star in the figure shows that the left green dot is offset from the red dot to (-5,15), and the right green dot is offset from the red dot to (7.5,20). The blue dot information includes the left blue dot (i.e. Figure 4a The dark grey circle in the figure) and the right blue dot (i.e. Figure 4a The left blue point has a direction of (0,1) and a base offset of (-5,-5). The right blue point has a direction of (0,1) and a base offset of (7.5,0).

[0116] by Figure 4b For example, the relative position relationship of the connecting bar 2 can be expressed as follows: the red dot direction (ie, the black dot direction in 4b) is upward, and the green dot information includes the left green dot (ie Figure 4b The black star in the middle) and the information of the right green dot (i.e. Figure 4b The white star in the figure). The left green dot is offset from the red dot to (-5,15), and the right green dot is offset from the red dot to (7.5,20). The blue dot information includes the left blue dot (i.e. Figure 4b The dark grey circle in the figure) and the right blue dot (i.e. Figure 4b The left blue point has a direction of (0,1) and a base offset of (-5,0). The right blue point has a direction of (0,1) and a base offset of (7.5,5).

[0117] by Figure 4c For example, the relative position relationship of the connecting bar 3 can be expressed as follows: the red dot direction (ie, the black dot direction in 4c) is upward, and the green dot information includes the left green dot (ie Figure 4c The black star in the middle) and the information of the right green dot (i.e. Figure 4c The white star in the figure). The left green dot is offset from the red dot to (-5,15), and the right green dot is offset from the red dot to (7.5,20). The blue dot information includes the left blue dot (i.e. Figure 4c The dark grey circle in the figure) and the right blue dot (i.e. Figure 4c The left blue point has a direction of (0,-1) and a base offset of (-5,10). The right blue point has a direction of (0,-1) and a base offset of (7.5,15).

[0118] by Figure 4d For example, the relative position relationship of the connecting bar 4 can be expressed as follows: the red dot direction (i.e. the black dot direction in 4d) is upward, and the green dot information includes the left green dot (i.e. Figure 4d The black star in the middle) and the information of the right green dot (i.e. Figure 4d The white star in the figure). The left green dot is offset from the red dot to (-5,15), and the right green dot is offset from the red dot to (7.5,20). The blue dot information includes the left blue dot (i.e. Figure 4d The dark grey circle in the figure) and the right blue dot (i.e. Figure 4d The left blue point has a direction of (0,-1) and a base offset of (-5,5). The right blue point has a direction of (0,-1) and a base offset of (7.5,10).

[0119] B) When the line is a skirting, the expression of relative position relationship

[0120] by Figure 5a For example, the relative position relationship of the skirting 1 can be expressed as: the direction of the red dot (i.e. Figure 5a The black dot direction) is to the right, and the green dot (i.e. Figure 5a The black star in the figure) is offset from the red dot to (10,10). The blue dot (i.e. Figure 5a The gray circle in the figure is (-1,0), the blue dot is offset from the red dot by 10, and the origin of the line (i.e. Figure 5a The white dot in the figure has a white point offset of 5 relative to the red dot. Subtract the white point offset from the blue point offset to get a base offset of 5.

[0121] by Figure 5b For example, the relative position relationship of the skirting 2 can be expressed as: the red dot (i.e. Figure 5b The direction of the black dot is to the right, and the green dot (i.e. Figure 5b The black star in the figure is offset from the red dot to (0,10). The blue dot (i.e. Figure 5b The gray circle in the figure is (1,0), the blue dot is offset from the red dot by 10, and the bottom center of the line (i.e. Figure 5b The white circle in the figure has a white point offset of 15 relative to the red point. Subtract the white point offset from the blue point offset to get a base offset of -5.

[0122] C) Based on the relative position relationship, obtain the position information of the target lines and target panels in the target apartment type

[0123] In some embodiments, determining the position information of the target lines and target panels in the target apartment type may be implemented as follows:

[0124] Step A1, map the red dot information to the target house type to obtain the location coordinates of the target red dot.

[0125] a) Determine the location coordinates of the target red dot

[0126] The line can be a base line, a top line or a connecting line. The following is a detailed description of the method of determining the position coordinates of the target red dot based on each case of the line:

[0127] When the target line is a skirting line or a top line, determine the first target position point on the intersection of the target wall surface where the target panel is installed in the target apartment and the reference plane to obtain the position coordinates of the target red dot; wherein, when the target line is a skirting line, the reference plane is the ground; when the target line is a top line, the reference plane is the top surface.

[0128] The first target position is determined according to the semantics of the red dot during construction.

[0129] a1) When the target line is the baseboard, determine the position coordinates of the target red dot

[0130] like Figure 3aAs shown, the first target position can be determined based on semantics. Since the target apartment type stores the size information of each wall and the size information of the ground in the apartment type, and can also store the vertex position of each wall and the ground, when the point of the first target position on the intersection line of the target wall and the ground is selected, the position coordinates of the target red dot can be obtained.

[0131] The point where the boundary line belonging to the ground or the target wall is perpendicular to the intersection line can also be determined as the position of the red dot. That is, the linear equation of the intersection line can be determined based on the coordinates of any two points on the intersection line, and the linear equation of the boundary line can be determined based on the coordinates of any two points on the boundary line belonging to the ground or the target wall. The intersection point is obtained based on these two linear equations to obtain the position coordinates of the target red dot.

[0132] Any method that can determine the position coordinates of the mapping point of the target red dot in the target apartment type can be applied to the embodiments of the present disclosure.

[0133] a2) When the target line is the top line, determine the position coordinates of the target red dot

[0134] Possible examples include Figure 3b As shown, the first target position can be determined according to semantics. Similarly, since the target apartment type stores the size information of each wall and the size information of the ground in the apartment type, and can also store the vertex position of each wall and the ground, when the point of the first target position on the intersection line of the target wall and the top surface is selected, the position coordinates of the target red dot can be obtained.

[0135] Of course, the position coordinates of the target red dot may also be determined by taking the intersection of two straight lines. The embodiment of the present disclosure does not limit the method of determining the position coordinates of the target red dot.

[0136] In the embodiment of the present disclosure, when the target line is a skirting line or a ceiling line, the point of the first target position on the intersection line of the target wall on which the target panel is installed in the target apartment and the reference plane is determined to obtain the position coordinates of the target red dot. The position coordinates of the red dot obtained in this way are not only more accurate but also simple to operate and easy to implement.

[0137] a3) When the target line is a connecting bar, determine the position coordinates of the target red dot

[0138] In some embodiments, when the target line is a connecting strip between panels, a target straight line perpendicular to the target wall is determined at the second target position; the target wall is the wall on which the target panel is installed; the intersection of the target straight line and the target wall is determined to obtain the position coordinates of the target red dot.

[0139] In implementation, the second target location is determined based on the semantics at build time. Figure 3cAs shown, a straight line passing through the center of the line and perpendicular to the target wall can be determined as the target straight line, and its second target position can be the lowest point of the target wall or the highest point of the target wall. The intersection of the target straight line and the target wall is calculated to obtain the position coordinates of the target red dot. The equation of the straight line at the second target position and belonging to the target wall and the equation of the target straight line can be obtained, and the intersection of these two straight line equations is determined as the position coordinates of the target red dot.

[0140] Of course, the user can determine the position of the target straight line based on actual conditions, and the embodiments of the present disclosure are not limited to this.

[0141] In the disclosed embodiment, when the target line is a connecting strip between panels, the coordinates of the target red dot are determined based on a method of determining the target straight line. This method is simple to operate and easy to implement.

[0142] Step A2, based on the first offset relative to the red dot information contained in the green dot information and the position coordinates of the target red dot, the green dot information is mapped to the target apartment type to obtain the position coordinates of the target green dot.

[0143] During implementation, the position coordinates of the green dot in the two-dimensional section image can be determined based on the first offset relative to the red dot information and the position coordinates of the target red dot in the two-dimensional section image, and the position coordinates of the green dot in the two-dimensional section image can be mapped to the target apartment type to obtain the position coordinates of the green dot in the target apartment type.

[0144] The first offset based on the relative red dot information in the two-dimensional profile view may also be mapped to the target apartment type, and the position coordinates of the green dot in the target apartment type may be determined based on the position coordinates of the target red dot in the target apartment type.

[0145] Step A3, based on the position coordinates of the target green point, determine the position information of the target panel in the target apartment. The specific introduction can be as follows b).

[0146] b) Determine the location information of the target panel

[0147] Due to the different types of target lines, the methods of using the position coordinates of the target green point to determine the position information of the target panel in the target apartment are different.

[0148] When the target line is a skirting line or a top line, the distance of the target panel relative to the reference plane is determined based on the position coordinates of the target green dot, and the distance of the target panel relative to the target wall is determined; wherein, when the target line is a skirting line, the reference plane is the ground; when the target line is a top line, the reference plane is the top surface; the target wall is the wall on which the target panel is installed.

[0149] b1) When the target line is a skirting, determine the position information of the target panel

[0150] When implementing, on the target line (i.e. Figure 3a If the white rectangle in the figure is a skirting board, Figure 3a As shown, based on the target green point (i.e. Figure 3a The black star in the figure) determines the position coordinates (a, b) of the target plate (i.e. Figure 3a The distance of the gray rectangle in the figure relative to the ground is b, and the distance of the target panel relative to the target wall is determined to be a. Then, based on the size of the target panel, the position information of the target panel in the target apartment is determined.

[0151] b2) When the target line is the top line, determine the position information of the target panel

[0152] When implementing, on the target line (i.e. Figure 3b The white rectangle in the figure is the top line. Figure 3b As shown, based on the target green point (i.e. Figure 3b The black star in the figure) has the position coordinates (c,

[0153] d), determine the target panel (i.e. Figure 3b The distance between the target panel and the target wall is determined to be c. Based on the size of the target panel, the position information of the target panel in the target apartment is determined.

[0154] b3) When the target line is a connecting strip, determine the position information of the target panel

[0155] When the target line is a connecting bar, the distance of the target plate relative to the target wall and the distance of the target plate relative to the target red dot in the direction of the red dot direction vector are determined based on the position coordinates of the target green dot.

[0156] When implementing, on the target line (i.e. Figure 3c When the white rectangle in the figure is a connecting strip, Figure 3c As shown, based on the target green point (i.e. Figure 3c The black star in the figure) determines the position coordinates (e, f) of the target plate (i.e. Figure 3c The distance of the target panel relative to the target wall is determined to be e. Based on the size of the target panel, the position information of the target panel in the target apartment is determined.

[0157] In the disclosed embodiment, when the target line is a skirting line or a top line, the distance between the target panel and the wall and the reference plane is determined based on the green dot coordinates; and when the target line is a connecting bar, the distance between the target panel and the wall and the distance relative to the target red dot in the direction of the red dot direction vector is determined based on the green dot coordinates. This method is not only simple to operate and easy to implement, but also can accurately obtain the position information of the target panel.

[0158] c) Determining the position information of the target line can be implemented as follows:

[0159] Step A4: determining a second offset of the current position of the target line relative to the target plate based on the blue dot information and the reference offset.

[0160] Since the line also has width information, the size information of the line needs to be taken into account when determining the position of the target line. Therefore, based on the blue dot information and the reference offset, the second offset of the current position of the target line relative to the target plate can be determined as follows:

[0161] Step B1, determining the target line and the target panel overlap surface based on the blue dot information.

[0162] Step B2, determining the lowest point of the target panel relative to the target red dot in the vertical direction on the overlapped surface, and obtaining the position coordinates of the target blue dot in the target apartment.

[0163] Step B3, based on the position coordinates of the target blue dot, determine the reference offset of the target blue dot relative to the current position of the target line in the horizontal direction.

[0164] Step B4, determining the difference between the reference offset and the base offset to obtain a second offset.

[0165] In the disclosed embodiment, the reference offset is determined based on the position coordinates of the target blue dot, and the reference offset of the current position of the target blue dot relative to the target line in the horizontal direction is determined based on the position coordinates of the target blue dot; the second offset is determined based on the difference between the reference offset and the reference offset. The second offset determined in this way can accurately determine the position of the target line, thereby achieving a better installation effect for the user.

[0166] Step A5: determining the position information of the target line in the target apartment based on the second offset of the target line relative to the target panel.

[0167] In the disclosed embodiment, the red dot information and the green dot information are mapped to the target apartment type to obtain the position information of the target panel in the target apartment type; the blue dot information and the reference position are used to determine the second offset to obtain the position information of the target line in the target apartment type. Based on this method, the position of the target panel and the target line in the target apartment type can be accurately obtained, so that the user can view the installation effect of the target panel and the target line in the target apartment type.

[0168] To facilitate understanding, how to achieve installation in a target apartment based on the same target line and multiple panels, the process of the embodiment of the present disclosure is described below based on several examples:

[0169] Take skirting board A, adapter panel A, panel B, and panel C as an example.

[0170] like Figure 6a As shown, the thickness of the plate A is 10, and the relative position relationship between the plate A and the skirting A includes red dot information, green dot information, blue dot information and reference offset. Figure 6a The black dot in the middle of the vector is horizontally pointing to the right. Figure 6a The black star in the figure is the relative red dot (i.e. Figure 6a The black dot in the figure is offset by (10,10). The blue dot (i.e. Figure 6a The gray circle in the figure is (-1, 0). The blue dot offset relative to the red dot is 10, and the white dot offset relative to the red dot at the bottom center of the line is 5. Therefore, the base offset obtained by subtracting the white dot offset from the blue dot offset is 5.

[0171] Based on the red and green dot information, the distance between panel A and the ground and the wall is calculated to be 10, and based on the blue dot information, the coordinate position of the blue dot is determined to be (5, 10), so the reference offset can be determined to be 5. The difference between the reference offset and the base offset is calculated, and the second offset is 0, so the line A and panel A can be displayed based on this relative position to achieve the desired installation effect.

[0172] like Figure 6b As shown, the thickness of the plate B is 5, and the relative position relationship between the plate B and the skirting A includes red dot information, green dot information, blue dot information and reference offset. Figure 6b The black dot in the middle of the vector is horizontally pointing to the right. Figure 6b The black star in the figure is the relative red dot (i.e. Figure 6b The black dot in the figure is offset by (10,10). The blue dot (i.e. Figure 6bThe gray circle in the figure is (-1, 0). The blue dot offset relative to the red dot is 10, and the white dot offset relative to the red dot at the bottom center of the line is 5. Therefore, the base offset obtained by subtracting the white dot offset from the blue dot offset is 5.

[0173] Based on the red dot information and the green dot information, it is calculated that the distance between panel B and the ground is 10 and the distance between B and the wall is 10. Based on the blue dot information, the coordinate position of the blue dot is determined to be (5, 10). Therefore, the reference offset can be determined to be 5. The difference between the reference offset and the benchmark offset is calculated, and the second offset is 0. Therefore, the line A and panel B can be displayed based on the relative position.

[0174] like Figure 6c As shown, the thickness of the plate C is 20, and the relative position relationship between the plate C and the skirting A includes red dot information, green dot information, blue dot information and reference offset. Figure 6c The black dot in the middle of the vector is horizontally pointing to the right. Figure 6c The black star in the figure is the relative red dot (i.e. Figure 6c The black dot in the figure is offset by (10,10). The blue dot (i.e. Figure 6c The gray circle in the figure is (-1, 0). The blue dot offset relative to the red dot is 10, and the white dot offset relative to the red dot at the bottom center of the line is 5. Therefore, the base offset obtained by subtracting the white dot offset from the blue dot offset is 5.

[0175] Based on the red dot information and the green dot information, it is calculated that the distance between panel C and the ground is 10 and the distance between it and the wall is 10. Based on the blue dot information, the coordinate position of the blue dot is determined to be (5, 10). Therefore, the reference offset can be determined to be 5. The difference between the reference offset and the benchmark offset is calculated, and the second offset is 0. Therefore, the line A and panel C can be displayed based on this relative position.

[0176] The above situation is when the board is replaced, and the position of the lines and the board does not need to be adjusted. Based on the following example, it can be understood that when the board is replaced, the position of the lines needs to be adaptively adjusted:

[0177] Take skirting B, matching panels A, B, and C as an example. The following red dots are Figure 7a-7f The black dots in the figure represent the Figure 7a-7f The black stars in the figure represent the blue dots. Figure 7a-7f The gray circle in the figure indicates that the center points at the bottom of the lines are Figure 7a-7f The white circles in the figure represent:

[0178] like Figure 7aAs shown, the thickness of plate A is 10, and the relative position relationship between plate A and skirting B includes red dot information, green dot information, blue dot information and reference offset. The red dot direction vector in the red dot information is horizontal to the right. The green dot information is the offset distance relative to the red dot (0,10). The blue dot information is (1,0). The blue dot offset relative to the red dot is 10, and the white dot offset of the bottom center of the line relative to the red dot is 15. Therefore, the reference offset obtained by subtracting the white dot offset from the blue dot offset is -5.

[0179] Based on the red and green dot information, it is calculated that the distance between plate A and the ground is 10 and the distance between A and the wall is 0. Based on the blue dot information, the coordinate position of the blue dot is determined to be (-5, 10). Therefore, the reference offset can be determined to be -5. The difference between the reference offset and the base offset is calculated to obtain a second offset of 0. Therefore, the line A and plate A can be displayed based on the relative position. The adjusted figure is as follows Figure 7b As shown, Figure 7a Consistent.

[0180] When the original plate A with a thickness of 10 is replaced with a plate B with a thickness of 5, Figure 7c As shown, the relative position relationship between the panel B and the skirting B includes red dot information, green dot information, blue dot information and reference offset. The red dot direction vector in the red dot information is horizontal to the right. The green dot information is the offset distance relative to the red dot (0,10). The blue dot information is (1,0). The blue dot offset relative to the red dot is 5, and the white dot offset relative to the red dot of the bottom center of the line is 15. Therefore, the reference offset obtained by subtracting the white dot offset from the blue dot offset is -10.

[0181] Based on the red and green dot information, the distance between panel B and the ground is 10 and the distance between B and the wall is 0. Based on the blue dot information, the coordinate position of the blue dot is determined to be (-5, 10). Therefore, the reference offset is determined to be -5. The difference between the reference offset and the base offset is calculated to obtain a second offset of -5. Therefore, the skirting B needs to be moved 5 units in the negative direction of the red dot. Figure 7d shown.

[0182] When the original plate A with a thickness of 10 is replaced with a plate C with a thickness of 20, Figure 7e As shown, the relative position relationship between the panel C and the skirting B includes red dot information, green dot information, blue dot information and reference offset. The red dot direction vector in the red dot information is horizontal to the right. The green dot information is the offset distance relative to the red dot (0,10). The blue dot information is (1,0). The blue dot offset relative to the red dot is 20, and the white dot offset relative to the red dot of the bottom center of the line is 15. Therefore, the reference offset obtained by subtracting the white dot offset from the blue dot offset is 5.

[0183] Based on the red and green dot information, the distance between panel C and the ground is 10 and the distance between C and the wall is 0. Based on the blue dot information, the coordinate position of the blue dot is determined to be (-5, 10). Therefore, the reference offset is determined to be -5. The difference between the reference offset and the base offset is calculated to obtain a second offset of 10. Therefore, the skirting B needs to be moved 10 units in the direction of the red dot. Figure 7f shown.

[0184] Based on the same technical concept, the embodiment of the present disclosure also provides a home decoration design device 800, such as Figure 8 As shown, including:

[0185] An acquisition module 801 is used to acquire a relative position relationship set between lines and panels defined in a target home decoration design control in response to a user's selection operation on the target home decoration design control;

[0186] A determination module 802 is used to determine the position information of the target line and the target panel in the target apartment type based on the target position relationship in response to the selection operation of the target position relationship in the relative position relationship set;

[0187] The display module 803 is used to display the installation effect of the target lines and target panels based on the position information of the target lines and target panels in the target apartment.

[0188] In some embodiments, the target position relationship includes red dot information, green dot information, blue dot information, and a reference offset;

[0189] The red dot information is used as an anchor point in the target position relationship to calibrate the relative position relationship between the line and the plate;

[0190] The green dot information is used in the target position relationship to describe the point in the panel that is closest to the red dot information;

[0191] The blue dot information is used to describe the overlap surface of lines and panels in the target position relationship;

[0192] The reference offset is used to describe the offset of the line relative to the red dot information in the target position relationship.

[0193] In some embodiments, the determining module includes:

[0194] A red point determination unit is used to map the red point information to the target house type to obtain the position coordinates of the target red point;

[0195] A green point determination unit, configured to map the green point information to the target apartment type based on the first offset relative to the red point information contained in the green point information and the position coordinates of the target red point, so as to obtain the position coordinates of the target green point;

[0196] A panel determination unit, used to determine the position information of the target panel in the target apartment type based on the position coordinates of the target green point;

[0197] An offset determination unit, used to determine a second offset of a current position of the target line relative to the target plate based on the blue dot information and the reference offset;

[0198] The line determination unit is used to determine the position information of the target line in the target apartment type based on the second offset of the target line relative to the target panel.

[0199] In some embodiments, the red point determination unit is used to:

[0200] When the target line is a skirting line or a ceiling line, determine the first target position point on the intersection line of the target wall surface where the target panel is installed and the reference surface in the target apartment, and obtain the position coordinates of the target red point;

[0201] Wherein, when the target line is a skirting line, the reference plane is the ground;

[0202] When the target line is the top line, the reference plane is the top plane.

[0203] In some embodiments, the red point determination unit is used to:

[0204] In the case where the target line is a connecting strip between panels, determining a target straight line perpendicular to a target wall surface at a second target position; the target wall surface is a wall surface on which the target panel is installed;

[0205] Determine the intersection of the target straight line and the target wall, and obtain the position coordinates of the target red dot.

[0206] In some embodiments, the panel determination unit is configured to:

[0207] When the target line is a skirting line or a top line, the distance of the target panel relative to the reference plane is determined based on the position coordinates of the target green point, and the distance of the target panel relative to the target wall is determined; wherein, when the target line is a skirting line, the reference plane is the ground; when the target line is a top line, the reference plane is the top surface; and the target wall is the wall on which the target panel is installed;

[0208] When the target line is a connecting bar, the distance of the target plate relative to the target wall and the distance of the target plate relative to the target red dot in the direction of the red dot direction vector are determined based on the position coordinates of the target green dot.

[0209] In some embodiments, the offset determination unit is configured to:

[0210] Determine the target line and the target panel overlap surface based on the blue dot information;

[0211] Determine the lowest point of the target panel relative to the target red point in the vertical direction on the overlapped surface, and obtain the position coordinates of the target blue point in the target apartment;

[0212] Based on the position coordinates of the target blue dot, determine the reference offset of the target blue dot relative to the current position of the target line in the horizontal direction;

[0213] The difference between the reference offset and the base offset is determined to obtain a second offset.

[0214] In some embodiments, a building block is further included for:

[0215] Get the target line from the line library;

[0216] Get reference panels from the panel library;

[0217] In response to a user operation on a target line and a reference panel, obtaining at least one installation result between the target line and the reference panel;

[0218] Determining a relative position relationship set based on at least one installation result;

[0219] Based on the relative position relationship set, construct the target home decoration design control.

[0220] For the description of specific functions and examples of each module and submodule of the device in the embodiment of the present disclosure, reference can be made to the relevant description of the corresponding steps in the above method embodiment, which will not be repeated here.

[0221] In the technical solution disclosed herein, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0222] Fig. 9 FIG. 1 is a structural block diagram of an electronic device according to an embodiment of the present disclosure. Fig. 9 As shown, the electronic device includes: a memory 910 and a processor 920, and the memory 910 stores a computer program that can be run on the processor 920. The number of memories 910 and processors 920 can be one or more. The memory 910 can store one or more computer programs. When the one or more computer programs are executed by the electronic device, the electronic device executes the method provided by the above method embodiment. The electronic device may also include: a communication interface 930, which is used to communicate with external devices and perform data exchange transmission.

[0223] If the memory 910, the processor 920 and the communication interface 930 are implemented independently, the memory 910, the processor 920 and the communication interface 930 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig. 9 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0224] Optionally, in a specific implementation, if the memory 910, the processor 920 and the communication interface 930 are integrated on a chip, the memory 910, the processor 920 and the communication interface 930 can communicate with each other through an internal interface.

[0225] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the Advanced RISC Machines (ARM) architecture.

[0226] Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory, and may also include a non-volatile random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DR RAM).

[0227] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of 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, the process or function described in the embodiment of the present disclosure is generated in whole or in part. 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 computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (for example: coaxial cable, optical fiber, data subscriber line (Digital Subscriber Line, DSL)) or wireless (for example: infrared, Bluetooth, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access, or a data storage device such as a server or data center that includes one or more available media integrations. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital versatile disc (DVD)), or a semiconductor medium (e.g., a solid state disk (SSD)), etc. It is worth noting that the computer-readable storage medium mentioned in the present disclosure may be a non-volatile storage medium, in other words, a non-transient storage medium.

[0228] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0229] In the description of the embodiments of the present disclosure, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" 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 present disclosure. 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, unless they are contradictory.

[0230] In the description of the embodiments of the present disclosure, unless otherwise specified, " / " means or, for example, A / B can mean A or B. "And / or" in this article is only a way to describe the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0231] In the description of the embodiments of the present disclosure, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present disclosure, unless otherwise specified, "plurality" means two or more.

[0232] The above description is only an exemplary embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A home decoration design method, comprising: In response to a user's selection operation on a target home decoration design control, obtaining a set of relative position relationships between lines and panels defined by the target home decoration design control; The plate is used for decorating the wall; In response to a selection operation on a target position relationship in the relative position relationship set, determining position information of a target line and a target panel in a target apartment type based on the target position relationship; Based on the position information of the target line and the target panel in the target apartment, display the installation effect of the target line and the target panel; It also includes constructing the target home decoration design control based on the following method: Acquire the target line from a line library; Get reference panels from the panel library; In response to a user operation on the target line and the reference panel, obtaining at least one installation result between the target line and the reference panel; Based on the at least one installation result, determining the relative position relationship set; Based on the relative position relationship set, the target home decoration design control is constructed.

2. The method according to claim 1, wherein: The target position relationship includes red dot information, green dot information, blue dot information and reference offset; The red dot information is used as an anchor point in the target position relationship to calibrate the relative position relationship between the line and the plate; The green dot information is used in the target position relationship to describe the point in the panel that is closest to the red dot information; The blue dot information is used to describe the overlap surface of the line and the plate in the target position relationship; The reference offset is used in the target position relationship to describe the offset of the line relative to the red dot information.

3. The method according to claim 2, wherein: The step of determining the position information of the target lines and target panels in the target apartment type based on the target position relationship includes: Mapping the red dot information to the target apartment type to obtain the location coordinates of the target red dot; Based on the first offset relative to the red dot information contained in the green dot information and the position coordinates of the target red dot, the green dot information is mapped to the target apartment type to obtain the position coordinates of the target green dot; Based on the position coordinates of the target green point, determining the position information of the target panel in the target apartment; Determine a second offset of the current position of the target line relative to the target plate based on the blue dot information and the reference offset; Based on a second offset of the target line relative to the target panel, position information of the target line in the target apartment type is determined.

4. The method according to claim 3, wherein: Mapping the red dot information to the target house type to obtain the position coordinates of the target red dot includes: In the case where the target line is a skirting line or a ceiling line, a point of a first target position on the intersection line of a target wall surface where the target panel is installed and a reference surface in the target apartment is determined to obtain the position coordinates of the target red point; Wherein, when the target line is a skirting line, the reference plane is the ground; When the target line is a top line, the reference plane is a top plane.

5. The method according to claim 3, wherein: Mapping the red dot information to the target house type to obtain the position coordinates of the target red dot includes: In the case where the target line is a connecting strip between panels, determining a target straight line perpendicular to a target wall surface at a second target position; the target wall surface is a wall surface on which the target panel is installed; Determine the intersection of the target straight line and the target wall surface to obtain the position coordinates of the target red dot.

6. The method according to claim 3, wherein: The determining the position information of the target panel in the target apartment type based on the position coordinates of the target green point includes: In the case where the target line is a skirting line or a top line, the distance of the target panel relative to the reference plane is determined based on the position coordinates of the target green point, and the distance of the target panel relative to the target wall is determined; wherein, in the case where the target line is a skirting line, the reference plane is the ground; in the case where the target line is a top line, the reference plane is the top surface; the target wall surface is the wall surface on which the target panel is installed; When the target line is a connecting bar, the distance of the target plate relative to the target wall and the distance of the target plate relative to the target red dot in the direction of the red dot direction vector are determined based on the position coordinates of the target green dot.

7. The method according to claim 3, wherein: The determining, based on the blue dot information and the reference offset, a second offset of the current position of the target line relative to the target plate comprises: Determine the target line and the target panel overlap surface based on the blue dot information; Determine the lowest point of the target panel relative to the target red point in the vertical direction on the overlapped surface, and obtain the position coordinates of the target blue point in the target apartment; Based on the position coordinates of the target blue dot, determining a reference offset of the target blue dot relative to the current position of the target line in the horizontal direction; The difference between the reference offset and the base offset is determined to obtain the second offset.

8. A home decoration design device, comprising: An acquisition module, configured to acquire a relative position relationship set between lines and panels defined by a target home decoration design control in response to a user's selection operation on the target home decoration design control; The plate is used for decorating the wall; A determination module, configured to determine, in response to a selection operation on a target position relationship in the relative position relationship set, position information of a target line and a target panel in a target apartment type based on the target position relationship; A display module, used for displaying the installation effect of the target line and the target panel based on the position information of the target line and the target panel in the target apartment; Also included are building blocks for: Acquire the target line from a line library; Get reference panels from the panel library; In response to a user operation on the target line and the reference panel, obtaining at least one installation result between the target line and the reference panel; Based on the at least one installation result, determining the relative position relationship set; Based on the relative position relationship set, the target home decoration design control is constructed.

9. An electronic device, comprising: 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, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-7.