CN110648400B - Space quantization method of model, mapping relation establishment method, device and equipment - Google Patents

Space quantization method of model, mapping relation establishment method, device and equipment Download PDF

Info

Publication number
CN110648400B
CN110648400B CN201810676938.3A CN201810676938A CN110648400B CN 110648400 B CN110648400 B CN 110648400B CN 201810676938 A CN201810676938 A CN 201810676938A CN 110648400 B CN110648400 B CN 110648400B
Authority
CN
China
Prior art keywords
space
model
quantized
information
standard
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.)
Active
Application number
CN201810676938.3A
Other languages
Chinese (zh)
Other versions
CN110648400A (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 Sea2 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 Sea2 Network Technology Co ltd filed Critical Xi'an Sea2 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)
  • Stored Programmes (AREA)
  • Image Generation (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application relates to a space quantization method of a model, a mapping relation establishment method, a device and equipment, wherein the method comprises the following steps: obtaining 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 the 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 accurately judge whether the design result is reasonable in design according to the quantized result, and accuracy of design result evaluation is improved.

Description

Space quantization method of model, mapping relation establishment method, device and equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, and a device for establishing a mapping relationship, and a method and an apparatus for spatial quantization of a model.
Background
Along with the improvement of living standard, the requirements of people on functional areas in living space are higher and higher. In order to meet such demands of people, designers often need to design living spaces first and then construct according to the design results.
Currently, when designing living spaces, designers usually design spatial positions, sizes, and the like of models in living spaces according to their own experience and subjective consciousness.
However, in the design of the model in the conventional technology, there are problems that construction is difficult when the model is constructed according to the design completion, or that the entity function corresponding to the model is difficult to realize after the construction is completed, and that maintenance cannot be performed when the entity corresponding to the model fails in the later stage after the construction is completed, that is, the accuracy of the designer in the conventional technology in judging the quality of the design result is not high.
Disclosure of Invention
Based on this, it is necessary to provide a space quantization method, a mapping relation establishment device and a model capable of improving accuracy of judgment of the quality of the design result by a designer in the conventional technology, aiming at the technical problems.
In a first aspect, an embodiment of the present invention provides a method for spatial quantization of a model, where the method includes:
obtaining 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 relevant attribute information of the model to be quantized comprises: attribute information of the model and attribute information of a 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 different space geometric information and different related attribute information of different models, and the corresponding relation between the mapping relation and a standard space;
and judging the design space by using the standard space, and determining the 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;
according to the different space geometric information and the different related attribute information of the basic model, adopting standard information and experience parameters to establish a mapping relation, wherein the mapping relation comprises the corresponding relation between the different space geometric information and the different related attribute information of the different models and the standard space; the standard information comprises at least one of national standards, line standards and enterprise standards of the building industry.
In a third aspect, an embodiment of the present invention provides a spatial quantization apparatus for a model, the apparatus including:
The device comprises an acquisition device, a calculation device and a calculation device, wherein the acquisition device is used for 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 relevant attribute information of the model to be quantized comprises: attribute information of the model and attribute information of a 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 different space geometric information and different related attribute information of different models, and the corresponding relation between the mapping relation 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 a mapping relationship establishing apparatus, 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 building device is used for building a mapping relation according to different space geometric information and different related attribute information of the basic model by adopting standard information and experience parameters, 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 standards, line standards and enterprise standards of the building industry.
In a fifth aspect, an embodiment of the present invention provides a computer device, including a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
obtaining 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 relevant attribute information of the model to be quantized comprises: attribute information of the model and attribute information of a 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 different space geometric information and different related attribute information of different models, and the corresponding relation between the mapping relation and a standard space;
and judging the design space by using the standard space, and determining the 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, the memory storing 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;
according to the different space geometric information and the different related attribute information of the basic model, adopting standard information and experience parameters to establish a mapping relation, wherein the mapping relation comprises the corresponding relation between the different space geometric information and the different related attribute information of the different models and the standard space; the standard information comprises at least one of national standards, line standards and enterprise standards of the building industry.
In a seventh aspect, embodiments of the present invention provide a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
obtaining 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 relevant attribute information of the model to be quantized comprises: attribute information of the model and attribute information of a 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 different space geometric information and different related attribute information of different models, and the corresponding relation between the mapping relation and a standard space;
And judging the design space by using the standard space, and determining the quantization result of the model to be quantized.
In an eighth aspect, embodiments of the present invention provide a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
acquiring different space geometric information and different related attribute information of each basic model;
according to the different space geometric information and the different related attribute information of the basic model, adopting standard information and experience parameters to establish a mapping relation, wherein the mapping relation comprises the corresponding relation between the different space geometric information and the different related attribute information of the different models and the standard space; the standard information comprises at least one of national standards, line standards and enterprise standards of the building industry.
The spatial quantization method, the mapping relation establishing device, the equipment and the computer storage medium of the model provided by the embodiment acquire 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 through the computer equipment; then, according to the acquired space geometric information and 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, according to the spatial geometric information and the related attribute information of the model to be quantized, a design space of the model to be quantized, and find, in the mapping relationship, a standard space that matches the model to be quantized. Because the standard space can enable the model to be realized after the model is realized, or the entity corresponding to the model can be constructed in construction, or can be maintained after construction, and the like, when the standard space and the design space are judged, visual quantization results which represent the model to be quantized in various aspects can be obtained, so that a designer can accurately judge whether the current design result is reasonable in space according to the quantization results, and the accuracy of the evaluation of the design result is greatly improved. In addition, the model to be quantized can be modified correspondingly according to the quantization result, so that the model to be quantized can realize the function and ensure certain design precision. In addition, the embodiment of the invention can acquire different space geometric information and different related attribute information of each basic model through computer equipment, and establishes a mapping relation by adopting standard information and experience parameters according to the acquired different space geometric information and different related attribute information of the basic model. 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 all aspects in the design result according to the mapping relation, a designer can accurately judge whether the current design result is reasonable in space according to the quantization result, and the accuracy of design result evaluation is greatly improved. In addition, the model to be quantized can be modified correspondingly according to the quantization result, so that the model to be quantized can realize the function and ensure certain design precision.
Drawings
FIG. 1 is a schematic diagram of an internal structure of a computer device according to one embodiment;
FIG. 2 is a flow chart of a method for spatial quantization of a model according to one embodiment;
FIG. 3 is a schematic diagram of the design results provided by one embodiment;
FIG. 4 is a flow chart of a method for spatial quantization of a model according to another embodiment;
FIG. 5 is a flow chart of a method for spatial quantization of a model according to yet another embodiment;
FIG. 6 is a flow chart of a method for spatial quantization of a model according to yet another embodiment;
FIG. 7 is a flow chart of a method for spatial quantization of a model according to yet another embodiment;
FIG. 8 is a flowchart of a mapping relationship establishment method according to an embodiment;
FIG. 9 is a flow chart of a method for spatial quantization of a model according to yet another embodiment;
FIG. 10 is a schematic structural diagram of a spatial quantization apparatus of a model according to an embodiment;
FIG. 11 is a schematic structural diagram of a spatial quantization apparatus of a model according to another embodiment;
fig. 12 is a schematic structural diagram of a spatial quantization apparatus of a model according to another embodiment;
fig. 13 is a schematic structural diagram of a spatial quantization apparatus of a model according to 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 will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The spatial quantization method of the model provided by the embodiment of the invention can be applied to the computer equipment shown in fig. 1, wherein 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 includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used to store the mapping relation in the present embodiment, and the description of the mapping relation can refer to the content 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, a PC, a personal digital assistant, other terminal devices, such as a PAD, a mobile phone, etc., or a cloud or remote server, which is not limited to a specific form of the computer device in this embodiment.
The designer in the traditional technology has low accuracy in judging the quality of the design result, and the embodiment of the invention provides a space quantization method, a mapping relation establishing device and equipment of a model, which aim to solve the technical problems in the traditional technology.
Fig. 2 is a flow chart of a spatial quantization method of a model according to an embodiment, where the embodiment relates to a specific process of determining a quantization result of the model to be quantized by a computer device 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 relevant attribute information of the model to be quantized comprises: the attribute information of the model and the attribute information of the space in which the model is located.
Specifically, the above design result refers to a design scheme that has been designed for one space, and that includes a plurality of models. The model to be quantized is a model to be quantized in the design result, and the quantization can be an operation of evaluating the model in the design result. For example, the design result may be a design drawing of a bathroom, where the design drawing includes a three-dimensional model of a door, a shower room, a washing table, a toilet, a washing machine, and the like. Any model in the bathroom can be used as the model to be quantified. It should be noted that each model in the design result carries its own information and space geometry information. The specific description of the attribute information and the space geometry information of the model to be quantized is as follows.
The spatial geometric information of the model to be quantized is used for representing information related to the spatial position information of the model to be quantized in the stereoscopic space corresponding to the model, and optionally, the spatial position information can be at least one of the spatial size and the geometric shape of the model to be quantized. The space size of the model to be quantized comprises the space size of the model, the position of the model in the space of the model, and the relative positions of the model and other models in the space of the model. The geometric shape of the model to be quantized is a basic shape such as a cuboid, a cone and the like, or is composed of a plurality of basic shapes.
The above-mentioned relevant attribute information of the model to be quantized includes: the attribute information of the model and the attribute information of the space in which the model is located. The attribute information of the model is attribute information characterizing the characteristics of the model, and optionally, the attribute information of the model can 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, information that characterizes the model itself, such as external influence attribute, internal composition attribute, and style attribute. The functional attribute refers to a function of the model, the positioning attribute can represent a placement position or orientation and the like of the model, the use mode represents a use mode of the model, the external influence attribute represents an influence of the model on other models in a space, the internal composition attribute represents a composition in the model, the style attribute represents a decoration style corresponding to the model and the like.
Taking a shower room as an example, the above functional attribute indicates that the shower can be realized; the positioning attribute indicates the position of the model at the wall or the corner and the orientation of the model in the design space; the external influence attribute indicates that the model is a closed hard boundary (such as glass) and cannot share the same space with other models; the use mode is represented by a push-pull mode, an inward opening mode or an outward opening mode of a door entering the shower room; the above-mentioned construction priority indicates the order of construction when the design result is achieved, and the construction is performed first because the space occupation of the shower room is large.
The attribute information of the space where the model to be quantized is located includes attribute information of the own features of other models in the space where the model to be quantized is located. Based on the above illustration of the bathroom, when the model to be quantified is a shower room, the attribute information of the space in which the shower room is located includes: toilet self attribute information, washing machine self attribute information, toilet self attribute information, and washing table attribute information.
Based on the above, the spatial geometry information and the related attribute information of the model to be quantized in the above design result may be obtained as follows: the user inputs the design result through mouse click, or the computer equipment automatically obtains the design result through the path of the design result after starting the space quantization function of the model, and displays the design result on the display screen of the computer equipment; and then the computer equipment identifies the design result, so that 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 are obtained.
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 different space geometric information and different related attribute information of different models, and the corresponding relation between the mapping relation 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 space in a physical sense or a space describing functions, and in addition, the design space may be one or more. Optionally, the design space may be at least one of a physical occupation 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 traffic space of the model to be quantized.
The physical occupied space represents the physical space size actually occupied by the model to be quantized. Taking a 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 the radius, the height of the door is high, the angle which the door can open is fan-shaped with the central angle, and the sum of the size of a cuboid space formed by the length, the width and the height of the shower room. The usage space is the size of the space actually occupied when the user reaches the position of the model to be quantized from the entrance of the space of the model to be quantized and the user reaches the position. The construction space is the actual space size needed in the entity installation process of the model to be quantized when the entity corresponding to the model to be quantized is constructed. 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 traffic space refers to the actual space size 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 determining the design space of the model to be quantized 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 part of the space geometric information and part of the 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 relevant attribute information; alternatively, of course, the design space of the model to be quantized may be obtained according to part of the space geometric information and part of the related attribute information, which is not limited in this embodiment.
Based on S102, after determining the design space of the model to be quantized, the computer needs to search the standard space matching the space geometric information and the related attribute information of the model to be quantized from the preset mapping relationship. The standard space refers to a space in which a model to be quantized can be constructed when the model is constructed; or when the model to be quantized is realized, the corresponding function is realized; or a space that can be maintained when a failure occurs after construction, etc.
S103, judging the design space by using the standard space, and determining the quantization result of the model to be quantized.
Specifically, in implementing S103, the standard space may be compared with the design space, and the comparison result may be finally used as the quantization result. Alternatively, the designer may spatially modify the current design result based on the quantized result.
Based on the foregoing, in one possible implementation manner, if the design space determined in S102 and the found 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 quantized is reasonable in design and can be subjected to 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: the model to be quantized is unreasonably designed, and a designer is requested to redesign the model to be quantized; in still 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 design space length of the model to be quantized by 5cm.
According to the space quantization method of the model, provided by the embodiment, the computer equipment acquires the space geometric information of the model to be quantized and the related attribute information of the model to be quantized in the design result; then, according to the acquired space geometric information and 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, according to the spatial geometric information and the related attribute information of the model to be quantized, a design space of the model to be quantized, and find, in the mapping relationship, a standard space that matches the model to be quantized. Because the standard space can enable the model to be realized after the model is realized, or the entity corresponding to the model can be constructed in construction, or can be maintained after construction, and the like, when the standard space and the design space are judged, visual quantization results which represent the model to be quantized in various aspects can be obtained, so that a designer can accurately judge whether the current design result is reasonable in space according to the quantization results, and the accuracy of the evaluation of the design result is greatly improved. In addition, the model to be quantized can be modified correspondingly according to the quantization result, so that the model to be quantized can realize the function and ensure certain design precision.
Alternatively, on the basis of the embodiment shown in fig. 2, if the design space includes: when the space is physically occupied, the space is used, the construction space is used, the maintenance space is maintained, and the traffic space is used, the method for determining the design space in S102 may be implemented by the following possible implementation manners:
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 use mode of the model to be quantized.
Specifically, according to the space geometric information, the minimum practical physical space occupied by the model to be quantized can be obtained. According to the use mode of the model to be quantized, the entity corresponding to the model to be quantized can occupy the space except the minimum practical physical space when in use. The sum of the two spaces is taken as the physical occupation space of the model to be quantized. For example, based on the length, width and height of the shower enclosure model, the minimum actual physical space taken up by the shower enclosure model is: long x wide x high. If the usage mode is that the door of the shower room is opened or pushed and pulled inwards, the occupied space except the minimum actual physical space is 0, and at this time, the physical occupied space of the model to be quantized is as follows: length x width x height +0, the spatial size of the a region as shown 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 space geometric information, the functional attribute and the positioning attribute of the model to be quantized, the space distance between the model to be quantized and other models can be obtained, and the space formed by the space distance is used as the use space of the model to be quantized. For example, taking a model of a washstand as an example, after spatial geometric information and positioning attribute information of the washstand are obtained, the size of the space occupied by the washstand, the placed position and the distance from other models can be obtained. After obtaining the functional attributes of the sink, the user may learn that the user needs to be on the periphery of the sink while using the sink. In this way, the computer equipment can know the distance between the periphery of the wash platform and other models according to the space geometric information and the positioning attribute information of the wash platform, so that the space formed by the periphery of the wash platform and the distance between the upper surface direction of the wash platform and other models is used as the using space of the wash platform. The sum of the D area and the space above the toilet model as shown in fig. 3.
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 learn the construction order of the model to be quantized and other models when the design result is realized, so as to obtain the model which is constructed in the model to be quantized when the model to be quantized is constructed. And then, based on the space geometric information and the constructed model, obtaining the residual space of the space where the model to be quantized is constructed. In addition, according to the space geometric information of the model to be quantized, the computer equipment can also acquire the space composition of the model to be quantized, so as to obtain whether the internal space of the model to be quantized can be utilized when the model to be quantized is constructed. Based on the above description, the construction space of the model to be quantized is the sum of the remaining space of the space and the available internal space. For example, taking a shower room as an example, if the construction priority of the shower room is first (indicating that the shower room is constructed first when the design result of the bathroom is constructed), and the space composition of the shower room is empty, the construction space of the shower room is: the sum of the space except the shower room and the space inside the shower room in the bathroom.
d. Determining the fault point position 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 the position of a fault point where a fault may occur when the model to be quantized executes a corresponding function according to the functional attribute of the model to be quantized. According to the space geometric information and the fault point positions, the computer equipment can acquire the actual space distance between the fault point position of the model to be quantified and other models, and the actual space distance is recorded as the actual space occupied by maintenance personnel when the maintenance personnel maintain the fault. Taking a shower room model as an example, as shown in fig. 3, according to the functional attribute of the shower room, it is known that a handle of a shower room door needs to be pulled when the function of the shower room model is implemented. For a shower door, the possible fault point locations are: 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 and other models in the space on the shower room model can be known, and the actual space distance between the door handle and the 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 the repair space of one model to be quantized may be plural.
e. And determining the traffic 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 positions of 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 for all the models in the design result, and when the orientation of the model to be quantized is connected with the space except for all the models, and the space except for all the models in the design result is the communication space, the space except for all the models in the design result is used as the passing space, otherwise, the passing space is 0. For example, consider a sink model, such as the region D shown in fig. 3.
It should be noted that the above method for determining the design space is merely an example, and any method for determining the design space of the model to be quantized according to the space geometric information and the related attribute information of the model to be quantized is within the scope of protection of the present application.
In this embodiment, the computer device may obtain five design spaces, i.e., a physical occupation space, a usage space, a maintenance space, a construction space, and a traffic space, of the model to be quantized according to the space geometry information and the related attribute information of the model to be quantized. In this way, the computer device can obtain quantization results on each space of the model to be quantized, that is to say visual 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 reasonable in space according to the quantized result, and the accuracy of design result evaluation is greatly improved. In addition, the model to be quantized can be modified correspondingly according to the quantization result, so that the model to be quantized can realize the function and ensure certain design precision.
Fig. 4 is a flowchart of a spatial quantization method of a model according to another embodiment, where the embodiment relates to a process of determining a quantization result of the model to be quantized by using the standard space to perform a judgment process on the design 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 functional constraint of the standard space.
Specifically, functional constraints refer to: when the design space comprises a physical occupied space, the occupied space of the model to be quantized is reasonable in size; when the design space comprises a use space, a user can reach the model to be quantized, and when the user 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 a model to be quantized, and when the model reaches the model to be quantized, the entity corresponding to the model to be quantized can be constructed; when the design space comprises a maintenance space, a user can reach the model to be quantized, and when the model to be quantized arrives, the entity corresponding to the model to be quantized can be maintained; when the design space contains a traffic space, the user can reach the model to be quantified.
After the computer equipment obtains the design space of the model to be quantized, whether the design space meets the functional constraint of the standard space or not needs to be judged, namely whether the function of the design space can be realized or not is judged. Alternatively, the size of the design space may be compared with the size of the standard space, as a judgment basis.
Specifically, if the size information of the design space is greater than the size information of the corresponding standard space, the design space is indicated to satisfy the functional constraint of the corresponding standard space. Otherwise, this indicates that the condition 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 value between the size information of the design space and the size information of the standard space, the design space can be accurately scored according to the mapping relation between the size of the difference value and the score. Alternatively, whether the design space satisfies the standard space may be used as the quantization result, for example, the quantization result is: the design space does not satisfy the standard space.
According to the space quantization method of the model, the computer equipment can judge whether the design space meets the functional constraint of the standard space, and when the design space meets the standard space, the quantization result of the model to be quantized is determined according to the size information of the design space and the size information of the standard space. In this embodiment, under the condition that the design space meets the functional constraint, the computer device can score the design space of the model to be quantized according to the difference value between the size information of the design space and the size information of the standard space, so that a quantization result of the model to be quantized in the design space is intuitively and accurately obtained, a designer can accurately judge whether the current design result is reasonably designed in space according to the quantization result, and the accuracy of evaluation of the design result is greatly improved.
In order to more precisely quantify 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 function of the model, the optimal standard space is the space with the maximum comfort degree for realizing the function of the model, and the maximum standard space is the maximum space for realizing the function of the model without affecting the realization of other model functions. For example, as shown in fig. 3, taking a shower room as an example, when the design space is a use space, the minimum standard space of the shower room is: a space for accommodating a person for shower, as in a region a in fig. 3; the optimal standard space of the shower room is as follows: a space (space where a user can perform optional limb extension) which accommodates one person to take a shower and has maximum comfort, as in a region B in fig. 3; the maximum standard space is: at least one person is accommodated for showering without affecting the space of the other models in the bathroom, as in the region C in fig. 3.
Based on the above description of the standard space, the embodiments of the present application further provide a possible implementation manner of determining the quantization result of the model to be quantized, which is specifically as follows:
Fig. 5 is a flowchart of a method for spatial quantization of a model according to another embodiment, where the method includes a computer device determining an achievable process of a quantization result of a model to be quantized according to size information of a design space and size information of a standard space, and the method includes, based on S202 in the embodiment shown in fig. 4:
s301, determining a target standard space with the smallest dimension difference with the design space from the standard spaces according to the dimension of the design space.
Specifically, since the difference between the size of the target standard space and the size of the design space is the smallest, it is explained that the design space is closer to the standard space. Taking the target standard space as an 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, the design space is indicated to be closest to the optimal standard space.
S302, determining a 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 value and the quantization mapping relation corresponding to the target standard space; the quantization mapping relation comprises a corresponding relation between different size difference values and different quantization results.
Specifically, taking the quantized result as a score as an example, when the target standard space is the minimum standard space, the quantized mapping relationship corresponding to the minimum standard space is: the larger the difference value between the size of the design space and the target standard space is, the larger the quantized 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 value between the size of the design space and the target standard space is, the smaller the quantized 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 larger the difference between the design space and the target standard space is, the smaller the quantization value is, or the smaller the difference between the design space and the target standard space is, the larger the quantization value is.
Based on the description of the quantization mapping relation, the computer device can determine the quantization result of the model to be quantized on the design space from the quantization mapping relation by combining the size difference value of the current design space and the size difference value of the target standard space. For example, a quantization result of the model to be quantized on any design space of the physical occupation space, the use space, the maintenance space, the construction space, and the traffic space may be determined.
S304, determining the quantization result of the model to be quantized according to the quantization result of the model to be quantized in the design space.
Specifically, since the design space is at least one, the quantization result of the model to be quantized in each design space can be obtained according to S301-S303. Alternatively, the quantization result of each design space may be used as the quantization result of the model to be quantized. Optionally, the quantized result of each design space can be comprehensively analyzed to obtain the quantized result of the model to be quantized. For example, the quantization result of each design result is averaged, and the average value is taken as the quantization result of the model to be quantized. Of course, the quantization result of the model to be quantized may also be determined according to other comprehensive analysis. For another example, see the following procedures of S401 and S402 shown in fig. 6, specifically as follows:
s401, obtaining 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 bath space, the weight of the used space is set larger.
S402, carrying out weighted summation operation on quantization results of the model to be quantized in different design spaces according to quantization weighting coefficients of each design space, and obtaining quantization results of the model to be quantized.
Optionally, in order to enable a designer to intuitively learn the design condition of the model to be quantized, after obtaining the quantization result of each design space, the obtained quantization result may be displayed. Optionally, the displaying manner of the quantized result may include: color marking, line width marking, texture marking, number marking, and text marking. Taking characters as an example, after the quantized result is obtained, the quantized value of the model to be quantized can be displayed on the design result. Further, the computer device may also give a certain modification opinion based on the quantized value, e.g. the width of the traffic space is smaller than the width of the standard traffic space by 0.5cm. It should be noted that the quantization result may be displayed according to other display modes.
According to the space quantization method provided by the embodiment, the computing equipment acquires the quantization weighting coefficients of each design space of the model to be quantized, and performs weighted summation operation on quantization results of the model to be quantized in different design spaces according to the acquired quantization weighting coefficients of each design space to obtain quantization results of the model to be quantized. In this embodiment, the computer device may set different coefficients for different design spaces according to different design requirements, so that the final obtained quantization result is more reasonable and accurate, and accuracy related to result evaluation is further improved. In addition, the quantization result can be displayed, so that a designer can obtain the quantization result of the model to be quantized more intuitively.
Fig. 7 is a schematic diagram of a spatial quantization method of a model according to another embodiment, where the method includes a specific process of establishing a mapping relationship by a computer device according to different spatial geometric information and different related attribute information of a basic model, as shown in fig. 7, before S102 in the embodiment shown in fig. 2, and the method includes:
s501, acquiring different space geometric information and different related attribute information of each basic model.
In particular, the computer device is able to receive different spatial geometrical information of the input basic model and different related attribute information, which may optionally be entered manually by a designer via a mouse or a keyboard. Note that, the manner of obtaining the above-described spatial geometric information and related attribute information is not limited in this embodiment.
S502, establishing the mapping relation by adopting standard information and experience 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 standards, line standards and enterprise standards of the building industry.
Specifically, the above-mentioned experience parameters are parameters related to standard space obtained by designers according to long-term design and construction experience. After the calculation and equipment acquires the different space geometric information and the different related attribute information of the basic model, the different space geometric information and the different related attribute information of the basic model are compared with the standard information, the standard space corresponding to the different space geometric information and the different related attribute information of each basic model is obtained based on the experience parameter, and the different space geometric information and the different related attribute information of each basic model are stored with the standard space corresponding to the different space geometric information and the different related attribute information of each basic model. 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.
Alternatively, when different space geometry information and different related attribute information of each basic model are stored in the standard space corresponding to each basic model, the different space geometry information and the different related attribute information may be stored in an index manner or a table manner, which is not limited in the embodiment of the present invention.
According to the space quantization method of the model, the computer equipment obtains different space geometric information and different related attribute information of each basic model, and establishes a mapping relation according to the obtained different space geometric information and different related attribute information of the basic model by adopting standard information and experience parameters. The mapping relation establishing method provided by the embodiment can establish the mapping relation between the different space geometric information and the different related attribute information of the plurality of basic models and the standard space, so that a quantization basis is provided for quantizing the design space of the model to be quantized, and the computer equipment can quantize the model to be quantized in all aspects in the design result according to the mapping relation, so that a designer can accurately judge whether the current design result is reasonable 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 modified correspondingly according to the quantization result, so that the model to be quantized can realize the function and ensure certain design precision.
Fig. 8 is a flow chart of a mapping relation establishment method provided in an embodiment, where the embodiment relates to a specific process of establishing a mapping relation 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.
In particular, the computer device is able to receive different spatial geometrical information of the input basic model and different related attribute information, which may optionally be entered manually by a designer via a mouse or a keyboard. Note that, the manner of obtaining the above-described spatial geometric information and related attribute information is not limited in this embodiment. Alternatively, 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, according to different space geometric information and different related attribute information of the basic model, adopting standard information and experience parameters to establish a mapping relation, wherein the mapping relation comprises the different space geometric information and different related attribute information of different models and the corresponding relation between the different space geometric information and different related attribute information and a standard space; the standard information comprises at least one of national standards, line standards and enterprise standards of the building industry.
Specifically, the above-mentioned experience parameters are parameters related to standard space obtained by designers according to long-term design and construction experience. After the calculation and equipment acquires the different space geometric information and the different related attribute information of the basic model, the different space geometric information and the different related attribute information of the basic model are compared with the standard information, the standard space corresponding to the different space geometric information and the different related attribute information of each basic model is obtained based on the experience parameter, and the different space geometric information and the different related attribute information of each basic model are stored with the standard space corresponding to the different space geometric information and the different related attribute information of each basic model. 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.
Alternatively, when different space geometry information and different related attribute information of each basic model are stored in the standard space corresponding to each basic model, the different space geometry information and the different related attribute information may be stored in an index manner or a table manner, which is not limited in the embodiment of the present invention.
According to the mapping relation establishing method provided by the embodiment, the computer equipment acquires different space geometric information and different related attribute information of each basic model, and establishes the mapping relation by adopting standard information and experience parameters according to the acquired different space geometric information and different related attribute information of the basic model. The mapping relation establishing method provided by the embodiment can establish the mapping relation between the different space geometric information and the different related attribute information of the plurality of basic models and the standard space, so that a quantization basis is provided for quantizing the design space of the model to be quantized, and the computer equipment can quantize the model to be quantized in all aspects in the design result according to the mapping relation, so that a designer can accurately judge whether the current design result is reasonable 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 modified correspondingly according to the quantization result, so that the model to be quantized can realize the function and ensure certain design precision.
The following describes, by way of a simple example, a specific procedure of the spatial quantization method of the model provided in the embodiment of the present invention. See in particular 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 experience 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 standards, line standards and enterprise standards of the building industry.
S703, acquiring space geometric information of a model to be quantized and related attribute information of the model to be quantized in a design result.
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 occupation 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 traffic space of the model to be quantized.
S705, judging whether the design space meets the functional 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;
and S707, determining a quantization result of the model to be quantized in the design space according to the size difference and the quantization mapping relation corresponding to the target standard space.
S708, obtaining quantization weighting coefficients of each design space of the model to be quantized.
S709, carrying out weighted summation operation on the quantized results of the model to be quantized in different design spaces according to the quantized weighting coefficients of the design spaces, and obtaining quantized results of the model to be quantized.
S710, displaying the quantization result of the model to be quantized, wherein the displaying method comprises the following steps: color marking, line width marking, texture marking, number marking, and text marking.
The working principle and technical effects of the spatial quantization method of the model provided in this embodiment are as described in the above embodiments, and are not described herein.
It should be understood that, although the steps in the flowcharts of fig. 2, 4-9 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps of fig. 2, 4-9 may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor does the order in which the sub-steps or stages are performed necessarily occur in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
Fig. 10 is a schematic structural diagram of a spatial quantization apparatus of a model according to an embodiment, and as shown in fig. 10, the apparatus includes: a first acquisition module 11, a first determination module 12 and a second determination module 13, wherein:
a first obtaining module 11, configured to obtain spatial geometry information of a model to be quantized and related attribute information of the model to be quantized in a design result; wherein, the relevant attribute information of the model to be quantized comprises: attribute information of the model and attribute information of a space where the model is located;
the first determining module 12 is configured to determine a design space of the model according to the space geometry information and the related attribute information, and search a standard space matched with the space geometry information and the related attribute information in a preset mapping relationship; the mapping relation comprises different space geometric information and different related attribute information of different models, and the corresponding relation between the mapping relation and a standard space;
and the second determining module 13 is configured to determine a quantization result of the model to be quantized by using the standard space to perform judgment processing on the design space.
In one embodiment, the design space is at least one of a physical space occupied by the model to be quantized, a usage 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 traffic space of the model to be quantized.
In one embodiment, the model attribute information 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 one embodiment, the first determining module 12 is specifically configured to determine, according to the space geometry information and the usage mode of the model to be quantized, size information of a physical occupied space of the model to be quantized;
determining a use space of the model to be quantized according to the space geometric information, the functional attribute and the positioning attribute of the model to be quantized;
determining the construction space of the model to be quantized according to the space geometric information and the construction priority;
determining the fault point position 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 traffic 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 spatial quantization apparatus of the model further includes: a display module 14;
the display module 14 is configured to display the quantization result of the model to be quantized, where the displaying manner includes: color marking, line width marking, texture marking, number marking, and text marking.
Fig. 11 is a schematic structural diagram of a spatial quantization apparatus of a model according to another embodiment, as shown in fig. 11, and the second determining module 13 includes: a judging unit 131, a determining unit 132, wherein:
a judging unit 131 for judging whether the design space satisfies 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 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 with maximum comfort degree for realizing the functions of the model, and the maximum standard space is the maximum space for realizing the functions of the model without affecting the functions of other models.
Fig. 12 is a schematic structural diagram of a spatial quantization apparatus of a model according to another embodiment, as shown in fig. 12, and the determining unit 132 includes: a first determination subunit 1321, a second determination subunit 1322, a third determination subunit 1323, and a fourth determination subunit 1324; wherein:
a first determining subunit 1321, configured to determine, from the standard spaces, a target standard space with a smallest difference from the design space in size, according to the size of the design space;
a second determining subunit 1322, configured to determine a size difference between the size of the design space and the target standard space;
a third determining subunit 1323, configured to determine a quantization result of the model to be quantized in the design space according to the size difference and a quantization mapping relationship corresponding to the target standard space; the quantization mapping relation comprises corresponding relations 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 in the design space.
In one 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 carrying out weighted summation operation on the quantized results of the model to be quantized in different design spaces according to the quantized weighting coefficients of each design space to obtain the quantized results of the model to be quantized.
Fig. 13 is a schematic structural diagram of a spatial quantization apparatus of a model according to another embodiment, as shown in fig. 13, where the spatial quantization apparatus of a model further includes: a second acquisition module 15, a setup module 16; wherein:
a second obtaining module 15, configured to obtain different spatial geometric information and different related attribute information of each basic model;
a building module 16, configured to build the mapping relationship according to different spatial geometric information and different related attribute information of the basic model, and using standard information and experience parameters; the standard information comprises at least one of national standards, line standards and enterprise standards of the building industry.
The spatial quantization device of the model provided in the above embodiment may perform the above method embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
For specific limitations of the spatial quantization means of the model, reference may be made to the above limitation of the spatial quantization method of the model, and no further description is given here. The respective modules in the spatial quantization apparatus of the above model may be implemented in whole or in part by software, hardware, and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
Fig. 14 is a schematic structural diagram of a mapping relationship establishing apparatus according to an embodiment, as shown in fig. 14, where the apparatus includes: an acquisition module 21, a building module 22, wherein:
an acquisition module 21, configured to acquire different spatial geometric information and different related attribute information of each basic model;
the building module 22 is configured to build a mapping relationship according to the different spatial geometric information and the different related attribute information of the basic model, and by using standard information and experience parameters, where the mapping relationship includes a correspondence relationship between the different spatial geometric information and the different related attribute information of the different model and the standard space; the standard information comprises at least one of national standards, line standards and enterprise standards of the building industry.
For specific limitations on the means for establishing the mapping relationship, reference may be made to the above limitations on the method for establishing the mapping relationship, which are not described herein. The above-mentioned respective modules in the mapping relation establishing apparatus may be realized in whole or in part by software, hardware, and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above 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 includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. 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 includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. 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, when executed by a processor, implements a mapping relation establishing method.
It will be appreciated by those skilled in the art that the structure shown in fig. 1 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
It will be appreciated by those skilled in the art that the structure shown in fig. 1 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than 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 stored therein a computer program, the processor when executing the computer program performing the steps of:
obtaining 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 relevant attribute information of the model to be quantized comprises: attribute information of the model and attribute information of a 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 different space geometric information and different related attribute information of different models, and the corresponding relation between the mapping relation and a standard space;
and judging the design space by using the standard space, and determining the quantization result of the model to be quantized.
The computer device provided in this embodiment has similar implementation principles and technical effects to those of the spatial quantization method embodiment of the model, and will not be described herein.
In one embodiment, there is also provided a computer device comprising a memory and a processor, the memory storing 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;
according to the different space geometric information and the different related attribute information of the basic model, adopting standard information and experience parameters to establish a mapping relation, wherein the mapping relation comprises the corresponding relation between the different space geometric information and the different related attribute information of the different models and the standard space; the standard information comprises at least one of national standards, line standards and enterprise standards of the building industry.
The implementation principle and technical effects of the computer device provided in this embodiment are similar to those of the above-mentioned mapping relationship establishing method embodiment, 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:
obtaining 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 relevant attribute information of the model to be quantized comprises: attribute information of the model and attribute information of a 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 different space geometric information and different related attribute information of different models, and the corresponding relation between the mapping relation and a standard space;
and judging the design space by using the standard space, and determining the quantization result of the model to be quantized.
The computer readable storage medium provided in this embodiment has similar principles and technical effects to those of the spatial quantization method embodiment of the model, and will not be described herein.
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;
according to the different space geometric information and the different related attribute information of the basic model, adopting standard information and experience parameters to establish a mapping relation, wherein the mapping relation comprises the corresponding relation between the different space geometric information and the different related attribute information of the different models and the standard space; the standard information comprises at least one of national standards, line standards and enterprise standards of the building industry.
The computer readable storage medium provided in this embodiment has similar implementation principles and technical effects to those of the above-described mapping relationship establishing method embodiment, and will not be described herein.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile 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), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples merely represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (15)

1. A method for spatial quantization of a model, comprising:
obtaining 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 relevant attribute information of the model to be quantized comprises: attribute information of the model and attribute information of a 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 different space geometric information and different related attribute information of different models, and the corresponding relation between the mapping relation and a standard space;
Judging the design space by utilizing the standard space, and determining a quantization result of the model to be quantized;
the design space is at least one of a physical occupation 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 traffic space of the model to be quantized; the attribute information of the model to be quantized comprises: at least one of a functional attribute, a positioning attribute, a use mode and a construction priority;
the determining the design space of the model to be quantized according to the space geometric information and the related attribute information comprises the following steps:
under the condition that the design space comprises the physical occupation space of the model to be quantized, determining the size information of the physical occupation space of the model to be quantized according to the space geometric information and the use mode of the model to be quantized;
determining the usage space of the model to be quantized according to the space geometric information, the functional attribute and the positioning attribute of the model to be quantized under the condition that the design space comprises the usage space of the model to be quantized;
Determining the construction space of the model to be quantized according to the space geometric information and the construction priority under the condition that the design space comprises the construction space of the model to be quantized;
under the condition that the design space comprises a maintenance space of the model to be quantized, determining the fault point position 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 under the condition that the design space comprises the traffic space of the model to be quantized, determining the traffic space of the model to be quantized according to the space geometric information and the positioning attribute of the model to be quantized.
2. The method of claim 1, wherein the spatial geometry information comprises at least one of a spatial dimension of the model and a geometry of the model.
3. The method according to claim 1 or 2, wherein the determining the quantization result of the model to be quantized by performing the judgment processing on the design space using the standard space includes:
judging whether the design space meets the functional constraint of the standard space or not;
If yes, 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.
4. A method according to claim 3, 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 with maximum comfort degree for realizing the functions of the model, and the maximum standard space is the maximum space for realizing the functions of the model without affecting the functions of other models.
5. The method of claim 4, wherein determining the quantization result of the model to be quantized based on the size information of the design space and the size information of the standard space comprises:
determining a target standard space with the smallest dimension difference with the design space from the standard spaces according to the dimension of the design space;
determining a size difference 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 value and the quantization mapping relation corresponding to the target standard space; the quantization mapping relation comprises corresponding relations 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 in the design space.
6. The method of claim 5, wherein determining the quantization result of the model to be quantized based on the quantization result of the model to be quantized in the design space comprises:
obtaining quantization weighting coefficients of each design space of the model to be quantized;
and carrying out weighted summation operation on the quantized results of the model to be quantized in different design spaces according to the quantized weighting coefficients of each design space to obtain the quantized results of the model to be quantized.
7. The method according to claim 1 or 2, wherein after said determining the quantization result of the model to be quantized, the method further comprises:
displaying the quantization result of the model to be quantized, wherein the displaying method comprises the following steps: color marking, line width marking, texture marking, number marking, and text marking.
8. The method according to claim 1, wherein the method further comprises:
acquiring different space geometric information and different related attribute information of each basic model;
According to different space geometric information and different related attribute information of the basic model, standard information and experience parameters are adopted to establish the mapping relation; the standard information comprises at least one of national standards, line standards and enterprise standards of the building industry.
9. The method for establishing the mapping relation is characterized by comprising the following steps of:
acquiring different space geometric information and different related attribute information of each basic model;
according to the different space geometric information and the different related attribute information of the basic model, adopting standard information and experience parameters to establish a mapping relation, wherein the mapping relation comprises the corresponding relation between the different space geometric information and the different related attribute information of the different models and the standard space; the standard information comprises at least one of national standards, line standards and enterprise standards of the building industry;
the establishing a mapping relation according to different space geometric information and different related attribute information of the basic model by adopting standard information and experience parameters comprises the following steps:
and comparing the different space geometric information and the different related attribute information of each basic model with the standard information, obtaining standard spaces corresponding to the different space geometric information and the different related attribute information of each basic model based on the experience parameters, and storing Chu Gesuo the different space geometric information and the different related attribute information of the basic model in the corresponding standard spaces.
10. A spatial quantization apparatus of a model, the apparatus comprising:
the first acquisition module is used for acquiring the space geometric information of the model to be quantized and the related attribute information of the model to be quantized in the design result; wherein, the relevant attribute information of the model to be quantized comprises: attribute information of the model and attribute information of a 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 different space geometric information and different related attribute information of different models, and the corresponding relation between the mapping relation and a standard space;
the second determining module is used for judging the design space by utilizing the standard space and determining a quantization result of the model to be quantized;
the design space is at least one of a physical occupation 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 traffic space of the model to be quantized; the attribute information of the model to be quantized comprises: at least one of a functional attribute, a positioning attribute, a use mode and a construction priority;
The determining the design space of the model to be quantized according to the space geometric information and the related attribute information comprises the following steps:
under the condition that the design space comprises the physical occupation space of the model to be quantized, determining the size information of the physical occupation space of the model to be quantized according to the space geometric information and the use mode of the model to be quantized;
determining the usage space of the model to be quantized according to the space geometric information, the functional attribute and the positioning attribute of the model to be quantized under the condition that the design space comprises the usage space of the model to be quantized;
determining the construction space of the model to be quantized according to the space geometric information and the construction priority under the condition that the design space comprises the construction space of the model to be quantized;
under the condition that the design space comprises a maintenance space of the model to be quantized, determining the fault point position 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 under the condition that the design space comprises the traffic space of the model to be quantized, determining the traffic space of the model to be quantized according to the space geometric information and the positioning attribute of the model to be quantized.
11. A mapping relation establishing apparatus, characterized in that the apparatus comprises:
the acquisition module is used for acquiring different space geometric information and different related attribute information of each basic model;
the building module is used for building a mapping relation according to different space geometric information and different related attribute information of the basic model by adopting standard information and experience parameters, 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 standards, line standards and enterprise standards of the building industry;
the building module is further configured to compare the different spatial geometric information and the different related attribute information of each basic model with the standard information, obtain a standard space corresponding to the different spatial geometric information and the different related attribute information of each basic model based on the empirical parameter, and store Chu Gesuo the different spatial geometric information and the different related attribute information of the basic model in the corresponding standard space.
12. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 8 when the computer program is executed.
13. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of claim 9 when executing the computer program.
14. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 8.
15. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of claim 9.
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 CN110648400A (en) 2020-01-03
CN110648400B true 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)

