Method and system for generating equipment model, electronic equipment and storage medium

By parsing user modeling instructions and generating equipment models using an equipment database, the problem of low efficiency in 3D equipment modeling in existing technologies is solved, enabling the rapid generation of equipment models that meet factory design requirements, thus improving modeling efficiency and design speed.

CN119006698APending Publication Date: 2024-11-22SINOSTEEL EQUIP & ENG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410801126.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

Existing technologies for 3D modeling of equipment are inefficient, especially in factory design where a large number of equipment drawings are required, resulting in excessive time and effort being wasted.

Method used

By parsing the modeling instructions input by the user, and using the shape calculation formulas and shape templates in the preset equipment database, a device model that meets the target equipment specifications and type is generated, thus avoiding the need to request equipment drawings.

Benefits of technology

It improves the efficiency of equipment modeling, saves time and manpower costs, shortens the design cycle, and can quickly generate equipment models that meet user needs even without equipment drawings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119006698A_ABST
    Figure CN119006698A_ABST
Patent Text Reader

Abstract

The invention provides a method and system for generating an equipment model, electronic equipment and a storage medium, and the method comprises the steps: analyzing a modeling instruction inputted by a user, so as to at least obtain a target equipment specification and a target equipment type; querying a shape calculation formula corresponding to the target equipment type from a preset equipment database; calculating to obtain at least one recommended equipment size meeting the target equipment specification by using an appearance calculation formula; and generating a device model meeting the target device specification and the target device type based on the recommended device size. According to the scheme, the modeling instruction input by the user is analyzed to obtain the target equipment specification and the target equipment type; based on the target equipment specification, the target equipment type and the equipment database, the equipment model meeting the target equipment specification and the target equipment type is generated, the equipment model meeting the user requirement can be generated in advance without requiring an equipment drawing, and the modeling efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of three-dimensional modeling, and in particular to a method, system, electronic device and storage medium for generating a device model. Background Art

[0002] When designing a factory in 3D for a project, it is often necessary to perform 3D modeling of the equipment. The existing method of 3D modeling of equipment is to ask the equipment manufacturer for equipment drawings, and then perform 3D modeling based on the equipment drawings; that is, the equipment design comes first, and the equipment 3D modeling comes later.

[0003] However, there are many types and sizes of equipment used in factories. It takes a lot of time and effort to request equipment drawings for each device and then perform 3D modeling, and the modeling efficiency is low. Summary of the invention

[0004] In view of this, an embodiment of the present invention provides a method, system, electronic device and storage medium for generating a device model to solve the problems of low modeling efficiency in the existing way of performing three-dimensional modeling on a device.

[0005] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:

[0006] A first aspect of an embodiment of the present invention discloses a method for generating a device model, the method comprising:

[0007] Parsing the modeling instructions input by the user to obtain at least the target device specification and the target device type;

[0008] Querying a shape calculation formula corresponding to the target device type from a preset device database;

[0009] Using the shape calculation formula, calculate at least one recommended device size that meets the target device specification;

[0010] Based on the recommended device size, a device model that meets the target device specification and the target device type is generated, and the device model is a three-dimensional model.

[0011] Preferably, using the shape calculation formula, at least one recommended device size that meets the target device specification is calculated, including:

[0012] Using the shape calculation formula, calculate at least one initial device size that meets the target device specification;

[0013] Based on the device sizes included in the device database, counting the number of times the initial device size is used in the device database;

[0014] Determine the initial device size ranked in the top N in terms of the number of times of use as the recommended device size.

[0015] Preferably, generating a device model that meets the target device specification and the target device type based on the recommended device size includes:

[0016] Extracting a device appearance template corresponding to the target device type from the device database;

[0017] Inputting at least one of the recommended device dimensions into the device shape template respectively to generate at least one device model that meets the target device specification and the target device type;

[0018] The generated at least one device model is displayed for selection by the user.

[0019] Preferably, generating a device model that meets the target device specification and the target device type based on the recommended device size includes:

[0020] Displaying the recommended device size for selection by the user;

[0021] Based on the recommended device size selected by the user, a device model that meets the target device specification and the target device type is generated.

[0022] Preferably, generating a device model that meets the target device specification and the target device type based on the recommended device size selected by the user includes:

[0023] Determining whether there is a device model in the device database that matches the target device type and the recommended device size selected by the user;

[0024] If so, extracting a device model that matches the target device type and the recommended device size selected by the user from the device database;

[0025] If not, extracting a device appearance template corresponding to the target device type from the device database;

[0026] The recommended device size selected by the user is input into the device appearance template to generate a device model that meets the target device specification and the target device type.

[0027] A second aspect of an embodiment of the present invention discloses a system for generating a device model, the system comprising:

[0028] A parsing unit, used for parsing the modeling instruction input by the user to obtain at least the target device specification and the target device type;

[0029] A query unit, used to query a shape calculation formula corresponding to the target device type from a preset device database;

[0030] A calculation unit, configured to calculate at least one recommended device size that meets the target device specification by using the shape calculation formula;

[0031] A modeling unit is used to generate a device model that meets the target device specification and the target device type based on the recommended device size, wherein the device model is a three-dimensional model.

[0032] Preferably, the calculation unit comprises:

[0033] A calculation module, configured to calculate at least one initial device size that meets the target device specification using the shape calculation formula;

[0034] A statistics module, configured to count the number of times the initial device size is used in the device database based on the device sizes included in the device database;

[0035] The determination module is used to determine that the initial device size ranked in the top N in terms of usage times is a recommended device size.

[0036] Preferably, the modeling unit comprises:

[0037] An extraction module, used for extracting a device appearance template corresponding to the target device type from the device database;

[0038] A first modeling module, configured to input at least one of the recommended device dimensions into the device shape template to generate at least one device model that meets the target device specification and the target device type;

[0039] The first display module is used to display at least one of the generated device models for selection by the user.

[0040] A third aspect of an embodiment of the present invention discloses an electronic device, comprising: a processor and a memory, wherein the processor and the memory are connected via a communication bus; wherein the processor is used to call and execute a program stored in the memory; and the memory is used to store a program, wherein the program is used to implement the method for generating a device model disclosed in the first aspect of the embodiment of the present invention.

[0041] A fourth aspect of an embodiment of the present invention discloses a computer-readable storage medium, in which computer-executable instructions are stored. The computer-executable instructions are used to execute the method for generating a device model disclosed in the first aspect of the embodiment of the present invention.

[0042] Based on the above-mentioned embodiment of the present invention, a method, system, electronic device and storage medium for generating a device model are provided. The method comprises: parsing the modeling instructions input by the user to obtain at least the target device specifications and the target device type; querying the shape calculation formula corresponding to the target device type from a preset device database; using the shape calculation formula, calculating at least one recommended device size that meets the target device specifications; and generating a device model that meets the target device specifications and the target device type based on the recommended device size. In this solution, the modeling instructions input by the user are parsed to obtain the target device specifications and the target device type. Based on the target device specifications, the target device type and the device database, a device model that meets the target device specifications and the target device type is generated. The device model that meets the user's needs can be generated in advance without requesting device drawings, thereby improving modeling efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, 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 embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0044] Figure 1 A flowchart of a method for generating a device model provided by an embodiment of the present invention;

[0045] Figure 2 A schematic diagram of a method for generating a device model provided by an embodiment of the present invention;

[0046] Figure 3 A structural block diagram of a system for generating a device model provided by an embodiment of the present invention;

[0047] Figure 4 Another structural block diagram of a system for generating a device model provided by an embodiment of the present invention;

[0048] Figure 5 Another structural block diagram of a system for generating a device model provided by an embodiment of the present invention;

[0049] Figure 6 Another structural block diagram of a system for generating a device model provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0050] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0051] In this application, the terms "comprises", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.

[0052] When performing 3D factory design for a project, 3D modeling is usually performed based on the designed equipment drawings, or the equipment manufacturer is waited for to provide a 3D equipment design model, and then the 3D equipment design model provided by the equipment manufacturer is processed and imported into the factory 3D design software; in short, the existing way of 3D modeling of equipment is mostly equipment design first, and equipment 3D modeling later.

[0053] However, on the one hand, as the requirements for engineering design continue to increase and the design cycle becomes shorter and shorter, the three-dimensional effect of the factory (the overall layout plan of the factory) is often realized at the beginning of the project or during the project, and even the three-dimensional effect of the factory must be displayed in the bidding stage. The existing way of three-dimensional modeling of equipment can no longer meet the demand of "displaying the three-dimensional effect of the factory in advance".

[0054] On the other hand, there are many types and sizes of equipment used in factories. It takes a lot of time and effort to request equipment drawings for each device and then conduct 3D modeling, and the modeling efficiency is low.

[0055] Therefore, there is an urgent need to find a method that can quickly generate equipment models according to process requirements, display and design the generated equipment models, and provide guidance for factory design plans, thereby saving manpower and time costs.

[0056] The inventors have discovered through research that when performing three-dimensional modeling on factory equipment, the equipment models of most equipment only require the equipment's overall dimensions and pipe opening information (nozzle information). The equipment's overall dimensions and pipe opening information are used to meet positioning requirements in the overall factory layout and to assist in the design of pipeline layout.

[0057] Therefore, this solution proposes a method, system, electronic device and storage medium for generating a device model, parsing the modeling instructions input by the user to obtain the target device specifications and the target device type. Based on the target device specifications, the target device type and the device database, a device model that meets the target device specifications and the target device type is generated, and a device model that meets the user's needs can be generated in advance without requesting device drawings, thereby improving modeling efficiency.

[0058] The present solution is described in detail below through various embodiments.

[0059] See also Figure 1 , shows a flow chart of a method for generating a device model provided by an embodiment of the present invention, the method comprising:

[0060] Step S101: parsing the modeling instruction input by the user to obtain at least the target device specification and the target device type.

[0061] In the specific implementation of step S101, a modeling instruction for three-dimensional device modeling input by a user is obtained; the modeling instruction is parsed to obtain parameters such as target device specifications, target device type, and target medium.

[0062] Specifically, keywords are extracted and identified from the input modeling instructions to obtain parameters such as target device specifications, target device type, and target media.

[0063] For example: User input "Create 5m 3 Compressed air vertical storage tank" modeling instruction, parse the modeling instruction, extract and identify "5m 3 ", "compressed air" and "vertical storage tank" keywords; among them, "5m 3 " is the volume parameter of the equipment model to be established (that is, the target equipment specification), "compressed air" is the medium of the equipment model to be established (that is, the target medium), and "vertical storage tank" is the equipment type of the equipment model to be established (that is, the target equipment type).

[0064] Step S102: querying a shape calculation formula corresponding to the target device type from a preset device database.

[0065] It should be noted that the commonly used equipment types in the factory are collected in advance, and the equipment database is established through the commonly used equipment types in the factory. In the process of establishing the equipment database, the equipment types are divided and set in a hierarchical structure. The division of equipment types is a tree stump structure division, that is, the equipment is first divided according to broad types, and the equipment is divided into multiple categories. Then, according to the equipment specifications and external dimensions (or equipment dimensions), each large category of equipment is subdivided into different small categories, and finally the division and setting of equipment types are realized.

[0066] For example: divide the equipment into major categories such as storage tanks, boilers, and steam turbines, and then subdivide the storage tanks, boilers, and steam turbines into different subcategories based on the equipment specifications and dimensions, thereby realizing the division and setting of equipment types.

[0067] After the equipment types are divided and set, a corresponding appearance calculation formula or standard model is set for each equipment type, and a corresponding equipment appearance template is set for each equipment type; that is, each equipment type has a corresponding appearance calculation formula and equipment appearance template.

[0068] It should be noted that the standard model includes capacity, working pressure, working temperature, medium, etc.

[0069] Through the above method, a device database is constructed, which contains data such as shape calculation formulas, device shape templates, and device dimensions corresponding to each device type.

[0070] In the specific implementation of step S102, after the target device specification and the target device type are obtained through parsing, the shape calculation formula corresponding to the target device type is searched from the device database.

[0071] Step S103: using the shape calculation formula, calculate and obtain at least one recommended device size that meets the target device specification.

[0072] In the specific implementation of step S103, the shape calculation formula corresponding to the target device type is used to calculate at least one recommended device size that meets the target device specifications. The recommended device size includes dimensional parameters such as diameter and height of the device model to be established.

[0073] Specifically, the specific method for calculating at least one recommended device size is: using the appearance calculation formula corresponding to the target device type to calculate at least one initial device size that meets the target device specifications; based on the device sizes included in the device database, counting the number of times the initial device size is used in the device database; determining the initial device size ranked in the top N in terms of the number of uses as the recommended device size.

[0074] It is worth noting that, in the process of calculating using the appearance calculation formula corresponding to the target device type, a variety of initial device sizes that meet the specifications of the target device can usually be calculated; after obtaining a variety of initial device sizes, these multiple initial device sizes can be compared with the existing device sizes in the device database, and the existing device models in the device database can be screened, analyzed and integrated to obtain statistics on the number of times each initial device size is used in the device database; the initial device sizes that are ranked in the top N in terms of the number of times used in the device database are selected as recommended device sizes.

[0075] That is, the multiple recommended device sizes are: the initial device sizes that are ranked in the top N places in terms of usage frequency in the device database.

[0076] For example: Assume that the target device specification parsed from the modeling instruction is 5m 3 The target equipment type is a vertical storage tank. Using the corresponding shape calculation formula of the vertical storage tank, a variety of initial equipment sizes can be calculated, and these various initial equipment sizes meet the requirements of 5m 3 The needs of the equipment are met; these multiple initial equipment sizes are compared with the existing equipment sizes in the equipment database, and the equipment models in the equipment database are screened, analyzed and integrated. The initial equipment sizes that are used in the equipment database in the top three times are selected as the recommended equipment sizes, and three recommended equipment sizes can be determined.

[0077] Step S104: Based on the recommended device size, generate a device model that meets the target device specification and target device type.

[0078] In the specific implementation of step S104, after the recommended device size is calculated, a device model that meets the target device specifications and the target device type is generated according to the recommended device size. The generated device model that meets the target device specifications and the target device type is a three-dimensional model.

[0079] In some embodiments, the present solution provides two methods for generating a device model that meets the target device specification and the target device type. The two methods are described in detail below.

[0080] The first way to generate a device model that meets the target device specifications and target device type:

[0081] Extracting a device appearance template corresponding to the target device type from a device database; inputting at least one recommended device size into the device appearance template to generate at least one device model that meets the target device specification and the target device type; and displaying the generated at least one device model for user selection.

[0082] Specifically, a device appearance template corresponding to the target device type is first extracted from the device database, and then multiple recommended device sizes are respectively input into the device appearance template to generate multiple device models that meet the target device specifications and target device type, and multiple device models that meet the target device specifications and target device type are displayed for user selection.

[0083] For example: Assume that the target device specification parsed from the modeling instruction is 5m 3 , the target equipment type is a vertical storage tank, and three recommended equipment sizes are determined; these three recommended equipment sizes are input into the vertical gas tank template (equipment shape template corresponding to the vertical storage tank) to generate three sizes that meet the 5m 3The required gas tank model; these 3 gas tank models are displayed for the user to choose.

[0084] The above is the description of the first method of generating a device model that meets the target device specifications and target device type.

[0085] The second way to generate a device model that meets the target device specifications and target device type:

[0086] The recommended device size is displayed for selection by the user; based on the recommended device size selected by the user, a device model that meets the target device specification and the target device type is generated.

[0087] The specific method of generating the device model based on the recommended device size selected by the user is as follows: determining whether there is a device model matching the target device type and the recommended device size selected by the user in the device database; if so, extracting the device model matching the target device type and the recommended device size selected by the user from the device database;

[0088] If it does not exist, extract the device shape template corresponding to the target device type from the device database; input the recommended device size selected by the user into the device shape template corresponding to the target device type to generate a device model that meets the target device specifications and the target device type.

[0089] That is to say, after the recommended device size is calculated, the recommended device size is displayed for the user to choose; after the user selects any recommended device size, a search is first performed in the device database to determine whether there is a device model in the device database that matches the target device type and the recommended device size selected by the user.

[0090] If there is a device model in the device database that matches the target device type and the recommended device size selected by the user, the device model is extracted. The extracted device model is the device model that meets the target device specifications and the target device type.

[0091] If there is no device model matching the target device type and the recommended device size selected by the user in the device database, the recommended device size selected by the user is input into the device appearance template corresponding to the target device type to generate a device model that meets the target device specifications and the target device type.

[0092] For example: Assume that the target device specification parsed from the modeling instruction is 5m 3 , the target equipment type is a vertical storage tank, and 3 recommended equipment sizes are determined; the 3 recommended equipment sizes are displayed for the user to choose; after the user selects any recommended equipment size, it is searched in the equipment database.

[0093] If there is a gas tank model matching the recommended device size selected by the user in the device database, then the gas tank model matching the recommended device size selected by the user is extracted, and the extracted gas tank model meets the 5m 3 This demand.

[0094] If there is no gas tank model matching the recommended equipment size selected by the user in the equipment database, the recommended equipment size selected by the user is input into the vertical gas tank template (equipment shape template corresponding to the vertical tank) to generate a 5m 3 Gas tank model required.

[0095] The above is the description of the second method of generating a device model that meets the target device specifications and target device type.

[0096] In the embodiment of the present invention, the modeling instruction input by the user is parsed to obtain the target device specification and the target device type. Based on the target device specification, the target device type and the device database, a device model that meets the target device specification and the target device type is generated. The device model that meets the user's needs can be generated in advance without requesting the device drawings, thereby improving the modeling efficiency.

[0097] In practical applications, this solution can generate device models based on artificial intelligence (AI). To better explain the application scenarios of this solution, Figure 2 A schematic diagram of a method for generating a device model is shown to illustrate the present solution from an application perspective.

[0098] Combination Figure 2 As can be seen from the content shown, the user enters a modeling instruction in the interface; the modeling instruction is parsed by AI to extract and identify the target device specifications, target media and target device type.

[0099] Through AI, the shape calculation formula corresponding to the target device type is queried from the device database, and the initial device size that meets the specifications of the target device can be calculated through the shape calculation formula.

[0100] The recommended device size is determined from the calculated initial device size through AI, and the device appearance template corresponding to the target device type is determined from the device database; the recommended device size is input into the device appearance template to generate a device model that meets the target device specifications and target device type for user selection.

[0101] For example: The user enters "Create 5m 3 Compressed air vertical storage tank" modeling instruction; AI is used to parse the modeling instruction, extract and identify the "5m 3 ", "compressed air" and "vertical storage tank" keywords; among them, "5m3 " is the target equipment specification, "compressed air" is the target medium, and "vertical tank" is the target equipment type;

[0102] Through AI, the corresponding shape calculation formula of "vertical storage tank" is queried from the equipment database. The shape calculation formula can be used to calculate the shape that meets the requirements of 5m 3 Initial equipment dimensions (including tank diameter and height);

[0103] The AI ​​determines three recommended equipment sizes from the calculated initial equipment size, and determines the vertical gas storage tank template (equipment shape template corresponding to the vertical storage tank) from the equipment database; the three recommended equipment sizes are input into the vertical gas storage tank template respectively to generate three vertical gas storage tanks that meet the 5m 3 Gas tank models are available for users to choose from.

