Cabinet body plate connecting method and device, electronic equipment and storage medium

By converting the surfaces of cabinets and panels into point information and using these points to represent connections, a linked processing mechanism is achieved. This solves the problem of cumbersome and difficult modification processes for cabinets and panels in existing technologies, thus improving the user experience.

CN115952647BActive Publication Date: 2026-06-02GUANGDONG 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-11-29
Publication Date
2026-06-02

AI Technical Summary

Technical Problem

In existing technologies, modifying cabinet panels requires manually inputting a large number of parameters and formulas, making the modification process cumbersome and difficult, especially when the connection relationships are complex, resulting in a poor user experience.

Method used

By converting the surfaces of cabinets and panels into point information, and using this point information to represent connection relationships, linkage processing is achieved. This reduces the need for users to input complex parameters and formulas, and allows for linkage processing directly based on the panel adjustment information input by the user.

Benefits of technology

It simplifies the process of adjusting components for users, reduces the difficulty of modification, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115952647B_ABST
    Figure CN115952647B_ABST
Patent Text Reader

Abstract

The application relates to a cabinet plate connection method and device, electronic equipment and a storage medium. The cabinet plate connection method determines first graph point information of a cabinet, and determines second graph point information and first graph point connection information corresponding to the second graph point information according to plate adjustment information input by a user, so as to perform linkage processing on the first graph point information and the second graph point information based on the first graph point connection information, and obtain a cabinet connection result corresponding to the plate adjustment information. The linkage processing of the first graph point information and the second graph point information can be completed through the plate adjustment information input by the user, and the user does not need to input complex and tedious parameters and formulas according to the level of the plate, so that the difficulty of adjusting the plate by the user is reduced, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of cabinets, and more particularly to a method, device, electronic device, and storage medium for connecting cabinet panels. Background Technology

[0002] The design process of a cabinet usually involves pre-modeling to complete the design of the cabinet and its internal panels. During the modeling process, modifications to the cabinet or its panels are often required. These modifications include adding new panels, modifying existing panels, and so on. Due to the limited space inside the cabinet and the connection relationships between the panels, when modifying a panel, it is also necessary to modify other panels that are connected to it.

[0003] The existing modification method is mainly manual. By inputting panel parameters and corresponding formulas into each panel, the corresponding dimensions, positions, and other related parameter values ​​of the panel are modified. For the positions and dimensions of other panels that need to be modified in conjunction, the new parameter values ​​are used to apply the formulas to calculate the new positions and dimensions to complete the modification. This process involves a large number of parameters and formulas. As the number of panel layers increases and the connection relationships become more complex, when users modify panels, they also need to input a number of related parameters and formulas according to the panel layer. The more layers there are and the more complex the connection relationships are, the more complex the corresponding parameters and formulas become. This makes the process of inputting parameters and formulas cumbersome and difficult for users when modifying panels. Summary of the Invention

[0004] In order to solve the above-mentioned technical problems, or at least partially solve the above-mentioned technical problems, this application provides a cabinet panel connection method, device, electronic device and storage medium.

[0005] Firstly, this application provides a method for connecting cabinet panels, including:

[0006] Determine the first drawing point information for the cabinet;

[0007] Based on the panel adjustment information input by the user, determine the second drawing point information and the first drawing point connection information corresponding to the second drawing point information;

[0008] Based on the first point connection information, the first point information and the second point information are processed together to obtain the cabinet connection result corresponding to the panel adjustment information.

[0009] Optionally, determining the first drawing point information of the cabinet includes:

[0010] Obtain the initial parameters of the cabinet;

[0011] The initial surface of the cabinet is determined based on the initial parameters of the cabinet;

[0012] The first point information is generated based on the initial surface. The first point information includes the normal direction information of the initial surface and the first offset corresponding to the initial surface.

[0013] Optionally, determining the second drawing point information and the corresponding first drawing point connection information based on the user-input board adjustment information includes:

[0014] Obtain user input for panel adjustment operations;

[0015] Based on the panel adjustment operation, the panel adjustment information is determined;

[0016] The target adjustment surface of the cabinet is determined based on the panel adjustment information;

[0017] The second point information is determined based on the target adjustment surface. The second point information includes the normal direction information of the target adjustment surface and the second offset corresponding to the target adjustment surface.

[0018] Based on the second point information, and in conjunction with the panel adjustment operation or the panel adjustment information, the connection information of the first point is determined.

[0019] Optionally, determining the first point connection information based on the second point information, combined with the panel adjustment operation or the panel adjustment information, includes:

[0020] Based on the panel adjustment operation or the panel adjustment information, determine the first adjustment value and the target connection relationship;

[0021] The second point information is adjusted based on the first adjustment value to obtain the third point information;

[0022] Based on the target connection relationship, the third point information, and the first point information, the connection information of the first point is determined.

[0023] Optionally, based on the first drawing point connection information, the first drawing point information and the second drawing point information are linked for processing to obtain the cabinet connection result corresponding to the panel adjustment information, including:

[0024] Based on the connection information of the first map point, determine the cabinet panel relationship queue;

[0025] Extract the first and second connection relationship information from the cabinet panel relationship queue;

[0026] When the first and second connection relationship information meets the preset cabinet connection relationship conditions, the second adjustment value is determined based on the first and second connection relationship information and the second drawing point information;

[0027] The first point information is modified based on the second adjustment value to obtain the fourth point information;

[0028] The cabinet connection result is obtained by performing linkage processing based on the fourth point information and the second point information.

[0029] Optionally, when the first and second connection relationship information does not meet the preset cabinet connection relationship conditions, the linkage processing of the first drawing point information and the second drawing point information further includes:

[0030] Determine the number of connection relationship information in the cabinet panel relationship queue;

[0031] If the number of connection relationship information is greater than a preset threshold, the first connection relationship information is moved to the end of the cabinet panel relationship queue;

[0032] If the number of connection relationship information is less than or equal to a preset number threshold, then the step of determining the second adjustment value based on the first connection relationship information and the second point information is executed.

[0033] Optionally, the step of performing linkage processing based on the fourth point information and the second point information to obtain the cabinet connection result includes:

[0034] By linking the fourth point information and the second point information, the connection information of the second point is obtained;

[0035] Based on the second point connection information, the first point information and the fourth point information are linked to obtain the cabinet connection result.

[0036] Secondly, this application provides a cabinet panel connecting device, the device comprising:

[0037] The module is defined to determine the first drawing point information of the cabinet.

[0038] The adjustment module is used to determine the second drawing point information and the first drawing point connection information corresponding to the second drawing point information based on the board adjustment information input by the user;

[0039] The processing module is used to perform linkage processing on the first point information and the second point information based on the first point connection information to obtain the cabinet connection result corresponding to the panel adjustment information.

[0040] Thirdly, an electronic device is provided, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;

[0041] Memory, used to store computer programs;

[0042] When the processor executes a program stored in the memory, it implements the steps of the cabinet panel connection method described in any embodiment of the first aspect.

[0043] Fourthly, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps of the cabinet panel connection method as described in any embodiment of the first aspect.

[0044] The technical solutions provided in this application have the following advantages compared with the prior art:

[0045] This application embodiment determines the first drawing point information of the cabinet and, based on the panel adjustment information input by the user, determines the second drawing point information and the corresponding first drawing point connection information. Based on the first drawing point connection information, the first and second drawing point information are linked and processed to obtain the cabinet connection result corresponding to the panel adjustment information. The linkage processing of the first and second drawing point information can be completed simply by the panel adjustment information input by the user, eliminating the need for the user to input complex and cumbersome parameters and formulas based on the panel hierarchy. This reduces the difficulty of panel adjustment for users and improves the user experience. Attached Figure Description

[0046] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0047] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0048] Figure 1 A flowchart illustrating a cabinet panel connection method provided in an embodiment of this application;

[0049] Figure 2 Example diagram of drawing points for a cabinet panel connection method provided in this application embodiment;

[0050] Figure 3 An example diagram illustrating the evenly distributed connection relationship of a cabinet panel connection method provided in this application embodiment;

[0051] Figure 4 An example diagram illustrating the dimensional distribution connection relationship of a cabinet panel connection method provided in this application embodiment;

[0052] Figure 5 A flowchart illustrating a cabinet panel connection method provided in another embodiment of this application;

[0053] Figure 6 An example diagram illustrating a use case of a cabinet panel connection method provided in an embodiment of this application;

[0054] Figure 7 This is an example diagram illustrating another application scenario of a cabinet panel connection method provided in one embodiment of this application;

[0055] Figure 8 This is an example diagram illustrating another application scenario of a cabinet panel connection method provided in one embodiment of this application;

[0056] Figure 9 This is a schematic diagram of the structure of a cabinet panel connection device provided in an embodiment of this application;

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

[0058] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0059] In the design and production of various cabinets such as wardrobes, drawers, etc., modeling is used to design the cabinet body and the structure of each panel inside the cabinet. The production is then based on the output of the model. During the modeling process, due to various factors, the cabinet body or panels are often modified continuously to achieve the desired output. The cabinet body represents the outermost cuboid, and the panels represent the horizontal or vertical partition structure inside the cabinet. Setting multiple panels inside the cuboid serves to divide the internal space of the cabinet into multiple storage spaces. That is, there are multiple connections between the cabinet body and the panels, and between the panels themselves. Because of these multiple connections, when modifying the cabinet body or panels, the cabinet bodies or panels connected to the modified cabinet bodies or panels also need to be modified accordingly.

[0060] There are two main methods for modification in existing technologies: one is the panel parameter modification method. This method mainly involves manually or with software assistance inputting panel parameters and corresponding formulas for each panel, which serves to input the position and dimensions of the panel to modify the corresponding dimensional parameter values. For the position and dimensions of other panels that need to be modified in conjunction, the new parameter values ​​are used to apply the formulas to calculate the new position and dimensions to complete the modification. In this process, because a large number of parameters and formulas are involved in the input, the number and complexity of parameters and formulas will increase as the number of panel layers and the connection relationships become more complex. The other method is the spatial parameter modification method. This method creates a rectangular cabinet space and divides the cabinet space into nested spaces. Panels are set into a certain space, and their position and dimensions change with the space. Modifying the dimension of a certain space in the cabinet recursively calculates the dimensions and positions of other spaces within it to complete the corresponding modification of the dimensions and positions of each space. All of the above methods require modification based on parameters. Whether it is modification of panel parameters or spatial parameters, as the number of panel layers increases and the connection relationship becomes more complex, the number and complexity of parameters and formulas continue to increase, which means that the modification process is cumbersome and difficult.

[0061] Figure 1 This is a flowchart illustrating a cabinet panel connection method provided in an embodiment of this application.

