CN112270028A - Model management method and terminal - Google Patents

Model management method and terminal Download PDF

Info

Publication number
CN112270028A
CN112270028A CN202011191876.0A CN202011191876A CN112270028A CN 112270028 A CN112270028 A CN 112270028A CN 202011191876 A CN202011191876 A CN 202011191876A CN 112270028 A CN112270028 A CN 112270028A
Authority
CN
China
Prior art keywords
parameters
model
primitive
parameter
primitives
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
CN202011191876.0A
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.)
Jiuling Shanghai Intelligent Technology Co ltd
Original Assignee
Jiuling Shanghai Intelligent Technology 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 Jiuling Shanghai Intelligent Technology Co ltd filed Critical Jiuling Shanghai Intelligent Technology Co ltd
Priority to CN202011191876.0A priority Critical patent/CN112270028A/en
Publication of CN112270028A publication Critical patent/CN112270028A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Civil Engineering (AREA)
  • Structural Engineering (AREA)
  • Computational Mathematics (AREA)
  • Architecture (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Image Generation (AREA)

Abstract

The application provides a model management method and a terminal, based on the method, processing equipment firstly obtains a model to be analyzed, analyzes the model to be analyzed, obtains constituent elements of the model to be analyzed, the constituent elements comprise primitives, processes the constituent elements, obtains parameter data of the constituent elements, the parameter data comprise primitive type parameters, solid geometry parameters and attribute parameters of all the primitives in the model to be analyzed, and then sends the parameter data. According to the model management method, the processing equipment analyzes the model to be analyzed to obtain the solid geometric parameters of the primitives and sends the solid geometric parameters, and the data volume of the solid geometric parameters of the primitives is far smaller than the triangulated geometric data, so that the data volume required to be transmitted when the data are sent is greatly reduced, and the data transmission efficiency is improved.

Description

Model management method and terminal
Technical Field
The application relates to the technical field of building informatization, in particular to a model management method and a terminal.
Background
With the comprehensive popularization of smart phones and tablet computers, basic hardware conditions of mobile office work are met, but the volume of the BIM model is not kept up with, and when the data volume of the BIM model is large, huge tests are conducted on the processing capacity and network traffic of mobile equipment. Any three-dimensional model seen at the display terminal is formed by splicing one triangle, in the prior art, when the BIM is converted into data used by a client, the triangulated geometric data of the BIM is usually directly transmitted to the display terminal, and the display terminal displays the data according to the triangulated geometric data. However, because the BIM model is too large in size, the corresponding triangulated geometric data volume is also large, so that the data volume to be transmitted is large, the data transmission efficiency is too low, and the user experience is poor.
Therefore, the existing model management process has the technical problem of low data transmission efficiency, and needs to be improved.
Disclosure of Invention
The embodiment of the application provides a model management method and a terminal, which are used for relieving the technical problem of low data transmission efficiency in the model management process.
In order to solve the above technical problem, an embodiment of the present application provides the following technical solutions:
the application provides a model management method, which comprises the following steps:
obtaining a model to be analyzed;
analyzing the model to be analyzed to obtain the composition elements of the model to be analyzed, wherein the composition elements comprise graphic elements;
processing the composition elements to obtain parameter data of the composition elements, wherein the parameter data comprises primitive type parameters, solid geometry parameters and attribute parameters of primitives in the model to be analyzed;
and sending the parameter data.
The embodiment of the application provides a model management method, which comprises the following steps:
acquiring display data corresponding to a model to be displayed;
analyzing the display data to obtain parameter data of the constituent elements in the model to be displayed;
determining primitive type parameters, solid geometric parameters and attribute parameters of the primitives in the composition elements according to the parameter data;
and redrawing and displaying the model to be displayed corresponding to the parameter data according to the redrawing parameters.
An embodiment of the present application provides a model management device, which includes:
the first acquisition module is used for acquiring a model to be analyzed;
the first analysis module is used for analyzing the model to be analyzed to obtain the constituent elements of the model to be analyzed, wherein the constituent elements comprise graphic elements;
the processing module is used for processing the composition elements to obtain parameter data of the composition elements, wherein the parameter data comprises primitive type parameters, solid geometry parameters and attribute parameters of primitives in the model to be analyzed;
and the sending module is used for sending the parameter data.
An embodiment of the present application provides a model management device, which includes:
the second acquisition module is used for acquiring display data corresponding to the model to be displayed;
the second analysis module is used for analyzing the display data to obtain parameter data of the constituent elements in the model to be displayed;
the determining module is used for determining the primitive type parameter, the solid geometry parameter and the attribute parameter of the primitive in the composition element according to the parameter data;
and the display module is used for redrawing and displaying the model to be displayed corresponding to the parameter data according to the redrawing parameters.
The embodiment of the application provides a terminal, which comprises a processor and a memory, wherein the memory stores a plurality of instructions, and the instructions are suitable for the processor to load so as to execute the steps in the method.
Has the advantages that: the application provides a model management method and a terminal, based on the method, processing equipment firstly obtains a model to be analyzed, analyzes the model to be analyzed, obtains constituent elements of the model to be analyzed, the constituent elements comprise primitives, processes the constituent elements to obtain parameter data of the constituent elements, the parameter data comprise primitive type parameters, solid geometric parameters and attribute parameters of the primitives in the model to be analyzed, and then sends the parameter data to display equipment; the method comprises the steps that after display data corresponding to a model to be displayed are obtained, the display data are analyzed by the display equipment, parameter data of each component element in the model to be displayed are obtained, primitive type parameters, solid geometry parameters and attribute parameters of primitives in the component elements are determined according to the parameter data, and finally the model to be displayed corresponding to the parameter data is redrawn and displayed according to redrawing parameters. According to the model management method, the processing equipment analyzes the model to be analyzed to obtain the solid geometric parameters of the primitives and sends the solid geometric parameters, and the data volume of the solid geometric data of the primitives is far smaller than that of the triangulated geometric data, so that the data volume needing to be transmitted when the data is sent is greatly reduced, and the data transmission efficiency is improved.
Drawings
The technical solution and other advantages of the present application will become apparent from the detailed description of the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a schematic view of a scenario of a service control system according to an embodiment of the present application.
Fig. 2 is a schematic flowchart of a first method for managing a model according to an embodiment of the present disclosure.
Fig. 3 is a schematic diagram of one component of a model to be analyzed in the model management method according to the embodiment of the present application.
FIG. 4 is a diagram of a first primitive of the building block of FIG. 3.
FIG. 5 is a diagram of a second primitive of the building block of FIG. 3.
FIG. 6 is a diagram of a third primitive of the building block of FIG. 3.
Fig. 7 is a schematic flowchart of a second method for managing models according to an embodiment of the present disclosure.
Fig. 8 is a third flowchart illustrating a model management method according to an embodiment of the present application.
Fig. 9 is a schematic structural diagram of a model management apparatus in a processing device according to an embodiment of the present application.
Fig. 10 is a schematic structural diagram of a model management apparatus in a display device according to an embodiment of the present application.
Fig. 11 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a schematic view of a scenario of a model management system according to an embodiment of the present application, where the system may include terminals and servers, and the terminals, the servers, and the terminals and the servers are connected and communicated through internet composed of various gateways, and the application scenario includes a processing device 11, a server 12, and a display device 13; wherein:
the processing device 11 and the display device 13 include, but are not limited to, a tablet Computer, a notebook Computer, a Personal Computer (PC), a mini processing box, or other devices, etc., in this application, the processing device 11 is used for parsing and processing the model, and the display device 13 is used for redrawing and displaying the model;
the server 12 includes a local server and/or a remote server, etc., for receiving, storing, and transmitting data.
The processing device 11, the server 12 and the presentation device 13 are located in a wireless network or a wired network to realize data interaction among the three, wherein:
the processing device 11 firstly obtains a model to be analyzed, analyzes the model to be analyzed, obtains constituent elements of the model to be analyzed, the constituent elements comprise primitives, processes the constituent elements to obtain parameter data of the constituent elements, the parameter data comprise primitive type parameters, solid geometry parameters and attribute parameters of the primitives in the model to be analyzed, and then sends the parameter data to the server 12; when the display device 13 needs to display, it sends a display request to the server 12, after obtaining the display data corresponding to the model to be displayed, it analyzes the display data to obtain the parameter data of the component elements in the model to be displayed, according to the parameter data, determines the primitive type parameters, the solid geometry parameters and the attribute parameters of the primitives in the component elements, and finally redraws and redraws the model to be displayed corresponding to the parameter data according to the redrawing parameters.
It should be noted that the system scenario diagram shown in fig. 1 is only an example, and the server and the scenario described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not form a limitation on the technical solution provided in the embodiment of the present application, and as a person having ordinary skill in the art knows, with the evolution of the system and the occurrence of a new service scenario, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems. The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
Referring to fig. 2, fig. 2 is a first flowchart illustrating a model management method according to an embodiment of the present application, where the method is applied to a processing device side, and the method includes:
s101: and obtaining the model to be analyzed.
In the application, the model refers to a Building Information Model (BIM), which is a multidimensional model established based on various relevant Information data of a Building engineering project and is used for simulating real Information of a Building through digital Information, and can help to realize integration of Building Information, and various Information is always integrated in a three-dimensional model Information database from the design, construction and operation of the Building to the end of the whole life cycle of the Building, so that personnel of a design team, a construction unit, a facility operation department, an owner and the like can perform cooperative work based on the BIM, thereby effectively improving the working efficiency, saving resources, reducing the cost and realizing sustainable development. Of course, the model is not limited thereto, and other types of models may be used.
The model is stored in the storage device after being drawn, when other devices need to acquire the model, the processing device needs to analyze the model to obtain parameter data, then the parameter data is sent to the server for temporary storage, the server sends the parameter data to other devices according to conditions, and the other devices redraw the parameter data to generate the model. The method includes the steps that on equipment provided with revit software or other drawing software, models can be drawn and stored through the software, and when an analysis instruction is received, a processing device obtains a model to be analyzed from a plurality of stored models.
S102: and analyzing the model to be analyzed to obtain the composition elements of the model to be analyzed, wherein the composition elements comprise the primitives.
And the processing equipment is internally provided with an analysis program, and the analysis program calls an SDK interface of the drawing software to analyze the model to be analyzed to obtain the constituent elements, namely the primitives, of the model to be analyzed. The primitives of the model mainly comprise three types, namely a model primitive, a reference primitive and a view-specific primitive, wherein the model primitive refers to an actual three-dimensional geometric figure of the model and is displayed in a relevant view of the model, such as a cube, a sphere, a cone and the like; the reference primitives are primitives for assisting positioning, such as axis network, elevation, reference plane and the like; the view-specific primitives are primitives for describing and archiving the model, such as size labels, and the like, and the primitives described in the embodiments of the present application all refer to model primitives.
For the model to be analyzed, the number and types of the constituent elements constituting the model are different according to the complexity of the model. For a simple model, it may only comprise one member, where a member refers to each element constituting a building model, such as a building (room) surface, a wall, a pillar, etc., and a member includes one or more primitives, where the primitives of the model can be directly parsed. For a complex model, it may include a plurality of members, each member including a plurality of primitives, so that when the model is analyzed, each member of the model is obtained by analysis, and then a primitive corresponding to each member is obtained by analysis, and at this time, the constituent elements include the primitives of the members and members. When each primitive is obtained through analysis, each three-dimensional geometric shape in the model can be directly calculated and judged based on a preset algorithm to obtain each primitive, or a preset primitive library can be established first, a preset primitive structure in the preset primitive library is compared with an actual model, and when the similarity between a certain three-dimensional geometric figure of the actual model and the preset primitive structure reaches a threshold value, the three-dimensional geometric figure is judged to be one primitive.
S103: and processing the composition elements to obtain parameter data of the composition elements, wherein the parameter data comprises primitive type parameters, solid geometric parameters and attribute parameters of the primitives in the model to be analyzed.
And after the composition elements are obtained, processing the composition elements to obtain parameter data of the composition elements, and analyzing the primitives based on the analysis parameters during processing to obtain primitive type parameters, solid geometric parameters and attribute parameters of the primitives. The primitive type parameters include types to which the shape of the primitive belongs, such as a cube type, a sphere type, a cone type, and the like, the solid geometry parameters include key point coordinates (such as circle center coordinates, sphere center coordinates, vertex coordinates, and the like) and key dimensions (such as length, width, height, radius, and the like) of the primitive, and in addition, according to different analysis angles, the solid geometry parameters may further include other parameters such as a scaling ratio, a rotation radian, and the like, and the attribute parameters include colors, maps, and the like of the primitive.
In one embodiment, the steps specifically include: analyzing the composition elements based on the structural analysis parameters to obtain primitive type parameters and solid geometric parameters of the primitives in the model to be analyzed; analyzing the composition elements based on the attribute analysis parameters to obtain attribute parameters of the primitives in the model to be analyzed; and generating parameter data according to the primitive type parameters, the solid geometry parameters and the attribute parameters. And for each primitive, each primitive is composed of a corresponding structure and attributes, and the primitives are combined to form a model, so that when parameter data of the primitives are obtained from the model, the structure parameters and the attribute parameters of the primitives are obtained through analysis operation, and then when the model is redrawn, the structure of the primitives is directly obtained according to the structure parameters, and corresponding attributes are added to the primitives according to the attribute parameters, so that the model is obtained through redrawing. The structure parameters comprise primitive type parameters and solid geometry parameters.
In one embodiment, the step of analyzing the constituent elements based on the structural analysis parameters to obtain primitive type parameters and solid geometry parameters of the primitives in the model to be analyzed includes: analyzing the composition elements based on the primitive type analysis parameters to obtain primitive type parameters of the primitives; and determining a target solid geometric analysis parameter corresponding to the primitive according to the primitive type parameter, and analyzing the corresponding primitive based on the target solid geometric analysis parameter to obtain the solid geometric parameter of the primitive. Analyzing the primitive based on the structural analysis parameters, obtaining primitive type parameters and solid geometry parameters of the primitive, and determining which type of the primitive belongs to a cube type, a sphere type, a cone type and the like according to the primitive type parameters. For different primitive types, the corresponding solid geometry parameters are different, for example, for a cylindrical primitive, the corresponding solid geometry parameters may include the position of the center of the bottom surface of the cylinder, the height of the cylinder, the radius of the bottom surface of the cylinder, etc., and for a spherical primitive, the corresponding solid geometry parameters include the position of the center of the sphere, the radius, etc., i.e., the solid geometry parameters include all the geometry parameters necessary for redrawing the primitive, and for different types of primitives, the corresponding solid geometry parameters are also different, so that the solid geometry analysis parameters based on the analysis are also different during the analysis, after the primitive type parameters of the primitive are obtained, the target solid geometry analysis parameters corresponding to the primitive are determined according to the primitive type parameters, so as to determine which solid geometry parameters are required for redrawing the primitive under the primitive type, and then the corresponding primitive is analyzed based on the target solid geometry analysis parameters, and obtaining the solid geometric parameters of the graphic elements.
And after the structural parameters are obtained, analyzing the primitive based on the attribute analysis parameters to obtain the attribute parameters of the primitive. After the primitive of the model is drawn, the model is rendered and processed to generate a model satisfying a certain visual effect or similar to an actual building, for example, color and mapping are added to the primitive, a shadow is added to the primitive, and the like.
In an embodiment, after the step of obtaining the attribute parameters of the primitive, the method further includes: determining the relative position of each primitive according to the solid geometric parameters, and determining the connection parameters among the primitives according to the relative position; and generating parameter data according to the primitive type parameters, the solid geometry parameters, the attribute parameters and the connection parameters. In practical application, a model usually includes more than one primitive, and each primitive generates an intersection, a union, or a difference set based on different design requirements, that is, each primitive has a definite relative position, and each primitive is matched with each other to form a complete model. When the relative position of each primitive is determined, because the solid geometry parameters of each primitive are obtained, the solid geometry parameters include the information of the key point coordinates, the key size and the like of each primitive, the relative position of each primitive can be determined according to the solid geometry parameters of each primitive, for example, the coordinates and the key size of each key point in the first end surface of the first primitive are completely the same as the coordinates and the key size of each key point in the second end surface of the second primitive, the first end surface of the first primitive and the second end surface of the second primitive are substantially the same surface, the relative positions of the first primitive and the second primitive are connected based on the common end surface, after the relative position is obtained, the connection parameters of the first primitive and the second primitive are determined, and the connection parameters include what kind of operation needs to be performed on the first primitive and the second primitive to realize connection. And finally, generating parameter data according to the primitive type parameters, the solid geometry parameters, the connection parameters and the attribute parameters.
S104: and sending the parameter data.
After the parameter data is obtained through analysis, the processing device may store the parameter data in a model file corresponding to the model, or may store the parameter data in the server, and send the parameter data to the display device corresponding to the display device identifier when a display request carrying the display device identifier sent by the display device is subsequently received, where the display device identifier includes an IP address and a port of the display device.
It can be known from the foregoing embodiment that, in the prior art, after each plane or curved surface of a model is meshed into a triangle, geometric data of each triangle is obtained as triangulated geometric data of an entire model, for a model with a large volume or high fineness, the data volume of corresponding triangulated geometric data is large, when sending data, on one hand, the data volume to be transmitted is large, which causes low data transmission efficiency, and on the other hand, when redrawing the model according to the data, the display device side that also causes is too much data to be processed, which causes large calculation amount, and user experience is poor. In the method, the whole model is represented by the solid geometric parameters, the solid geometric parameters only comprise information such as key point coordinates and key sizes of all primitives, and the data volume is far smaller than that of triangulated geometric data, so that the data volume needing to be transmitted when the data is sent is greatly reduced, the data can be transmitted in a short time under the environment with limited network bandwidth, the data transmission efficiency is improved, the data calculation amount and the calculation complexity involved when the display equipment redraws the model are also reduced, the redrawing speed of the model is obviously improved, and the user experience is better. In addition, based on the solid geometric parameters, the display equipment can also set corresponding display precision according to different application scenes, and the personalized display requirements of the redrawing model are met.
Fig. 3 is a schematic structural diagram of one of the components in the model, where the component is a capsule body structure, and the model management method of the present application is further described below with reference to fig. 3 to 6.
After analyzing the model to be analyzed, obtaining each component of the model, analyzing one of the capsule body components, and obtaining the primitive of the capsule body component, as shown in fig. 3, the capsule body component includes a first primitive 31, a second primitive 32, and a third primitive 33, where the first primitive 31 is a cylinder, and the second primitive 32 and the third primitive 33 are spheres.
The processing equipment acquires parameter data of all primitives from the capsule body member through a resolution program. As shown in fig. 4, the processing device analyzes the first primitive 31 based on the structure analysis parameter, obtains that the primitive type parameter of the first primitive 31 is "Cylinder", that is, a Cylinder, then determines a target solid geometry analysis parameter corresponding to the Cylinder primitive type, and continues to analyze the first primitive 31 based on the analysis parameter, obtains the solid geometry parameter of the first primitive 31, including the coordinates (x1, y1, z1) of the bottom center point a of the Cylinder, the bottom radius r1 of the Cylinder, and the height h of the Cylinder, and can complete the construction of one Cylinder through the three solid geometry parameters during the subsequent redrawing of the model, which is very simple. Of course, the type of the solid geometry parameters obtained by the analysis is not limited to this, and the solid geometry parameters may also be obtained from other angles, for example, when the cylinder is drawn, the solid geometry parameters obtained by the analysis from this angle may also be drawn in a rotating manner, and the solid geometry parameters obtained by the analysis from this angle include parameters such as a center line position of the cylinder, a start drawing point position based on the center line, a start drawing radian, a drawing radian, and a height of the cylinder, and may further include a scaling based on the center line of the cylinder, and the cylinder may also be restored by these solid geometry parameters. Those skilled in the art can set corresponding solid geometry resolving parameters from different angles as required to obtain the required solid geometry parameters.
As shown in fig. 5, the processing device analyzes the second primitive 32 based on the structure analysis parameter, obtains a primitive type parameter of the second primitive 32 as "Sphere", that is, a Sphere, then determines a target solid geometry analysis parameter corresponding to the primitive type of the Sphere, and continues to analyze the second primitive 32 based on the analysis parameter, obtains a solid geometry parameter of the second primitive 32, including coordinates (x2, y2, z2) of a center point B of the first Sphere and a radius r2 of the first Sphere, and can complete building of a Sphere through the two solid geometry parameters during subsequent redrawing of the model. Of course, the type of the solid geometry parameters obtained by the analysis is not limited to this, and the solid geometry parameters may also be obtained from other angles, for example, when the sphere is drawn, a semicircular rotation manner may also be used for drawing, and the solid geometry parameters obtained by the analysis from this angle include the position of the center of the semicircle, the diameter of the semicircle, the rotation radian of the semicircle rotating around the diameter, and the like, and the sphere may also be restored by these solid geometry parameters. Those skilled in the art can set corresponding solid geometry resolving parameters from different angles as required to obtain the required solid geometry parameters.
As shown in fig. 6, the processing device analyzes the third primitive 33 based on the structure analysis parameter, the primitive type parameter of the obtained third primitive 33 is also "Sphere", that is, a Sphere, then determines a target solid geometry analysis parameter corresponding to the primitive type of the Sphere, and continues to analyze the third primitive 33 based on the analysis parameter, so as to obtain the solid geometry parameter of the third primitive 33, including the coordinate (x3, y3, z3) of the center point C of the second Sphere and the radius r3 of the second Sphere, and when a subsequent redrawing model is performed, the construction of one Sphere can be completed through the two solid geometry parameters. In addition, the solid geometry resolution parameters may also be set from other angles, and the specific manner is the same as that in the embodiment corresponding to fig. 5, which is not described herein again.
Through the steps, the solid geometric parameters of the three primitives in the capsule body component are respectively obtained, because the capsule body component is formed by organically combining the three primitives, when the building block is redrawn, three primitives need to be combined to generate a complete building block, so that connection parameters among the primitives also need to be acquired, in FIGS. 3 to 6, the coordinates (x1, y1, z1) of the cylinder bottom center point A of the first element 31 are the same as the coordinates (x2, y2, z2) of the sphere center point B of the second element 32, and the radius r1 of the bottom surface of the cylinder is also the same as the radius r2 of the first sphere, it is indicated that the bottom surface of the first primitive 31 passes through the first sphere center point B of the second primitive 32, and the bottom surface center point a coincides with the first sphere center point B, and the first primitive and the second primitive are connected in this way, so that the connection parameters of the first primitive 31 and the second primitive 32 can be obtained based on the connection parameters, that is, the first primitive and the second primitive need to be connected by performing union operation. Similarly, from the coordinates (x1, y1, z1) of the bottom surface center a of the cylinder of the first primitive 31 and the height h of the cylinder, the coordinates (x4, y4, z4) of the top surface center D, the coordinates (x4, y4, z4) of the top surface center D are the same as the coordinates (x3, y3, z3) of the second sphere center C of the third primitive 33, and the radius r1 of the bottom surface of the cylinder is also equal to the radius r3 of the second sphere, which indicates that the top surface of the first primitive 31 passes through the second sphere center C of the third primitive 33 and the top surface center D coincides with the second sphere center C, and the two are connected in this way, based on which the connection parameters of the first primitive 31 and the third primitive 33 can be obtained, that the two need to be connected through a union operation.
Through the steps, the primitive type parameters, the solid geometry parameters and the connection parameters among all the primitives of the three primitives in the capsule component are obtained respectively, then the processing equipment obtains the attribute parameters of all the primitives including the color, the map and the like of all the primitives based on the attribute analysis parameters, and the attribute parameters, the primitive type parameters, the solid geometry parameters and the connection parameters form parameter data of the component together. And analyzing the primitives of other components in the model by the same method to obtain parameter data of other primitives, generating all the parameter data, storing the generated parameter data in a model file corresponding to the model, and sending the parameter data to a server when the parameter data need to be sent. For the capsule body component, the capsule body component can be analyzed into a cylindrical primitive and two spherical primitives, the data volume of the solid geometry parameters of each primitive and the connection parameters between the primitives is small, if the triangulated geometry data of the capsule body component is directly obtained, the grid division and the triangulated data extraction are needed to be carried out on a cylindrical surface and two hemispherical surfaces, and correspondingly, the data volume is large, so that the data volume needing to be transmitted when the data is sent is greatly reduced by the model management method, and the data transmission efficiency is improved.
Referring to fig. 7, fig. 7 is a schematic flowchart illustrating a second flowchart of a model management method according to an embodiment of the present application, where the method is applied to a display device side, and the method includes:
s201: and acquiring display data corresponding to the model to be displayed.
When a model needs to be displayed to a user, display data corresponding to the model to be displayed needs to be acquired first, and the display data is stored in a model file in the processing equipment, so that the display equipment needs to send a display request to the processing equipment or the server first, the display request carries an identifier of the model to be displayed, after the processing equipment or the server finds the model to be displayed corresponding to the identifier of the model to be displayed, the model file of the model to be displayed is packaged into display data and then sent to the display equipment, and the display equipment acquires the corresponding display data.
S202: and analyzing the display data to obtain parameter data of the constituent elements in the model to be displayed.
After the display equipment receives the display data, the display data are analyzed to obtain a model file, and then parameter data of the elements in the model to be displayed are read from the model file. For the model to be displayed, the number and types of the constituent elements constituting the model are different according to the complexity of the model. For a simple model, it may comprise only one member, which means each element constituting the building model, such as a building (roof) surface, a wall, a pillar, etc., the member comprises one or more elements, and in this case the constituent elements comprise the elements of the model. For complex models, it may comprise a plurality of building blocks, each building block in turn comprising a plurality of primitives, so that the constituent elements comprise primitives of building blocks and building blocks.
S203: and determining the primitive type parameters, the solid geometric parameters and the attribute parameters of the primitives in the composition elements according to the parameter data.
After the parameter data are obtained, the parameter data are read, and the primitive type parameters, the solid geometry parameters and the attribute parameters of the primitives can be determined from the parameter data. The primitive type parameters include types to which the shape of the primitive belongs, such as a cube type, a sphere type, a cone type, and the like, the solid geometry parameters include key point coordinates (such as circle center coordinates, sphere center coordinates, vertex coordinates, and the like) and key dimensions (such as length, width, height, radius, and the like) of the primitive, and in addition, according to different analysis angles, the solid geometry parameters may further include other parameters such as a scaling ratio, a rotation radian, and the like, and the attribute parameters include colors, maps, and the like of the primitive.
S204: and redrawing the model to be displayed corresponding to the parameter data according to the redrawing parameters.
The display equipment is provided with a redrawing program, after parameter data are obtained, the display equipment redraws the model to be displayed according to the redrawing parameters, wherein the redrawing parameters comprise a redrawing sequence parameter, a primitive generation parameter and a redrawing precision parameter, the redrawing sequence parameter refers to the redrawing sequence of each component and the generation sequence of the primitives corresponding to each component, the primitive generation parameter refers to the generation logic of the primitive structure and attribute, and the redrawing precision parameter refers to the size of the number of segments.
The display device reads the component list of the model from the model file, and redraws the components in sequence according to the component redrawing sequence in the redrawing sequence parameter, for example, the components can be redrawn in sequence from top to bottom according to the component list. When a certain component is redrawn, reading parameter data of all primitives under the component, and then sequentially finishing the generation of each primitive according to the primitive generation sequence in the redrawing sequence parameters, for example, sequentially generating the primitives from large to small or from left to right. When a certain primitive is generated, the primitive type parameter and the solid geometry parameter of the primitive are analyzed based on the primitive generation parameter, the size of the number of segments is set according to the redrawing precision parameter, the structure of the primitive is generated according to the analysis result and the set number of segments, the attribute parameter of the primitive is analyzed based on the primitive generation parameter, and the attribute is added to the corresponding primitive according to the analysis result so as to generate the final primitive. After all the primitives of a certain component are generated, analyzing the connection parameters among the primitives based on the primitive generation parameters, determining the connection operation such as Boolean operation, stretching geometry and the like which needs to be carried out on the primitives according to the analysis result, executing the connection operation to associate the primitives, and generating the complete component. After the redrawing of all the components is completed in sequence according to the redrawing sequence parameters, namely the redrawing of the model to be displayed is completed, the model is displayed by the display equipment so that a user can watch the model.
Taking the structures in fig. 3 to 6 as examples, when redrawing a capsule body member, reading a primitive type parameter of a first primitive 31 from parameter data corresponding to the member, where the type is "Cylinder", the redrawing software will generate a primitive according to the structure of a Cylinder, then read a solid geometry parameter of the first primitive 32, and according to the difference of the resolution angles of the processing equipment, the solid geometry parameter may include the coordinates (x1, y1, z1) of the center point a of the bottom surface of the Cylinder, the radius r1 of the bottom surface of the Cylinder, and the height h of the Cylinder, or may include the center line position of the Cylinder, the initial drawing point position based on the center line, the initial drawing radian, the drawing radian, and the height of the Cylinder, and the like, then set the number of segments of the Cylinder along the circumferential direction and the number of segments of the side surface of the Cylinder along the height direction according to the redrawing precision parameter, and generate a Cylinder according to the, and finally, reading the attribute parameters to obtain information such as the color and the map of the first primitive 31, and setting the information to the cylinder, thereby realizing the generation of the first primitive 31.
Then, the primitive type parameter of the second primitive 32 is read from the parameter data corresponding to the member, and the type is "Sphere", the redrawing software will generate the primitive according to the structure of the Sphere, then reading the solid geometry parameters of the second primitive 32, which may include the coordinates of the center point B of the first sphere (x2, y2, z2) and the radius r2 of the first sphere according to the different resolution angles of the processing device, or the parameters such as the position of the center of the semicircle, the diameter of the semicircle, the rotating radian of the semicircle rotating around the diameter and the like, then, according to the redrawing precision parameter, the horizontal segment number and the vertical segment number of the sphere are set, a sphere is generated according to the solid geometry parameter and each segment number, finally, the attribute parameters are read to obtain the information such as the color and the mapping of the second primitive 32, and the information is set to the sphere, so that the generation of the second primitive 32 is realized.
Then, the primitive type parameter of the third primitive 33 is read from the parameter data corresponding to the member, and the type is "Sphere", then the redrawing software will generate the primitive according to the structure of the Sphere, then reading the solid geometry parameters of the second primitive 32, which may include the coordinates (x3, y3, z3) of the center point C of the second sphere and the radius r3 of the second sphere according to the different resolving angles of the processing device, or the parameters such as the position of the center of the semicircle, the diameter of the semicircle, the rotating radian of the semicircle rotating around the diameter and the like, then, according to the redrawing precision parameter, the number of horizontal segments and the number of vertical segments of the sphere are set, a sphere is generated according to the solid geometry parameter and the number of each segment, and finally, the attribute parameter is read to obtain information such as the color and the mapping of the third primitive 33, and the information is set to the sphere, so that the generation of the third primitive 33 is realized.
After the generation of all the primitives in the capsule body member is realized, the drawing program reads connection parameters from the model file, analyzes the connection parameters between the primitives based on the primitive generation parameters, obtains analysis results that the first primitive 31 and the second primitive 32 need to be subjected to union operation and the first primitive 31 and the third primitive 33 need to be subjected to union operation, and then executes connection operation based on the analysis results to associate the first primitive 31, the second primitive 32 and the third primitive 33, so as to generate the complete capsule body member. And finally, redrawing each component in the component list in sequence according to the steps, so that the redrawing of the whole model to be displayed is realized, and then the redrawed model is displayed so as to be watched by a user.
Through the steps, parameter data of the composition elements in the model to be displayed are obtained through analysis after the display data are obtained, the primitive type parameters, the solid geometry parameters and the attribute parameters of the primitives in the composition elements are further determined, and finally the model to be displayed corresponding to the parameter data is redrawn and displayed according to the redrawing parameters. The parameter data in the display data comprises the solid geometric parameters of all the primitives in the model, the solid geometric parameters only comprise information such as key point coordinates and key sizes of all the primitives, and the data volume is far smaller than the triangulated geometric data, so that the data volume of the display data needing to be transmitted is greatly reduced when the display data is acquired, the data transmission can be completed in a short time under the environment with limited network bandwidth, the data transmission efficiency is improved, the data calculation amount and the calculation complexity involved in model redrawing of the display equipment are also reduced, the redrawing speed of the model is remarkably improved, and the user experience is better. In addition, because the parameter data comprise the solid geometric parameters of the primitives instead of the triangulated geometric data of the model, the precision parameters such as the number of segments can be set as required when the primitives are generated, and the individual display requirements of the redrawing model are met.
As shown in fig. 8, the third flowchart of the model management method provided in the embodiment of the present application is shown, where the method includes:
801: the processing equipment obtains a model to be analyzed.
On the equipment provided with revit software or other drawing software, the model can be drawn and stored through the software, and when an analysis instruction is received, the processing equipment acquires the model to be analyzed from the stored multiple models. The model to be analyzed can be a building model or other types of models.
802: and the processing equipment analyzes the model to be analyzed to obtain the composition elements.
The processing equipment is provided with an analysis program, the analysis program calls an SDK interface of the drawing software to analyze the model to be analyzed, and constituent elements of the model to be analyzed, namely primitives are obtained, wherein the primitives refer to model primitives. For a simple model, a primitive of the model can be directly analyzed, and for a complex model, the complex model can include a plurality of members, each member includes a plurality of primitives, so that when the model is analyzed, each member of the model is firstly analyzed, then the primitive corresponding to each member is obtained through analysis, and at the moment, the component elements include the primitives of the members and the members.
803: the processing device processes the constituent elements to obtain parameter data.
And after the composition elements are obtained, processing the composition elements to obtain parameter data of the composition elements, and analyzing the primitives based on the analysis parameters during processing to obtain primitive type parameters, solid geometric parameters and attribute parameters of the primitives. The primitive type parameters include types to which the shape of the primitive belongs, such as a cube type, a sphere type, a cone type, and the like, the solid geometry parameters include key point coordinates (such as circle center coordinates, sphere center coordinates, vertex coordinates, and the like) and key dimensions (such as length, width, height, radius, and the like) of the primitive, and in addition, according to different analysis angles, the solid geometry parameters may further include other parameters such as a scaling ratio, a rotation radian, and the like, and the attribute parameters include colors, maps, and the like of the primitive. In addition, when a plurality of primitives are included, the parameter data further includes connection parameters of each primitive, and the connection parameters include what kind of operation needs to be performed on the two to realize connection.
804: the processing device sends the parameter data to the server.
After the parameter data are obtained through analysis, the processing equipment stores the parameter data in a model file corresponding to the model and sends the parameter data to the server.
805: the server stores the parameter data.
And after receiving the parameter data, the server stores the parameter data.
806: the display device sends a display request to the server.
The display device sends a display request to the server, wherein the display request carries a model identifier to be displayed and a display device identifier, the model identifier to be displayed comprises a name or a number of a model to be displayed, and the display device identifier comprises an IP address and a port of the display device.
807: and the server sends the display data to the display equipment.
The server determines the model to be displayed according to the identifier of the model to be displayed, further determines the parameter data of the model to be displayed, encapsulates the parameter data into display data, determines which display equipment needs to be sent to according to the identifier of the display equipment, and sends the display data to the display equipment.
808: the display device obtains display data.
The display equipment receives the display data sent by the server.
809: and the display equipment analyzes the display data to obtain parameter data.
After the display equipment receives the display data, the display data are analyzed to obtain a model file, and then parameter data of the elements in the model to be displayed are read from the model file. For a simple model, it may comprise only one member, which means each element constituting the building model, such as a building (roof) surface, a wall, a pillar, etc., the member comprises one or more elements, and in this case the constituent elements comprise the elements of the model. For complex models, it may comprise a plurality of building blocks, each building block in turn comprising a plurality of primitives, so that the constituent elements comprise primitives of building blocks and building blocks.
810: the presentation device determines primitive type parameters, solid geometry parameters and attribute parameters.
And the display equipment determines the primitive type parameters, the solid geometric parameters and the attribute parameters of the primitives from the parameter data. The primitive type parameters include types to which the shape of the primitive belongs, such as a cube type, a sphere type, a pyramid type, and the like, the solid geometry parameters include key point coordinates and key dimensions of the primitive, and in addition, according to different analysis angles, the solid geometry parameters may further include other parameters such as a scaling ratio, a rotation radian, and the like, and the attribute parameters include colors, maps, and the like of the primitive. In addition, when a plurality of primitives are included, the parameter data further includes connection parameters of each primitive, and the connection parameters include what kind of operation needs to be performed on the two to realize connection.
811: and redrawing and displaying the model to be displayed by the display equipment.
The display equipment is internally provided with a redrawing program, after parameter data are obtained, the display equipment redraws the model to be displayed according to the redrawing parameters, when a certain primitive is generated, the primitive type parameters and the solid geometry parameters of the primitive are analyzed based on the primitive generation parameters, the size of the segmentation number is set according to the redrawing precision parameters, the structure of the primitive is generated according to the analysis result and the set segmentation number, the attribute parameters of the primitive are analyzed based on the primitive generation parameters, and the attributes are added into the corresponding primitive according to the analysis result so as to generate the final primitive. After all the primitives of a certain component are generated, analyzing the connection parameters among the primitives based on the primitive generation parameters, determining the connection operation such as Boolean operation, stretching geometry and the like which needs to be carried out on the primitives according to the analysis result, executing the connection operation to associate the primitives, and generating the complete component. After the redrawing of all the components is completed in sequence according to the redrawing sequence parameters, namely the redrawing of the model to be displayed is completed, the model is displayed by the display equipment so that a user can watch the model.
The data transmission method has the advantages that the data volume required to be transmitted when the data are sent is greatly reduced, the data can be transmitted in a short time under the environment with limited network bandwidth, the data transmission efficiency is improved, the data calculation amount and the calculation complexity degree involved when the display device redraws the model are reduced, the redrawing speed of the model is remarkably improved, and the user experience is better.
Accordingly, fig. 9 is a schematic structural diagram of a model management device in a processing device according to an embodiment of the present application, please refer to fig. 9, where the model management device includes:
a first obtaining module 110, configured to obtain a model to be analyzed;
a first analysis module 120, configured to analyze the model to be analyzed to obtain constituent elements of the model to be analyzed, where the constituent elements include primitives;
a processing module 130, configured to process the component elements to obtain parameter data of the component elements, where the parameter data includes primitive type parameters, solid geometry parameters, and attribute parameters of primitives in the model to be analyzed;
a sending module 140, configured to send the parameter data.
In one embodiment, the processing module 130 includes:
the first analysis unit is used for analyzing the composition elements based on the structural analysis parameters to obtain primitive type parameters and solid geometric parameters of the primitives in the model to be analyzed;
the second analysis unit is used for analyzing the composition elements based on the attribute analysis parameters to obtain the attribute parameters of the graphic elements in the model to be analyzed;
and the first generation unit is used for generating the parameter data according to the primitive type parameters, the solid geometry parameters and the attribute parameters.
In one embodiment, the first parsing unit includes:
a first obtaining unit, configured to analyze the component elements based on the primitive type analysis parameter, and obtain a primitive type parameter of the primitive;
and the second obtaining unit is used for determining a target solid geometric analysis parameter corresponding to the primitive according to the primitive type parameter, analyzing the corresponding primitive based on the target solid geometric analysis parameter and obtaining the solid geometric parameter of each primitive.
In one embodiment, the processing module 130 further comprises:
the determining unit is used for determining the relative position of each primitive according to the solid geometric parameters and determining the connection parameters among the primitives according to the relative position;
and the second generation unit is used for generating the parameter data according to the primitive type parameter, the solid geometry parameter, the attribute parameter and the connection parameter.
In an embodiment, the second obtaining unit is configured to analyze a corresponding primitive based on the target solid geometry analysis parameter, and use the analyzed primitive keypoint coordinates and the key size as the solid geometry parameters of the primitive.
In one embodiment, the first obtaining module 110 includes:
the receiving unit is used for receiving a display request, and the display request carries a display equipment identifier;
and the sending unit is used for sending the parameter data to the display equipment corresponding to the display equipment identifier.
Correspondingly, fig. 10 is a schematic structural diagram of a model management device in a display apparatus according to an embodiment of the present application, please refer to fig. 10, where the model management device includes:
the second obtaining module 150 is configured to obtain display data corresponding to the model to be displayed;
the second analysis module 160 is configured to analyze the display data to obtain parameter data of constituent elements in the model to be displayed;
a determining module 170, configured to determine, according to the parameter data, a primitive type parameter, a solid geometry parameter, and an attribute parameter of a primitive in the component element;
and the display module 180 is used for redrawing and displaying the model to be displayed corresponding to the parameter data according to the redrawing parameters.
In one embodiment, the second obtaining module 150 includes:
the device comprises a sending unit, a display unit and a display unit, wherein the sending unit is used for sending a display request which carries a model identifier to be displayed;
and the receiving unit is used for receiving the display data of the model to be displayed corresponding to the model identification to be displayed.
In an embodiment, the display module 180 is configured to redraw and display the model to be displayed corresponding to the parameter data according to the redrawing order parameter, the primitive generation parameter, and the redrawing precision parameter.
Accordingly, embodiments of the present application also provide a terminal, as shown in fig. 11, the terminal may include components such as a radio frequency circuit 1101, a memory 1102 including one or more computer-readable storage media, an input unit 1103, a display unit 1104, a sensor 1105, an audio circuit 1106, a WiFi module 1107, a processor 1108 including one or more processing cores, and a power supply 1109. Those skilled in the art will appreciate that the terminal structure shown in fig. 10 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the rf circuit 1101 may be configured to receive and transmit signals during a message transmission or communication process, and in particular, receive downlink information of a base station and then send the received downlink information to one or more processors 1108 for processing; in addition, data relating to uplink is transmitted to the base station. The memory 1102 may be used for storing software programs and modules, and the processor 1108 may execute various functional applications and data processing by operating the software programs and modules stored in the memory 1102. The input unit 1103 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
The display unit 1104 may be used to display information input by or provided to the user and various graphical user interfaces of the terminal, which may be made up of graphics, text, icons, video, and any combination thereof.
The terminal may also include at least one sensor 1105, such as a light sensor, motion sensor, and other sensors. The audio circuitry 1106 includes speakers, which may provide an audio interface between the user and the terminal.
WiFi belongs to short distance wireless transmission technology, and the terminal can help the user to send and receive e-mail, browse web page and access streaming media etc. through the WiFi module 1107, which provides wireless broadband internet access for the user. Although fig. 10 shows the WiFi module 1107, it is understood that it does not belong to the essential constitution of the terminal, and it may be omitted entirely as needed within the scope of not changing the essence of the application.
The processor 1108 is a control center of the terminal, connects various parts of the entire handset using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 1102 and calling data stored in the memory 1102, thereby performing overall monitoring of the handset.
The terminal also includes a power supply 1109 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 1108 via a power management system that may provide management of charging, discharging, and power consumption.
Although not shown, the terminal may further include a camera, a bluetooth module, and the like, which will not be described herein. Specifically, in this embodiment, the processor 1108 in the terminal loads the executable file corresponding to the process of one or more application programs into the memory 1102 according to the following instructions, and the processor 1108 runs the application program stored in the memory 1102, so as to implement the following functions:
obtaining a model to be analyzed;
analyzing the model to be analyzed to obtain the composition elements of the model to be analyzed, wherein the composition elements comprise graphic elements;
processing the composition elements to obtain parameter data of the composition elements, wherein the parameter data comprises primitive type parameters, solid geometry parameters and attribute parameters of primitives in the model to be analyzed;
and sending the parameter data.
Or to implement the following functions:
acquiring display data corresponding to a model to be displayed;
analyzing the display data to obtain parameter data of the constituent elements in the model to be displayed;
determining primitive type parameters, solid geometric parameters and attribute parameters of the primitives in the composition elements according to the parameter data;
and redrawing and displaying the model to be displayed corresponding to the parameter data according to the redrawing parameters.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description, and are not described herein again.
The above detailed description is given to a model management method and a terminal provided in the embodiments of the present application, and a specific example is applied in the description to explain the principle and the implementation of the present application, and the description of the above embodiments is only used to help understand the technical solution and the core idea of the present application; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications or substitutions do not depart from the spirit and scope of the present disclosure as defined by the appended claims.

Claims (10)

1. A method of model management, comprising:
obtaining a model to be analyzed;
analyzing the model to be analyzed to obtain the composition elements of the model to be analyzed, wherein the composition elements comprise graphic elements;
processing the composition elements to obtain parameter data of the composition elements, wherein the parameter data comprises primitive type parameters, solid geometry parameters and attribute parameters of primitives in the model to be analyzed;
and sending the parameter data.
2. The model management method of claim 1, wherein said step of processing said component elements to obtain parametric data for said component elements comprises:
analyzing the composition elements based on the structural analysis parameters to obtain primitive type parameters and solid geometric parameters of the primitives in the model to be analyzed;
analyzing the composition elements based on the attribute analysis parameters to obtain the attribute parameters of the graphic elements in the model to be analyzed;
and generating the parameter data according to the primitive type parameters, the solid geometry parameters and the attribute parameters.
3. The model management method according to claim 2, wherein the step of analyzing the component elements based on the structure analysis parameters to obtain primitive type parameters and solid geometry parameters of the primitives in the model to be analyzed comprises:
analyzing the composition elements based on the primitive type analysis parameters to obtain primitive type parameters of the primitives;
and determining a target solid geometric analysis parameter corresponding to the primitive according to the primitive type parameter, and analyzing the corresponding primitive based on the target solid geometric analysis parameter to obtain the solid geometric parameter of each primitive.
4. The model management method according to claim 2, wherein after the step of analyzing the component elements based on the attribute analysis parameters to obtain the attribute parameters of the primitives in the model to be analyzed, the method further comprises:
determining the relative position of each primitive according to the solid geometric parameters, and determining the connection parameters among the primitives according to the relative position;
and generating the parameter data according to the primitive type parameters, the solid geometry parameters, the attribute parameters and the connection parameters.
5. The model management method according to claim 3, wherein the step of obtaining the solid geometry parameters of the primitive by analyzing the corresponding primitive based on the target solid geometry analysis parameters comprises:
and analyzing the corresponding primitive based on the target solid geometry analysis parameter, and taking the analyzed primitive key point coordinates and key size as the solid geometry parameters of the primitive.
6. The model management method of claim 1, wherein said step of transmitting said parameter data comprises:
receiving a display request, wherein the display request carries a display equipment identifier;
and sending the parameter data to the display equipment corresponding to the display equipment identification.
7. A method of model management, comprising:
acquiring display data corresponding to a model to be displayed;
analyzing the display data to obtain parameter data of the constituent elements in the model to be displayed;
determining primitive type parameters, solid geometric parameters and attribute parameters of the primitives in the composition elements according to the parameter data;
and redrawing and displaying the model to be displayed corresponding to the parameter data according to the redrawing parameters.
8. The model management method of claim 7, wherein the step of obtaining the display data corresponding to the model to be displayed comprises:
sending a display request, wherein the display request carries a model identifier to be displayed;
and receiving display data of the model to be displayed corresponding to the model identification to be displayed.
9. The model management method of claim 7, wherein the step of redrawing and displaying the model to be displayed corresponding to the parameter data according to the redrawing parameters comprises:
and redrawing and displaying the model to be displayed corresponding to the parameter data according to the redrawing sequence parameter, the primitive generation parameter and the redrawing precision parameter.
10. A terminal, comprising a processor and a memory, said memory storing a plurality of instructions adapted to be loaded by said processor to perform the steps of the model management method according to any one of claims 1 to 9.
CN202011191876.0A 2020-10-30 2020-10-30 Model management method and terminal Pending CN112270028A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011191876.0A CN112270028A (en) 2020-10-30 2020-10-30 Model management method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011191876.0A CN112270028A (en) 2020-10-30 2020-10-30 Model management method and terminal

Publications (1)

Publication Number Publication Date
CN112270028A true CN112270028A (en) 2021-01-26

Family

ID=74346138

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011191876.0A Pending CN112270028A (en) 2020-10-30 2020-10-30 Model management method and terminal

Country Status (1)

Country Link
CN (1) CN112270028A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115292536A (en) * 2022-10-09 2022-11-04 北京北投智慧城市科技有限公司 Intelligent building data visualization system and method based on BIM model

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107978018A (en) * 2017-12-22 2018-05-01 广州视源电子科技股份有限公司 Construction method, device, electronic equipment and the storage medium of solid figure model
CN109783442A (en) * 2018-12-25 2019-05-21 武汉思路富邦工程咨询有限公司 A kind of IFC model storage mode based on Redis and Mongodb
CN110414148A (en) * 2019-07-30 2019-11-05 中北大学 The cross-platform online method for visualizing of open BIM based on WebGL
US20190392087A1 (en) * 2016-12-05 2019-12-26 Commissariat A L'energie Atomique Et Aux Energies Alternatives Method for constructing a 3d digital model from a 2d plan
CN110837665A (en) * 2019-09-20 2020-02-25 久瓴(上海)智能科技有限公司 Building model display method and device, computer equipment and readable storage medium
CN111080791A (en) * 2019-12-13 2020-04-28 万翼科技有限公司 Building analysis method and system based on lightweight BIM model
CN111797153A (en) * 2020-07-01 2020-10-20 广联达科技股份有限公司 BIM (building information modeling) model preview method and device, computer equipment and readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190392087A1 (en) * 2016-12-05 2019-12-26 Commissariat A L'energie Atomique Et Aux Energies Alternatives Method for constructing a 3d digital model from a 2d plan
CN107978018A (en) * 2017-12-22 2018-05-01 广州视源电子科技股份有限公司 Construction method, device, electronic equipment and the storage medium of solid figure model
CN109783442A (en) * 2018-12-25 2019-05-21 武汉思路富邦工程咨询有限公司 A kind of IFC model storage mode based on Redis and Mongodb
CN110414148A (en) * 2019-07-30 2019-11-05 中北大学 The cross-platform online method for visualizing of open BIM based on WebGL
CN110837665A (en) * 2019-09-20 2020-02-25 久瓴(上海)智能科技有限公司 Building model display method and device, computer equipment and readable storage medium
CN111080791A (en) * 2019-12-13 2020-04-28 万翼科技有限公司 Building analysis method and system based on lightweight BIM model
CN111797153A (en) * 2020-07-01 2020-10-20 广联达科技股份有限公司 BIM (building information modeling) model preview method and device, computer equipment and readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115292536A (en) * 2022-10-09 2022-11-04 北京北投智慧城市科技有限公司 Intelligent building data visualization system and method based on BIM model

Similar Documents

Publication Publication Date Title
EP4006844A1 (en) Image rendering method and related device
CN112933599B (en) Three-dimensional model rendering method, device, equipment and storage medium
EP4060465A2 (en) Method and apparatus for controlling terminal, device and storage medium
US11776209B2 (en) Image processing method and apparatus, electronic device, and storage medium
US20230083047A1 (en) Method and apparatus for displaying unread message, and electronic device
US20220241689A1 (en) Game Character Rendering Method And Apparatus, Electronic Device, And Computer-Readable Medium
CN109726261A (en) A kind of heating power drawing generating method and device
WO2022206127A1 (en) Attitude calibration method and apparatus, storage medium, and electronic device
WO2024016930A1 (en) Special effect processing method and apparatus, electronic device, and storage medium
EP4290464A1 (en) Image rendering method and apparatus, and electronic device and storage medium
CN113010945A (en) BIM model linkage method and system
CN112233211A (en) Animation production method and device, storage medium and computer equipment
EP4343706A1 (en) Data processing method and apparatus, and electronic device and storage medium
CN114998433A (en) Pose calculation method and device, storage medium and electronic equipment
CN112270028A (en) Model management method and terminal
CN110045958B (en) Texture data generation method, device, storage medium and equipment
CN112807695A (en) Game scene generation method and device, readable storage medium and electronic equipment
CN113436346A (en) Distance measuring method and device in three-dimensional space and storage medium
CN116030221A (en) Processing method and device of augmented reality picture, electronic equipment and storage medium
CN114677469A (en) Method and device for rendering target image, electronic equipment and storage medium
CN114968041A (en) Event response method, device, equipment and medium based on graph
CN112488977B (en) Image processing method and device, electronic equipment and storage medium
US20230078041A1 (en) Method of displaying animation, electronic device and storage medium
WO2022237116A1 (en) Image processing method and apparatus
WO2021129888A1 (en) Display control method and electronic device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210126

RJ01 Rejection of invention patent application after publication