[0104] From the contents of the above embodiments, it can be seen that the present solution pre-sets a device database, filters, calls and analyzes the data in the device database according to the modeling instructions input by the user, and quickly finds the shape calculation formula and the device shape template; compares the initial device size calculated by the shape calculation formula with the device size in the device database to form a recommended device size; and inputs the recommended device size into the device shape template to generate a device model for the user to select and use.

[0105] Based on the above content, this solution has the following advantages:

[0106] 1. In the absence of equipment drawings, this solution can directly generate equipment models using the pre-built equipment database, saving the time of waiting for equipment drawings. The generated equipment models can be selected and used by users, improving design efficiency and shortening design cycles.

[0107] 2. Filter and call data through the device database to reduce the user's workload;

[0108] 3. It saves users’ modeling time, shortens construction period, and improves the efficiency of equipment modeling.

[0109] Corresponding to the method for generating a device model provided by the above embodiment of the present invention, see Figure 3 , the embodiment of the present invention also provides a structural block diagram of a system for generating a device model, the system comprising: a parsing unit 301, a query unit 302, a calculation unit 303, and a modeling unit 304;

[0110] The parsing unit 301 is used to parse the modeling instruction input by the user to obtain at least the target device specification and the target device type.

[0111] The query unit 302 is used to query the shape calculation formula corresponding to the target device type from a preset device database.

[0112] The calculation unit 303 is used to calculate at least one recommended device size that meets the target device specification by using the shape calculation formula.

[0113] The modeling unit 304 is used to generate a device model that meets the target device specification and the target device type based on the recommended device size, and the device model is a three-dimensional model.

[0114] In the embodiment of the present invention, the modeling instruction input by the user is parsed to obtain the target device specification and the target device type. Based on the target device specification, the target device type and the device database, a device model that meets the target device specification and the target device type is generated. The device model that meets the user's needs can be generated in advance without requesting the device drawings, thereby improving the modeling efficiency.

[0115] Preferably, combined Figure 3 , see Figure 4 , shows another structural block diagram of a system for generating a device model provided by an embodiment of the present invention, wherein the calculation unit 303 includes:

[0116] The calculation module 3031 is used to calculate at least one initial device size that meets the target device specification using the shape calculation formula.

[0117] The statistics module 3032 is used to count the number of times the initial device size is used in the device database based on the device sizes included in the device database.

[0118] The determination module 3033 is used to determine the initial device sizes ranked in the top N in terms of usage times as the recommended device sizes.

[0119] Preferably, combined Figure 3 , see Figure 5 , shows another structural block diagram of a system for generating a device model provided by an embodiment of the present invention, wherein the modeling unit 304 includes:

[0120] The extraction module 3041 is used to extract the device appearance template corresponding to the target device type from the device database.

[0121] The first modeling module 3042 is used to input at least one recommended device size into the device appearance template to generate at least one device model that meets the target device specification and target device type.

[0122] The first display module 3043 is used to display the generated at least one device model for user selection.

[0123] Preferably, combined Figure 3 , see Figure 6 , shows another structural block diagram of a system for generating a device model provided by an embodiment of the present invention, wherein the modeling unit 304 includes:

[0124] The second display module 3044 is used to display recommended device sizes for user selection.

[0125] The second modeling module 3045 is used to generate a device model that meets the target device specification and target device type based on the recommended device size selected by the user.

[0126] In a specific implementation, the second modeling module 3045 is specifically used to: determine whether there is a device model in the device database that matches the target device type and the recommended device size selected by the user; if so, extract the device model that matches the target device type and the recommended device size selected by the user from the device database; if not, extract the device appearance template corresponding to the target device type from the device database; input the recommended device size selected by the user into the device appearance template to generate a device model that meets the target device specifications and the target device type.

[0127] Preferably, an embodiment of the present invention further provides an electronic device, comprising: a processor and a memory, the processor and the memory being connected via a communication bus; wherein the processor is used to call and execute a program stored in the memory; the memory is used to store the program, and the program is used to implement the method for generating a device model provided in the above method embodiment.

[0128] Preferably, an embodiment of the present invention further provides a computer-readable storage medium, in which computer-executable instructions are stored, and the computer-executable instructions are used to execute the method for generating a device model provided in the above method embodiment.

[0129] In summary, the embodiments of the present invention provide a method, system, electronic device and storage medium for generating a device model, which parses the modeling instruction input by the user to obtain the target device specification and the target device type. Based on the target device specification, the target device type and the device database, a device model that meets the target device specification and the target device type is generated, and a device model that meets the user's needs can be generated in advance without requesting device drawings, thereby improving modeling efficiency.

[0130] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.

[0131] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may 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.

[0132] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for generating a device model, characterized in that: The method comprises: Parsing the modeling instructions input by the user to obtain at least the target device specification and the target device type; Querying a shape calculation formula corresponding to the target device type from a preset device database; Using the shape calculation formula, calculate at least one recommended device size that meets the target device specification; Based on the recommended device size, a device model that meets the target device specification and the target device type is generated, and the device model is a three-dimensional model.

2. The method according to claim 1, characterized in that: Using the shape calculation formula, at least one recommended device size that meets the target device specification is calculated, including: Using the shape calculation formula, calculate at least one initial device size that meets the target device specification; Based on the device sizes included in the device database, counting the number of times the initial device size is used in the device database; Determine the initial device size ranked in the top N in terms of usage times as the recommended device size.

3. The method according to claim 1 or 2, characterized in that: Based on the recommended device size, a device model that meets the target device specification and the target device type is generated, including: Extracting a device appearance template corresponding to the target device type from the device database; Inputting at least one of the recommended device dimensions into the device shape template to generate at least one device model that meets the target device specification and the target device type; The generated at least one device model is displayed for selection by the user.

4. The method according to claim 1 or 2, characterized in that: Based on the recommended device size, a device model that meets the target device specification and the target device type is generated, including: displaying the recommended device size for selection by the user; Based on the recommended device size selected by the user, a device model that meets the target device specification and the target device type is generated.

5. The method according to claim 4, characterized in that Generating a device model that meets the target device specification and the target device type based on the recommended device size selected by the user, including: Determine whether there is a device model in the device database that matches the target device type and the recommended device size selected by the user; If so, extracting a device model that matches the target device type and the recommended device size selected by the user from the device database; If not, extracting a device appearance template corresponding to the target device type from the device database; The recommended device size selected by the user is input into the device appearance template to generate a device model that meets the target device specification and the target device type.

6. A system for generating a device model, characterized in that: The system comprises: A parsing unit, used for parsing the modeling instruction input by the user to obtain at least the target device specification and the target device type; A query unit, used to query a shape calculation formula corresponding to the target device type from a preset device database; A calculation unit, configured to calculate at least one recommended device size that meets the target device specification by using the shape calculation formula; A modeling unit is used to generate a device model that meets the target device specification and the target device type based on the recommended device size, wherein the device model is a three-dimensional model.

7. The system according to claim 6, characterized in that The computing unit comprises: A calculation module, configured to calculate at least one initial device size that meets the target device specification using the shape calculation formula; A statistics module, configured to count the number of times the initial device size is used in the device database based on the device sizes included in the device database; The determination module is used to determine that the initial device size ranked in the top N in terms of usage times is a recommended device size.

8. The system according to claim 6 or 7, characterized in that: The modeling unit comprises: An extraction module, used for extracting a device appearance template corresponding to the target device type from the device database; A first modeling module, configured to input at least one of the recommended device dimensions into the device shape template to generate at least one device model that meets the target device specification and the target device type; The first display module is used to display at least one of the generated device models for selection by the user.

9. An electronic device, characterized in that: include: A processor and a memory, wherein the processor and the memory are connected via a communication bus; wherein the processor is used to call and execute a program stored in the memory; The memory is used to store a program, and the program is used to implement the method for generating a device model as described in any one of claims 1-5.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to execute the method for generating a device model as described in any one of claims 1-5.