Data Processing Method, Apparatus, Electronic Device, and Storage Medium

By automatically extracting and generating target parameters of cabinet parts, the designer's manual operation is solved, and the problem of time-consuming and laborious data matching is achieved, the cabinet design to production is automated, and efficiency and model expansion capabilities are improved.

CN114117607BActive Publication Date: 2025-06-17SHENZHEN XUMI YUNTU SPACE TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111418280.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-26
Publication Date
2025-06-17
Estimated Expiration
2041-11-26

AI Technical Summary

Technical Problem

When using WCC software to make cabinets, designers need to manually search for cabinet parts in the house model and add production parameters. The operation is time-consuming and labor-intensive and error-prone, and the existing data conversion path cannot match the RVT-based BIM technology.

Method used

Provide a data processing method, by obtaining cabinet parts and sub-components in the building model of the first format, extracting target parameters, and generating files in the second format, so that the target software (such as WCC software) can automatically identify and complete the production of cabinet parts.

Benefits of technology

It realizes automation from cabinet design to cabinet production, improves the efficiency of cabinet production, enhances the expansion ability of the model, and solves the problems of time-consuming and labor-intensive manual operation and poor data matching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114117607B_ABST
    Figure CN114117607B_ABST
Patent Text Reader

Abstract

The present disclosure provides a data processing method, apparatus, electronic device, and storage medium. The method includes: obtaining a building model in a first format; obtaining cabinet components in the building model; obtaining sub-components included in the cabinet components and extracting target parameters of the sub-components; generating a file in a second format according to the cabinet components, the sub-components, and their target parameters to be imported into a target software to implement the production of the cabinet components. This method provides a data conversion path, which can automatically convert a building model in a first format into a file in a second format recognizable by the target software, realizing the automation from cabinet design to cabinet production.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technologies, and particularly to a data processing method, apparatus, electronic device, and storage medium. Background Art

[0002] When using the WCC software to make cabinets, designers need to manually search for cabinet components in the house model and manually search for and add the parameters required for making cabinets. The operation is time-consuming and laborious, and is prone to errors.

[0003] The data conversion paths in the related technologies include Webgl→WCC and Opengl→WCC. However, the above data conversion paths cannot match the BIM technology based on RVT, and the upstream data in the decoration industry is all generated based on BIM; moreover, the model and data are hooked up, and the expansion ability is poor.

[0004] It should be noted that the information disclosed in the above background art section is only used to enhance the understanding of the background of the present disclosure, and thus may include information that does not constitute the prior art known to those of ordinary skill in the art. Summary of the Invention

[0005] The purpose of the present disclosure is to provide a data processing method, apparatus, electronic device, and storage medium. The method provides a data conversion path, which can automatically convert a building model in a first format into a file in a second format recognizable by a target software, realizing the automation from cabinet design to cabinet production, improving the efficiency of cabinet production, and improving the expansion ability of the model.

[0006] Other features and advantages of the present disclosure will become apparent through the following detailed description, or be learned in part through the practice of the present disclosure.

[0007] An embodiment of the present disclosure provides a data processing method, including: obtaining a building model in a first format; obtaining cabinet components in the building model; obtaining sub-components included in the cabinet components, and extracting target parameters of the sub-components; generating a file in a second format according to the cabinet components, the sub-components, and their target parameters, so as to be imported into a target software to implement the production of the cabinet components.

[0008] In some exemplary embodiments of the present disclosure, before obtaining the building model in the first format, the method further includes: obtaining a family file of the sub-components; assembling the family file of the sub-components into the cabinet components; generating the building model in the first format according to the cabinet components.

[0009] In some exemplary embodiments of the present disclosure, obtaining the cabinet components in the building model includes: if the building model includes cabinet components, obtaining all the cabinet components in the building model; if the building model does not include cabinet components, displaying a prompt message.

[0010] In some exemplary embodiments of the present disclosure, obtaining the sub-components included in the cabinet component and extracting the target parameters of the sub-components includes: obtaining a first cabinet component among all the cabinet components; searching for and obtaining all the sub-components included in the first cabinet component; and sequentially extracting the target parameters of all the sub-components included in the first cabinet component.

