A method and device for generating a continuous straight laying plan for room floor tiles
By generating the optimal starting point and combining multiple evaluation indicators to optimize the floor tile laying plan, the problems of difficult construction and material waste in traditional floor tile laying are solved, and a highly regular and low-cost paving effect is achieved.
Patent Information
- Application Number
- CN202110439657.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-23
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-04-23
AI Technical Summary
There are differences in traditional floor tile paving plans when considering aesthetics, regularity and construction operability, resulting in difficult construction, a lot of material waste, and difficulty in finding a suitable starting point, which affects the overall effect.
By determining the room wall line segments to generate candidate starting points, calculate the evaluation index value of each brick set, and combine the regularity, floor tile loss rate and construction operability indicators to optimize and generate the optimal starting point, create a continuous direct laying plan of floor tiles, and ensure The scheme has high regularity, simple construction and low cost.
It achieves the optimal starting point for laying floor tiles, improves overall regularity and construction efficiency, reduces material waste and costs, meets user preferences, and improves user satisfaction.
Smart Images

Figure CN113127960B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent house decoration, and in particular to a method and a device for generating a continuous straight-laying scheme for floor tiles in a room. Background Art
[0002] Laying floor tiles in a room is a common part of decoration. It is time-consuming and costly. Therefore, it is necessary to design a paving plan in advance to avoid failure to meet expectations after the paving is completed, which may lead to disputes.
[0003] Traditional design plans are given by decoration designers or tilers based on their business experience. On the one hand, the business experience of different people is often quite different, and on the other hand, the preferences of different roles are quite different. For example, designers focus on the aesthetics and regularity, and use tools such as CAD to design paving plans, but they are likely to ignore the brick joints, resulting in deviations between the design and the actual construction, and will also ignore the economic cost issues and the operational difficulty of the actual construction. Tilers focus on the construction operability, and only determine the paving plan by pre-laying the floor tiles on the construction site. Since this method is time-consuming, generally only one or two starting points can be tried, and it is difficult to find a suitable starting point. Such a paving plan not only affects the overall aesthetics and regularity, but may also cause too many broken bricks and too narrow bricks, which are easy to break when cutting, resulting in material waste.
[0004] Attached Figures 1 to 3 Several typical existing continuous straight laying processes for floor tiles are shown, that is, the tiles are laid in alignment, and the tile joints form a horizontal and vertical grid relative to a wall of the room. Figures 1 to 3 It can be seen that there are narrow-edged broken bricks in almost every room, which brings difficulties to construction, leads to material waste, and affects the overall regularity.
[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present invention, and therefore it may contain information that does not constitute the prior art known to those skilled in the art. Summary of the invention
[0006] In order to at least partially solve the problems existing in the prior art, the present invention provides a method for generating a plan for continuous straight laying of room floor tiles, which can combine regularity, economy and construction operability factors, and generate the optimal starting point for laying room floor tiles based on multiple evaluation index optimization, so that the generated plan for continuous straight laying of floor tiles has high regularity, simple construction and low cost, thereby overcoming the problems existing in the prior art.
[0007] The present invention provides a method for generating a continuous straight-laying scheme for floor tiles in a room, comprising the following steps: determining a line segment corresponding to at least one wall in the room, generating a candidate starting point from the line segment, and combining all candidate starting points to form a candidate starting point set; traversing the candidate starting point set to generate a brick set corresponding to the candidate starting point one by one; determining a plurality of evaluation indicators for evaluating the brick set, and calculating the values of each evaluation indicator of each brick set; generating an optimal starting point for the room according to the calculated values of each evaluation indicator of each brick set and combining the comprehensive index of each evaluation indicator; and creating a continuous straight-laying scheme for floor tiles in the room from the optimal starting point.
[0008] The candidate starting points are generated in the following manner: the starting point, midpoint and end point of a line segment corresponding to at least one wall are calculated, and based on the starting point, midpoint and end point, a set value is stepped in a direction perpendicular to the line segment corresponding to the wall and pointing into the room to obtain a candidate starting point of the line segment corresponding to the wall.
[0009] When the room contains a 270° positive angle formed by the first wall and the second wall, the candidate starting point set of the corresponding line segments of the first wall and the second wall is generated in the following manner: determine the candidate starting point on the straight line where the corresponding line segment of the first wall is located, and the distances between the candidate starting point and the corresponding line segment of the wall in the room and parallel to the second wall are equal to an integer multiple of the length of the brick length plus the brick joint or the length of the brick width plus the brick joint, and all the candidate starting points are gathered to form the candidate starting point set of the corresponding line segment of the first wall; determine the candidate starting point on the straight line where the corresponding line segment of the second wall is located, and the distances between the candidate starting point and the corresponding line segment of the wall in the room and parallel to the first wall are equal to an integer multiple of the length of the brick length plus the brick joint or the length of the brick width plus the brick joint, and all the candidate starting points are gathered to form the candidate starting point set of the corresponding line segment of the second wall.
[0010] The above-mentioned brick set is generated in the following way: starting from the candidate starting point, stepping in a straight paving manner by the brick length plus the brick joint length or the brick width plus the brick joint length, and continuously stepping in this way until reaching the boundary of the room floor paving space; the whole brick rectangular shape and the broken brick geometric shape generated during the stepping process together constitute the brick set corresponding to the candidate starting point.
[0011] The above-mentioned multiple evaluation indicators include regularity index, floor tile loss rate and construction operability index, wherein: the regularity index includes one or more of the number of whole tiles, the number of whole tiles of the wall and floor tiles where the entrance door is located, the sum of the whole tile degree of the wall and floor tiles where the entrance door is located, the number of whole tiles of the wall and floor tiles near the entrance door, the sum of the whole tile degree of the wall and floor tiles near the entrance door, and the sum of the whole tile degree of the floor tiles, and the calculation formula of the whole tile degree is:
[0012]
[0013] in, S represents the actual area value of the geometric shape of the laid floor tiles, and S0 represents the area value of the whole tile;
[0014] The calculation formula of the floor tile loss rate is:
[0015] Floor tile loss rate = number of tiles × total tile area / room area – 1
[0016] The number of calculated floor tiles is the number of whole tiles actually purchased to complete the room floor tiling;
[0017] The construction operability index includes the minimum narrow side value of the rectangular residual brick and the value of the non-rectangular brick at the positive corner. The calculation formula of the non-rectangular brick value at the positive corner is:
[0018]
[0019] Among them, all the positive corners are sorted in ascending order according to the distance from the entrance door, and the serial number i of each positive corner is obtained, n is the number of positive corners in the room, w i is the weight of the ith sun angle, w i =1 / 10 i , m i is the number of non-rectangular bricks at the i-th positive corner.
[0020] According to one embodiment of the present invention, the present invention generates the optimal starting point of the room by combining the priority of each evaluation index in the following manner: according to the order of priority of each evaluation index from high to low, the evaluation index values of each brick set are sorted one by one, and the brick set with the highest evaluation index value is filtered and screened to form a candidate brick set, and the candidate brick set obtained by filtering and screening the previous evaluation index is used as the object of filtering and screening by the next evaluation index, and the above filtering and screening operations are repeated until the candidate brick set contains only one brick set, and the candidate starting point corresponding to the brick set is used as the optimal starting point; if after filtering and screening according to each evaluation index in turn, the candidate brick set finally obtained contains more than one brick set, the candidate starting point corresponding to one of the brick sets is randomly selected as the optimal starting point.
[0021] According to one embodiment of the present invention, the present invention generates the optimal starting point of a room by combining the weights of various evaluation indicators in the following manner: according to the weight values of various evaluation indicators and the calculated values of various evaluation indicators, the score of each brick set is calculated, and the candidate starting point corresponding to the brick set with the highest score is used as the optimal starting point.
[0022] According to another aspect of the present invention, the present invention also provides a method for generating a continuous straight-laying scheme for floor tiles in a multi-room house, comprising the following steps: marking the entrance door of the house as a first-level door, marking the room entered by the entrance door as a first-level room, traversing all unmarked doors leading to other adjacent rooms from the k-th level room and marking them as k+1-th level doors, marking all unmarked rooms entered by the k+1-th level door as k+1-th level rooms, repeating the above traversal operation until the room entered by the k+1-th level door has no unmarked doors leading to other adjacent rooms, wherein k is a positive integer; taking the highest-level door in each room as the entrance door of the room; executing the above-mentioned method for generating a continuous straight-laying scheme for floor tiles in a room to generate a continuous straight-laying scheme for floor tiles for each room.
[0023] According to another aspect of the present invention, the present invention also provides a device for generating a plan for continuous straight laying of floor tiles in a room, comprising: a candidate starting point set generation module, which is configured to determine a line segment corresponding to at least one wall in the room, generate a candidate starting point from the line segment, and combine all the candidate starting points to form a candidate starting point set; a brick set generation module, which is configured to generate a brick set corresponding to the candidate starting point one by one; an evaluation index value calculation module, which is configured to determine a plurality of evaluation indexes for evaluating the brick set, and calculate the value of each evaluation index of each brick set; an optimal starting point generation module, which is configured to generate the optimal starting point for the room according to the calculated evaluation index values of each brick set, combined with the comprehensive index of each evaluation index; a plan creation module, which is configured to create a plan for continuous straight laying of floor tiles in the room from the optimal starting point.
[0024] The candidate starting point set generation module is further configured to: calculate the starting point, midpoint and end point of the line segment corresponding to at least one wall, and based on the starting point, midpoint and end point, respectively, step set values in a direction perpendicular to the line segment corresponding to the at least one wall and pointing into the room to obtain the candidate starting point of the line segment corresponding to the at least one wall.
[0025] The above-mentioned candidate starting point set generation module is further configured to, when the room contains a 270° positive angle formed by the first wall and the second wall: determine the candidate starting point on the straight line where the corresponding line segment of the first wall is located, and the distances between the candidate starting point and the corresponding line segment of the wall parallel to the second wall in the room are equal to an integer multiple of the length of the brick length plus the brick joint or the length of the brick width plus the brick joint, and all the candidate starting points are combined to form a candidate starting point set for the corresponding line segment of the first wall; determine the candidate starting point on the straight line where the corresponding line segment of the second wall is located, and the distances between the candidate starting point and the corresponding line segment of the wall parallel to the first wall in the room are equal to an integer multiple of the length of the brick length plus the brick joint or the length of the brick width plus the brick joint, and all the candidate starting points are combined to form a candidate starting point set for the corresponding line segment of the second wall.
[0026] The above-mentioned brick set generation module is further configured as follows: starting from the candidate starting point, stepping in a straight paving manner by the brick length plus the brick joint length or the brick width plus the brick joint length, and continuously stepping in this manner until reaching the boundary of the room floor paving space; the whole brick rectangular shape and the broken brick geometric shape generated during the stepping process together constitute the brick set corresponding to the candidate starting point.
[0027] The multiple evaluation indexes used in the evaluation index value calculation module include regularity, floor tile loss rate and construction operability, wherein: the regularity index includes one or more of the number of whole bricks, the number of whole bricks of the wall and floor tiles where the entrance door is located, the sum of the whole brick degree of the wall and floor tiles where the entrance door is located, the number of whole bricks of the wall and floor tiles near the entrance door, the sum of the whole brick degree of the wall and floor tiles near the entrance door, and the sum of the whole brick degree of the floor tiles, and the calculation formula of the whole brick degree is:
[0028]
[0029] in, S represents the actual area value of the geometric shape of the laid floor tiles, and S0 represents the area value of the whole tile;
[0030] The calculation formula of the floor tile loss rate is:
[0031] Floor tile loss rate = number of tiles × total tile area / room area – 1
[0032] The number of calculated floor tiles is the number of whole tiles actually purchased to complete the room floor tiling;
[0033] The construction operability index includes the minimum narrow side value of the rectangular residual brick and the value of the non-rectangular brick at the positive corner. The calculation formula of the non-rectangular brick value at the positive corner is:
[0034]
[0035] Among them, all the positive corners are sorted in ascending order according to the distance from the entrance door, and the serial number i of each positive corner is obtained, n is the number of positive corners in the room, w i is the weight of the ith sun angle, w i =1 / 10 i , m i is the number of non-rectangular bricks at the i-th positive corner.
[0036] The above-mentioned optimal starting point generation module is further configured as follows: according to the order of priority of each evaluation indicator from high to low, the evaluation indicator values of each brick set are sorted one by one, and the brick set with the highest evaluation indicator value is filtered and screened to form a candidate brick set, and the candidate brick set obtained by filtering and screening the previous evaluation indicator is used as the object of filtering and screening by the next evaluation indicator, and the above filtering and screening operations are repeated until the candidate brick set contains only one brick set, and the candidate starting point corresponding to the brick set is used as the optimal starting point; if after filtering and screening according to each evaluation indicator in turn, the candidate brick set finally obtained contains more than one brick set, then the candidate starting point corresponding to one of the brick sets is randomly selected as the optimal starting point.
[0037] The above-mentioned optimal starting point generation module is further configured to: calculate the score of each brick set according to the weight value of each evaluation index and the calculated evaluation index value, and take the candidate starting point corresponding to the brick set with the highest score as the optimal starting point.
[0038] According to another aspect of the present invention, there is also provided a device for generating a continuous straight-laying scheme for floor tiles in a multi-room house, which comprises: an entrance door determination module; and a candidate starting point set generation module, a brick set generation module, an evaluation index value calculation module, an optimal starting point generation module and a scheme creation module contained in the above-mentioned device for generating a continuous straight-laying scheme for floor tiles in a room; wherein the entrance door determination module is configured to: mark the house entrance door as a first-level door, mark the room entered by the entrance door as a first-level room, traverse all unmarked doors leading to other adjacent rooms from the k-th level room and mark them as k+1-th level doors, mark all unmarked rooms entered by the k+1-th level door as k+1-th level rooms, repeat the above traversal operation until there are no unmarked doors leading to other adjacent rooms in the room entered by the k+1-th level door, where k is a positive integer; and use the door with the highest level in each room as the entrance door of the room.
[0039] According to another aspect of the present invention, a computer device is also provided, which may include: a processor, a storage device, and a computer program stored in the storage device and executable on the processor, and when the processor executes the computer program, the steps of the method for generating a continuous straight laying plan for floor tiles as described above are implemented.
[0040] According to another aspect of the present invention, there is also provided a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method for generating a continuous straight laying plan for floor tiles as described above.
[0041] The present invention automatically generates the optimal starting point for laying floor tiles in a room based on geometric calculation and optimization of multiple evaluation indicators, when the geometric shape of the floor of the room, the specifications of the floor tiles, the size of the brick seams, and the paving process is continuous straight paving, combined with multiple factors such as regularity, economy, and construction operability, and then generates the continuous straight paving plan for floor tiles in the room from the optimal starting point, so that the final continuous straight paving plan for floor tiles has high regularity, simple construction, and low economic cost. The present invention empowers decoration practitioners and can improve user satisfaction by combining user preferences. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The above and other features of the present invention will be described in detail below with reference to specific exemplary embodiments shown in the accompanying drawings, which are given below only by way of illustration and therefore do not limit the present invention, in which:
[0043] Figure 1 The present invention shows a schematic diagram of the continuous straight laying process of floor tiles in an existing regular room.
[0044] Figure 2 The present invention shows a schematic diagram of the existing continuous straight laying process of floor tiles in irregular rooms.
[0045] Figure 3 The figure shows the schematic diagram of the continuous direct laying process of floor tiles for an existing complete apartment.
[0046] Figure 4 A schematic flow chart of a method for generating a plan for continuous straight laying of floor tiles in a room according to a specific embodiment of the present invention is shown.
[0047] Figure 5 A schematic diagram of a multi-room house structure is shown in which door levels are determined according to a specific embodiment of the present invention.
[0048] Figure 6 A schematic diagram of generating a candidate paving starting point set according to a specific embodiment of the present invention is shown.
[0049] Figure 7 A schematic diagram of generating a set of candidate paving starting points for sun corners in a room according to a specific embodiment of the present invention is shown.
[0050] Figure 8 A schematic diagram showing the formation of a brick set M from a laying starting point A1 according to a specific embodiment of the present invention is shown.
[0051] Fig. 9 A schematic diagram showing a brick set N formed from a laying starting point B1 according to a specific embodiment of the present invention is shown.
[0052] Fig.10 A specific mapping diagram of a function for calculating the whole-tile degree of floor tiles according to a specific embodiment of the present invention is shown.
[0053] Fig.11 A flow chart of generating an optimal paving starting point by using an indicator priority method according to a specific embodiment of the present invention is shown.
[0054] Fig.12 A flow chart of generating an optimal paving starting point by using an indicator weight method according to a specific embodiment of the present invention is shown.
[0055] Fig.13 A schematic diagram of the structure of a device for generating a continuous straight-laying plan for room floor tiles according to a specific embodiment of the present invention is shown. DETAILED DESCRIPTION
[0056] The present invention is described in detail below through specific embodiments so that those skilled in the art can easily implement the present invention according to the contents disclosed in this specification. The embodiments described below are only some embodiments of the present invention, not all. Based on the embodiments described in this specification, all other embodiments obtained by those skilled in the art without creative work belong to the scope of protection of the present invention. It should be noted that the embodiments in this specification and the features in the embodiments can be combined with each other without conflict.
[0057] Attached Figure 4 A schematic flow chart of a method for generating a continuous straight-laying scheme for floor tiles in a room according to a specific embodiment of the present invention is shown. As shown in the figure, first, in step S401, the line segments corresponding to each wall of the room are determined, and a number of candidate starting points are generated from each of the line segments, and all these candidate starting points are grouped together to form a candidate starting point set. Next, in step S402, the candidate starting point set is traversed to generate a number of brick sets corresponding to each candidate starting point. Then in step S403, a plurality of evaluation indicators for evaluating the brick set are determined, and the values of each evaluation indicator of each brick set are calculated; then in step S404, according to the values of each evaluation indicator of each brick set calculated in step S403, combined with the priority or weight of each evaluation indicator, the optimal starting point for the room is generated; finally, in step S405, a continuous straight-laying scheme for floor tiles in the room is created from the optimal starting point.
[0058] Attached Figure 5 A schematic diagram showing the floor geometry of each room in a housing type including multiple rooms and determining the door level of each room according to a specific embodiment of the present invention is shown. The floor geometry of each room in the housing type is composed of the geometric shapes of the walls and doors constituting each room projected on the ground, and each vertex of the floor geometry of each room can be represented by a two-dimensional coordinate.
[0059] In this embodiment, the purpose of determining the level of each room door is to determine the entrance door of each room, which provides a basis for multiple subsequent evaluation indicators. The method adopted is the level traversal method, and the specific operation is: mark the door from the outdoors into the multi-room house as the entrance door. If there are multiple entrance doors, select any one of them. Set the selected entrance door as the k-th level door, and the room entered by the entrance door is set as the k-th level room. For example, Figure 5 The hallway in is the first-level room (k=1). Traverse all unmarked doors leading to other adjacent rooms in the k-th level room and set these unmarked doors as the k+1-th level doors. Figure 5 The door from the hallway into the living room is the second-level door (k=1). All unmarked rooms entered from the k+1th level door are marked as the k+1th level rooms. Figure 5 The living room in is the second-level room (k=1). Repeat the above traversal operation, for example, Figure 5 The doors from the living room to the bathroom A, bedroom B, balcony A, cloakroom, and kitchen are all set as third-level doors (k=2). Figure 5 The bathroom A, bedroom B, balcony A, cloakroom, and kitchen in the figure are marked as third-level rooms (k=2); Figure 5 The doors from the kitchen to the balcony B and the bathroom, the doors from the balcony A to the bedrooms A and B, and the doors from the cloakroom to the bedrooms A and the bathroom B are all set as the fourth-level doors (k=3); Figure 5 The balcony B, restroom, toilet B, and bedroom A in the figure are marked as the fourth-level room (k=3). Since bedroom B has been marked as the third-level room in the previous step, although the door from balcony A to bedroom B is marked as the fourth-level door, it is no longer marked as the fourth-level room. Repeat the above traversal operation until there is no door leading to the next-level room. Figure 5 If there is no door to the next level room in the storage room or open terrace, you can get the level of all the doors of all the rooms. The door level starts from the first level door and the level decreases successively.
[0060] When determining the room entrance door, according to the door level of each room, generally choose the door with the highest level as the room entrance door. If there is more than one door with the highest level in a room, choose the one with the highest level as the room entrance door. Figure 5 The middle bedroom B has two doors: the door from the living room and the door from the balcony A. Since the door from the living room is set as the third level, and the door from the balcony A is set as the fourth level, the door from the living room is selected as the entrance door of bedroom B. Figure 5The middle bedroom A has two doors: the door from the cloakroom and the door from the balcony A. Since these two doors are set to the fourth level, you can choose either one of them as the entrance door.
[0061] After determining the entrance door of each room, it is also necessary to clarify the size information of the floor tiles to be laid, including the length and width of the floor tiles. Common floor tile specifications on the market include 300mm×300mm, 600mm×600mm, 800mm×800mm, etc. The size range of the gap between floor tiles is usually between 1-15mm, generally 2mm, to avoid cracking of floor tiles due to thermal expansion and contraction.
[0062] Attached Figure 6 Shown is the attached Figure 4 The step S401 in the flowchart is a schematic diagram of an exemplary embodiment of generating a candidate starting point set in a room. As shown in the figure, for example, the wall line segment of the room entrance door (attached Figure 6 The starting point A, midpoint B and end point C of the lower horizontal line segment of the middle rectangle are respectively determined, and based on these three points, a certain brick joint value is stepped in the direction perpendicular to the wall segment and pointing into the room, such as any value between 1mm and 15mm, to obtain the candidate starting points A', B', C' of the wall segment. Alternatively, any value less than the length of the whole brick, such as 50mm, 100mm, is stepped to obtain new candidate starting points A", B", C" along the wall segment with broken bricks. In this way, the set of candidate starting points A', B', C' and A", B", C" is the set of candidate starting points for the wall segment.
[0063] According to the above candidate starting point generation rule, traverse each wall line segment in the room to generate several wall line segment candidate starting point sets, and all wall line segment candidate starting point sets constitute the candidate starting point set of the room;
[0064] Attached Figure 7 The schematic diagram of the method for generating a candidate starting point set for a 270° sun angle in a room is shown. Figure 7 Take the positive corner recessed in the room in the lower left corner as an example. The positive corner is formed by mutually perpendicular wall line segments l1 and l2. The intersection of wall line segments l1 and l2 is marked as p. Calculate the distance d from line segment l1 to the wall line segment l3 parallel to it. Calculate the remainder r of the distance d modulo s, where s is the length of the brick plus the length of the brick joint or the width of the brick plus the length of the brick joint. Add the remainder r to the y-coordinate value of point p to obtain the candidate starting point p' of the y-axis of the positive angle. The distance between the candidate starting point p' and the wall line segment l3 is an integer multiple of s.
[0065] Traverse all wall line segments parallel to line segment l1, such as wall line segment l4, calculate the distance d' from line segment l1 to wall line segment l4, and obtain the remainder r' by taking the distance d' modulo s. Then, after subtracting the remainder r' from the y-coordinate value of point p, we can obtain the candidate starting point p" of the y-axis of the external corner. The distance between the candidate starting point p" and the wall line segment l4 is an integer multiple of s. The above-mentioned candidate starting point p' and candidate starting point p" are combined to obtain the candidate starting point set of the external corner on the y-axis.
[0066] In a similar way, all wall line segments parallel to the wall line segment l2 are traversed to obtain the candidate starting point set of the external corner on the x-axis; the x-axis and y-axis candidate starting point sets generated by the external corner point p can be combined in pairs to generate the candidate starting point set corresponding to the external corner p.
[0067] Attached Figure 8 Shown is the attached Figure 4 A schematic diagram of an exemplary embodiment of a brick set M formed by the combination of all floor tile geometric shapes formed by the starting point A1 in step S402 of the flowchart shown. The specific steps of an exemplary method for generating the brick set M may include, for example: (1) starting from the candidate starting point A1, obtaining multiple equivalent starting points A2, A3, A4...An, the x-coordinate values of these equivalent starting points A2, A3, A4...An differ from the candidate starting point A1 by an integer multiple of the brick length plus the brick joint length, and the y-coordinate values of these equivalent starting points A2, A3, A4...An differ from the candidate starting point A1 by an integer multiple of the brick width plus the brick joint length, and the x and y coordinate values of the equivalent starting point A2 are greater than or equal to the corresponding coordinates of the lower left corner of the floor paving space of the room; of course, depending on the direction of laying the floor tiles, they may also be less than or equal to the corresponding coordinates of the upper right corner of the floor paving space of the room. (2) The whole brick rectangular shape generated in the stepping process, and the geometric shape of the floor tiles in the room obtained by intersecting the generated whole brick rectangular shape with the boundary of the floor paving space of the room, together constitute a brick set M formed by the combination of all the geometric shapes of the floor tiles formed by the starting point A1. It should be noted that the attached Figure 8 The equivalent starting points A2, A3, A4, ... An marked in the figure are only exemplary marks made for the convenience of explanation. Figure 8 The vertices of each rectangle shown in are all equivalent starting points, that is, the multiples of the difference between the x-coordinate value of each equivalent starting point and the candidate starting point A1 and the multiples of the difference between the y-coordinate value of each equivalent starting point and the candidate starting point A1 can be the same or different. In addition, the selection of the brick length and brick width is only for example, and the two can be interchanged without departing from the concept of the present invention, and the same technical effect can be achieved.
[0068] Similarly, if the candidate starting point B1 is used as the starting point, the following can be obtained: Fig. 9 As shown, a series of equivalent starting points B2, B3, B4...Bn are formed by the candidate starting point B1, and then a brick set N is formed by the combination of all floor tile geometric shapes.
[0069] The same method can be used to traverse the candidate starting point set of the room and generate several brick sets corresponding to each starting point.
[0070] As mentioned above, in the attached Figure 4 In step S403 of the flowchart shown, multiple evaluation indicators for evaluating the brick set may be determined, and the values of each evaluation indicator of each brick set may be calculated. According to an embodiment of the present invention, the multiple evaluation indicators may include regularity, floor tile loss rate, and construction operability.
[0071] The above-mentioned regularity indicators may specifically include one or more of the following indicators: the number of whole bricks, the number of whole bricks of the wall and floor tiles where the entrance door is located, the sum of the whole brick degrees of the wall and floor tiles where the entrance door is located, the number of whole bricks of the wall and floor tiles near the entrance door, the sum of the whole brick degrees of the wall and floor tiles near the entrance door, and the sum of the whole brick degrees of floor tiles.
[0072] Among them, the whole brick number index refers to the number of whole bricks in the brick set, and the larger the index, the better.
[0073] The whole brick number index of the wall and floor tiles where the entrance door is located refers to the number of whole bricks among all the floor tiles whose distance from the wall where the entrance door is located is less than a threshold (corresponding to the brick seam value, such as 2 mm). The larger the index, the better.
[0074] The whole brick degree and index of the wall and floor tiles where the entrance door is located refers to the sum of the whole brick degrees of all bricks in the brick set whose distance from the wall where the entrance door is located is less than a threshold (corresponding to the brick seam value, for example, 2 mm). The larger the index, the better. The calculation method of the whole brick degree will be described in detail below.
[0075] The whole brick number index of the wall near the entrance door refers to the number of whole bricks among all the floor tiles whose distance from the wall near the entrance door is less than a threshold (corresponding to the brick seam value, for example, 2mm). The larger the index, the better. The wall near the entrance door refers to the wall with the smallest distance from the entrance door among all the walls in the room except the wall near the entrance door.
[0076] The wholeness index of the wall and floor tiles near the entrance door refers to the sum of the wholeness of all bricks in the brick set whose distance from the wall near the entrance door is less than a threshold (corresponding to the brick joint value, such as 2mm). The larger the index, the better.
[0077] The floor tile wholeness index refers to the sum of the wholeness of all bricks in a brick set. The larger the index, the better.
[0078] The wholeness of each brick in the brick set can be calculated in the following way. First, based on the geometric shape obtained at the intersection of the floor tile and the boundary of the room floor paving space, determine whether it is a whole brick or a broken brick. Then calculate its wholeness. The method for judging whether it is a whole brick is: if the floor tile geometry has four vertices, and the length, width and area values S of the geometry all exceed the whole brick set threshold, the geometry is judged to be a whole brick, otherwise it is a broken brick. The calculation method of the wholeness B(r) of the floor tile is:
[0079]
[0080] in, S represents the actual area of the geometric shape of the floor tile, S0 represents the area of the whole tile, r∈(0,1]; the larger the r value, the larger the area of the floor tile, and the closer the whole tile degree is to 1, and vice versa, the closer it is to 0. The specific mapping diagram is shown in the attached figure. Fig.10 .
[0081] The calculation formula for the above floor tile loss rate is:
[0082] Floor tile loss rate = number of tiles × total tile area / room area – 1
[0083] The calculated number of floor tiles is the number of whole tiles actually purchased to complete the floor paving, calculated by the first fit descend method; the smaller this indicator is, the better.
[0084] The above construction operability index may specifically include one or more of the following indexes: minimum value of the narrow side of rectangular residual bricks, value of non-rectangular bricks at positive corners. The minimum value of the narrow side of rectangular residual bricks is the minimum value of the short sides of all residual bricks in the brick set, and the smaller the index, the better.
[0085] The calculation formula for the non-rectangular brick value of the positive corner is:
[0086]
[0087] Among them, all the positive corners are sorted in ascending order according to the distance from the entrance door, and the serial number i of each positive corner is obtained, n is the number of positive corners in the room, w i is the weight of the ith sun angle, w i =1 / 10 i , m i is the number of non-rectangular bricks at the i-th positive corner.
[0088] Finally, based on the calculated scores of multiple evaluation index values of the brick sets corresponding to all the starting points of the room and combined with the user's preference for each evaluation index, the optimal starting point of the room is calculated, that is, the brick set corresponding to the optimal starting point is the optimized continuous straight laying plan for floor tiles in the room.
[0089] Attached Fig.11 Shown is the attached Figure 4 A specific flow chart of an exemplary embodiment of obtaining the optimal starting point by using the priority method in step S404 of the flowchart shown. First, the priority of each evaluation index can be set according to the needs of the user in step S1101. For example, the priority of each of the above indicators can be set as follows: number of whole bricks> total degree of whole bricks of floor tiles> floor tile loss rate> number of whole bricks of the wall and floor tiles where the entrance door is located> total degree of whole bricks of the wall and floor tiles where the entrance door is located> number of whole bricks of the wall and floor tiles near the entrance door> total degree of whole bricks of the wall and floor tiles near the entrance door> minimum value of the narrow edge of rectangular broken bricks> value of non-rectangular bricks at the positive corner. Then, in step S1102, each evaluation index is traversed from high to low according to the priority, and the whole brick number index value in all brick sets is calculated first, and the candidate brick set with the highest corresponding whole brick number index value is filtered out. For example, the candidate brick set includes 15 highest value brick sets with equal whole brick number index values. In step S1103, based on the 15 candidate brick sets obtained in step S1102, the second priority index value, i.e., the index value of the sum of the whole bricks of the floor tiles, is calculated, and the brick sets with the highest first and second priority index values are further filtered and selected, for example, 10 candidate brick sets. In the optional step S1104, each evaluation index is continued to be traversed from high to low in sequence until only one brick set is left in the candidate brick sets filtered and selected in step S1105, and the candidate starting point corresponding to the brick set is used as the optimal starting point in step S1107. If step S1104 is repeated until more than one, for example, three brick sets exist after all evaluation index values are traversed, that is, all evaluation index values of these three brick sets are the highest and the same, then a brick set is randomly selected from the three candidate brick sets finally filtered and selected in step S1106, and the candidate starting point corresponding to the brick set is used as the optimal starting point in step S1107.
[0090] Attached Fig.12 Shown is the attached Figure 4 The specific flow chart of the exemplary embodiment of the optional use of the weight method to obtain the optimal starting point in step S404 in the flowchart shown. In step S1201, the weight value of each evaluation index is set according to the user's needs. For example, the weights of the above-mentioned evaluation indexes can be set as follows: 20% of the number of whole bricks, 15% of the loss rate of floor tiles, 15% of the total degree of floor tiles, 12% of the number of whole bricks of the wall and floor tiles where the entrance door is located, 11% of the total degree of the wall and floor tiles where the entrance door is located, 10% of the number of whole bricks of the wall and floor tiles near the entrance door, 9% of the total degree of the wall and floor tiles near the entrance door, 5% of the minimum value of the narrow edge of the rectangular residual brick, and 3% of the non-rectangular brick value of the positive corner. Then, in step S1202, according to the weight value of each evaluation index and the calculated value of each evaluation index, the score of the brick set corresponding to each candidate starting point is calculated. Finally, in step S1203, the candidate starting point corresponding to the brick set with the highest score is used as the optimal starting point.
[0091] Based on the same inventive concept, Fig.13The structure diagram of a device 1300 for generating a continuous straight paving scheme for floor tiles in a room according to a specific embodiment of the present invention is shown. As shown in the figure, the device 1300 for generating a continuous straight paving scheme for floor tiles in a room of the present invention comprises: a candidate starting point set generation module 1301, which determines the line segment corresponding to each wall surface of the room, generates a number of candidate starting points from each of the line segments, and collects all candidate starting points to form a candidate starting point set; a brick set generation module 1302, which traverses the candidate starting point set and generates a number of brick sets corresponding to each candidate starting point; an evaluation index value calculation module 1303, which determines a plurality of evaluation indexes for evaluating the brick set and calculates the value of each evaluation index of each brick set; an optimal starting point generation module 1304, which generates the optimal starting point of the room according to the calculated evaluation index values of each brick set, combined with the priority or weight of each evaluation index; and a scheme creation module 1305, which generates a continuous straight paving scheme for floor tiles in the room from the optimal starting point.
[0092] According to a specific embodiment of the present invention, the various modules included in the above-mentioned room floor tile continuous straight paving plan generation device 1300 can implement all the steps of the room floor tile continuous straight paving plan generation method described in this specification, including but not limited to the above-mentioned combination of the attached Figure 4 , 11 and all the steps described in 12.
[0093] Understandably, Fig.13 The structure shown is for illustration only, and the device may also include Fig.13 More or fewer modules or components shown in, or with Fig.13 Different configurations are shown.
[0094] It should be noted that the method for generating a continuous straight-laying plan for floor tiles in a room determined in the above-mentioned embodiment can be applied to any room in any apartment type, and a continuous straight-laying plan for floor tiles optimized based on multiple factors such as the regularity of whole tiles, economy and construction operability can be obtained. The final laid floor tiles have high whole tile degree, simple construction and low cost, which meets user needs and improves user experience.
[0095] In addition, the present invention also provides a computer device. According to a specific embodiment of the present invention, the computer device may include a memory, a processor, and a computer program stored in the memory and run on the processor. When the processor executes the program, the steps of the method for generating a continuous straight laying plan for room floor tiles described in this specification can be implemented.
[0096] In addition, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by the device, the device can execute the steps of the method for generating a continuous straight laying plan for room floor tiles described in this specification.
[0097] In addition, the present invention also provides a computer program product, including computer instructions, which, when executed by a processor, can implement the steps of the method for generating a continuous straight laying plan for room floor tiles described in this specification.
[0098] In particular, the embodiment process described above with reference to the flowcharts in the accompanying drawings can be implemented as a computer software program. For example, the embodiment disclosed in the specification of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, the computer program containing program codes for executing the methods shown in the flowcharts in the accompanying drawings, and when the computer program is executed by a processor, the method for generating a continuous straight laying scheme of room floor tiles of the present invention is executed.
[0099] It should be noted that the computer-readable medium described in the specification of this application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: a computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0100] In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device, or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, device, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0101] Computer program code for performing the operations of the present invention may be written in one or more programming languages or combinations thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0102] The flow chart and block diagram in the accompanying drawings exemplarily illustrate the possible architecture, function and operation of the system, method and computer program product according to each embodiment of the present invention. Each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should be noted that in some alternative embodiments, the functions marked in the box can also occur in a different order from that shown in the accompanying drawings. For example, two boxes represented in sequence can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flow chart, and the combination of the boxes in the block diagram and / or the flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0103] The units or modules involved in the embodiments of the present invention may be implemented by software or hardware. The above units or modules may also be set in a processor, for example, may be described as: a processor including a candidate starting point generation module, a brick set generation module, an evaluation index value calculation module, an optimal starting point generation module, and a scheme creation module. The names of these units or modules do not, in some cases, constitute limitations on the units or modules themselves.
[0104] All documents mentioned in this specification are cited as references in this application specification, just as if each document was fully cited as references in this specification.
[0105] In addition, it should be understood that after reading the above description of the present invention, those skilled in the art may make various changes or modifications to the present invention, and these equivalent forms also fall within the protection scope of the present invention.
Claims
1. A method for generating a continuous straight laying plan for room floor tiles, characterized in that: The following steps are involved: (1) determining a line segment corresponding to at least one wall in the room, generating a candidate paving starting point from the line segment, and combining all the candidate paving starting points to form a candidate paving starting point set; (2) traversing the candidate paving starting point set to generate a brick set corresponding to each of the candidate paving starting points; (3) determining a plurality of evaluation indicators for evaluating the brick set, and calculating the value of each evaluation indicator of each brick set; (4) Based on the calculated evaluation index values of each brick set and the comprehensive index of each evaluation index, the optimal starting point for laying bricks in the room is generated; (5) creating a continuous straight paving plan for room floor tiles based on the optimal starting point; The candidate starting point of the laying process in step (1) is generated by calculating the starting point, midpoint and end point of the line segment corresponding to the at least one wall surface, and based on the starting point, midpoint and end point, respectively, stepping a set value in a direction perpendicular to the line segment corresponding to the at least one wall surface and pointing into the room, to obtain the candidate starting point of the line segment corresponding to the at least one wall surface; Furthermore, the multiple evaluation indicators in step (3) include regularity index, floor tile loss rate and construction operability index, wherein: The regularity index includes one or more of the number of whole bricks, the number of whole bricks of the wall and floor tiles where the entrance door is located, the sum of the whole bricks of the wall and floor tiles where the entrance door is located, the number of whole bricks of the wall and floor tiles near the entrance door, the sum of the whole bricks of the wall and floor tiles near the entrance door, and the sum of the whole bricks of the floor tiles. The calculation formula of the whole brick degree is: in, S represents the actual area value of the geometric shape of the laid floor tiles, and S0 represents the area value of the whole tile; The calculation formula of the floor tile loss rate is: Floor tile loss rate = number of tiles × total tile area / room area – 1 The number of calculated floor tiles is the number of whole tiles actually purchased to complete the room floor tiling; The construction operability index includes the minimum narrow side value of the rectangular residual brick and the value of the non-rectangular brick at the positive corner. The calculation formula of the non-rectangular brick value at the positive corner is: Among them, all the positive corners are sorted in ascending order according to the distance from the entrance door, and the serial number i of each positive corner is obtained, n is the number of positive corners in the room, w i is the weight of the ith sun angle, w i =1 / 10 i , m i is the number of non-rectangular bricks at the i-th positive corner.
2. The method for generating a continuous straight paving scheme for room floor tiles according to claim 1, characterized in that: When the room includes a 270° positive angle formed by the first wall and the second wall, the candidate starting point set of the line segments corresponding to the first wall and the second wall is generated in the following manner: Determine candidate paving starting points on the straight line where the line segment corresponding to the first wall is located, wherein the distances between the candidate paving starting points and the line segments corresponding to the walls in the room and parallel to the second wall are equal to integer multiples of the length of the brick length plus the length of the brick joint or the length of the brick width plus the length of the brick joint, and gather all the candidate paving starting points to form a candidate paving starting point set for the line segment corresponding to the first wall; Determine candidate starting points on the straight line where the corresponding line segment of the second wall is located, and the distances between the candidate starting points and the corresponding line segments of the wall in the room parallel to the first wall are equal to an integer multiple of the length of the brick length plus the brick joint or the length of the brick width plus the brick joint. Collect all the candidate starting points to form a candidate starting point set for the corresponding line segment of the second wall.
3. The method for generating a continuous straight paving scheme for room floor tiles according to claim 1, characterized in that: The brick set in step (2) is generated in the following way: Starting from the candidate starting point, step by the length of the brick plus the length of the brick joint or the width of the brick plus the length of the brick joint in a straight paving manner, and continue stepping in this way until reaching the boundary of the paving space on the floor of the room; The whole brick rectangular shape and the broken brick geometric shape generated in the stepping process together constitute the brick set corresponding to the candidate starting point.
4. The method for generating a continuous straight laying plan for room floor tiles according to claim 3, characterized in that: In the step (4): The optimal starting point is generated by combining the priority of each evaluation index in the following manner: the evaluation index values of each brick set are sorted one by one according to the order of priority of each evaluation index from high to low, and the brick set with the highest evaluation index value is filtered and screened to form a candidate brick set, and the candidate brick set obtained by filtering and screening the previous evaluation index is used as the object of filtering and screening the next evaluation index, and the above filtering and screening operations are repeated until the candidate brick set contains only one brick set, and the candidate starting point corresponding to the brick set is used as the optimal starting point; if the candidate brick set finally obtained after filtering and screening according to each evaluation index contains more than one brick set, the candidate starting point corresponding to one of the brick sets is randomly selected as the optimal starting point; or The optimal starting point is generated by combining the weights of each evaluation index in the following way: the score of each brick set is calculated according to the weight value of each evaluation index and the calculated value of each evaluation index, and the candidate starting point corresponding to the brick set with the highest score is taken as the optimal starting point.
5. A method for generating a continuous straight laying plan for floor tiles in a multi-room house, characterized in that: The following steps are involved: The entrance door of each room is determined in the following way: mark the entrance door of the house as the first-level door, mark the room entered by the entrance door as the first-level room, traverse all unmarked doors leading to other adjacent rooms in the k-th level room and mark them as the k+1-th level doors, mark all unmarked rooms entered by the k+1-th level door as the k+1-th level rooms, and repeat the above traversal operation until there is no unmarked door leading to other adjacent rooms in the room entered by the k+1-th level door, where k is a positive integer; take the highest-level door in each room as the entrance door of the room; Execute the method for generating a continuous straight laying plan for floor tiles in a room as described in claim 1 or 4, and generate a continuous straight laying plan for floor tiles for each room.
6. A device for generating a continuous straight laying plan for floor tiles in a room, characterized in that: include: A candidate paving starting point set generating module is configured to determine a line segment corresponding to at least one wall in the room, generate a candidate paving starting point from the line segment, and gather all the candidate paving starting points into a candidate paving starting point set; A brick set generation module is configured to traverse the candidate paving starting point set and generate brick sets corresponding to the candidate paving starting points one by one; An evaluation index value calculation module, which is configured to determine a plurality of evaluation indexes for evaluating the brick set and calculate the value of each evaluation index of each brick set; An optimal starting point generation module is configured to generate an optimal starting point for the room based on the calculated evaluation index values of each brick set and the comprehensive index of each evaluation index; A plan creation module, which is configured to create a plan for continuous straight laying of room floor tiles based on the optimal starting point; The candidate paving starting point set generation module is further configured to: calculate the starting point, midpoint and end point of the line segment corresponding to at least one wall, and based on the starting point, midpoint and end point, respectively, step the set value in a direction perpendicular to the line segment corresponding to the at least one wall and pointing into the room to obtain the candidate paving starting point of the line segment corresponding to the at least one wall; In addition, the multiple evaluation indicators used by the evaluation index value calculation module include regularity, floor tile loss rate and construction operability, wherein: the regularity index includes one or more of the number of whole bricks, the number of whole bricks of the wall and floor tiles where the entrance door is located, the sum of the whole brick degree of the wall and floor tiles where the entrance door is located, the number of whole bricks of the wall and floor tiles near the entrance door, the sum of the whole brick degree of the wall and floor tiles near the entrance door, and the sum of the whole brick degree of the floor tiles, and the calculation formula of the whole brick degree is: in, S represents the actual area value of the geometric shape of the laid floor tiles, and S0 represents the area value of the whole tile; The calculation formula of the floor tile loss rate is: Floor tile loss rate = number of tiles × total tile area / room area – 1 The number of calculated floor tiles is the number of whole tiles actually purchased to complete the room floor tiling; The construction operability index includes the minimum narrow side value of the rectangular residual brick and the value of the non-rectangular brick at the positive corner. The calculation formula of the non-rectangular brick value at the positive corner is: Among them, all the positive corners are sorted in ascending order according to the distance from the entrance door, and the serial number i of each positive corner is obtained, n is the number of positive corners in the room, w i is the weight of the ith sun angle, w i =1 / 10 i , m i is the number of non-rectangular bricks at the i-th positive corner.
7. A computer device comprising: processor; Storage device; as well as A computer program stored on the storage device and executable on the processor, characterized in that when the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 or 5 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 or 5 are implemented.
Citation Information
Patent Citations
Method and device for laying floor slabs
AT516117A1
Floor tile fast composing system and method based on BIM technology
CN107292065A
