Internal space layout migration method, device and equipment
By analyzing the component data of multiple inserted parts of the target furniture, the layout migration information is obtained, and the internal layout of the furniture is migrated, which solves the problems of low efficiency and high cost in furniture design, and realizes automated design, improves efficiency and saves costs.
Patent Information
- Application Number
- CN202210471363.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-28
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2042-04-28
AI Technical Summary
In the customized furniture production, the existing technology has problems of low efficiency and high design costs.
By acquiring the furniture data of the target furniture designed based on the first PDM database, analyzing the component data of multiple inserted parts, the layout migration information of the target furniture is obtained, and the internal layout of the target furniture is migrated to generate new furniture with similar internal space layout to the target furniture.
Automatic migration of internal space layout style is realized, design efficiency is improved, and design costs are saved.
Smart Images

Figure CN114942917B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of product design, and in particular to a method, device and equipment for migrating an internal space layout. Background Art
[0002] Product Data Management (PDM) is a technology used to manage all product-related information and processes, including parts, configurations, drawings, structures, permissions, etc. PDM can integrate and manage all information throughout the entire life cycle of a product from design, production to use, and can establish a parallel product development collaboration environment for design and manufacturing within the enterprise, which is conducive to improving collaborative work efficiency, shortening operation cycles, saving costs, and ensuring the standardization of processes.
[0003] In the customized production of furniture, the production design platform needs to access various PDM databases on the production side. The PDM database stores standardized PDM data. When designing furniture, it is necessary to design based on a specific PDM database. For example, if a designer designs a customized cabinet based on a certain PDM database, the designer needs to start with an empty cabinet in the PDM database (which can be recorded as an empty cabinet), and then select multiple components from the PDM database and drag them into the empty cabinet, and adjust the position of each component in the empty cabinet and other information, and finally export the order.
[0004] However, this method has the problems of low efficiency and high design cost. Summary of the invention
[0005] The embodiments of the present application provide a method, device and equipment for migrating the internal space layout, so as to solve the problems of low efficiency and high design cost in the prior art.
[0006] In a first aspect, an embodiment of the present application provides a method for migrating an internal space layout, comprising:
[0007] Acquire furniture data of a target furniture designed based on a first PDM database, wherein the target furniture includes an empty furniture having a hollow interior and a plurality of insertion components inserted into the interior space of the empty furniture;
[0008] Analyze the component data of the multiple inserted components in the furniture data to obtain layout migration information of the target furniture, and the layout migration information is used to migrate the internal layout of the target furniture to obtain new furniture with a similar internal space layout to the target furniture according to the layout migration information.
[0009] In a second aspect, an embodiment of the present application provides a method for migrating an internal space layout, including:
[0010] Acquire layout migration information, where the layout migration information is used to migrate the internal layout of the target furniture designed based on the first PDM database;
[0011] Acquire empty furniture with inner space used by the user for design based on the second PDM database;
[0012] According to the layout migration information, components are inserted into the inner space of the empty furniture to obtain new furniture having a similar inner space layout to the target furniture.
[0013] In a third aspect, an embodiment of the present application provides a migration device for an internal space layout, comprising:
[0014] An acquisition module, configured to acquire furniture data of a target furniture designed based on a first PDM database, wherein the target furniture includes an empty furniture having a hollow interior and a plurality of insertion components inserted into the interior space of the empty furniture;
[0015] An analysis module is used to analyze the component data of the multiple inserted components in the furniture data to obtain layout migration information of the target furniture, and the layout migration information is used to migrate the internal layout of the target furniture to obtain new furniture with a similar internal space layout to the target furniture according to the layout migration information.
[0016] In a fourth aspect, an embodiment of the present application provides a migration device for an internal space layout, including:
[0017] A first acquisition module, used for acquiring layout migration information, wherein the layout migration information is used for migrating the internal layout of the target furniture designed based on the first PDM database;
[0018] The second acquisition module is used to acquire the empty furniture with inner space used by the user to design based on the second PDM database;
[0019] A migration module is used to insert components into the internal space of the empty furniture according to the layout migration information to obtain a new furniture with a similar internal space layout to the target furniture.
[0020] In a fifth aspect, an embodiment of the present application provides a computer device, comprising: a memory and a processor; wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions, when executed by the processor, implement a method as described in any one of the first aspects.
[0021] In a sixth aspect, an embodiment of the present application provides a computer device, comprising: a memory, and a processor; wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions, when executed by the processor, implement a method as described in any one of the second aspects.
[0022] In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed, the method as described in any one of the first aspects of claim 1 is implemented.
[0023] In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed, the method as described in any one of the second aspects of claim 1 is implemented.
[0024] An embodiment of the present application further provides a computer program, which, when executed by a computer, is used to implement the method as described in any one of the first aspects.
[0025] An embodiment of the present application further provides a computer program, which, when executed by a computer, is used to implement the method as described in any one of the second aspects.
[0026] In an embodiment of the present application, when the target furniture designed based on the first PDM database includes empty furniture with a hollow interior and multiple inserted components inserted into the interior space of the empty furniture, the component data of the multiple inserted components can be analyzed to obtain layout migration information of the target furniture. The layout migration information is used to migrate the internal layout of the target furniture, so that when it is necessary to design new furniture with reference to the internal layout of the target furniture, the internal space layout of the target furniture can be automatically migrated according to the layout migration information, and the user (such as a designer) does not need to perform manual design, thereby realizing automatic migration of the internal space layout style, which is more efficient and saves design costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0028] Figure 1 A schematic diagram of an application scenario of the internal space layout migration method provided in an embodiment of the present application;
[0029] Figure 2 A schematic diagram of a flow chart of a method for migrating an internal space layout provided in an embodiment of the present application;
[0030] Figure 3A A schematic diagram of the structure of a hollow furniture provided by an embodiment of the present application;
[0031] Figure 3BA schematic diagram of the structure of a target furniture provided in one embodiment of the present application;
[0032] Figure 4 A schematic flow chart of a method for migrating an internal space layout provided in another embodiment of the present application;
[0033] Figure 5 A schematic diagram of a flow chart of a method for migrating an internal space layout provided in yet another embodiment of the present application;
[0034] Figure 6 A schematic diagram of a flow chart of a method for migrating an internal space layout provided in yet another embodiment of the present application;
[0035] Fig. 7A A schematic diagram of the structure of a target furniture provided in one embodiment of the present application;
[0036] Figure 7B A schematic diagram of the structure of a new piece of furniture provided in one embodiment of the present application;
[0037] Figure 8 A schematic diagram of the structure of a migration device for an internal space layout provided in one embodiment of the present application;
[0038] Fig. 9 A schematic diagram of the structure of a computer device provided in one embodiment of the present application;
[0039] Fig.10 A schematic diagram of the structure of a migration device for an internal space layout provided by another embodiment of the present application;
[0040] Fig.11 A schematic diagram of the structure of a computer device provided in another embodiment of the present application. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0042] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms of "a", "said", and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings, and "multiple" generally includes at least two, but does not exclude the inclusion of at least one.
[0043] It should be understood that the term "and / or" used in this article is only a way to describe the dependency relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0044] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.
[0045] 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 product or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such a product or system. 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 product or system including the elements.
[0046] In addition, the step sequence in the following method embodiments is only an example and not a strict limitation.
[0047] Figure 1 A schematic diagram of an application scenario of the internal space layout migration method provided in an embodiment of the present application, such as Figure 1 As shown, the production design platform 10 may include a design terminal 11 and a production terminal 12. The design terminal 11 and the production terminal 12 may share a PDM database. The PDM database stores standardized PDM data. These standardized PDM data may be understood as component models. In the scenario of designing and producing furniture products, component models may constitute furniture. Component models may be described in the form of attributes, such as the size, size, material, etc. of the component. Different production terminals 12 may correspond to different factories 13.
[0048] The user (e.g., designer) can design products at the design end, and the production end 12 can control the corresponding factory 13 to produce furniture according to the furniture data designed by the user at the design end 11. For example, assuming that a custom cabinet produced by a certain production end 12 needs to be designed, the designer can design the cabinet data of the custom cabinet at the design end 11 based on the PDM database shared with the production end 12, and the production end 12 can control the factory 13 corresponding to the production end 12 to produce furniture according to the cabinet data of the custom cabinet designed by the designer based on the PDM database.
[0049] Usually, if a designer needs to design new furniture based on a certain PDM database and refer to the internal layout of a target furniture, the designer needs to manually design it based on the PDM database and adopt an internal layout method similar to that of the target furniture. Taking the example of a designer designing a custom cabinet based on the PDM database, the designer needs to start with an empty cabinet (which can be recorded as an empty cabinet) in the PDM database, and then adopt a similar internal layout method, select multiple components from the PDM database, drag them into the empty cabinet, and adjust the position of each component in the empty cabinet, etc. This method has the problems of low efficiency and high design cost.
[0050] In order to solve the technical problems of low efficiency and high design cost in the prior art, in an embodiment of the present application, when the target furniture designed based on the first PDM database includes empty furniture with a hollow interior and multiple inserted components inserted into the internal space of the empty furniture, the component data of the multiple inserted components can be analyzed to obtain layout migration information of the target furniture. The layout migration information is used to migrate the internal layout of the target furniture, so that when it is necessary to design new furniture with reference to the internal layout of the target furniture, the internal space layout of the target furniture can be automatically migrated according to the layout migration information, and the user (such as a designer) does not need to perform manual design, thereby realizing automatic migration of the internal space layout style, which is more efficient and saves design costs.
[0051] It should be noted that the internal space layout migration method provided in the embodiment of the present application can be applied to any furniture design scenario that requires migration of the internal layout. The following mainly uses the scenario of application to cabinet design as an example for illustration.
[0052] It should be noted that the internal space layout migration method provided in the embodiment of the present application can not only be applied to migrating the internal layout of furniture between different PDM databases, but can also realize the migration of the internal layout of furniture within the same PDM database.
[0053] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0054] Figure 2 This is a flow chart of a migration method for the internal space layout provided in an embodiment of the present application. The execution subject of this embodiment may be a computer device running the design terminal 11. Figure 2 As shown, the method of this embodiment may include:
[0055] Step 21, obtaining furniture data of a target furniture designed based on the first PDM database, wherein the target furniture includes an empty furniture having a hollow interior and a plurality of inserted components inserted into the interior space of the empty furniture;
[0056] Step 22, analyzing the component data of the multiple inserted components in the furniture data to obtain layout migration information of the target furniture, the layout migration information is used to migrate the internal layout of the target furniture, so as to obtain new furniture with a similar internal space layout to the target furniture according to the layout migration information.
[0057] In the embodiment of the present application, the target furniture may specifically be furniture whose internal layout needs to be migrated. For example, the target furniture may be template furniture (such as a template cabinet), or may be furniture designed by the user himself. When the target furniture is template furniture, the target furniture may be designed by a template designer.
[0058] Since the internal layout of the target furniture needs to be migrated, in the embodiment of the present application, the target furniture can be divided into empty furniture with a hollow interior and components inserted on the basis of the empty furniture. Therefore, the target furniture can include empty furniture with a hollow interior and multiple inserted components inserted into the internal space of the empty furniture.
[0059] Taking the target furniture as a cabinet as an example, the empty furniture 31 included in the target furniture can be as follows: Figure 3A As shown, the target furniture 32 obtained by inserting a plurality of insert components into the inner space of the empty furniture 31 can be as shown in FIG. Figure 3B As shown, the plurality of insertion components include an insertion component 321, an insertion component 322, and an insertion component 323. Figure 3A As shown, the empty furniture can be composed of multiple parts, which can be Figure 3A Component 311, component 312, component 313, component 314 and component 315 in it.
[0060] The furniture data of the target furniture designed based on the first PDM database is used to describe the structure of the target furniture. The target furniture includes empty furniture with a hollow interior and a plurality of inserted components inserted into the interior space of the empty furniture. Accordingly, the furniture data of the target furniture may include the data of the empty furniture with a hollow interior and the component data of the plurality of inserted components inserted into the interior space of the empty furniture. Figure 3A and Figure 3BThe data of the empty furniture 31 may include component data of part 311, part 312, part 313, part 314 and part 315, and the component data of multiple inserted components inserted into the interior space of the empty furniture may include component data of inserted component 321, inserted component 322 and inserted component 323.
[0061] For example, the furniture data of the target furniture may be analyzed to obtain the interior space information of the target furniture, where the interior space information is used to describe the internal space of the empty furniture of the target furniture. After the interior space information is obtained through analysis, multiple insertion components inserted into the interior space of the empty furniture may be filtered out from the furniture data of the target furniture according to the interior space information.
[0062] Acquiring the furniture data of the target furniture may include, for example, receiving the furniture data of the target furniture. Of course, in other embodiments, the furniture data of the target furniture may also be obtained in other ways, which is not limited in the present application.
[0063] In the embodiment of the present application, after the furniture data of the target furniture is acquired, the component data of the multiple insertion components in the furniture data may be analyzed to obtain the layout migration information of the target furniture.
[0064] Exemplarily, the analysis of the component data of the inserted component can be triggered by the user using the design terminal 11. Based on this, in one embodiment, the method provided by the embodiment of the present application can also include: obtaining the layout style analysis operation of the user for the target furniture; accordingly, step 32 can specifically include: in response to the layout style analysis operation, analyzing the component data of the multiple inserted components in the furniture data to obtain the layout migration information of the target furniture. This allows the user to flexibly control the acquisition of the layout migration information according to needs.
[0065] The component data of the inserted component can describe various information about the inserted component, such as size, material, position, etc. In practical applications, various information about the inserted component can be described by various attributes of the inserted component. In this case, the component data of the inserted component can include attribute information of multiple attributes of the inserted component. Therefore, by analyzing the component data of the multiple inserted components, the layout migration information of the target furniture can be obtained. The layout migration information can describe the internal layout of the target furniture and can be used to migrate the internal layout of the target furniture. The specific content of the layout migration information can be related to the layout characteristics of the target furniture. The layout migration information can be, for example, list information.
[0066] For example, the interior of the target furniture may be arranged with different types of components. In this case, the layout migration information may include the component type. Figure 3BThe component type of the inserted component 321 can be a vertical board, and the component types of the inserted components 322 and 323 can be horizontal boards. For a cabinet, the component type can also include a drawer, etc. In the case where the component data includes a component type attribute, the component type of the inserted component can be directly obtained from the attribute information of the component type attribute in the component data. Of course, in other embodiments, the component type of the inserted component can also be obtained by analyzing in other ways, which is not limited in this application. For example, the component type of the inserted component can be calculated according to the size of the inserted component.
[0067] And / or exemplary, the components inside the target furniture may be dependent on other components. In this case, the layout migration information may include the migration identifier of the dependent components. Figure 3B The inserted component 322 in may depend on the components 312, 313 and 315, Figure 3B The inserted component 321 in may depend on the component 311, the component 322 and the component 315, Figure 3B Insert component 323 in may depend on component 312 , component 313 , and component 315 .
[0068] In practical applications, the component identification of a component is related to the PDM database. The component identification of a component can be generated according to the model identification of the component model in the PDM database. For example, assuming Figure 3B In the example, the inserted component 322 and the inserted component 323 correspond to the same component model, and the model identifier of the component model is ***, then the component identifier of the inserted component 322 may be, for example, ***_1, and the component identifier of the inserted component 323 may be, for example, ***_2. Therefore, in order to obtain the migration identifier of the dependent component that is independent of the first PDM database, the component identifier of the dependent component may be converted.
[0069] In the embodiment of the present application, the components on which the inserted component depends may include inner hollow components and / or inserted components, wherein the inner components refer to components constituting the inner space of the empty furniture of the target furniture (e.g. Figure 3A Components 311, 312, 313, 314, and 315 in FIG. 1 ). For example, Figure 3B The components 312, 313 and 315 on which the insertion component 322 in the figure depends are all hollow components. Figure 3B The component 322 on which the inserted component 312 depends is an inserted component.
[0070] For an inner hollow component, the position of the inner hollow component can be described based on the positional relationship of the inner hollow component relative to the inner space of the empty furniture. Exemplarily, the information of the inner hollow surface corresponding to the inner hollow component can be used to describe the position of the inner hollow component. Based on this, in one embodiment, converting the component identifier of the dependent component into a migration identifier may include: if the dependent component is an inner hollow component, using the information used to identify the inner hollow surface corresponding to the dependent component as the migration identifier of the dependent component. For example, for Figure 3B For the component 312 that the component 322 depends on, the information of the inner space corresponding to the component 312 (for example, the left inner space) can be used as the migration identifier of the component 312. Figure 3B The component 313 on which the inserted component 322 depends can use the information of the inner empty surface corresponding to the identification component 313 (for example, the right inner empty surface) as the migration identifier of the component 313.
[0071] For an inserted component, the position of the inserted component can be described by providing a corresponding identifier for the inserted component. Exemplarily, the position of the inserted component in the layout migration information can be used to describe the position of the inserted component. Based on this, in one embodiment, converting the component identifier of the dependent component into a migration identifier can include: if the dependent component is an inserted component, the position of the dependent component in the layout migration information is used as the migration identifier of the dependent component. For example, assuming that the order of the positions of the inserted component 321, the inserted component 322, and the inserted component 323 in the layout migration information is: first the inserted component 322, then the inserted component 321, and then the inserted component 322, then for the inserted component 322 on which the inserted component 321 depends, the position of the inserted component 322 in the layout migration information (for example, 1) can be used as the migration identifier of the inserted component 322.
[0072] Furthermore, the position of the inserted component in the corresponding internal space of the dependent component may also change. In this case, the layout migration information may also include the position ratio in the corresponding internal space of the dependent component. Figure 3B The internal space corresponding to the components (i.e., components 312, 313, and 315) on which the inserted component 322 depends can be the internal space formed by components 311, 312, 313, 314, and 315, and the position ratio of the inserted component 322 in the corresponding internal space of the dependent component is 0.5. For another example, Figure 3BThe internal space corresponding to the components (i.e., components 311, 322, and 315) on which the inserted component 321 depends can be the internal space formed by components 311, 312, 313, 322, and 315, and the position ratio of the inserted component 321 in the corresponding internal space of the dependent component is 0.5. Exemplarily, the position ratio of the inserted component in the corresponding internal space of the dependent component can be analyzed and determined based on the positions of the inserted component and the components on which it depends.
[0073] In one embodiment, the layout migration information may include component types of the multiple inserted components, migration identifiers of dependent components, and position ratios of the dependent components in corresponding internal spaces.
[0074] Exemplarily, the information of each inserted component may be analyzed in sequence according to the order from front to back of the dependency relationship established between the multiple inserted components and added to the layout migration information in sequence. The order may be, for example, from front to back.
[0075] Based on this, in one embodiment, step 33 may specifically include: in the order from front to back of establishing dependency relationships between the multiple inserted components, executing the following steps for each inserted component: analyzing the component type of the inserted component, the component identifier of the dependent component, and the position ratio in the corresponding internal space of the dependent component; converting the component identifier of the component on which the inserted component depends into a migration identifier; and sequentially adding the component type of the inserted component, the migration identifier of the dependent component, and the position ratio in the corresponding internal space of the dependent component to the layout migration information.
[0076] For example, for Figure 3BFor the target furniture shown, the component identifier of component 312 on which the inserted component 322 depends can be first converted into information for identifying the "left inner empty surface" (for example, left), the component identifier of component 313 on which it depends can be converted into information for identifying the "right inner empty surface" (for example, right), and the component identifier of component 315 on which it depends can be converted into information for identifying the "rear inner empty surface" (for example, rear), and the component type (for example, horizontal board) of the inserted component 322, the migration identifier of the dependent component (i.e., left, right, and rear), and the position ratio (for example, 0.5) in the corresponding internal space of the dependent component can be added to the layout migration information; then the component identifier of component 311 on which the inserted component 321 depends can be converted into information for identifying the "upper inner empty surface" (for example, upper), the component identifier of component 315 on which it depends can be converted into information for identifying the "rear inner empty surface" (for example, rear), and the component identifier of component 322 on which it depends can be converted into information for identifying the "rear inner empty surface" (for example, rear). The identification is converted into the position of component 322 in the layout migration information (for example, 1), and the component type (for example, vertical board) of the inserted component 321, the migration identification of the dependent component (i.e., top, back, and 1), and the position ratio (for example, 0.5) in the corresponding internal space of the dependent component are added to the layout migration information; finally, the component identification of component 312 on which the inserted component 323 depends can be converted into information for identifying the "left inner empty surface" (for example, left), the component identification of the dependent component 313 can be converted into information for identifying the "right inner empty surface" (for example, right), and the component identification of the dependent component 315 can be converted into information for identifying the "rear inner empty surface" (for example, rear), and the component type (for example, horizontal board) of the inserted component 322, the migration identification of the dependent component (i.e., left, right, and rear), and the position ratio (for example, 0.8) in the corresponding internal space of the dependent component are added to the layout migration information. Taking the layout migration information as list information as an example, the obtained layout migration information can be, for example, the information shown in Table 1 below.
[0077] Table 1
[0078] Part Type Identification of dependent components The position ratio of the dependent component in the corresponding internal space Horizontal board Left, right and back 0.5 Vertical Board Up, Back and 1 0.5 Horizontal board Left, right and back 0.8
[0079] Take the target furniture as the target cabinet as an example. Figure 4 As shown, the migration method of the internal space layout may include the following steps:
[0080] Step 41, obtaining cabinet data of a target cabinet whose internal layout needs to be migrated;
[0081] Step 42, analyzing the cabinet data to obtain the internal space information of the target cabinet;
[0082] Step 43, filtering component data of multiple inserted components from the cabinet data according to the internal space information to obtain an inserted component list;
[0083] Step 44, taking the first inserted component in the inserted component list as the current component;
[0084] Step 45, determining whether the information of the inserted component on which the current component depends has been added to the layout migration information;
[0085] If yes, step 46 may be executed, otherwise step 47 may be executed.
[0086] Step 46, take out an inserted component as the current component.
[0087] It should be noted that step 45 can be executed after step 46 is executed.
[0088] Step 47, analyzing the component data of the current component to obtain the migration information of the current component;
[0089] In one embodiment, the migration information of the current component may include the component type of the current component, the migration identifier of the dependent component, and the position ratio in the corresponding internal space of the dependent component.
[0090] Step 48, adding the migration information of the current component to the layout migration information;
[0091] Step 409, deleting the current component from the inserted component list;
[0092] Step 410, determining whether the inserted component list has been processed.
[0093] The fact that the list of inserted components has not been processed yet means that there are still unprocessed inserted components in the list of inserted components. If the list of inserted components has been processed, the process can be ended; if the list of inserted components has not been processed yet, the process can be returned to step 44 for execution.
[0094] The internal space layout migration method provided in the present embodiment obtains the layout migration information of the target furniture by analyzing the component data of multiple inserted components in the furniture data. The layout migration information is used to migrate the internal layout of the target furniture, so that when it is necessary to design new furniture with reference to the internal layout of the target furniture, the internal space layout of the target furniture can be automatically migrated according to the layout migration information. The user (such as a designer) does not need to perform manual design, thereby realizing the automatic migration of the internal space layout style, which is highly efficient and saves design costs.
[0095] Figure 5 This is a flow chart of a method for migrating the internal space layout provided by another embodiment of the present application. The execution subject of this embodiment may be a computer device running the design terminal 11. Figure 5 As shown, the method of this embodiment may include:
[0096] Step 51, obtaining layout migration information, where the layout migration information is used to migrate the internal layout of the target furniture designed based on the first PDM database;
[0097] Step 52, obtaining empty furniture with inner space used by the user for design based on the second PDM database;
[0098] Step 53, inserting components into the inner space of the empty furniture according to the layout migration information, to obtain new furniture having an inner space layout similar to that of the target furniture.
[0099] The acquisition of layout migration information may be, for example, reading internal migration information from a storage device, or receiving layout migration information sent by other devices. Of course, in other embodiments, the layout migration information may also be acquired in other ways, which is not limited in this application. In one embodiment, the layout migration information may include component types based on multiple inserted components in the target furniture, migration identifiers of dependent components, and position ratios in the corresponding internal spaces of the dependent components. For a detailed description of the layout migration information, see Figure 2 The description in the illustrated embodiment will not be repeated here.
[0100] The second PDM database refers to the PDM database currently used by the user. The second PDM database can be a different PDM database from the first PDM database. The empty furniture used by the user to design based on the second PDM database can be directly obtained from the memory. For detailed instructions on empty furniture, please refer to Figure 2 The description in the illustrated embodiment will not be repeated here.
[0101] In an embodiment of the present application, after obtaining the layout migration information and the empty furniture with internal space used by the user for design based on the second PDM database, components can be inserted into the internal space of the empty furniture according to the layout migration information to obtain new furniture with a similar internal space layout to the target furniture.
[0102] Exemplarily, the migration of the internal space layout of the target furniture may be triggered by a user using the design terminal 11. Based on this, in one embodiment, the method provided by the embodiment of the present application may further include: obtaining the user's layout style migration operation for the target furniture; accordingly, step 53 may specifically include: in response to the layout style migration operation, inserting components into the internal space of the empty furniture according to the layout migration information.
[0103] For example, the data of the empty furniture can be analyzed to obtain the inner space information of the empty furniture, and the inner space information is used to describe the inner space of the empty furniture. After the inner space information is obtained through analysis, components can be inserted into the empty furniture according to the inner space information.
[0104] Exemplarily, the newly added components corresponding to each inserted component can be inserted into the empty furniture in sequence according to the order in which the multiple inserted components establish dependency relationships. Wherein, in the case where the information of each inserted component is added to the layout migration information in a sequence from front to back, the order in which the multiple inserted components establish dependency relationships from front to back can be the order in which the inserted components are in the layout migration information in a sequence from front to back.
[0105] Based on this, in one embodiment, step 53 may specifically include: in the order from front to back of establishing the dependency relationship between the multiple inserted components, perform the following operations for each of the multiple inserted components: insert a new component corresponding to the component type of the inserted component in the second PDM database into the current furniture; set the dependency relationship and size of the new component according to the migration identifier of the component on which the inserted component depends; set the position of the new component according to the position ratio of the inserted component in the corresponding internal space of the dependent component.
[0106] For example, assuming that the acquired layout migration information is as shown in the aforementioned Table 1, then, according to the component type of the inserted component 322, a newly added component whose component type is a horizontal board in the second PDM database can be inserted into the current furniture, and the dependency and size of the newly added component can be set according to the migration identifier of the component on which the inserted component 322 depends, and the position of the newly added component can be set according to the proportion of the inserted component 322 in the corresponding internal space of the dependent component; then, according to the component type of the inserted component 321, a newly added component whose component type is a vertical board in the second PDM database can be inserted into the current furniture, and the dependency and size of the newly added component can be set according to the migration identifier of the component on which the inserted component 321 depends, and the position of the newly added component can be set according to the proportion of the inserted component 321 in the corresponding internal space of the dependent component; finally, according to the component type of the inserted component 323, a newly added component whose component type is a horizontal board in the second PDM database can be inserted into the current furniture, and the dependency and size of the newly added component can be set according to the migration identifier of the component on which the inserted component 323 depends, and the position of the newly added component can be set according to the proportion of the inserted component 323 in the corresponding internal space of the dependent component.
[0107] It should be understood that in the process of inserting parts into the internal space of an empty furniture, the current furniture is changed on the basis of the empty furniture. At the beginning of the insertion, the empty furniture is the current furniture; after inserting a new part into the empty furniture, the furniture obtained by inserting the new part on the basis of the empty furniture is the current furniture; after inserting another new part into the empty furniture, the furniture obtained by inserting the two new parts on the basis of the empty furniture is the current furniture; ...
[0108] Exemplarily, the size of the newly added component can be calculated based on the components on which the newly added component depends. Based on this, in one embodiment, the dependency and size of the newly added component are set according to the migration identifier of the component on which the inserted component depends. Specifically, the method may include: finding the component on which the newly added component depends in the current furniture according to the migration identifier of the component on which the inserted component depends; calculating the size of the newly added component according to the components on which the newly added component depends; and setting the dependency and size of the newly added component. The dependency and size of the newly added component can be set by setting the properties of the newly added component.
[0109] In the embodiment of the present application, the components on which the insertion component depends may include an inner hollow component and / or an insertion component.
[0110] In one embodiment, when the components on which the inserted component depends include inner hollow components, the components on which the newly added component depends are found in the current furniture based on the migration identifier of the components on which the inserted component depends. Specifically, the method may include: if the migration identifier of the components on which the inserted component depends is information for identifying the inner hollow surface corresponding to the dependent component, then the component corresponding to the inner hollow surface identified by the information in the internal space of the current furniture is determined as the component on which the newly added component depends; wherein the internal space of the current furniture specifically refers to the internal space of the hollow furniture in step 53.
[0111] In one embodiment, when the components that the inserted component depends on include the inserted component, the component that the newly added component depends on is found in the current furniture based on the migration identifier of the component that the inserted component depends on. Specifically, this may include: if the migration identifier of the component that the inserted component depends on is the position of the dependent component in the layout migration information, then the newly added component inserted by the inserted component corresponding to the position of the current furniture is determined as the component that the newly added component depends on.
[0112] In an embodiment of the present application, after obtaining new furniture having a similar internal space layout to the target furniture, the new furniture can optionally be displayed to the user so that the user can know the specific situation of the designed new furniture. The user can directly use the obtained new furniture for production, or the user can also adjust the obtained new furniture as needed.
[0113] For example, the empty furniture is an empty cabinet and the layout migration information includes the component type, the migration identifier of the dependent component, and the position ratio in the corresponding internal space of the dependent component. Figure 6 As shown, the migration method of the internal space layout may include the following steps:
[0114] Step 61, obtaining layout migration information and empty cabinets;
[0115] Step 62, analyzing the empty cabinet to obtain the empty cabinet information;
[0116] Step 63, taking out the migration information of the first inserted component from the layout migration information as the migration information of the current component, and deleting it from the layout migration information;
[0117] Step 64, selecting a corresponding component model according to the component type of the current component;
[0118] According to the component type of the current component, a corresponding component model in the second PDM database is selected. For example, if the component type of the current component is a horizontal plate, a component model with the component type of a horizontal plate in the second PDM database can be selected.
[0119] Step 65, instantiate the component model according to the model identifier of the component model to obtain the newly added component, and then insert the newly added component into the current furniture according to the internal space information;
[0120] Instantiating the component model may refer to reading data of the component model from the second PDM database according to the model identifier of the component model, and loading the data into the memory.
[0121] Step 66, according to the migration identifier of the component adsorbed by the current component, find the component that the newly added component depends on in the current furniture;
[0122] Step 67, calculating the size of the newly added component according to the components on which the newly added component depends;
[0123] Step 68, setting the dependency and size of the newly added components;
[0124] Step 69, setting the position of the newly added component according to the position ratio of the current component in the corresponding internal space of the dependent component;
[0125] Step 610: determine whether the layout migration information has been processed.
[0126] The layout migration information is not processed completely, which means that there are still unprocessed inserted components in the layout migration information. If the component migration information is processed completely, the process can be ended; if the component migration information is not processed completely, the process can return to step 63 for execution.
[0127] The method for migrating the internal space layout provided in the present embodiment obtains the empty furniture with inner space used by the user for design based on the second PDM database by acquiring the layout migration information, and inserts components into the internal space of the empty furniture according to the layout migration information to obtain new furniture with a similar internal space layout to the target furniture. The method automatically migrates the internal space layout of the target furniture according to the layout migration information, and does not require the user (such as a designer) to perform manual design, thereby realizing the automatic migration of the internal space layout style, which is highly efficient and saves design costs.
[0128] The structure of the target furniture is as follows Fig. 7A As shown in the figure, the structure of the new furniture obtained by performing layout migration according to the layout migration information of the target furniture can be as follows Figure 7B shown. Fig. 7A The cabinet shown may be a cabinet that needs to be designed and produced by Factory A. Figure 7B The cabinet shown can be a cabinet that needs to be produced by factory B after migration. It can be seen that the internal structures of the two cabinets are very similar. It should be noted that the migration of layout style is carried out according to the characteristics of the cabinet produced by the factory itself, rather than simply copying. For example Fig. 7A The horizontal version in the lower right center is flush with the cabinet ( Fig. 7A The circled area) Figure 7B The horizontal panel on the lower right center is not flush with the cabinet, but is recessed ( Figure 7B (circled in the middle).
[0129] It should be noted that the execution Figure 2 Device and implementation of the method shown Figure 5 The devices using the methods shown may be the same device or different devices.
[0130] Figure 8 A schematic diagram of the structure of the migration device of the internal space layout provided in one embodiment of the present application; Figure 8 As shown, this embodiment provides a migration device for the internal space layout, which can perform the above Figure 2 The method provided in the embodiment shown, specifically, the device may include:
[0131] An acquisition module 81 is used to acquire furniture data of a target furniture designed based on a first PDM database, wherein the target furniture includes an empty furniture having a hollow interior and a plurality of inserted components inserted into the interior space of the empty furniture;
[0132] The analysis module 82 is used to analyze the component data of the multiple inserted components in the furniture data to obtain the layout migration information of the target furniture. The layout migration information is used to migrate the internal layout of the target furniture to obtain new furniture with a similar internal space layout to the target furniture according to the layout migration information.
[0133] In one embodiment, the layout migration information includes component types of the multiple inserted components, migration identifiers of dependent components, and position ratios of the dependent components in corresponding internal spaces.
[0134] In one embodiment, the analysis module 82 is specifically used to perform the following steps for each inserted component in the order from front to back of establishing dependency relationships between the multiple inserted components: analyzing the component type of the inserted component, the component identifier of the dependent component, and the position ratio of the inserted component in the corresponding internal space of the dependent component; converting the component identifier of the component on which the inserted component depends into a migration identifier; and sequentially adding the component type of the inserted component, the migration identifier of the dependent component, and the position ratio of the dependent component in the corresponding internal space of the dependent component to the layout migration information.
[0135] In one embodiment, the analysis module 82 is used to convert the component identifier of the dependent component into a migration identifier, including: if the dependent component is an inner hollow component, then the information used to identify the corresponding inner hollow surface of the dependent component is used as the migration identifier of the dependent component, and the inner hollow component refers to the component that constitutes the internal space of the empty furniture; and / or, if the dependent component is an inserted component, then the position of the dependent component in the layout migration information is used as the migration identifier of the dependent component.
[0136] In one embodiment, the acquisition module 81 is further used to acquire the layout style analysis operation of the user on the target furniture;
[0137] The analysis module 82 is specifically configured to analyze the component data of the plurality of inserted components in the furniture data in response to the layout style analysis operation.
[0138] Figure 8 The device shown can perform Figure 2 For the method of the embodiment shown in the figure, the part not described in detail in this embodiment can be referred to Figure 2 The implementation process and technical effects of this technical solution refer to Figure 2 The description in the illustrated embodiment will not be repeated here.
[0139] In one possible implementation, Figure 8 The structure of the device shown can be implemented as a computer device. Fig. 9 As shown, the computer device may include: a processor 91 and a memory 92. The memory 92 is used to store the computer device to execute the above Figure 2 The processor 91 is configured to execute the program stored in the memory 92 according to the method provided in the illustrated embodiment.
[0140] The program includes one or more computer instructions, wherein when the one or more computer instructions are executed by the processor 91, the following steps can be implemented:
[0141] Acquire furniture data of a target furniture designed based on a first PDM database, wherein the target furniture includes an empty furniture having a hollow interior and a plurality of insertion components inserted into the interior space of the empty furniture;
[0142] Analyze the component data of the multiple inserted components in the furniture data to obtain layout migration information of the target furniture, and the layout migration information is used to migrate the internal layout of the target furniture to obtain new furniture with a similar internal space layout to the target furniture according to the layout migration information.
[0143] Optionally, the processor 91 is further configured to execute the aforementioned Figure 2 All or part of the steps in the illustrated embodiments.
[0144] The structure of the computer device may also include a communication interface 93 for the computer device to communicate with other devices or a communication network.
[0145] Fig.10 This is a schematic diagram of the structure of the migration device of the internal space layout provided by another embodiment of the present application; Fig.10 As shown, this embodiment provides a migration device for the internal space layout, which can perform the above Figure 5 The method provided in the embodiment shown, specifically, the device may include:
[0146] A first acquisition module 101 is used to acquire layout migration information, where the layout migration information is used to migrate the internal layout of the target furniture designed based on the first PDM database;
[0147] The second acquisition module 102 is used to acquire the empty furniture with inner space used by the user to design based on the second PDM database;
[0148] The migration module 103 is used to insert components into the internal space of the empty furniture according to the layout migration information to obtain a new furniture with a similar internal space layout to the target furniture.
[0149] In one embodiment, the layout migration information includes component types of multiple inserted components in the target furniture, migration identifiers of dependent components, and position ratios of the dependent components in the corresponding internal space.
[0150] In one embodiment, the migration module 103 is specifically used to perform the following operations for each of the multiple inserted components in the order from front to back of establishing the dependency relationship between the multiple inserted components: inserting a new component corresponding to the component type of the inserted component in the second PDM database into the internal space of the empty furniture; setting the dependency relationship and size of the new component according to the migration identifier of the component on which the inserted component depends; and setting the position of the new component according to the position ratio of the inserted component in the internal space corresponding to the dependent component.
[0151] In one embodiment, the migration module 103 is used to set the dependency and size of the newly added component according to the migration identifier of the component on which the inserted component depends, including: finding the component on which the newly added component depends in the current furniture according to the migration identifier of the component on which the inserted component depends; calculating the size of the newly added component according to the component on which the newly added component depends; and setting the dependency and size of the newly added component.
[0152] In one embodiment, the migration module 103 is used to find the component on which the newly added component depends in the current furniture based on the migration identifier of the component on which the inserted component depends, including: if the migration identifier of the component on which the inserted component depends is information used to identify the corresponding inner empty surface of the dependent component, then the component corresponding to the inner empty surface identified by the information in the internal space of the current furniture is determined as the component on which the newly added component depends; and / or, if the migration identifier of the component on which the inserted component depends is the position of the dependent component in the layout migration information, then the newly added component inserted by the inserted component corresponding to the position of the current furniture is determined as the component on which the newly added component depends.
[0153] In one embodiment, the apparatus provided in this embodiment may further include a third acquisition module, configured to acquire the layout style migration operation of the user on the target furniture;
[0154] The migration module 103 is specifically configured to insert components into the inner space of the empty furniture in response to the layout style migration operation and according to the layout migration information.
[0155] In one embodiment, the device provided in this embodiment may further include a display module for displaying the new furniture to the user.
[0156] Fig.10 The device shown can perform Figure 5 For the method of the embodiment shown in the figure, the part not described in detail in this embodiment can be referred to Figure 5 The implementation process and technical effects of this technical solution refer to Figure 5 The description in the illustrated embodiment will not be repeated here.
[0157] In one possible implementation, Fig.10 The structure of the device shown can be implemented as a computer device. Fig.11 As shown, the computer device may include: a processor 111 and a memory 112. The memory 112 is used to store information that supports the computer device to execute the above Figure 5 The processor 111 is configured to execute the program stored in the memory 112 according to the method provided in the illustrated embodiment.
[0158] The program includes one or more computer instructions, wherein when the one or more computer instructions are executed by the processor 111, the following steps can be implemented:
[0159] Acquire layout migration information, where the layout migration information is used to migrate the internal layout of the target furniture designed based on the first PDM database;
[0160] Acquire empty furniture with inner space used by the user for design based on the second PDM database;
[0161] According to the layout migration information, components are inserted into the inner space of the empty furniture to obtain new furniture having a similar inner space layout to the target furniture.
[0162] Optionally, the processor 111 is further configured to execute the aforementioned Figure 5 All or part of the steps in the illustrated embodiments.
[0163] The structure of the computer device may further include a communication interface 113 for the computer device to communicate with other devices or a communication network.
[0164] In addition, the embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed, the above-mentioned Figure 2 The method described in the method embodiment shown.
[0165] The present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed, the above-mentioned Figure 5 The method described in the method embodiment shown.
[0166] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative labor.
[0167] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by adding a necessary general hardware platform, and of course can also be implemented by combining hardware and software. Based on such an understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a computer product, and the present application can be in the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0168] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable device to generate a machine, so that the instructions executed by the processor of the computer or other programmable device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0169] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable device to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0170] These computer program instructions may also be loaded onto a computer or other programmable device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1The steps for the functions specified in one or more boxes.
[0171] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0172] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0173] 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, linked lists, 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 magnetic 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.
[0174] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for migrating an internal space layout, characterized in that: include: Acquire furniture data of a target furniture designed based on a first PDM database, wherein the target furniture includes an empty furniture having a hollow interior and a plurality of insertion components inserted into the interior space of the empty furniture; Analyze the component data of the multiple inserted components in the furniture data to obtain layout migration information of the target furniture, wherein the layout migration information is used to migrate the internal layout of the target furniture, so as to obtain new furniture having a similar internal space layout to the target furniture according to the layout migration information, wherein the layout migration information includes component types of the multiple inserted components and / or migration identifiers of dependent components, and the migration identifiers of dependent components include information for identifying corresponding internal empty surfaces of dependent components and / or positions of dependent components in the layout migration information.
2. The method according to claim 1, characterized in that: The layout migration information also includes the position ratio in the corresponding internal space of the dependent component.
3. The method according to claim 2, characterized in that The step of analyzing the component data of the plurality of inserted components in the furniture data to obtain the layout migration information of the target furniture includes: According to the order of establishing the dependency relationship between the multiple plug-in components from front to back, the following steps are performed for each plug-in component: Analyzing the component type of the inserted component, the component identification of the dependent component, and the position ratio in the corresponding internal space of the dependent component; Converting a component identifier of a component on which the inserted component depends into a migration identifier; The component type of the inserted component, the migration identifier of the dependent component, and the position ratio in the corresponding internal space of the dependent component are added to the layout migration information in sequence.
4. The method according to claim 1, characterized in that Convert the component IDs of the dependent components to migration IDs, including: If the dependent component is an inner hollow component, the information for identifying the inner hollow surface corresponding to the dependent component is used as the migration identifier of the dependent component, wherein the inner hollow component refers to the component constituting the inner space of the empty furniture; And / or, if the dependent component is an inserted component, the position of the dependent component in the layout migration information is used as the migration identifier of the dependent component.
5. The method according to any one of claims 1 to 4, characterized in that The method further includes: obtaining a layout style analysis operation of the user on the target furniture; The analyzing the component data of the inserted components in the furniture data includes: analyzing the component data of the plurality of inserted components in the furniture data in response to the layout style analysis operation.
6. A method for migrating an internal space layout, characterized in that: include: Acquire layout migration information, the layout migration information being used to migrate the internal layout of target furniture designed based on the first PDM database, the target furniture comprising empty furniture with an inner space and a plurality of inserted components inserted into the inner space of the empty furniture, the layout migration information comprising component types of the plurality of inserted components and / or migration identifiers of dependent components, the migration identifiers of the dependent components comprising information for identifying the inner empty surface corresponding to the dependent component and / or the position of the dependent component in the layout migration information; Acquire empty furniture with inner space used by the user for design based on the second PDM database; According to the layout migration information, components are inserted into the inner space of the empty furniture to obtain new furniture having a similar inner space layout to the target furniture.
7. The method according to claim 6, characterized in that The layout migration information also includes the position ratio in the corresponding internal space of the dependent component.
8. The method according to claim 7, characterized in that The inserting of components into the inner space of the empty furniture according to the layout migration information to obtain a new furniture having an inner space layout similar to that of the target furniture comprises: According to the order of establishing the dependency relationship between the multiple plug-in components from front to back, the following operations are performed for each of the multiple plug-in components: Inserting a newly added component corresponding to the component type of the inserted component in the second PDM database into the interior space of the empty furniture; Setting the dependency relationship and size of the newly added component according to the migration identifier of the component on which the inserted component depends; The position of the newly added component is set according to the position ratio of the inserted component in the corresponding internal space of the dependent component.
9. The method according to claim 8, characterized in that Setting the dependency relationship and size of the newly added component according to the migration identifier of the component on which the inserted component depends includes: Finding the component on which the newly added component depends in the current furniture according to the migration identifier of the component on which the inserted component depends; Calculating the size of the newly added component according to the components on which the newly added component depends; Set the dependencies and sizes of the newly added component.
10. The method according to claim 9, characterized in that The step of finding the component on which the newly added component depends in the current furniture according to the migration identifier of the component on which the inserted component depends includes: If the migration identifier of the component on which the inserted component depends is information for identifying the corresponding inner empty surface of the dependent component, the component corresponding to the inner empty surface identified by the information in the internal space of the current furniture is determined as the component on which the newly added component depends; And / or, if the migration identifier of the component on which the inserted component depends is the position of the dependent component in the layout migration information, the newly added component inserted by the inserted component corresponding to the position of the current furniture is determined as the component on which the newly added component depends.
11. The method according to any one of claims 6 to 10, characterized in that: The method further includes: obtaining a layout style migration operation of the user on the target furniture; The inserting components into the inner space of the empty furniture according to the layout migration information includes: in response to the layout style migration operation, inserting components into the inner space of the empty furniture according to the layout migration information.
12. The method according to any one of claims 6 to 10, characterized in that: The method also includes displaying the new furniture to the user.
13. A migration device for internal space layout, characterized in that: include: An acquisition module, configured to acquire furniture data of a target furniture designed based on a first PDM database, wherein the target furniture includes an empty furniture having a hollow interior and a plurality of insertion components inserted into the interior space of the empty furniture; An analysis module is used to analyze the component data of the multiple inserted components in the furniture data to obtain layout migration information of the target furniture, wherein the layout migration information is used to migrate the internal layout of the target furniture so as to obtain new furniture having a similar internal space layout to the target furniture according to the layout migration information, wherein the layout migration information includes component types of the multiple inserted components and / or migration identifiers of dependent components, and the migration identifiers of dependent components include information for identifying corresponding internal empty surfaces of dependent components and / or the positions of dependent components in the layout migration information.
14. A migration device for internal space layout, characterized in that: include: A first acquisition module is used to acquire layout migration information, wherein the layout migration information is used to migrate the internal layout of target furniture designed based on the first PDM database, wherein the target furniture includes empty furniture with an inner space and a plurality of inserted components inserted into the inner space of the empty furniture, wherein the layout migration information includes component types of the plurality of inserted components and / or migration identifiers of dependent components, wherein the migration identifier of the dependent component includes information for identifying an inner empty surface corresponding to the dependent component and / or a position of the dependent component in the layout migration information; The second acquisition module is used to acquire the empty furniture with inner space used by the user to design based on the second PDM database; A migration module is used to insert components into the internal space of the empty furniture according to the layout migration information to obtain a new furniture with a similar internal space layout to the target furniture.
15. A computer device, characterized in that: include: A memory, a processor; wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions, when executed by the processor, implement the method as described in any one of claims 1 to 12.
16. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed, the method according to any one of claims 1 to 12 is implemented.
Citation Information
Patent Citations
Indoor three-dimensional scene layout and color transfer generation method driven by image contents
CN104050722A
Method and device for optimizing clamp layout through MOEAD based on migration behaviors
CN110704959A