[0011] In some exemplary embodiments of the present disclosure, extracting the target parameters of the sub-components includes: obtaining a woodworking parameter table from the target software, where the woodworking parameter table includes target parameter identifiers; and extracting the target parameters of the sub-components according to the target parameter identifiers, where the target parameters include at least one of name, coordinates, dimensions, and material.

[0012] In some exemplary embodiments of the present disclosure, obtaining the cabinet components in the building model includes: in response to an operation of clicking a target parameter export plug-in, obtaining the cabinet components of the building model.

[0013] In some exemplary embodiments of the present disclosure, the above method further includes: importing a file in the second format into the target software; and the target software parsing the file in the second format to implement the production of the cabinet components.

[0014] In some exemplary embodiments of the present disclosure, the first format is RVT format, the second format is Extensible Markup Language (XML) format, the target software is WCC software, and the building model is a house model.

[0015] An embodiment of the present disclosure provides a data processing device, including: a model acquisition module for acquiring a building model in a first format; a cabinet component acquisition module for acquiring the cabinet components in the building model; a target parameter extraction module for acquiring the sub-components included in the cabinet component and extracting the target parameters of the sub-components; and a file generation module for generating a file in a second format according to the cabinet component, the sub-components, and their target parameters, so as to import the file into the target software to implement the production of the cabinet components.

[0016] An embodiment of the present disclosure provides an electronic device, including: at least one processor; and a storage device for storing at least one program, where when the at least one program is executed by the at least one processor, the at least one processor is caused to implement any one of the above data processing methods.

[0017] An embodiment of the present disclosure provides a computer-readable storage medium, on which a computer program is stored. It is characterized in that when the computer program is executed by a processor, it implements any one of the above data processing methods.

[0018] The data processing method provided by some embodiments of the present disclosure can automatically generate a file in a second format from a cabinet component in a building model in a first format, along with the sub-components and their target parameters included in the cabinet component, enabling the target software to automatically recognize and complete the production of the cabinet component. This method provides a data conversion path that can automatically convert the building model in the first format into a file in the second format recognizable by the target software, realizing the connection from the cabinet design software to the cabinet production software, automating the process from cabinet design to cabinet production, improving the efficiency of cabinet production, and enhancing the expandability of the model.

[0019] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present disclosure and, together with the specification, are used to explain the principles of the present disclosure. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and those of ordinary skill in the art can obtain other drawings based on these drawings without creative efforts.

[0021] Figure 1 A schematic diagram showing an exemplary system architecture to which the data processing method of the embodiment of the present disclosure can be applied.

[0022] Figure 2 A flowchart of a data processing method shown according to an exemplary embodiment.

[0023] Figure 3 A schematic diagram of a house model shown according to an example.

[0024] Figure 4 A flowchart of another data processing method shown according to an exemplary embodiment.

[0025] Figure 5 A schematic diagram of a cabinet component shown according to an example.

[0026] Figure 6 A flowchart of still another data processing method shown according to an exemplary embodiment.

[0027] Figure 7It is a block diagram of a data processing device shown according to an exemplary embodiment.

[0028] Figure 8 It is a schematic structural diagram of an electronic device shown according to an exemplary embodiment. Detailed implementation manners

[0029] Example embodiments will now be described more fully with reference to the accompanying drawings. However, the example embodiments can be implemented in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be more complete and comprehensive, and will fully convey the concept of the example embodiments to those skilled in the art. The features, structures, or characteristics described may be combined in any suitable manner in one or more embodiments.

[0030] In addition, the drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus repeated descriptions thereof will be omitted. Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0031] Figure 1 It shows a schematic diagram of an exemplary system architecture to which the data processing method according to the embodiments of the present disclosure can be applied.

[0032] As Figure 1 shown, the system architecture may include a server 101, a network 102, and a terminal device 103. The network 102 is used to provide a medium for a communication link between the terminal device 103 and the server 101. The network 102 may include various connection types, such as wired, wireless communication links, or fiber optic cables, etc.

