CN115857930A - Prototype rapid design method and system based on real-scene model - Google Patents

Prototype rapid design method and system based on real-scene model Download PDF

Info

Publication number
CN115857930A
CN115857930A CN202211590869.7A CN202211590869A CN115857930A CN 115857930 A CN115857930 A CN 115857930A CN 202211590869 A CN202211590869 A CN 202211590869A CN 115857930 A CN115857930 A CN 115857930A
Authority
CN
China
Prior art keywords
model
dimensional
prototype
library
design
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211590869.7A
Other languages
Chinese (zh)
Inventor
雷远琴
杨溢
黄士用
魏强
王淮
韦丹
陈国锐
郑娟
唐欢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ruiyu Spacetime Technology Chongqing Co ltd
Original Assignee
Ruiyu Spacetime Technology Chongqing Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ruiyu Spacetime Technology Chongqing Co ltd filed Critical Ruiyu Spacetime Technology Chongqing Co ltd
Priority to CN202211590869.7A priority Critical patent/CN115857930A/en
Publication of CN115857930A publication Critical patent/CN115857930A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a rapid prototype design method and system based on a real-scene model, which comprises the steps of firstly establishing a prototype model library; then selecting a model component from a prototype model library and setting the model component in a prototype design interface; and laying out the prototype model components; finally, analyzing and identifying a page of the prototype design interface according to the model layout generation scheme; and generating an HTML page according to the prototype design interface and the rule. The method provided by the invention can ensure that the product meets the requirements of a user before the coding is realized by presetting the related prototype model library, and can quickly carry out prototype iteration and refinement, realize visual design of the real-scene prototype, provide quick modification and design verification due to the change of requirements in the design process, and reduce the cost and risk of a development system. In the rapid prototyping engineering, the change is simple and convenient, and the communication method is also an intuitive communication mode for developers, so that the developers can keep the same understanding of the design, and the overall development efficiency is improved.

Description

Prototype rapid design method and system based on real-scene model
Technical Field
The invention relates to the technical field of real-scene model design, in particular to a prototype rapid design method and a prototype rapid design system based on a real-scene model.
Background
At present, in the field of mapping geographic information, as the tasks required to be carried by systems such as mapping, navigation, communication and display systems are increasingly powerful, the interaction between data is complex and multidimensional, the functions of the included subsystems and the interaction relationship between the subsystems are increasingly complex, and thus, the requirements on the systems and the software and hardware included in the systems are increasingly high. And rapid prototype design enables designers to efficiently master industrial characteristics and increase timeliness, and is of great importance for professional systems in the mapping field.
The traditional method mainly places tasks around oral narration of a superior department and related text documents, then coding personnel realize functions, and through continuous discussion and iteration requirements, the design personnel carry out optimization design. The whole process often has the defects of unclear requirements, extremely high rework rate in the coding process and insufficient expression of interface interaction capacity of software, so that the workload is huge, and the development period is prolonged.
Disclosure of Invention
In view of the above, the present invention provides a method and a system for rapid prototyping based on a real-world model, which utilize a rapid prototyping scheme for model components to improve the efficiency of prototyping.
In order to achieve the purpose, the invention provides the following technical scheme:
the invention provides a rapid prototype design method based on a real-scene model, which comprises the following steps:
step 1, establishing a prototype model library; the prototype model library at least comprises any one or a plurality of combinations of a two-dimensional model library, a texture database and a real three-dimensional model library; the two-dimensional model library stores two-dimensional geometrical structure information of a plurality of model components, and the three-dimensional model library comprises three-dimensional geometrical structure information of the corresponding model components in the two-dimensional model library; the texture database is used for providing texture data required by various model components;
step 2, selecting a model component from a prototype model library and setting the model component in a prototype design interface;
step 3, laying out the prototype model components;
step 4, analyzing and identifying a page of the prototype design interface according to the model layout generation scheme;
and 5, generating an HTML page according to the prototype design interface and the rule.
Further, the model member at least comprises any one or a combination of a wall, a column, a door, a window, a stair, a display board, a doorplate, a safety exit indicator, a bookshelf, a fire hydrant signboard, a building, a water system, traffic, a border, a terrain, a landform, vegetation, a pipeline, a grille and an independent ground object.
Further, the selection of model components from the prototype model library in step 2 is performed as follows:
dragging model components into an opened prototype design interface according to a menu bar of the prototype design interface, calling the model components required by design from a two-dimensional model library, and sequentially calling other model components from the two-dimensional model library to generate a corresponding model component example;
further, the selection of model components from the prototype model library in step 2 is performed as follows:
calling model components required by design from a three-dimensional model library, generating instances of the three-dimensional model components in the same mode, such as calling building model components, generating three-dimensional instances of the building model components in a prototype design interface, and sequentially calling other model components from a two-dimensional model library to generate corresponding three-dimensional instances of the model components;
further, the step 3 of laying out prototype model components is performed as follows:
obtaining a model component display mode and judging whether the model component display mode is converted into a three-dimensional model, if so, starting a two-dimensional to three-dimensional program, which specifically comprises the following steps:
identifying a two-dimensional identification code and a coordinate position of a two-dimensional model component, acquiring a three-dimensional identification code associated with a three-dimensional model library according to the two-dimensional identification code, calling the three-dimensional model component in the three-dimensional model library according to the three-dimensional identification code, and setting a display position of the three-dimensional model component on a prototype design interface according to the coordinate position; and performing circulation one by one until all the two-dimensional model components are converted into three-dimensional model components to obtain the prototype three-dimensional design drawing.
Further, the analyzing and page identifying of the prototype interface in the step 4 are specifically performed according to the following modes:
analyzing the prototype design interface comprises identifying two-dimensional geometric structure information or three-dimensional geometric structure information, texture data and coordinate position information of various model components;
further, the HTML page is generated in step 5 according to the prototype design interface and the rule, and the method specifically includes the following steps:
performing HIML standard code encapsulation according to two-dimensional and three-dimensional models in a module library to obtain a button;
and when the generated button is clicked, identifying a page set contained in the prototype through HIML standard codes corresponding to all element tags, generating HTML static page folders, CSS style folders and JS script language folders corresponding to all element tags, and forming a complete project file package.
The system further comprises a cloud server, wherein the cloud server is used for storing the prototype model library and the cloud processing system;
the cloud processing system is used for receiving the two-dimensional to three-dimensional control program, calling the real three-dimensional model library and the texture database in the prototype model library arranged on the cloud server according to the two-dimensional to three-dimensional control program, reconstructing the three-dimensional model prototype design according to the coordinate position of each model component in the prototype design interface, calling corresponding texture data in the texture database according to the association between the texture data in the prototype design and the model components, and integrating the corresponding texture data into the three-dimensional model components.
Further, the method also comprises an automatic generation system of model component layout, and the automatic generation system of model component layout comprises the following steps:
s1, obtaining a model component in a prototype design interface, classifying and identifying the model component, and taking relevant data of the model component as an original data set;
s2, constructing an automatic layout model, wherein the automatic layout model is used for generating a required building layout scheme by utilizing an original data set; the automatic layout model is a generated confrontation network model finished by pre-training;
and S3, inputting the original data set into the trained generation confrontation network model to obtain a model layout scheme output image.
The invention provides a rapid prototyping design system based on a real-scene model, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the method when executing the program.
The invention has the beneficial effects that:
according to the method and the system for rapid prototype design based on the real-scene model, the related prototype model library is preset, so that the product can be ensured to meet the requirements of a user before coding is realized, prototype iteration and refinement can be rapidly carried out, visual design of the real-scene prototype is realized, rapid modification and design verification due to requirement change in the design process are provided, and the cost and the risk of developing the system are reduced. In the rapid prototyping engineering, the change is simple and convenient, and the communication method is also an intuitive communication mode for development personnel, so that the development personnel can keep the design understanding consistent. And subsequently, the prototype system design can be constructed in various fields by continuously improving the prototype model library, so that the overall development efficiency is improved.
Additional advantages, objects, and features of the invention will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following or may be learned from practice of the invention. The objectives and other advantages of the invention may be realized and attained by the means of the instrumentalities and combinations particularly pointed out hereinafter.
Drawings
In order to make the purpose, technical scheme and beneficial effect of the invention more clear, the invention provides the following drawings for explanation:
FIG. 1 is a flow chart of a prototyping process.
Fig. 2 is a flow chart of the prototype design process of the real-world model.
FIG. 3 is a schematic block diagram of an automatic model component layout generation system.
Detailed Description
The present invention is further described with reference to the following drawings and specific examples so that those skilled in the art can better understand the present invention and can practice the present invention, but the examples are not intended to limit the present invention.
As shown in fig. 1, the method and system for rapid prototype design based on real-world models provided in this embodiment includes the following steps:
step 1, establishing a prototype model library; the prototype model library at least comprises any one or a plurality of combinations of a two-dimensional model library, a texture database and a real three-dimensional model library;
the two-dimensional model library stores two-dimensional geometrical structure information of a plurality of model components, wherein the model components at least comprise any one or a plurality of combinations of walls, columns, doors, windows, stairs, display boards, doorplates, safety exit indication signs, bookshelves, fire hydrant signs, buildings, water systems, traffic, borders, terrains, landforms, vegetation, pipelines, palisades and independent ground objects;
the three-dimensional model library comprises three-dimensional geometrical structure information of corresponding model components in the two-dimensional model library;
the texture database is used for providing texture data required by various model components;
step 2, selecting a model component from a preset prototype model library; and is arranged in the prototype design interface;
in the opened prototype design interface, model components are dragged into a menu bar of the prototype design interface, generally model components required by design are called from a two-dimensional model library, for example, building model components are called, building model component examples are generated in the prototype design interface, and the steps are sequentially carried out, so that other model components are called from the two-dimensional model library to generate corresponding model component examples; meanwhile, model components required by design can be directly called from the three-dimensional model library, and examples of the three-dimensional model components are generated in the same manner, such as calling building model components, generating three-dimensional examples of the building model components in a prototype design interface and sequentially carrying out the steps, so that other model components are called from the two-dimensional model library to generate corresponding three-dimensional examples of the model components;
step 3, laying out prototype model components, and judging model component display modes, wherein the display modes comprise a three-dimensional prototype interface and a two-dimensional prototype interface;
the prototype design in the embodiment is carried out by adopting the two-dimensional model component in a default state, the prototype design can be quickly realized, the prototype design efficiency is improved, the judgment of the model component display mode can be realized by the control program for converting the set two-dimensional model into the three-dimensional model, and the functions of the control program for the two-dimensional model and the three-dimensional model in the embodiment are as follows: after prototype design realized by adopting a two-dimensional model component is finished, starting a two-dimensional to three-dimensional program by arranging a two-dimensional to three-dimensional button on a menu bar, firstly identifying a two-dimensional identification code and a coordinate position of the two-dimensional model component, acquiring a three-dimensional identification code associated with a three-dimensional model library according to the two-dimensional identification code, calling the three-dimensional model component in the three-dimensional model library according to the three-dimensional identification code, and setting a display position of the three-dimensional model component on a prototype design interface according to the coordinate position; and finally, circulating one by one until all the two-dimensional model components are converted into three-dimensional model components to obtain a prototype three-dimensional design drawing.
Step 4, analyzing and identifying a page of the prototype interface;
analyzing the prototype design interface comprises identifying two-dimensional geometric structure information or three-dimensional geometric structure information, texture data and coordinate position information of various model components;
the two-dimensional geometry resolving attributes include: length, width, round angle, X coordinate, Y coordinate, transparency, border, color, texture, background picture and other information storage, HTML code segment.
The three-dimensional geometric resolution attributes include: length, width, height, X-coordinate, Y-coordinate, Z-coordinate, rotation angle, color, texture, background, HTML code segments.
And matching two-dimensional or three-dimensional attributes with the prototype interface, using the prototype interface for combination conversion in the operation interface, and performing HTML corresponding analysis and identification on the set structure. Forming the final prototype interface.
Step 5, generating an HTML page according to the prototype design interface and the rule
Two-dimensional and three-dimensional models in a module library are constructed, such as buttons, file edit boxes, tables, icons, drop-down boxes and the like, codes of a specific web (webpage) application function are packaged, then after layout and typesetting are completed according to a prototype interface, a generation button is clicked, a page set contained in a prototype is identified through HIML standard codes corresponding to element tags, the page set contained in the prototype is identified, HTML pages corresponding to the prototype are generated, HTML static page folders, CSS style folders and JS script language folders are automatically generated in the generation process, and a complete project file package is formed.
In the embodiment, the cloud server is used for storing the prototype model library and the cloud processing system;
the cloud processing system is used for receiving the two-dimensional to three-dimensional control program, calling the real three-dimensional model library and the texture database in the prototype model library arranged on the cloud server according to the two-dimensional to three-dimensional control program, reconstructing the three-dimensional model prototype design according to the coordinate position of each model component in the prototype design interface, calling corresponding texture data in the texture database according to the association between the texture data in the prototype design and the model components, and integrating the corresponding texture data into the three-dimensional model components.
And rendering the three-dimensional model in the three-dimensional model component obtained by conversion through a live-action three-dimensional rendering server arranged in the cloud server to obtain a live-action three-dimensional rendering example, converting the rendered model component into a pixel stream, and directly pushing the pixel stream to a terminal to generate an HTML page to display.
The embodiment also provides an automatic generation system of the model component layout, which is carried out according to the following steps:
s1, obtaining a model component in a prototype design interface, classifying and identifying the model component, and taking relevant data of the model component as an original data set;
s2, constructing an automatic layout model, wherein the automatic layout model is used for generating a required building layout scheme by utilizing an original data set; the automatic layout model is a generated confrontation network model finished by pre-training;
and S3, inputting the original data set into the trained generation confrontation network model to obtain a model layout scheme output image.
The training process of the automatic layout model of the embodiment is as follows:
acquiring a prototype design plane layout case as a layout data set;
constructing a generation countermeasure network model, wherein the generation countermeasure network model comprises a generation network and a judgment network; dividing a layout data set into a training set and a verification set according to the generated confrontation network model;
the training set obtains a layout generation image through a generation network;
and inputting the layout generated image and the label layout image into a discrimination network, and returning a discrimination result to the generated network until the output of the generated network reaches a preset condition.
The label layout image in this embodiment is data obtained by labeling the prototype design plane layout case according to the design rule, and a data set labeled by training based on a machine learning algorithm is obtained, and can be input to a model for training.
The model layout in this embodiment may be generated hierarchically: the method comprises the steps of dividing the function of a preset area, generating the function partition of the preset area according to the land use condition, generating the building function layout according to the function partition, and finally realizing the model layout scheme meeting the planning and designing requirements.
The generation countermeasure network model in this embodiment may use the obtained two-dimensional layout image as basic data; inputting the generated two-dimensional layout image into a parametric modeling platform based on rhinoceros software, establishing a three-dimensional modeling platform through transmittable parameters, and displaying a generated model result through a real-time visual interface of the rhinoceros software; and exporting a corresponding format file of the generated three-dimensional generation model.
And judging whether the model components in the prototype design interface meet the conditions for starting the automatic layout model, if so, starting the automatic layout model, and if not, requiring to continue to add the model components in the prototype design interface.
According to the invention, by presetting the related prototype model library, the product can be ensured to meet the user requirements before the coding is realized, and the prototype iteration and the refinement can be rapidly carried out, so that the communication can be visually carried out on the user, the requirement confirmation and the design verification can be more conveniently carried out, the cost evaluation of a development system can be better carried out, the project cycle can be refined, and the development risk can be reduced. In the rapid prototyping engineering, the change is simple and convenient, and the method is also an intuitive communication mode for developers, so that the developers can keep the design understanding consistent. And subsequently, the prototype system design can be constructed in various fields by continuously improving the prototype model library, so that the overall development efficiency is improved.
The above-mentioned embodiments are merely preferred embodiments for fully illustrating the present invention, and the scope of the present invention is not limited thereto. The equivalent substitutions or changes made by the person skilled in the art on the basis of the present invention are all within the protection scope of the present invention. The protection scope of the invention is subject to the claims.

Claims (10)

1. A rapid prototype design method based on a real-scene model is characterized in that: the method comprises the following steps:
step 1, establishing a prototype model library; the prototype model library at least comprises any one or a plurality of combinations of a two-dimensional model library, a texture database and a real three-dimensional model library; the two-dimensional model library stores two-dimensional geometrical structure information of a plurality of model components, and the three-dimensional model library comprises three-dimensional geometrical structure information of the model components corresponding to the two-dimensional model library; the texture database is used for providing texture data required by various model components;
step 2, selecting a model component from a prototype model library and setting the model component in a prototype design interface;
step 3, laying out the prototype model components;
step 4, analyzing and identifying a page of the prototype design interface according to the model layout generation scheme;
and 5, generating an HTML page according to the prototype design interface and the rule.
2. A rapid prototyping method as set forth in claim 1 wherein: the model component at least comprises any one or a plurality of combinations of walls, columns, doors, windows, stairs, display boards, doorplates, safety exit indicators, bookshelves, fire hydrant signs, buildings, water systems, traffic, borders, terrains, landforms, vegetation, pipelines, palisades and independent ground objects.
3. A rapid prototyping method as set forth in claim 1 wherein: the model component selected from the prototype model library in the step 2 is performed in the following manner:
and in the opened prototype design interface, according to the model components dragged into a menu bar of the prototype design interface, calling the model components required by design from the two-dimensional model library, and sequentially calling other model components from the two-dimensional model library to generate corresponding model component examples.
4. A rapid prototyping method as set forth in claim 1 wherein: the model component selected from the prototype model library in the step 2 is performed in the following manner:
calling model components required by design from a three-dimensional model library, generating instances of the three-dimensional model components in the same way, such as calling building model components, generating three-dimensional instances of the building model components in a prototype design interface, and sequentially calling other model components from a two-dimensional model library to generate corresponding three-dimensional instances of the model components.
5. A rapid prototyping method as set forth in claim 1 wherein: the layout of the prototype model components in the step 3 is carried out according to the following modes:
obtaining a model component display mode and judging whether the model component display mode is converted into a three-dimensional model in a two-dimensional mode or not, if so, starting a two-dimensional to three-dimensional program, specifically comprising the following steps:
identifying a two-dimensional identification code and a coordinate position of a two-dimensional model component, acquiring a three-dimensional identification code associated with a three-dimensional model library according to the two-dimensional identification code, calling the three-dimensional model component in the three-dimensional model library according to the three-dimensional identification code, and setting a display position of the three-dimensional model component on a prototype design interface according to the coordinate position; and performing circulation one by one until all the two-dimensional model components are converted into three-dimensional model components to obtain the prototype three-dimensional design drawing.
6. A rapid prototyping method as set forth in claim 1 wherein: in the step 4, the page is analyzed and identified for the prototype interface, specifically according to the following method:
parsing the prototype design interface includes identifying two-dimensional or three-dimensional geometric information, texture data, and coordinate location information for various model components.
7. A rapid prototyping method as claimed in claim 1 wherein the prototype is based on real world models and wherein: in the step 5, an HTML page is generated according to the prototype design interface and the rule, and the method specifically comprises the following steps:
performing HIML standard code encapsulation according to two-dimensional and three-dimensional models in a module library to obtain a button;
and when the generated button is clicked, identifying a page set contained in the prototype through HIML standard codes corresponding to all element tags, generating HTML static page folders, CSS style folders and JS script language folders corresponding to all element tags, and forming a complete project file package.
8. A rapid prototyping method as claimed in claim 1 wherein the prototype is based on real world models and wherein: the system also comprises a cloud server, wherein the cloud server is used for storing the prototype model library and the cloud processing system;
the cloud processing system is used for receiving the two-dimensional to three-dimensional control program, calling a live-action three-dimensional model library and a texture database in a prototype model library arranged on the cloud server according to the two-dimensional to three-dimensional control program, reconstructing a three-dimensional model prototype design according to the coordinate position of each model component in a prototype design interface, calling corresponding texture data in the texture database according to the association between the texture data in the prototype design and the model components, and fusing the corresponding texture data into the three-dimensional model components.
9. A rapid prototyping method as set forth in claim 1 wherein: the method further comprises an automatic generation system of the model component layout, and the automatic generation system of the model component layout comprises the following steps:
s1, obtaining a model component in a prototype design interface, classifying and identifying the model component, and taking relevant data of the model component as an original data set;
s2, constructing an automatic layout model, wherein the automatic layout model is used for generating a required building layout scheme by utilizing an original data set; the automatic layout model is a generated confrontation network model finished by pre-training;
and S3, inputting the original data set into the trained generation confrontation network model to obtain a model layout scheme output image.
10. A rapid prototyping system based on a real world model comprising a memory, a processor and a computer program stored on the memory and operable on the processor, wherein the processor when executing the program implements the method of any one of claims 1 to 9.
CN202211590869.7A 2022-12-12 2022-12-12 Prototype rapid design method and system based on real-scene model Pending CN115857930A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211590869.7A CN115857930A (en) 2022-12-12 2022-12-12 Prototype rapid design method and system based on real-scene model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211590869.7A CN115857930A (en) 2022-12-12 2022-12-12 Prototype rapid design method and system based on real-scene model

Publications (1)

Publication Number Publication Date
CN115857930A true CN115857930A (en) 2023-03-28

Family

ID=85672140

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211590869.7A Pending CN115857930A (en) 2022-12-12 2022-12-12 Prototype rapid design method and system based on real-scene model

Country Status (1)

Country Link
CN (1) CN115857930A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116863054A (en) * 2023-07-18 2023-10-10 上海秉匠信息科技有限公司 Method, device, equipment and storage medium for generating three-dimensional visual scene

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116863054A (en) * 2023-07-18 2023-10-10 上海秉匠信息科技有限公司 Method, device, equipment and storage medium for generating three-dimensional visual scene

Similar Documents

Publication Publication Date Title
CN104216691B (en) A kind of method and device for creating application
US20060121436A1 (en) Graphical workspace for idea management
US8843352B2 (en) System and methods facilitating interfacing with a structure design and development process
US20090326921A1 (en) Grammar checker for visualization
CN112199086A (en) Automatic programming control system, method, device, electronic device and storage medium
CN109191590B (en) Processing system and processing method for manufacturing virtual reality application
CN113901367A (en) BIM (building information modeling) mass model display method based on WebGL + VR (WebGL + VR)
Schmalstieg et al. Managing complex augmented reality models
Koch et al. BIM-based augmented reality for facility maintenance using natural markers
CN114359501B (en) Configurable 3D visualization platform and scene construction method
CN106846431B (en) Unified Web graph drawing system supporting multiple expression forms
CN115857930A (en) Prototype rapid design method and system based on real-scene model
Assila et al. Integration of augmented, virtual and mixed reality with building information modeling: a systematic review
Krygiel et al. Mastering autodesk revit architecture 2015: autodesk official press
Parente et al. Integration of convolutional and adversarial networks into building design: A review
Walczak et al. Inference-based creation of synthetic 3D content with ontologies
Yori et al. Mastering Autodesk Revit 2020
Liu et al. Spatial specification and reasoning using grammars: from theory to application
Feng et al. Bimil: automatic generation of bim-based indoor localization user interface for emergency response
CN114443022A (en) Method for generating page building block and electronic equipment
Merckel et al. Multi-interfaces approach to situated knowledge management for complex instruments: First step toward industrial deployment
Hajji et al. Integration of Bim and Mobile Augmented Reality in the Aeco Domain
CN113591197B (en) Online editing method and device, electronic equipment and storage medium
US20230351728A1 (en) Machine learning for vector map generation
Abdirad et al. BIM technologies, tools, and skills

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination