A plate adjustment method, device, electronic equipment and storage medium

By obtaining and analyzing the parameters and position relationships of door panels and slabs in the cabinet and determining the adjustment strategy, the problems of plate adjustment error, low efficiency and high cost in the existing technology are solved, and efficient and accurate plate parameter adjustment is achieved.

CN115048689BActive Publication Date: 2025-03-25GUANGDONG SANWEIJIA INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210388771.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-13
Publication Date
2025-03-25
Estimated Expiration
2042-04-13

AI Technical Summary

Technical Problem

The prior art has problems of error, low efficiency and high cost when adjusting the panel parameters in the cabinet, especially when adjusting across units, the panel parameters cannot be adjusted accurately.

Method used

By obtaining the parameters of the door panel and the cabinet unit where it is located, another cabinet unit related to the door panel is determined, and the position relationship of the plate is obtained. When the door panel parameters are updated, the adjustment strategy is determined based on the position relationship and the new parameters, and the parameters of the plates in the cabinet are adjusted.

Benefits of technology

It realizes the transfer of door panel parameters across units and accurately adjusts the panel parameters in the unit where the door panel is located and related units, reducing adjustment errors, improving efficiency and reducing costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115048689B_ABST
    Figure CN115048689B_ABST
Patent Text Reader

Abstract

The embodiments of the present invention relate to a method, device, electronic device and storage medium for adjusting panels, including: obtaining a first door panel parameter of a door panel and a first cabinet unit where the door panel is located; determining a second cabinet unit related to the door panel according to the first door panel parameter, wherein the first cabinet unit and the second cabinet unit form a cabinet; obtaining a positional relationship between the door panel and the panels in the cabinet; when the first door panel parameter is updated to the second door panel parameter, determining an adjustment strategy for the panels in the cabinet according to the positional relationship and the second door panel parameter; and adjusting the panel parameters of the panels in the cabinet according to the adjustment strategy. In this way, it is possible to transfer door panel parameters across units, adjust panel parameters in the unit where the door panel is located and in the unit related to the door panel, reduce errors in adjusting panels, improve adjustment efficiency, and reduce panel adjustment costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of home decoration design technology, and in particular to a method, device, electronic device and storage medium for adjusting a panel. Background Art

[0002] In the home decoration design process, the connection of panels in the cabinet and the installation of hardware of the cabinet both require specific panel position information. When the parameters of one panel are adjusted, the parameters of other panels and hardware in the cabinet will be affected. The parameters may be position parameters, size parameters, etc. In the prior art, it is usually performed manually to adjust the panel parameters, or to record the object names of the panels in the cabinet. When adjusting the parameters of the door panels in the cabinet, the panels that need to be adjusted are determined according to the object names, and the adjusted parameters are transmitted to the panels that need to be adjusted, thereby realizing the linkage function between the door panels and other components in the unit where the door panels are located.

[0003] When adjusting by object name, when the cabinet is composed of panels in different units, the object names may be duplicated. Therefore, in the case of cross-unit, the method of adjusting parameters by identifying the object name can only adjust the panel parameters in the unit where the door panel is located, and cannot accurately adjust the panel parameters across units. The panel parameters across units can only be adjusted manually, so the existing technology has the problems of untimely adjustment, easy to produce panel errors, low adjustment efficiency and high cost. Summary of the invention

[0004] In view of this, in order to solve the technical problems of easy error generation, low adjustment efficiency and high cost when adjusting the above-mentioned plate, the embodiments of the present invention provide a plate adjustment method, device, electronic device and storage medium.

[0005] In a first aspect, an embodiment of the present invention provides a method for adjusting a plate, comprising:

[0006] Acquire a first door panel parameter of a door panel and a first cabinet unit where the door panel is located;

[0007] Determine a second cabinet unit related to the door panel according to the first door panel parameter, wherein the first cabinet unit and the second cabinet unit form a cabinet;

[0008] Obtaining the positional relationship between the door panel and the panel in the cabinet;

[0009] When the first door panel parameter is updated to the second door panel parameter, determining an adjustment strategy for the panel in the cabinet according to the position relationship and the second door panel parameter;

[0010] The panel parameters of the panels in the cabinet are adjusted according to the adjustment strategy.

[0011] In a possible implementation manner, determining a second cabinet unit related to the door panel according to the first door panel parameter includes:

[0012] Determining the plane where the door panel is located and determining the position of the door panel according to the first door panel parameters;

[0013] Projecting from the center point of the second cabinet unit to the plane;

[0014] When the center point is projected to the position of the door panel, it is determined that the second cabinet unit is a second cabinet unit associated with the door panel.

[0015] In a possible implementation manner, obtaining the positional relationship between the door panel and the panel in the cabinet includes:

[0016] Projecting four endpoints of the cabinet board in the panel onto the plane, and when all four endpoints are projected to the position of the door panel, determining that the positional relationship between the door panel and the cabinet board is a first positional relationship;

[0017] When at least one of the four endpoints is not projected to the position of the door panel, it is determined that the positional relationship between the door panel and the cabinet panel is a second positional relationship.

[0018] In a possible implementation manner, obtaining the positional relationship between the door panel and the panel in the cabinet includes:

[0019] Projecting four endpoints of the functional part in the panel onto the plane, and when all of the four endpoints are not projected to the position of the door panel, determining that the positional relationship between the door panel and the functional part is a third positional relationship;

[0020] When at least one of the four endpoints of the functional part in the panel is projected to the position of the door panel, the positional relationship between the door panel and the functional part is determined to be a fourth positional relationship.

[0021] In a possible implementation manner, determining an adjustment strategy for a panel in the cabinet according to the position relationship and the second door panel parameter includes:

[0022] Determining, according to the second door panel parameter, an adjustment strategy of the cabinet panel in the first position relationship and the functional component in the fourth position relationship as a first strategy;

[0023] The adjustment strategy for determining the cabinet panel in the second position relationship and the functional parts in the third position relationship according to the second door panel parameters is the second strategy.

[0024] In a possible implementation manner, adjusting the panel parameters of the panels in the cabinet according to the adjustment strategy includes:

[0025] According to the second strategy, the panel parameters of the cabinet panel in the second position relationship and the functional component in the third position relationship are not adjusted;

[0026] The panel parameters of the cabinet panel in the first position relationship and the panel parameters of the functional component in the fourth position relationship are adjusted according to the first strategy.

[0027] In a possible implementation, the method further includes:

[0028] Determine display information according to the panel parameters, wherein the display information includes: quotation information, CAD installation information, point information and contour information;

[0029] The display information is displayed.

[0030] In a second aspect, an embodiment of the present invention provides a plate adjustment device, comprising:

[0031] An acquisition module, used for acquiring a first door panel parameter of a door panel and a first cabinet unit where the door panel is located;

[0032] A determination module, configured to determine a second cabinet unit associated with the door panel according to the first door panel parameter, wherein the first cabinet unit and the second cabinet unit form a cabinet;

[0033] The acquisition module is further used to acquire the positional relationship between the door panel and the panel in the cabinet;

[0034] The determination module is further configured to determine an adjustment strategy for the panel in the cabinet according to the position relationship and the second door panel parameter when the first door panel parameter is updated to the second door panel parameter;

[0035] An adjustment module is used to adjust panel parameters of panels in the cabinet according to the adjustment strategy.

[0036] In a third aspect, an embodiment of the present invention provides an electronic device, comprising: a processor and a memory, wherein the processor is used to execute a board adjustment program stored in the memory to implement the board adjustment method described in any one of the first aspects above.

[0037] In a fourth aspect, an embodiment of the present invention provides a storage medium, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the panel adjustment method described in any one of the first aspects above.

[0038] The panel adjustment scheme provided by the embodiment of the present invention is as follows: by obtaining the first door panel parameter of the door panel and the first cabinet unit where the door panel is located; determining the second cabinet unit related to the door panel according to the first door panel parameter, wherein the first cabinet unit and the second cabinet unit form a cabinet; obtaining the positional relationship between the door panel and the panel in the cabinet; when the first door panel parameter is updated to the second door panel parameter, determining the adjustment strategy of the panel in the cabinet according to the positional relationship and the second door panel parameter; and adjusting the panel parameters of the panel in the cabinet according to the adjustment strategy. This realizes the cross-unit transmission of door panel parameters, adjusts the panel parameters in the unit where the door panel is located and the unit related to the door panel, reduces the error of adjusting the panel, improves the adjustment efficiency, and reduces the panel adjustment cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 A schematic flow chart of a method for adjusting a plate provided by an embodiment of the present invention;

[0040] Figure 2 A schematic flow chart of another method for adjusting a plate provided by an embodiment of the present invention;

[0041] Figure 3 A schematic diagram of the structure of a cabinet provided by an embodiment of the present invention;

[0042] Figure 4 A schematic diagram of the structure of another cabinet provided by an embodiment of the present invention;

[0043] Figure 5 A schematic diagram of the structure of another cabinet provided by an embodiment of the present invention;

[0044] Figure 6 A schematic diagram of the structure of another cabinet provided by an embodiment of the present invention;

[0045] Figure 7 A schematic structural diagram of a plate adjustment device provided in an embodiment of the present invention;

[0046] Figure 8 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0048] To facilitate understanding of the embodiments of the present invention, specific embodiments will be further explained below in conjunction with the accompanying drawings. The embodiments do not constitute a limitation on the embodiments of the present invention.

[0049] Figure 1 A schematic diagram of a flow chart of a plate adjustment method provided by an embodiment of the present invention, such as Figure 1 As shown, the method specifically includes:

[0050] S11, obtaining a first door panel parameter of a door panel and a first cabinet unit where the door panel is located;

[0051] The panel adjustment method provided in the embodiment of the present invention is applied to a home decoration design system, which may be a 3D home cloud design system, a 3D home cloud manufacturing system, a numerical control system, etc. Specifically, the panel adjustment strategy is determined according to the positional relationship between the panel and the door panel in the cabinet to adjust the panel parameters of the unit where the door panel is located, and the panel parameters of the cross-units related to the door panel.

