Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, apparatus, device, and medium for generating a building facade based on multi-type combination, which aims to solve the problem of low building facade generation efficiency.
A method for generating a building facade based on multi-type combination, the method for generating a building facade based on multi-type combination comprising:
Receiving an input integral building block model in response to a building facade generation instruction;
identifying facade information of the integral building block model;
Performing elevation combination processing on the integral building block model according to the elevation information to obtain elevation combination information;
generating a multi-type elevation combination of the integral building block model according to the elevation information and the elevation combination information;
And carrying out elevation detail giving treatment on the integral building block model according to the multi-type elevation combination to obtain the building elevation of the integral building block model.
According to a preferred embodiment of the invention, the integral building block model comprises room module units and balcony module units, which are distinguished according to a layer or a logo.
According to a preferred embodiment of the present invention, the identifying facade information of the integral building block model includes:
For the room module unit, removing non-elevation surfaces with the z-axis component of the vector of the method not being 0 and keeping the surface with the z-axis component of the normal vector being 0 as the outer side surface of the wall surface, wherein the whole building block model is subjected to Boolean joint operation to obtain a whole model without an inner surface, all surface center points of the room module unit and the balcony module unit are extracted, the nearest distances from all surface center points to all outer elevation surfaces of the whole model are calculated, and the surface to which the surface center point with the nearest distance being 0 belongs is determined as the outer side surface, wherein the inner surface comprises the coincident surfaces among all rooms in the room module unit;
recording the coplanarity between all the outer side surfaces;
Comparing the normal vectors of all the outer side surfaces with a reference normal vector to obtain the orientations of all the outer side surfaces;
And calculating the coincidence relation between the central point of each surface of the balcony module unit and all the outer side surfaces to obtain coincidence surface information between the room module unit and the balcony module unit, wherein the surface, which coincides with the room module unit, in the balcony module unit is determined to be the inner side surface of the balcony, and the opposite side surface of the inner side surface of the balcony is determined to be the outer side surface of the balcony.
According to a preferred embodiment of the present invention, the performing facade combination processing on the integral building block model according to the facade information, to obtain facade combination information includes:
acquiring a coordinate range and a layer height threshold value of the integral building block model in the vertical direction;
Performing elevation layering treatment on the integral building block model according to the coordinate range and the layer height threshold value to obtain a plurality of layers;
Determining the center point of each rectangular elevation in each layer, and fitting the center point of each rectangular elevation into a straight line segment;
Dividing the straight line segment according to the center points of the rectangular vertical surfaces to obtain a plurality of sub-line segments, wherein from the starting point of the straight line segment, two adjacent center points of the rectangular vertical surfaces are sequentially used as dividing points;
Determining the vertical face of the two end points of each sub-line segment as an adjacent vertical face combination;
extracting curve characteristics according to the central points of the rectangular vertical faces to obtain vertical face curve characteristics;
integrating adjacent vertical face combinations and vertical face curve characteristics of each layer to obtain vertical face combination information;
Wherein the facade not participating in the combination is determined as a separate facade.
According to a preferred embodiment of the present invention, the extracting the curve feature according to the center point of each rectangular elevation, and obtaining the elevation curve feature includes:
extracting the center points of all the rectangular facades in the same direction for curve segmentation to obtain the facade curve characteristics;
Wherein, the center point of each rectangular elevation is extracted only once, and the starting point or the end point of the former curve cannot be covered by the latter curve.
According to a preferred embodiment of the present invention, the generating the multi-type facade combination of the integral building block model according to the facade information and the facade combination information comprises:
Dividing all the vertical faces with the same coplanar characteristics in the integral building block model into a group according to the vertical face information to obtain a coplanar single type vertical face combination and/or
Dividing all the vertical faces with the same orientation in the integral building block model into a group according to the vertical face information to obtain a vertical face combination with a single orientation, and/or
Obtaining each elevation module combination according to the elevation combination information, determining the orientation of each elevation module combination, comparing the orientation of each elevation module combination with the orientation of each individual elevation to obtain an orientation comparison result, dividing the elevation module combination with the same orientation and the individual elevation into elevation combinations of each orientation combination type according to the orientation comparison result, and/or
The method comprises the steps of obtaining each elevation module combination according to elevation combination information, determining the coplanarity of each elevation module combination, comparing the coplanarity of each elevation module combination with the coplanarity of each independent elevation to obtain a coplanarity comparison result, dividing the elevation module combination with the same coplanarity and the independent elevation into elevation combinations of each coplanarity combination type according to the coplanarity comparison result;
The coplanar single-type elevation combination, the combined-type elevation combination and the coplanar combined-type elevation combination are used for distinguishing the inner side surface of the balcony, the outer side surface of the balcony and the wall surface.
According to a preferred embodiment of the present invention, the performing, according to the multi-type facade combination, facade detail assignment processing on the integral building block model, to obtain a building facade of the integral building block model includes:
for each type of facade combination, determining a reference surface and each reference surface to be processed;
calculating the difference of the normal vector angles of the reference surface and each reference surface to be processed;
Calculating a motion vector of the reference surface relative to each reference surface to be processed;
acquiring elevation detail information of the reference surface;
And correspondingly adding the elevation detail information of the reference surface to each reference surface to be processed according to the normal vector angle difference and the movement vector of the reference surface and each reference surface to be processed, so as to obtain the building elevation of the integral building block model.
A multi-type combination-based building facade generating device, the multi-type combination-based building facade generating device comprising:
the receiving unit is used for responding to the building elevation generating instruction and receiving an input integral building block model;
the identifying unit is used for identifying the elevation information of the integral building block model;
the processing unit is used for carrying out elevation combination processing on the integral building block model according to the elevation information to obtain elevation combination information;
The generating unit is used for generating a multi-type elevation combination of the integral building block model according to the elevation information and the elevation combination information;
And the processing unit is also used for carrying out elevation detail giving processing on the integral building block model according to the multi-type elevation combination to obtain the building elevation of the integral building block model.
A computer device, the computer device comprising:
a memory storing at least one instruction, and
And the processor executes the instructions stored in the memory to realize the building elevation generating method based on the multi-type combination.
A computer-readable storage medium having stored therein at least one instruction that is executed by a processor in a computer device to implement the multi-type-combination based building facade generation method.
According to the technical scheme, the method and the device can identify the elevation information of the integral building block model, perform elevation combination processing on the integral building block model according to the elevation information to obtain elevation combination information, thereby extracting geometric characteristics of an elevation, generate multi-type elevation combination of the integral building block model according to the elevation information and the elevation combination information, and perform elevation detail giving processing on the integral building block model according to the multi-type elevation combination to obtain a building elevation of the integral building block model, so that detail giving can be automatically and pertinently carried out on the elevation according to the multi-type elevation combination, and the elevation generating efficiency is improved while different attributes of the elevation are maintained.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
Referring to FIG. 1, a flow chart of a preferred embodiment of the method for generating building facades based on multi-type combination according to the present invention is shown. The order of the steps in the flowchart may be changed and some steps may be omitted according to various needs.
The building elevation generating method based on the multi-type combination is applied to one or more computer devices, wherein the computer devices are devices capable of automatically performing numerical calculation and/or information processing according to preset or stored instructions, and the hardware comprises, but is not limited to, microprocessors, application SPECIFIC INTEGRATED Circuits (ASICs), programmable gate arrays (Field-Programmable GATE ARRAY, FPGA), digital processors (DIGITAL SIGNAL processors, DSPs), embedded devices and the like.
The computer device may be any electronic product that can interact with a user in a human-computer manner, such as a Personal computer, a tablet computer, a smart phone, a Personal digital assistant (Personal DIGITAL ASSISTANT, PDA), a game console, an interactive internet protocol television (Internet Protocol Television, IPTV), a smart wearable device, etc.
The computer device may also include a network device and/or a user device. Wherein the network device includes, but is not limited to, a single network server, a server group composed of a plurality of network servers, or a Cloud based Cloud Computing (Cloud Computing) composed of a large number of hosts or network servers.
The server may be an independent server, or may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms.
Wherein artificial intelligence (ARTIFICIAL INTELLIGENCE, AI) is the theory, method, technique, and application system that uses a digital computer or a digital computer-controlled machine to simulate, extend, and expand human intelligence, sense the environment, acquire knowledge, and use knowledge to obtain optimal results.
Artificial intelligence infrastructure technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a robot technology, a biological recognition technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and other directions.
The network in which the computer device is located includes, but is not limited to, the internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (Virtual Private Network, VPN), and the like.
S10, responding to the building elevation generating instruction, and receiving an input integral building block model.
In this embodiment, the building facade generation instruction may be triggered automatically upon detection of a model upload to a designated interface or platform.
In this embodiment, the integral building block model includes a room module unit and a balcony module unit, which are distinguished according to a layer or a logo.
For example, the integral building block model can be a building model with high modularization application degree such as centralized residence, hotel and the like. Please refer to fig. 2, which is a schematic diagram of the overall building block model of the present invention. The overall building block model in the figure may comprise a plurality of room module units representing rooms (middle part) and a plurality of balcony module units (side parts).
The room module units and the balcony module units can be distinguished in a layered manner, and can be distinguished in other reasonable manners, such as by giving specific identification codes to different module units, so as to more clearly manage and identify different types of module units, and provide convenience for subsequent processes.
S11, identifying the elevation information of the integral building block model.
In this embodiment, the identifying facade information of the integral building block model includes:
For the room module unit, removing non-elevation surfaces with the z-axis component of the vector of the method not being 0 and keeping the surface with the z-axis component of the normal vector being 0 as the outer side surface of the wall surface, wherein the whole building block model is subjected to Boolean joint operation to obtain a whole model without an inner surface, all surface center points of the room module unit and the balcony module unit are extracted, the nearest distances from all surface center points to all outer elevation surfaces of the whole model are calculated, and the surface to which the surface center point with the nearest distance being 0 belongs is determined as the outer side surface, wherein the inner surface comprises the coincident surfaces among all rooms in the room module unit;
recording the coplanarity between all the outer side surfaces;
Comparing the normal vectors of all the outer side surfaces with a reference normal vector to obtain the orientations of all the outer side surfaces;
And calculating the coincidence relation between the central point of each surface of the balcony module unit and all the outer side surfaces to obtain coincidence surface information between the room module unit and the balcony module unit, wherein the surface, which coincides with the room module unit, in the balcony module unit is determined to be the inner side surface of the balcony, and the opposite side surface of the inner side surface of the balcony is determined to be the outer side surface of the balcony.
For example, please refer to fig. 3, which is a schematic view of the outer side of the wall, the inner side of the balcony, and the outer side of the balcony according to the present invention. Fig. 3 shows a room module 1, a wall surface 11, a balcony module 2, a balcony inner side 21 and a balcony outer side 22. When the balcony module unit 2 is not present outside the room module unit 1, the outer side 11 of the wall surface is displayed.
Wherein the non-vertical surfaces are the top surface and the bottom surface.
Wherein, the coplanarity between all the outer sides can be recorded by a two-dimensional array. Specifically, each row of the array represents an outer side surface, the first row records the serial number of the surface, and the second row records the serial numbers of the other surfaces coplanar therewith, so as to clearly record the coplanar relationship.
Wherein, the reference normal vector can be the normal vector defaulted by most software and taking (0, 1, 0) as north direction. And (3) determining the outer side surfaces with the included angles smaller than a certain threshold (such as 15 degrees) as having the same orientation by calculating the included angles of the two vectors.
And calculating the coincidence relation between the central point of each surface of the balcony module unit and all the outer side surfaces, namely calculating the inclusion relation of the points and the surfaces. Specifically, the coordinates of the point may be substituted into the plane equation, and if the plane equation is satisfied, the point is on the face.
Through the embodiment, the elevation information can be identified, and a basis is provided for subsequent processing.
And S12, carrying out elevation combination processing on the integral building block model according to the elevation information to obtain elevation combination information.
In this embodiment, the performing, according to the elevation information, the elevation combination processing on the integral building block model, where obtaining the elevation combination information includes:
acquiring a coordinate range and a layer height threshold value of the integral building block model in the vertical direction;
Carrying out elevation layering treatment on the integral building block model according to the coordinate range and the elevation threshold value to obtain a plurality of layers, wherein when the coordinate range of the elevation model in the vertical direction is 0 to 30 meters, for example, the elevation can be divided into 10 layers by taking the elevation threshold value of 3 meters as one layer;
For example, for a rectangular elevation, the coordinates of the central points are ((x 1 + x 2)/2, (y 1 + y 2)/2), wherein (x 1, y 1) and (x 2, y 2) are the coordinates of diagonal vertices of the rectangle respectively, and further, the central points in the same layer are fitted into the straight line segments by using a least square method, namely, the best function matching of data is found by minimizing the square sum of errors, so that the straight line segments which can most represent the distribution trend of the central points are obtained;
Dividing the straight line segment according to the center points of the rectangular vertical surfaces to obtain a plurality of sub-line segments, wherein from the starting point of the straight line segment, two adjacent center points of the rectangular vertical surfaces are sequentially used as dividing points;
For example, starting from the starting point of fitting a straight line segment, sequentially taking each central point as a dividing point, dividing the straight line segment into a plurality of sub-line segments, wherein the vertical surfaces corresponding to the two end points of each sub-line segment are a group of adjacent vertical surface combinations, so as to obtain the geometric representation of the paired vertical surface combinations;
extracting curve characteristics according to the central points of the rectangular vertical faces to obtain vertical face curve characteristics;
integrating adjacent vertical face combinations and vertical face curve characteristics of each layer to obtain vertical face combination information;
Wherein the facade not participating in the combination is determined as a separate facade.
In the processing process, layering is carried out on the graph, each layer is processed in a circulating mode, the vertical face combination condition of each face is obtained, and the vertical faces which do not participate in combination are classified as independent vertical face types. In the loop processing, a loop structure (such as for loop) in a programming language can be used, and from the first layer, the vertical face combination of each layer is processed in turn, and the combination result of each layer is stored in a list data structure, so that the subsequent unified analysis and processing are facilitated.
The curve feature extraction is performed according to the center point of each rectangular elevation, and the obtaining of the elevation curve feature comprises the following steps:
extracting the center points of all the rectangular facades in the same direction for curve segmentation to obtain the facade curve characteristics;
Wherein, the center point of each rectangular elevation is extracted only once, and the starting point or the end point of the former curve cannot be covered by the latter curve.
For example, the curve extraction is performed in a single direction (from left to right or from right to left), one is extracted at a time, and the curve extraction is performed according to a rule that each center point can only be selected once, that is, the starting and ending point of the former curve cannot be covered by the latter curve, so that the curve characteristics in the graph are extracted in this way. In the extraction process, if the point coincidence occurs, the corresponding group is not selected. In the actual extraction, a list can be used to record the already selected center points, and before each new curve extraction, whether the current center point is in the list is checked, if so, the point is skipped to ensure that each center point is only selected once.
According to the principle, the number of single extraction can be increased during curve extraction, and the division of various curved surface unit combinations can be completed. For example, when a module with a complex curved surface needs to be processed, multiple curves can be extracted at the same time, and the curved surface is divided into multiple parts for combination processing by reasonably setting the starting point and the ending point of the curves.
Through the embodiment, the elevation combination information can be determined, and automatic processing of the elevation combination is realized so as to facilitate subsequent classification.
S13, generating the multi-type elevation combination of the integral building block model according to the elevation information and the elevation combination information.
In this embodiment, the generating the multi-type facade combination of the integral building block model according to the facade information and the facade combination information includes:
Dividing all the vertical faces with the same coplanar characteristics in the integral building block model into a group according to the vertical face information to obtain a coplanar single type vertical face combination and/or
Dividing all the vertical faces with the same orientation in the integral building block model into a group according to the vertical face information to obtain a vertical face combination with a single orientation, and/or
Obtaining each elevation module combination according to the elevation combination information, determining the orientation of each elevation module combination, comparing the orientation of each elevation module combination with the orientation of each individual elevation to obtain an orientation comparison result, dividing the elevation module combination with the same orientation and the individual elevation into elevation combinations of each orientation combination type according to the orientation comparison result, and/or
The method comprises the steps of obtaining each elevation module combination according to elevation combination information, determining the coplanarity of each elevation module combination, comparing the coplanarity of each elevation module combination with the coplanarity of each independent elevation to obtain a coplanarity comparison result, dividing the elevation module combination with the same coplanarity and the independent elevation into elevation combinations of each coplanarity combination type according to the coplanarity comparison result;
The coplanar single-type elevation combination, the combined-type elevation combination and the coplanar combined-type elevation combination are used for distinguishing the inner side surface of the balcony, the outer side surface of the balcony and the wall surface.
The balcony is usually a space for people to move and relax from the aspect of building function, and is provided with protective facilities such as railings, the wall body mainly plays roles of bearing, separating the space and the like, and the inner side and the outer side of the balcony are differentiated from the aspects of space position, orientation, enclosure structure and the like from the aspect of geometric and physical characteristics. The inner side and the outer side of the balcony are distinguished from the wall surface, so that module surfaces with different functions and characteristics can be correctly classified when the module surfaces are in coplanar grouping.
For example, please refer to fig. 4, which is a schematic diagram of the multi-type facade combination of the present invention. A in fig. 4 is the coplanar single type of elevation combination, b in fig. 4 is the facing single type of elevation combination, c in fig. 4 is the facing combination type of elevation combination, and d in fig. 4 is the coplanar combination type of elevation combination. Specifically, a has two groups of vertical surfaces which are not coplanar, b has one group of vertical surfaces which have the same orientation, c has different vertical surface combinations because all vertical surfaces with the same orientation are divided according to the orientation and the vertical surface module combination of the module level is considered simultaneously compared with b, and therefore, the color of the side surface of c is distinguished, and the color of the side surface of c is not distinguished, as b has all vertical surfaces with the same orientation divided into one group, but the color of the side surface of c is distinguished (see dark gray part of the side surface), and d has the same principle as the combination of the three outermost vertical surfaces compared with a, and is divided into different vertical surface combinations because all vertical surfaces with the same vertical surface module combination (namely, the vertical surface module combination of the module level is divided).
In the above embodiment, multiple geometric information such as the serial number, the coplanar information, the orientation, the area size, the length, the height, the module combination condition and the like of the vertical face can be determined according to the vertical face information and the vertical face combination information, and multiple types of vertical face combinations can be generated according to different characteristics in different areas of the opposite face, so that the corresponding processing can be performed according to different vertical face combinations.
S14, carrying out elevation detail giving treatment on the integral building block model according to the multi-type elevation combination to obtain the building elevation of the integral building block model.
In this embodiment, the performing, according to the multi-type facade combination, facade detail assignment processing on the integral building block model, to obtain a building facade of the integral building block model includes:
for each type of facade combination, determining a reference surface and each reference surface to be processed;
calculating the difference of the normal vector angles of the reference surface and each reference surface to be processed;
Calculating a motion vector of the reference surface relative to each reference surface to be processed;
acquiring elevation detail information of the reference surface;
And correspondingly adding the elevation detail information of the reference surface to each reference surface to be processed according to the normal vector angle difference and the movement vector of the reference surface and each reference surface to be processed, so as to obtain the building elevation of the integral building block model.
The reference surface has the same size as the reference surface to be endowed with the elevation details. Meanwhile, for geometric objects such as doors and windows, sun shields and the like arranged on the vertical surfaces, the reference surfaces and the reference surfaces keep consistent relative position relation. The reference surface shape may be rectangular or other shape. In selecting the reference surface, a representative and easy to operate surface may be preferentially selected, such as a surface on a major facade of a building that contains a large number of typical geometric objects.
The normal vector angle difference between the reference surface and each reference surface to be processed can be calculated by adopting a vector dot product formula.
The method comprises the steps of determining the position relation between the reference surface and the center point of each reference surface to be processed, and calculating a motion vector for positioning so as to reflect the difference of the reference surface and each reference surface in the space position. In calculating the motion vector, the coordinates of the two center points may be subtracted and the resulting vector determined as the motion vector.
The vertical face objects (such as doors and windows, sunshade facilities and the like) filled on the reference surface can be accurately added to all other reference surfaces needing to be designed. Therefore, the information assignment to other similar vertical surfaces can be completed rapidly by carrying out one-time design or adjustment on the reference surface. When the objects are added, the objects on the reference surface can be rotated, translated and the like according to the calculated angle difference and the calculated movement vector, so that the objects are accurately added on the reference surface, rapid facade detail assignment can be realized, the objects do not need to be copied one by one, and the generation efficiency of the building facade is improved.
For example, please refer to fig. 5, which is a schematic diagram of a building facade according to the present invention. The building facade can be quickly generated by giving the facade details on the basis of various facade combinations.
In this embodiment, after the building facade of the integral building block model is obtained, the integral building model may be output to a designated terminal device or interface for modification and perfection, and put into use.
According to the technical scheme, the method and the device can identify the elevation information of the integral building block model, perform elevation combination processing on the integral building block model according to the elevation information to obtain elevation combination information, thereby extracting geometric characteristics of an elevation, generate multi-type elevation combination of the integral building block model according to the elevation information and the elevation combination information, and perform elevation detail giving processing on the integral building block model according to the multi-type elevation combination to obtain a building elevation of the integral building block model, so that detail giving can be automatically and pertinently carried out on the elevation according to the multi-type elevation combination, and the elevation generating efficiency is improved while different attributes of the elevation are maintained.
Fig. 6 is a functional block diagram of a preferred embodiment of the building facade generating device according to the invention based on a combination of several types. The building facade generating device 11 based on multi-type combination comprises a receiving unit 110, an identifying unit 111, a processing unit 112 and a generating unit 113. The module/unit referred to in the present invention refers to a series of computer program segments, which are stored in a memory, capable of being executed by a processor and of performing a fixed function. In the present embodiment, the functions of the respective modules/units will be described in detail in the following embodiments.
Wherein the receiving unit 110 is configured to receive an input integral building block model in response to a building elevation generation instruction;
the identifying unit 111 is configured to identify elevation information of the integral building block model;
The processing unit 112 is configured to perform elevation combination processing on the integral building block model according to the elevation information, so as to obtain elevation combination information;
the generating unit 113 is configured to generate a multi-type facade combination of the integral building block model according to the facade information and the facade combination information;
the processing unit 112 is further configured to perform elevation detail assigning processing on the overall building block model according to the multi-type elevation combination, so as to obtain a building elevation of the overall building block model.
According to the technical scheme, the method and the device can identify the elevation information of the integral building block model, perform elevation combination processing on the integral building block model according to the elevation information to obtain elevation combination information, thereby extracting geometric characteristics of an elevation, generate multi-type elevation combination of the integral building block model according to the elevation information and the elevation combination information, and perform elevation detail giving processing on the integral building block model according to the multi-type elevation combination to obtain a building elevation of the integral building block model, so that detail giving can be automatically and pertinently carried out on the elevation according to the multi-type elevation combination, and the elevation generating efficiency is improved while different attributes of the elevation are maintained.
Fig. 7 is a schematic structural diagram of a computer device according to a preferred embodiment of the present invention for implementing the building facade generating method based on multi-type combination.
The computer device 1 may comprise a memory 12, a processor 13 and a bus (the arrow in the figure being the bus), and may also comprise a computer program stored in the memory 12 and executable on the processor 13, for example a building facade generator based on a combination of several types.
It will be appreciated by those skilled in the art that the schematic diagram is merely an example of the computer device 1 and does not constitute a limitation of the computer device 1, the computer device 1 may be a bus type structure, a star type structure, the computer device 1 may further comprise more or less other hardware or software than illustrated, or a different arrangement of components, for example, the computer device 1 may further comprise an input-output device, a network access device, etc.
It should be noted that the computer device 1 is only used as an example, and other electronic products that may be present in the present invention or may be present in the future are also included in the scope of the present invention by way of reference.
The memory 12 includes at least one type of readable storage medium including flash memory, a removable hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 12 may in some embodiments be an internal storage unit of the computer device 1, such as a removable hard disk of the computer device 1. The memory 12 may also be an external storage device of the computer device 1 in other embodiments, such as a plug-in mobile hard disk, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD) or the like, which are provided on the computer device 1. Further, the memory 12 may also include both an internal storage unit and an external storage device of the computer device 1. The memory 12 may be used not only for storing application software installed on the computer device 1 and various types of data, such as codes based on a multi-type combined building facade generation program, etc., but also for temporarily storing data that has been output or is to be output.
The processor 13 may be comprised of integrated circuits in some embodiments, for example, a single packaged integrated circuit, or may be comprised of multiple integrated circuits packaged with the same or different functions, including one or more central processing units (Central Processing unit, CPU), microprocessors, digital processing chips, graphics processors, various control chips, and the like. The processor 13 is a Control Unit (Control Unit) of the computer device 1, connects the respective components of the entire computer device 1 using various interfaces and lines, executes various functions of the computer device 1 and processes data by running or executing programs or modules stored in the memory 12 (for example, executing a building facade generation program based on a multi-type combination, etc.), and calls data stored in the memory 12.
The processor 13 executes the operating system of the computer device 1 and various types of applications installed. The processor 13 executes the application program to implement the steps of the various embodiments of the multi-type combination based building facade generation method described above, such as the steps shown in fig. 1.
Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory 12 and executed by the processor 13 to complete the present invention. The one or more modules/units may be a series of computer readable instruction segments capable of performing the specified functions, which instruction segments describe the execution of the computer program in the computer device 1. For example, the computer program may be divided into a receiving unit 110, an identifying unit 111, a processing unit 112, a generating unit 113.
The integrated units implemented in the form of software functional modules described above may be stored in a computer readable storage medium. The software functional modules are stored in a storage medium and include instructions for causing a computer device (which may be a personal computer, a computer device, or a network device, etc.) or a processor (processor) to perform the portions of the method for generating a building facade based on multiple types of combinations according to various embodiments of the invention.
The modules/units integrated in the computer device 1 may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on this understanding, the present invention may also be implemented by a computer program for instructing a relevant hardware device to implement all or part of the procedures of the above-mentioned embodiment method, where the computer program may be stored in a computer readable storage medium and the computer program may be executed by a processor to implement the steps of each of the above-mentioned method embodiments.
Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory, or the like.
Further, the computer readable storage medium may mainly include a storage program area, which may store an operating system, an application program required for at least one function, and the like, and a storage data area, which may store data created according to the use of the blockchain node, and the like.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and the like. The blockchain (Blockchain), essentially a de-centralized database, is a string of data blocks that are generated in association using cryptographic methods, each of which contains information from a batch of network transactions for verifying the validity (anti-counterfeit) of its information and generating the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, an application services layer, and the like.
The bus may be a peripheral component interconnect standard (PERIPHERAL COMPONENT INTERCONNECT, PCI) bus, or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, only one straight line is shown in fig. 7, but not only one bus or one type of bus. The bus is arranged to enable a connection communication between the memory 12 and at least one processor 13 or the like.
Although not shown, the computer device 1 may further comprise a power source (such as a battery) for powering the various components, preferably the power source may be logically connected to the at least one processor 13 via a power management means, whereby the functions of charge management, discharge management, and power consumption management are achieved by the power management means. The power supply may also include one or more of any of a direct current or alternating current power supply, recharging device, power failure detection circuit, power converter or inverter, power status indicator, etc. The computer device 1 may further include various sensors, bluetooth modules, wi-Fi modules, etc., which will not be described in detail herein.
Further, the computer device 1 may also comprise a network interface, optionally comprising a wired interface and/or a wireless interface (e.g. WI-FI interface, bluetooth interface, etc.), typically used for establishing a communication connection between the computer device 1 and other computer devices.
The computer device 1 may optionally further comprise a user interface, which may be a Display, an input unit, such as a Keyboard (Keyboard), or a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, or the like. The display may also be referred to as a display screen or display unit, as appropriate, for displaying information processed in the computer device 1 and for displaying a visual user interface.
It should be understood that the embodiments described are for illustrative purposes only and are not limited to this configuration in the scope of the patent application.
It will be appreciated by those skilled in the art that the structure shown in fig. 7 is not limiting of the computer device 1 and may include fewer or more components than shown, or may combine certain components, or may be arranged in different ways.
In connection with fig. 1, the memory 12 in the computer device 1 stores a plurality of instructions to implement a method of building facade generation based on a multi-type combination, the processor 13 being executable to implement:
Receiving an input integral building block model in response to a building facade generation instruction;
identifying facade information of the integral building block model;
Performing elevation combination processing on the integral building block model according to the elevation information to obtain elevation combination information;
generating a multi-type elevation combination of the integral building block model according to the elevation information and the elevation combination information;
And carrying out elevation detail giving treatment on the integral building block model according to the multi-type elevation combination to obtain the building elevation of the integral building block model.
Specifically, the specific implementation method of the above instructions by the processor 13 may refer to the description of the relevant steps in the corresponding embodiment of fig. 1, which is not repeated herein.
The data in this case were obtained legally. The non-native company software tools or components present in the embodiments of the present application are presented by way of example only and are not representative of actual use.
In the several embodiments provided in the present invention, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be other manners of division when actually implemented.
The invention is operational with numerous general purpose or special purpose computer system environments or configurations. Such as a personal computer, a server computer, a hand-held or portable device, a tablet device, a multiprocessor system, a microprocessor-based system, a set top box, a programmable consumer electronics, a network PC, a minicomputer, a mainframe computer, a distributed computing environment that includes any of the above systems or devices, and the like. The invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units can be realized in a form of hardware or a form of hardware and a form of software functional modules.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof.
The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
Furthermore, it is evident that the word "comprising" does not exclude other elements or steps, and that the singular does not exclude a plurality. The units or means stated in the invention may also be implemented by one unit or means, either by software or hardware. The terms first, second, etc. are used to denote a name, but not any particular order.
Finally, it should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made to the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention.