Method, device, electronic device and storage medium for generating BOM list of switch cabinet

By judging the standardization of the switch cabinet and calculating the size of the parts, the BOM list is generated, which solves the problems of long generation cycle and high error rate in the existing technology, and realizes efficient automation of switch cabinet production.

CN118520538BActive Publication Date: 2024-10-22SHIJIAZHUANG KELIN ELECTRICAL EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410954271.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-10-22
Estimated Expiration
2044-07-17

AI Technical Summary

Technical Problem

In the existing technology, the generation cycle of the switch cabinet BOM list is long and errors are prone to occur, resulting in low production efficiency.

Method used

By obtaining the parameters of the switch cabinet, it is determined whether it is a standard switch cabinet. If so, the BOM list is directly generated; if not, the part size is calculated based on the parameters and the assembly is generated, and then the BOM list is automatically generated to achieve automated generation.

Benefits of technology

It improves the efficiency of BOM list generation, reduces manual errors, and realizes efficient automation of switch cabinet production.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118520538B_ABST
    Figure CN118520538B_ABST
Patent Text Reader

Abstract

The present invention provides a method, device, electronic device and storage medium for generating a BOM list of a switch cabinet. The method comprises: obtaining parameters of a target switch cabinet; judging whether the target switch cabinet is a standard switch cabinet based on the parameters of the target switch cabinet; if the target switch cabinet is not a standard switch cabinet, determining the size of each part in the target switch cabinet based on the parameters of the target switch cabinet; generating an assembly corresponding to the target switch cabinet based on the sizes of each part; determining the BOM list of the target switch cabinet based on the assembly, so as to produce the target switch cabinet based on the BOM list. The present invention can realize efficient and automatic generation of the BOM list.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a method, device, electronic device and storage medium for generating a BOM list of a switch cabinet. Background Art

[0002] The main function of the switchgear is to open and close, control and protect electrical equipment in the process of power generation, transmission, distribution and energy conversion in the power system. The components in the switchgear mainly include circuit breakers, disconnectors, load switches, operating mechanisms, mutual inductors and various protection devices.

[0003] In order to meet the different needs of users for switchgear voltage levels and switchgear sizes, sheet metal designers usually draw parts, make assemblies, and generate bills of materials (BOM) based on the specific parameters of the switchgear in the CAD primary system diagram provided by the user, and finally issue them for production based on the BOM. In this process, parts drawing, assembly making, and BOM generation all need to be done manually by staff, which takes a long time and may result in errors. Summary of the invention

[0004] The embodiments of the present invention provide a method, device, electronic device and storage medium for generating a BOM list of a switch cabinet, so as to solve the problem that the generation cycle of the BOM list of the switch cabinet is long and errors may occur.

[0005] In a first aspect, an embodiment of the present invention provides a method for generating a switch cabinet BOM list, comprising:

[0006] Get the parameters of the target switch cabinet;

[0007] Based on various parameters of the target switchgear, determine whether the target switchgear is a standard switchgear;

[0008] If the target switch cabinet is not a standard switch cabinet, determining the part size of each part in the target switch cabinet based on various parameters of the target switch cabinet;

[0009] Generate the assembly corresponding to the target switch cabinet based on the dimensions of each part;

[0010] A BOM list of a target switch cabinet is determined based on the assembly, so as to produce the target switch cabinet based on the BOM list.

[0011] In a possible implementation, the parameters include voltage level, cabinet type, cabinet width, cabinet height, and cabinet depth; based on the parameters of the target switch cabinet, determining whether the target switch cabinet is a standard switch cabinet includes:

[0012] Determine the standard cabinet width, standard cabinet height and standard cabinet depth corresponding to the target switch cabinet based on the voltage level and cabinet type of the target switch cabinet;

[0013] If the cabinet width of the target switch cabinet is the same as the standard cabinet width, the cabinet height is the same as the standard cabinet height, and the cabinet depth is the same as the standard cabinet depth, the target switch cabinet is determined to be a standard switch cabinet, otherwise the target switch cabinet is determined to be a non-standard switch cabinet.

[0014] In a possible implementation, the parts include a front door, a rear door, a top cover, a bottom plate, a side plate, a crossbeam, and a longitudinal beam; and the part size of each part in the target switch cabinet is determined based on various parameters of the target switch cabinet, including:

[0015] If the width of the target switch cabinet is different from the standard cabinet width, or the height of the target switch cabinet is different from the standard cabinet height, the dimensions of the front door and rear door are calculated based on the cabinet width and cabinet height;

[0016] If the width of the target switch cabinet is different from the standard cabinet width, or the depth of the target switch cabinet is different from the standard cabinet depth, the size of the top cover and bottom plate is calculated based on the cabinet width and cabinet depth;

[0017] If the height of the target switch cabinet is different from the standard cabinet height, or the depth of the target switch cabinet is different from the standard cabinet depth, the size of the side panel is calculated based on the cabinet height and cabinet depth;

[0018] If the target switchgear cabinet width is different from the standard cabinet width, the size of the beam is calculated based on the cabinet width;

[0019] If the panel depth of the target switchgear differs from the standard panel depth, the dimensions of the longitudinal beams are calculated based on the panel depth.

[0020] In a possible implementation, the calculation formula for the component size of each component in the target switch cabinet is:

[0021] Front door width = back door width = cabinet width - A

[0022] Front door height = back door height = cabinet height - B

[0023] Top cover width = bottom plate width = cabinet width - C

[0024] Top cover depth = bottom plate depth = cabinet depth - D

[0025] Side panel height = cabinet height - E

[0026] Side panel depth = cabinet depth - F

[0027] Beam length = cabinet width - G

[0028] Length of longitudinal beam = cabinet depth - H

[0029] Among them, A, B, C, D, E, F, G, and H are preset values.

[0030] In a possible implementation, generating an assembly corresponding to a target switch cabinet based on the sizes of various parts includes:

[0031] Determine the standard assembly corresponding to the target switchgear based on the voltage level and type of the target switchgear;

[0032] The part names of the parts affected by the non-standard parameters of the target switch cabinet are used as the part names of the non-standard parts in the target switch cabinet; wherein the parameters in the target switch cabinet that are different from the standard parameters are non-standard parameters;

[0033] For each non-standard part, based on the voltage level and cabinet type of the target switch cabinet, the part name and part size of the non-standard part, a search is performed in the preset non-standard parts library to obtain the part numbers of multiple non-standard parts of the target switch cabinet;

[0034] For each standard part in the standard assembly, the part number of the standard part is replaced with the part number of the non-standard part having the same part name as the standard part, so as to obtain the assembly corresponding to the target switch cabinet.

[0035] In a possible implementation, determining the BOM list of the target switch cabinet based on the assembly includes:

[0036] For each part in the assembly, determine the BOM information of the part based on the part number of the part;

[0037] Integrate the BOM information of each part in the assembly to obtain the BOM list of the target switch cabinet.

[0038] In a possible implementation, obtaining parameters of a target switch cabinet includes:

[0039] Obtaining a CAD primary system diagram of a target switch cabinet; wherein the CAD primary system diagram includes a plurality of layers, and each layer includes a parameter of the target switch cabinet;

[0040] The parameters of the target switchgear are extracted from each layer of the CAD primary system diagram based on a preset order.

[0041] In a second aspect, an embodiment of the present invention provides a device for generating a switch cabinet BOM list, including:

[0042] An acquisition module is used to acquire the parameters of the target switch cabinet;

[0043] A judgment module, used for judging whether the target switch cabinet is a standard switch cabinet based on various parameters of the target switch cabinet;

[0044] A calculation module, for determining the component size of each component in the target switch cabinet based on various parameters of the target switch cabinet if the target switch cabinet is not a standard switch cabinet;

[0045] Assembly module, used to generate the assembly corresponding to the target switch cabinet based on the dimensions of each part;

[0046] The integration module is used to determine the BOM list of the target switch cabinet based on the assembly, so as to produce the target switch cabinet based on the BOM list.

[0047] In a third aspect, an embodiment of the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the processor implements the steps of the method described in the first aspect or any possible implementation manner of the first aspect.

[0048] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect or any possible implementation method of the first aspect are implemented.

[0049] The embodiment of the present invention provides a method, device, electronic device and storage medium for generating a BOM list of a switch cabinet. After obtaining the parameters of the switch cabinet, it is first determined whether it belongs to a standard switch cabinet. If so, the BOM list can be directly generated using the existing standard switch cabinet information to improve efficiency. If not, the specific part dimensions are calculated according to the switch cabinet parameters, and these part dimensions are used to automatically generate an assembly of the target switch cabinet, thereby obtaining the BOM list and realizing efficient and automatic generation of the BOM list. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0051] Figure 1 It is a flow chart of a method for generating a switch cabinet BOM list provided by an embodiment of the present invention;

[0052] Figure 2 This is an interactive interface diagram of a method for generating a switch cabinet BOM list provided by an embodiment of the present invention;

[0053] Figure 3 is a schematic diagram of a parts replacement interface provided by an embodiment of the present invention;

[0054] Figure 4 is a schematic diagram of the names of parts provided by an embodiment of the present invention;

[0055] Figure 5 It is a CAD primary system diagram provided by an embodiment of the present invention;

[0056] Figure 6 It is a schematic diagram of a CAD primary system diagram import interface provided by an embodiment of the present invention;

[0057] Figure 7 It is a schematic diagram of the effect of importing a CAD primary system diagram provided by an embodiment of the present invention;

[0058] Figure 8 This is a schematic diagram of the effect after the voltage level parameters are obtained according to an embodiment of the present invention;

[0059] Fig. 9 is a flow chart of a method for generating a switch cabinet BOM list provided by another embodiment of the present invention;

[0060] Fig.10 It is a structural schematic diagram of a device for generating a switch cabinet BOM list provided by an embodiment of the present invention;

[0061] Fig.11 It is a schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0062] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.

[0063] In order to make the purpose, technical solutions and advantages of the present invention more clear, specific embodiments will be described below in conjunction with the accompanying drawings.

[0064] See also Figure 1 , which shows a flow chart of the implementation of the method for generating a switch cabinet BOM list provided by an embodiment of the present invention, which is described in detail as follows:

[0065] Step 101: Obtain parameters of a target switch cabinet.

[0066] In this embodiment, the parameters of the target switch cabinet may include parameters of voltage level, cabinet type and cabinet size. The functions of the present invention can be realized based on solidworks secondary development, and an interactive interface can be made using Visual Basic programming. By clicking and inputting information in the interactive interface, the required switch cabinet assembly and BOM can be automatically generated.

[0067] Step 102: Based on various parameters of the target switch cabinet, determine whether the target switch cabinet is a standard switch cabinet.

[0068] In this embodiment, the standard switch cabinet refers to a switch cabinet with recorded parameters, assembly and BOM list. When the target switch cabinet is a standard switch cabinet, the saved assembly and BOM list can be directly retrieved and used to quickly enter the production stage. If it is not a standard switch cabinet, it can be adjusted based on the standard switch cabinet and combined with the specific parameters of the target switch cabinet to complete the assembly and generate the BOM list more quickly.

[0069] In a possible implementation, the parameters include voltage level, cabinet type, cabinet width, cabinet height, and cabinet depth; based on the parameters of the target switch cabinet, determining whether the target switch cabinet is a standard switch cabinet includes:

[0070] Determine the standard cabinet width, standard cabinet height and standard cabinet depth corresponding to the target switch cabinet based on the voltage level and cabinet type of the target switch cabinet;

[0071] If the cabinet width of the target switch cabinet is the same as the standard cabinet width, the cabinet height is the same as the standard cabinet height, and the cabinet depth is the same as the standard cabinet depth, the target switch cabinet is determined to be a standard switch cabinet, otherwise the target switch cabinet is determined to be a non-standard switch cabinet.

[0072] In this embodiment, the standard cabinet width, standard cabinet height and standard cabinet depth refer to the cabinet width, cabinet height and cabinet depth of a standard switch cabinet under a certain voltage level and cabinet type. The cabinet width, cabinet height and cabinet depth of the target switch cabinet can be compared with the cabinet width, cabinet height and cabinet depth of the standard switch cabinet to determine whether it is a standard switch cabinet.

[0073] For example, a standard switch cabinet of KYN28 type at a certain voltage level has a width of 600mm, a height of 2400mm, and a depth of 1750mm. If any of the dimensions of the target switch cabinet is different from the standard switch cabinet, it can be judged as a non-standard switch cabinet. If all the dimension parameters are the same, it is a standard switch cabinet.

[0074] Step 103: If the target switch cabinet is not a standard switch cabinet, determine the component size of each component in the target switch cabinet based on various parameters of the target switch cabinet.