[0062] refer to Figure 1 This application provides a cabinet panel connection method, including:

[0063] S110: Determine the first drawing point information of the cabinet;

[0064] The cabinet panel connection method provided in this invention is applied to a design system, which can be a 3D design system, a 3D manufacturing system, a CNC system, etc. Specifically, it converts all surfaces of the cabinet and panels into graphical points, using these points to represent the surfaces of the cabinet and panels. The connection relationships between these graphical points represent the connection relationships between panels and the cabinet, and between panels themselves, thus eliminating the concept of space and transforming it into a connection between surfaces. The graphical points represent information about each surface, including normal direction information, offset, and component identification document (ID). The normal direction information indicates the normal direction of the surface, the offset indicates the distance of the surface from the origin in the normal direction, and the component ID indicates the component to which the surface belongs.

[0065] refer to Figure 2In one example, panel j includes a left surface a, a right surface b, a front surface c, a rear surface d, a bottom surface e, and a top surface f. The normal direction of surface a of panel j is -x, and its distance from the origin is 0. The normal direction of surface b of panel j is +x, and its distance from the origin is 10. The normal direction of surface c of panel j is -y, and its distance from the origin is 0. The normal direction of surface d of panel j is +y, and its distance from the origin is 10. The normal direction of surface e of panel j is -z, and its distance from the origin is 0. The normal direction of surface f of panel j is +z, and its distance from the origin is 2. The component IDs of surfaces a, b, c, d, e, and f of panel j are all component j. Therefore, the normal direction in the drawing point information of surface a of panel j is... The normal direction information for surface j (b) is -x with an offset of 0; the normal direction information for surface j (c) is +x with an offset of 0; the normal direction information for surface j (d) is -y with an offset of 2; the normal direction information for surface j (e) is -z with an offset of 10; the normal direction information for surface j (f) is +z with an offset of 0. The positive or negative sign before the normal direction information indicates the positional relationship of the surface within its component. For example, in the x-normal direction information, the left surface a and right surface b are +x and -x respectively, representing the left and right sides. The normal direction information for other directions is similar. The above is merely an example and can be set according to user needs; no limitations are imposed here. This shows that the specific component to which a surface is located can be determined based on the component ID, the normal direction information is used to determine the position of the surface in its component, and the offset represents the distance of the surface from the origin, which is used to determine the specific position in the coordinate system; therefore, the point information can accurately and effectively identify the function of each surface.

[0066] As for the dimensions of the panels, they can be generated based on the point information of each face. Taking panel j as an example, the length of panel j is the absolute value of the difference between the two deviations in the x-direction. 0 - (-10) = 10, so the length of panel j in the x-direction can be determined to be 10. Similarly, the lengths of each side of panel j can be obtained. Alternatively, based on the point information of each face of panel j, the six faces of panel j can be determined, and the intersection of the six faces can be determined in the modeling model to determine the length of each side of panel j. Another option is that when panel j extends into the negative region of the cabinet coordinate system, positive and negative parameters are added to the normal direction information. Here, the positive and negative parameters are used to indicate that the surface is located in the positive and negative regions of the cabinet coordinate system. In this case, the absolute value of the negative offset of the normal direction information is added to the absolute value of the positive deviation of the direction information to determine the length of each edge of panel j. The above methods are only examples; other methods for determining the dimension information can also be used, which are not limited here.

[0067] Furthermore, the connection relationships between the aforementioned drawing points are used to represent the surface connection relationships between panels or between panels and cabinets. The connection relationships corresponding to the drawing points are directional, with the starting point being the dependent drawing point and the ending point being the operational drawing point. That is, the connection relationship between drawing points is from the dependent drawing point to the operational drawing point. When the size or position of a panel changes, the drawing point that changes first is the dependent drawing point. After the dependent drawing point changes, the point at the end of the connection relationship is the operational drawing point. The setting of dependent and operational drawing points can be used to determine the relationship between various drawing points. When a drawing point is a dependent drawing point, it means that there is another operational drawing point that has a connection relationship with this drawing point. When a drawing point is an operational drawing point, it means that there is no next drawing point that this drawing point points to.

[0068] Connection relationships include relative connections, positionally divided connections, and dimensionally divided connections. Relative connections indicate two surfaces spaced at a fixed distance, meaning there is only one dependent drawing point and one operational drawing point, and the distance between the dependent and operational drawing points remains constant. Examples include two surfaces spaced at a fixed distance or two surfaces aligned on the same plane. Positionally divided connections indicate multiple plates spaced at the same distance. (See reference...) Figure 3 At this point, two dependent drawing points and multiple operational drawing points are needed. The distance between the two dependent drawing points is used to evenly distribute the multiple panels. That is, the drawing points of the multiple panels in the direction of the dependent drawing points are the operational drawing points. Based on the distance between the two dependent drawing points and the original dimensions of the panels, the centered position can be calculated, ensuring that the distance between each operational point and the drawing points of adjacent non-identical panels is equal. This completes the even distribution and connection of the positions of multiple panels, i.e. Figure 3In the diagram: the distance 'd' between dependency point 2 and operation point 1, operation point 2 and operation point 3, and operation point 4 and dependency point 1 is the same, which is used to ensure that the spacing between multiple plates is the same; the dimension-divided connection is used to indicate that two plates have the same thickness, see reference. Figure 4 At this point, two dependent drawing points and multiple operational drawing points are required. The thickness of the multiple plates between the two dependent drawing points needs to be the same. That is, the drawing points of multiple plates in the direction of the dependent drawing points are operational drawing points, and the distance between the two operational drawing points on each plate is equal. This completes the dimensional distribution and connection of multiple plates, i.e. Figure 4 In this context, the distance d between operation point 1 and operation point 2, and between operation point 3 and dependent point 4, is the same, which is used to ensure that the dimensions of multiple boards can remain the same.