[0052] In this embodiment, the cross unit refers to a cabinet unit that is not a door panel and is related to the door panel. A cabinet is pre-generated according to design requirements, and the cabinet includes a door panel and at least two cabinet units. Each cabinet unit has at least four panels, and the four panels are located at the upper, lower, left and right positions of the cabinet unit, respectively. Four panels constitute a cabinet unit, that is, the cabinet consists of a door panel and panels in at least two cabinet units. The first door panel parameter includes a size parameter and a position parameter of the door panel. The size parameter can be the height, width and thickness of the door panel, and the position parameter can be the position coordinate of the door panel.

[0053] Specifically, the position parameters and size parameters of the door panel in the cabinet that are generated in advance are obtained as the first door panel parameters, and the unit where the door panel is located is obtained as the first cabinet unit.

[0054] S12, determining a second cabinet unit related to the door panel according to the first door panel parameter, the first cabinet unit and the second cabinet unit forming a cabinet;

[0055] In this embodiment, when the cabinet is composed of at least two cabinet units, the door panel can only belong to one of the cabinet units, and the other cabinet units are cabinet units related to the door panel. Therefore, the second cabinet unit is a unit related to the door panel and the first cabinet unit, and the panel in the second cabinet unit, the panel in the first cabinet unit and the door panel constitute the cabinet.

[0056] Specifically, the position and size of the door panel are determined according to the first door panel parameters, the coordinates of the door panel are determined according to the position and size, the coordinates of the center point of the cabinet unit are obtained, and it is determined whether the center point is covered by the door panel according to the coordinates of the door panel and the coordinates of the center point. When the center point of the cabinet unit is covered by the door panel, the cabinet unit is determined to be the second cabinet unit.

[0057] S13, obtaining the positional relationship between the door panel and the panel in the cabinet;

[0058] In this embodiment, the coordinates of the panel in the cabinet are obtained, and the degree to which the panel in the cabinet is covered by the door panel is determined according to the coordinates of the door panel and the coordinates of the panel. The positional relationship between the door panel and the panel is determined according to the coverage degree (for example, completely covered, completely uncovered, not completely covered, etc.). The method for determining the positional relationship is Figure 2 A detailed description is given in.

[0059] S14, when the first door panel parameter is updated to the second door panel parameter, determining an adjustment strategy for the panel in the cabinet according to the position relationship and the second door panel parameter;

[0060] In this embodiment, when the user adjusts the door panel parameters in the cabinet, the first door panel parameters will be updated to obtain the second door panel parameters. At this time, it is necessary to determine the adjustment strategy to link and update the panels in the cabinet. The second door panel parameters are the parameters of the door panel adjusted according to the user's adjustment requirements, and the adjustment strategy includes: determining the panels that need to be adjusted and the panels that do not need to be adjusted among the multiple panels, and updating the panel parameters of the panels that need to be adjusted.

[0061] Specifically, a correspondence between the second door panel parameters, position relationship and adjustment strategy is pre-set, and the adjustment strategy of the panel is determined from the correspondence when the first door panel parameters are updated to the second door panel parameters, wherein whether the panel needs to be updated can be determined from the correspondence based on the position relationship; and the panel parameters corresponding to the panel that needs to be updated can be determined from the correspondence based on the second door panel parameters.

[0062] S15. Adjust panel parameters of panels in the cabinet according to the adjustment strategy.

[0063] In this embodiment, adjusting the panel parameters of the panel according to the adjustment strategy includes: determining the size and position of the panel that need to be adjusted according to the adjustment strategy, and updating the panel parameters according to the size and position that need to be adjusted. So that the updated panel parameters match the second door panel parameters (for example, when the door panel thickness is updated from three centimeters to four centimeters, the panel adjustment strategy is determined from the corresponding relationship to shorten the length of the side of the panel perpendicular to the door panel in the position relationship of full coverage by one centimeter, and the width of the panel is updated from thirty centimeters to twenty-nine centimeters according to the adjustment strategy).

[0064] The panel adjustment method provided by the embodiment of the present invention obtains the first door panel parameter of the door panel and the first cabinet unit where the door panel is located; determines the second cabinet unit related to the door panel according to the first door panel parameter, and the first cabinet unit and the second cabinet unit form a cabinet; obtains the position relationship between the door panel and the panel in the cabinet; when the first door panel parameter is updated to the second door panel parameter, determines the adjustment strategy of the panel in the cabinet according to the position relationship and the second door panel parameter; and adjusts the panel parameters of the panel in the cabinet according to the adjustment strategy. This realizes the cross-unit transmission of door panel parameters, adjusts the panel parameters in the unit where the door panel is located and the unit related to the door panel, reduces the error of adjusting the panel, improves the adjustment efficiency, and reduces the cost of panel adjustment.

[0065] Figure 2 A schematic flow chart of another method for adjusting a plate provided by an embodiment of the present invention is shown as follows: Figure 2 As shown, the method specifically includes:

[0066] S21, obtaining a first door panel parameter of a door panel and a first cabinet unit where the door panel is located;

[0067] In this embodiment, this step is similar to S11, and the details can be referred to Figure 1 For the sake of brevity, the relevant description in is not repeated here.

[0068] S22. Determine the plane where the door panel is located and the position of the door panel according to the first door panel parameters; project from the center point of the second cabinet unit to the plane; when the center point is projected to the position of the door panel, determine that the second cabinet unit is a second cabinet unit related to the door panel.

[0069] In this embodiment, the number of cabinet units is two, the coordinates of each end point of the door panel are determined according to the first door panel parameter, four coordinates in the same vertical plane are selected to determine the plane where the door panel is located, and the position of the door panel in the plane is determined, wherein the plane where the door panel is located is a plane perpendicular to the horizontal plane, and is perpendicular to the panels that constitute the cabinet frame.

[0070] Specifically, the plane where the coordinates of the four endpoints of the front of the door panel are located is taken as the plane where the door panel is located, and the area enclosed by the coordinates of the four endpoints of the door panel in the plane is taken as the position of the door panel. The center point of the second cabinet unit is determined, and a ray is vertically emitted from the center point to the plane where the door panel is located. The intersection of the ray and the plane is the projection point of the center point. When the projection point is at the position of the door panel, it means that the door panel can cover the center point. At this time, the second cabinet unit is determined to be the second cabinet unit related to the door panel.

[0071] For example, Figure 3As shown, a is the door panel, b is the first cabinet unit, c is the second cabinet unit, d is the center point of the second cabinet unit, and the projection point of d is at the position of the door panel, so c is determined to be the second cabinet unit related to a.

[0072] S23, determining the type of panels in the cabinet;

[0073] In this embodiment, the types of panels include cabinet panels and functional parts. The cabinet panels are panels that constitute the cabinet structure, that is, the cabinet panels are four panels that constitute the cabinet unit in each cabinet unit, and the functional parts are panels inside the cabinet (for example, layer panels that divide the cabinet unit into multiple areas). The type of the panel can be determined based on the pre-set user identification (UID) of each panel. When the type of the panel is a cabinet panel, step S24 is executed; when the type of the panel is a functional part, step S25 is executed.

[0074] S24. Project the four endpoints of the cabinet panel in the panel onto the plane. When all the four endpoints are projected to the position of the door panel, the positional relationship between the door panel and the cabinet panel is determined to be a first positional relationship. When at least one of the four endpoints is not projected to the position of the door panel, the positional relationship between the door panel and the cabinet panel is determined to be a second positional relationship.

[0075] In this embodiment, the surface of the cabinet panel parallel to the door panel is determined, and four rays are sent perpendicularly to the plane where the door panel is located from the four contour points of the surface. The four intersection points of the four rays and the plane are projection points, and it is judged whether the four projection points are at the position of the door panel. When all four projection points are at the position of the door panel, it means that the cabinet panel is completely covered by the door panel. At this time, the positional relationship between the door panel and the cabinet panel is determined to be the first positional relationship; when at least one of the four projection points is not at the position of the door panel, it means that the cabinet panel is not completely covered by the door panel. At this time, the positional relationship between the door panel and the cabinet panel is determined to be the second positional relationship.

[0076] S25. Project the four endpoints of the functional part in the panel onto the plane. When all four endpoints are not projected to the position of the door panel, determine that the positional relationship between the door panel and the functional part is the third positional relationship. When at least one of the four endpoints of the functional part in the panel is projected to the position of the door panel, determine that the positional relationship between the door panel and the functional part is the fourth positional relationship.

[0077] In this embodiment, the surface of the functional component parallel to the door panel is determined, and four rays are sent perpendicularly to the plane where the door panel is located from the four contour points of the surface. The four intersection points of the four rays and the plane are projection points, and it is determined whether the four projection points are at the position of the door panel. When all the four projection points are not at the position of the door panel, it means that the functional component is not covered by the door panel at all. At this time, the positional relationship between the door panel and the functional component is determined to be the third positional relationship; when at least one of the four projection points is at the position of the door panel, it means that the functional component is partially or fully covered by the door panel. At this time, the positional relationship between the door panel and the functional component is determined to be the fourth positional relationship.

[0078] S26. Determine the adjustment strategy of the cabinet panel in the first position relationship and the functional parts in the fourth position relationship as the first strategy based on the second door panel parameters; determine the adjustment strategy of the cabinet panel in the second position relationship and the functional parts in the third position relationship as the second strategy based on the second door panel parameters.

[0079] In this embodiment, when the user adjusts the door panel parameters in the cabinet, the first door panel parameters will be updated to obtain the second door panel parameters. It is determined whether the corresponding cabinet panels and functional parts need to be adjusted based on the position relationship, and the panel parameters of the cabinet panels and functional parts that need to be adjusted are determined based on the second door panel parameters.

[0080] Specifically, a correspondence between the second door panel parameters, position relationship and adjustment strategy is pre-set, and the adjustment strategy of the panel is determined from the correspondence when the first door panel parameters are updated to the second door panel parameters, wherein the adjustment strategy corresponding to the cabinet panel in the first position relationship and the functional part in the fourth position relationship is the first strategy; and the adjustment strategy corresponding to the cabinet panel in the second position relationship and the functional part in the third position relationship is the second strategy.

[0081] In addition, the functional parts include shelves and other functional parts. The shelves are placed horizontally to divide the cabinet unit into multiple areas (for example Figure 4 1, 2, 3 and 4), when the distance between the layer and the bottom edge or top edge of the door panel is less than the set threshold, the layer is determined to be a layer that constitutes the door panel (for example Figure 4 In 3), the adjustment strategy of the layers constituting the door panel is determined to be the second strategy.

[0082] S27. According to the second strategy, the panel parameters of the cabinet panel in the second position relationship and the functional parts in the third position relationship are not adjusted; according to the first strategy, the panel parameters of the cabinet panel in the first position relationship and the functional parts in the fourth position relationship are adjusted.

[0083] In this embodiment, the first strategy is to adjust the panel parameters of the cabinet panel in the corresponding first position relationship and the panel parameters of the functional parts in the fourth position relationship according to the second door panel parameters; the second strategy is not to adjust the panel parameters of the cabinet panel in the second position relationship, not to adjust the panel parameters of the functional parts in the third position relationship, and not to adjust the layer panels that constitute the door panel.

[0084] Specifically, after the first door panel parameters of the door panel are updated to the second door panel parameters, the panels that do not need to be adjusted will be filtered when adjusting the panel parameters of the cabinet unit, that is, the layer panels that constitute the door panel will be filtered, and the cabinet panels in the second position relationship and the functional parts in the third position relationship will be filtered, and then the panel parameters corresponding to the cabinet panels in the first position relationship and the functional parts in the fourth position relationship will be determined according to the second door panel parameters. The panel parameters can adjust the size and position of the panel so that the adjusted panel matches the adjusted door panel, and the panel parameters are passed to the cabinet panels and functional parts that need to be adjusted so that the cabinet panels and functional parts that need to be adjusted update the panel parameters.

[0085] In a possible implementation, when there are multiple cabinet units, the adjustment strategies for multiple cabinet units related to the door panels can be determined by the above method, and the panel parameters of the cabinet units related to the door panels can be adjusted according to the adjustment strategies.

[0086] For example, Figure 4 As shown, when the number of cabinet units is three, A is the door panel, B is the first cabinet unit, C is the second cabinet unit, D is the third cabinet unit, 1, 2, 3, 4, and 5 are all functional parts, and the position relationship includes: 3 is the layer panel that constitutes the door panel, which is filtered according to the second strategy; 4 is completely not covered by the door panel, which is the third position relationship and is filtered according to the second strategy; 1, 2, and 5 are partially or fully covered by the door panel, which is the fourth position relationship, and the panel parameters need to be adjusted according to the first strategy.

[0087] For example, Figure 5 As shown, A is the door panel, B is the first cabinet unit, C is the second cabinet unit, 1, 2, 3, 4, 5, 6, 7, 8 are cabinet panels, and the position relationship includes: 1, 2, 3, 4, 5, 6 are not completely covered by the door panel, which is the second position relationship and is filtered according to the second strategy; 7 and 8 are completely covered by the door panel as the first position relationship, and the panel parameters need to be adjusted according to the first strategy.

[0088] For example, Figure 6 As shown, A is a door panel, B is a first cabinet unit, C is a second cabinet unit, 1, 2, 3, 4, 5, 6, 7, 8 are cabinet panels, and the position relationship includes: 1, 2, 3, 4, 5, 6, 7, 8 are not completely covered by the door panel, which is the second position relationship, and filtering is performed according to the second strategy.

[0089] S28. Determine display information according to the panel parameters, wherein the display information includes: quotation information, CAD installation information, point information and contour information; and display the display information.

[0090] In this embodiment, the size information of the materials required to generate the cabinet is determined based on the updated panel parameters, and the quotation information, CAD installation information, point information and door panel contour information are generated based on the size information. The output CAD installation document and production and processing point and contour information are optimized, and the above information is displayed on the target terminal or target screen.

[0091] The embodiment of the present invention provides a method for adjusting panels, which includes obtaining a first door panel parameter of a door panel and a first cabinet unit where the door panel is located; determining the plane where the door panel is located and the position of the door panel according to the first door panel parameter; projecting from the center point of the second cabinet unit to the plane; when the center point is projected to the position of the door panel, determining that the second cabinet unit is a second cabinet unit related to the door panel; determining the positional relationship of different panels by sending rays to the plane; and determining corresponding adjustment strategies according to different positional relationships to adjust the panel parameters of the cabinet panel and functional parts. This allows judging whether the panel parameters need to be adjusted when updating the door panel parameters according to the panel contour points, updating the panel parameters that need to be adjusted, and realizing the linkage of panels in different units, thereby improving the automation and standardization of panel adjustment and the efficiency of cabinet generation, and reducing errors in processing and production.

[0092] Figure 7 A schematic diagram of a structure of a plate adjustment device provided by an embodiment of the present invention, such as Figure 7 As shown, the device specifically includes:

[0093] An acquisition module 71, used to acquire a first door panel parameter of a door panel and a first cabinet unit where the door panel is located;

[0094] A determination module 72, configured to determine a second cabinet unit related to the door panel according to the first door panel parameter, wherein the first cabinet unit and the second cabinet unit form a cabinet;

[0095] The acquisition module 71 is further used to acquire the positional relationship between the door panel and the panel in the cabinet;

[0096] The determination module 72 is further configured to determine an adjustment strategy for the panel in the cabinet according to the position relationship and the second door panel parameter when the first door panel parameter is updated to the second door panel parameter;

[0097] The adjustment module 73 is used to adjust the panel parameters of the panels in the cabinet according to the adjustment strategy.

[0098] In a possible implementation manner, the determination module 72 is specifically configured to determine the plane where the door panel is located and the position of the door panel according to the first door panel parameter;

[0099] Projecting from the center point of the second cabinet unit to the plane;

[0100] When the center point is projected to the position of the door panel, it is determined that the second cabinet unit is a second cabinet unit associated with the door panel.

[0101] In a possible implementation, the determination module 72 is specifically configured to project four endpoints of the cabinet panel in the panel onto the plane, and when all four endpoints are projected to the position of the door panel, determine that the positional relationship between the door panel and the cabinet panel is a first positional relationship;

[0102] When at least one of the four endpoints is not projected to the position of the door panel, it is determined that the positional relationship between the door panel and the cabinet panel is a second positional relationship.

[0103] In a possible implementation manner, the determining module 72 is specifically configured to project four endpoints of the functional component in the panel onto the plane, and when all of the four endpoints are not projected to the position of the door panel, determine that the positional relationship between the door panel and the functional component is a third positional relationship;

[0104] When at least one of the four endpoints of the functional part in the panel is projected to the position of the door panel, the positional relationship between the door panel and the functional part is determined to be a fourth positional relationship.

[0105] In a possible implementation manner, the determination module 72 is specifically configured to determine, according to the second door panel parameter, that the adjustment strategy of the cabinet panel in the first position relationship and the functional component in the fourth position relationship is the first strategy;

[0106] The adjustment strategy for determining the cabinet panel in the second position relationship and the functional parts in the third position relationship according to the second door panel parameters is the second strategy.

[0107] In a possible implementation manner, the adjustment module 73 is specifically configured to not adjust the panel parameters of the cabinet panel in the second position relationship and the functional component in the third position relationship according to the second strategy;

[0108] The panel parameters of the cabinet panel in the first position relationship and the panel parameters of the functional component in the fourth position relationship are adjusted according to the first strategy.

[0109] In a possible implementation, the determination module 72 is specifically used to determine display information according to the panel parameters, and the display information includes: quotation information, CAD installation information, point information and contour information;

[0110] The display module 74 is used to display the display information.

[0111] The device control device provided in this embodiment can be as follows Figure 7 The device shown in FIG. 1 may perform the following steps: Figure 1 and 2 All steps of the adjustment method of the middle plate are realized Figure 1 and 2 For details on the technical effect of the adjustment method of the panel shown, please refer to Figure 1 For the sake of brevity, the relevant description is not repeated here.

[0112] Figure 8 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, Figure 8 The electronic device 800 shown includes: at least one processor 801, a memory 802, at least one network interface 804 and other user interfaces 803. The various components in the electronic device 800 are coupled together via a bus system 805. It is understood that the bus system 805 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 805 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 805 is not described in detail. Figure 8 Various buses are labeled as bus system 805 .

[0113] The user interface 803 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touch pad, or a touch screen).

[0114] It can be understood that the memory 802 in the embodiment of the present invention can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 802 described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0115] In some implementations, the memory 802 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system 8021 and an application program 8022 .

[0116] The operating system 8021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application program 8022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. The program for implementing the method of the embodiment of the present invention can be included in the application program 8022.

[0117] In the embodiment of the present invention, by calling the program or instruction stored in the memory 802, specifically, the program or instruction stored in the application 8022, the processor 801 is used to execute the method steps provided by each method embodiment, for example, including:

[0118] Acquire a first door panel parameter of a door panel and a first cabinet unit where the door panel is located;

[0119] Determine a second cabinet unit related to the door panel according to the first door panel parameter, wherein the first cabinet unit and the second cabinet unit form a cabinet;

[0120] Obtaining the positional relationship between the door panel and the panel in the cabinet;

[0121] When the first door panel parameter is updated to the second door panel parameter, determining an adjustment strategy for the panel in the cabinet according to the position relationship and the second door panel parameter;

[0122] The panel parameters of the panels in the cabinet are adjusted according to the adjustment strategy.

[0123] In a possible implementation manner, the plane where the door panel is located is determined according to the first door panel parameter, and the position of the door panel is determined;

[0124] Projecting from the center point of the second cabinet unit to the plane;

[0125] When the center point is projected to the position of the door panel, it is determined that the second cabinet unit is a second cabinet unit associated with the door panel.

[0126] In a possible implementation, the four endpoints of the cabinet board in the panel are projected onto the plane, and when all the four endpoints are projected to the position of the door panel, the positional relationship between the door panel and the cabinet board is determined to be a first positional relationship;

[0127] When at least one of the four endpoints is not projected to the position of the door panel, it is determined that the positional relationship between the door panel and the cabinet panel is a second positional relationship.

[0128] In a possible implementation, the four endpoints of the functional component in the panel are projected onto the plane, and when all the four endpoints are not projected to the position of the door panel, the positional relationship between the door panel and the functional component is determined to be a third positional relationship;

[0129] When at least one of the four endpoints of the functional part in the panel is projected to the position of the door panel, the positional relationship between the door panel and the functional part is determined to be a fourth positional relationship.

[0130] In a possible implementation manner, the adjustment strategy for the cabinet panel in the first position relationship and the functional component in the fourth position relationship is determined as the first strategy according to the second door panel parameter;

[0131] The adjustment strategy for determining the cabinet panel in the second position relationship and the functional parts in the third position relationship according to the second door panel parameters is the second strategy.

[0132] In a possible implementation manner, according to the second strategy, the panel parameters of the cabinet panel in the second position relationship and the functional component in the third position relationship are not adjusted;

[0133] The panel parameters of the cabinet panel in the first position relationship and the panel parameters of the functional component in the fourth position relationship are adjusted according to the first strategy.

[0134] In a possible implementation, display information is determined according to the panel parameters, and the display information includes: quotation information, CAD installation information, point information and contour information;

[0135] The display information is displayed.

[0136] The method disclosed in the above embodiment of the present invention can be applied to the processor 801, or implemented by the processor 801. The processor 801 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 801 or the instruction in the form of software. The above processor 801 can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor to execute, or the hardware and software units in the decoding processor can be executed. The software unit can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 802, and the processor 801 reads the information in the memory 802 and completes the steps of the above method in combination with its hardware.

[0137] It is understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPDevice, DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in the present application, or a combination thereof.

[0138] For software implementation, the technology described herein can be implemented by a unit that performs the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.

[0139] The electronic device provided in this embodiment may be Figure 8 The electronic device shown in FIG. 1 may perform the following steps: Figure 1 and 2 All steps of the adjustment method of the middle plate are realized Figure 1 and 2 For details on the technical effect of the adjustment method of the panel shown, please refer to Figure 1 and 2 For the sake of brevity, the relevant description is not repeated here.

[0140] The embodiment of the present invention also provides a storage medium (computer-readable storage medium). The storage medium here stores one or more programs. The storage medium may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid-state drive; the memory may also include a combination of the above-mentioned types of memory.

[0141] When one or more programs in the storage medium can be executed by one or more processors, the above-mentioned board adjustment method executed on the device side can be implemented.

[0142] The processor is used to execute the board adjustment program stored in the memory to implement the following steps of the board adjustment method executed on the device side:

[0143] Acquire a first door panel parameter of a door panel and a first cabinet unit where the door panel is located;

[0144] Determine a second cabinet unit related to the door panel according to the first door panel parameter, wherein the first cabinet unit and the second cabinet unit form a cabinet;

[0145] Obtaining the positional relationship between the door panel and the panel in the cabinet;

[0146] When the first door panel parameter is updated to the second door panel parameter, determining an adjustment strategy for the panel in the cabinet according to the position relationship and the second door panel parameter;

[0147] The panel parameters of the panels in the cabinet are adjusted according to the adjustment strategy.

[0148] In a possible implementation manner, the plane where the door panel is located is determined according to the first door panel parameter, and the position of the door panel is determined;

[0149] Projecting from the center point of the second cabinet unit to the plane;

[0150] When the center point is projected to the position of the door panel, it is determined that the second cabinet unit is a second cabinet unit associated with the door panel.

[0151] In a possible implementation, the four endpoints of the cabinet board in the panel are projected onto the plane, and when all the four endpoints are projected to the position of the door panel, the positional relationship between the door panel and the cabinet board is determined to be a first positional relationship;

[0152] When at least one of the four endpoints is not projected to the position of the door panel, it is determined that the positional relationship between the door panel and the cabinet panel is a second positional relationship.

[0153] In a possible implementation, the four endpoints of the functional component in the panel are projected onto the plane, and when all the four endpoints are not projected to the position of the door panel, the positional relationship between the door panel and the functional component is determined to be a third positional relationship;

[0154] When at least one of the four endpoints of the functional part in the panel is projected to the position of the door panel, the positional relationship between the door panel and the functional part is determined to be a fourth positional relationship.

[0155] In a possible implementation manner, the adjustment strategy for the cabinet panel in the first position relationship and the functional component in the fourth position relationship is determined as the first strategy according to the second door panel parameter;

[0156] The adjustment strategy for determining the cabinet panel in the second position relationship and the functional parts in the third position relationship according to the second door panel parameters is the second strategy.

[0157] In a possible implementation manner, according to the second strategy, the panel parameters of the cabinet panel in the second position relationship and the functional component in the third position relationship are not adjusted;

[0158] The panel parameters of the cabinet panel in the first position relationship and the panel parameters of the functional component in the fourth position relationship are adjusted according to the first strategy.

[0159] In a possible implementation, display information is determined according to the panel parameters, and the display information includes: quotation information, CAD installation information, point information and contour information;

[0160] The display information is displayed.

