CN110648400A - Model space quantization method, mapping relation establishment method, device and equipment - Google Patents

Model space quantization method, mapping relation establishment method, device and equipment Download PDF

Info

Publication number
CN110648400A
CN110648400A CN201810676938.3A CN201810676938A CN110648400A CN 110648400 A CN110648400 A CN 110648400A CN 201810676938 A CN201810676938 A CN 201810676938A CN 110648400 A CN110648400 A CN 110648400A
Authority
CN
China
Prior art keywords
space
model
quantized
standard
information
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.)
Granted
Application number
CN201810676938.3A
Other languages
Chinese (zh)
Other versions
CN110648400B (en
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.)
Nanjing Runshijing Environmental Engineering Co ltd
Original Assignee
Xi'an Sea Square Network 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 Xi'an Sea Square Network Technology Co Ltd filed Critical Xi'an Sea Square Network Technology Co Ltd
Priority to CN201810676938.3A priority Critical patent/CN110648400B/en
Publication of CN110648400A publication Critical patent/CN110648400A/en
Application granted granted Critical
Publication of CN110648400B publication Critical patent/CN110648400B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/10Constructive solid geometry [CSG] using solid primitives, e.g. cylinders, cubes

Landscapes

  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)
  • Stored Programmes (AREA)
  • Image Generation (AREA)

Abstract

The application relates to a space quantization method of a model, a mapping relation establishment method, a mapping relation establishment device and a model space quantization equipment, wherein the method comprises the following steps: acquiring space geometric information and related attribute information of a model to be quantized in a design result; determining a design space of a model to be quantized according to the space geometric information and the related attribute information, and searching a standard space matched with the space geometric information and the related attribute information in a preset mapping relation; and judging the design space by using the standard space, and determining a quantization result of the model to be quantized. The method and the device can quantize the design result in space, so that a designer can judge whether the design result is reasonable in design according to the quantized result, and the accuracy of the evaluation of the design result is improved.

Description

Model space quantization method, mapping relation establishment method, device and equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, and a device for spatial quantization and mapping relationship establishment of a model.
Background
With the improvement of living standard, people have higher and higher requirements on functional areas in living space. In order to meet such demands of people, designers usually need to design a living space first and then carry out construction according to the design result.
At present, when a designer designs a living space, the designer generally designs a model in the living space by spatial position, size, and the like based on his own experience and subjective consciousness.
However, in the design of the model in the conventional technology, it is difficult to construct according to the designed model, or the entity function corresponding to the model after the construction is difficult to implement, and the entity corresponding to the model after the construction fails in the later stage, which means that the accuracy of the designer in the conventional technology for judging the quality of the design result is not high.
Disclosure of Invention
In view of the above, it is necessary to provide a method, an apparatus and a device for modeling space quantization, a method, an apparatus and a device for establishing a mapping relationship, which can improve the accuracy of the quality determination of the design result by the designer in the conventional technology.
In a first aspect, an embodiment of the present invention provides a method for spatially quantizing a model, where the method includes:
acquiring space geometric information of a model to be quantized and related attribute information of the model to be quantized in a design result; wherein, the related attribute information of the model to be quantified comprises: the attribute information of the model and the attribute information of the space where the model is located;
determining a design space of the model according to the space geometric information and the related attribute information, and searching a standard space matched with the space geometric information and the related attribute information in a preset mapping relation; the mapping relation comprises corresponding relations between different space geometric information and different related attribute information of different models and a standard space;
and judging the design space by using the standard space, and determining a quantization result of the model to be quantized.
In a second aspect, an embodiment of the present invention provides a mapping relationship establishing method, where the method includes:
acquiring different space geometric information and different related attribute information of each basic model;
establishing a mapping relation by adopting standard information and experience parameters according to different space geometric information and different related attribute information of the basic model, wherein the mapping relation comprises corresponding relations between different space geometric information and different related attribute information of different models and a standard space; the standard information comprises at least one of national standard, line standard and enterprise standard of the construction industry.
In a third aspect, an embodiment of the present invention provides an apparatus for spatially quantizing a model, where the apparatus includes:
the device comprises an acquisition device, a calculation device and a calculation device, wherein the acquisition device is used for acquiring the space geometric information of a model to be quantized in a design result and the related attribute information of the model to be quantized; wherein, the related attribute information of the model to be quantified comprises: the attribute information of the model and the attribute information of the space where the model is located;
the first determining device is used for determining the design space of the model according to the space geometric information and the related attribute information, and searching a standard space matched with the space geometric information and the related attribute information in a preset mapping relation; the mapping relation comprises corresponding relations between different space geometric information and different related attribute information of different models and a standard space;
and the second determining device is used for judging the design space by utilizing the standard space and determining the quantization result of the model to be quantized.
In a fourth aspect, an embodiment of the present invention provides an apparatus for establishing a mapping relationship, where the apparatus includes:
the acquisition device is used for acquiring different space geometric information and different related attribute information of each basic model;
the establishing device is used for establishing a mapping relation by adopting standard information and experience parameters according to different space geometric information and different related attribute information of the basic model, wherein the mapping relation comprises the corresponding relation between different space geometric information and different related attribute information of different models and a standard space; the standard information comprises at least one of national standard, line standard and enterprise standard of the construction industry.
In a fifth aspect, an embodiment of the present invention provides a computer device, including a memory and a processor, where the memory stores a computer program, and the processor implements the following steps when executing the computer program:
acquiring space geometric information of a model to be quantized and related attribute information of the model to be quantized in a design result; wherein, the related attribute information of the model to be quantified comprises: the attribute information of the model and the attribute information of the space where the model is located;
determining a design space of the model according to the space geometric information and the related attribute information, and searching a standard space matched with the space geometric information and the related attribute information in a preset mapping relation; the mapping relation comprises corresponding relations between different space geometric information and different related attribute information of different models and a standard space;
and judging the design space by using the standard space, and determining a quantization result of the model to be quantized.
In a sixth aspect, an embodiment of the present invention provides a computer device, including a memory and a processor, where the memory stores a computer program, and the processor implements the following steps when executing the computer program:
acquiring different space geometric information and different related attribute information of each basic model;
establishing a mapping relation by adopting standard information and experience parameters according to different space geometric information and different related attribute information of the basic model, wherein the mapping relation comprises corresponding relations between different space geometric information and different related attribute information of different models and a standard space; the standard information comprises at least one of national standard, line standard and enterprise standard of the construction industry.
In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following steps:
acquiring space geometric information of a model to be quantized and related attribute information of the model to be quantized in a design result; wherein, the related attribute information of the model to be quantified comprises: the attribute information of the model and the attribute information of the space where the model is located;
determining a design space of the model according to the space geometric information and the related attribute information, and searching a standard space matched with the space geometric information and the related attribute information in a preset mapping relation; the mapping relation comprises corresponding relations between different space geometric information and different related attribute information of different models and a standard space;
and judging the design space by using the standard space, and determining a quantization result of the model to be quantized.
In an eighth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following steps:
acquiring different space geometric information and different related attribute information of each basic model;
establishing a mapping relation by adopting standard information and experience parameters according to different space geometric information and different related attribute information of the basic model, wherein the mapping relation comprises corresponding relations between different space geometric information and different related attribute information of different models and a standard space; the standard information comprises at least one of national standard, line standard and enterprise standard of the construction industry.
In the method, the device and the equipment for establishing the spatial quantization of the model and the mapping relationship and the computer storage medium provided by the embodiment, the spatial geometric information of the model to be quantized and the related attribute information of the model to be quantized in the design result are acquired through the computer equipment; then, according to the obtained space geometric information and the related attribute information, determining a design space of the model, and searching a standard space in a preset mapping relation; and finally, judging the design space by using the standard space, and determining the quantization result of the model to be quantized. In this embodiment, the computer device may determine a design space of the model to be quantized according to the spatial geometric information and the related attribute information of the model to be quantized, and find a standard space matched with the model to be quantized in the mapping relationship. Because the standard space can enable the function of the model to be realized after the model is realized, or an entity corresponding to the model can be constructed in construction, or can be maintained after the model is constructed, and the like, when the standard space and the design space are judged and processed, a visual quantization result representing the model to be quantized in various aspects can be obtained, so that a designer can accurately judge whether the current design result is reasonably designed in space according to the quantization result, and the accuracy of the evaluation of the design result is greatly improved. In addition, the model to be quantized can be correspondingly modified according to the quantization result, so that the function of the model to be quantized can be realized, and certain design precision is ensured. In addition, the embodiment of the invention can also acquire different space geometric information and different related attribute information of each basic model through computer equipment, and establish the mapping relation by adopting standard information and empirical parameters according to the acquired different space geometric information and different related attribute information of the basic models. Therefore, a quantization basis is provided for quantizing the design space of the model to be quantized, so that the computer equipment can quantize the model to be quantized in the design result in various aspects according to the mapping relation, a designer can accurately judge whether the current design result is reasonably designed in space according to the quantization result, and the accuracy of the evaluation of the design result is greatly improved. In addition, the model to be quantized can be correspondingly modified according to the quantization result, so that the function of the model to be quantized can be realized, and certain design precision is ensured.
Drawings
FIG. 1 is a schematic diagram of an internal structure of a computer device according to an embodiment;
FIG. 2 is a flow chart illustrating a method for spatial quantization of a model according to an embodiment;
FIG. 3 is a schematic diagram of a design result provided by an embodiment;
FIG. 4 is a flow chart illustrating a method for spatial quantization of a model according to another embodiment;
FIG. 5 is a flow chart illustrating a method for spatial quantization of a model according to yet another embodiment;
FIG. 6 is a flow chart illustrating a method for spatial quantization of a model according to yet another embodiment;
FIG. 7 is a flowchart illustrating a method for spatial quantization of a model according to yet another embodiment;
fig. 8 is a flowchart illustrating a mapping relationship establishing method according to an embodiment;
FIG. 9 is a flowchart illustrating a method for spatial quantization of a model according to yet another embodiment;
FIG. 10 is a schematic structural diagram of an apparatus for spatially quantizing a model according to an embodiment;
FIG. 11 is a schematic structural diagram of an apparatus for spatially quantizing a model according to another embodiment;
FIG. 12 is a schematic structural diagram of an apparatus for spatially quantizing a model according to yet another embodiment;
FIG. 13 is a schematic structural diagram of an apparatus for spatially quantizing a model according to yet another embodiment;
fig. 14 is a schematic structural diagram of a mapping relationship establishing apparatus according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The method for quantizing the space of the model provided by the embodiment of the invention can be applied to the computer equipment shown in fig. 1, and the computer equipment comprises a processor, a memory, a network interface and a database which are connected through a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used to store the mapping relationships in the present embodiment, and the description of the mapping relationships may refer to the contents of the following method embodiments. The network interface of the computer device is used for communicating with an external terminal through a network connection. Optionally, the computer device may be a server, may be a PC, a personal digital assistant, other terminal devices such as a PAD, a mobile phone, and the like, a cloud, or a remote server, and the specific form of the computer device is not limited in this embodiment.
The embodiment of the invention provides a space quantization method of a model, a mapping relation establishment method, a mapping relation establishment device and a mapping relation establishment device, and aims to solve the technical problems of the traditional technology.
Fig. 2 is a schematic flow chart of a method for spatial quantization of a model according to an embodiment, where the embodiment relates to a specific process in which a computer device determines a quantization result of a model to be quantized according to spatial geometric information, related attribute information, and a preset mapping relationship of the model to be quantized in a design result. As shown in fig. 2, the method includes:
s101, acquiring space geometric information of a model to be quantized and related attribute information of the model to be quantized in a design result; wherein, the related attribute information of the model to be quantified comprises: the attribute information of the model and the attribute information of the space where the model is located.
Specifically, the design result refers to that, for a space, a finished design scheme is designed, and the design scheme comprises a plurality of models. The model to be quantified is a model in the design result that needs to be quantified, and the quantification may be an operation of evaluating the model in the design result. For example, the design result may be a design drawing of a toilet, and the design drawing includes three-dimensional models of a toilet door, a shower room, a wash stand, a toilet, a washing machine and the like. Any model in the toilet can be used as the model to be quantified. It should be noted that each model in the design result carries its own attribute information and spatial geometry information. The specific description of the attribute information and the spatial geometry information of the model to be quantized is as follows.
The above-mentioned spatial geometry information of the model to be quantized is used to represent information related to the position information of the quantization model in the three-dimensional space corresponding to the model, and optionally, may be at least one of a spatial size and a geometric shape of the model to be quantized. The space size of the model to be quantified comprises the space size of the model, the position of the model in the space where the model is located, and the relative position between the model and other models in the space where the model is located. The geometric shape of the model to be quantified is a basic shape such as a cuboid, a cone and the like, or consists of a plurality of basic shapes.
The related attribute information of the model to be quantized includes: the attribute information of the model and the attribute information of the space where the model is located. The attribute information of the model is attribute information representing characteristics of the model itself, and optionally, the attribute information of the model itself may be at least one of a functional attribute, a positioning attribute, a use mode and a construction priority. Of course, other attribute information may be used, for example, external influence attribute, internal composition attribute, style attribute, and other information that can characterize the model itself. The functional attributes refer to functions of the model, the positioning attributes can represent the placement position or orientation and the like of the model, the using mode represents the using mode of the model, the external influence attribute represents the influence of the model on other models in the space, the internal composition attribute represents the internal composition of the model, and the style attribute represents the decoration style and the like corresponding to the model.
Taking a shower room as an example, the functional attributes show that the shower function can be realized; the positioning attribute represents the position of the model design close to the wall or the position close to the corner of the wall and the orientation of the model in the design space; the external influence attribute represents that the model is a closed hard boundary (such as glass) and cannot share the same space with other models; the use mode represents that the door entering the shower room is in a push-pull type, inward opening or outward opening mode; the above construction priority indicates that the construction is performed first because the space of the shower room occupies a large space in the order of construction when the design result is realized.
The attribute information of the space where the model to be quantized is located includes attribute information of characteristics of other models themselves in the space where the model to be quantized is located. Based on the above example of the toilet, when the model to be quantified is a shower room, the attribute information of the space where the shower room is located includes: the self-attribute information of the toilet, the self-attribute information of the washing machine, the self-attribute information of the toilet and the attribute information of the wash stand.
Based on the above, the spatial geometry information and the related attribute information of the model to be quantized in the design result may be obtained as follows: the method comprises the following steps that a user clicks and inputs a design result through a mouse, or after a computer device starts a space quantization function of a model, the design result is automatically obtained through a path where the design result is located and displayed on a display screen of the computer device; and then the computer equipment identifies the design result so as to obtain the space geometric information of each model to be quantized and the related attribute information of each model to be quantized in the design result.
S102, determining a design space of the model to be quantized according to the space geometric information and the related attribute information, and searching a standard space matched with the space geometric information and the related attribute information in a preset mapping relation.
The mapping relation comprises corresponding relations between different space geometric information and different related attribute information of different models and a standard space.
Specifically, the design space refers to a space occupied by the model to be quantized in the design result, and the space may be a physical space or a space describing a function, and in addition, the design space may be one or more. Optionally, the design space may be at least one of a physical occupied space of the model to be quantized, a use space of the model to be quantized, a maintenance space of the model to be quantized, a construction space of the model to be quantized, and a passage space of the model to be quantized.
The physical occupied space represents the size of the physical space actually occupied by the model to be quantized. Continuing to take the shower room as an example, if the door of the shower room is opened outwards, the physical occupied space of the shower room is as follows: the width of the door is taken as a radius, the height of the door is taken as a height, the angle which can be opened by the door is a fan shape with a central angle, and the sum of the size of a cuboid space formed by the width of the door and the height of the shower room is equal to the sum of the size of the cuboid space. The used space reaches the position of the model to be quantized from the entrance of the space where the model to be quantized is located, and after the user reaches the position, the size of the space actually required to be occupied when the function of the model to be quantized is realized. The construction space is the actual space size required in the entity installation process of the model to be quantized when the entity corresponding to the model to be quantized is constructed. And the maintenance space is the actual space occupied by maintaining the fault point when the entity fails in the process of using the entity after the entity corresponding to the model to be quantized is installed. The pass space refers to the size of the real space from the entrance of the space where the model to be quantized is located to the position of the model to be quantized.
Specifically, when the design space of the model to be quantized is determined according to the space geometric information and the related attribute information of the model to be quantized, optionally, the computer device may obtain the design space of the model to be quantized according to the partial space geometric information and the partial related attribute information; optionally, the computer device may further obtain a design space of the model to be quantized according to all the spatial geometric information and part of the related attribute information; optionally, of course, a design space of the model to be quantized may also be obtained according to the partial spatial geometric information and the partial correlation attribute information, which is not limited in this embodiment.
Based on the above S102, after the computer device determines the design space of the model to be quantized, the computer further needs to search a standard space matching the spatial geometry information and the related attribute information of the model to be quantized from a preset mapping relationship. The standard space refers to a space where a model to be quantified can be constructed when the model is constructed; or, when the model to be quantized is implemented, the space in which its corresponding function is implemented; or a space that can be maintained when a failure occurs after construction, and the like.
S103, judging the design space by using the standard space, and determining a quantization result of the model to be quantized.
Specifically, in implementing S103, the standard space and the design space may be compared, and the comparison result may be finally used as the quantization result. Optionally, the designer may spatially modify the current design result according to the quantization result.
Based on the above, in a possible implementation manner, if the design space determined in S102 and the searched standard space are the same, or the difference between the two is within a preset range, the quantization result of the model to be quantized may be determined as: the model to be quantified is reasonable in design and can be used for subsequent construction. In another possible implementation manner, if the design space determined in S102 is smaller than the found standard space, the quantization result of the model to be quantized may be determined as: if the model to be quantized is unreasonable in design, a designer is asked to redesign the model to be quantized; in another possible implementation manner, if the design space determined in S102 is smaller than the found standard space, the quantization result of the model to be quantized may be determined as: please reduce the length of the design space of the model to be quantified by 5 cm.
In the spatial quantization method of the model provided by this embodiment, a computer device obtains spatial geometric information of a model to be quantized and related attribute information of the model to be quantized in a design result; then, according to the obtained space geometric information and the related attribute information, determining a design space of the model, and searching a standard space in a preset mapping relation; and finally, judging the design space by using the standard space, and determining the quantization result of the model to be quantized. In this embodiment, the computer device may determine a design space of the model to be quantized according to the spatial geometric information and the related attribute information of the model to be quantized, and find a standard space matched with the model to be quantized in the mapping relationship. Because the standard space can enable the function of the model to be realized after the model is realized, or an entity corresponding to the model can be constructed in construction, or can be maintained after the model is constructed, and the like, when the standard space and the design space are judged and processed, a visual quantization result representing the model to be quantized in various aspects can be obtained, so that a designer can accurately judge whether the current design result is reasonably designed in space according to the quantization result, and the accuracy of the evaluation of the design result is greatly improved. In addition, the model to be quantized can be correspondingly modified according to the quantization result, so that the function of the model to be quantized can be realized, and certain design precision is ensured.
Optionally, on the basis of the above embodiment shown in fig. 2, if the design space includes: when the physical space is occupied, the use space, the construction space, the maintenance space, and the passing space, the method for determining the design space in S102 may be implemented as follows:
a. and determining the size information of the physical occupied space of the model to be quantized according to the space geometric information and the using mode of the model to be quantized.
Specifically, according to the spatial geometric information, the minimum actual physical space size occupied by the model to be quantized can be obtained. According to the using mode of the model to be quantized, the fact that the entity corresponding to the model to be quantized occupies a space except the minimum actual physical space when the entity is used can be obtained. The sum of the two spaces here is taken as the physical occupation space of the model to be quantified. For example, according to the length, width and height of the shower room model, the minimum physical space occupied by the shower room model is obtained as follows: length, width, and height. If the usage mode is that the door of the shower room is opened or pushed and pulled, the occupied space except the minimum actual physical space is 0, and at the moment, the physical occupied space of the model to be quantized is as follows: length, width, height +0, as shown by the spatial size of region a in fig. 3.
b. And determining the use space of the model to be quantized according to the space geometric information, the functional attribute of the model to be quantized and the positioning attribute.
Specifically, according to the spatial geometric information, the functional attribute and the positioning attribute of the model to be quantized, the spatial distance between the model to be quantized and other models can be obtained, and a space formed by the spatial distance is used as the use space of the model to be quantized. For example, taking the wash station model as an example, after obtaining the space geometry information and the positioning attribute information of the wash station, the size of the space occupied by the wash station, the position of the wash station, and the distance between the wash station and other models can be obtained. After the functional attributes of the wash basin are obtained, the fact that the user needs to be located at the periphery of the wash basin when using the wash basin can be known. In this way, the computer device can acquire the distance between the periphery of the wash basin and other models according to the space geometric information and the positioning attribute information of the wash basin, and thus, the space formed by the periphery of the wash basin and the distance between the periphery of the wash basin and other models in the upper surface direction is used as the use space of the wash basin. Area D shown in fig. 3 plus the space above the wash basin model.
c. And determining the construction space of the model to be quantized according to the space geometric information and the construction priority.
Specifically, according to the construction priority of the model to be quantized, the computer device can obtain the construction sequence of the model to be quantized and other models when the design result is realized, so that the constructed model in the model to be quantized is obtained when the model to be quantized is constructed. And then, based on the space geometric information and the constructed model, the residual space of the space where the model to be quantified is constructed can be obtained. In addition, according to the space geometric information of the model to be quantized, the computer equipment can also know the space composition of the model to be quantized, so that whether the internal space of the model to be quantized can be utilized or not when the model to be quantized is constructed is obtained. Based on the above description, the construction space of the model to be quantified is the sum of the remaining space of the aforementioned space and the available internal space. For example, taking a shower room as an example, if the construction priority of the shower room is the first level (indicating that the shower room is first constructed when the design result of the toilet room is constructed), and the space composition of the shower room is empty, the construction space of the shower room is: the space in the bathroom except the shower room and the inner space of the shower room.
d. Determining the position of a fault point of the model to be quantized according to the functional attribute of the model to be quantized; and determining the size of the maintenance space according to the space geometric information and the fault point position of the model to be quantified.
Specifically, the computer device can learn, according to the functional attribute of the model to be quantized, a position of a fault point where a fault may occur when the model to be quantized executes a corresponding function. The computer equipment can obtain the actual space distance between the fault point position of the model to be quantified and other models according to the space geometric information and the fault point position, and the actual space distance is recorded as the size of the actual space occupied by maintenance personnel when the maintenance personnel maintain the fault. As shown in fig. 3, taking the shower room model as an example, according to the functional attributes of the shower room, it can be known that the handle of the shower room door needs to be pulled when the function of the shower room model is realized. For shower doors, the possible failure points are: a door handle. Based on the space geometric information of the door handle and the position of the door handle, the actual space distance between the door handle model on the shower room model and other models in the space can be obtained, and the actual space distance between the door handle and other models in the space is recorded as the actual maintenance space of the door handle of the shower room model. It should be noted that, there may be a plurality of repair spaces for one model to be quantified.
e. And determining the passing space of the model to be quantized according to the space geometric information and the positioning attribute of the model to be quantized.
Specifically, according to the space geometric information of the model to be quantized, the position of the model to be quantized in the design result and the relative position between the model to be quantized and other models can be obtained, and according to the positioning attribute of the model to be quantized, the orientation information of the model to be quantized can be obtained. Based on this, the computer device may obtain the space except all the models in the design result, and when the orientation of the model to be quantized is connected with the space except all the models and the space except all the models in the design result is the communication space, the space except all the models in the design result is used as the passage space, otherwise, the passage space is 0. For example, take a wash basin model, such as area D shown in FIG. 3.
It should be noted that the above method for determining the design space is only an example, and any method for determining the design space of the model to be quantized according to the spatial geometry information and the related attribute information of the model to be quantized is within the scope of the present application.
In this embodiment, the computer device may obtain five design spaces, i.e., a physical occupied space, a use space, a maintenance space, a construction space, and a passage space of the model to be quantized, according to the spatial geometric information and the related attribute information of the model to be quantized. In this way, the computer device can obtain the quantization results on all the spaces of the model to be quantized, namely obtain the intuitive quantization results representing the space occupation condition, the function realization condition, the construction condition, the maintenance condition and the traffic condition of the model to be quantized. Therefore, a designer can accurately judge whether the current design result is reasonably designed in space according to the quantification result, and the accuracy of the evaluation of the design result is greatly improved. In addition, the model to be quantized can be correspondingly modified according to the quantization result, so that the function of the model to be quantized can be realized, and certain design precision is ensured.
Fig. 4 is a schematic flowchart of a method for quantizing a model in space according to yet another embodiment, where this embodiment relates to a process of determining a quantization result of the model to be quantized by performing a determination process on the design space using the standard space. On the basis of the embodiment shown in fig. 2, the method comprises the following steps:
s201, judging whether the design space meets the function constraint of the standard space.
Specifically, functional constraints refer to: when the design space comprises a physical occupied space, the size of the occupied space of the model to be quantized is reasonable; when the design space comprises a use space, a user can reach the model to be quantized, and when the design space reaches the model to be quantized, the function of the model to be quantized can be used; when the design space comprises a construction space, a user can reach the model to be quantized, and when the design space reaches the model to be quantized, an entity corresponding to the model to be quantized is constructed; when the design space comprises a maintenance space, a user can reach the model to be quantized, and when the design space reaches the model to be quantized, an entity corresponding to the model to be quantized can be maintained; when the design space includes a pass space, the user may reach the model to be quantified.
After obtaining the design space of the model to be quantized, the computer device needs to determine whether the design space meets the functional constraint of the standard space, that is, whether the function of the design space can be implemented. Optionally, the size of the design space may be compared with the size of the standard space to serve as a judgment basis.
Specifically, if the size information of the design space is greater than the size information of the corresponding standard space, it indicates that the design space satisfies the functional constraint of the corresponding standard space. Otherwise, it is not satisfied.
And S202, if so, determining a quantization result of the model to be quantized according to the size information of the design space and the size information of the standard space.
Optionally, the design space may be scored according to a difference between the size information of the design space and the size information of the standard space, so as to obtain a quantization result of the model to be quantized. Optionally, when the design space is scored according to the difference between the size information of the design space and the size information of the standard space, the design space can be scored accurately according to the mapping relationship between the size of the difference and the score. Optionally, whether the design space meets the standard space may also be used as a quantization result, for example, the quantization result is: the design space does not satisfy the standard space.
In the spatial quantization method for the model provided by this embodiment, the computer device may determine whether the design space meets the functional constraint of the standard space, and determine the quantization result of the model to be quantized according to the size information of the design space and the size information of the standard space when the design space meets the standard space. In this embodiment, under the condition that the design space satisfies the functional constraint, the computer device may score the design space of the model to be quantized according to a difference between the size information of the design space and the size information of the standard space, so as to obtain a visual and accurate quantization result of the model to be quantized in the design space, and enable a designer to accurately judge whether the current design result is reasonably designed in the space according to the quantization result, thereby greatly improving the accuracy of the evaluation of the design result.
For more precise quantization of the design space, the standard space may be a plurality of standard spaces: the model comprises a minimum standard space, an optimal standard space and a maximum standard space, wherein the minimum standard space is the minimum space required for realizing the functions of the model, the optimal standard space is the space for realizing the functions of the model and having the maximum comfort level, and the maximum standard space is the maximum space for realizing the functions of the model and not influencing the realization of the functions of other models. For example, as shown in fig. 3, taking a shower room as an example, when the design space is the use space, the minimum standard space of the shower room is: a space for accommodating a person to take a shower, such as area A in FIG. 3; the optimal standard space of the shower room is as follows: a space for accommodating a person to take a shower and having maximum comfort (a space in which a user can freely stretch his/her limbs), such as a region B in fig. 3; the maximum standard space is: at least one person can take a shower without affecting the space of other models in the toilet, such as the area C in fig. 3.
Based on the above description of the standard space, the embodiment of the present application further provides a possible implementation manner for determining a quantization result of a model to be quantized, which is as follows:
fig. 5 is a flowchart illustrating a method of a spatial quantization method for a model according to yet another embodiment, where this embodiment relates to an implementable process of determining a quantization result of a model to be quantized by a computer device according to size information of a design space and size information of a standard space, and on the basis of the above embodiment S202 shown in fig. 4, the method includes:
s301, according to the size of the design space, determining a target standard space with the minimum size difference with the design space from the standard spaces.
Specifically, since the difference between the size of the target standard space and the size of the design space is the smallest, it means that the design space is closer to the standard space. Taking the target standard space as the optimal standard space as an example, if the size difference between the design space and the optimal standard space is larger than the size difference between the design space and the maximum standard space or the size difference between the design space and the minimum standard space, it is indicated that the design space is closest to the optimal standard space.
S302, determining the size difference value between the size of the design space and the size of the target standard space.
S303, determining a quantization result of the model to be quantized on the design space according to the size difference and a quantization mapping relation corresponding to the target standard space; wherein the quantization mapping relationship includes a correspondence between different size difference values and different quantization results.
Specifically, taking the quantization result as a score as an example, when the target standard space is the minimum standard space, the quantization mapping relationship corresponding to the minimum standard space is as follows: the larger the difference between the size of the design space and the target standard space is, the larger the quantization value is, and the higher the evaluation is; when the target standard space is the optimal standard space, the quantization mapping relation corresponding to the optimal standard space is as follows: the larger the difference between the size of the design space and the target standard space is, the smaller the quantization value is, and the lower the evaluation is; when the target standard space is the maximum standard space, the quantization mapping relation corresponding to the maximum standard space is as follows: the quantization value is smaller the larger the difference between the design space and the target standard space is when the size of the design space does not exceed the size of the maximum standard space, or the quantization value is larger the smaller the difference between the design space and the target standard space is when the size of the design space exceeds the size of the maximum standard space.
Based on the description of the quantization mapping relationship, the computer device may determine a quantization result of the model to be quantized on the design space from the quantization mapping relationship in combination with a difference between the size of the current design space and the size of the target standard space. For example, the quantization result of the model to be quantized on any one of the design space among the physical occupied space, the use space, the maintenance space, the construction space, and the traffic space may be determined.
S304, determining a quantization result of the model to be quantized according to the quantization result of the model to be quantized on the design space.
Specifically, since there is at least one design space, the quantization result of the model to be quantized in each design space can be obtained according to the above S301 to S303. Alternatively, the quantization result of each design space may be used as the quantization result of the model to be quantized. Optionally, the quantization result of each design space may be comprehensively analyzed to obtain the quantization result of the model to be quantized. For example, the quantization result of each design result is averaged, and the average value is used as the quantization result of the model to be quantized. Of course, the quantization result of the model to be quantized can also be determined according to other comprehensive analysis. For another example, see the following processes of S401 and S402 shown in fig. 6, which are specifically as follows:
s401, obtaining the quantization weighting coefficients of each design space of the model to be quantized.
Specifically, the weighting coefficients may be default weighting coefficients of the system, or may be manually input by a designer according to design requirements. Taking a shower room as an example, if a user needs a larger bathing space, the weight of the used space is set to be larger.
S402, according to the quantization weighting coefficients of all the design spaces, carrying out weighted summation operation on the quantization results of the model to be quantized in different design spaces to obtain the quantization result of the model to be quantized.
Optionally, in order to enable a designer to intuitively know the design condition of the model to be quantized, after the quantization result of each design space is obtained, the obtained quantization result may be displayed. Optionally, the presentation manner of the quantization result may include: at least one of color labeling, line width labeling, texture labeling, number labeling and character labeling. Taking the text as an example, after the quantization result is obtained, the quantization value of the model to be quantized can be displayed on the design result. Further, the computer device may also give certain modification opinions based on the quantified value, for example, the width of the traffic space is less than 0.5cm of the width of the standard traffic space. It should be noted that the quantization result may also be displayed according to other display manners.
In the space quantization method provided by this embodiment, the computing device obtains the quantization weighting coefficients of each design space of the model to be quantized, and performs weighted summation operation on the quantization results of the model to be quantized in different design spaces according to the obtained quantization weighting coefficients of each design space, so as to obtain the quantization result of the model to be quantized. In the embodiment, the computer equipment can set different coefficients for different design spaces according to different design requirements, so that the finally obtained quantitative result is more reasonable and accurate, and the accuracy of related result evaluation is further improved. In addition, the quantization result can be displayed, so that a designer can more intuitively obtain the quantization result of the model to be quantized.
Fig. 7 is a method for spatial quantization of a model according to yet another embodiment, where this embodiment relates to a specific process of a computer device for establishing a mapping relationship according to different spatial geometric information and different related attribute information of a basic model, as shown in fig. 7, before S102 in the above embodiment shown in fig. 2, the method includes:
s501, acquiring different space geometric information and different related attribute information of each basic model.
Specifically, the computer device can receive different input space geometric information and different input related attribute information of the basic model, and optionally, the space geometric information and the related attribute information can be input manually by a designer through a mouse or a keyboard. The present embodiment does not limit the manner of obtaining the above-mentioned spatial geometric information and related attribute information.
S502, establishing the mapping relation by adopting standard information and empirical parameters according to different space geometric information and different related attribute information of the basic model; the standard information comprises at least one of national standard, line standard and enterprise standard of the construction industry.
Specifically, the empirical parameters are parameters related to a standard space, which are obtained by a designer according to long-term design and construction experience. After acquiring different space geometric information and different related attribute information of the basic models, the calculation and equipment compares the different space geometric information and different related attribute information of the basic models with standard information, obtains standard spaces corresponding to the different space geometric information and different related attribute information of each basic model based on empirical parameters, and stores the different space geometric information and different related attribute information of each basic model and the corresponding standard spaces. For example, shower rooms with different sizes, different materials and different internal compositions can correspond to standard spaces with different sizes according to standard information and experience parameters.
Optionally, when storing the different spatial geometric information and the different related attribute information of each basic model and the corresponding standard space, the different spatial geometric information and the different related attribute information of each basic model may be stored in an index manner or a table manner, which is not limited in the embodiment of the present invention.
In the space quantization method for the models provided by this embodiment, the computer device obtains different space geometric information and different related attribute information of each basic model, and establishes a mapping relationship by using standard information and empirical parameters according to the obtained different space geometric information and different related attribute information of the basic models. The mapping relationship establishing method provided by this embodiment can establish mapping relationships between different spatial geometric information and different related attribute information of a plurality of basic models and a standard space, so as to provide a quantization basis for quantizing a design space of a model to be quantized, so that a computer device can quantize the model to be quantized in a design result in various aspects according to the mapping relationship, so that a designer can accurately judge whether a current design result is reasonably designed in space according to the quantization result, and the accuracy of evaluating the design result is greatly improved. In addition, the model to be quantized can be correspondingly modified according to the quantization result, so that the function of the model to be quantized can be realized, and certain design precision is ensured.
Fig. 8 is a schematic flowchart of a mapping relationship establishing method according to an embodiment, where the embodiment relates to a specific process of establishing a mapping relationship by a computer device, and as shown in fig. 8, the method includes:
s601, acquiring different space geometric information and different related attribute information of each basic model.
Specifically, the computer device can receive different input space geometric information and different input related attribute information of the basic model, and optionally, the space geometric information and the related attribute information can be input manually by a designer through a mouse or a keyboard. The present embodiment does not limit the manner of obtaining the above-mentioned spatial geometric information and related attribute information. Optionally, the computer device in this embodiment may be the same as or different from the computer device in the foregoing embodiment. When the computer device in the present embodiment is different from the computer device in the foregoing embodiment, the two computer devices may communicate with each other to implement the invocation of the mapping relationship.
S602, establishing a mapping relation by adopting standard information and experience parameters according to different space geometric information and different related attribute information of the basic model, wherein the mapping relation comprises corresponding relations between different space geometric information and different related attribute information of different models and a standard space; the standard information comprises at least one of national standard, line standard and enterprise standard of the construction industry.
Specifically, the empirical parameters are parameters related to a standard space, which are obtained by a designer according to long-term design and construction experience. After acquiring different space geometric information and different related attribute information of the basic models, the calculation and equipment compares the different space geometric information and different related attribute information of the basic models with standard information, obtains standard spaces corresponding to the different space geometric information and different related attribute information of each basic model based on empirical parameters, and stores the different space geometric information and different related attribute information of each basic model and the corresponding standard spaces. For example, shower rooms with different sizes, different materials and different internal compositions can correspond to standard spaces with different sizes according to standard information and experience parameters.
Optionally, when storing the different spatial geometric information and the different related attribute information of each basic model and the corresponding standard space, the different spatial geometric information and the different related attribute information of each basic model may be stored in an index manner or a table manner, which is not limited in the embodiment of the present invention.
In the mapping relationship establishing method provided in this embodiment, the computer device obtains different spatial geometric information and different related attribute information of each basic model, and establishes the mapping relationship by using the standard information and the empirical parameters according to the obtained different spatial geometric information and different related attribute information of the basic model. The mapping relationship establishing method provided by this embodiment can establish mapping relationships between different spatial geometric information and different related attribute information of a plurality of basic models and a standard space, so as to provide a quantization basis for quantizing a design space of a model to be quantized, so that a computer device can quantize the model to be quantized in a design result in various aspects according to the mapping relationship, so that a designer can accurately judge whether a current design result is reasonably designed in space according to the quantization result, and the accuracy of evaluating the design result is greatly improved. In addition, the model to be quantized can be correspondingly modified according to the quantization result, so that the function of the model to be quantized can be realized, and certain design precision is ensured.
The following describes a specific process of the spatial quantization method of the model provided by the embodiment of the present invention by a simple example. Reference may be made in particular to the embodiment shown in fig. 9:
s701, acquiring different space geometric information and different related attribute information of each basic model.
S702, establishing the mapping relation by adopting standard information and empirical parameters according to different space geometric information and different related attribute information of the basic model; the standard information comprises at least one of national standard, line standard and enterprise standard of the construction industry.
S703, acquiring the space geometric information of the model to be quantized in the design result and the related attribute information of the model to be quantized.
S704, determining a design space of the model according to the space geometric information and the related attribute information, and searching a standard space matched with the space geometric information and the related attribute information in a preset mapping relation. The design space is at least one of a physical occupied space of the model to be quantified, a use space of the model to be quantified, a maintenance space of the model to be quantified, a construction space of the model to be quantified and a passing space of the model to be quantified.
S705, judging whether the design space meets the function constraint of the standard space; the standard space is at least one of a minimum standard space, an optimal standard space, and a maximum standard space.
S706, if yes, determining a size difference value between the size of the design space and the size of the target standard space;
s707, determining a quantization result of the model to be quantized on the design space according to the size difference and the quantization mapping relation corresponding to the target standard space.
And S708, obtaining the quantization weighting coefficients of each design space of the model to be quantized.
And S709, according to the quantization weighting coefficients of the design spaces, performing weighted summation operation on the quantization results of the model to be quantized in different design spaces to obtain the quantization result of the model to be quantized.
S710, displaying the quantization result of the model to be quantized, wherein the displaying mode comprises the following steps: at least one of color labeling, line width labeling, texture labeling, number labeling and character labeling.
The working principle and technical effect of the spatial quantization method of the model provided in this embodiment are as described in the above embodiments, and are not described herein again.
It should be understood that although the various steps in the flowcharts of fig. 2, 4-9 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2, 4-9 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
Fig. 10 is a schematic structural diagram of an apparatus for spatially quantizing a model according to an embodiment, as shown in fig. 10, the apparatus includes: a first obtaining module 11, a first determining module 12 and a second determining module 13, wherein:
the first obtaining module 11 is configured to obtain spatial geometric information of a model to be quantized in a design result and related attribute information of the model to be quantized; wherein, the related attribute information of the model to be quantified comprises: the attribute information of the model and the attribute information of the space where the model is located;
a first determining module 12, configured to determine a design space of the model according to the spatial geometric information and the related attribute information, and search a standard space matched with the spatial geometric information and the related attribute information in a preset mapping relationship; the mapping relation comprises corresponding relations between different space geometric information and different related attribute information of different models and a standard space;
and a second determining module 13, configured to perform judgment processing on the design space by using the standard space, and determine a quantization result of the model to be quantized.
In one embodiment, the design space is at least one of a physical occupied space of the model to be quantified, a use space of the model to be quantified, a maintenance space of the model to be quantified, a construction space of the model to be quantified, and a passage space of the model to be quantified.
In an embodiment, the attribute information of the model to be quantized includes: at least one of a functional attribute, a positioning attribute, a use mode and a construction priority;
the spatial geometry information includes at least one of a spatial dimension of the model and a geometry of the model.
In an embodiment, the first determining module 12 is specifically configured to determine, according to the space geometry information and a usage manner of the model to be quantized, size information of a physical occupied space of the model to be quantized;
determining the use space of the model to be quantized according to the space geometric information, the functional attribute of the model to be quantized and the positioning attribute;
determining the construction space of the model to be quantized according to the space geometric information and the construction priority;
determining the position of a fault point of the model to be quantized according to the functional attribute of the model to be quantized; determining the size of the maintenance space according to the space geometric information and the fault point position of the model to be quantized;
and determining the passing space of the model to be quantized according to the space geometric information and the positioning attribute of the model to be quantized.
In one embodiment, with continued reference to fig. 10, the above-mentioned spatial quantization apparatus for a model further comprises: a display module 14;
a display module 14, configured to display a quantization result of the model to be quantized, where the display mode includes: at least one of color labeling, line width labeling, texture labeling, number labeling and character labeling.
Fig. 11 is a schematic structural diagram of a spatial quantization apparatus for a model according to another embodiment, as shown in fig. 11, on the basis of the embodiment shown in fig. 10, the second determining module 13 includes: a judging unit 131 and a determining unit 132, wherein:
a judging unit 131, configured to judge whether the design space meets a functional constraint of the standard space;
a determining unit 132, configured to determine a quantization result of the model to be quantized according to the size information of the design space and the size information of the standard space if the design space meets the functional constraint of the standard space.
In one embodiment, the standard space includes: at least one of a minimum standard space, an optimal standard space, and a maximum standard space; the minimum standard space is the minimum space required for realizing the functions of the model, the optimal standard space is the space for realizing the functions of the model and having the maximum comfort level, and the maximum standard space is the maximum space for realizing the functions of the model and not influencing the realization of the functions of other models.
Fig. 12 is a schematic structural diagram of a spatial quantization apparatus for a model according to yet another embodiment, as shown in fig. 12, based on the example shown in fig. 11, the determining unit 132 includes: a first determining subunit 1321, a second determining subunit 1322, a third determining subunit 1323, and a fourth determining subunit 1324; wherein:
a first determining subunit 1321, configured to determine, according to the size of the design space, a target standard space having a smallest difference from the size of the design space from the standard spaces;
a second determining subunit 1322, configured to determine a difference between the size of the design space and the size of the target standard space;
a third determining subunit 1323, configured to determine, according to the size difference and a quantization mapping relationship corresponding to the target standard space, a quantization result of the model to be quantized in the design space; wherein the quantization mapping relationship comprises a correspondence between different size difference values and different quantization results;
a fourth determining subunit 1324, configured to determine a quantization result of the model to be quantized according to a quantization result of the model to be quantized on the design space.
In an embodiment, the fourth determining subunit 1324 is further configured to obtain quantization weighting coefficients of each design space of the model to be quantized; and according to the quantization weighting coefficients of the design spaces, performing weighted summation operation on the quantization results of the model to be quantized in different design spaces to obtain the quantization result of the model to be quantized.
Fig. 13 is a schematic structural diagram of a spatial quantization apparatus for a model according to yet another embodiment, and as shown in fig. 13, on the basis of any one of the foregoing embodiments, the spatial quantization apparatus for a model further includes: a second obtaining module 15 and an establishing module 16; wherein:
a second obtaining module 15, configured to obtain different spatial geometric information and different related attribute information of each basic model;
the establishing module 16 is configured to establish the mapping relationship by using standard information and empirical parameters according to different spatial geometric information and different related attribute information of the basic model; the standard information comprises at least one of national standard, line standard and enterprise standard of the construction industry.
The spatial quantization apparatus of the model provided in the above embodiments may implement the above method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
For specific definition of the spatial quantization apparatus of the model, reference may be made to the above definition of the spatial quantization method of the model, and details are not described here. The respective blocks in the space-quantifying means of the above-described model may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
Fig. 14 is a schematic structural diagram of a mapping relationship establishing apparatus according to an embodiment, and as shown in fig. 14, the apparatus includes: an obtaining module 21 and an establishing module 22, wherein:
an obtaining module 21, configured to obtain different spatial geometric information and different related attribute information of each basic model;
the establishing module 22 is configured to establish a mapping relationship by using standard information and empirical parameters according to different spatial geometric information and different related attribute information of the basic model, where the mapping relationship includes a correspondence between different spatial geometric information and different related attribute information of different models and a standard space; the standard information comprises at least one of national standard, line standard and enterprise standard of the construction industry.
For the specific definition of the mapping relationship establishing device, refer to the above definition of the mapping relationship establishing method, and are not described herein again. The modules in the mapping relationship establishing device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 1. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used to store MEP loop topology data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of spatial quantization of a model.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 1. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used to store MEP loop topology data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a mapping relationship establishing method.
Those skilled in the art will appreciate that the architecture shown in fig. 1 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
Those skilled in the art will appreciate that the architecture shown in fig. 1 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
acquiring space geometric information of a model to be quantized and related attribute information of the model to be quantized in a design result; wherein, the related attribute information of the model to be quantified comprises: the attribute information of the model and the attribute information of the space where the model is located;
determining a design space of the model according to the space geometric information and the related attribute information, and searching a standard space matched with the space geometric information and the related attribute information in a preset mapping relation; the mapping relation comprises corresponding relations between different space geometric information and different related attribute information of different models and a standard space;
and judging the design space by using the standard space, and determining a quantization result of the model to be quantized.
The implementation principle and technical effect of the computer device provided in this embodiment are similar to those of the above embodiment of the spatial quantization method of the model, and are not described herein again.
In one embodiment, there is also provided a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the following steps when executing the computer program:
acquiring different space geometric information and different related attribute information of each basic model;
establishing a mapping relation by adopting standard information and experience parameters according to different space geometric information and different related attribute information of the basic model, wherein the mapping relation comprises corresponding relations between different space geometric information and different related attribute information of different models and a standard space; the standard information comprises at least one of national standard, line standard and enterprise standard of the construction industry.
The implementation principle and technical effect of the computer device provided in this embodiment are similar to those of the above mapping relationship establishing method, and are not described herein again.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring space geometric information of a model to be quantized and related attribute information of the model to be quantized in a design result; wherein, the related attribute information of the model to be quantified comprises: the attribute information of the model and the attribute information of the space where the model is located;
determining a design space of the model according to the space geometric information and the related attribute information, and searching a standard space matched with the space geometric information and the related attribute information in a preset mapping relation; the mapping relation comprises corresponding relations between different space geometric information and different related attribute information of different models and a standard space;
and judging the design space by using the standard space, and determining a quantization result of the model to be quantized.
The implementation principle and technical effect of the computer-readable storage medium provided in this embodiment are similar to those of the above-described embodiment of the spatial quantization method of the model, and are not described herein again.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring different space geometric information and different related attribute information of each basic model;
establishing a mapping relation by adopting standard information and experience parameters according to different space geometric information and different related attribute information of the basic model, wherein the mapping relation comprises corresponding relations between different space geometric information and different related attribute information of different models and a standard space; the standard information comprises at least one of national standard, line standard and enterprise standard of the construction industry.
The implementation principle and technical effect of the computer-readable storage medium provided in this embodiment are similar to those of the above mapping relationship establishing method embodiment, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (17)

1. A method for spatial quantization of a model, comprising:
acquiring space geometric information of a model to be quantized and related attribute information of the model to be quantized in a design result; wherein, the related attribute information of the model to be quantified comprises: the attribute information of the model and the attribute information of the space where the model is located;
determining a design space of the model to be quantized according to the space geometric information and the related attribute information, and searching a standard space matched with the space geometric information and the related attribute information in a preset mapping relation; the mapping relation comprises corresponding relations between different space geometric information and different related attribute information of different models and a standard space;
and judging the design space by using the standard space, and determining a quantization result of the model to be quantized.
2. The method of claim 1, wherein the design space is at least one of a physical occupation space of the model to be quantified, a usage space of the model to be quantified, a maintenance space of the model to be quantified, a construction space of the model to be quantified, and a traffic space of the model to be quantified.
3. The method according to claim 2, wherein the self-attribute information of the model to be quantified comprises: at least one of a functional attribute, a positioning attribute, a use mode and a construction priority;
the spatial geometry information includes at least one of a spatial dimension of the model and a geometry of the model.
4. The method according to claim 3, wherein the determining the design space of the model to be quantified according to the spatial geometry information and the correlation attribute information comprises:
according to the space geometric information and the using mode of the model to be quantized, determining the size information of the physical occupied space of the model to be quantized;
determining the use space of the model to be quantized according to the space geometric information, the functional attribute of the model to be quantized and the positioning attribute;
determining the construction space of the model to be quantized according to the space geometric information and the construction priority;
determining the position of a fault point of the model to be quantized according to the functional attribute of the model to be quantized; determining the size of the maintenance space according to the space geometric information and the fault point position of the model to be quantized;
and determining the passing space of the model to be quantized according to the space geometric information and the positioning attribute of the model to be quantized.
5. The method according to any one of claims 2 to 4, wherein the determining the quantization result of the model to be quantized by performing the judgment processing on the design space by using the standard space comprises:
judging whether the design space meets the function constraint of the standard space;
and if so, determining the quantization result of the model to be quantized according to the size information of the design space and the size information of the standard space.
6. The method of claim 5, wherein the standard space comprises: at least one of a minimum standard space, an optimal standard space, and a maximum standard space; the minimum standard space is the minimum space required for realizing the functions of the model, the optimal standard space is the space for realizing the functions of the model and having the maximum comfort level, and the maximum standard space is the maximum space for realizing the functions of the model and not influencing the realization of the functions of other models.
7. The method according to claim 6, wherein the determining the quantization result of the model to be quantized according to the size information of the design space and the size information of the standard space comprises:
according to the size of the design space, determining a target standard space with the smallest size difference with the design space from the standard spaces;
determining a size difference value between the size of the design space and the target standard space;
determining a quantization result of the model to be quantized on the design space according to the size difference and a quantization mapping relation corresponding to the target standard space; wherein the quantization mapping relationship comprises a correspondence between different size difference values and different quantization results;
and determining the quantization result of the model to be quantized according to the quantization result of the model to be quantized on the design space.
8. The method according to claim 7, wherein the determining the quantization result of the model to be quantized according to the quantization result of the model to be quantized on the design space comprises:
obtaining quantization weighting coefficients of each design space of the model to be quantized;
and according to the quantization weighting coefficients of the design spaces, performing weighted summation operation on the quantization results of the model to be quantized in different design spaces to obtain the quantization result of the model to be quantized.
9. The method according to any one of claims 1-4, wherein after determining the quantization result of the model to be quantized, the method further comprises:
and displaying the quantization result of the model to be quantized, wherein the displaying mode comprises the following steps: at least one of color labeling, line width labeling, texture labeling, number labeling and character labeling.
10. The method of claim 1, further comprising:
acquiring different space geometric information and different related attribute information of each basic model;
establishing the mapping relation by adopting standard information and empirical parameters according to different space geometric information and different related attribute information of the basic model; the standard information comprises at least one of national standard, line standard and enterprise standard of the construction industry.
11. A method for establishing a mapping relation is characterized by comprising the following steps:
acquiring different space geometric information and different related attribute information of each basic model;
establishing a mapping relation by adopting standard information and experience parameters according to different space geometric information and different related attribute information of the basic model, wherein the mapping relation comprises corresponding relations between different space geometric information and different related attribute information of different models and a standard space; the standard information comprises at least one of national standard, line standard and enterprise standard of the construction industry.
12. An apparatus for spatial quantization of a model, the apparatus comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring the space geometric information of a model to be quantized in a design result and the related attribute information of the model to be quantized; wherein, the related attribute information of the model to be quantified comprises: the attribute information of the model and the attribute information of the space where the model is located;
the first determining module is used for determining the design space of the model according to the space geometric information and the related attribute information, and searching a standard space matched with the space geometric information and the related attribute information in a preset mapping relation; the mapping relation comprises corresponding relations between different space geometric information and different related attribute information of different models and a standard space;
and the second determining module is used for judging the design space by utilizing the standard space and determining the quantization result of the model to be quantized.
13. An apparatus for establishing mapping relationship, the apparatus comprising:
the acquisition module is used for acquiring different space geometric information and different related attribute information of each basic model;
the establishing module is used for establishing a mapping relation by adopting standard information and experience parameters according to different space geometric information and different related attribute information of the basic model, wherein the mapping relation comprises the corresponding relation between different space geometric information and different related attribute information of different models and a standard space; the standard information comprises at least one of national standard, line standard and enterprise standard of the construction industry.
14. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor realizes the steps of the method of any one of claims 1 to 10 when executing the computer program.
15. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of claim 11 when executing the computer program.
16. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 10.
17. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method as claimed in claim 11.
CN201810676938.3A 2018-06-27 2018-06-27 Space quantization method of model, mapping relation establishment method, device and equipment Active CN110648400B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810676938.3A CN110648400B (en) 2018-06-27 2018-06-27 Space quantization method of model, mapping relation establishment method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810676938.3A CN110648400B (en) 2018-06-27 2018-06-27 Space quantization method of model, mapping relation establishment method, device and equipment

Publications (2)

Publication Number Publication Date
CN110648400A true CN110648400A (en) 2020-01-03
CN110648400B CN110648400B (en) 2023-05-12

Family

ID=68988746

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810676938.3A Active CN110648400B (en) 2018-06-27 2018-06-27 Space quantization method of model, mapping relation establishment method, device and equipment

Country Status (1)

Country Link
CN (1) CN110648400B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116233426A (en) * 2021-12-03 2023-06-06 维沃移动通信有限公司 Attribute quantization and inverse quantization methods, devices and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002065313A1 (en) * 2001-02-13 2002-08-22 Isurftv Modifying object geometry to accommodate information attributes
CN105931294A (en) * 2016-04-19 2016-09-07 西南交通大学 Method for converting BIM entity model into multiple levels of details (LOD) GIS standardized model
CN108052688A (en) * 2017-10-09 2018-05-18 深圳高速工程顾问有限公司 Calculation amount data processing method, device, storage medium and computer equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002065313A1 (en) * 2001-02-13 2002-08-22 Isurftv Modifying object geometry to accommodate information attributes
CN105931294A (en) * 2016-04-19 2016-09-07 西南交通大学 Method for converting BIM entity model into multiple levels of details (LOD) GIS standardized model
CN108052688A (en) * 2017-10-09 2018-05-18 深圳高速工程顾问有限公司 Calculation amount data processing method, device, storage medium and computer equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
许辉熙等: "GIS中多源空间数据集成方法研究", 《测绘与空间地理信息》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116233426A (en) * 2021-12-03 2023-06-06 维沃移动通信有限公司 Attribute quantization and inverse quantization methods, devices and equipment
WO2023098814A1 (en) * 2021-12-03 2023-06-08 维沃移动通信有限公司 Attribute quantization method and apparatus, attribute inverse quantization method and apparatus, and device
CN116233426B (en) * 2021-12-03 2024-05-31 维沃移动通信有限公司 Attribute quantization and inverse quantization methods, devices and equipment

Also Published As

Publication number Publication date
CN110648400B (en) 2023-05-12

Similar Documents

Publication Publication Date Title
CN111709062B (en) Method, device, equipment and medium for acquiring item placement scheme scoring
Moreno-Jiménez et al. Systemic decision making in AHP: a Bayesian approach
WO2020151170A1 (en) Position describing method, position describing apparatus, and terminal device
US20220391552A1 (en) Automated generation and evaluation of architectural designs
WO2021238513A1 (en) Blockchain node capacity expansion method and apparatus, computer device, and storage medium
JP6395092B2 (en) Light environment design support device, light environment design support system, program
CN110889152B (en) Method, device, computer equipment and storage medium for establishing model relation
CN115269670A (en) Flow prediction method, device and storage medium
CN112182886A (en) Engineering model generation method and device, computer equipment and storage medium
Meintanis et al. A class of goodness-of-fit tests based on transformation
CN110648400A (en) Model space quantization method, mapping relation establishment method, device and equipment
CN110889153A (en) Model adjusting method and device, computer equipment and storage medium
CN110009161A (en) Water supply forecast method and device
CN114329744B (en) House type reconstruction method and computer readable storage medium
CN110555914B (en) Model information processing method, device, computer equipment and readable storage medium
CN114139268B (en) Method, device, electronic equipment and medium for determining area profile
CN111046467B (en) House type parametric modeling method and related equipment
US8463580B2 (en) Systems and methods for performing quantity takeoff computations from computer aided design drawings
CN103324803A (en) Modeling method and device of spinning machine
CN115730363A (en) Neural network-based in-sleeve layout aided design method, device and equipment
CN112199748A (en) Plan design method and device based on human activity information and terminal equipment
CN113297651A (en) Three-dimensional house type data generation method, device and equipment
CN113822455A (en) Time prediction method, device, server and storage medium
CN110826116A (en) Model processing method and device, computer equipment and readable storage medium
CN109241443A (en) Project recommendation device based on predicted value filling

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240110

Address after: 210000, Room 015, Building 2, Shuiyuanju, Qinhuai District, Nanjing City, Jiangsu Province

Patentee after: Nanjing Runshijing Environmental Engineering Co.,Ltd.

Address before: 710003 Room 301, Central Zone, National E-Commerce Demonstration Base, No. 528, Tianguba Road, Software New Town, High-tech Zone, Xi'an City, Shaanxi Province

Patentee before: XI'AN SEA2 NETWORK TECHNOLOGY CO.,LTD.

TR01 Transfer of patent right