[0069] Step S110 determines the first drawing point information of the cabinet; this may include:

[0070] S111: Obtain initial parameters for the cabinet;

[0071] S112: Determine the initial surface of the cabinet based on the initial parameters of the cabinet;

[0072] S113: Generate first point information based on the initial surface. The first point information includes the normal direction information of the initial surface and the first offset corresponding to the initial surface.

[0073] In this embodiment, the initial parameters of the cabinet include all parameters within the current cabinet, such as the position and dimensions of the cabinet surface and the position and dimensions of existing panel surfaces. Furthermore, the initial parameters also include the cabinet coordinate system. In this embodiment, the cabinet coordinate system is used as the reference to determine each initial surface in the initial parameters. World coordinates or other coordinate systems can also be used. When using different coordinate systems, corresponding coordinate transformations are required to ensure that all panels and the cabinet are represented based on the same coordinate system. After determining the initial surfaces, the first point information of each initial surface is determined based on the above method. Therefore, the first point information includes the normal direction information of the initial surface, the first offset corresponding to the initial surface, and the component ID. This converts all surfaces existing within the current cabinet into first point information.

[0074] Since the cabinet panel connection method in this embodiment is based on mapping points to cabinets and panels, when existing cabinets and panels are created in the existing way, and it is necessary to convert cabinets and panels created in the existing way to the cabinet panel connection method of this embodiment, there are two methods: one is to recreate each cabinet and panel individually using the mapping point information of this embodiment; the other is to directly analyze and convert the existing cabinets and panels into the corresponding mapping point information. The specific conversion process is as follows:

[0075] S210: Calculate the collision boxes of each panel cuboid and the cabinet cuboid to determine the point information of each surface of the panel and the cabinet.

[0076] S210: Traverse all the cuboid faces of the board and cabinet and perform overlap detection. If the normal of the board face is parallel to the normal of the cabinet face and the two faces overlap, add a relative relationship connection to the two related drawing points; thereby determining the connection relationship between the information of each drawing point.

[0077] In this embodiment, the modeling model used for the cabinet panel connection method provided in this embodiment is derived by back-calculating based on the existing cabinet and panel modeling model; it serves to allow users to convert between different models.

[0078] By converting the surfaces inside the cabinet into point information, the point information is used to determine the information of each surface of the panel and its connection relationship with other panels. Therefore, subsequent modifications to the panels or the cabinet are based on the point information. For example, adding a panel will result in the addition of corresponding point information, or modifying an existing panel will result in modified point information. However, whether adding, modifying, or otherwise changing point information, it is necessary to change the corresponding point information that is connected to that point information. Therefore, there is a question of how to determine the corresponding point information.

[0079] Step S120: Based on the board adjustment information input by the user, determine the second drawing point information and the first drawing point connection information corresponding to the second drawing point information.

[0080] In this embodiment, the user-input panel adjustment information is used to represent modification information for a certain panel, such as moving a certain panel. Because the panel has been operated on, other panels connected to it also need to be modified accordingly. Therefore, it is necessary to determine the other panels connected to the operated panel, that is, to determine the connection relationship of the operated panel. Thus, it is necessary to determine the second point information and the first point connection information corresponding to the second point information based on the panel adjustment information. Therefore, the first point connection information includes the connection relationship and the point information involved in the connection relationship. The second point information is the point information of the surface operated by the panel adjustment information. For example, when stretching a surface of the panel, the second point information represents the point information corresponding to the stretched surface. Or when the operation is to move the panel, the second point information is multiple point information corresponding to the moved panel. In this case, the second point information includes multiple points.

[0081] Therefore, it can be seen that step S120 is a step based on the user's operation, so it is also necessary to collect and analyze the user's operation. That is, step S120 may include:

[0082] S121: Obtain user input for panel adjustment operations;

[0083] S122: Determine the board adjustment information based on the board adjustment operation;

[0084] S123: Determine the target adjustment surface of the cabinet based on the panel adjustment information;

[0085] S124: Determine the second point information based on the target adjustment surface. The second point information includes the normal direction information of the target adjustment surface and the second offset corresponding to the target adjustment surface.

[0086] S125: Based on the second drawing point information, combined with the panel adjustment operation or panel adjustment information, determine the connection information of the first drawing point.

[0087] In this embodiment, the panel adjustment operation input by the user can be adding a panel, stretching the surface of a panel, moving a panel, etc., and can also include inputting specific parameter information, such as setting the distance between two surfaces to a preset distance. That is, the adjustment operation can include panel operation and parameter operation. For example, if the alarm adjustment operation input by the user is to stretch surface a of panel j, then based on the panel adjustment operation, the panel adjustment information is determined to be stretching surface a of panel j. Therefore, based on the panel adjustment information, the target adjustment surface of the cabinet is determined to be surface a of panel j. Then, based on the target adjustment surface, the second point information corresponding to surface a of panel j is determined. The second point information includes the normal direction information of the target adjustment surface and the second offset corresponding to the target adjustment surface. Finally, based on the second point information, combined with the panel adjustment information, stretching is performed. At this time, it is necessary to stretch surface a of panel j because after stretching surface a of panel j, other surfaces that have a connection relationship with surface a of panel j also need to be adaptively adjusted. Therefore, it is necessary to determine all the connection relationships with surface a of panel j, that is, to determine the first point connection information.

[0088] Step S125 may include:

[0089] S1251: Determine the first adjustment value and the target connection relationship based on the board adjustment operation or board adjustment information;

[0090] S1252: Adjust the second map point information based on the first adjustment value to obtain the third map point information;

[0091] S1253: Determine the connection information of the first point based on the target connection relationship, the information of the third point and the information of the first point.

[0092] In this embodiment, when the user inputs a panel operation and a target connection relationship, a first adjustment value is determined based on the panel operation. For example, surface a of panel j is stretched to a specified position, and panel j and panel i are connected in an evenly sized manner. At this time, the first adjustment value is determined based on the panel operation. The first adjustment value is used to characterize the value that needs to be adjusted for the second point information corresponding to surface a of panel j. Then, the target connection relationship is generated based on the evenly sized connection between panel j and panel i. The second point information is adjusted based on the first adjustment value, that is, after stretching surface a of panel j to a specified position, a third point information is obtained. The third point information is used to represent the surface of panel j after stretching surface a. Finally, based on the target connection relationship, the third point information, and the first point information, the first point connection information is determined. At this time, the first point connection information is used to represent the evenly sized connection between panel j and panel i after stretching surface a of panel j.

[0093] S130: Based on the connection information of the first drawing point, the first drawing point information and the second drawing point information are processed in a linked manner to obtain the cabinet connection result corresponding to the panel adjustment information.

[0094] In this embodiment, the connection information of the first drawing point is used to represent the connection relationship between the first drawing point information and the second drawing point information. Based on the connection information of the first drawing point information, the first drawing point information and the second drawing point information are linked. The linkage processing establishes the connection relationship between the first drawing point information and the second drawing point information to obtain the cabinet connection result corresponding to the panel adjustment information. Taking the panel adjustment information input by the user as adding panel information as an example, when the user inputs the adding panel information, the second drawing point information corresponding to each surface of the added panel is determined based on the added panel information. Then, it is determined whether the second drawing point information corresponding to each surface of the added panel has a connection relationship with the existing first drawing point information of the cabinet. This connection relationship can be determined based on the panel adjustment information input by the user, or it can be determined based on the relationship between the current first drawing point information and the second drawing point information. In this way, the connection relationship between the first drawing point information and the second drawing point information is established based on the first drawing point connection information, the linkage processing is completed, and the cabinet connection result corresponding to the adding panel operation is obtained. The cabinet connection result can be the modeling result.

[0095] When the user inputs "add panel information" as the adjustment information for a panel, it adds a panel surface that did not exist before. Therefore, the corresponding second drawing point information and the corresponding first drawing point connection relationship can be directly created. However, when the user inputs "modify panel information," since modifying panel information involves adjusting an existing panel, and each surface of the existing panel has a corresponding connection relationship with other surfaces, adjusting the panel will inevitably cause adjustments to the other surfaces connected to it. Therefore, when the user inputs "modify panel information," there is the question of how to determine the surfaces related to the modified surface and how to modify them.

[0096] refer to Figure 5 Step S130 may include:

[0097] S131: Determine the cabinet panel relationship queue based on the connection information of the first drawing point;

[0098] S132: Extract the first and second connection relationship information from the cabinet panel relationship queue;

[0099] S133: When the first and second connection relationship information meets the preset cabinet connection relationship conditions, the second adjustment value is determined based on the first and second connection relationship information and the second drawing point information;

[0100] S134: Modify the information of the first map point according to the second adjustment value to obtain the information of the fourth map point;

[0101] S135: Based on the information from the fourth and second diagram points, perform linkage processing to obtain the cabinet connection result.

[0102] In this embodiment, based on the aforementioned steps S110-S120, the first point connection information can be determined. The first point connection information is used to represent all connection relationships with the second point information corresponding to the adjustment surface. Therefore, the first point connection information includes at least one connection relationship and each point information corresponding to the connection relationship. Each connection relationship points to at least one first point information that has a connection relationship with the second point information. The first point information with connection relationships all need to be adaptively adjusted. Therefore, all connection relationships in the first point connection information need to be extracted and placed in the cabinet panel relationship queue. The cabinet panel relationship queue is used to store all connection relationships in the first point connection information. Next, each connection relationship in the cabinet panel relationship queue needs to be analyzed to determine the first point information corresponding to each connection relationship and modify it. Therefore, the first and second connection relationship information in the cabinet panel relationship queue is extracted. The relationship information refers to the connection relationship that is first in the cabinet panel relationship queue. At this point, it is necessary to determine whether the first connection relationship meets the preset cabinet connection relationship conditions. When the first connection relationship information meets the preset cabinet connection relationship conditions, the second adjustment value is determined based on the first connection relationship information and the second drawing point information. The first connection relationship information is used to represent the connection relationship between the second drawing point information and the first drawing point information. After the second drawing point information is adjusted by the panel adjustment information input by the user to obtain the third drawing point information, the connection relationship between the first drawing point information and the third drawing point information can be determined based on the first connection relationship information. This allows us to determine how to adjust the first drawing point information, i.e., the second adjustment value. The second adjustment value is used to adjust the first drawing point information to obtain the fourth drawing point information. Based on the fourth drawing point information and the third drawing point information modified by the second drawing point information, a linkage process is performed to obtain the cabinet connection result.

[0103] Furthermore, the aforementioned preset cabinet connection relationship conditions are used to indicate that a second adjustment value can be determined based on the current first and second connection relationship information and the second drawing point information. The process of determining the second adjustment value based on the first and second connection relationship information and the second drawing point information involves determining the first drawing point information, through the first and second connection relationship, what kind of connection relationship it has with the second drawing point information, for example, by referring to... Figure 6The second point information corresponds to the upper surface of plate j, and the first point information represents the upper surface of plate k. Because the upper surfaces of plate j and plate k are aligned on the same plane, they are relatively connected. Therefore, the first and second connection information determines that the second point information and the first point information are relatively connected. If the user inputs an operation to move plate j upwards, based on the aforementioned content, after adjusting the plate according to the user's input, the third point information is obtained. The third point information is used to represent the surface of plate j after it has moved upwards. At this point, because the upper surface of plate j... Since the surface of plate j and the upper surface of plate k are relatively connected, the first point information also needs to be adjusted based on the third point information and the relative connection. According to the aforementioned relative connection relationship, the relative distance between the upper surfaces of plate j and plate k is aligned with the same plane. Therefore, the upper surface of plate k also needs to be moved to the plane where the third point information is located. Thus, a second adjustment value is determined. Based on the second adjustment value, the first point information is modified to obtain the fourth point information. The fourth point is obtained by moving the upper surface of plate k to the plane where the third point information is located. (Refer to...) Figure 6 This completes the linkage processing of the fourth and second diagram point information, resulting in the cabinet connection result.

[0104] The above example illustrates a relative connection based on the first and second connection information. Since a relative connection involves only two point information, and one of them is the second point information, only one point information in the connection is undetermined. Therefore, the second adjustment value of the undetermined first point information can be determined based on the second point information and the first and second connection information. However, if the first and second connection information is a positionally or dimensionally equally divided connection, multiple point information will be involved. If there are two or more undetermined point information, it is impossible to determine the multiple undetermined point information based on the second point information and the first and second connection information. In this case, it is necessary to... The initial connection information is processed with a delay, prioritizing other connection relationships with only one undetermined point. While processing these other connection relationships, multiple undetermined points in either the positionally or dimensionally evenly distributed connection relationships can be retrieved, allowing these relationships to be processed as well. Therefore, the preset cabinet connection relationship condition indicates that only one point in the connection relationship is undetermined; this can be understood as a relative connection relationship, or that multiple points in either the positionally or dimensionally evenly distributed connection relationships have already been traversed. (Reference) Figure 5 This process requires adding a loop step for traversal:

[0105] When the first and second connection relationship information does not meet the preset cabinet connection relationship conditions, the linkage processing of the first drawing point information and the second drawing point information may also include:

[0106] S1321: Determine the number of connection relationship information in the cabinet panel relationship queue;

[0107] S1322: If the number of connection relationship information is greater than the preset number threshold, the first connection relationship information is moved to the end of the cabinet panel relationship queue;

[0108] S1323: If the number of connection relationship information is less than or equal to the preset number threshold, then execute step S133 to determine the second adjustment value based on the first connection relationship information and the second point information.

[0109] In this embodiment, when the first connection relationship information does not meet the preset cabinet connection relationship conditions, it is necessary to judge the connection relationship information data in the cabinet relationship list. The number of connection relationship information is used to represent the number of connection relationships in the cabinet panel relationship queue. When the number of connection relationship information is greater than the preset number threshold, the first connection relationship information is moved to the end of the cabinet panel relationship queue, thereby delaying the processing of the first connection relationship information. When the number of connection relationship information is less than or equal to the preset number threshold, step S133, which determines the second adjustment value based on the first connection relationship information and the second drawing point information, is executed. The reason for delaying the processing of the first connection relationship information is that when the preset cabinet connection relationship conditions are not met, there are multiple undetermined drawing points in the first connection relationship information. If the specific adjustment value of each point cannot be accurately determined based on the point information, a delay is performed. This ensures that the point information determined when processing other first and second connection relationship information may be from multiple undetermined point information. Therefore, this reduces the number of undetermined point information in the first and second connection relationship information that does not meet the preset cabinet connection relationship conditions. When the number of connection relationship information is less than or equal to the preset number threshold, it means that the connection relationship has been processed. At this point, even if there are multiple undetermined point information in the first and second connection relationship information, these undetermined point information can only be determined based on the current first and second connection relationship information. That is, step S133 determines the second adjustment value corresponding to the multiple undetermined point information based on the first and second connection relationship information and the second point information. The preset number threshold can be set according to user needs, such as 1, 2, 3, etc., and is not limited here.

[0110] refer to Figure 7In step S135, after aligning board k and board j, board l is still relatively connected to board k. Although the user only inputs the operation to move board j, and the movement of board j corresponds to the movement of board k, because board k has moved, and board k also has its own connection relationships, the movement of board k needs to be treated as a new board adjustment operation or the aforementioned board adjustment information, and the aforementioned steps are executed cyclically. That is, step S135 may include:

[0111] S1351: Link the information of the fourth map point and the information of the second map point to obtain the connection information of the second map point;

[0112] S1352: Based on the connection information of the second drawing point, link the information of the first drawing point and the information of the fourth drawing point to obtain the cabinet connection result.