[0075] In this embodiment, when the target switch cabinet is not a standard switch cabinet, a non-standard parameter will affect the sizes of several types of parts. According to the corresponding relationship between the parameter and the part size, the program can be set to automatically calculate the part size.

[0076] like Figure 2 As shown, the user can enter the cabinet width, cabinet height, and cabinet depth of the switch cabinet in the interactive interface. For example, if the cabinet height is a non-standard size, it will affect the size of the front door, rear door, and side panel. You can click the check button in front of them in the interactive interface, and then click the Generate button to get the size of the front door, rear door, and side panel automatically calculated by the program.

[0077] In a possible implementation, the parts include a front door, a rear door, a top cover, a bottom plate, a side plate, a crossbeam, and a longitudinal beam; and the part size of each part in the target switch cabinet is determined based on various parameters of the target switch cabinet, including:

[0078] If the width of the target switch cabinet is different from the standard cabinet width, or the height of the target switch cabinet is different from the standard cabinet height, the dimensions of the front door and rear door are calculated based on the cabinet width and cabinet height;

[0079] If the width of the target switch cabinet is different from the standard cabinet width, or the depth of the target switch cabinet is different from the standard cabinet depth, the size of the top cover and bottom plate is calculated based on the cabinet width and cabinet depth;

[0080] If the height of the target switch cabinet is different from the standard cabinet height, or the depth of the target switch cabinet is different from the standard cabinet depth, the size of the side panel is calculated based on the cabinet height and cabinet depth;

[0081] If the target switchgear cabinet width is different from the standard cabinet width, the size of the beam is calculated based on the cabinet width;

[0082] If the panel depth of the target switchgear differs from the standard panel depth, the dimensions of the longitudinal beams are calculated based on the panel depth.

[0083] In this embodiment, when a certain parameter of the switch cabinet is non-standard, the sizes of the corresponding types of parts will be affected. For example, the size of the front door and the rear door is affected by the cabinet width and cabinet height, the size of the top cover and the bottom plate is affected by the cabinet width and cabinet depth, the size of the side panel is affected by the cabinet height and cabinet depth, the size of the crossbeam is only affected by the cabinet width, and the size of the longitudinal beam is only affected by the cabinet depth.

[0084] In a possible implementation, the calculation formula for the component size of each component in the target switch cabinet is:

[0085] Front door width = back door width = cabinet width - A

[0086] Front door height = back door height = cabinet height - B

[0087] Top cover width = bottom plate width = cabinet width - C

[0088] Top cover depth = bottom plate depth = cabinet depth - D

[0089] Side panel height = cabinet height - E

[0090] Side panel depth = cabinet depth - F

[0091] Beam length = cabinet width - G

[0092] Length of longitudinal beam = cabinet depth - H

[0093] Among them, A, B, C, D, E, F, G, and H are preset values.

[0094] In this embodiment, the preset values ​​​​A, B, C, D, E, F, G, and H can be set with selection rules according to actual conditions. For example, H, which is used to calculate the length of the longitudinal beam, may have different values ​​​​under different voltage levels and cabinet types. At this time, it is necessary to select according to the specific information of the target switch cabinet.

[0095] Step 104: Generate an assembly corresponding to the target switch cabinet based on the sizes of each part.

[0096] In this embodiment, when the target switch cabinet is not a standard switch cabinet, the sizes of some parts will be different from those of the standard switch cabinet, but the sizes of some parts will not be affected. At this time, the corresponding assembly can be generated based on the standard switch cabinet and combined with the parts with changed sizes, which not only ensures the accuracy of assembly generation, but also reduces duplication of work, thereby improving production efficiency.

[0097] In a possible implementation, generating an assembly corresponding to a target switch cabinet based on the sizes of various parts includes:

[0098] Determine the standard assembly corresponding to the target switchgear based on the voltage level and type of the target switchgear;

[0099] The part names of the parts affected by the non-standard parameters of the target switch cabinet are used as the part names of the non-standard parts in the target switch cabinet; wherein the parameters in the target switch cabinet that are different from the standard parameters are non-standard parameters;

[0100] For each non-standard part, based on the voltage level and cabinet type of the target switch cabinet, the part name and part size of the non-standard part, a search is performed in the preset non-standard parts library to obtain the part numbers of multiple non-standard parts of the target switch cabinet;

[0101] For each standard part in the standard assembly, the part number of the standard part is replaced with the part number of the non-standard part having the same part name as the standard part, so as to obtain the assembly corresponding to the target switch cabinet.

[0102] In this embodiment, for each part whose size is affected, it is possible to search in the preset non-standard parts library and replace the corresponding standard part in the standard assembly. Figure 3 As shown, by replacing the parts in the original assembly, the matching relationship between the original parts can be retained and a new assembly can be obtained efficiently.

[0103] like Figure 4 As shown, the name of the standard part is 10GIS-base plate-600V, where 10 represents the 10kV voltage level, GIS represents a cabinet type that meets the State Grid standard, the base plate represents the installation location of the part, 600 represents the cabinet width, and V represents the type of switch.

[0104] When the target switch cabinet requires non-standard parts, the specific information of the non-standard parts can be displayed to the user, such as voltage level, cabinet type, installation location, size, and corresponding standard parts drawings, prompting the user to draw and upload the drawings of the non-standard parts with reference to the above information.

[0105] It is also possible to automatically adjust standard parts according to part sizes and generate drawings of non-standard parts. For example, if the length of a non-standard beam is 10 shorter than that of the corresponding standard beam, the program can reduce the length by 10 based on the standard beam drawing, and keep the other information unchanged, and you can get the drawing of the non-standard beam.

[0106] Taking the standard part name of 10GIS-base plate-600V as an example, when naming non-standard parts, the prefix 10GIS-base plate remains unchanged and is saved in the folder corresponding to the non-standard parts library, so that it can correspond to the standard part name. Assuming the non-standard part name generated by automatic modeling is 10GIS-base plate-800V, by searching the prefix 10GIS-base plate and combining the cabinet width of the target switch cabinet of 800, the part can be retrieved and the original part can be automatically replaced to obtain a new assembly.

[0107] Step 105 , determining the BOM list of the target switch cabinet based on the assembly, so as to produce the target switch cabinet based on the BOM list.

[0108] In a possible implementation, determining the BOM list of the target switch cabinet based on the assembly includes:

[0109] For each part in the assembly, determine the BOM information of the part based on the part number of the part;

[0110] Integrate the BOM information of each part in the assembly to obtain the BOM list of the target switch cabinet.

[0111] In this embodiment, the assembly can represent the matching relationship between the various parts, and the BOM list of the entire target switch cabinet can be obtained by integrating the BOMs of the various parts.

[0112] After obtaining the parameters of the switch cabinet, the embodiment of the present invention first determines whether it belongs to a standard switch cabinet. If so, the BOM list can be directly generated by using the existing standard switch cabinet information to improve efficiency. If not, the specific part dimensions are calculated according to the switch cabinet parameters, and these part dimensions are used to automatically generate the assembly of the target switch cabinet, and then the BOM list is obtained, thereby realizing efficient and automatic generation of the BOM list.

[0113] In a possible implementation, obtaining parameters of a target switch cabinet includes:

[0114] Obtaining a CAD primary system diagram of a target switch cabinet; wherein the CAD primary system diagram includes a plurality of layers, and each layer includes a parameter of the target switch cabinet;

[0115] The parameters of the target switchgear are extracted from each layer of the CAD primary system diagram based on a preset order.

[0116] In this embodiment, the parameters of the target switch cabinet in the CAD primary system are obtained and the layers are established in a predetermined order. Figure 5 As shown, specifically, the voltage level can be layer 1, the cabinet type can be layer 2, the cabinet width can be layer 3, the cabinet height can be layer 4, and the cabinet depth can be layer 5. Figure 6 This is the operation interface for opening CAD drawings in SolidWorks. After opening the CAD drawings in SolidWorks, SolidWorks will import the parameters of layers 1-5 in sequence according to the pre-set procedures. The information of layer 1 will be automatically imported first. The import effect is as follows: Figure 7 As shown in the figure, the effect after SolidWorks obtains the voltage level parameters is as follows Figure 8 shown.

[0117] In a specific embodiment, the method for generating a switch cabinet BOM list provided by the present invention is as follows: Fig. 9 The specific steps include:

