Paving template generation method, paving scheme design method and related devices

By generating laying templates, the problem of low efficiency and accuracy of traditional ceramic tile laying design is solved, and the rapid and automated laying design is achieved, which improves design efficiency and flexibility.

CN119538352APending Publication Date: 2025-02-28MEIPING MEIWU (SHANGHAI) TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311097377.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-28
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

Traditional ceramic tile laying design requires designers to have certain experience and skills, which consumes a lot of time and is prone to errors, resulting in low design efficiency and accuracy.

Method used

By analyzing the target laying method, determine the laying unit and laying direction, create status information describing the position and size of the laying block, and associate it with the laying unit to generate a laying template.

Benefits of technology

It realizes fast and automated laying design, reduces design time, improves design efficiency and accuracy, and enhances design flexibility and universality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119538352A_ABST
    Figure CN119538352A_ABST
Patent Text Reader

Abstract

One or more embodiments of the present specification disclose a paving template generation method, a paving scheme design method and a related device, the method comprising: determining a paving unit and a paving direction by analyzing a paving mode, and creating state information for describing position and / or size parameters of a paving block, generating a corresponding paving template according to the association; therefore, various paving templates can be created according to different paving modes, and then, after the paving area is determined, the paving design scheme can be directly, automatically and quickly generated in the paving area based on the selected paving template, so that the paving design efficiency is improved. And in addition, corresponding parameters in the paving template can be flexibly adjusted according to requirements, so that the design flexibility and universality are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This document relates to the field of home decoration design technology, and in particular to a paving template generation method, a paving scheme design method and related devices. Background Art

[0002] Traditional tile paving plans are usually completed through manual design and adjustment. Designers need to manually set and adjust the position, direction, size, color and other properties of each tile in the tile paving area to obtain the final paving effect.

[0003] However, this design method requires designers to have certain experience and skills, and takes a lot of time and effort, and is prone to errors and inconsistencies. Therefore, its applicability and efficiency in practical applications are relatively limited. Summary of the invention

[0004] The purpose of one or more embodiments of this specification is to provide a paving template generation method, a paving scheme design method and related devices, so as to extract and generate paving templates through any periodic paving method, so as to facilitate paving design, which is convenient and quick, and improves the efficiency of paving scheme design.

[0005] To solve the above technical problems, one or more embodiments of this specification are implemented as follows:

[0006] In the first aspect, a paving template generation method is proposed, comprising:

[0007] Analyze the paving method of the target paving method and determine the paving unit and paving direction;

[0008] Based on the paving blocks and paving block sizes included in the paving unit, create state information for describing the position and / or size parameters of the paving blocks;

[0009] The state information and the paving direction are associated with the paving unit to generate a paving template for the target paving method.

[0010] Secondly, a paving scheme design method is proposed, including:

[0011] Determine a target paving area and a paving template, wherein the paving template is obtained by the paving template generation method described in the first aspect;

[0012] Calculating a paving position of a paving unit in an actual paving area based on a paving template, wherein the actual paving area is larger than and covers the target paving area;

[0013] Placing the paving template at the paving position of the actual paving area to perform paving design;

[0014] Cut the actual paving area after the paving design is completed to obtain the target paving area after the paving design is completed;

[0015] The target paving area for which the paving design is completed is subjected to image rendering of paving blocks to obtain a paving plan for the target paving area.

[0016] In a third aspect, a paving template generation device is proposed, comprising:

[0017] A determination module is used to analyze the paving method of the target paving method and determine the paving unit and paving direction;

[0018] A creation module, used for creating state information describing the position and / or size parameters of the paving blocks based on the paving blocks and paving block sizes included in the paving unit;

[0019] A generation module is used to associate the state information and the paving direction with the paving unit to generate a paving template for the target paving method.

[0020] In the fourth aspect, a paving scheme design device is proposed, comprising:

[0021] A determination module, used to determine a target paving area and a paving template, wherein the paving template is obtained by the paving template generation method described in the first aspect;

[0022] A calculation module, used for calculating the paving position of the paving unit in the actual paving area based on the paving template, wherein the actual paving area is larger than and covers the target paving area;

[0023] A design module, used for placing the paving template at the paving position of the actual paving area to perform paving design;

[0024] A cutting module is used to cut the actual paving area after the paving design is completed to obtain the target paving area after the paving design is completed;

[0025] The rendering module is used to render the image of the paving blocks for the target paving area after the paving design is completed, so as to obtain the paving plan for the target paving area.

[0026] In a fifth aspect, an electronic device is provided, comprising:

[0027] Processor; and

[0028] A memory arranged to store computer executable instructions, wherein when the executable instructions are executed, the processor executes the paving template generation method described in the first aspect or the paving scheme design method described in the second aspect.

[0029] In the sixth aspect, a computer-readable storage medium is proposed, which stores one or more programs. When the one or more programs are executed by an electronic device including multiple application programs, the electronic device executes the paving template generation method described in the first aspect or the paving scheme design method described in the second aspect.

[0030] It can be seen from the technical solutions provided by one or more embodiments of the above specification that for paving units with different paving methods, the corresponding state information and paving direction are extracted. If a paving unit has multiple paving blocks, the gaps between adjacent paving blocks in the paving unit can also be extracted, and these state information, paving directions and gaps between paving blocks are associated with the paving unit, so as to generate corresponding paving templates for any periodic paving method. In this way, when the paving design is performed later, there is no need to temporarily design the paving unit, and the required paving template can be directly selected from the paving template library for paving. Furthermore, by using the paving template in the template library, the actual paving area corresponding to the target paving area is designed for paving, and the actual paving area is cropped based on the target paving area. After that, the paving blocks of the target paving area are image rendered to obtain the paving scheme of the paving template in the target paving area. Thus, the required paving scheme can be automatically and quickly designed and generated, which is convenient and fast, and improves the efficiency of paving scheme design. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate one or more embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the description of one or more embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0032] Figure 1 It is a schematic diagram of the steps of a paving template generation method provided in an embodiment of this specification.

[0033] Figure 2a It is a schematic diagram of a common weaving laying method provided in the embodiment of this specification.

[0034] Figure 2b It is a schematic diagram of the smallest paving unit extracted from the weaving paving method provided in the embodiment of this specification.

[0035] Figure 3 It is a schematic diagram of an exemplary paving unit provided in one embodiment of the present specification.

[0036] Figure 4 It is a schematic diagram of a paving direction in a paving unit provided in an embodiment of the present specification.

[0037] Figure 5 It is a schematic diagram of the steps of a paving scheme design method provided by an embodiment of this specification.

[0038] Figure 6 It is a schematic diagram of a target paving area and a paving template provided in one embodiment of this specification.

[0039] Figure 7 It is a schematic diagram of paving points determined in a paving area provided by an embodiment of the present specification.

[0040] Figure 8 It is a schematic diagram of paving a paving template according to paving points in a paving area provided by an embodiment of the present specification.

[0041] Fig. 9 It is a schematic diagram of the paving effect of the target paving area obtained after cutting provided by an embodiment of the present specification.

[0042] Fig.10 This is a paving solution after image rendering provided by an embodiment of this specification.

[0043] Fig.11 It is a schematic diagram of the paving design generation process in the embodiment of this specification.

[0044] Fig.12 It is a structural schematic diagram of a paving template generating device provided in an embodiment of this specification.

[0045] Fig.13 It is a structural schematic diagram of a paving scheme design device provided in an embodiment of this specification.

[0046] Fig.14a and 14b They are respectively structural schematic diagrams of electronic devices provided by an embodiment of this specification. DETAILED DESCRIPTION

[0047] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in one or more embodiments of this specification will be clearly and completely described below in conjunction with the drawings in one or more embodiments of this specification. Obviously, the one or more embodiments described are only part of the embodiments of this specification, not all of the embodiments. Based on one or more embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this document.

[0048] With the continuous development of home decoration, the demand for some fine designs in home decoration design has also emerged. Among them, tile paving design is a relatively common fine design demand. For customers, this type of design is particularly challenging for the designer's artistic attainments and actuarial level. Considering that the current tile paving design is still manually designed and adjusted, the design efficiency and paving accuracy are poor.

[0049] To this end, the embodiments of this specification propose a new paving solution, which is not only for ceramic tiles, but also for other decorative panels that can be laid on the ground or walls. The material of the decorative panel is not limited, and it can be wooden material, rock material, stone material, plastic material, metal material, etc. It can also be a spliced ​​combination or composite material of any of the above materials, and this specification does not limit this.

[0050] The main inventive concept of the embodiments of this specification is to determine the paving unit and paving direction by analyzing the paving method, and to create state information for describing the position and / or size parameters of the paving blocks, so as to associate these to generate corresponding paving templates; in this way, a variety of paving templates can be created according to different paving methods, and then, after determining the paving area, the paving design scheme can be automatically and quickly generated directly in the paving area based on the selected paving template, thereby improving the efficiency of paving design. Moreover, the corresponding parameters in the paving template can be flexibly adjusted according to needs, thereby improving design flexibility and universality.

[0051] Embodiment 1

[0052] Reference Figure 1 The figure is a schematic diagram of the steps of a paving template generation method provided in an embodiment of the present specification. It should be understood that the execution subject of the paving template generation method may be a paving template generation device, and the paving template generation device may be a hardware device or a software module, such as a computer, a mobile phone, etc., or a design software or a design module integrated in the above hardware device. The paving template generation method may include the following steps:

[0053] Step 102: Analyze the paving method of the target paving method to determine the paving unit and paving direction.

[0054] The paving method refers to the way, method or rule of laying ceramic tiles. Different paving methods can produce different effects and styles. In actual application scenarios, there are many paving methods, such as woven paving, square paving, rectangular paving, diamond paving, herringbone paving, etc. The paving method here can be an identifier of a specific paving method to distinguish different paving methods. After selecting the target paving method, the paving analysis can be performed according to the specific paving method corresponding to the target paving method, and the periodically arranged paving units can be extracted from them, and the paving direction of the paving unit can be determined. In fact, the paving unit can be a periodically arranged repeatable unit that appears in the target paving method. The repeatable unit contains at least one paving block. In this manual, different paving methods can be analyzed to determine the smallest paving unit. The smallest paving unit refers to the smallest repeatable unit in the entire paving area. By repeatedly combining multiple minimum paving units, the paving of the entire paving area can be achieved. Reference Figure 2a The following is a common diagram of weaving laying method. Figure 2b Shown is a schematic diagram of the minimum paving unit extracted from the weaving paving method.

[0055] A feasible solution is to analyze the paving method of the target paving method, determine the paving units and paving direction, and specifically analyze the paving method of the target paving method to extract the paving units that can be used for repeated paving; based on the paving position and layout of the paving units in the target paving method, determine the paving direction. The paving units that can be used for repeated paving extracted here can be regarded as the smallest paving units that can be repeated. Figure 2a As shown, the paving position and layout of the paving units determined at this time in the target paving method can be analyzed, referring to Figure 4 As shown in , four additional points are introduced to form two non-collinear and non-parallel vectors to define the paving direction. These two vectors and their negative directions can determine four paving directions. Figure 4 The direction indicated by the arrow is the paving direction. It should be understood that the paving direction in the figure is determined by the paving method and the determined paving unit. When the paving method and / or the determined paving unit change, the paving direction also changes accordingly. By defining different paving directions, different paving methods can be implemented for the same paving unit, such as I-shaped paving, herringbone paving, etc.

[0056] Step 104: Based on the paving blocks and paving block sizes included in the paving unit, create state information for describing the position and / or size parameters of the paving blocks.

[0057] Optionally, when creating status information for describing the position and / or size parameters of the tiling blocks based on the tiling blocks and the tiling block sizes included in the tiling unit, the position and size of the tiling blocks can be determined based on the tiling blocks included in the tiling unit; and based on the position and size of the tiling blocks, status information at least for describing the position parameters and / or size parameters of the tiling blocks can be created.

[0058] In specific implementation, the location information of the paving blocks contained in the paving unit can be defined according to the coordinate space where the paving unit is located, for example, the location coordinates of the paving blocks; further, the size information of the paving blocks can be determined according to the location coordinates, for example, the length, width, height and other size ranges of the paving blocks. After defining the position and size of the paving blocks, the status information of the paving blocks can be created according to these position information and size information. In fact, the status information is the position information and size information used to describe the position parameters and / or size parameters of the paving blocks. Among them, the status information can be created in units of paving blocks, and each paving block is created with position information and size information.

[0059] Optionally, after creating status information at least for describing the position parameters and / or size parameters of the paving block based on the position and size of the paving block, some parameters can be selected from the status information based on template design requirements and set as dynamically adjustable variable parameters.

[0060] Generally speaking, the position of the paving blocks in the paving unit is defined. In order to ensure that the user can flexibly adjust the size of different paving blocks during use, some parameters can be selected from the status information as variable parameters. The selected variable parameters can be one or more size parameters of the length, width, height and height of the paving blocks, so as to flexibly adjust the size parameters of the paving blocks in the paving template based on the user's needs for template design. In addition, the status information can also include parameter information such as the material and pattern of the paving blocks, and these parameter information can be set as variable parameters, so that the material and / or pattern parameters can be flexibly adjusted according to the needs of the design user during use.

[0061] If the number of paving blocks included in the paving unit is greater than 1, after creating status information for describing the position and / or size parameters of the paving blocks based on the paving blocks and the size of the paving blocks included in the paving unit, the status information and the paving direction are associated with the paving unit. Before generating a paving template for the target paving method, the state constraint relationship between the paving blocks can also be determined based on the position, size and gaps between the paving blocks.

[0062] Since the number of paving blocks contained in a paving unit is unlimited, and according to different paving methods, even the same paving blocks (the same number and type) may be designed and defined as different paving units, thereby generating different paving templates.

[0063] When a paving unit contains multiple paving blocks, there will be a certain gap between the paving blocks, so a gap parameter can be added to the state parameter to measure the spacing between the paving blocks. At the same time, the state constraint relationship between adjacent paving blocks can also be determined based on the position and size of the paving blocks and the gap between adjacent paving blocks.

[0064] Reference Figure 3 The figure shows a schematic diagram of an exemplary paving unit, in which four paving blocks are included, including two identical large paving blocks (the large paving blocks are rectangular) and two identical small paving blocks (the small paving blocks are square). The state information in the paving unit includes: the position coordinates of the two large paving blocks and the two small paving blocks, wherein the horizontal coordinates of the four paving blocks are (state x1, state x2, state x3, state x4), and the vertical coordinates of the four paving blocks are (state y1, state y2, state y3, state y4); the width of the large paving block is state w1, the height of the large paving block is state h1, the width of the small paving block is state w2, and the height of the small paving block is state h2; the gap width between adjacent paving blocks is state s.

[0065] In the paving unit, some parameters in the status information of the paving unit can be defined as adjustable parameters. For example, the width and height of each paving block and the width of the gap between adjacent paving blocks can be defined as variable parameters. In addition, the rotation angle of the paving block can also be set as a variable parameter. In this way, the paving pattern can be flexibly adjusted according to user needs.

[0066] For another example, a constraint can be defined to describe the computational relationship between the state information of each paving block in a paving unit. Except for some values ​​in the state information that depend on external input, the rest of the state information should be able to be calculated through the constraint relationship. Among them, the size of each paving block and the width of the block seam can all be described by the constraint relationship to describe the influence relationship between each paving block (size, gap). Figure 3For example, for the size of the tile, the constraints can be: state h1 = state h2; state w1 = statew2*2 + state h1. For the contour points of the tile, the constraints are (partially listed here): state x1 = state s; state x2 = state s + state w1; state y1 = states s; state y2 = state s + state w1.

[0067] It should be understood that the constraint relationship between the state information can be solved by one or more known parameters to solve other related parameters. Specifically, the unknown parameters can be solved automatically one by one through code, or one by one through manual methods. This implementation method is not limited in this specification.

[0068] Step 106: Associating the state information and the paving direction with the paving unit, and generating a paving template for the target paving method.

[0069] In the embodiment of the present specification, if the paving unit has a paving block, then after determining the state information of the paving block and the paving direction and other information, the state information and paving direction of the paving block can be associated with the paving unit to generate a paving template for the target paving method, and at the same time, a corresponding paving template identifier can be generated for the paving template. For example, paving template 1: includes paving block A, state information AS of paving block A, and paving direction AD of the paving block.

[0070] If there is more than one paving block in a paving unit, then after determining the status information and paving directions of multiple paving blocks, as well as the status constraint relationship, the status information, status constraint relationship and paving directions of these paving blocks can be associated with the paving unit to generate a paving template for the target paving method, and at the same time, a corresponding paving template identifier is generated for the paving template. For example, paving template 2: contains paving block A and paving block B, status information AS of paving block A, paving direction AD of paving block; status information BS of paving block B, paving direction BD of paving block.

[0071] Thus, the above scheme can be used to extract the corresponding state information and paving direction for the paving units of different paving methods. If there are multiple paving blocks in a paving unit, the gaps between adjacent paving blocks in the paving unit can also be extracted, and these state information, paving directions and gaps between paving blocks can be associated with the paving unit, so as to generate corresponding paving templates for any periodic paving method. In this way, when the paving design is carried out later, there is no need to temporarily design the paving unit, and the required paving template can be directly selected from the paving template library for paving. For example, directly in a paving area of ​​any shape, a paving scheme is automatically and quickly generated using the selected paving template. Moreover, variable parameters are set in the paving template, and the size, rotation angle, gap, material, etc. of the paving block can be adjusted in real time by changing the parameter values ​​passed into the paving template according to the needs of the design user, thereby significantly improving the efficiency and flexibility of the paving design.

[0072] Reference Figure 5 The figure is a schematic diagram of the steps of a paving scheme design method provided by an embodiment of the present specification. The execution subject of the paving scheme design method may be a paving scheme design device, and the paving scheme design device may be a hardware device or a software module, such as a computer, a mobile phone, etc., or a design software or a design module integrated in the above hardware device. The paving scheme design method may include the following steps:

[0073] Step 502: Determine the target paving area and paving template.

[0074] The paving area refers to the area where the paving template is needed for paving when the paving design is performed. The paving area can be an area with any shape (including irregular or with holes), for example, a triangle, square, circle or irregular shape.

[0075] The paving template can be selected according to the needs of the design user, or it can be selected according to the paving template recommended by the big data model based on the paving area in the design platform.

[0076] Step 504: Calculate the paving position of the paving unit in the actual paving area based on the paving template, wherein the actual paving area is larger than and covers the target paving area.

[0077] Optionally, the paving position of the paving unit in the actual paving area is calculated based on the paving template, and can be expanded to all sides according to the boundary of the target paving area to obtain an actual paving area that is larger than and covers the target paving area.

[0078] Reference Figure 6The figure shows the target paving area and the schematic diagram of the paving template for this paving design. It should be understood that, considering that the paving template is not regular, when designing the paving, it is necessary to determine the area where the paving template is actually paved as large as possible as the actual paving area. Among them, the size of the actual paving area compared to the extension of the target paving area at least ensures that the paving template can fully pave and cover the target paving area. Therefore, the size of the extension size is not limited and can be flexibly considered according to the number of paving blocks and the size of the paving blocks. Figure 6 The paving template shown in the figure is a large horizontal paving block and a large vertical paving block, and two small paving blocks distributed on both sides of the large vertical paving block. The size of each paving block in the paving template is adjustable, the paving direction is not adjustable, and the gap between adjacent paving blocks is adjustable; in addition, the color, material, pattern and other parameters of different paving blocks are also adjustable.

[0079] It should be noted that Figure 6 The paving area and paving template are shown only as examples and do not limit the paving areas and paving templates involved in other scenarios in this application.

[0080] Optionally, refer to Figure 7 As shown, starting from any position in the actual paving area, simulation replication is performed in the actual paving area based on the paving direction determined in the paving template, and the paving point position of the paving unit in the actual paving area is calculated as the paving position. Figure 7 The rectangular area obtained by the central encirclement is the target paving area, and paving points are determined in the target paving area. At the same time, paving points are also determined in the periphery of the target paving area. Therefore, paving points are determined in the actual paving area, and each paving point can be represented by a small solid square or a dot. The paving points represent paving units, and the paving points take the center point of any paving block in the paving unit as the paving point. For example, the center point of the paving block located in the center of the paving unit is used as the paving point, or the center point of the paving unit is used as the paving unit. The paving method of the paving points can expand the interactive capabilities of a single paving block and improve the performance of the algorithm.

[0081] Step 506: placing the paving template at the paving position of the actual paving area to perform paving design.

[0082] Optionally, in the embodiment of this specification, when the paving template is placed at the paving position of the actual paving area for paving design, the paving units corresponding to the paving template can be placed in the areas corresponding to the paving points of the actual paving area for paving design, that is, the paving template can be copied or offset according to the positions of the paving points.

[0083] Reference Figure 8As shown, Figure 6 In the middle of the paving template according to Figure 7 The paving is carried out at the middle paving point, among which, Figure 7 The middle paving point is Figure 6 The upper left vertex position of the horizontal large paving block of the middle paving template. In this way, the paving template is laid out according to the vertex position, and after it is fully laid, it can be obtained Figure 8 Schematic diagram of paving design. Figure 8 Although some paving points have been determined, they have not yet been paved and used. Considering that the target paving area has been filled with paving templates, it does not affect the entire paving design.

[0084] Step 508: cutting the actual paving area after the paving design is completed to obtain the target paving area after the paving design is completed.

[0085] It should be understood that in the paving scheme obtained in step 506, the paving design result exceeds the required paving area, so the actual paving area can be cut using the target paving area input by the user (specifically, an intersection operation can be used) to obtain the final paving result. Fig. 9 shown.

[0086] Step 510: Rendering an image of paving blocks for the target paving area where the paving design is completed, to obtain a paving plan for the target paving area.

[0087] In the previous step, through tiling calculation and clipping, the tiling scheme for tiling in the target tiling area is obtained. However, at this time, only the geometric outline of the tiling block is obtained. Therefore, the third discrete library earcut can be used in this step to discretize the target tiling area and perform image rendering, such as Fig.10 As shown, finally, the paving plan result can be obtained.

[0088] By using the paving template in the template library, the actual paving area corresponding to the target paving area is designed, and the actual paving area is cropped based on the target paving area. After that, the paving blocks of the target paving area are rendered to obtain the paving scheme of the paving template in the target paving area. Thus, the required paving scheme can be automatically and quickly designed and generated, which is convenient and fast, and improves the efficiency of paving scheme design.

[0089] Reference Fig.11 FIG. 1 is a schematic diagram of the paving design generation process in the embodiment of this specification. The flow chart mainly includes the generation process of the paving template and the design process of the paving plan.

[0090] The paving template library is created through the paving template generation process. You can first analyze the paving method and extract the minimum paving unit; then define the state to describe the parameters and paving direction in the paving unit; then set the variable parameters; then define the constraints to describe the relationship between the states of the paving blocks; finally, create the paving template.

[0091] In the design process of the paving plan, first, determine the paving area and the selected paving template, then calculate the paving points in the paving area; then, place the paving template at the paving points; after that, crop the paving area; finally, render the cropped paving area and output the paving plan.

[0092] It should be noted that the user information (including but not limited to user device information, user personal information, user demand information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0093] Embodiment 2

[0094] Reference Fig.12 As shown, a paving template generation device provided in an embodiment of this specification is provided, and the device 1200 may include:

[0095] A determination module 1202 is used to analyze the paving method of the target paving method and determine the paving unit and paving direction;

[0096] A creation module 1204, configured to create state information describing the position and / or size parameters of the paving blocks based on the paving blocks and paving block sizes included in the paving unit;

[0097] The generating module 1206 is used to associate the state information and the paving direction with the paving unit, and generate a paving template for the target paving method.

[0098] Optionally, as an embodiment, when determining that the paving method of the target paving method is analyzed and the paving units and the paving direction are determined, the determination module 1202 is specifically used to: analyze the paving method of the target paving method and extract the paving units that can be used for repeated paving; determine the paving direction based on the paving position and layout of the paving units in the target paving method.

[0099] In a specific implementation of the embodiments of the present specification, when the creation module 1204 creates status information for describing the position and / or size parameters of the tiling blocks based on the tiling blocks and the tiling block sizes included in the tiling unit, it is specifically used to: determine the position and size of the tiling blocks based on the tiling blocks included in the tiling unit; and create status information at least for describing the position parameters and / or size parameters of the tiling blocks based on the position and size of the tiling blocks.

[0100] In another specific implementation of the embodiments of the present specification, after creating status information at least for describing the position parameters and / or size parameters of the paving block based on the position and size of the paving block, the creation module 1204 is also used to: select some parameters from the status information based on template design requirements and set them as dynamically adjustable variable parameters.

[0101] In another specific implementation of the embodiments of the present specification, if the number of tiling blocks included in the tiling unit is greater than 1, after the creation module 1204 creates status information for describing the position and / or size parameters of the tiling blocks based on the tiling blocks and the tiling block sizes included in the tiling unit, the generation module 1206 associates the status information and the tiling direction with the tiling unit. Before generating a tiling template for the target paving method, the creation module 1204 is also used to determine the state constraint relationship between the tiling blocks based on the position, size and gaps between the tiling blocks.

[0102] In another specific implementation of the embodiments of the present specification, when the generation module 1206 associates the state information and the paving direction with the paving unit to generate a paving template for the target paving method, it is specifically used to: associate the state information, state constraint relationship and paving direction with the paving unit to generate a paving template for the target paving method.

[0103] Reference Fig.13 As shown, a paving scheme design device provided in an embodiment of this specification is provided. The device 1300 may include:

[0104] A determination module 1302 is used to determine a target paving area and a paving template;

[0105] A calculation module 1304 is used to calculate a paving position of a paving unit in an actual paving area based on a paving template, wherein the actual paving area is larger than and covers the target paving area;

[0106] Design module 1306, used to place the paving template at the paving position of the actual paving area to perform paving design;

[0107] A cutting module 1308 is used to cut the actual paving area after the paving design is completed to obtain the target paving area after the paving design is completed;

[0108] The rendering module 1310 is used to render the image of the paving blocks for the target paving area after the paving design is completed, so as to obtain the paving plan for the target paving area.

[0109] Optionally, as an embodiment, when calculating the paving position of the paving unit in the actual paving area based on the paving template, the calculation module 1304 is specifically used to: expand in all directions according to the boundary of the target paving area to obtain an actual paving area that is larger than and covers the target paving area; take any position of the actual paving area as the starting point, perform simulated replication in the actual paving area based on the paving direction determined in the paving template, and calculate the paving point position of the paving unit in the actual paving area as the paving position.

[0110] In a specific implementation of the embodiment of the present specification, the paving point represents a paving unit, and the paving point takes the center point of any paving block in the paving unit as the paving point.

[0111] In another specific implementation of the embodiments of this specification, when the design module 1306 places the paving template at the paving position of the actual paving area for paving design, it is specifically used to: place the paving units corresponding to the paving template in the areas corresponding to the paving points of the actual paving area for paving design.

[0112] For paving units with different paving methods, the corresponding state information and paving direction are extracted. If a paving unit has multiple paving blocks, the gaps between adjacent paving blocks in the paving unit can also be extracted, and these state information, paving directions and gaps between paving blocks are associated with the paving unit, so as to generate corresponding paving templates for any periodic paving method. In this way, when the paving design is performed later, there is no need to temporarily design the paving unit, and the required paving template can be directly selected from the paving template library for paving. Then, by using the paving template in the template library, the actual paving area corresponding to the target paving area is designed for paving, and the actual paving area is cropped based on the target paving area. After that, the paving blocks of the target paving area are image rendered to obtain the paving scheme of the paving template in the target paving area. Thus, the required paving scheme can be automatically and quickly designed and generated, which is convenient and fast, and improves the efficiency of paving scheme design.

[0113] Embodiment 3

[0114] Fig.14a and Fig.14b This is a schematic diagram of the structure of an electronic device according to an embodiment of this specification. Fig.14a and Fig.14b At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. Of course, the electronic device may also include hardware required for other services.

[0115] The processor, the network interface and the memory may be interconnected via an internal bus, which may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, FIG14 only uses one bidirectional arrow, but does not mean that there is only one bus or one type of bus.

[0116] The memory is used to store the program. Specifically, the program may include a program code, and the program code includes a computer operation instruction. The memory may include a memory and a non-volatile memory, and provides instructions and data to the processor.

[0117] The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming a paving template generation device at the logical level. The processor executes the program stored in the memory and is specifically used to perform the following operations:

[0118] Analyze the paving method of the target paving method to determine the paving unit and the paving direction; based on the paving blocks and paving block sizes contained in the paving unit, create status information for describing the position and / or size parameters of the paving blocks; associate the status information and paving direction with the paving unit to generate a paving template for the target paving method.

[0119] or;

[0120] The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming a paving scheme design device at the logical level. The processor executes the program stored in the memory and is specifically used to perform the following operations:

[0121] Determine a target paving area and a paving template; calculate a paving position of a paving unit in an actual paving area based on the paving template, wherein the actual paving area is larger than and covers the target paving area; place the paving template at the paving position of the actual paving area to perform paving design; cut the actual paving area after the paving design is completed to obtain a target paving area after the paving design is completed; perform image rendering of paving blocks on the target paving area after the paving design is completed to obtain a paving plan for the target paving area.

[0122] The above is as in this manual Figure 1 and Figure 5 The method performed by the device disclosed in the illustrated embodiment can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in one or more embodiments of this specification can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in one or more embodiments of this specification can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0123] The electronic device may also perform Figure 1 and Figure 5 The method and the corresponding device are implemented in Figure 1 and Figure 5 The functions of the illustrated embodiments will not be described in detail in the embodiments of this specification.

[0124] Of course, in addition to software implementation, the electronic device of the embodiments of this specification does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc., that is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0125] Embodiment 4

[0126] The embodiment of the present specification also provides a computer-readable storage medium, which stores one or more programs, wherein the one or more programs include instructions, which, when executed by a portable electronic device including a plurality of application programs, enable the portable electronic device to execute Figure 1 and Figure 5 The method of the embodiment shown is specifically used to perform the following method:

[0127] Analyze the paving method of the target paving method to determine the paving unit and the paving direction; based on the paving blocks and paving block sizes contained in the paving unit, create status information for describing the position and / or size parameters of the paving blocks; associate the status information and paving direction with the paving unit to generate a paving template for the target paving method.

[0128] or;

[0129] Determine a target paving area and a paving template; calculate a paving position of a paving unit in an actual paving area based on the paving template, wherein the actual paving area is larger than and covers the target paving area; place the paving template at the paving position of the actual paving area to perform paving design; cut the actual paving area after the paving design is completed to obtain a target paving area after the paving design is completed; perform image rendering of paving blocks on the target paving area after the paving design is completed to obtain a paving plan for the target paving area.

[0130] In short, the above description is only a preferred embodiment of this specification and is not intended to limit the protection scope of this specification. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this specification shall be included in the protection scope of this specification.

[0131] The systems, devices, modules or units described in one or more of the above embodiments may be implemented by a computer chip or entity, or by a product having a certain function. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0132] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0133] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0134] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0135] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

Claims

1. A method for generating a paving template, comprising: Analyze the paving method of the target paving method and determine the paving unit and paving direction; Based on the paving blocks and paving block sizes included in the paving unit, create state information for describing the position and / or size parameters of the paving blocks; The state information and the paving direction are associated with the paving unit to generate a paving template for the target paving method.

2. The method for generating a paving template according to claim 1, analyzing the paving method of the target paving method, determining the paving unit and the paving direction, specifically comprises: Analyze the paving method of the target paving method and extract paving units that can be used for repeated paving; The paving direction is determined based on the paving position and layout of the paving unit in the target paving method.

3. The paving template generation method according to claim 1, creating state information for describing the position and / or size parameters of the paving blocks based on the paving blocks and paving block sizes contained in the paving unit, comprising: Based on the paving blocks included in the paving unit, determining the position and size of the paving blocks; Based on the position and size of the tile, state information is created for describing at least position parameters and / or size parameters of the tile.

4. The method for generating a paving template according to claim 3, after creating state information at least for describing position parameters and / or size parameters of the paving blocks based on the position and size of the paving blocks, the method further comprises: Based on the template design requirements, some parameters are selected from the state information and set as dynamically adjustable variable parameters.

5. The method for generating a paving template according to claim 1, if the number of paving blocks contained in the paving unit is greater than 1, then after creating state information for describing the position and / or size parameters of the paving blocks based on the paving blocks and paving block sizes contained in the paving unit, associating the state information and paving direction with the paving unit, and before generating a paving template for the target paving method, the method further comprises: Based on the positions and sizes of the paving blocks and the gaps between the paving blocks, the state constraint relationship between the paving blocks is determined.

6. The method for generating a paving template according to claim 5, wherein the state information and the paving direction are associated with the paving unit to generate a paving template for the target paving method, specifically comprising: The state information, state constraint relationship and paving direction are associated with the paving unit to generate a paving template for the target paving method.

7. A paving scheme design method, comprising: Determine a target paving area and a paving template, wherein the paving template is obtained by the paving template generation method according to any one of claims 1 to 6; Calculating a paving position of a paving unit in an actual paving area based on a paving template, wherein the actual paving area is larger than and covers the target paving area; Placing the paving template at the paving position of the actual paving area to perform paving design; Cut the actual paving area after the paving design is completed to obtain the target paving area after the paving design is completed; The target paving area for which the paving design is completed is subjected to image rendering of paving blocks to obtain a paving plan for the target paving area.

8. The paving scheme design method according to claim 7, wherein the paving position of the paving unit in the actual paving area is calculated based on the paving template, and specifically comprises: According to the boundary of the target paving area, expand it in all directions to obtain an actual paving area that is larger than and covers the target paving area; Taking any position of the actual paving area as the starting point, simulated replication is performed in the actual paving area based on the paving direction determined in the paving template, and the paving point position of the paving unit in the actual paving area is calculated as the paving position.

9. The paving scheme design method according to claim 7 or 8, wherein the paving point represents a paving unit, and the paving point is the center point of any paving block in the paving unit.

10. The paving scheme design method according to claim 9, wherein the paving template is placed at a paving position in an actual paving area to perform paving design, specifically comprising: The paving units corresponding to the paving template are placed in the areas corresponding to the paving points in the actual paving area to carry out paving design.

11. A paving template generating device, comprising: A determination module is used to analyze the paving method of the target paving method and determine the paving unit and paving direction; A creation module, used for creating state information describing the position and / or size parameters of the paving blocks based on the paving blocks and paving block sizes included in the paving unit; A generation module is used to associate the state information and the paving direction with the paving unit to generate a paving template for the target paving method.

12. A paving scheme design device, comprising: A determination module, used to determine a target paving area and a paving template, wherein the paving template is obtained by the paving template generation method according to any one of claims 1 to 6; A calculation module, used for calculating the paving position of the paving unit in the actual paving area based on the paving template, wherein the actual paving area is larger than and covers the target paving area; A design module, used for placing the paving template at the paving position of the actual paving area to perform paving design; A cutting module is used to cut the actual paving area after the paving design is completed to obtain the target paving area after the paving design is completed; The rendering module is used to render the image of the paving blocks for the target paving area after the paving design is completed, so as to obtain the paving plan for the target paving area.

13. An electronic device comprising: processor; as well as A memory arranged to store computer executable instructions, which, when executed, causes the processor to execute the paving template generation method described in any one of claims 1 to 6 or the paving scheme design method described in any one of claims 7 to 10.

14. A computer-readable storage medium storing one or more programs, which, when executed by an electronic device including a plurality of application programs, enables the electronic device to execute the paving template generation method described in any one of claims 1 to 6 or the paving scheme design method described in any one of claims 7 to 10.