[0113] In this embodiment, the fourth and second point information are linked. The fourth point information is the upper surface of component k after it has moved. Based on this fourth point information, the connection information of the second point is determined. This second point connection information represents the connection relationship of the fourth point information. Based on this second point connection information, the first and fourth point information are linked. That is, based on the connection relationship of the fourth point information, it is determined that the upper surface of component k and the upper surface of component l are relatively connected. The first point information represents the upper surface of component l. Then, the upper surface of component l is moved to maintain a relative connection with the upper surface of component k. This completes the linkage of the first and fourth point information, resulting in the cabinet connection result. (Refer to...) Figure 8 The above is merely an illustrative example. If there are other connections on the upper surface of panel l, the above cyclic steps continue until the last linked drawing point information has no connection. Here, connection only refers to the drawing point information as a dependent drawing point, with an operational drawing point having a connection with it. When the last linked drawing point information is an operational drawing point, the above steps stop being executed. The above cyclic traversal process can be based on a breadth-first traversal. First, traverse the connection relationships of the second drawing point information to generate a cabinet panel relationship queue. Then, traverse the cabinet panel relationship queue to determine and adjust each drawing point information in the connection relationship. After the drawing point information is adjusted, use the adjusted fourth drawing point information to continue traversing to generate the cabinet panel relationship queue, determine and adjust each drawing point information in the connection relationship, and so on.

[0114] It enables users to adjust various related boards based on simple input operations. Compared with existing board modification methods, it eliminates the need to input complex parameters and formulas, reducing the difficulty of board adjustment for users and improving the user experience.

[0115] refer to Figure 9 This application also discloses an embodiment providing a cabinet panel connection device, the device comprising:

[0116] Module 910 is used to determine the first drawing point information of the cabinet;

[0117] The adjustment module 920 is used to determine the second drawing point information and the first drawing point connection information corresponding to the second drawing point information based on the board adjustment information input by the user.

[0118] The processing module 930 is used to perform linkage processing on the first point information and the second point information based on the first point connection information to obtain the cabinet connection result corresponding to the panel adjustment information.

[0119] In one embodiment, the determining module 910 may include:

[0120] The acquisition unit is used to acquire the initial parameters of the cabinet;

[0121] An initial unit is used to determine the initial surface of the cabinet based on the initial parameters of the cabinet;

[0122] The generation unit is configured to generate the first point information based on the initial surface, wherein the first point information includes the normal direction information of the initial surface and the first offset corresponding to the initial surface.

[0123] In one embodiment, the adjustment module 920 may include:

[0124] The operation unit is used to acquire user input for panel adjustment operations;

[0125] An information unit is used to determine the panel adjustment information based on the panel adjustment operation;

[0126] The target unit is used to determine the target adjustment surface of the cabinet based on the panel adjustment information;

[0127] The determining unit is configured to determine the second point information based on the target adjustment surface, wherein the second point information includes the normal direction information of the target adjustment surface and the second offset corresponding to the target adjustment surface;

[0128] The unit is used to determine the connection information of the first drawing point based on the second drawing point information and in conjunction with the plate adjustment operation or the plate adjustment information.

[0129] Optionally, the bonding unit may include:

[0130] The relationship subunit is used to determine the first adjustment value and the target connection relationship based on the board adjustment operation or the board adjustment information;

[0131] An adjustment subunit is used to adjust the second point information based on the first adjustment value to obtain the third point information;

[0132] A determining subunit is used to determine the first point connection information based on the target connection relationship, the third point information, and the first point information.

[0133] In one embodiment, the processing module 930 may include:

[0134] The queue unit is used to determine the cabinet panel relationship queue based on the connection information of the first drawing points;

[0135] The extraction unit is used to extract the first and second connection relationship information in the cabinet panel relationship queue;

[0136] The second adjustment unit is used to determine a second adjustment value based on the first and second connection relationship information and the second drawing point information when the first and second connection relationship information meets the preset cabinet connection relationship conditions.

[0137] The modification unit is used to modify the first point information according to the second adjustment value to obtain the fourth point information.

[0138] The linkage unit is used to perform linkage processing based on the fourth point information and the second point information to obtain the cabinet connection result.

[0139] In one embodiment, when the first and second connection relationship information does not meet the preset cabinet connection relationship conditions, the processing module 930 may further include:

[0140] A quantity unit is used to determine the number of connection relationship information in the cabinet panel relationship queue.

[0141] A moving unit is used to move the first connection relationship information to the end of the cabinet panel relationship queue if the number of connection relationship information is greater than a preset number threshold.

[0142] An execution unit is configured to execute the step of determining the second adjustment value based on the first and second connection relationship information and the second point information if the number of connection relationship information is less than or equal to a preset number threshold.

[0143] In one embodiment, the linkage unit may include:

[0144] The linkage subunit is used to link the fourth point information and the second point information to obtain the second point connection information;

[0145] The result unit is used to link the first point information and the fourth point information based on the second point connection information to obtain the cabinet connection result.

[0146] The specific implementation process of the functions and roles of each module in the above device can be found in the implementation process of the corresponding steps in the above method, and will not be repeated here.

[0147] Referring to reference 10, this application provides an electronic device including a processor 1010, a communication interface 1020, a memory 1030, and a communication bus 1040, wherein the processor 1010, the communication interface 1020, and the memory 1030 communicate with each other via the communication bus 1040.

[0148] Memory 1030 is used to store computer programs;

[0149] In one embodiment of this application, when the processor 1010 executes the program stored in the memory 1030, it implements the steps of the cabinet panel connection method provided in any of the foregoing method embodiments.

[0150] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the cabinet panel connection method provided in any of the foregoing method embodiments.

[0151] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0152] The foregoing has described specific embodiments of the embodiments described in this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0153] The above description is merely a specific embodiment of the present invention, enabling those skilled in the art to understand or implement the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A method for connecting cabinet panels, characterized in that, include: Determine the first drawing point information for the cabinet; Based on the panel adjustment information input by the user, determine the second drawing point information and the first drawing point connection information corresponding to the second drawing point information; Based on the first point connection information, the first point information and the second point information are linked to obtain the cabinet connection result corresponding to the panel adjustment information; Specifically, based on the first drawing point connection information, the first drawing point information and the second drawing point information are linked and processed to obtain the cabinet connection result corresponding to the panel adjustment information, including: Based on the connection information of the first map point, determine the cabinet panel relationship queue; Extract the first and second connection relationship information from the cabinet panel relationship queue; When the first and second connection relationship information meets the preset cabinet connection relationship conditions, the second adjustment value is determined based on the first and second connection relationship information and the second drawing point information; The first point information is modified based on the second adjustment value to obtain the fourth point information; Based on the fourth point information and the second point information, the cabinet connection result is obtained by performing linkage processing. The process requires an additional iterative step: when the first and second connection relationship information does not meet the preset cabinet connection relationship conditions, the linkage processing of the first and second point information further includes: Determine the number of connection relationship information in the cabinet panel relationship queue; When the number of connection relationship information exceeds a preset threshold, the first connection relationship information is moved to the end of the cabinet panel relationship queue, the processing of the first connection relationship information is delayed, and multiple undetermined point information in the first connection relationship information that does not meet the preset cabinet connection relationship conditions is reduced. When the number of connection relationship information is less than or equal to a preset number threshold, the step of determining the second adjustment value based on the first connection relationship information and the second point information is executed.

2. The method according to claim 1, characterized in that, The determination of the first drawing point information of the cabinet includes: Obtain the initial parameters of the cabinet; The initial surface of the cabinet is determined based on the initial parameters of the cabinet; The first point information is generated based on the initial surface. The first point information includes the normal direction information of the initial surface and the first offset corresponding to the initial surface.

3. The method according to claim 1, characterized in that, The process of determining the second drawing point information and the corresponding first drawing point connection information based on the user-input board adjustment information includes: Obtain user input for panel adjustment operations; Based on the panel adjustment operation, the panel adjustment information is determined; The target adjustment surface of the cabinet is determined based on the panel adjustment information; The second point information is determined based on the target adjustment surface. The second point information includes the normal direction information of the target adjustment surface and the second offset corresponding to the target adjustment surface. Based on the second point information, and in conjunction with the panel adjustment operation or the panel adjustment information, the connection information of the first point is determined.

4. The method according to claim 3, characterized in that, The step of determining the connection information of the first drawing point based on the second drawing point information, combined with the board adjustment operation or the board adjustment information, includes: Based on the panel adjustment operation or the panel adjustment information, determine the first adjustment value and the target connection relationship; The second point information is adjusted based on the first adjustment value to obtain the third point information; Based on the target connection relationship, the third point information, and the first point information, the connection information of the first point is determined.

5. The method according to claim 1, characterized in that, The linkage processing based on the fourth and second point information to obtain the cabinet connection result includes: By linking the fourth point information and the second point information, the connection information of the second point is obtained; Based on the second point connection information, the first point information and the fourth point information are linked to obtain the cabinet connection result.

6. A cabinet panel connecting device, characterized in that, The device includes: The module is defined to determine the first drawing point information of the cabinet. The adjustment module is used to determine the second drawing point information and the first drawing point connection information corresponding to the second drawing point information based on the board adjustment information input by the user; The processing module is used to perform linkage processing on the first drawing point information and the second drawing point information based on the first drawing point connection information to obtain the cabinet connection result corresponding to the panel adjustment information; The processing module includes: The queue unit is used to determine the cabinet panel relationship queue based on the connection information of the first drawing points; The extraction unit is used to extract the first and second connection relationship information in the cabinet panel relationship queue; The second adjustment unit is used to determine a second adjustment value based on the first and second connection relationship information and the second drawing point information when the first and second connection relationship information meets the preset cabinet connection relationship conditions. The modification unit is used to modify the first point information according to the second adjustment value to obtain the fourth point information. The linkage unit is used to perform linkage processing based on the fourth drawing point information and the second drawing point information to obtain the cabinet connection result; The process requires an additional iterative step: when the first and second connection relationship information does not meet the preset cabinet connection relationship conditions, the processing module further includes: A quantity unit is used to determine the number of connection relationship information in the cabinet panel relationship queue. The moving unit is used to move the first and first connection information to the end of the cabinet panel relationship queue when the number of connection relationship information is greater than a preset number threshold, delay the processing of the first and first connection information, and reduce the number of undetermined drawing point information in the first and first connection relationship information that does not meet the preset cabinet connection relationship conditions. An execution unit is configured to execute the step of determining the second adjustment value based on the first and second connection relationship information and the second point information when the number of connection relationship information is less than or equal to a preset number threshold.

7. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; When a processor executes a program stored in a memory, it implements the steps of the cabinet panel connection method according to any one of claims 1-5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the cabinet panel connection method as described in any one of claims 1-5.