[0118] Open the CAD primary system drawing of the target switch cabinet in solidworks. Solidworks extracts the parameters of the target switch cabinet in each layer of the CAD drawing according to the preset order. Layer 1 is the voltage level of the switch cabinet, and layer 2 is the type of the switch cabinet. Based on this information, the information of the standard switch cabinet corresponding to the target switch cabinet can be found. Then, it is determined whether the target switch cabinet is a standard cabinet type. If so, the assembly of the standard cabinet can be directly called to generate the BOM. If not, it is necessary to generate non-standard parts drawings according to the parameters of the target switch cabinet and save them to the specified folder. After the user clicks the automatic assembly button, the corresponding parts in the assembly of the standard cabinet are replaced to generate the assembly of the target switch cabinet, and finally the BOM list is generated.

[0119] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0120] The following is an embodiment of the device of the present invention. For details not described in detail, reference may be made to the corresponding method embodiments described above.

[0121] Fig.10 The structure diagram of the device for generating the BOM list of a switch cabinet provided by an embodiment of the present invention is shown. For the convenience of description, only the part related to the embodiment of the present invention is shown, which is described in detail as follows:

[0122] like Fig.10 As shown, the switch cabinet BOM list generating device 10 includes:

[0123] An acquisition module 11 is used to acquire parameters of a target switch cabinet;

[0124] A judging module 12, configured to judge whether the target switch cabinet is a standard switch cabinet based on various parameters of the target switch cabinet;

[0125] A calculation module 13, configured to determine the component size of each component in the target switch cabinet based on various parameters of the target switch cabinet if the target switch cabinet is not a standard switch cabinet;

[0126] An assembly module 14 is used to generate an assembly corresponding to a target switch cabinet based on the sizes of each part;

[0127] The integration module 15 is used to determine the BOM list of the target switch cabinet based on the assembly, so as to produce the target switch cabinet based on the BOM list.

[0128] In a possible implementation, the parameters include voltage level, cabinet type, cabinet width, cabinet height and cabinet depth; the judgment module 12 is specifically used for:

[0129] Determine the standard cabinet width, standard cabinet height and standard cabinet depth corresponding to the target switch cabinet based on the voltage level and cabinet type of the target switch cabinet;

[0130] If the cabinet width of the target switch cabinet is the same as the standard cabinet width, the cabinet height is the same as the standard cabinet height, and the cabinet depth is the same as the standard cabinet depth, the target switch cabinet is determined to be a standard switch cabinet, otherwise the target switch cabinet is determined to be a non-standard switch cabinet.

[0131] In a possible implementation, the parts include a front door, a rear door, a top cover, a bottom plate, a side plate, a cross beam, and a longitudinal beam; the calculation module 13 is specifically used for:

[0132] If the width of the target switch cabinet is different from the standard cabinet width, or the height of the target switch cabinet is different from the standard cabinet height, the dimensions of the front door and rear door are calculated based on the cabinet width and cabinet height;

[0133] If the width of the target switch cabinet is different from the standard cabinet width, or the depth of the target switch cabinet is different from the standard cabinet depth, the size of the top cover and bottom plate is calculated based on the cabinet width and cabinet depth;

[0134] If the height of the target switch cabinet is different from the standard cabinet height, or the depth of the target switch cabinet is different from the standard cabinet depth, the size of the side panel is calculated based on the cabinet height and cabinet depth;

[0135] If the target switchgear cabinet width is different from the standard cabinet width, the size of the beam is calculated based on the cabinet width;

[0136] If the panel depth of the target switchgear differs from the standard panel depth, the dimensions of the longitudinal beams are calculated based on the panel depth.

[0137] In a possible implementation, the calculation formula for the component size of each component in the target switch cabinet is:

[0138] Front door width = back door width = cabinet width - A

[0139] Front door height = back door height = cabinet height - B

[0140] Top cover width = bottom plate width = cabinet width - C

[0141] Top cover depth = bottom plate depth = cabinet depth - D

[0142] Side panel height = cabinet height - E

[0143] Side panel depth = cabinet depth - F

[0144] Beam length = cabinet width - G

[0145] Length of longitudinal beam = cabinet depth - H

[0146] Among them, A, B, C, D, E, F, G, and H are preset values.

[0147] In a possible implementation, the assembly module 14 is specifically used to:

[0148] Determine the standard assembly corresponding to the target switchgear based on the voltage level and type of the target switchgear;

[0149] The part names of the parts affected by the non-standard parameters of the target switch cabinet are used as the part names of the non-standard parts in the target switch cabinet; wherein the parameters in the target switch cabinet that are different from the standard parameters are non-standard parameters;

[0150] For each non-standard part, based on the voltage level and cabinet type of the target switch cabinet, the part name and part size of the non-standard part, a search is performed in the preset non-standard parts library to obtain the part numbers of multiple non-standard parts of the target switch cabinet;

[0151] For each standard part in the standard assembly, the part number of the standard part is replaced with the part number of the non-standard part having the same part name as the standard part, so as to obtain the assembly corresponding to the target switch cabinet.

[0152] In a possible implementation, the integration module 15 is specifically used for:

[0153] For each part in the assembly, determine the BOM information of the part based on the part number of the part;

[0154] Integrate the BOM information of each part in the assembly to obtain the BOM list of the target switch cabinet.

[0155] In a possible implementation, the acquisition module 11 is specifically used for:

[0156] Obtaining a CAD primary system diagram of a target switch cabinet; wherein the CAD primary system diagram includes a plurality of layers, and each layer includes a parameter of the target switch cabinet;

[0157] The parameters of the target switchgear are extracted from each layer of the CAD primary system diagram based on a preset order.

[0158] After obtaining the parameters of the switch cabinet, the embodiment of the present invention first determines whether it belongs to a standard switch cabinet. If so, the BOM list can be directly generated by using the existing standard switch cabinet information to improve efficiency. If not, the specific part dimensions are calculated according to the switch cabinet parameters, and these part dimensions are used to automatically generate the assembly of the target switch cabinet, and then the BOM list is obtained, thereby realizing efficient and automatic generation of the BOM list.

[0159] Fig.11 Schematic diagram of an electronic device provided by an embodiment of the present invention. Fig.11 As shown, the electronic device 2 of this embodiment includes: a processor 20, a memory 21, and a computer program 22 stored in the memory 21 and executable on the processor 20. When the processor 20 executes the computer program 22, the steps in the above-mentioned embodiments of the method for generating the BOM list of each switch cabinet are implemented, for example Figure 1 Alternatively, when the processor 20 executes the computer program 22, the functions of each module / unit in the above-mentioned device embodiments are realized, for example, Fig.10 Functions of modules / units 11 to 15 are shown.

[0160] Exemplarily, the computer program 22 may be divided into one or more modules / units, which are stored in the memory 21 and executed by the processor 20 to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program 22 in the electronic device 2. For example, the computer program 22 may be divided into Fig.10 Modules / units 11 to 15 are shown.

[0161] The electronic device 2 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The electronic device 2 may include, but is not limited to, a processor 20 and a memory 21. Those skilled in the art will appreciate that Figure 2 It is only an example of the electronic device 2 and does not constitute a limitation of the electronic device 2. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.

[0162] The processor 20 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0163] The memory 21 may be an internal storage unit of the electronic device 2, such as a hard disk or memory of the electronic device 2. The memory 21 may also be an external storage device of the electronic device 2, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 2. Further, the memory 21 may also include both an internal storage unit and an external storage device of the electronic device 2. The memory 21 is used to store the computer program and other programs and data required by the electronic device. The memory 21 may also be used to temporarily store data that has been output or is to be output.

[0164] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0165] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0166] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel 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.

[0167] In the embodiments provided by the present invention, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

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

[0169] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0170] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned embodiments of the method for generating the BOM list of each switch cabinet can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practices in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practices, computer-readable media does not include electrical carrier signals and telecommunication signals.

[0171] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A method for generating a switch cabinet BOM list, characterized in that: include: Get the parameters of the target switch cabinet; Based on various parameters of the target switch cabinet, determining whether the target switch cabinet is a standard switch cabinet; If the target switch cabinet is not a standard switch cabinet, determining the component size of each component in the target switch cabinet based on various parameters of the target switch cabinet; Generate an assembly corresponding to the target switch cabinet based on the sizes of each part; A BOM list of the target switch cabinet is determined based on the assembly, so as to produce the target switch cabinet based on the BOM list.

2. The method for generating a switch cabinet BOM list according to claim 1, characterized in that: The parameters include voltage level, cabinet type, cabinet width, cabinet height and cabinet depth; judging whether the target switch cabinet is a standard switch cabinet based on the parameters of the target switch cabinet includes: Determine the standard cabinet width, standard cabinet height and standard cabinet depth corresponding to the target switch cabinet based on the voltage level and cabinet type of the target switch cabinet; If the cabinet width of the target switch cabinet is the same as the standard cabinet width, the cabinet height is the same as the standard cabinet height, and the cabinet depth is the same as the standard cabinet depth, the target switch cabinet is determined to be a standard switch cabinet; otherwise, the target switch cabinet is determined to be a non-standard switch cabinet.

3. The method for generating a switch cabinet BOM list according to claim 2, characterized in that: The parts include a front door, a rear door, a top cover, a bottom plate, a side plate, a crossbeam and a longitudinal beam; the part size of each part in the target switch cabinet is determined based on various parameters of the target switch cabinet, including: If the cabinet width of the target switch cabinet is different from the standard cabinet width, or the cabinet height of the target switch cabinet is different from the standard cabinet height, then calculating the sizes of the front door and the rear door based on the cabinet width and the cabinet height; If the cabinet width of the target switch cabinet is different from the standard cabinet width, or the cabinet depth of the target switch cabinet is different from the standard cabinet depth, then the sizes of the top cover and the bottom plate are calculated based on the cabinet width and the cabinet depth; If the cabinet height of the target switch cabinet is different from the standard cabinet height, or the cabinet depth of the target switch cabinet is different from the standard cabinet depth, then the size of the side panel is calculated based on the cabinet height and the cabinet depth; If the cabinet width of the target switch cabinet is different from the standard cabinet width, calculating the size of the beam based on the cabinet width; If the cabinet depth of the target switch cabinet is different from the standard cabinet depth, the size of the longitudinal beam is calculated based on the cabinet depth.

4. The method for generating a switch cabinet BOM list according to claim 3, characterized in that: The calculation formula for the part size of each part in the target switch cabinet is: Front door width = back door width = cabinet width - A Front door height = back door height = cabinet height - B Top cover width = bottom plate width = cabinet width - C Top cover depth = bottom plate depth = cabinet depth - D Side panel height = cabinet height - E Side panel depth = cabinet depth - F Beam length = cabinet width - G Length of longitudinal beam = cabinet depth - H Among them, A, B, C, D, E, F, G, and H are preset values.

5. The method for generating a switch cabinet BOM list according to claim 2, characterized in that: The step of generating an assembly corresponding to the target switch cabinet based on the sizes of the parts includes: Determining a standard assembly corresponding to the target switchgear based on the voltage level and the type of the target switchgear; The part names of the parts affected by the non-standard parameters of the target switch cabinet are used as the part names of the non-standard parts in the target switch cabinet; wherein the parameters in the target switch cabinet that are different from the standard parameters are the non-standard parameters; For each non-standard part, based on the voltage level and cabinet type of the target switch cabinet, the part name and part size of the non-standard part, a search is performed in a preset non-standard part library to obtain part numbers of multiple non-standard parts of the target switch cabinet; For each standard part in the standard assembly, the part number of the standard part is replaced with the part number of a non-standard part having the same part name as the standard part, to obtain an assembly corresponding to the target switch cabinet.

6. The method for generating a switch cabinet BOM list according to claim 1, characterized in that: The step of determining the BOM list of the target switch cabinet based on the assembly includes: For each part in the assembly, determine the BOM information of the part based on the part number of the part; The BOM information of each part in the assembly is integrated to obtain the BOM list of the target switch cabinet.

7. The method for generating a switch cabinet BOM list according to claim 1, characterized in that: The obtaining of the parameters of the target switch cabinet includes: Obtaining a CAD primary system diagram of a target switch cabinet; wherein the CAD primary system diagram includes a plurality of layers, and each layer includes a parameter of the target switch cabinet; The parameters of the target switch cabinet are extracted from each layer of the CAD primary system diagram based on a preset order.

8. A device for generating a switch cabinet BOM list, characterized in that: include: An acquisition module is used to acquire the parameters of the target switch cabinet; A judging module, configured to judge whether the target switch cabinet is a standard switch cabinet based on various parameters of the target switch cabinet; a calculation module, configured to determine the size of each part in the target switch cabinet based on various parameters of the target switch cabinet if the target switch cabinet is not a standard switch cabinet; An assembly module, used for generating an assembly corresponding to the target switch cabinet based on the sizes of various parts; The integration module is used to determine the BOM list of the target switch cabinet based on the assembly, so as to produce the target switch cabinet based on the BOM list.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method as claimed in any one of claims 1 to 7 are implemented.