[0161] The professionals should further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0162] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0163] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for adjusting a plate, characterized in that: include: Acquire a first door panel parameter of a door panel and a first cabinet unit where the door panel is located; Determine a second cabinet unit related to the door panel according to the first door panel parameter, wherein the first cabinet unit and the second cabinet unit form a cabinet; Obtaining the positional relationship between the door panel and the panel in the cabinet; When the first door panel parameter is updated to the second door panel parameter, determining an adjustment strategy for the panel in the cabinet according to the position relationship and the second door panel parameter; Adjusting the panel parameters of the panels in the cabinet according to the adjustment strategy, wherein the types of the panels include cabinet panels and functional parts, the cabinet panels are panels constituting the cabinet structure, and the functional parts are panels inside the cabinet; Wherein, determining a second cabinet unit related to the door panel according to the first door panel parameter includes: Determining the plane where the door panel is located and determining the position of the door panel according to the first door panel parameters; Projecting from the center point of the second cabinet unit to the plane where the door panel is located; When the center point is projected to the position of the door panel, determining that the second cabinet unit is a second cabinet unit associated with the door panel; The obtaining of the positional relationship between the door panel and the panel in the cabinet includes: Determine a surface in the cabinet panel that is parallel to the door panel, send four rays perpendicularly from the four contour points of the surface to the plane where the door panel is located, and the four intersection points of the four rays and the plane are projection points. Determine whether the four projection points are at the position of the door panel. When all the four projection points are at the position of the door panel, determine that the positional relationship between the door panel and the cabinet panel is the first positional relationship; When at least one of the four projection points is not at the position of the door panel, determining that the positional relationship between the door panel and the cabinet panel is a second positional relationship; Determine a surface of the functional component that is parallel to the door panel, send four rays perpendicularly from the four contour points of the surface to the plane where the door panel is located, and the four intersection points of the four rays and the plane are projection points. Determine whether the four projection points are at the position of the door panel. When all the four projection points are not at the position of the door panel, determine that the positional relationship between the door panel and the functional component is the third positional relationship; When at least one of the four projection points is at the position of the door panel, the positional relationship between the door panel and the functional component is determined to be the fourth positional relationship.

2. The method according to claim 1, characterized in that The step of determining an adjustment strategy for the panel in the cabinet according to the position relationship and the second door panel parameter includes: Determining, according to the second door panel parameter, an adjustment strategy of the cabinet panel in the first position relationship and the functional component in the fourth position relationship as a first strategy; The adjustment strategy for determining the cabinet panel in the second position relationship and the functional parts in the third position relationship according to the second door panel parameters is the second strategy.

3. The method according to claim 2, characterized in that The step of adjusting the panel parameters of the panel in the cabinet according to the adjustment strategy includes: According to the second strategy, the panel parameters of the cabinet panel in the second position relationship and the functional component in the third position relationship are not adjusted; The panel parameters of the cabinet panel in the first position relationship and the panel parameters of the functional component in the fourth position relationship are adjusted according to the first strategy.

4. The method according to claim 1, characterized in that: The method further comprises: Determine display information according to the panel parameters, wherein the display information includes: quotation information, CAD installation information, point information and contour information; The display information is displayed.

5. A plate adjustment device, characterized in that: include: An acquisition module, used for acquiring a first door panel parameter of a door panel and a first cabinet unit where the door panel is located; A determination module, configured to determine a second cabinet unit associated with the door panel according to the first door panel parameter, wherein the first cabinet unit and the second cabinet unit form a cabinet; The acquisition module is further used to acquire the positional relationship between the door panel and the panel in the cabinet; The determination module is further configured to determine an adjustment strategy for the panel in the cabinet according to the position relationship and the second door panel parameter when the first door panel parameter is updated to the second door panel parameter; An adjustment module, used for adjusting the panel parameters of the panels in the cabinet according to the adjustment strategy, wherein the types of panels include cabinet panels and functional components, the cabinet panels are panels constituting the cabinet structure, and the functional components are panels inside the cabinet; Wherein, determining a second cabinet unit related to the door panel according to the first door panel parameter includes: Determining the plane where the door panel is located and determining the position of the door panel according to the first door panel parameters; Projecting from the center point of the second cabinet unit to the plane where the door panel is located; When the center point is projected to the position of the door panel, determining that the second cabinet unit is a second cabinet unit associated with the door panel; The obtaining of the positional relationship between the door panel and the panel in the cabinet includes: Determine a surface in the cabinet panel that is parallel to the door panel, send four rays perpendicularly from the four contour points of the surface to the plane where the door panel is located, and the four intersection points of the four rays and the plane are projection points. Determine whether the four projection points are at the position of the door panel. When all the four projection points are at the position of the door panel, determine that the positional relationship between the door panel and the cabinet panel is the first positional relationship; When at least one of the four projection points is not at the position of the door panel, determining that the positional relationship between the door panel and the cabinet panel is a second positional relationship; Determine a surface of the functional component that is parallel to the door panel, send four rays perpendicularly from the four contour points of the surface to the plane where the door panel is located, and the four intersection points of the four rays and the plane are projection points. Determine whether the four projection points are at the position of the door panel. When all the four projection points are not at the position of the door panel, determine that the positional relationship between the door panel and the functional component is the third positional relationship; When at least one of the four projection points is at the position of the door panel, the positional relationship between the door panel and the functional component is determined to be the fourth positional relationship.

6. An electronic device, characterized in that: include: A processor and a memory, wherein the processor is used to execute a panel adjustment program stored in the memory to implement the panel adjustment method according to any one of claims 1 to 4.

7. A storage medium, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the plate adjustment method described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Intelligent cloud processing system and method for selecting wardrobe to generate three views

    CN110610045A

  • Polygonal cabinet machining method and device and electronic equipment

    CN111241643A