CN111737795B - Aluminum template encoding method, computer device and storage medium - Google Patents
Aluminum template encoding method, computer device and storage medium Download PDFInfo
- Publication number
- CN111737795B CN111737795B CN202010460563.4A CN202010460563A CN111737795B CN 111737795 B CN111737795 B CN 111737795B CN 202010460563 A CN202010460563 A CN 202010460563A CN 111737795 B CN111737795 B CN 111737795B
- Authority
- CN
- China
- Prior art keywords
- aluminum
- layer
- coordinates
- aluminum template
- templates
- 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
Links
- XAGFODPZIPBFFR-UHFFFAOYSA-N aluminium Chemical compound [Al] XAGFODPZIPBFFR-UHFFFAOYSA-N 0.000 title claims abstract description 224
- 229910052782 aluminium Inorganic materials 0.000 title claims abstract description 224
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000010586 diagram Methods 0.000 abstract description 9
- 238000009434 installation Methods 0.000 abstract description 7
- 238000010276 construction Methods 0.000 abstract description 6
- 230000006870 function Effects 0.000 description 12
- AZDRQVAHHNSJOQ-UHFFFAOYSA-N alumane Chemical group [AlH3] AZDRQVAHHNSJOQ-UHFFFAOYSA-N 0.000 description 8
- 230000004044 response Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 238000004590 computer program Methods 0.000 description 2
- 229910000838 Al alloy Inorganic materials 0.000 description 1
- 239000004411 aluminium Substances 0.000 description 1
- 238000011960 computer-aided design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/13—Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Geometry (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Civil Engineering (AREA)
- Structural Engineering (AREA)
- Computational Mathematics (AREA)
- Architecture (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention provides an aluminum template coding method, which comprises the following steps: responding to the operation of a user, respectively establishing a layer for a plurality of building parts of a building based on a base map of the building, thereby obtaining a plurality of layers, wherein each layer corresponds to a plurality of aluminum templates; coding each aluminum template according to the coordinates of each aluminum template in the corresponding layers in the plurality of aluminum templates corresponding to each layer, thereby obtaining a plurality of coded layers; and generating a coding diagram based on the plurality of coded layers. The invention also provides a computer device and a storage medium for realizing the aluminum template coding method. The invention can quickly generate the coding diagram for each aluminum template required by the building, so that constructors can refer to the coding of the aluminum templates, and the installation position of each aluminum template on the construction site can be determined according to the coding.
Description
Technical Field
The present invention relates to the field of aluminum template application technologies, and in particular, to an aluminum template encoding method, a computer device, and a storage medium.
Background
The aluminum alloy template (also called as an aluminum template) is applied to the construction industry, thereby bringing convenience to construction and saving construction cost. The constructor needs to mark (i.e., encode) the aluminum form so that the constructor can determine the installation position of the aluminum form according to the encoding. However, the current coding method has no specific coding specification, and different constructors can understand the same code differently, so that secondary definition of code identification occurs.
Disclosure of Invention
In view of the foregoing, it is desirable to provide an aluminum form encoding method, a computer device, and a storage medium that can quickly generate an encoding map for each aluminum form required for a building, reference the encoding for the aluminum form by a constructor, and determine the installation position of each aluminum form on a construction site based on the encoding. In addition, because the generated coding diagram codes each aluminum template according to a preset coding rule, different understanding of a constructor on the same code is avoided, and the problem of secondary definition of the code in the prior art is effectively solved.
The aluminum template coding method comprises the following steps: responding to the operation of a user, respectively establishing a layer for a plurality of building parts of a building based on a base map of the building, thereby obtaining a plurality of layers, wherein each layer corresponds to a plurality of aluminum templates; coding each aluminum template according to the coordinates of each aluminum template in the corresponding layers in the plurality of aluminum templates corresponding to each layer, thereby obtaining a plurality of coded layers; and generating a coding diagram based on the plurality of coded layers.
Preferably, the plurality of floors includes a floor corresponding to a floor, a beam floor corresponding to a beam, and a wall floor corresponding to a wall.
Preferably, when the layer is the floor layer or the beam layer, encoding each aluminum template of the plurality of aluminum templates corresponding to the layer includes: acquiring coordinates of all aluminum templates corresponding to the layer in the layer respectively; ordering the coordinates corresponding to all the aluminum templates in the layer based on the sizes of the X coordinates and the Y coordinates of all the aluminum templates corresponding to the layer in the layer; and coding all the aluminum templates in the layer in sequence according to the arrangement sequence of the coordinates corresponding to all the aluminum templates in the layer according to a preset coding rule.
Preferably, the sorting the coordinates corresponding to all the aluminum templates in the layer based on the sizes of the X coordinates and the Y coordinates of all the aluminum templates corresponding to the layer in the layer respectively includes: for the coordinates corresponding to any two aluminum templates in the layer, arranging the coordinates of the aluminum templates corresponding to the smaller X coordinates in the coordinates in front; and when the X coordinates corresponding to any two aluminum templates are equal, arranging the coordinates of the aluminum templates corresponding to the smaller Y coordinates in front.
Preferably, the X-coordinate and the Y-coordinate refer to coordinates located in a horizontal plane.
Preferably, when the layer is the wall layer, encoding each aluminum template of the plurality of aluminum templates corresponding to the layer includes: determining the position of each wall from a plurality of walls included in the wall layer, and coding each wall, wherein each wall corresponds to n aluminum templates; for any one of the walls, selecting one aluminum template from n aluminum templates corresponding to the any one wall according to user input as an initial coded aluminum template, and coding the selected aluminum template according to a preset coding rule; coding other uncoded aluminum templates corresponding to any one wall based on the latest coded aluminum template; and coding each aluminum template corresponding to each other wall in the plurality of walls by referring to a method for coding n aluminum templates corresponding to any one wall.
Preferably, the encoding of the aluminum templates based on the latest encoded aluminum templates for other not-yet encoded aluminum templates corresponding to the arbitrary wall includes: inserting a spherical icon at the end of the last encoded aluminum template; creating a planar rectangular coordinate system based on the center of the spherical icon; determining an aluminum template adjacent to the latest coded aluminum template from other uncoded aluminum templates corresponding to any one wall based on the quadrant of the interference generated by the spherical icon in the plane rectangular coordinate system, and coding the adjacent aluminum templates according to the preset coding rule; and when the n aluminum templates corresponding to any one wall still have aluminum templates which are not yet coded, returning to the step of inserting a spherical icon at the end part of the latest coded aluminum template until the n aluminum templates corresponding to any one wall are coded.
Preferably, the aluminum template encoding method further includes, before generating the encoded map based on the encoded plurality of layers: and responding to the operation of a user, and modifying the code of any aluminum template corresponding to any one coded layer.
The computer readable storage medium stores at least one instruction that when executed by a processor implements the aluminum template encoding method.
The computer device includes a memory and at least one processor, the memory storing at least one instruction that when executed by the at least one processor implements the aluminum template encoding method.
Compared with the prior art, the aluminum template coding method, the computer device and the storage medium can quickly generate a coding diagram for each aluminum template required by a building, allow constructors to refer to the aluminum template coding, and determine the installation position of each aluminum template on a construction site according to the coding. In addition, because the generated coding diagram codes each aluminum template according to a preset coding rule, different understanding of a constructor on the same code is avoided, and the problem of secondary definition of the code in the prior art is effectively solved.
Drawings
FIG. 1 is a schematic diagram of a computer device according to a preferred embodiment of the present invention.
Fig. 2 is a functional block diagram of an aluminum template encoding system according to a preferred embodiment of the present invention.
FIG. 3 is a flow chart of an aluminum template encoding method according to a preferred embodiment of the invention.
Fig. 4A illustrates the coordinates of each aluminum template in a floor plan.
Fig. 4B illustrates individual wall encodings for wall layers.
Fig. 4C illustrates a wall corresponding plurality of aluminum templates.
Fig. 4D and 4E illustrate determining an adjacent aluminum form for the aluminum form corresponding to the wall.
Fig. 4F illustrates encoding all aluminum templates corresponding to a wall.
Description of the main reference signs
Computer device | 3 |
Memory device | 31 |
Processor and method for controlling the same | 32 |
Aluminum template coding system | 30 |
Execution module | 301 |
Generating module | 302 |
Spherical icon | 7、8 |
Floor layer | 4 |
Wall layer | 5 |
The invention will be further described in the following detailed description in conjunction with the above-described figures.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will be more clearly understood, a more particular description of the invention will be rendered by reference to specific embodiments thereof which are illustrated in the appended drawings. It should be noted that, without conflict, the embodiments of the present invention and features in the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, and the described embodiments are merely some, rather than all, embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
Referring to fig. 1, a schematic diagram of a computer device according to a preferred embodiment of the invention is shown.
In this embodiment, the computer device 3 comprises a memory 31, at least one processor 32, and a display 33, which are electrically connected to each other.
It will be appreciated by those skilled in the art that the structure of the computer device 3 shown in fig. 1 does not constitute a limitation of the embodiments of the present invention, and that the computer device 3 may also include more or less other hardware or software than that of fig. 1, or a different arrangement of components.
It should be noted that the computer device 3 is only used as an example, and other computer devices 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.
In some embodiments, the memory 31 may be used to store program codes of computer programs and various data. For example, the memory 31 may be used to store an aluminum template encoding system 30 installed in the computer device 3 and to enable high-speed, automatic access to programs or data during operation of the computer device 3. The Memory 31 may be a Memory including Read-Only Memory (ROM), programmable Read-Only Memory (Programmable Read-Only Memory, PROM), erasable programmable Read-Only Memory (Erasable Programmable Read-Only Memory, EPROM), one-time programmable Read-Only Memory (OTPROM), electrically erasable rewritable Read-Only Memory (EEPROM), compact disc Read-Only Memory (Compact Disc Read-Only Memory, CD-ROM) or other optical disc Memory, magnetic disc Memory, tape Memory, or any other non-volatile computer readable storage medium capable of carrying or storing data.
In some embodiments, the at least one processor 32 may be comprised of integrated circuits. For example, it may be composed of a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same function or different functions, including one or more central processing units (Central Processing unit, CPU), microprocessors, digital processing chips, graphics processors, a combination of various control chips, and so on. The at least one processor 32 is a Control Unit (Control Unit) of the computer device 3, and connects the respective components of the entire computer device 3 using various interfaces and lines, and executes various functions of the computer device 3 and processes data, for example, a function of encoding an aluminum template (refer to the description of fig. 3 for specific details later) by executing programs or modules or instructions stored in the memory 31 and calling data stored in the memory 31.
The display screen 33 may be used to display various data, such as a user interface of the aluminum template encoding system 30. The display 33 may be a touch display or a non-touch display.
In this embodiment, the aluminum template encoding system 30 may include one or more modules stored in the memory 31 and executed by at least one or more processors (in this embodiment, the processor 32) to perform the functions of encoding aluminum templates (see fig. 3 for specific details).
In this embodiment, the aluminum template encoding system 30 may be divided into a plurality of modules according to the functions it performs. Referring to fig. 2, the plurality of modules includes an execution module 301 and a generation module 302. The term module referred to herein means a series of computer readable instruction segments capable of being executed by at least one processor, for example the processor 32, and of performing a fixed function, stored in a memory, for example the memory 31 of the computer device 3. In this embodiment, the functions of the modules will be described in detail later with reference to fig. 3.
In this embodiment, the integrated unit implemented in the form of a software functional module may be stored in a nonvolatile readable storage medium. The software functional modules described above include one or more computer readable instructions that, by execution, implement portions of the methods of the various embodiments of the present invention, such as the method of encoding an aluminum template shown in fig. 3, by the computer device 3 or a processor.
In a further embodiment, in connection with fig. 2, the at least one processor 32 may execute various types of applications (such as the aluminum template encoding system 30), program code, etc. installed in the computer device 3.
In a further embodiment, the memory 31 has stored therein program code of a computer program, and the at least one processor 32 may call the program code stored in the memory 31 to perform the relevant functions. For example, each module of the aluminum template encoding system 30 shown in fig. 2 is a program code stored in the memory 31 and executed by the at least one processor 32 to perform the functions of each module for the purpose of encoding an aluminum template (see the description of fig. 3 for details).
In one embodiment of the invention, the memory 31 stores one or more computer readable instructions that are executed by the at least one processor 32 for the purpose of encoding an aluminum template. In particular, a specific implementation of the above computer-readable instructions by the at least one processor 32 is described in detail below with respect to fig. 3.
FIG. 3 is a flow chart of an aluminum template encoding method according to a preferred embodiment of the present invention.
In this embodiment, the aluminum template encoding method may be applied to the computer device 3, and for the computer device 3 to be subjected to aluminum template encoding, the functions for aluminum template encoding provided by the method of the present invention may be directly integrated on the computer device 3, or may be run on the computer device 3 in the form of a software development kit (Software Development Kit, SDK).
As shown in fig. 3, the aluminum template encoding method specifically includes the following steps, the order of the steps in the flowchart may be changed according to different requirements, and some steps may be omitted.
In step S1, the execution module 301 responds to the operation of the user, and creates a layer for each of a plurality of building locations of the building based on the bottom map of the building, thereby obtaining a plurality of layers, where each layer corresponds to a plurality of aluminum templates.
In this embodiment, the bottom map of the building may be a map indicating aluminum templates designating respective positions of respective building sites of the building.
Specifically, the execution module 301 may draw a base map of the building using a preset drawing software, such as AutoCAD (Autodesk Computer AIDED DESIGN) software, in response to a user operation, and respectively create a layer for each building site of the building in response to the user operation.
In this embodiment, the plurality of building sites includes, but is not limited to, floors, beams, walls. Correspondingly, the plurality of floors includes a floor corresponding to a floor, a beam corresponding to a beam, and a wall corresponding to a wall. For the sake of clarity and simplicity in explaining the present invention, the layer corresponding to the floor is referred to as "floor layer", the layer corresponding to the beam is referred to as "Liang Tu layer", and the layer corresponding to the wall is referred to as "wall layer" in the present invention.
Step S2, the execution module 301 encodes each aluminum template according to the coordinates of each aluminum template in the corresponding layers in the plurality of aluminum templates corresponding to each layer, thereby obtaining a plurality of encoded layers.
In this embodiment, when the layer is the floor layer or the beam layer, the execution module 301 encodes each aluminum template of the plurality of aluminum templates corresponding to the layer to include (a 1) - (a 3):
(a1) And acquiring coordinates of all the aluminum templates corresponding to the layer in the layer respectively.
(A2) And sorting the coordinates corresponding to all the aluminum templates in the layer based on the sizes of the X coordinates and the Y coordinates of all the aluminum templates corresponding to the layer in the layer.
In this embodiment, the X-coordinate and the Y-coordinate of all the aluminum templates corresponding to the layer in the layer refer to the coordinates in the horizontal direction.
In one embodiment, the sorting the coordinates corresponding to all aluminum templates in the layer respectively based on the sizes of the X coordinates and the Y coordinates corresponding to all aluminum templates in the layer respectively includes (a 21) - (a 22):
(a21) And arranging the coordinates of the aluminum templates corresponding to the smaller X coordinates in the coordinates corresponding to any two aluminum templates in the layer.
(A22) When the X coordinates corresponding to any two aluminum templates are equal, the coordinates of the aluminum templates corresponding to the smaller Y coordinates are arranged in front.
For example, referring to fig. 4A, it is assumed that floor layer 4 corresponds to 15 aluminum templates, and the X-coordinate and Y-coordinate dimensions of the 15 aluminum templates are shown with reference to fig. 4A. The execution module 301 arranges the coordinates of 10X coordinates and 30 y coordinates in the front and the coordinates of 90X coordinates and 90 y coordinates in the last among all the coordinates (i.e., 15 coordinates) corresponding to the 15 aluminum templates.
(A3) And according to a preset coding rule, coding all the aluminum templates in the layer in sequence according to the arrangement sequence of the coordinates respectively corresponding to all the aluminum templates in the layer.
In this embodiment, for the floor layer, the preset encoding rule may be: the user type + the part number of the building part + the room number + the type + the aluminium template + the installation position code. In this embodiment, the house type number is the house type of the building, and may be differentiated by A, B, C, D, for example. The location number of the building location may represent the floor by other different letters such as M. The room numbers are distinguished by different numbers, e.g. 01, 02 etc. The types of the aluminum templates corresponding to the floor layers are classified into a floor C groove, a floor common plate and a floor bottom cage, and can be distinguished by C, B, D respectively. The mounting position code may be distinguished by two or three digits, for example, 01, 02, etc.
In one embodiment, the execution module 301 may receive the first six bits of the code defined by the coding rule input by the user, for example, "AM01-B", before coding all the aluminum templates in the layer in turn according to the arrangement order of the coordinates corresponding to all the aluminum templates in the layer, and then code each aluminum template in turn as "AM01-B-01", "AM01-B-02" … … "AM01-B-15" according to the arrangement order of the coordinates corresponding to all the aluminum templates in the layer. For example, the execution module 301 encodes the aluminum template corresponding to the coordinates (10, 30) arranged at the forefront as AM01-B-01; the aluminum templates arranged at the last coordinates (90, 90) are encoded as AM01-B-15.
In this embodiment, for Liang Tu layers, the preset encoding rule may be: the house number + the part number of the building part + the room number + the installation position code. The location number of the building location may be denoted by a letter such as L for the beam.
In this embodiment, when the layer is the wall layer, the execution module 301 encodes each aluminum template of the plurality of aluminum templates corresponding to the layer to include (b 1) - (b 4):
(b1) And determining the position of each wall from a plurality of walls included in the wall layer, and coding each wall, wherein each wall corresponds to n aluminum templates.
For example, referring to FIG. 4B, the execution module 301 encodes AQ1-1 … … AQ9-1 for a plurality of walls in wall layer 5 in sequence.
It should be noted that walls in different locations may correspond to different numbers of aluminum templates.
(B2) And for any one of the walls, selecting one aluminum template from n aluminum templates corresponding to the any one wall according to the input of a user as an initial coded aluminum template, and coding the selected aluminum template according to a preset coding rule. The preset coding gauge corresponds to the wall layer.
In this embodiment, the initial encoded aluminum template is the first encoded aluminum template of the n aluminum templates corresponding to the arbitrary wall.
In this embodiment, the preset encoding rule corresponding to the wall layer may be: the house type + the part number of building part + the wall number + the installation position code. In this embodiment, the wall numbers are distinguished by different numbers, such as 01, 02, etc.
For example, FIG. 4C shows the wall of FIG. 4B encoded with AQ1-1 corresponding to 16 aluminum templates. The execution module 301 encodes an aluminum template for the initial encoding as AQ01-01 according to the user's input. In other embodiments, the execution module 301 may also receive the first five bits of the code defined by the coding rules input by the user, such as "AQ01-", and then code the first coded aluminum template as AQ01-01.
(B3) And encoding other not-encoded aluminum templates corresponding to any one wall based on the latest encoded aluminum templates.
In this embodiment, the latest encoded aluminum template refers to an aluminum template corresponding to the latest encoding time among all the currently encoded aluminum templates. In other words, the most recently encoded aluminum template refers to the last encoded aluminum template of all aluminum templates that are currently encoded.
For example, the only aluminum templates currently encoded are those encoded with AQ01-01, and then the aluminum templates encoded with AQ01-01 are the most recently encoded aluminum templates.
In one embodiment, the encoding of the aluminum templates corresponding to any one wall based on the latest encoded aluminum templates includes (b 31) - (b 34):
(b31) A spherical icon is inserted at the end of the newly encoded aluminum template.
In this embodiment, the end portion corresponds to a preset direction. The preset direction may be a clockwise direction or a counterclockwise direction.
For example, referring to fig. 4D, assuming that the aluminum template encoded with AQ01-01 is the latest encoded aluminum template, the predetermined direction is clockwise, the execution module 301 inserts the spherical icon 7 at the right end of the aluminum template encoded with AQ 01-01. If the preset direction is anticlockwise, inserting the spherical icon 7 at the left end of the aluminum template coded as AQ 01-01.
(B32) A planar rectangular coordinate system is created based on the center of the spherical icon.
(B33) And determining an aluminum template adjacent to the latest encoded aluminum template from other unencoded aluminum templates corresponding to any one wall based on the quadrant of the interference generated by the spherical icon in the plane rectangular coordinate system, wherein the quadrant is in the plane rectangular coordinate system, and encoding the adjacent aluminum templates according to the preset encoding rule.
The interference is the superposition of the spherical icon and the aluminum template.
For example, still referring to fig. 4D, the quadrants where the interference generated by the spherical icon 7 is located in the rectangular planar coordinate system are the second quadrant and the fourth quadrant, and the most recently encoded aluminum template is located in the second quadrant, and then the aluminum template located in the fourth quadrant is the adjacent aluminum template. The execution module 301 encodes the adjacent aluminum templates as AQ01-02 according to the encoding rules. For example, after the execution module 301 receives the first five bits of the code defined by the coding rule input by the user, such as "AQ01-", the execution module 302 may code the aluminum template to be currently coded into AQ01-02 in sequence.
For another example, assuming that the currently latest encoded aluminum template is the aluminum template encoded with AQ01-02, referring to fig. 4E, the execution module 301 inserts a spherical icon 8 at the end of the aluminum template encoded with AQ01-02 according to the preset direction, creates a plane rectangular coordinate system based on the center of the spherical icon 8, and the quadrants where the interference generated by the spherical icon 8 is located in the plane rectangular coordinate system are a first quadrant and a second quadrant, and the latest encoded aluminum template is located in the second quadrant, then the aluminum template located in the first quadrant is the adjacent aluminum template of the aluminum template encoded with AQ 01-02. The execution module 301 encodes AQ01-03 for the adjacent aluminum templates.
(B34) And when the n aluminum templates corresponding to any one wall still have aluminum templates which are not yet coded, returning to the step of inserting a spherical icon at the end part of the latest coded aluminum template until the n aluminum templates corresponding to any one wall are coded.
For example, referring to FIG. 4F, execution module 301 is shown to encode AQ01-01, AQ01-02 … … AQ01-16 for 16 aluminum templates corresponding to the wall encoded AQ 1-1.
(B4) And coding each aluminum template corresponding to each other wall in the plurality of walls by referring to a method for coding n aluminum templates corresponding to any one wall.
In one embodiment, the executing module 301 further modifies the encoding of any aluminum template corresponding to any one of the encoded layers in response to a user operation.
Step S3, the generating module 302 generates an encoded graph based on the encoded multiple layers.
Specifically, the generating module 302 may generate, in response to a user operation, a coded map based on the coded multiple layers by using the preset drawing software, for example, autoCAD software.
In one embodiment, the generating module 302 is further configured to create a file (e.g. excel file) for each of other building locations of the building, such as nodes, stairs, and hanging mold locations, in response to a user operation, and to formulate coding rules for each of the other building locations. Therefore, constructors can encode the aluminum templates required by other building parts according to the corresponding encoding rules and construct the building parts by referring to the encoding rules.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method 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 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 sign in a claim should not be construed as limiting the claim concerned. Furthermore, it will be obvious that the term "comprising" does not exclude other elements or that the singular does not exclude a plurality. A plurality of units or means recited in the apparatus claims can also be implemented by means of one unit or means in 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 above-mentioned 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.
Claims (9)
1. A method of encoding an aluminum template, the method comprising:
Responding to the operation of a user, respectively establishing a layer for a plurality of building parts of the building based on a base map of the building, thereby obtaining a plurality of layers, wherein each layer corresponds to a plurality of aluminum templates, and the layers comprise a floor layer corresponding to a floor and a beam layer corresponding to a beam;
Coding each aluminum template according to the coordinates of each aluminum template in the corresponding layers in the plurality of aluminum templates corresponding to each layer, thereby obtaining a plurality of coded layers, comprising: when the layer is the floor layer or the beam layer, the coding of each aluminum template in the plurality of aluminum templates corresponding to the layer comprises the following steps: acquiring coordinates of all aluminum templates corresponding to the layer in the layer respectively; ordering the coordinates corresponding to all the aluminum templates in the layer based on the sizes of the X coordinates and the Y coordinates of all the aluminum templates corresponding to the layer in the layer; according to a preset coding rule, coding all aluminum templates in the layer in sequence according to the arrangement sequence of coordinates corresponding to all aluminum templates in the layer; and
And generating an encoded graph based on the plurality of encoded layers.
2. The aluminum template encoding method of claim 1, wherein the plurality of layers further comprises a wall layer corresponding to a wall.
3. The aluminum template encoding method according to claim 1, wherein the sorting the coordinates of all aluminum templates in the layer based on the sizes of the X coordinates and the Y coordinates of all aluminum templates corresponding to the layer in the layer, respectively, comprises:
For the coordinates corresponding to any two aluminum templates in the layer, arranging the coordinates of the aluminum templates corresponding to the smaller X coordinates in the coordinates in front; and
When the X coordinates corresponding to any two aluminum templates are equal, the coordinates of the aluminum templates corresponding to the smaller Y coordinates are arranged in front.
4. A method of encoding an aluminum template as recited in claim 3, wherein the X and Y coordinates refer to coordinates located in a horizontal plane.
5. The aluminum template encoding method of claim 2, wherein when the layer is the wall layer, encoding each of a plurality of aluminum templates corresponding to the layer further comprises:
Determining the position of each wall from a plurality of walls included in the wall layer, and coding each wall, wherein each wall corresponds to n aluminum templates;
For any one of the walls, selecting one aluminum template from n aluminum templates corresponding to the any one wall according to user input as an initial coded aluminum template, and coding the selected aluminum template according to a preset coding rule;
Coding other uncoded aluminum templates corresponding to any one wall based on the latest coded aluminum template; and
And coding each aluminum template corresponding to each other wall in the plurality of walls by referring to a method for coding n aluminum templates corresponding to any one wall.
6. The aluminum template encoding method according to claim 5, wherein the encoding of the aluminum templates corresponding to any one wall based on the newly encoded aluminum templates includes:
inserting a spherical icon at the end of the last encoded aluminum template;
creating a planar rectangular coordinate system based on the center of the spherical icon;
Determining an aluminum template adjacent to the latest coded aluminum template from other uncoded aluminum templates corresponding to any one wall based on the quadrant of the interference generated by the spherical icon in the plane rectangular coordinate system, and coding the adjacent aluminum templates according to the preset coding rule; and
And when the n aluminum templates corresponding to any one wall still have aluminum templates which are not yet coded, returning to the step of inserting a spherical icon at the end part of the latest coded aluminum template until the n aluminum templates corresponding to any one wall are coded.
7. The aluminum template encoding method of claim 1, further comprising, prior to generating the encoded map based on the encoded plurality of layers:
And responding to the operation of a user, and modifying the code of any aluminum template corresponding to any one coded layer.
8. A computer readable storage medium storing at least one instruction that when executed by a processor implements the aluminum template encoding method of any of claims 1 to 7.
9. A computer device comprising a memory and at least one processor, the memory storing at least one instruction that when executed by the at least one processor implements the aluminum template encoding method of any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010460563.4A CN111737795B (en) | 2020-05-27 | 2020-05-27 | Aluminum template encoding method, computer device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010460563.4A CN111737795B (en) | 2020-05-27 | 2020-05-27 | Aluminum template encoding method, computer device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111737795A CN111737795A (en) | 2020-10-02 |
CN111737795B true CN111737795B (en) | 2024-06-18 |
Family
ID=72647816
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010460563.4A Active CN111737795B (en) | 2020-05-27 | 2020-05-27 | Aluminum template encoding method, computer device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111737795B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112581064A (en) * | 2020-12-27 | 2021-03-30 | 晟通科技集团有限公司 | Part encoding method, computer device, and storage medium |
CN112668084A (en) * | 2020-12-30 | 2021-04-16 | 晟通科技集团有限公司 | Template encoding method, computer device and storage medium |
CN112948927B (en) * | 2021-02-25 | 2022-07-22 | 晟通科技集团有限公司 | Building corner judging method, computer device and storage medium |
CN112948930B (en) * | 2021-02-28 | 2023-03-24 | 晟通科技集团有限公司 | Building base map optimization method, computer device and storage medium |
CN113418447B (en) * | 2021-06-21 | 2023-08-08 | 深圳市汤古科技有限公司 | Aluminum template parameter identification method and device based on measuring light curtain, electronic equipment and medium |
CN113701821B (en) * | 2021-09-01 | 2024-03-05 | 西南科技大学 | Building aluminum template identification structure based on local features and method thereof |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108733911A (en) * | 2018-05-17 | 2018-11-02 | 武汉理工大学 | Building aluminum alloy pattern plate construction code Design method based on three-dimensional digital model |
CN110700583A (en) * | 2019-05-28 | 2020-01-17 | 北京构力科技有限公司 | Aluminum template pre-assembly system and method based on three-dimensional BIM technology |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7761848B1 (en) * | 2005-03-15 | 2010-07-20 | Open Invention Network, Llc | Code generator tool for building software applications with reusable components |
CN104658039B (en) * | 2015-02-12 | 2018-01-30 | 南京市测绘勘察研究院股份有限公司 | A kind of city digital map three-dimensional modeling preparation method |
CN204691218U (en) * | 2015-06-12 | 2015-10-07 | 俊川建筑科技有限公司 | The coding processing system of building aluminum template system |
CN106296815B (en) * | 2015-06-24 | 2020-11-10 | 程昊 | Construction and display method of interactive three-dimensional digital city |
US10621301B2 (en) * | 2018-06-06 | 2020-04-14 | International Business Machines Corporation | Coordinates-based variational autoencoder for generating synthetic via layout patterns |
CN110956673B (en) * | 2018-09-26 | 2024-06-18 | 北京高德云图科技有限公司 | Map drawing method and device |
CN110321629A (en) * | 2019-07-01 | 2019-10-11 | 北京崇建工程有限公司 | Coding method, device, equipment and the storage medium of building template |
CN110633554B (en) * | 2019-10-09 | 2023-03-24 | 浙江数智交院科技股份有限公司 | BIM-based automatic generation method for bridge pile foundation coordinate table |
-
2020
- 2020-05-27 CN CN202010460563.4A patent/CN111737795B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108733911A (en) * | 2018-05-17 | 2018-11-02 | 武汉理工大学 | Building aluminum alloy pattern plate construction code Design method based on three-dimensional digital model |
CN110700583A (en) * | 2019-05-28 | 2020-01-17 | 北京构力科技有限公司 | Aluminum template pre-assembly system and method based on three-dimensional BIM technology |
Also Published As
Publication number | Publication date |
---|---|
CN111737795A (en) | 2020-10-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111737795B (en) | Aluminum template encoding method, computer device and storage medium | |
CN111814962A (en) | Method and device for acquiring parameters of recognition model, electronic equipment and storage medium | |
CN111310254B (en) | CAD legend identification method and device, storage medium and electronic equipment | |
CN107168758A (en) | The code compilation inspection method and device of many code libraries | |
CN110990396B (en) | Data storage method, device and storage medium | |
CN113284038A (en) | Method, computing device, computing system, and storage medium for performing computation | |
CN114818093A (en) | Method, device and equipment for generating column beam of assembled steel structure module building | |
CN105045670A (en) | Method and system for balancing loads of central processing units and graphic processing units | |
CN112997156A (en) | Dynamic allocation of computing resources for electronic design automation operations | |
JPH1139472A (en) | User management method and system for multi-user virtual space | |
CN115600644A (en) | Multitasking method and device, electronic equipment and storage medium | |
CN113672375A (en) | Resource allocation prediction method, device, equipment and storage medium | |
CN112948927B (en) | Building corner judging method, computer device and storage medium | |
CN114969893B (en) | Ceiling joist design method based on yin and yang angle recognition and storage medium | |
CN113515915B (en) | Method, device, equipment and storage medium for inserting filling unit | |
CN114047954A (en) | Data processing method and device based on register | |
CN112581064A (en) | Part encoding method, computer device, and storage medium | |
CN113313809A (en) | Rendering method and device | |
CN115445188B (en) | Optimization method and device for grid map elements | |
CN110348878A (en) | The method and apparatus that a kind of couple of user is grouped | |
CN112948930B (en) | Building base map optimization method, computer device and storage medium | |
RU2815189C1 (en) | Method for time synchronization of operation of massively parallel computing system with distributed memory | |
CN117251118B (en) | Virtual NVMe simulation and integration supporting method and system | |
CN113778905B (en) | UI design acceptance method, device, equipment and storage medium | |
CN115617396B (en) | Register allocation method and device applied to novel artificial intelligence processor |
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 |