[0033] The server 101 may be a server that provides various services, such as a background management server that supports the operations performed by the user using the terminal device 103. The background management server may analyze and process data such as requests received, and feedback the processing results to the terminal device 103.

[0034] The terminal device 103 may include, but is not limited to: smart phones, tablet computers, laptop computers, desktop computers, smart speakers, smart watches, wearable smart devices, in-vehicle infotainment systems, smart TVs.

[0035] In an embodiment of the present disclosure, the first software of the server may obtain a building model in a first format; the first software of the server may obtain the cabinet components in the building model; the first software of the server may obtain the sub-components included in the cabinet components and extract the target parameters of the sub-components; the first software of the server may generate a file in a second format according to the cabinet components, the sub-components and their target parameters, and the server may import the file in the second format into the target software to implement the production of the cabinet components.

[0036] It should be understood that Figure 1 the numbers of the terminal devices, the network and the servers in

[0037] are merely illustrative. The server 101 may be a physical server, may also be a server cluster composed of multiple servers, or may also be a cloud server. According to actual needs, there may be any number of terminal devices, networks and servers.

[0038] Figure 2 is a flowchart of a data processing method according to an exemplary embodiment. The method provided by the embodiment of the present disclosure may be executed in a server as shown in Figure 1 but the present disclosure is not limited thereto.

[0039] As Figure 2 shown, the data processing method provided by the embodiment of the present disclosure may include the following steps.

[0040] In step S202, obtain a building model in a first format.

[0041] Among them, the first format may be, for example, the RVT format, and the building model may be a Revit model. The Revit series of software, which is specifically built for Building Information Modeling (BIM), can help architects design, build and maintain better-quality and more energy-efficient buildings. The storage format of the Revit model can be the RVT format.

[0042] In an embodiment of the present disclosure, the building model may be a house model. In the following illustrative examples, the building model is a house model as an example for illustration, but the present disclosure is not limited thereto.

[0043] In step S204, obtain the cabinet components in the building model.

[0044] Among them, the cabinet body component can be, for example, a cabinet component, a bathroom cabinet component, a hallway cabinet component, etc. In the following illustrative examples, it is assumed that the cabinet body component is a cabinet component for illustration purposes, but the present disclosure is not limited thereto.

[0045] In the embodiments of the present disclosure, the cabinet body component can be identified from the building model. For example, the cabinet component can be identified from the house model.

[0046] In the embodiments of the present disclosure, a building model can include one or more cabinet body components. In the case where a building model includes multiple cabinet body components, each cabinet body component can be traversed in sequence to obtain the sub-components of each cabinet body component and their target parameters.

[0047] In an exemplary embodiment, in response to an operation of clicking the target parameter export plug-in, the cabinet body component of the building model is obtained.

[0048] In the embodiments of the present disclosure, the target parameter export plug-in can be referred to as a woodworking export plug-in. This woodworking export plug-in can run in the Revit software. The designer can click this woodworking export plug-in to export the information of each cabinet component in the house model to an XML format file with one click.

[0049] In an exemplary embodiment, it can be determined whether there is a cabinet body component in the building model; if the building model includes a cabinet body component, all the cabinet body components in the building model are obtained; if the building model does not include a cabinet body component, a prompt message is displayed.

[0050] Among them, the prompt message can be a message prompting the user that there is no cabinet and no export is required.

[0051] Figure 3 It is a schematic diagram of a house model shown according to an example.

[0052] Reference Figure 3 , the house model 301 can include a cabinet component 302.

[0053] Through the method provided by the embodiments of the present disclosure, the cabinet component 302 can be automatically identified from the house model 301.

[0054] In step S206, the sub-components included in the cabinet body component are obtained, and the target parameters of the sub-components are extracted.

[0055] Among them, the sub-components (which can also be referred to as "sub-members") can include, but are not limited to, the upper side plate, the lower side plate, the left side plate, the right side plate, the front side plate, the rear side plate, etc.

[0056] In the embodiments of the present disclosure, a cabinet component may include one or more sub-components. In the case where a cabinet component includes multiple sub-components, the sub-components included in the cabinet component can be traversed in sequence to obtain the sub-components, and the target parameters of the sub-components can be extracted.

[0057] Among them, the target parameters include at least one of name, coordinates, dimensions, and material.

[0058] In an exemplary embodiment, the first cabinet component among all cabinet components can be obtained; all the sub-components included in the first cabinet component can be found; the target parameters of all the sub-components included in the first cabinet component can be extracted in sequence.

[0059] In the embodiments of the present disclosure, all cabinet components can be traversed in sequence: First, the first cabinet component among all cabinet components is obtained; the first sub-component included in the first cabinet component is found, and the target parameters of the first sub-component are extracted. The second sub-component included in the first cabinet component is found, and the target parameters of the second sub-component are extracted, and so on, until the target parameters of all the sub-components of the first cabinet component are obtained. After the target parameters of all the sub-components of the first cabinet component are obtained, the second cabinet component among all cabinet components can be obtained, and all the sub-components included in the second cabinet component are found; the target parameters of all the sub-components included in the second cabinet component are extracted in sequence, and so on, until the target parameters of all the sub-components of all cabinet components are obtained.

[0060] In an exemplary embodiment, the woodworking parameter table can be obtained from the target software, and the woodworking parameter table includes target parameter identifiers; according to the target parameter identifiers, the target parameters of the sub-components are extracted.

[0061] Among them, the target software can be WCC software. WCC software is a software that can be used for cabinet making, and WCC software can identify files in XML (Extensible Markup Language) format.

[0062] In the embodiments of the present disclosure, the woodworking parameter table can be manually made by designers or exported from WCC software. The woodworking parameter table can be in XML format or in the form of an Excel table.

[0063] In the embodiments of the present disclosure, the woodworking parameter table may include target parameter identifiers, and the target parameter identifiers are used to represent the woodworking information required for making the cabinet (such as each board of the cabinet and its coordinates); according to the woodworking information included in the woodworking parameter table, the target parameters of the sub-components of the cabinet component are extracted.

[0064] In the embodiments of the present disclosure, if the target parameter identifier is the identifier corresponding to the name and dimensions of the sub-component, then the name and dimensions of the sub-component are extracted.

[0065] For example, if the target parameter identifier is the identifier corresponding to the upper side plate and its material, then the upper side plate and its material are extracted.

[0066] In step S208, a file in the second format is generated based on the cabinet body components, sub-components, and their target parameters, so as to be imported into the target software to implement the production of the cabinet body components.

[0067] Among them, the second format can be the XML format.

[0068] In the embodiments of the present disclosure, the target software cannot recognize files in the first format, and the target software can recognize files in the second format. Through the above method, the parameters required for the target software to manufacture the cabinet body can be automatically generated into a file in the second format, so that the target software can automatically recognize and complete the manufacture of the cabinet body.

[0069] For example, the WCC software cannot recognize files in the RVT format, and the WCC software can recognize files in the XML format. An XML format file is generated according to the obtained cabinet body components, sub-components included in the cabinet body components, and the target parameters of the sub-components, and the XML format file is imported into the WCC software. The WCC software can automatically recognize the XML format file to implement the production of the cabinet body components.

[0070] In the embodiments of the present disclosure, a data conversion path is provided, that is, from RVT→WCC, which completes the data connection between BIM and decoration technologies, and lays a foundation for the "one-code running through" of models and data from design, production, installation, to operation and maintenance.

[0071] In an exemplary embodiment, the above method further includes: importing the file in the second format into the target software; the target software parses the file in the second format to implement the production of the cabinet body components.

[0072] For example, import the XML format file into the WCC software. The WCC software can automatically parse the XML format file to obtain the cabinet body components, sub-components included in the cabinet body components, and the target parameters of the sub-components, and complete the production of the cabinet body components according to the cabinet body components, sub-components included in the cabinet body components, and the target parameters of the sub-components.

[0073] The data processing method provided by the embodiments of the present disclosure can automatically generate a file in the second format for the cabinet body components, sub-components, and their target parameters by obtaining the cabinet body components in the building model in the first format and obtaining the sub-components included in the cabinet body components and their target parameters, so that the target software can automatically recognize and complete the production of the cabinet body components. This method provides a data conversion path, which can automatically convert the building model in the first format into a file in the second format recognizable by the target software, realizes the connection from the cabinet design software to the cabinet production software, realizes the automation from cabinet design to cabinet production, improves the efficiency of cabinet production, and improves the expansion ability of the model.

[0074] Figure 4 is a flowchart showing another data processing method according to an exemplary embodiment.

[0075] like Figure 4 As shown, in Figure 2 Before step S202 of the data processing method shown, the data processing method provided by the embodiment of the present disclosure may include the following steps.

[0076] In step S402, the family file of the subcomponent is obtained.

[0077] In the disclosed embodiment, the family file may be produced by the designer through the design software (such as Revit software), or it may be provided with the design software; the family file of the sub-component may include but is not limited to the family file of the panel, the family file of the drawer, the family file of the accessories, etc.

[0078] For example, obtain the family file of the top panel, the family file of the bottom panel, the family file of the left panel, the family file of the right panel, the family file of the front panel, and the family file of the back panel.

[0079] In step S404, the family files of the subcomponents are assembled into a cabinet component.

[0080] In the disclosed embodiment, the Revit software can assemble the family files of the sub-components into a cabinet component.

[0081] For example, the family files of the upper panel, the lower panel, the left panel, the right panel, the front panel, and the back panel are assembled into a cabinet component.

[0082] Figure 5 is a schematic diagram of a cabinet component according to an example.

[0083] The assembled cabinet parts can be Figure 5 shown.

[0084] In step S406, a building model in a first format is generated according to the cabinet components.

[0085] In the embodiment of the present disclosure, the Revit software generates a house model in RVT format according to the cabinet components, wherein the house model can be as follows: Figure 3 As shown, the house model may include one or more cabinet components.

[0086] After generating the building model in the first format, the designer can click the "Woodwork Export" plug-in to export the information of each cabinet component in the house model into an XML format file with one click.

[0087] Figure 6It is a flowchart of yet another data processing method shown according to an exemplary embodiment.

[0088] Referring to Figure 6 , the data processing method provided by the embodiments of the present disclosure may include the following steps.

[0089] In step S602, obtain all cabinet components in the house model.

[0090] In step S604, determine whether there are cabinet components in the house model.

[0091] In the embodiments of the present disclosure, if there are cabinet components in the house model, then execute step S606; if there are no cabinet components in the house model, then execute step S608.

[0092] In step S606, loop through the cabinets.

[0093] In step S608, prompt the user that there are no cabinets and there is no need to export.

[0094] In step S610, find the sub-components included therein.

[0095] In the embodiments of the present disclosure, find the sub-components included in the cabinets.

[0096] In step S612, traverse the sub-components.

[0097] In step S614, read the woodworking parameter table and obtain the parameters to be exported.

[0098] In the embodiments of the present disclosure, according to the parameters to be exported in the woodworking parameter table, export the target parameters corresponding to the sub-components; then loop to obtain the next sub-component and export the target parameters of the next sub-component.

[0099] In step S616, store in the data set.

[0100] In the embodiments of the present disclosure, store the target parameters of all sub-components of one cabinet in the data set, and then loop to obtain the target parameters of all sub-components of the next cabinet.

[0101] In step S618, write to the XML file.

[0102] In the embodiments of the present disclosure, all cabinets, all sub-components included in the cabinets and their target parameters can be written into the XML file.

[0103] It should be noted that the above-mentioned drawings are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, rather than for restrictive purposes. It is easy to understand that the processes shown in the above-mentioned drawings do not indicate or limit the chronological order of these processes. Additionally, it is also easy to understand that these processes can be executed synchronously or asynchronously in, for example, multiple modules.

[0104] The following are the device embodiments of the present disclosure, which can be used to execute the method embodiments of the present disclosure. For details not disclosed in the device embodiments of the present disclosure, please refer to the method embodiments of the present disclosure.

[0105] Figure 7 It is a block diagram of a data processing device shown according to an exemplary embodiment.

[0106] As Figure 7 shown, the data processing device 700 may include: a model acquisition module 702, a cabinet component acquisition module 704, a target parameter extraction module 706, and a file generation module 708.

[0107] Among them, the model acquisition module 702 is used to acquire a building model in a first format; the cabinet component acquisition module 704 is used to acquire the cabinet components in the building model; the target parameter extraction module 706 is used to acquire the sub-components included in the cabinet components and extract the target parameters of the sub-components; the file generation module 708 is used to generate a file in a second format according to the cabinet components, the sub-components, and their target parameters to be imported into a target software to implement the production of the cabinet components.

[0108] In some exemplary embodiments of the present disclosure, the data processing device 700 further includes: a family file acquisition module, used to acquire the family files of the sub-components; assemble the family files of the sub-components into the cabinet components; a building model generation module, used to generate the building model in the first format according to the cabinet components.

[0109] In some exemplary embodiments of the present disclosure, the cabinet component acquisition module 704 is further used to, if the building model includes cabinet components, acquire all the cabinet components in the building model; if the building model does not include cabinet components, display a prompt message.

[0110] In some exemplary embodiments of the present disclosure, the target parameter extraction module 706 is further used to acquire the first cabinet component among all the cabinet components; find and acquire all the sub-components included in the first cabinet component; sequentially extract the target parameters of all the sub-components included in the first cabinet component.

[0111] In some exemplary embodiments of the present disclosure, the target parameter extraction module 706 is further configured to obtain a woodworking parameter table from the target software, where the woodworking parameter table includes target parameter identifiers; and extract the target parameters of the sub-components according to the target parameter identifiers, where the target parameters include at least one of name, coordinates, dimensions, and material.

[0112] In some exemplary embodiments of the present disclosure, the cabinet component obtaining module 704 is further configured to obtain the cabinet components of the building model in response to an operation of clicking a target parameter export plug-in.

[0113] In some exemplary embodiments of the present disclosure, the data processing device 700 further includes: a file import module, configured to import a file in the second format into the target software; and a file parsing module, configured to parse the file in the second format by the target software to implement the production of the cabinet components.

[0114] In some exemplary embodiments of the present disclosure, the first format is RVT format, the second format is Extensible Markup Language (XML) format, the target software is WCC software, and the building model is a house model.

[0115] It should be noted that the block diagrams shown in the above figures are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0116] Figure 8 is a schematic structural diagram of an electronic device shown according to an exemplary embodiment. It should be noted that Figure 8 the electronic device shown is only an example and should not impose any limitations on the functions and usage scope of the embodiments of the present invention.

[0117] As Figure 8 shown, the electronic device 800 includes a central processing unit (CPU) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage section 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the system 800 are also stored. The CPU 801, ROM 802, and RAM 803 are connected to each other through a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0118] The following components are connected to the I / O interface 805: an input section 806 including a keyboard, a mouse, etc.; an output section 807 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc. and a speaker, etc.; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a LAN card, a modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the I / O interface 805 as required. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is mounted on the drive 810 as required so that a computer program read therefrom is installed into the storage section 808 as required.

[0119] Specifically, according to an embodiment of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, an embodiment of the present invention includes a computer program product which includes a computer program carried on a computer-readable medium, the computer program including program codes for performing the methods shown in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 809, and / or installed from the removable medium 811. When the computer program is executed by a central processing unit (CPU) 801, the above-described functions defined in the system of the present invention are performed.

[0120] It should be noted that the computer-readable medium shown in the present invention can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of a computer-readable storage medium can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium can be any tangible medium that contains or stores a program, and this program can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present invention, a computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, in which computer-readable program code is carried. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, and this computer-readable medium can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on a computer-readable medium can be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0121] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram can represent a module, a program segment, or a part of code, and the above module, program segment, or part of code contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks can occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks shown can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram or flowchart, as well as the combination of blocks in the block diagram or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.

[0122] The units involved in the embodiments described in this disclosure may be implemented in software or in hardware. The described units may also be provided in a processor. For example, it may be described as: A processor includes a sending unit, an obtaining unit, a determining unit, and a first processing unit. Among them, the names of these units do not constitute a limitation on the unit itself in some cases. For example, the sending unit may also be described as "a unit that sends a picture acquisition request to the connected server".

[0123] As another aspect, the present disclosure also provides a computer-readable storage medium. The computer-readable storage medium may be included in the electronic device described in the above embodiments; or it may exist alone without being assembled into the electronic device. The above computer-readable storage medium carries one or more programs. When the above one or more programs are executed by an electronic device, the electronic device implements the methods described in the following embodiments. For example, the electronic device may implement the respective steps as Figure 2 shown.

[0124] According to one aspect of the present disclosure, there is provided a computer program product or a computer program. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the various alternative implementations of the above embodiments.

[0125] It should be understood that any number of elements in the drawings of the present disclosure is for illustration rather than limitation, and any naming is only for distinction without any limiting meaning.

[0126] Those skilled in the art will readily think of other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure, which follow the general principles of the present disclosure and include known common general knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.

[0127] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.

Claims

1. A data processing method, characterized in that, Including: Obtain a building model in the first format; Obtain the cabinet components in the building model; Obtain the sub-components included in the cabinet components and extract the target parameters of the sub-components; Generate a file in the second format according to the cabinet components, the sub-components and their target parameters, so as to be imported into the target software to realize the production of the cabinet components; The extracting the target parameters of the sub-components includes: Obtain a woodworking parameter table from the target software, and the woodworking parameter table includes target parameter identifiers; the target parameter identifiers are used to represent the woodworking information required for manufacturing the cabinet; Extract the target parameters of the sub-components according to the target parameter identifiers, where the target parameters include at least one of name, coordinates, dimensions and materials; Before obtaining the building model in the first format, it further includes: Obtain the family file of the sub-components through design software; Assemble the family file of the sub-components into the cabinet components; Generate the building model in the first format according to the cabinet components.

2. The method according to claim 1, characterized in that, Obtaining the cabinet components in the building model includes: If the building model includes cabinet components, obtain all the cabinet components in the building model; If the building model does not include cabinet components, display a prompt message.

3. The method according to claim 2, characterized in that, Obtaining the sub-components included in the cabinet components and extracting the target parameters of the sub-components includes: Obtain the first cabinet component among all the cabinet components; Search and obtain all the sub-components included in the first cabinet component; Extract the target parameters of all the sub-components included in the first cabinet component in sequence.

4. The method according to claim 1, characterized in that, Obtaining the cabinet components in the building model includes: in response to the operation of clicking the target parameter export plug-in, obtain the cabinet components of the building model.

5. The method according to claim 1, characterized in that, It also includes: Import the file in the second format into the target software; The target software parses the file in the second format to realize the production of the cabinet components.

6. The method according to any one of claims 1-5, characterized in that, The first format is RVT format, the second format is Extensible Markup Language XML format, the target software is WCC software, and the building model is a house model.

7. A data processing device, characterized in that, Including: A model acquisition module for obtaining a building model in the first format; A cabinet component acquisition module for obtaining the cabinet components in the building model; A target parameter extraction module for obtaining the sub-components included in the cabinet components and extracting the target parameters of the sub-components; the target parameter extraction module is also used to obtain a woodworking parameter table from the target software, and the woodworking parameter table includes target parameter identifiers; the target parameter identifiers are used to represent the woodworking information required for manufacturing the cabinet; extract the target parameters of the sub-components according to the target parameter identifiers, where the target parameters include at least one of name, coordinates, dimensions and materials; A file generation module for generating a file in the second format according to the cabinet components, the sub-components and their target parameters, so as to be imported into the target software to realize the production of the cabinet components; A family file acquisition module, configured to obtain the family file of the sub-component through design software; assemble the family file of the sub-component into the cabinet component; a building model generation module, configured to generate the building model in the first format according to the cabinet component.

8. An electronic device, characterized in that, Comprising: At least one processor; A storage device for storing at least one program, which when executed by the at least one processor, causes the at least one processor to implement the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having computer-executable instructions stored thereon, characterized in that, When the executable instruction is executed by the processor, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • BIM three-dimensional building model display method based on Web terminal

    CN112182700A