An automatic home decoration line fitting method and device, electronic equipment and storage medium

By acquiring information on changes in furniture dimensions, filtering and updating the path points of home decoration lines, the problem of lines not being able to automatically adapt when furniture dimensions change is solved, thus achieving efficient home decoration design.

CN115512140BActive Publication Date: 2026-06-23GUANGDONG SANWEIJIA INFORMATION TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GUANGDONG SANWEIJIA INFORMATION TECH CO LTD
Filing Date
2022-10-12
Publication Date
2026-06-23

AI Technical Summary

Technical Problem

In home decoration design, when furniture dimensions change, decorative lines such as baseboards, ceiling lines, and lighting lines cannot automatically adapt, resulting in low design efficiency.

Method used

By acquiring the location and information of furniture with changing dimensions, filtering adaptation path points, and updating the location of home decoration line path points, automatic adaptation can be achieved when furniture dimensions change.

Benefits of technology

It improves the efficiency of home decoration design, enabling the lines of home decoration to automatically adapt to changes in furniture size, thus enhancing design efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115512140B_ABST
    Figure CN115512140B_ABST
Patent Text Reader

Abstract

The application provides a home decoration line automatic adaptation method and device, electronic equipment and a storage medium, wherein the home decoration line automatic adaptation method comprises: obtaining the position and size change information of a size change furniture; obtaining an initial path point set based on the position and size change information of the size change furniture; screening an adaptation path point set that meets a preset adaptation path point screening rule from the initial path point set; updating the adaptation path point position based on the size change information; and regenerating the home decoration line. The adaptation path point is screened through the position and size change information of the size change furniture, and the home decoration line is updated by updating the adaptation path point position, so that in the home decoration design, when the size of the furniture changes, the home decoration line can adapt to the change of the size of the furniture, and the home decoration design efficiency is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of home decoration design technology, and more specifically, to a method, device, electronic device and storage medium for automatic adaptation of home decoration lines. Background Technology

[0002] Currently, when designing home decoration, 2D or 3D design drawings are generated in advance to preview the effect. During the design process, it's common to need to modify furniture dimensions. In such cases, the furniture is moved according to preset rules to accommodate the change in size. However, this adaptation is currently limited to the furniture design drawing. Furniture-related decorative lines, such as baseboards, ceiling moldings, and lighting fixtures, cannot adapt to changes in furniture size and still require manual updates to their positions, resulting in low efficiency. Summary of the Invention

[0003] The purpose of this application is to provide a method, device, electronic device and storage medium for automatic adaptation of home decoration lines, so as to improve the efficiency of home decoration design.

[0004] In a first aspect, embodiments of this application provide a method for automatic adaptation of home decoration lines, including: acquiring the position and size change information of furniture with size changes; acquiring an initial set of path points based on the position and size change information of the furniture with size changes; filtering a set of adaptation path points that meet preset adaptation path point filtering rules from the initial set of path points; updating the positions of the adaptation path points based on the size change information; and regenerating the home decoration lines. In the implementation of the above solution, by filtering adaptation path points based on the position and size change information of the furniture with size changes, and updating the positions of the adaptation path points to update the home decoration lines, the home decoration lines can adapt to changes in furniture size during home decoration design, effectively improving the efficiency of home decoration design.

[0005] Optionally, in this embodiment, the size change information includes: the direction of size change and the amount of size change. In the implementation of the above solution, by simply obtaining the location information of the furniture with size changes, as well as the direction and amount of size changes, and in conjunction with preset adaptation path point filtering rules, adaptation path points can be searched and obtained. This allows the interior design lines to adapt to changes in furniture size, effectively improving the efficiency of interior design.

[0006] Optionally, in this embodiment, obtaining the initial path point set includes: starting from the position of the furniture with changing dimensions, searching for home decoration line path points along the direction of size change to obtain the initial path point set. In the implementation of the above solution, the initial path point set can be obtained by initially searching for home decoration line path points based on the position and direction of the furniture's size change. Then, by using preset adaptive path point filtering rules, adaptive path points can be obtained. Finally, by updating the positions of the adaptive path points, the home decoration lines can adapt to the changes in furniture size, effectively improving the efficiency of home decoration design.

[0007] Optionally, in this embodiment, updating the position of the adaptation path point includes: moving the adaptation path points in the adaptation path point set along the direction of size change by the amount of size change. In the implementation of the above solution, after obtaining the adaptation path points, the position of the adaptation path points can be updated simply by using the direction and amount of size change. This allows the interior design lines to adapt to changes in furniture size, effectively improving the efficiency of interior design.

[0008] Optionally, in this embodiment, a preset adaptation path point filtering rule is included: calculating the distance between each path point in the initial path point set and the furniture with changing dimensions; and filtering a preset number of path points in the initial path point set that are relatively close to the furniture with changing dimensions to form an adaptation path point set. In the implementation of the above solution, the adaptation path points can be filtered by calculating the distance between the initial path points and the furniture with changing dimensions, and the positions of the adaptation path points can be updated to ensure that the interior design lines can adapt to the changes in furniture dimensions when the furniture dimensions change, effectively improving the efficiency of interior design.

[0009] Secondly, embodiments of this application provide an automatic adaptation device for home decoration lines, comprising: a data acquisition module for acquiring the position and size change information of furniture with size changes; an initial path point search module for searching initial path points based on the position and size change information of the furniture with size changes, and acquiring an initial path point set; an adaptation path point filtering module for filtering an adaptation path point set that meets preset adaptation path point filtering rules from the initial path point set; an adaptation path point position update module for updating the adaptation path point position based on the size change information; and a line update module for regenerating home decoration lines based on the updated adaptation path point position.

[0010] Optionally, in this embodiment of the application, the data acquisition module includes: a furniture position acquisition unit for acquiring the position of the furniture with size changes; a furniture change direction acquisition unit for acquiring the furniture change direction; and a furniture change amount acquisition unit for acquiring the furniture change amount.

[0011] Optionally, in this embodiment of the application, the adaptation path point filtering module includes: a distance calculation unit, used to calculate the distance between each path point in the initial path point set obtained by the initial path point search module and the furniture with changing dimensions; and a filtering unit, used to filter a preset number of path points that are close to the furniture with changing dimensions to form an adaptation path point set.

[0012] Thirdly, embodiments of this application also provide an electronic device, including: a processor, a memory, and a bus, wherein the processor and the memory communicate with each other via the bus; the memory stores program instructions that can be executed by the processor, and the processor can execute the method described above by calling the program instructions.

[0013] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program that is executed by a processor to perform the methods described above.

[0014] Other features and advantages of this application will be set forth in the following description and will be apparent in part from the description or may be learned by practicing embodiments of this application. The objectives and other advantages of this application may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings. Attached Figure Description

[0015] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0016] Figure 1 A flowchart illustrating the automatic adaptation method for home decoration lines performed by an electronic device (e.g., a server) provided in the embodiments of this application;

[0017] Figure 2 Another schematic diagram of the automatic adaptation method for home decoration lines performed by an electronic device (e.g., a server) provided in the application embodiment;

[0018] Figure 3 A flowchart illustrating the preset adaptation path point filtering rules provided in the embodiments of this application;

[0019] Figure 4 A schematic diagram of scenario 1 for determining the direction of size change provided in an embodiment of this application;

[0020] Figure 5A schematic diagram of scenario 2 for determining the direction of size change provided in an embodiment of this application;

[0021] Figure 6 Another schematic diagram of scenario 2 for determining the direction of size change provided in the embodiments of this application;

[0022] Figure 7 A schematic diagram of the structure of the automatic home decoration line adaptation device provided in the embodiments of this application;

[0023] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0024] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.

[0025] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the application; the terms “comprising” and “having”, and any variations thereof, in the specification, claims, and foregoing description of the drawings are intended to cover non-exclusive inclusion.

[0026] In the description of the embodiments of this application, technical terms such as "first" and "second" are used only to distinguish different objects and should not be construed as indicating or implying relative importance or implicitly specifying the number, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly defined.

[0027] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0028] In the description of the embodiments in this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.

[0029] In the description of the embodiments of this application, the term "multiple" refers to two or more (including two), similarly, "multiple sets" refers to two or more (including two sets), and "multiple pieces" refers to two or more (including two pieces).

[0030] It should be noted that the automatic adaptation method for home decoration lines provided in this application embodiment can be executed by an electronic device. Here, electronic device refers to a device terminal or server with the function of executing computer programs. Device terminals include, for example, smartphones, personal computers, tablets, personal digital assistants, or mobile internet devices. Servers refer to devices that provide computing services through a network. Servers include, for example, x86 servers and non-x86 servers. Non-x86 servers include, for example, mainframes, minicomputers, and UNIX servers.