Families Citing this family (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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7002590B2 (en) * 2001-02-13 2006-02-21 Yakov Kamen Modifying object geometry to accommodate information attributes
CN105931294B (en) * 2016-04-19 2019-02-12 西南交通大学 A method of BIM physical model is converted into detail GIS standardized model
CN108052688A (en) * 2017-10-09 2018-05-18 深圳高速工程顾问有限公司 Calculation amount data processing method, device, storage medium and computer equipment

Also Published As

Publication number Publication date
CN110648400A (en) 2020-01-03

Similar Documents

Publication Publication Date Title
WO2021196515A1 (en) House type graph generation method and apparatus, and computer device and storage medium
JP6490220B2 (en) 3D autostereoscopic modeling method and program based on 2D drawing
Romero et al. Goal programming, compromise programming and reference point method formulations: linkages and utility interpretations
EP3291590B1 (en) Distributed sensor network for measuring and optimizing wireless networks
AU2017202259A1 (en) Methods and systems for reservoir history matching for improved estimation of reservoir performance
US8868002B2 (en) System and method for conducting wireless site surveys
JP2019519857A (en) System and method for thermal fluid management of a space to be adjusted
US20160275216A1 (en) Providing building information modeling data
CN110648400B (en) Space quantization method of model, mapping relation establishment method, device and equipment
CN104700225A (en) Real estate mapping management system
JP6395092B2 (en) Light environment design support device, light environment design support system, program
CN112182886B (en) Engineering model generation method and device, computer equipment and storage medium
CN109359382B (en) Method, device, equipment and storage medium for determining mounting point position of hatchback door
Fedorov et al. SIR Distribution In D2D Environment With Non-Stationary Mobility Of Users.
CN110781535A (en) Model plotting method and device, computer equipment and readable storage medium
CN114140035B (en) Parameter quality management method and related device
CN116467981A (en) Integrated circuit layout method, apparatus, and computer-readable storage medium
CN111046467B (en) House type parametric modeling method and related equipment
CN114139268A (en) Method and device for determining area contour, electronic equipment and medium
CN103324803A (en) Modeling method and device of spinning machine
CN114925436A (en) Method and system for generating building model based on single-floor house type graph
US10706199B1 (en) Graphical user interface for interactive macro-cell placement
CN110555661B (en) Information display method, device and equipment for building element and readable storage medium
CN110555914B (en) Model information processing method, device, computer equipment and readable storage medium
CN113297651A (en) Three-dimensional house type data generation method, device and equipment

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
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.