[0031] Please see Figure 1 The illustrated diagram shows a flowchart of an automatic home decoration line adaptation method executed by an electronic device (e.g., a server) according to an embodiment of this application. This application provides an automatic home decoration line adaptation method, the technical concept of which is: after the size of furniture changes, the adaptation path points for the home decoration lines are found by using the position of the furniture and the size change information, and the home decoration lines are updated by updating the position of the adaptation path points. The implementation of the above-mentioned automatic home decoration line adaptation method may include:

[0032] Step S110: Obtain the location and size change information of the furniture with size changes;

[0033] Step S120: Based on the location information and size change information of the furniture with size changes, obtain the initial set of path points;

[0034] Step S130: Filter the set of adaptive path points that meet the preset adaptive path point filtering rules from the initial path point set;

[0035] Step S140: Update the positions of the adaptation path points based on the size change information;

[0036] Step S150: Regenerate home decoration lines.

[0037] In step S110, the position of the furniture with dimensional changes can be the coordinates of the center point of the furniture or the coordinates of the key points of the furniture. The specific point used as the position of the furniture with dimensional changes can be selected according to the actual situation.

[0038] It should be noted that the home decoration lines in this application embodiment refer to home decoration lines related to changes in furniture. That is, when the size of the furniture is changed, the home decoration lines corresponding to the furniture also need to be changed accordingly, such as baseboards, light rails and light rails in home decoration.

[0039] Additionally, it should be noted that the home decoration lines in this application embodiment are composed of multiple lines, and the path point refers to the endpoint of each line.

[0040] In this embodiment, the adaptation path points are selected by the position of the furniture with size changes and the size change information. The home decoration lines are updated by updating the position of the adaptation path points. This allows the home decoration lines to adapt to the changes in furniture size during home decoration design, effectively improving the efficiency of home decoration design.

[0041] As an optional implementation of the aforementioned automatic adaptation method for home decoration lines, the size change information includes: the direction of size change and the amount of size change. Please refer to... Figure 2 The illustration shows another flowchart of the automatic adaptation method for home decoration lines performed by an electronic device (e.g., a server) according to an embodiment of this application. For example, this implementation includes:

[0042] Step S210: Obtain the position, direction, and amount of dimensional change of the furniture with the dimensional change;

[0043] Step S220: Based on the position and direction of the dimensional change of the furniture, obtain the initial set of path points;

[0044] Step S230: Filter the set of adaptive path points in the initial path point set that meet the preset adaptive path point filtering rules;

[0045] Step S240: Update the positions of the adaptation path points based on the direction and amount of size change;

[0046] Step S250: Regenerate home decoration lines.

[0047] In this embodiment, by simply obtaining the location information, direction, and amount of size change of the furniture, and in conjunction with preset adaptation path point filtering rules, adaptation path points can be searched and obtained. This enables the home decoration lines to adapt to the changes in furniture size, effectively improving the efficiency of home decoration design.

[0048] As an optional implementation of the above-mentioned automatic adaptation method for home decoration lines, the direction of dimensional change can be at least one of the following: change along the width direction of the furniture, change along the height direction of the furniture, and change along the depth direction of the furniture. The above-mentioned direction of dimensional change can be summarized as: it can be a dimensional change in a single direction, or a combination of dimensional changes in multiple directions. These two implementation methods are described in detail below.

[0049] The first implementation involves dimensional change along a single direction, i.e., the direction of dimensional change is along the width, height, or depth of the furniture. In this implementation, the direction of dimensional change can be simply described using orientation, or it can be described using vector direction.

[0050] The second implementation involves combined dimensional changes along multiple directions, specifically a combination of changes along the width and height of the furniture, or a combination of changes along the width and depth of the furniture, or a combination of changes along the height and depth of the furniture, or a combination of changes along the width, height, and depth of the furniture. In this implementation, the dimensional change directions need to be described using vector directions so that the initial set of path points can be searched based on the directions.

[0051] In this embodiment, regardless of the dimensional changes of home furnishings in any direction, the home furnishing lines can be adapted, effectively improving the adaptability of the automatic adaptation method for home furnishing lines.

[0052] Optionally, in this embodiment, obtaining the initial path point set in step S220 includes: starting from the position of the furniture with size changes, searching for home decoration line path points along the direction of size change to obtain the initial path point set. For example, this implementation method is as follows:

[0053] If the center point coordinates of the furniture with changing dimensions are taken as the position of the furniture with changing dimensions, then starting from the center point coordinates of the furniture with changing dimensions, all home decoration line path points are searched along the direction of size change, and all the searched home decoration line path points are used as the initial path point set.

[0054] In this embodiment, the path points of the home decoration lines can be initially searched by the position of the furniture with size changes and the direction of the size change of the furniture to obtain an initial set of path points. Then, by using the preset adaptation path point filtering rules, adaptation path points can be obtained. By updating the position of the adaptation path points, the home decoration lines can adapt to the changes in furniture size, effectively improving the efficiency of home decoration design.

[0055] Optionally, in this embodiment, updating the adaptation path point position in step S240 includes: shifting the adaptation path points in the adaptation path point set by the size change amount along the size change direction. For example, this implementation method is as follows:

[0056] After selecting suitable path points from the initial path point set according to the preset suitable path point filtering rules, the suitable path points in the combination of suitable path points are moved along the direction of the size change of the furniture to represent the size change of the furniture.

[0057] In this embodiment, after obtaining the adaptation path points, the position of the adaptation path points can be updated simply by changing the direction and amount of size change. This enables the home decoration lines to adapt to the changes in furniture size, effectively improving the efficiency of home decoration design.

[0058] As an optional implementation of the above-mentioned automatic adaptation method for home decoration lines, step S130 includes pre-setting adaptation path point filtering rules, including: calculating the distance between each path point in the initial path point set and the furniture with changing dimensions; and filtering a preset number of path points in the initial path point set that are relatively close to the furniture with changing dimensions to form an adaptation path point set. Please refer to... Figure 3 The flowchart shown is a schematic diagram of the preset adaptation path point filtering rules provided in the embodiments of this application. For example, this implementation method is as follows:

[0059] Step S310: Calculate the distance between each path point in the initial path point set and the furniture with changing dimensions;

[0060] Step S320: Select a preset number of path points from the initial path point set that are close to the furniture with size changes to form an adaptation path point set.

[0061] In this embodiment, the selection of suitable path points can be achieved by calculating the distance between the initial path point and the furniture with changing size. Then, by updating the position of the suitable path point, the home decoration lines can adapt to the change in furniture size, effectively improving the efficiency of home decoration design.

[0062] Optionally, in the embodiments of this application, the direction of the size change of the furniture is not arbitrary. Different directions are required for different scenarios. Taking the scenario of cabinet size change as an example, the scenario can be summarized into the following two scenarios:

[0063] Scenario 1: Unrestricted movement of the cabinet

[0064] Please see Figure 4 The diagram shown is a schematic representation of scenario 1 for determining the direction of size change provided in an embodiment of this application. Figure 4 The outermost dark border represents the space enclosed by the walls of the room, while the inner dark border represents cabinets. Multiple cabinets are arranged side by side to form a cabinet group. The light-colored lines represent the home decoration lines described in this embodiment, such as baseboards, ceiling moldings, and lighting lines. In this scenario, since the cabinet group does not connect with any wall corner, the movement of the cabinets is unrestricted, and the direction of change in the size of the cabinets is also unrestricted.

[0065] Scenario 2: The cabinet has limited mobility.

[0066] Please see Figure 5 The diagram shown illustrates scenario 2 of determining the direction of size change provided in an embodiment of this application, and... Figure 6 Another schematic diagram of scenario 2, which illustrates the determination of the direction of size change provided in the application embodiment, is shown. Figure 5 and Figure 6 In the middle, the outermost dark border represents the space enclosed by the walls of the room, the inner dark border represents cabinets, multiple cabinets are arranged one after another to form a cabinet group, and the light-colored lines represent the home decoration lines described in the embodiments of this application, such as baseboards, ceiling lines and light lines.

[0067] When determining the direction of cabinet size changes, it is necessary to consider whether the cabinet unit will meet a wall corner. Figure 5 For example, if the cabinets are arranged to the far right of the space, and there are multiple vertically arranged cabinets on the far right, then when the size of a horizontally arranged cabinet changes, the cabinet to the left of the horizontally arranged cabinet group needs to be moved. Similarly, when the size of a vertically arranged cabinet changes, the horizontally arranged cabinets do not move, but the cabinet below the vertically arranged cabinet whose size has been modified needs to be moved.

[0068] by Figure 6 For example, if Figure 6 When the size of a cabinet arranged horizontally at the top center changes, the cabinet on the left side of the top horizontal cabinet group should be moved, not the cabinet at the bottom horizontal cabinet group. When the size of a cabinet arranged horizontally at the bottom changes, the cabinet on the left side of the bottom horizontal cabinet group should be moved, not the cabinet at the top horizontal cabinet group.

[0069] Depend on Figure 5 and Figure 6 The direction of the cabinet's size change can be obtained from the scene shown.

[0070] It should be noted that the above-mentioned automatic adaptation method for home decoration lines adapts to changes in furniture size by searching for adaptation path points and updating the positions of these path points. At this point, both the direction and amount of furniture size change are already determined.

[0071] Please see Figure 7 The diagram shown is a structural schematic of the automatic home decoration line adaptation device provided in the embodiments of this application; the embodiments of this application also provide an automatic home decoration line adaptation device, including:

[0072] Data acquisition module 710 is used to acquire information on the location and size changes of furniture with size changes;

[0073] The initial path point search module 720 is used to search for initial path points based on the location information and size change information of the furniture with size changes, and to obtain a set of initial path points.

[0074] The adaptation path point filtering module 730 is used to filter the set of adaptation path points that meet the preset adaptation path point filtering rules from the initial path point set.

[0075] The adaptation path point position update module 740 is used to update the adaptation path point position based on size change information.

[0076] The line update module 750 is used to regenerate home decoration lines based on the updated adaptation path point positions.

[0077] Optionally, in this embodiment of the application, the data acquisition module 710 includes:

[0078] The furniture position acquisition unit 711 with changing dimensions is used to acquire the position of the furniture with changing dimensions.

[0079] The dimension change direction acquisition unit 712 is used to acquire the dimension change direction of the furniture with dimension changes.

[0080] The dimension change acquisition unit 713 is used to acquire the dimension change of furniture.

[0081] Optionally, in this embodiment of the application, the adaptable path point filtering module 730 includes:

[0082] The distance calculation unit 731 is used to calculate the distance between each path point in the initial path point set obtained by the initial path point search module and the furniture with changing dimensions.

[0083] The filtering unit 732 is used to filter a preset number of path points that are close to the furniture with size changes to form a set of adaptive path points.

[0084] Optionally, in this embodiment, the initial path point search module 720 specifically comprises:

[0085] Starting from the position of the furniture with changing dimensions, search for path points of the home decoration lines along the direction of the size change to obtain an initial set of path points.

[0086] Optionally, in this embodiment, the adaptation path point position update module 740 specifically moves the adaptation path points in the adaptation path point set by the size change amount along the size change direction.

[0087] It should be understood that this device corresponds to the above-described automatic adaptation method embodiment for home decoration lines and is capable of performing the various steps involved in the above method embodiment. The specific functions of this device can be found in the description above, and detailed descriptions are omitted here to avoid repetition. The device includes at least one software function module that can be stored in memory or embedded in the device's operating system (OS) in the form of software or firmware.

[0088] Please see Figure 8 The diagram illustrates the structure of an electronic device provided in an embodiment of this application. An electronic device 800 provided in this application includes a central processing unit (CPU) 801, which can execute various appropriate actions and processes based on computer program instructions stored in a read-only memory (ROM) 802 or loaded from a storage unit into a random access memory (RAM) 803. The RAM 803 can also store various programs and data required for device operation. The CPU 801, ROM 802, and RAM 803 are interconnected via a bus 804. An I / O interface 805 is also connected to the bus 804.

[0089] Multiple components in the device are connected to the I / O interface 805, including: an input unit 806, such as a keyboard, mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a disk, optical disk, etc.; and a communication unit 809, such as a network card, modem, wireless transceiver, etc. The communication unit 809 allows the device to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0090] CPU 801 executes the various methods and processes described above, such as method steps S110 to S150 in the embodiments of this application. For example, in some embodiments, method steps S110 to S150 in the embodiments of this application may be implemented as a computer software program, which is tangibly contained in a non-transitory computer-readable storage medium, such as a storage unit. In some embodiments, part or all of the computer program may be loaded and / or installed on the device via ROM 802 and / or communication unit 809. When the computer program is loaded into RAM 803 and executed by CPU 801, one or more steps of method steps S110 to S150 in the embodiments of this application described above may be executed. Alternatively, in other embodiments, CPU 801 may be configured to execute method steps S110 to S150 in the embodiments of this application by any other suitable means (e.g., by means of firmware).

[0091] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.

[0092] The program code used to implement the methods of the present invention can be written in any combination of one or more programming languages. This program code can be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing device, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code can be executed entirely on the machine, partially on the machine, as a standalone software package partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0093] In the context of this invention, a nontransitory computer-readable storage medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A nontransitory computer-readable storage medium can be a machine-readable signal medium or a machine-readable storage medium. A nontransitory computer-readable storage medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of nontransitory computer-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0094] In the embodiments provided in this application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the division of units is only a logical functional division of a method for automatic adaptation of home decoration lines. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection between the devices or units shown or discussed may be through some communication interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical, or other forms.

[0095] Furthermore, the units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0096] Furthermore, the functional modules in the various embodiments of this application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.

[0097] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.

Claims

1. A method for automatic adaptation of interior decoration lines, characterized in that, include: Obtain the location and size change information of furniture with dimensional variations; Based on the location and size change information of the furniture with size changes, obtain an initial set of path points; Filter the set of adaptive path points that meet the preset adaptive path point filtering rules from the initial set of path points; Update the positions of the adaptation path points based on the size change information; Regenerate home decoration lines; wherein, the home decoration lines include multiple line segments, and the adaptation path points are the endpoints of each line segment; The process of obtaining the initial path point set includes: starting from the position of the furniture with size changes, searching for home decoration line path points along the direction of size change to obtain the initial path point set; The preset adaptation path point filtering rules include: calculating the distance between each path point in the initial path point set and the furniture with changing dimensions; and filtering a preset number of path points in the initial path point set that are relatively close to the furniture with changing dimensions to form an adaptation path point set.

2. The automatic adaptation method for home decoration lines according to claim 1, characterized in that, The size change information includes: The direction and amount of dimensional change.

3. The automatic adaptation method for home decoration lines according to claim 1, characterized in that, The updated adaptation path point location includes: Move the adaptive path points in the adaptive path point set along the direction of the size change by the size change amount.

4. An automatic adaptation device for home decoration lines, characterized in that, include: The data acquisition module is used to acquire information on the location and size changes of furniture with variations in dimensions. The initial path point search module is used to search for initial path points based on the location information and size change information of furniture with size changes, and to obtain a set of initial path points. The adaptive path point filtering module is used to filter the set of adaptive path points that meet the preset adaptive path point filtering rules from the initial path point set. The adaptation path point position update module is used to update the position of the adaptation path points based on size change information; The line update module is used to regenerate home decoration lines based on the updated adaptation path point positions; wherein, the home decoration lines include multiple line segments, and the adaptation path points are the endpoints of each line segment; The initial path point search module specifically works by: taking the position of the furniture with size changes as the starting point, searching for home decoration line path points along the direction of size change, and obtaining an initial path point set; The preset adaptation path point filtering rules include: calculating the distance between each path point in the initial path point set and the furniture with changing dimensions; and filtering a preset number of path points in the initial path point set that are relatively close to the furniture with changing dimensions to form an adaptation path point set.

5. The automatic home decoration line adaptation device according to claim 4, characterized in that, The data acquisition module includes: The unit for acquiring the position of furniture with changing dimensions is used to acquire the position of furniture with changing dimensions. The dimension change direction acquisition unit is used to acquire the dimension change direction of the furniture with dimension changes; The dimension change acquisition unit is used to acquire the dimension change of furniture.

6. The automatic home decoration line adaptation device according to claim 4, characterized in that, The adaptive path point filtering module includes: The distance calculation unit is used to calculate the distance between each path point in the initial path point set obtained by the initial path point search module and the furniture with changing dimensions; The filtering unit is used to filter a preset number of path points that are close to the furniture with size changes to form a set of adaptive path points.

7. An electronic device, characterized in that, include: Processor, memory, and bus, among which, The processor and the memory communicate with each other via the bus; The memory stores program instructions that can be executed by the processor, and the processor can execute the method as described in any one of claims 1-3 by calling the program instructions.

8. A non-transitory computer-readable storage medium, characterized in that, The non-transitory computer-readable storage medium stores computer instructions, which, when executed by a computer, cause the computer to perform the method as described in any one of claims 1-3.